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.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to