diff options
| author | Michael Brown | 2021-01-30 01:11:33 +0100 |
|---|---|---|
| committer | Michael Brown | 2021-01-30 01:11:33 +0100 |
| commit | f034ae59f63b1ac279981e6de3f1e67ca8bbe3a0 (patch) | |
| tree | 0c8df20b16e07777ef36fe08958995f5e0982902 /src/include/stddef.h | |
| parent | [build] Ensure that isolinux.bin is modifiable (diff) | |
| download | ipxe-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/stddef.h')
0 files changed, 0 insertions, 0 deletions
