toolchain: Add -mgeneral-regs-only to CFLAGS for arm64
BUG=None BRANCH=None TEST=Compiles successfully and boots to kernel prompt on smaug Change-Id: I7eb75b215798a63157bae04d9d44dbd6f95a5715 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 6e5ecf9b45fa35e3c87bf6ef4bd2ea01680c8826 Original-Change-Id: I36a20d65d7ccaa21fdeb6070d43c2bb0ae22a16b Original-Signed-off-by: Furquan Shaikh <furquan@google.com> Original-Reviewed-on: https://chromium-review.googlesource.com/285553 Original-Trybot-Ready: Furquan Shaikh <furquan@chromium.org> Original-Tested-by: Furquan Shaikh <furquan@chromium.org> Original-Reviewed-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Queue: Furquan Shaikh <furquan@chromium.org> Reviewed-on: http://review.coreboot.org/10959 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
f61c9e9a59
commit
5668e262ff
|
@ -64,7 +64,7 @@ ARCHDIR-mips := mips
|
|||
|
||||
CFLAGS_arm += -ffunction-sections -fdata-sections
|
||||
|
||||
CFLAGS_arm64 += -ffunction-sections -fdata-sections
|
||||
CFLAGS_arm64 += -ffunction-sections -fdata-sections -mgeneral-regs-only
|
||||
|
||||
CFLAGS_mips += -mips32r2 -G 0 -ffunction-sections -fdata-sections
|
||||
CFLAGS_mips += -mno-abicalls -fno-pic
|
||||
|
|
Loading…
Reference in New Issue