Two other places where we can use WEAK_ALIAS.

This commit is contained in:
Andreas Tobler 2012-01-08 11:57:38 +00:00
parent c58e60be43
commit d172493d20
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=229806
2 changed files with 2 additions and 6 deletions

View File

@ -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 */

View File

@ -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)