summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/lld/ELF/Arch/PPC.cpp (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@
* Import LLVM 10.0.0 release including clang, lld and lldb.patrick2020-08-031-0/+469
ok hackroom tested by plenty