diff options
| author | Michael Brown | 2020-06-26 22:21:31 +0200 |
|---|---|---|
| committer | Michael Brown | 2020-06-27 22:47:04 +0200 |
| commit | decee20ec84977ae1d1a7f54fa91e73017f6731d (patch) | |
| tree | fa1f1dca790984f992d8ac4be426a2c062f86554 /src/include/assert.h | |
| parent | [golan] Add explicit type casts for nodnic_queue_pair_type (diff) | |
| download | ipxe-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
