diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-07-09 00:34:34 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-07-09 00:34:34 +0000 |
commit | 6275ec5d02f4cdbcbc0de7c4f92b6cde5d1538c0 (patch) | |
tree | 6b91e459354d414b355958e4a445113095a6d37a /libc/sysdeps/linux/sparc/vfork.S | |
parent | 911e3b1d977a3e6d5ad28835bdafe4fd68e595a3 (diff) |
update style
Diffstat (limited to 'libc/sysdeps/linux/sparc/vfork.S')
-rw-r--r-- | libc/sysdeps/linux/sparc/vfork.S | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/libc/sysdeps/linux/sparc/vfork.S b/libc/sysdeps/linux/sparc/vfork.S index 0df960d65..854b66182 100644 --- a/libc/sysdeps/linux/sparc/vfork.S +++ b/libc/sysdeps/linux/sparc/vfork.S @@ -22,16 +22,18 @@ #include <sys/syscall.h> #ifndef __NR_vfork -/* uClinux-2.0 only has fork which is really vfork */ -#define __NR_vfork __NR_fork -#endif +/* No vfork so use fork instead */ +.weak vfork + vfork = __libc_fork -.text; -.global vfork; -.align 4; -.type vfork,@function; +#else -vfork: +.text +.global vfork +.type vfork,%function +.align 4 + +__vfork: mov __NR_vfork, %g1 ta 0x10 bcc,a 9000f @@ -48,5 +50,9 @@ vfork: retl and %o0, %o1, %o0 -.size vfork,.-vfork; +.size __vfork,.-__vfork + +.weak vfork + vfork = __vfork +#endif /* __NR_vfork */ |