summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/lld/ELF (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Teach lld to link the macppc kernelgkoehler2020-11-291-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@
* Backport https://reviews.llvm.org/D75419. This adds a workaround forkettenis2020-11-212-4/+9
| | | | | | | undefined references to .got2 on powerpc making it possible to link llvm with lld. ok gkoehler@
* Do not reserve PowerPC GOT header entries when creating a relocatablekettenis2020-11-011-1/+1
| | | | | | object file. ok guenther@
* Always allocate GOT header entries on powerpc.kettenis2020-10-111-0/+2
| | | | ok deraadt@
* Import LLVM 10.0.1 including clang, lld and lldb.patrick2020-08-097-16/+46
|
* Import LLVM 10.0.0 release including clang, lld and lldb.patrick2020-08-0365-0/+34779
ok hackroom tested by plenty