summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/m68k/vfork.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/m68k/vfork.S b/libc/sysdeps/linux/m68k/vfork.S
index 5db163bf5..132c10989 100644
--- a/libc/sysdeps/linux/m68k/vfork.S
+++ b/libc/sysdeps/linux/m68k/vfork.S
@@ -11,10 +11,13 @@
.align 2
.globl errno
.globl vfork
+ .globl __libc_vfork
#if defined __HAVE_ELF__
.type vfork,@function
+ .type __libc_vfork,@function
#endif
vfork:
+__libc_vfork:
movl %sp@+, %a1 /* save the return address for later */
movl IMM __NR_vfork,%d0
trap #0