소스 검색

fix warnings when building on sparc

Mike Frysinger 19 년 전
부모
커밋
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
    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