am 0eaa218c: am 0952a554: Merge "Use the stmdb instead of str to save the fn/arg"

* commit '0eaa218c2f567af3ed51ac7538ef9179a9318821':
  Use the stmdb instead of str to save the fn/arg
This commit is contained in:
Elliott Hughes 2014-12-10 19:07:36 +00:00 committed by Android Git Automerger
commit 114cee8c6e

View File

@ -43,8 +43,7 @@ ENTRY(__bionic_clone)
ldmfd ip, {r4, r5, r6}
# store 'fn' and 'arg' to the child stack
str r5, [r1, #-4]
str r6, [r1, #-8]
stmdb r1!, {r5, r6}
# System call
ldr r7, =__NR_clone
@ -62,8 +61,7 @@ ENTRY(__bionic_clone)
1: # The child.
# Setting lr to 0 will make the unwinder stop at __start_thread
mov lr, #0
ldr r0, [sp, #-4]
ldr r1, [sp, #-8]
pop {r0, r1}
b __start_thread
END(__bionic_clone)
.hidden __bionic_clone