PowerPC gold assertion on missing global entry stub
authorAlan Modra <amodra@gmail.com>
Tue, 28 Apr 2015 03:58:29 +0000 (13:28 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 28 Apr 2015 04:08:56 +0000 (13:38 +0930)
commit6ec65f28db6b718b505e2ee5c34a274ba07397ae
treee71457862617eb74a5c43a6fffc0b929ad7f758b
parent2eb639cbe4baa33545ca008d6054ea5db1d8f6a8
PowerPC gold assertion on missing global entry stub

Global entry stubs are used on ELFv2 to provide addresses for
functions not defined in a non-PIC executable but whose address is
taken, in much the same way as PLT stub code is used on other
targets to provide function addresses.  We don't want to insert a
global entry stub just because (bogus) debug info refers to the
address of a non-local function, but we also don't want gold to die.

* powerpc.cc (Target_powerpc::Relocate::relocate): Don't assert
on missing global entry stub due to bogus debug info.
gold/ChangeLog
gold/powerpc.cc
This page took 0.025716 seconds and 4 git commands to generate.