Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F141038694
D41329.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
407 B
Referenced Files
None
Subscribers
None
D41329.diff
View Options
diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h
--- a/sys/sys/cdefs.h
+++ b/sys/sys/cdefs.h
@@ -562,7 +562,11 @@
#endif /* __GNUC__ */
#define __GLOBL(sym) __asm__(".globl " __XSTRING(sym))
+#ifdef __clang__
#define __WEAK(sym) __asm__(".weak " __XSTRING(sym))
+#else
+#define __WEAK(sym) __GLOBL(sym)
+#endif
#if defined(__GNUC__)
#define __IDSTRING(name,string) __asm__(".ident\t\"" string "\"")
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 1, 1:48 AM (5 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27427055
Default Alt Text
D41329.diff (407 B)
Attached To
Mode
D41329: cdefs.h: unbreak linker sets for gcc
Attached
Detach File
Event Timeline
Log In to Comment