This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.27.9000-183-g6253bac


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  6253bacdc00de132dec452ff7c6ce3ba7fa23d81 (commit)
      from  229855e5983881812b21b215346cb990722c6023 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=6253bacdc00de132dec452ff7c6ce3ba7fa23d81

commit 6253bacdc00de132dec452ff7c6ce3ba7fa23d81
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sat Mar 10 09:27:04 2018 -0800

    Remove hidden __libc_longjmp
    
    Since __libc_longjmp is a private interface for cancellation implementation
    in libpthread, there is no need to provide hidden __libc_longjmp in libc.
    
    Tested with build-many-glibcs.py.
    
    	* include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
    	* setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
    	* sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
    	* sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
    	Likewise.

diff --git a/ChangeLog b/ChangeLog
index 0f71d41..8490083 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2018-03-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
+	* setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
+	* sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
+	* sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
+	Likewise.
+
 2018-03-09  Florian Weimer  <fweimer@redhat.com>
 
 	* malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
diff --git a/include/setjmp.h b/include/setjmp.h
index f1b19f5..263bc64 100644
--- a/include/setjmp.h
+++ b/include/setjmp.h
@@ -23,7 +23,6 @@ extern void __libc_siglongjmp (sigjmp_buf env, int val)
 	  __attribute__ ((noreturn));
 extern void __libc_longjmp (sigjmp_buf env, int val)
      __attribute__ ((noreturn));
-libc_hidden_proto (__libc_longjmp)
 
 libc_hidden_proto (_setjmp)
 libc_hidden_proto (__sigsetjmp)
diff --git a/setjmp/longjmp.c b/setjmp/longjmp.c
index 6b47376..a2a7065 100644
--- a/setjmp/longjmp.c
+++ b/setjmp/longjmp.c
@@ -40,8 +40,9 @@ __libc_siglongjmp (sigjmp_buf env, int val)
 }
 
 #ifndef __libc_siglongjmp
+/* __libc_longjmp is a private interface for cancellation implementation
+   in libpthread.  */
 strong_alias (__libc_siglongjmp, __libc_longjmp)
-libc_hidden_def (__libc_longjmp)
 weak_alias (__libc_siglongjmp, _longjmp)
 weak_alias (__libc_siglongjmp, longjmp)
 weak_alias (__libc_siglongjmp, siglongjmp)
diff --git a/sysdeps/s390/longjmp.c b/sysdeps/s390/longjmp.c
index 6343c26..e61cdba 100644
--- a/sysdeps/s390/longjmp.c
+++ b/sysdeps/s390/longjmp.c
@@ -33,7 +33,6 @@
    but were reverted before 2.20. Thus both versions are the same function.  */
 
 strong_alias (__libc_siglongjmp, __libc_longjmp)
-libc_hidden_def (__libc_longjmp)
 
 weak_alias (__libc_siglongjmp, __v1_longjmp)
 weak_alias (__libc_siglongjmp, __v2_longjmp)
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S b/sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S
index 208c6db..5937396 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S
@@ -45,7 +45,6 @@ END(__libc_siglongjmp)
 
 strong_alias(__libc_siglongjmp, __longjmp)
 strong_alias(__libc_siglongjmp, __libc_longjmp)
-libc_hidden_def (__libc_longjmp)
 weak_alias (__libc_siglongjmp, longjmp)
 weak_alias (__libc_siglongjmp, _longjmp)
 weak_alias (__libc_siglongjmp, siglongjmp)

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                       |    8 ++++++++
 include/setjmp.h                                |    1 -
 setjmp/longjmp.c                                |    3 ++-
 sysdeps/s390/longjmp.c                          |    1 -
 sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S |    1 -
 5 files changed, 10 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]