summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sparc/clone.S
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-09 00:47:30 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-09 00:47:30 +0000
commit3807152f3b4c833f63035a0400eed55c53e2f00b (patch)
treef37aacdb58fa7db381a260475b2722c88a0abb7d /libc/sysdeps/linux/sparc/clone.S
parente6929d28984ab4b0dedcd47c225a572617b836a2 (diff)
style updates
Diffstat (limited to 'libc/sysdeps/linux/sparc/clone.S')
-rw-r--r--libc/sysdeps/linux/sparc/clone.S27
1 files changed, 14 insertions, 13 deletions
diff --git a/libc/sysdeps/linux/sparc/clone.S b/libc/sysdeps/linux/sparc/clone.S
index 06638570c..1bd10561a 100644
--- a/libc/sysdeps/linux/sparc/clone.S
+++ b/libc/sysdeps/linux/sparc/clone.S
@@ -36,37 +36,38 @@ __clone:
/* sanity check arguments */
tst %i0
be .Lerror
- orcc %i1,%g0,%o1
+ orcc %i1,%g0,%o1
be .Lerror
- mov %i2,%o0
+ mov %i2,%o0
/* Do the system call */
set __NR_clone,%g1
ta 0x10
bcs .Lerror
- tst %o1
+ tst %o1
bne __thread_start
- nop
+ nop
ret
- restore %o0,%g0,%o0
+ restore %o0,%g0,%o0
.Lerror:
call __errno_location
- or %g0,EINVAL,%i0
+ or %g0,EINVAL,%i0
st %i0,[%o0]
ret
- restore %g0,-1,%o0
+ restore %g0,-1,%o0
- .size __clone, .-__clone
+.size __clone,.-__clone
- .type __thread_start,@function
+.type __thread_start,%function
__thread_start:
call %i0
- mov %i3,%o0
+ mov %i3,%o0
call _exit,0
- nop
+ nop
- .size __thread_start, .-__thread_start
+.size __thread_start,.-__thread_start
-.weak clone ; clone = __clone
+.weak clone
+ clone = __clone