]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[GOLD] Avoid duplicate PLT stub symbols on ppc32
authorJames Clarke <jrtc27@jrtc27.com>
Tue, 20 Jun 2017 08:31:52 +0000 (18:01 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 20 Jun 2017 09:07:29 +0000 (18:37 +0930)
commita3e00a8704fee31d815aeb5983a881eed490969e
treeb311dbd0e58762461d7c164d3cfbc27539235461
parent467f950b4bb12bd96e4e210389f550575340a288
[GOLD] Avoid duplicate PLT stub symbols on ppc32

If two objects are compiled with -fPIC or -fPIE and call the same
function, two different PLT entries are created, one for each object,
but the same stub symbol name is used for both.

* powerpc.cc (Stub_table::define_stub_syms): Always include object's
uniq_ value.
gold/ChangeLog
gold/powerpc.cc