mirror of
https://github.com/HeyPuter/gex.git
synced 2026-11-13 20:12:43 -10:00
clang defaults to PIE code for powerpc-linux-musl, so even a static executable reached every global through a GOT pointer in r30 (bcl 20,31; mflr; lwz from the GOT). A static executable is non-PIC by convention, as the AArch64 corpus (zig, ET_EXEC) is; -fno-pic gives lis/addi absolute addressing. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01FFqjijkLKTTuaQutt3168C