summaryrefslogtreecommitdiff
path: root/toolchain.inc
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain.inc')
-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