summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/sh/vfork.S
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-11-04 20:19:07 +0000
committerEric Andersen <andersen@codepoet.org>2002-11-04 20:19:07 +0000
commit578a13e90fe4ca11ee9bc4e484c20248badb1b32 (patch)
treec1ef0b14a3fa88268d63e48e3f514d843956891c /libc/sysdeps/linux/sh/vfork.S
parent72029cf39b801314ff1cf562b9b0521439063bff (diff)
downloaduClibc-alpine-578a13e90fe4ca11ee9bc4e484c20248badb1b32.tar.bz2
uClibc-alpine-578a13e90fe4ca11ee9bc4e484c20248badb1b32.tar.xz
Kill sysdep.h and fixup the SH asm to not use it.
-Erik
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