diff options
author | Jakub Jelinek <jakub@redhat.com> | 2004-12-15 21:07:43 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2004-12-15 21:07:43 +0000 |
commit | d138a182cc117f5507f2c18c3e4322f6db19ce07 (patch) | |
tree | 8e348c89f38edd71a7046298802b79df47d85731 /sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S | |
parent | 95eb6211a12e45aca7d6902fa779561563de4836 (diff) |
Updated to fedora-glibc-20041215T2056
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S')
-rw-r--r-- | sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S index 891cf83631..f232284747 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S @@ -48,7 +48,7 @@ ENTRY (BP_SYM (__clone)) beq- cr0,L(badargs) /* Set up stack frame for parent. */ - stwu r1,-36(r1) + stwu r1,-32(r1) #ifdef RESET_PID stmw r28,16(r1) #else @@ -100,7 +100,7 @@ ENTRY (BP_SYM (__clone)) #endif #ifdef RESET_PID - andis. r0,r28,1 /* This is & CLONE_THREAD */ + andis. r0,r28,CLONE_THREAD>>16 bne+ r0,L(oldpid) andi. r0,r28,CLONE_VM li r3,-1 @@ -130,7 +130,7 @@ L(parent): lmw r30,16(r1) # endif #endif - addi r1,r1,36 + addi r1,r1,32 bnslr+ b JUMPTARGET(__syscall_error) |