[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/15780] .gnu.warning.SYMBOL section treatment needs improvement
From: |
address@hidden |
Subject: |
[Bug ld/15780] .gnu.warning.SYMBOL section treatment needs improvement |
Date: |
Fri, 26 Jul 2013 15:28:24 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=15780
--- Comment #4 from Andreas Schwab <address@hidden> ---
>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
# define __sec_comment "\"\n\t#\""
#else
# define __sec_comment "\n\t#"
#endif
#define link_warning(symbol, msg) \
__make_section_unallocated (".gnu.warning." #symbol) \
static const char __evoke_link_warning_##symbol[] \
__attribute__ ((used, section (".gnu.warning." #symbol __sec_comment))) \
= msg;
--
You are receiving this mail because:
You are on the CC list for the bug.