This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: patch for arm-coff cross compiler
- To: richard dot earnshaw at arm dot com
- Subject: Re: patch for arm-coff cross compiler
- From: Raffaele Sena <raff at aromatic dot com>
- Date: Mon, 24 Nov 1997 15:26:26 +0000 (GMT)
- cc: egcs-bugs at cygnus dot com
On Mon, 24 Nov 1997, Richard Earnshaw wrote:
>
> This shouldn't be needed. The encoding of -mapcs-26/32 is set during the build via the TARGET_DEFAULT define in semi.h. This is set to ARM_FLAG_APCS_32 in semi.h, but is then redefined (incorrectly) in coff.h (I hadn't noticed this before).
>
> So the patch should be to add ARM_FLAG_APCS_32 to the definition of TARGET_DEFAULT in coff.h
>
I tried your change and it works fine.
Thanks,
Raffaele