summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh/vfork.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/sh/vfork.S')
-rw-r--r--libc/sysdeps/linux/sh/vfork.S8
1 files changed, 5 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/sh/vfork.S b/libc/sysdeps/linux/sh/vfork.S
index b3b8f3ce0..c9cc12da7 100644
--- a/libc/sysdeps/linux/sh/vfork.S
+++ b/libc/sysdeps/linux/sh/vfork.S
@@ -20,7 +20,6 @@
respective copyright holders.
*/
-#include <sysdep.h>
#define _ERRNO_H 1
#include <bits/errno.h>
@@ -31,8 +30,11 @@
.global errno
-ENTRY (__vfork)
-
+.text
+.align 5
+.type __vfork,@function
+.globl __vfork;
+__vfork:
mov.l @r15+,r3 // pop value from the stack
mov.l .L5,r1
mov.l r3,@r1 // save it in .sav_stack