]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[build] Avoid modifying load addresses when stripping .zinfo section
authorMichael Brown <mcb30@ipxe.org>
Sat, 30 Jan 2021 01:35:27 +0000 (01:35 +0000)
committerMichael Brown <mcb30@ipxe.org>
Sat, 30 Jan 2021 18:37:01 +0000 (18:37 +0000)
commitfe52f8e8bef150c50e88c78ccc1f2b75a8d0f192
tree53cad7f747a510d6041b6132c969a8157f73a582
parentd8dc06fbf9c8801c57d8a5423a76963679830207
[build] Avoid modifying load addresses when stripping .zinfo section

Some versions of objcopy will spuriously complain when asked to
extract the .zinfo section since doing so will nominally alter the
load addresses of the (non-loadable) .bss.* sections.

Avoid these warnings by placing the .zinfo section at the very end of
the load memory address space.

Allocate non-overlapping load memory addresses for the (non-loadable)
.bss.* sections, in the hope of avoiding spurious warnings about
overlapping load addresses.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/x86/scripts/pcbios.lds