summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/lld
AgeCommit message (Collapse)AuthorFilesLines
2020-11-29Teach lld to link the macppc kernelgkoehler1-0/+2
Add R_PPC_ADDR24 to lld. We need R_PPC_ADDR24 for absolute branches "ba" and "bla" in locore.S in the kernel. In Makefile.macppc, add a gapdummy (like in Makefile.powerpc64) to avoid an lld error. Also adapt a part of Makefile.i386, so my powerpc64 can use clang and lld to build and link the macppc kernel. (I didn't boot that kernel.) My macppc can now build, link, and boot kernels with either ld.bfd or ld.lld. Beware that kernels linked with ld.lld have at least one problem (wrong &etext) not yet fixed. ok kettenis@
2020-11-21Backport https://reviews.llvm.org/D75419. This adds a workaround forkettenis2-4/+9
undefined references to .got2 on powerpc making it possible to link llvm with lld. ok gkoehler@
2020-11-01Do not reserve PowerPC GOT header entries when creating a relocatablekettenis1-1/+1
object file. ok guenther@
2020-10-11Always allocate GOT header entries on powerpc.kettenis1-0/+2
ok deraadt@
2020-08-09Import LLVM 10.0.1 including clang, lld and lldb.patrick11-26/+70
2020-08-03Import LLVM 10.0.0 release including clang, lld and lldb.patrick281-0/+91036
ok hackroom tested by plenty