summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/editstring.h
diff options
context:
space:
mode:
authorMichael Brown2021-01-30 01:11:33 +0100
committerMichael Brown2021-01-30 01:11:33 +0100
commitf034ae59f63b1ac279981e6de3f1e67ca8bbe3a0 (patch)
tree0c8df20b16e07777ef36fe08958995f5e0982902 /src/include/ipxe/editstring.h
parent[build] Ensure that isolinux.bin is modifiable (diff)
downloadipxe-f034ae59f63b1ac279981e6de3f1e67ca8bbe3a0.tar.gz
ipxe-f034ae59f63b1ac279981e6de3f1e67ca8bbe3a0.tar.xz
ipxe-f034ae59f63b1ac279981e6de3f1e67ca8bbe3a0.zip
[build] Allow elf2efi.c to build on FreeBSD
The elf.h on FreeBSD defines ELF_R_TYPE and ELF_R_SYM (based on the host platform) and omits some but not all of the AArch64 relocation types. Fix by undefining ELF_R_TYPE and ELF_R_SYM in favour of our own definitions, and by placing each potentially missing relocation type within an individual #ifdef guard. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/editstring.h')
0 files changed, 0 insertions, 0 deletions