]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] 3484/1: Correct AEABI CFLAGS for correct enum handling
authorRichard Purdie <rpurdie@rpsys.net>
Tue, 25 Apr 2006 19:36:04 +0000 (20:36 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 25 Apr 2006 19:36:04 +0000 (20:36 +0100)
commit52966a54936bf11c3276d37c443300188c3aa3db
treeb487783c3f02ea45a2248710a46e2f94e71910b9
parent5c55fab9f7cbbb9a15bf5540d619e0cd42874e4f
[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>
arch/arm/Makefile