http://sourceware.org/bugzilla/show_bug.cgi?id=15056
--- Comment #9 from Alan Modra <amodra at gmail dot com> 2013-01-30 12:57:20 UTC --- The question then is "Why didn't _bfd_elf_gc_mark_rsec mark __tls_get_addr?" _bfd_elf_gc_mark_rsec ought to be called for every relocation in kept sections of libstdc++.so, and so set h->mark for __tls_get_addr. Answering my own question, I guess this is because one or more SPARC relocs reference __tls_get_addr *implicitly*, R_SPARC_TLS_LDM_CALL and R_SPARC_TLS_GD_CALL by the look of it. _bfd_sparc_elf_gc_mark_hook will need to do the marking. I'm sure you or David can throw together a patch to fix this. If not, I'll hack on it myself tomorrow. -- 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