bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/15780] .gnu.warning.SYMBOL section treatment needs improvement


From: hjl.tools at gmail dot com
Subject: [Bug ld/15780] .gnu.warning.SYMBOL section treatment needs improvement
Date: Fri, 26 Jul 2013 15:12:17 +0000

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

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to H.J. Lu from comment #0)
>   /* If this is a final link, then always put .gnu.warning.SYMBOL
>      sections into the .text section to get them out of the way.  */
>   if (link_info.executable
>       && ! link_info.relocatable
>       && CONST_STRNEQ (s->name, ".gnu.warning.")
>       && hold[orphan_text].os != NULL)
>     {
>       os = hold[orphan_text].os;
>       lang_add_section (&os->children, s, NULL, os);
>       return os;
>     }
> 
> which places .gnu.warning.SYMBOL sections in .text section
> which is in PT_LOAD segment.

As of

http://sourceware.org/ml/binutils-cvs/2013-07/msg00141.html

the above code should be dead since .gnu.warning.SYMBOL sections
have been removed from non-relocatable 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]