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. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils