This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[arm] Correct Arm EABI ELF version
- From: Paul Brook <paul at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Richard Earnshaw <rearnsha at arm dot com>
- Date: Mon, 11 Oct 2004 15:22:32 +0100
- Subject: [arm] Correct Arm EABI ELF version
- Organization: CodeSourcery
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