Skip to contentSkip to conversation

ARM: add eabi version

PATCH New Russell King 1 participant 1 message Jun 28, 2014 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: add eabi version

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.

---
 arch/arm/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/Makefile +1 -1
index 5964ff1a3c32..f5c5a92edbe1 100644
@@ -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
Signature · 1 line
1.8.3.1