diff options
author | andrew <andrew@FreeBSD.org> | 2017-04-19 14:07:35 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2017-04-19 14:07:35 +0000 |
commit | 2951ce770cf93dbe1f855263b8dfa042cad88a97 (patch) | |
tree | 491b04cbb8fe88dffcbb7e891dba41650d6c8a6c /usr.bin/dpv/dpv.c | |
parent | 13cdec20149a6fa9c1b6b81b4115d18200581b80 (diff) | |
download | FreeBSD-src-2951ce770cf93dbe1f855263b8dfa042cad88a97.zip FreeBSD-src-2951ce770cf93dbe1f855263b8dfa042cad88a97.tar.gz |
Fix the arm64 userland building with lld:
MFC 308124:
On arm64 build the efi loader with -fPIC. Without this clang 3.9 will
generate relocation in the self relocation code.
MFC 316608:
Add -fPIC to the standalone build flags on arm64. This is needed as
loader.efi is position independend, however we were not building it as
such causing a build failure when building with lld.
MFC 315452:
Mark the EFI PE header as allocated. While ld.bfd doesn't seem to care
about not having this flag ld.lld fails to link without it.
Diffstat (limited to 'usr.bin/dpv/dpv.c')
0 files changed, 0 insertions, 0 deletions