opengnsys_ipxe/src/arch/arm64
Michael Brown decee20ec8 [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>
2020-06-27 21:47:04 +01:00
..
core [arm] Add optimised TCP/IP checksumming for 64-bit ARM 2016-05-11 08:16:36 +01:00
include [dhcp] Automatically generate vendor class identifier string 2016-07-04 15:07:05 +01:00
Makefile [build] Conditionalise use of -mabi=lp64 for ARM64 builds 2017-07-28 12:49:40 +01:00
Makefile.efi [build] Disable position-independent code for ARM64 EFI builds 2020-06-27 21:47:04 +01:00