------- Additional Comments From hjl dot tools at gmail dot com 2009-07-23 13:29 ------- (In reply to comment #11) > Hi H.J. > > Will the uploaded patch work ? >
I am afraid it is wrong. You have to duplicate the whole logic in elf_link_output_extsym: if ((h->type == STT_GNU_IFUNC && h->def_regular && !finfo->info->relocatable) || ((h->dynindx != -1 || h->forced_local) && ((finfo->info->shared && (ELF_ST_VISIBILITY (h->other) == STV_DEFAULT || h->root.type != bfd_link_hash_undefweak)) || !h->forced_local) && elf_hash_table (finfo->info)->dynamic_sections_created)) { Otherwise, you will miss the || part. Like I said, the backend is the wrong place to fix this bug. -- What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW http://sourceware.org/bugzilla/show_bug.cgi?id=10433 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils