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

2013-07-26 Thread sch...@linux-m68k.org
http://sourceware.org/bugzilla/show_bug.cgi?id=15780 --- Comment #4 from Andreas Schwab --- >From libc/include/libc-symbols.h: /* Tacking on "\n\t#" to the section name makes gcc put it's bogus section attributes on what looks like a comment to the assembler. */ #ifdef HAVE_SECTION_QUOTES #

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

2013-07-26 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=15780 --- Comment #3 from H.J. Lu --- (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 >

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

2013-07-26 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=15780 --- Comment #2 from H.J. Lu --- [hjl@gnu-6 pr15780]$ cat end.c #include void foo () { printf ("TEST1\n"); } [hjl@gnu-6 pr15780]$ cat beginwarn.c static const char _evoke_link_warning_foo [] __attribute__ ((used, section (".gnu.warning.fo

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

2013-07-26 Thread amodra at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=15780 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #1 fr