>>__MSP430X__ is already defined for MSP430X devices. Use that.

I have a problem with that. 

I put this in libgss.S: 
#if defined(__MSP430X__)
        #define RET reta
#else
        #define RET ret
#endif
and replaced each occurence of ret with RET.

But the problem is, that when I build gcc from sources specifying 
--target=msp430, __MSP430X__ isn't defined yet.
So libgcc is compiled with ret everywhere, and no reta.

I'd need something that isn't fixed when compiling libgcc.
Any thoughts on that?

Reply via email to