Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148119800
D11653.id36258.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D11653.id36258.diff
View Options
Index: head/lib/libc/sys/openat.c
===================================================================
--- head/lib/libc/sys/openat.c
+++ head/lib/libc/sys/openat.c
@@ -43,7 +43,6 @@
__weak_reference(openat, __impl_openat);
__sym_default(openat, openat, FBSD_1.2);
-#pragma weak openat
int
openat(int fd, const char *path, int flags, ...)
{
Index: head/lib/libc/sys/setcontext.c
===================================================================
--- head/lib/libc/sys/setcontext.c
+++ head/lib/libc/sys/setcontext.c
@@ -42,7 +42,6 @@
__weak_reference(setcontext, __impl_setcontext);
__sym_default(setcontext, setcontext, FBSD_1.2);
-#pragma weak setcontext
int
setcontext(const ucontext_t *uc)
{
Index: head/lib/libc/sys/swapcontext.c
===================================================================
--- head/lib/libc/sys/swapcontext.c
+++ head/lib/libc/sys/swapcontext.c
@@ -43,7 +43,6 @@
__weak_reference(swapcontext, __impl_swapcontext);
__sym_default(swapcontext, swapcontext, FBSD_1.2);
-#pragma weak swapcontext
int
swapcontext(ucontext_t *oucp, const ucontext_t *ucp)
{
Index: head/sys/sys/cdefs.h
===================================================================
--- head/sys/sys/cdefs.h
+++ head/sys/sys/cdefs.h
@@ -551,7 +551,7 @@
#define __sym_compat(sym,impl,verid) \
__asm__(".symver " #impl ", " #sym "@" #verid)
#define __sym_default(sym,impl,verid) \
- __asm__(".symver " #impl ", " #sym "@@" #verid)
+ __asm__(".symver " #impl ", " #sym "@@@" #verid)
#else
#define __weak_reference(sym,alias) \
__asm__(".weak alias"); \
@@ -563,7 +563,7 @@
#define __sym_compat(sym,impl,verid) \
__asm__(".symver impl, sym@verid")
#define __sym_default(impl,sym,verid) \
- __asm__(".symver impl, sym@@verid")
+ __asm__(".symver impl, sym@@@verid")
#endif /* __STDC__ */
#endif /* __GNUC__ || __INTEL_COMPILER */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 16, 10:29 PM (4 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29791002
Default Alt Text
D11653.id36258.diff (1 KB)
Attached To
Mode
D11653: Use @@@ instead of @@ in __sym_default
Attached
Detach File
Event Timeline
Log In to Comment