* linker.c (_bfd_generic_link_output_symbols): Handle a
no-longer-global symbol entered as a BFD_PLUGIN.
This commit is contained in:
parent
2cce1bffff
commit
d3a65d4dea
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
|
||||
|
||||
* linker.c (_bfd_generic_link_output_symbols): Handle a
|
||||
no-longer-global symbol entered as a BFD_PLUGIN.
|
||||
|
||||
2012-10-20 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* compress.c: Reinstate 2012-10-19 change.
|
||||
|
|
|
@ -2359,6 +2359,12 @@ _bfd_generic_link_output_symbols (bfd *output_bfd,
|
|||
else
|
||||
output = FALSE;
|
||||
}
|
||||
else if (sym->flags == 0
|
||||
&& (sym->section->owner->flags & BFD_PLUGIN) != 0)
|
||||
/* LTO doesn't set symbol information. We get here with the
|
||||
generic linker for a symbol that was "common" but no longer
|
||||
needs to be global. */
|
||||
output = FALSE;
|
||||
else
|
||||
abort ();
|
||||
|
||||
|
|
Loading…
Reference in a new issue