commit | f59b95d0e2e9911bb18a663ceca4279e644af35b | [log] [tgz] |
---|---|---|
author | Michael Brown <mcb30@ipxe.org> | Fri Jun 30 12:03:41 2023 +0100 |
committer | Michael Brown <mcb30@ipxe.org> | Fri Jun 30 12:20:38 2023 +0100 |
tree | ae64762641612c62c170a9f19325cd563a67d7ae | |
parent | e17568ad0642490143d0c6b154c874b9b9e285bf [diff] |
[build] Use separate code segment if supported by linker Some versions of ld will complain that the automatically created (and unused by our build process) ELF program headers include a "LOAD segment with RWX permissions". Silence this warning by adding "-z separate-code" to the linker options, where supported. Signed-off-by: Michael Brown <mcb30@ipxe.org>