mirror of git://sourceware.org/git/glibc.git
__setjmp is the same as _setjmp. Make the former a strong symbol and
the later a weak alias.
This commit is contained in:
parent
0fc15eae49
commit
a325c2c023
|
@ -70,11 +70,11 @@ END(__sigsetjmp)
|
||||||
/* Put these traditional entry points in the same file so that we can
|
/* 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. */
|
elide much of the nonsense in trying to jmp to the real function. */
|
||||||
|
|
||||||
ENTRY(_setjmp)
|
ENTRY(__setjmp)
|
||||||
ldgp gp, 0(pv)
|
ldgp gp, 0(pv)
|
||||||
mov 0, a1
|
mov 0, a1
|
||||||
br $sigsetjmp_local
|
br $sigsetjmp_local
|
||||||
END(_setjmp)
|
END(__setjmp)
|
||||||
|
|
||||||
ENTRY(setjmp)
|
ENTRY(setjmp)
|
||||||
ldgp gp, 0(pv)
|
ldgp gp, 0(pv)
|
||||||
|
@ -82,5 +82,5 @@ ENTRY(setjmp)
|
||||||
br $sigsetjmp_local
|
br $sigsetjmp_local
|
||||||
END(setjmp)
|
END(setjmp)
|
||||||
|
|
||||||
weak_extern(_setjmp)
|
weak_alias(__setjmp, _setjmp)
|
||||||
weak_extern(setjmp)
|
weak_extern(setjmp)
|
||||||
|
|
Loading…
Reference in New Issue