aboutsummaryrefslogtreecommitdiff
path: root/nptl/sysdeps/unix/sysv/linux/ia64
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-03-10 23:14:28 +0000
committerUlrich Drepper <drepper@redhat.com>2004-03-10 23:14:28 +0000
commitd682a515f1a83e557d694c35e011f06269528ae1 (patch)
tree59fe6752e49defa23929da380f4959ec8d53161c /nptl/sysdeps/unix/sysv/linux/ia64
parentd3a4a571c42d14ad2dfbe8c06bdf02b74d012e94 (diff)
downloadglibc-d682a515f1a83e557d694c35e011f06269528ae1.tar
glibc-d682a515f1a83e557d694c35e011f06269528ae1.tar.gz
glibc-d682a515f1a83e557d694c35e011f06269528ae1.tar.bz2
glibc-d682a515f1a83e557d694c35e011f06269528ae1.zip
Update.
2004-03-10 Ulrich Drepper <drepper@redhat.com> * posix/getopt.c (_): Don't define here for glibc.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/ia64')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/ia64/pt-vfork.S14
1 files changed, 9 insertions, 5 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/ia64/pt-vfork.S b/nptl/sysdeps/unix/sysv/linux/ia64/pt-vfork.S
index f59227c695..49398d5c23 100644
--- a/nptl/sysdeps/unix/sysv/linux/ia64/pt-vfork.S
+++ b/nptl/sysdeps/unix/sysv/linux/ia64/pt-vfork.S
@@ -32,22 +32,26 @@
ENTRY(__vfork)
.prologue // work around a GAS bug which triggers if
.body // first .prologue is not at the beginning of proc.
- alloc r2=ar.pfs,0,1,2,0
+ alloc r2=ar.pfs,0,0,2,0
adds r14=PID,r13
;;
- ld4 loc0=[r14]
+ ld4 r16=[r14]
;;
- sub r15=0,loc0
+ sub r15=0,r16
mov out0=CLONE_VM+CLONE_VFORK+SIGCHLD
mov out1=0 /* Standard sp value. */
;;
st4 [r14]=r15
DO_CALL (SYS_ify (clone))
cmp.eq p0,p7=0,r8
- cmp.eq p6,p0=-1,r10
adds r14=PID,r13
;;
-(p7) st4 [r14]=loc0
+(p7) ld4 r16=[r14]
+ cmp.eq p6,p0=-1,r10
+ ;;
+(p7) sub r15=0,r16
+ ;;
+(p7) st4 [r14]=r15
(p6) br.cond.spnt.few __syscall_error
ret
PSEUDO_END(__vfork)