Change the emitted .glink stub on powerpc64 to use an instruction sequence
authorkettenis <kettenis@openbsd.org>
Fri, 27 Jan 2023 21:35:02 +0000 (21:35 +0000)
committerkettenis <kettenis@openbsd.org>
Fri, 27 Jan 2023 21:35:02 +0000 (21:35 +0000)
commit7be3622452218f077fb6d637803fc39847cc9844
treef849fd89365ba53c227b70b80bf4792de4170daa
parent8cb542e3bebc16deadb429964a00cb2fd663d891
Change the emitted .glink stub on powerpc64 to use an instruction sequence
to compose the offset to the PLT instead of having a constant pool in .text.
Make --execute-only work on powerpc64.

ok miod@
gnu/llvm/lld/ELF/Arch/PPC64.cpp