Преглед изворни кода

fix warnings when building on sparc

Mike Frysinger пре 18 година
родитељ
комит
21dd9da959
1 измењених фајлова са 5 додато и 1 уклоњено
  1. 5 1
      include/libc-internal.h

+ 5 - 1
include/libc-internal.h

@@ -76,7 +76,11 @@
 
 
 /* Tacking on "\n\t#" to the section name makes gcc put it's bogus
 /* 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.  */
    section attributes on what looks like a comment to the assembler.  */
-# define __sec_comment "\n\t#"
+# ifdef __sparc__ //HAVE_SECTION_QUOTES
+#  define __sec_comment "\"\n\t#\""
+# else
+#  define __sec_comment "\n\t#"
+# endif
 # ifdef __cris__
 # ifdef __cris__
 #  define link_warning(symbol, msg)
 #  define link_warning(symbol, msg)
 # else
 # else