mirror of
https://github.com/ipxe/ipxe
synced 2025-12-17 01:52:08 +03:00
[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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user