[coreboot-gerrit] New patch to review for coreboot: build system / amd64: Avoid GCC taking the ABI spec too literally
Patrick Georgi (pgeorgi@google.com)
gerrit at coreboot.org
Wed Jul 8 18:14:00 CEST 2015
Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10852
-gerrit
commit 9f44e93d0444f001ea56f3736a383d7f787ec723
Author: Patrick Georgi <pgeorgi at chromium.org>
Date: Wed Jul 8 18:12:49 2015 +0200
build system / amd64: Avoid GCC taking the ABI spec too literally
-mno-red-zone is an option that pretty much every barebone software package
(eg. kernel, bootloader, ...) needs to use.
We weren't hurt by it yet, but make sure we won't in the future.
Change-Id: Ide5b63424ec1be5bf7bcade10540190b9871593b
Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
---
toolchain.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/toolchain.inc b/toolchain.inc
index 3e28bb9..47e407f 100644
--- a/toolchain.inc
+++ b/toolchain.inc
@@ -72,7 +72,7 @@ CFLAGS_mips += -mno-abicalls -fno-pic
CFLAGS_x86_32 += -ffunction-sections -fdata-sections
CFLAGS_riscv += -ffunction-sections -fdata-sections
-CFLAGS_x86_64 += -mcmodel=large
+CFLAGS_x86_64 += -mcmodel=large -mno-red-zone
toolchain_to_dir = \
$(foreach arch,$(ARCH_SUPPORTED),\
More information about the coreboot-gerrit
mailing list