summaryrefslogtreecommitdiffstats
path: root/src/include/assert.h
diff options
context:
space:
mode:
authorMichael Brown2020-06-26 22:21:31 +0200
committerMichael Brown2020-06-27 22:47:04 +0200
commitdecee20ec84977ae1d1a7f54fa91e73017f6731d (patch)
treefa1f1dca790984f992d8ac4be426a2c062f86554 /src/include/assert.h
parent[golan] Add explicit type casts for nodnic_queue_pair_type (diff)
downloadipxe-decee20ec84977ae1d1a7f54fa91e73017f6731d.tar.gz
ipxe-decee20ec84977ae1d1a7f54fa91e73017f6731d.tar.xz
ipxe-decee20ec84977ae1d1a7f54fa91e73017f6731d.zip
[build] Disable position-independent code for ARM64 EFI builds
Some versions of gcc (observed with the cross-compiling gcc 9.3.0 in Ubuntu 20.04) default to enabling -fPIE. Experimentation shows that this results in the emission of R_AARCH64_ADR_GOT_PAGE relocation records for __stack_chk_guard. These relocation types are not supported by elf2efi.c. Fix by explicitly disabling position-independent code for ARM64 EFI builds. Debugged-by: Antony Messerli <antony@mes.ser.li> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/assert.h')
0 files changed, 0 insertions, 0 deletions