[hurd,commited] s390x: Fix hidden aliases

Message ID 20180403115315.6144-1-samuel.thibault@ens-lyon.org
State New
Headers show
Series
  • [hurd,commited] s390x: Fix hidden aliases
Related show

Commit Message

Samuel Thibault April 3, 2018, 11:53 a.m.
* sysdeps/s390/longjmp.c (__libc_longjmp, __libc_siglongjmp): New
	hidden defs.
---
 ChangeLog              | 2 ++
 sysdeps/s390/longjmp.c | 2 ++
 2 files changed, 4 insertions(+)

Patch

diff --git a/ChangeLog b/ChangeLog
index 8f4aa359ef..29c1528619 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -410,6 +410,8 @@ 
 	defs.
 	* sysdeps/mach/hurd/sigwait.c (__sigwait): Call __libc_longjmp instead
 	of longjmp.
+	* sysdeps/s390/longjmp.c (__libc_longjmp, __libc_siglongjmp): New
+	hidden defs.
 
 	* sysdeps/mach/hurd/localplt.data: New file.
 
diff --git a/sysdeps/s390/longjmp.c b/sysdeps/s390/longjmp.c
index e61cdba2a3..e543415df0 100644
--- a/sysdeps/s390/longjmp.c
+++ b/sysdeps/s390/longjmp.c
@@ -33,6 +33,8 @@ 
    but were reverted before 2.20. Thus both versions are the same function.  */
 
 strong_alias (__libc_siglongjmp, __libc_longjmp)
+libc_hidden_def (__libc_longjmp)
+libc_hidden_def (__libc_siglongjmp)
 
 weak_alias (__libc_siglongjmp, __v1_longjmp)
 weak_alias (__libc_siglongjmp, __v2_longjmp)