Re: MSP430 RedHat Toolchain: minor issues

DJ Delorie <[email protected]>
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.user
Message-ID <[email protected]>
Some quick answers where available...

> and probably not MSP430 specific, with -Os "static inline
> functions()" are not inlined, i also tried adding
> __attribute__((always_inline)) but it did not seem to have an effect
> in a quick test.

Please try "extern inline functions()" instead.  There was a change in
the ISO standard that's been tripping up lots of software like this.

> it was probably a design decision to change the ABI and start with
> R12 instead of R15 for parameters. this leads to some work with
> assembler modules interacting with c modules.

The ABI is intended to be compatible with TI's own compiler.

> positively, after working around these issues (we use custom linker
> scripts anyway as we reserve space for a bootlaoder, MSP430F2xx) it
> compiles and runs :-)

Woot!

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.