Introduce and use local
label .Lthread_start since current binutils don't allow branches to globally visible symbols.
This commit is contained in:
parent
b5ec56172d
commit
000f73030b
@ -63,7 +63,7 @@ NESTED(__clone,4*SZREG,sp)
|
|||||||
syscall
|
syscall
|
||||||
|
|
||||||
bnez a3,error
|
bnez a3,error
|
||||||
beqz v0,__thread_start
|
beqz v0,.Lthread_start
|
||||||
|
|
||||||
/* Successful return from the parent */
|
/* Successful return from the parent */
|
||||||
addiu sp,32
|
addiu sp,32
|
||||||
@ -84,7 +84,7 @@ error:
|
|||||||
its own function so that we can terminate the stack trace with our
|
its own function so that we can terminate the stack trace with our
|
||||||
debug info. */
|
debug info. */
|
||||||
|
|
||||||
ENTRY(__thread_start)
|
.Lthread_start:
|
||||||
/* cp is already loaded. */
|
/* cp is already loaded. */
|
||||||
.cprestore 16
|
.cprestore 16
|
||||||
/* The stackframe has been created on entry of clone(). */
|
/* The stackframe has been created on entry of clone(). */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user