bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/15762] glibc built without .gnu.warning.symbol sections


From: hjl.tools at gmail dot com
Subject: [Bug ld/15762] glibc built without .gnu.warning.symbol sections
Date: Wed, 24 Jul 2013 00:26:47 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=15762

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |hjl.tools at gmail dot com
         Resolution|FIXED                       |---

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> ---
The change:

iff -u -r1.494 -r1.495
--- src/bfd/elflink.c    2013/05/08 23:31:38    1.494
+++ src/bfd/elflink.c    2013/07/20 09:50:16    1.495
@@ -3444,7 +3444,7 @@
               FALSE, bed->collect, NULL)))
         goto error_return;

-          if (! info->relocatable)
+          if (!info->relocatable && !info->shared)
         {
           /* Clobber the section size so that the warning does
              not get copied into the output file.  */

looks wrong.  It will generate .gnu.warning.symbol sections in PIE.
Shouldn't the check be if (info->executable)?

-- 
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]