Add missing hidden_def (__sigsetjmp).

This patch adds the missing hidden_def (__sigsetjmp) on various
architectures that were failing to build (as noted in
<https://sourceware.org/ml/libc-alpha/2016-11/msg01124.html>).

Tested (compilation only) with build-many-glibcs.py.

	* sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
	* sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
	* sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
	* sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
	* sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
	* sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
	* sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
	* sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
	Likewise.
This commit is contained in:
Joseph Myers 2016-12-01 20:49:25 +00:00
parent 5cd94e67d0
commit 2314a29b62
10 changed files with 22 additions and 0 deletions

View File

@ -1,3 +1,16 @@
2016-12-01 Joseph Myers <joseph@codesourcery.com>
* sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
* sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
* sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
* sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
* sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
* sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
* sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
* sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
Likewise.
2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org> 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
* sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias): * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):

View File

@ -96,6 +96,7 @@ $sigsetjmp_local:
#endif #endif
END(__sigsetjmp) END(__sigsetjmp)
hidden_def (__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. */

View File

@ -70,3 +70,4 @@ __sigsetjmp:
b __sigjmp_save b __sigjmp_save
nop nop
.procend .procend
hidden_def (__sigsetjmp)

View File

@ -42,3 +42,4 @@ ENTRY (__sigsetjmp)
#endif #endif
jr t9 jr t9
END (__sigsetjmp) END (__sigsetjmp)
hidden_def (__sigsetjmp)

View File

@ -44,3 +44,4 @@ ENTRY (__sigsetjmp)
j __sigsetjmp_aux j __sigsetjmp_aux
#endif #endif
END (__sigsetjmp) END (__sigsetjmp)
hidden_def (__sigsetjmp)

View File

@ -78,3 +78,4 @@ ENTRY (__sigsetjmp)
# endif # endif
#endif #endif
END (__sigsetjmp) END (__sigsetjmp)
hidden_def (__sigsetjmp)

View File

@ -87,3 +87,4 @@ ENTRY (__sigsetjmp)
# endif # endif
#endif #endif
END (__sigsetjmp) END (__sigsetjmp)
hidden_def (__sigsetjmp)

View File

@ -53,6 +53,7 @@ ENTRY (__sigsetjmp)
call __sigjmp_save call __sigjmp_save
mov %g1, %o7 mov %g1, %o7
END(__sigsetjmp) END(__sigsetjmp)
hidden_def (__sigsetjmp)
weak_extern(_setjmp) weak_extern(_setjmp)
weak_extern(setjmp) weak_extern(setjmp)

View File

@ -44,3 +44,4 @@ ENTRY(__sigsetjmp)
j plt(__sigjmp_save) j plt(__sigjmp_save)
jrp lr /* Keep the backtracer happy. */ jrp lr /* Keep the backtracer happy. */
END(__sigsetjmp) END(__sigsetjmp)
hidden_def (__sigsetjmp)

View File

@ -61,6 +61,7 @@ __sigsetjmp_local:
mov %g1, %o0 mov %g1, %o0
END(__sigsetjmp) END(__sigsetjmp)
hidden_def (__sigsetjmp)
weak_extern(_setjmp) weak_extern(_setjmp)
weak_extern(setjmp) weak_extern(setjmp)