[Bug ld/12772] symbols from discarded sections relocs stay

2011-05-18 Thread amodra at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12772

Alan Modra  changed:

   What|Removed |Added

 CC||amodra at gmail dot com
   Severity|normal  |enhancement

--- Comment #5 from Alan Modra  2011-05-18 15:36:45 
UTC ---
This optimisation could be done in a target gc_sweep_symbol hook.  You can't do
so in the generic ELF code because you'd need to look at plt, got and dyn_reloc
fields of the sym.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12772] symbols from discarded sections relocs stay

2011-05-18 Thread matz at suse dot de
http://sourceware.org/bugzilla/show_bug.cgi?id=12772

Michael Matz  changed:

   What|Removed |Added

Summary|relocations from discarded  |symbols from discarded
   |sections stay   |sections relocs stay

--- Comment #4 from Michael Matz  2011-05-18 11:54:22 UTC 
---
Yeah, sorry, my title was wrong.  The relocations really are gone.  But the
symbol table entry will stay, even though nothing refers to it anymore
(ultimately this then leads to libraries being included that aren't used
by anything).

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12772] symbols from discarded sections relocs stay

2011-05-18 Thread matz at suse dot de
http://sourceware.org/bugzilla/show_bug.cgi?id=12772

Michael Matz  changed:

   What|Removed |Added

 Status|WAITING |NEW

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils