This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Fwd: Re: Incomplete COFF format support]


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





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]