mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-20 05:32:18 +03:00
__setjmp is the same as _setjmp. Make the former a strong symbol and
the later a weak alias.
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user