bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/13839] Linker fails to build x86-64 Linux 3.3-rc2 kernel


From: hjl.tools at gmail dot com
Subject: [Bug ld/13839] Linker fails to build x86-64 Linux 3.3-rc2 kernel
Date: Wed, 14 Mar 2012 00:19:03 +0000

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]