http://sourceware.org/bugzilla/show_bug.cgi?id=16546
--- Comment #1 from wangdeqiang <wang.deqiang1 at zte dot com.cn> --- my solution is very simple, we just ignore the tls_get_addr in ppc_elf_relax_section: static bfd_boolean ppc_elf_relax_section (bfd *abfd, asection *isec, struct bfd_link_info *link_info, bfd_boolean *again) { ............. while (h->root.type == bfd_link_hash_indirect || h->root.type == bfd_link_hash_warning) h = (struct elf_link_hash_entry *) h->root.u.i.link; + if ((h == htab->tls_get_addr ) && ( (link_info->relocatable || link_info->executable))) + continue; -- 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