x86-64: shared libs improvement
commit0bd128205979f59f3bbe6ee7cb98599a5088d0d0
authorMichael Matz <matz@suse.de>
Mon, 31 Mar 2014 03:36:12 +0000 (31 05:36 +0200)
committerMichael Matz <matz@suse.de>
Mon, 31 Mar 2014 03:36:12 +0000 (31 05:36 +0200)
tree285c82c71ee33941abb2017eab257d41cf002660
parent080ad7e62acdf6ccd47927a4c289ff2ae21e83df
x86-64: shared libs improvement

This correctly resolves local references to global functions from
shared libs to their PLT slot (instead of directly to the target
symbol), so that interposition works.

This is still not 100% conforming (executables don't export symbols
that are also defined in linked shared libs, as they must), but
normal shared lib situations work.
tcc.h
tccelf.c