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.26-136-g94e6ba1


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  94e6ba153b80a91e97386594729cd36eab69f507 (commit)
      from  7550717ed747c90afe49fcd590c4acc3ccade56a (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=94e6ba153b80a91e97386594729cd36eab69f507

commit 94e6ba153b80a91e97386594729cd36eab69f507
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Aug 20 06:30:29 2017 -0700

    Move ____longjmp_chk prototype to include/setjmp.h
    
    Move ____longjmp_chk prototype to include/setjmp.h and add
    attribute_hidden.
    
    	* debug/longjmp_chk.c (____longjmp_chk): Moved to ...
    	* include/setjmp.h (____longjmp_chk): Here.  Add
    	attribute_hidden.

diff --git a/ChangeLog b/ChangeLog
index c650d03..7badd6b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-08-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* debug/longjmp_chk.c (____longjmp_chk): Moved to ...
+	* include/setjmp.h (____longjmp_chk): Here.  Add
+	attribute_hidden.
+
 2017-08-19  H.J. Lu  <hongjiu.lu@intel.com>
 
 	[BZ #18822]
diff --git a/debug/longjmp_chk.c b/debug/longjmp_chk.c
index 1a927f5..1cea6c0 100644
--- a/debug/longjmp_chk.c
+++ b/debug/longjmp_chk.c
@@ -17,10 +17,6 @@
 
 #include <setjmp.h>
 
-// XXX Should move to include/setjmp.h
-extern void ____longjmp_chk (__jmp_buf __env, int __val)
-     __attribute__ ((__noreturn__));
-
 #define __longjmp ____longjmp_chk
 #define __libc_siglongjmp __longjmp_chk
 
diff --git a/include/setjmp.h b/include/setjmp.h
index 90f4697..e45328b 100644
--- a/include/setjmp.h
+++ b/include/setjmp.h
@@ -8,6 +8,9 @@
 extern void __longjmp (__jmp_buf __env, int __val)
      __attribute__ ((__noreturn__)) attribute_hidden;
 
+extern void ____longjmp_chk (__jmp_buf __env, int __val)
+     __attribute__ ((__noreturn__)) attribute_hidden;
+
 /* Internal function to possibly save the current mask of blocked signals
    in ENV, and always set the flag saying whether or not it was saved.
    This is used by the machine-dependent definition of `__sigsetjmp'.

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

Summary of changes:
 ChangeLog           |    6 ++++++
 debug/longjmp_chk.c |    4 ----
 include/setjmp.h    |    3 +++
 3 files changed, 9 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]