summaryrefslogtreecommitdiff
path: root/lib/libl/Makefile
diff options
context:
space:
mode:
authorgkoehler <gkoehler@cvs.openbsd.org>2020-11-29 18:57:30 +0000
committergkoehler <gkoehler@cvs.openbsd.org>2020-11-29 18:57:30 +0000
commit798bf7f575ad1757356fff0c6f5af5d62e114b78 (patch)
tree3a62cbb7390bd354815635ab9eb6b0c30429c192 /lib/libl/Makefile
parent0f76b4922994be1cfa5e43a5927ebb2ae9a816d2 (diff)
Teach lld to link the macppc kernel
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@
Diffstat (limited to 'lib/libl/Makefile')
0 files changed, 0 insertions, 0 deletions