This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[arm] Correct Arm EABI ELF version


When adding support for the ARM EABI, I got the version number in the ELF 
flags wrong. Patch below fixes this.

Tested with cross to arm-none-eabi.
Ok?

Paul

2004-10-11  Paul Brook  <paul@coodesourcery.com>

 * config/arm/bpabi.h (SUBTARGET_EXTRA_ASM_SPEC): Change meabi=3 to
 meabi=4.

Index: config/arm/bpabi.h
===================================================================
RCS file: /var/cvsroot/gcc-cvs/gcc/gcc/config/arm/bpabi.h,v
retrieving revision 1.1.4.8
diff -u -p -r1.1.4.8 bpabi.h
--- config/arm/bpabi.h 22 Sep 2004 15:40:30 -0000 1.1.4.8
+++ config/arm/bpabi.h 8 Oct 2004 17:40:14 -0000
@@ -41,7 +41,7 @@
 
 /* Tell the assembler to build BPABI binaries.  */
 #undef SUBTARGET_EXTRA_ASM_SPEC
-#define SUBTARGET_EXTRA_ASM_SPEC "-meabi=3"
+#define SUBTARGET_EXTRA_ASM_SPEC "-meabi=4"
 
 /* The generic link spec in elf.h does not support shared libraries.  */
 #undef LINK_SPEC


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]