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-30-ge13daad


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  e13daad7ac81968e9aaa4a87497f898bb15f4ef8 (commit)
      from  627c69c838e75d69f46a7cc7dd2bafca03adbf60 (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=e13daad7ac81968e9aaa4a87497f898bb15f4ef8

commit e13daad7ac81968e9aaa4a87497f898bb15f4ef8
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Aug 4 12:58:01 2017 -0700

    Compile tst-prelink.c without PIE [BZ #21815]
    
    tst-prelink.c checks for conflict with GLOB_DAT relocation against stdio.
    On i386, there is no GLOB_DAT relocation against stdio with PIE.  We
    should compile tst-prelink.c without PIE.
    
    	[BZ #21815]
    	* elf/Makefile (CFLAGS-tst-prelink.c): New.
    	(LDFLAGS-tst-prelink): Likewise.

diff --git a/ChangeLog b/ChangeLog
index 6a50d23..8291f6e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
 
+	[BZ #21815]
+	* elf/Makefile (CFLAGS-tst-prelink.c): New.
+	(LDFLAGS-tst-prelink): Likewise.
+
+2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
+
 	* sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
 	Define to I386_USE_SYSENTER to 0 or 1 if not defined.
 	(ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
diff --git a/elf/Makefile b/elf/Makefile
index 2956445..828daaa 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -358,6 +358,9 @@ update-all-abi: update-all-abi-ld
 
 ifeq ($(have-glob-dat-reloc),yes)
 tests += tst-prelink
+# Don't compile tst-prelink.c with PIE for GLOB_DAT relocation.
+CFLAGS-tst-prelink.c += -fno-pie
+LDFLAGS-tst-prelink = $(no-pie-ldflag)
 ifeq ($(run-built-tests),yes)
 tests-special += $(objpfx)tst-prelink-cmp.out
 endif

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

Summary of changes:
 ChangeLog    |    6 ++++++
 elf/Makefile |    3 +++
 2 files changed, 9 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]