From: Ulrich Drepper Date: Sun, 12 Oct 1997 03:40:26 +0000 (+0000) Subject: __setjmp is the same as _setjmp. Make the former a strong symbol and X-Git-Tag: glibc-2.16-ports-before-merge~3402 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a325c2c023972dcfbda4fa62891d81e5637b422d;p=thirdparty%2Fglibc.git __setjmp is the same as _setjmp. Make the former a strong symbol and the later a weak alias. --- diff --git a/sysdeps/alpha/setjmp.S b/sysdeps/alpha/setjmp.S index 48fe33b3ec3..ae3ceb517d4 100644 --- a/sysdeps/alpha/setjmp.S +++ b/sysdeps/alpha/setjmp.S @@ -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)