Browse Source

fix warnings when building on sparc

Mike Frysinger 18 years ago
parent
commit
21dd9da959
1 changed files with 5 additions and 1 deletions
  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
    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__
 #  define link_warning(symbol, msg)
 # else