summaryrefslogtreecommitdiffstats
path: root/usr.bin/ldd
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2017-04-19 14:07:35 +0000
committerandrew <andrew@FreeBSD.org>2017-04-19 14:07:35 +0000
commit2951ce770cf93dbe1f855263b8dfa042cad88a97 (patch)
tree491b04cbb8fe88dffcbb7e891dba41650d6c8a6c /usr.bin/ldd
parent13cdec20149a6fa9c1b6b81b4115d18200581b80 (diff)
downloadFreeBSD-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/ldd')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud