diff options
author | Michael Brown | 2016-02-19 20:45:23 +0100 |
---|---|---|
committer | Michael Brown | 2016-02-19 21:03:30 +0100 |
commit | a4923354e31f83c17b9c5befadb801b80c9f9cc1 (patch) | |
tree | 5f22049f24d3d018615162d95bd47ccc7f628c4a /src/arch/x86_64 | |
parent | [librm] Generate page tables for 64-bit builds (diff) | |
download | ipxe-a4923354e31f83c17b9c5befadb801b80c9f9cc1.tar.gz ipxe-a4923354e31f83c17b9c5befadb801b80c9f9cc1.tar.xz ipxe-a4923354e31f83c17b9c5befadb801b80c9f9cc1.zip |
[build] Fix building on older versions of binutils
Some older versions of binutils have issues with both the use of
PROVIDE() and the interpretation of numeric literals within a section
description.
Work around these older versions by defining the required numeric
literals outside of any section description, and by automatically
determining whether or not to generate extra space for page tables
rather than relying on LDFLAGS.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/x86_64')
-rw-r--r-- | src/arch/x86_64/Makefile.pcbios | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/arch/x86_64/Makefile.pcbios b/src/arch/x86_64/Makefile.pcbios index 54bc0e48..ba4c8d8d 100644 --- a/src/arch/x86_64/Makefile.pcbios +++ b/src/arch/x86_64/Makefile.pcbios @@ -9,10 +9,6 @@ LDFLAGS += --section-start=.textdata=0xffffffffeb000000 # CFLAGS += -mno-red-zone -# Generate extra space for page tables to cover .textdata -# -LDFLAGS += --defsym=_use_page_tables=1 - # Include generic BIOS Makefile # MAKEDEPS += arch/x86/Makefile.pcbios |