[coreboot-gerrit] New patch to review for coreboot: b91ead4 toolchain.inc: Add x86-64 support
Stefan Reinauer (stefan.reinauer@coreboot.org)
gerrit at coreboot.org
Sun Mar 15 20:49:11 CET 2015
Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/8690
-gerrit
commit b91ead4eac854eef2c137f2d18ce355ac80976bc
Author: Stefan Reinauer <stefan.reinauer at coreboot.org>
Date: Sun Mar 15 04:19:58 2015 +0100
toolchain.inc: Add x86-64 support
For now, share code with x86, and use the "large" code model.
Also align the architecture specific CFLAGS in toolchain.inc
for cosmetics.
Change-Id: Ie84893d3460115802fbd70c28b10e709029c6b4e
Signed-off-by: Stefan Reinauer <stefan.reinauer at coreboot.org>
Signed-off-by: Scott Duplichan <scott at notabs.org>
---
toolchain.inc | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/toolchain.inc b/toolchain.inc
index f888d68..38d96dd 100644
--- a/toolchain.inc
+++ b/toolchain.inc
@@ -55,6 +55,7 @@ COREBOOT_STANDARD_STAGES := bootblock verstage romstage ramstage
ARCHDIR-i386 := x86
ARCHDIR-x86_32 := x86
+ARCHDIR-x86_64 := x86
ARCHDIR-arm := arm
ARCHDIR-arm64 := arm64
ARCHDIR-riscv := riscv
@@ -62,10 +63,12 @@ ARCHDIR-mipsel := mips
CFLAGS_arm := -mno-unaligned-access -ffunction-sections -fdata-sections
-CFLAGS_arm64 := -ffunction-sections -fdata-sections
+CFLAGS_arm64 := -ffunction-sections -fdata-sections
CFLAGS_mipsel := -mips32r2 -G 0
+CFLAGS_x86_64 := -mcmodel=large
+
toolchain_to_dir = \
$(foreach arch,$(ARCH_SUPPORTED),\
$(eval CPPFLAGS_$(arch) += \
More information about the coreboot-gerrit
mailing list