Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106178972
D44330.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
604 B
Referenced Files
None
Subscribers
None
D44330.diff
View Options
diff --git a/lib/libsys/arm/vfork.S b/lib/libsys/arm/vfork.S
--- a/lib/libsys/arm/vfork.S
+++ b/lib/libsys/arm/vfork.S
@@ -42,13 +42,17 @@
.text
.align 0
-ENTRY(vfork)
+ENTRY(__sys_vfork)
+ .weak _C_LABEL(vfork);
+ .set _C_LABEL(vfork), _C_LABEL(__sys_vfork);
+ .weak _C_LABEL(_vfork);
+ .set _C_LABEL(_vfork), _C_LABEL(__sys_vfork);
mov r2, r14
_SYSCALL(vfork)
bcs PIC_SYM(CERROR, PLT)
sub r1, r1, #1 /* r1 == 0xffffffff if parent, 0 if child */
and r0, r0, r1 /* r0 == 0 if child, else unchanged */
mov r15, r2
-END(vfork)
+END(__sys_vfork)
.section .note.GNU-stack,"",%progbits
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 27, 4:54 PM (9 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15615989
Default Alt Text
D44330.diff (604 B)
Attached To
Mode
D44330: libsys/arm: make vfork less of an outlier
Attached
Detach File
Event Timeline
Log In to Comment