DORMANTno replies

[PATCH] ARM: add eabi version

From: Russell King <hidden>
Date: 2014-06-28 14:42:23
Subsystem: arm port, the rest · Maintainers: Russell King, Linus Torvalds

Ensure that we specify the EABI version for EABI builds, otherwise we're
left to the toolchain's whims for this feature.  Adding -meabi=5 sets
the EABI version in the object files to 5, and adds the additional tag
information to the aeabi section.

This is required for the upcoming VDSO support.

Signed-off-by: Russell King <redacted>
---
 arch/arm/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 5964ff1a3c32..f5c5a92edbe1 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -96,7 +96,7 @@ tune-$(CONFIG_CPU_V6K)		=$(call cc-option,-mtune=arm1136j-s,-mtune=strongarm)
 tune-y := $(tune-y)
 
 ifeq ($(CONFIG_AEABI),y)
-CFLAGS_ABI	:=-mabi=aapcs-linux -mno-thumb-interwork -mfpu=vfp
+CFLAGS_ABI	:=-mabi=aapcs-linux -mno-thumb-interwork -mfpu=vfp -Wa,-meabi=5
 else
 CFLAGS_ABI	:=$(call cc-option,-mapcs-32,-mabi=apcs-gnu) $(call cc-option,-mno-thumb-interwork,)
 endif
-- 
1.8.3.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help