summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sparc
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/sparc')
-rw-r--r--libc/sysdeps/linux/sparc/fork.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/sparc/fork.S b/libc/sysdeps/linux/sparc/fork.S
index 982cdbe8f..1b271060b 100644
--- a/libc/sysdeps/linux/sparc/fork.S
+++ b/libc/sysdeps/linux/sparc/fork.S
@@ -22,7 +22,7 @@
#include <sys/syscall.h>
.text;
-.global fork;
+.global __libc_fork;
.align 4;
.type __libc_fork,@function;
@@ -44,4 +44,5 @@ __libc_fork:
and %o0, %o1, %o0
.size __libc_fork,.-__libc_fork;
+.weak fork; fork = __libc_fork