[Fwd: Re: Incomplete COFF format support]

Nils Hammar nils.hammar@abc.se
Sat Jan 31 09:17:00 GMT 2004


I have encountered that the magic number in the ARM coff format is incorrect, at least when it is going to be compatible with Texas Instruments development tools.

Editing the file include/coff/arm.h and changing ARMMAGIC from 0xa00 to 0xc2 will resolve the incompatibility problem (as far as I have experienced so far).

Below is my change
// #define	ARMMAGIC	0xa00  /* I just made this up */
#define	ARMMAGIC	0xc2 /* To be compatible with Texas Instruments ARM tools. */

I haven't been able to verify against other ARM development tools, so I can't say that this is a general fix.

For reference this has also been registered as a GCC bug (which was incorrect); 
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13922

Regards / Nils Hammar






More information about the Binutils mailing list