diff options
author | Furquan Shaikh <furquan@google.com> | 2015-07-14 12:03:11 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-07-16 22:35:50 +0200 |
commit | 5668e262ffa14ea202e65d6f50e37efe1670d965 (patch) | |
tree | 311fe3fd36bb57952fd2b0503b996bc10a3e1521 | |
parent | f61c9e9a59cd6a9dcd358f09a4715ac79d0a7a7d (diff) | |
download | coreboot-5668e262ffa14ea202e65d6f50e37efe1670d965.tar.xz |
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>
-rw-r--r-- | toolchain.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain.inc b/toolchain.inc index 47e407f40c..89bc55c6bb 100644 --- a/toolchain.inc +++ b/toolchain.inc @@ -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 |