__setjmp is the same as _setjmp. Make the former a strong symbol and

the later a weak alias.
This commit is contained in:
Ulrich Drepper 1997-10-12 03:40:26 +00:00
parent 0fc15eae49
commit a325c2c023

View File

@ -70,11 +70,11 @@ END(__sigsetjmp)
/* Put these traditional entry points in the same file so that we can
elide much of the nonsense in trying to jmp to the real function. */
ENTRY(_setjmp)
ENTRY(__setjmp)
ldgp gp, 0(pv)
mov 0, a1
br $sigsetjmp_local
END(_setjmp)
END(__setjmp)
ENTRY(setjmp)
ldgp gp, 0(pv)
@ -82,5 +82,5 @@ ENTRY(setjmp)
br $sigsetjmp_local
END(setjmp)
weak_extern(_setjmp)
weak_alias(__setjmp, _setjmp)
weak_extern(setjmp)