PERFORCE change 1191460 for review

Khilan Gudka novazeta at FreeBSD.org
Mon Mar 3 10:10:44 UTC 2014


http://p4web.freebsd.org/@@1191460?ac=10

Change 1191460 by novazeta at novazeta_zenith on 2014/03/03 10:10:29

	Comment out new definition of __weak_reference for clang until further testing

Affected files ...

.. //depot/projects/ctsrd/tesla/src/sys/sys/cdefs.h#5 edit

Differences ...

==== //depot/projects/ctsrd/tesla/src/sys/sys/cdefs.h#5 (text+ko) ====

@@ -508,14 +508,14 @@
 	extern __typeof (sym) aliassym __attribute__ ((__alias__ (#sym)))
 #endif
 #ifdef __STDC__
-#ifdef __clang__
+//#ifdef __clang__
+//#define	__weak_reference(sym,alias)	\
+//	extern __typeof (sym) alias __attribute__ ((weak, __alias__ (#sym)))
+//#else
 #define	__weak_reference(sym,alias)	\
-	extern __typeof (sym) alias __attribute__ ((weak, __alias__ (#sym)))
-#else
-#define	__weak_reference(sym,alias)	\
 	__asm__(".weak " #alias);	\
 	__asm__(".equ "  #alias ", " #sym)
-#endif /* __clang__ */
+//#endif /* __clang__ */
 #define	__warn_references(sym,msg)	\
 	__asm__(".section .gnu.warning." #sym);	\
 	__asm__(".asciz \"" msg "\"");	\


More information about the p4-projects mailing list