ARM: add eabi version
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.
Signed-off-by Russell King <[email protected]>
--- arch/arm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/Makefile +1 -1
@@ -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