Update ARM EABI version number

Joseph S. Myers joseph@codesourcery.com
Tue Jan 13 17:32:00 GMT 2009


The ARM EABI specifies EABI version 5 for e_flags; version 4, the
value currently used by gas by default, was used in prerelease
versions of the ABI only.  This patch makes the default correspond to
the released ABI version.

Tested with no regressions with cross to arm-none-eabi.  OK to commit?

2009-01-13  Mark Shinwell  <shinwell@codesourcery.com>

	* config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5.
	* config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise.

Index: gas/config/te-armeabi.h
===================================================================
RCS file: /cvs/src/src/gas/config/te-armeabi.h,v
retrieving revision 1.2
diff -u -r1.2 te-armeabi.h
--- gas/config/te-armeabi.h	3 Jul 2007 11:01:05 -0000	1.2
+++ gas/config/te-armeabi.h	13 Jan 2009 17:28:23 -0000
@@ -19,7 +19,7 @@
 
 /* The EABI requires the use of VFP.  */
 #define FPU_DEFAULT FPU_ARCH_VFP_V2
-#define EABI_DEFAULT EF_ARM_EABI_VER4
+#define EABI_DEFAULT EF_ARM_EABI_VER5
 
 #define LOCAL_LABELS_DOLLAR 1
 #define LOCAL_LABELS_FB 1
Index: gas/config/te-armlinuxeabi.h
===================================================================
RCS file: /cvs/src/src/gas/config/te-armlinuxeabi.h,v
retrieving revision 1.3
diff -u -r1.3 te-armlinuxeabi.h
--- gas/config/te-armlinuxeabi.h	3 Jul 2007 11:01:05 -0000	1.3
+++ gas/config/te-armlinuxeabi.h	13 Jan 2009 17:28:23 -0000
@@ -21,4 +21,4 @@
 
 /* The EABI requires the use of VFP.  */
 #define FPU_DEFAULT FPU_ARCH_VFP_V2
-#define EABI_DEFAULT EF_ARM_EABI_VER4
+#define EABI_DEFAULT EF_ARM_EABI_VER5

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Binutils mailing list