Patrick Georgi (pgeorgi@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@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@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),\