[ARM] 3484/1: Correct AEABI CFLAGS for correct enum handling

Patch from Richard Purdie

The AAPCS says that enums can be variably sized depending on the range
of valid values. This is not the accepted behaviour under linux so for
compatibility gcc has an aapcs-linux target, the main difference being
that enums are always of type int. Change the ARM Makefile to use this
target.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by Richard Purdie and committed by Russell King c7fd8442 454ac778

+1 -1
+1 -1
arch/arm/Makefile
··· 66 66 tune-$(CONFIG_CPU_V6) :=$(call cc-option,-mtune=arm1136j-s,-mtune=strongarm) 67 67 68 68 ifeq ($(CONFIG_AEABI),y) 69 - CFLAGS_ABI :=-mabi=aapcs -mno-thumb-interwork 69 + CFLAGS_ABI :=-mabi=aapcs-linux -mno-thumb-interwork 70 70 else 71 71 CFLAGS_ABI :=$(call cc-option,-mapcs-32,-mabi=apcs-gnu) $(call cc-option,-mno-thumb-interwork,) 72 72 endif