about summary refs log tree commit diff
path: root/sysdeps/sh
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2016-12-01 20:49:25 +0000
committerJoseph Myers <joseph@codesourcery.com>2016-12-01 20:49:25 +0000
commit2314a29b623ecec8cb3ec4f46ada534027754e7e (patch)
tree2032784ba053ff577da396263557e2e9cf1735e0 /sysdeps/sh
parent5cd94e67d026fb402f127481abd28a8806098ff3 (diff)
downloadglibc-2314a29b623ecec8cb3ec4f46ada534027754e7e.tar.gz
glibc-2314a29b623ecec8cb3ec4f46ada534027754e7e.tar.xz
glibc-2314a29b623ecec8cb3ec4f46ada534027754e7e.zip
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.
Diffstat (limited to 'sysdeps/sh')
-rw-r--r--sysdeps/sh/sh3/setjmp.S1
-rw-r--r--sysdeps/sh/sh4/setjmp.S1
2 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/sh/sh3/setjmp.S b/sysdeps/sh/sh3/setjmp.S
index 4e484c34b2..9745ec2de5 100644
--- a/sysdeps/sh/sh3/setjmp.S
+++ b/sysdeps/sh/sh3/setjmp.S
@@ -78,3 +78,4 @@ ENTRY (__sigsetjmp)
 # endif
 #endif
 END (__sigsetjmp)
+hidden_def (__sigsetjmp)
diff --git a/sysdeps/sh/sh4/setjmp.S b/sysdeps/sh/sh4/setjmp.S
index b42446560d..934292a7db 100644
--- a/sysdeps/sh/sh4/setjmp.S
+++ b/sysdeps/sh/sh4/setjmp.S
@@ -87,3 +87,4 @@ ENTRY (__sigsetjmp)
 # endif
 #endif
 END (__sigsetjmp)
+hidden_def (__sigsetjmp)