Fix -static linking with uClibc
commit05f6aa1adef3c5f31c52eb6a38a68df837c1381c
authorMichael Matz <matz@suse.de>
Sun, 13 Jan 2019 05:00:51 +0000 (13 06:00 +0100)
committerMichael Matz <matz@suse.de>
Sun, 13 Jan 2019 05:00:51 +0000 (13 06:00 +0100)
treeb5a49868671f20cd62e9c4b023c2a1c923140a48
parentadbe794a4628721c4b7976c89dac8f63b08963e7
Fix -static linking with uClibc

symbols are local when defined and referred to from the executable.
Also, we need to relocate the .got section when this is a static link
(our static linking effectively generates code as if this were a dynamic
link with PLT and GOT, and then emulates the runtime loader).
tccelf.c