This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Update ARM EABI version number in GCC
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: paul at codesourcery dot com
- Date: Wed, 14 Jan 2009 01:04:42 +0000 (UTC)
- Subject: Update ARM EABI version number in GCC
The ARM EABI specifies EABI version 5 for e_flags; version 4, the
value currently used by GCC by default, was used in prerelease
versions of the ABI only. This patch makes the default correspond to
the released ABI version. The corresponding gas patch is
<http://sourceware.org/ml/binutils/2009-01/msg00168.html>.
Tested with no regressions with cross to arm-none-eabi. OK to commit?
2009-01-13 Mark Shinwell <shinwell@codesourcery.com>
* config/arm/bpabi.h (SUBTARGET_EXTRA_ASM_SPEC): Bump EABI
version number to five.
Index: gcc/config/arm/bpabi.h
===================================================================
--- gcc/config/arm/bpabi.h (revision 143347)
+++ gcc/config/arm/bpabi.h (working copy)
@@ -55,7 +55,7 @@
/* Tell the assembler to build BPABI binaries. */
#undef SUBTARGET_EXTRA_ASM_SPEC
-#define SUBTARGET_EXTRA_ASM_SPEC "%{mabi=apcs-gnu|mabi=atpcs:-meabi=gnu;:-meabi=4}" TARGET_FIX_V4BX_SPEC
+#define SUBTARGET_EXTRA_ASM_SPEC "%{mabi=apcs-gnu|mabi=atpcs:-meabi=gnu;:-meabi=5}" TARGET_FIX_V4BX_SPEC
#ifndef SUBTARGET_EXTRA_LINK_SPEC
#define SUBTARGET_EXTRA_LINK_SPEC ""
--
Joseph S. Myers
joseph@codesourcery.com