(link_warning): If HAVE_SECTION_QUOTES is defined, terminate quotes and read
authordrepper <drepper>
Wed, 14 Jun 2000 16:09:47 +0000 (16:09 +0000)
committerdrepper <drepper>
Wed, 14 Jun 2000 16:09:47 +0000 (16:09 +0000)
them after the comment char.

include/libc-symbols.h

index 7e7a1e5..066dfae 100644 (file)
 
 #  define link_warning(symbol, msg)                    \
   __make_section_unallocated (".gnu.warning." #symbol) \
+#  ifdef HAVE_SECTION_QUOTES
+  static const char __evoke_link_warning_##symbol[]    \
+    __attribute__ ((section (".gnu.warning." #symbol "\"\n\t#\""))) = msg;
+#  else
   static const char __evoke_link_warning_##symbol[]    \
     __attribute__ ((section (".gnu.warning." #symbol "\n\t#"))) = msg;
+#  endif
 # else
 #  define link_warning(symbol, msg)            \
   asm(".stabs \"" msg "\",30,0,0,0\n"  \