Hi!

When I compile some C code with

msp430-gcc test.c -mmcu=msp430x149 -g -o test.elf

I get a little-endian ELF file. I am not talking about the fact, that the
opcode for the MSP430 must be little-endian, but the fact, that all the
information in the ELF file is stored in little-endian organization.

ELF supports both little- and big-endian storage. For parsing an ELF file it
is quite useful to have it big-endian (MSB stored first).

So is there a way to force big-endian ELF generation?

I am using a CVS-checkout from July of the MSP430-GCC toolchain running at
Solaris.

Thanks!
Ralf Hildebrandt

Reply via email to