This is the mail archive of the
mailing list for the binutils project.
[Fwd: Re: Incomplete COFF format support]
- From: Nils Hammar <nils dot hammar at abc dot se>
- To: binutils at sources dot redhat dot com
- Date: Sat, 31 Jan 2004 10:17:21 +0100
- Subject: [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);
Regards / Nils Hammar