patch-2.1.9 linux/include/asm-sparc/cprefix.h

Next file: linux/include/asm-sparc/cypress.h
Previous file: linux/include/asm-sparc/checksum.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.8/linux/include/asm-sparc/cprefix.h linux/include/asm-sparc/cprefix.h
@@ -9,10 +9,10 @@
 #ifndef __SPARC_CPREFIX_H
 #define __SPARC_CPREFIX_H
 
-#ifndef __svr4__
-#define C_LABEL_PREFIX _
-#else
+#if defined(__svr4__) || defined(__ELF__)
 #define C_LABEL_PREFIX
+#else
+#define C_LABEL_PREFIX _
 #endif
 
 #define CONCAT(a, b) CONCAT2(a, b)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov