This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] fix PR16350 - gcc only understands little endian ARM systems
- From: Bernhard Fischer <rep dot dot dot nop at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org, nickc at redhat dot com, richard dot earnshaw at arm dot com, paul at codesourcery dot com
- Cc: Bernhard Fischer <rep dot dot dot nop at gmail dot com>
- Date: Wed, 7 Nov 2007 22:05:33 +0100
- Subject: [patch] fix PR16350 - gcc only understands little endian ARM systems
:ADDPATCH gcc:
Hi,
The attached patch fixes PR16350.
Ok for trunk?
If it is not ok, then please provide details on what we can do to
improve the current proposed patch.
Thanks alot,
Bernhard
ChangeLog:
2007-11-07 <aldot@..> Bernhard Fischer
* config.gcc: For arm*b-*, default to TARGET_BIG_ENDIAN_DEFAULT.
* config/arm/linux-elf.h: Define TARGET_DEFAULT according to
TARGET_ENDIAN_DEFAULT. Define TARGET_ENDIAN_DEFAULT
according to TARGET_BIG_ENDIAN_DEFAULT. Use
TARGET_ENDIAN_DEFAULT for MULTILIB_DEFAULTS.
* config/arm/linux-eabi.h: Set TARGET_LINKER_EMULATION according
to TARGET_BIG_ENDIAN_DEFAULT. SUBTARGET_EXTRA_LINK_SPEC ditto.
* gcc/config/arm/bpabi.h: Ditto.