Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Correct stack
	alignment.  Clean up flag bit tests.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Correct stack
	alignment.  Clean up flag bit tests.  Remove redundent SP assignment.
	Add TOC register save/restore around function call.
  • Loading branch information
Ulrich Drepper committed Dec 15, 2004
1 parent a2eae4c commit dcac063
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
2004-12-15 Steven Munroe <sjmunroe@us.ibm.com>

* sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Correct stack
alignment. Clean up flag bit tests.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Correct stack
alignment. Clean up flag bit tests. Remove redundent SP assignment.
Add TOC register save/restore around function call.

* sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Make no_vmx symbol
local.
* sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Make no_vmx symbol
Expand Down
6 changes: 3 additions & 3 deletions sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit dcac063

Please sign in to comment.