Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/libnosys/warning.h')
-rw-r--r--libgloss/libnosys/warning.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgloss/libnosys/warning.h b/libgloss/libnosys/warning.h
index 8ab03e4e8..767a5de79 100644
--- a/libgloss/libnosys/warning.h
+++ b/libgloss/libnosys/warning.h
@@ -17,9 +17,9 @@
# ifdef HAVE_SECTION_ATTRIBUTES
# define link_warning(symbol, msg) \
- __make_section_unallocated (".gnu.warning." #symbol) \
static const char __evoke_link_warning_##symbol[] \
- __attribute__ ((section (".gnu.warning." #symbol))) = msg;
+ __attribute__ ((section (".gnu.warning." __SYMBOL_PREFIX #symbol), \
+ __used__)) = msg;
# else
# define link_warning(symbol, msg)
# endif