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.23-310-gc64a10e


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  c64a10e54441db7df85592b009348a919a7259d7 (commit)
      from  2a1f15b1a9d51c2ba3f217641ea3af96ea208061 (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=c64a10e54441db7df85592b009348a919a7259d7

commit c64a10e54441db7df85592b009348a919a7259d7
Author: Stefan Liebler <stli@linux.vnet.ibm.com>
Date:   Wed May 11 15:51:25 2016 +0200

    S390: Use fPIC to avoid R_390_GOT12 relocation in gcrt1.o.
    
    if glibc is build with -march=z900 | -march=z990,
    the startup file gcrt1.o (used if you link with gcc -pg)
    contains R_390_GOT12 | R_390_GOT20 relocations.
    Thus, an entry in the GOT can be addressed relative to the GOT pointer
    with a 12 | 20 bit displacement value.
    The startup files should not contain R_390_GOT12,
    R_390_GOT20 relocations, but R_390_GOTENT ones.
    
    This patch removes the overrides of pic-ccflag and
    the default pic-ccflag = -fPIC in Makeconfig
    is used instead to get the R_390_GOTENT relocations in gcrt1.o.
    
    ChangeLog:
    
    	* sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
    	* sysdeps/s390/s390-64/Makefile: Likewise.

diff --git a/ChangeLog b/ChangeLog
index 8958a06..7533a3d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
+
+	* sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
+	* sysdeps/s390/s390-64/Makefile: Likewise.
+
 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
diff --git a/sysdeps/s390/s390-32/Makefile b/sysdeps/s390/s390-32/Makefile
index 057862d..a07f298 100644
--- a/sysdeps/s390/s390-32/Makefile
+++ b/sysdeps/s390/s390-32/Makefile
@@ -1,5 +1,3 @@
-pic-ccflag = -fpic
-
 ifeq ($(subdir),gmon)
 sysdep_routines += s390-mcount
 endif
diff --git a/sysdeps/s390/s390-64/Makefile b/sysdeps/s390/s390-64/Makefile
index ce4f0c5..5909d1f 100644
--- a/sysdeps/s390/s390-64/Makefile
+++ b/sysdeps/s390/s390-64/Makefile
@@ -1,5 +1,3 @@
-pic-ccflag = -fpic
-
 ifeq ($(subdir),gmon)
 sysdep_routines += s390x-mcount
 endif

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

Summary of changes:
 ChangeLog                     |    5 +++++
 sysdeps/s390/s390-32/Makefile |    2 --
 sysdeps/s390/s390-64/Makefile |    2 --
 3 files changed, 5 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]