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.21-584-gaf85d40


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  af85d409a29ae435949a7fcc7065d88af0233d24 (commit)
      from  2eb9ef29b698bb7706833236b4b9041f0c23ceef (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=af85d409a29ae435949a7fcc7065d88af0233d24

commit af85d409a29ae435949a7fcc7065d88af0233d24
Author: Roland McGrath <roland@hack.frob.com>
Date:   Thu Jul 9 15:25:47 2015 -0700

    PLT avoidance for _exit in rtld.

diff --git a/ChangeLog b/ChangeLog
index c48416b..e93052d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2015-07-09  Roland McGrath  <roland@hack.frob.com>
+
+	* include/unistd.h: Add rtld_hidden_proto for _exit.
+	* posix/_exit.c: Add rtld_hidden_def.
+	* sysdeps/mach/hurd/_exit.c: Likewise.
+	* sysdeps/nacl/_exit.c: Likewise.
+	* sysdeps/unix/sysv/linux/_exit.c: Likewise.
+	* sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
+
 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
diff --git a/include/unistd.h b/include/unistd.h
index 61df3af..fbba393 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -5,6 +5,7 @@
 __BEGIN_DECLS
 
 libc_hidden_proto (_exit, __noreturn__)
+rtld_hidden_proto (_exit, __noreturn__)
 libc_hidden_proto (alarm)
 libc_hidden_proto (confstr)
 libc_hidden_proto (execl)
diff --git a/posix/_exit.c b/posix/_exit.c
index ceff1a3..f4d76a1 100644
--- a/posix/_exit.c
+++ b/posix/_exit.c
@@ -29,6 +29,7 @@ _exit (status)
   abort ();
 }
 libc_hidden_def (_exit)
+rtld_hidden_def (_exit)
 weak_alias (_exit, _Exit)
 
 stub_warning (_exit)
diff --git a/sysdeps/mach/hurd/_exit.c b/sysdeps/mach/hurd/_exit.c
index 15c21fc..978b68f 100644
--- a/sysdeps/mach/hurd/_exit.c
+++ b/sysdeps/mach/hurd/_exit.c
@@ -52,4 +52,5 @@ _exit (status)
   _hurd_exit (W_EXITCODE (status, 0));
 }
 libc_hidden_def (_exit)
+rtld_hidden_def (_exit)
 weak_alias (_exit, _Exit)
diff --git a/sysdeps/nacl/_exit.c b/sysdeps/nacl/_exit.c
index 6006e26..b3b32ee 100644
--- a/sysdeps/nacl/_exit.c
+++ b/sysdeps/nacl/_exit.c
@@ -31,4 +31,5 @@ _exit (int status)
     __builtin_trap ();
 }
 libc_hidden_def (_exit)
+rtld_hidden_def (_exit)
 weak_alias (_exit, _Exit)
diff --git a/sysdeps/unix/sysv/linux/_exit.c b/sysdeps/unix/sysv/linux/_exit.c
index 7228181..2294c80 100644
--- a/sysdeps/unix/sysv/linux/_exit.c
+++ b/sysdeps/unix/sysv/linux/_exit.c
@@ -39,4 +39,5 @@ _exit (status)
     }
 }
 libc_hidden_def (_exit)
+rtld_hidden_def (_exit)
 weak_alias (_exit, _Exit)
diff --git a/sysdeps/unix/sysv/linux/i386/_exit.S b/sysdeps/unix/sysv/linux/i386/_exit.S
index 8841110..f470be8 100644
--- a/sysdeps/unix/sysv/linux/i386/_exit.S
+++ b/sysdeps/unix/sysv/linux/i386/_exit.S
@@ -40,4 +40,5 @@ _exit:
 	.size	_exit,.-_exit
 
 libc_hidden_def (_exit)
+rtld_hidden_def (_exit)
 weak_alias (_exit, _Exit)

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

Summary of changes:
 ChangeLog                            |    9 +++++++++
 include/unistd.h                     |    1 +
 posix/_exit.c                        |    1 +
 sysdeps/mach/hurd/_exit.c            |    1 +
 sysdeps/nacl/_exit.c                 |    1 +
 sysdeps/unix/sysv/linux/_exit.c      |    1 +
 sysdeps/unix/sysv/linux/i386/_exit.S |    1 +
 7 files changed, 15 insertions(+), 0 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]