http://sourceware.org/bugzilla/show_bug.cgi?id=13839
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2012-03-14 00:19:03 UTC --- This patch seems to work: diff --git a/ld/ldexp.c b/ld/ldexp.c index bf0e00b..3b0f4bb 100644 --- a/ld/ldexp.c +++ b/ld/ldexp.c @@ -606,7 +606,8 @@ fold_name (etree_type *tree) output_section); } else if (expld.phase == lang_final_phase_enum - || expld.assigning_to_dot) + || (expld.phase != lang_mark_phase_enum + && expld.assigning_to_dot)) einfo (_("%F%S: undefined symbol `%s'" " referenced in expression\n"), tree, tree->name.name); -- 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