am 9e3a0356: am 1454ff25: Merge "Clear the return address register in __bionic_clone."
* commit '9e3a0356f4f04f4adac31206876ed41db091c808': Clear the return address register in __bionic_clone.
This commit is contained in:
commit
faf071dfcb
@ -54,6 +54,9 @@ ENTRY(__bionic_clone)
|
|||||||
j ra
|
j ra
|
||||||
|
|
||||||
.L__thread_start_bc:
|
.L__thread_start_bc:
|
||||||
|
# Clear return address in child so we don't unwind further.
|
||||||
|
li ra,0
|
||||||
|
|
||||||
lw a0,0(sp) # fn
|
lw a0,0(sp) # fn
|
||||||
lw a1,4(sp) # arg
|
lw a1,4(sp) # arg
|
||||||
|
|
||||||
|
@ -75,6 +75,9 @@ LEAF(__bionic_clone, FRAMESZ)
|
|||||||
j ra
|
j ra
|
||||||
|
|
||||||
.L__thread_start_bc:
|
.L__thread_start_bc:
|
||||||
|
# Clear return address in child so we don't unwind further.
|
||||||
|
li ra,0
|
||||||
|
|
||||||
# void __bionic_clone_entry(int (*func)(void*), void *arg)
|
# void __bionic_clone_entry(int (*func)(void*), void *arg)
|
||||||
PTR_L a0,FRAME_FN(sp) # fn
|
PTR_L a0,FRAME_FN(sp) # fn
|
||||||
PTR_L a1,FRAME_ARG(sp) # arg
|
PTR_L a1,FRAME_ARG(sp) # arg
|
||||||
|
Loading…
x
Reference in New Issue
Block a user