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-7-g5b736bc


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  5b736bc9b55115e67129e77db4de6cf193054cd2 (commit)
      from  dfc93c41eebef639ba2d1f304f4d52ab6b834684 (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=5b736bc9b55115e67129e77db4de6cf193054cd2

commit 5b736bc9b55115e67129e77db4de6cf193054cd2
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Aug 2 10:27:14 2017 -0700

    x86-64: Check PIC instead of SHARED in start.S
    
    Since start.o may be compiled as PIC, we should check PIC instead of
    SHARED.
    
    	* sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.

diff --git a/ChangeLog b/ChangeLog
index b3be5a7..0618954 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2017-08-02  H.J. Lu  <hongjiu.lu@intel.com>
 
+	* sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
+
+2017-08-02  H.J. Lu  <hongjiu.lu@intel.com>
+
 	* sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
 	of SHARED.
 	* sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
diff --git a/sysdeps/x86_64/start.S b/sysdeps/x86_64/start.S
index 62a00ea..9edd17b 100644
--- a/sysdeps/x86_64/start.S
+++ b/sysdeps/x86_64/start.S
@@ -96,7 +96,7 @@ ENTRY (_start)
 	   which grow downwards).  */
 	pushq %rsp
 
-#ifdef SHARED
+#ifdef PIC
 	/* Pass address of our own entry points to .fini and .init.  */
 	mov __libc_csu_fini@GOTPCREL(%rip), %R8_LP
 	mov __libc_csu_init@GOTPCREL(%rip), %RCX_LP

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

Summary of changes:
 ChangeLog              |    4 ++++
 sysdeps/x86_64/start.S |    2 +-
 2 files changed, 5 insertions(+), 1 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]