------- Additional Comments From hjl dot tools at gmail dot com 2010-01-07 15:56 ------- This should fix it. I will submit a proper patch.
-- diff --git a/bfd/elflink.c b/bfd/elflink.c index 297d46b..b587ef6 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -8492,10 +8492,15 @@ elf_link_check_versioned_symbol (struct bfd_link_info *i nfo, _bfd_elf_swap_versym_in (input, ever, &iver); - if ((iver.vs_vers & VERSYM_HIDDEN) == 0) + if ((iver.vs_vers & VERSYM_HIDDEN) == 0 + && !(h->def_regular + && h->forced_local + && !h->dynamic_def)) { /* If we have a non-hidden versioned sym, then it should - have provided a definition for the undefined sym. */ + have provided a definition for the undefined sym unless + it is defined in a non-shared object and forced local. + */ abort (); } -- -- http://sourceware.org/bugzilla/show_bug.cgi?id=11138 ------- 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