summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2015-07-14 12:03:11 -0700
committerPatrick Georgi <pgeorgi@google.com>2015-07-16 22:35:50 +0200
commit5668e262ffa14ea202e65d6f50e37efe1670d965 (patch)
tree311fe3fd36bb57952fd2b0503b996bc10a3e1521
parentf61c9e9a59cd6a9dcd358f09a4715ac79d0a7a7d (diff)
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.inc2
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