Two other places where we can use WEAK_ALIAS.
This commit is contained in:
parent
c58e60be43
commit
d172493d20
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=229806
@ -69,8 +69,7 @@ ENTRY(setjmp)
|
||||
li %r3,0 /* return (0) */
|
||||
blr
|
||||
|
||||
.weak CNAME(longjmp)
|
||||
.set CNAME(longjmp),CNAME(__longjmp)
|
||||
WEAK_ALIAS(longjmp, __longjmp)
|
||||
ENTRY(__longjmp)
|
||||
lmw %r9,20(%r3) /* restore regs */
|
||||
mr %r6,%r4 /* save val param */
|
||||
|
@ -93,10 +93,7 @@ ENTRY(setjmp)
|
||||
li %r3,0 /* return (0) */
|
||||
blr
|
||||
|
||||
.weak CNAME(longjmp)
|
||||
.set CNAME(longjmp),CNAME(__longjmp)
|
||||
.weak CNAME(.longjmp)
|
||||
.set CNAME(.longjmp),CNAME(.__longjmp)
|
||||
WEAK_ALIAS(longjmp, __longjmp)
|
||||
ENTRY(__longjmp)
|
||||
ld %r9,40 + 0*8(%r3)
|
||||
ld %r10,40 + 1*8(%r3)
|
||||
|
Loading…
Reference in New Issue
Block a user