diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-11-04 20:19:07 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-11-04 20:19:07 +0000 |
commit | 578a13e90fe4ca11ee9bc4e484c20248badb1b32 (patch) | |
tree | c1ef0b14a3fa88268d63e48e3f514d843956891c /libc/sysdeps/linux/sh/vfork.S | |
parent | 72029cf39b801314ff1cf562b9b0521439063bff (diff) | |
download | uClibc-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.S | 8 |
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 |