[build] Fix building on older versions of binutils
authorMichael Brown <mcb30@ipxe.org>
Fri, 19 Feb 2016 19:45:23 +0000 (19:45 +0000)
committerMichael Brown <mcb30@ipxe.org>
Fri, 19 Feb 2016 20:03:30 +0000 (20:03 +0000)
commita4923354e31f83c17b9c5befadb801b80c9f9cc1
tree5f22049f24d3d018615162d95bd47ccc7f628c4a
parent163f8acba0fbb6e3c44aec5286d3d076e1f44f22
[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>
src/arch/x86/scripts/pcbios.lds
src/arch/x86_64/Makefile.pcbios