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, ibm/2.12/master, updated. glibc-2.12.1-34-g4265a8e


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, ibm/2.12/master has been updated
       via  4265a8e3556a90e6e2ee583388d8aaa0d93cfa29 (commit)
       via  c3b77b811fc7106a4cc9d491c1cc9358fb266c42 (commit)
      from  89972db69f823f89a5d5ea89ca1b98315701c6ab (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://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=4265a8e3556a90e6e2ee583388d8aaa0d93cfa29

commit 4265a8e3556a90e6e2ee583388d8aaa0d93cfa29
Author: Ryan S. Arnold <rsa@us.ibm.com>
Date:   Tue Feb 15 09:50:09 2011 -0600

    Prevent VSX type TOC ref in _dl_start before relocs are resolved.
    
    Disable VSX instruction usage in rtld.c with -mno-vsx so that, under
    -O3 optimization, a TOC reference isn't used for a zero constant in a
    VSX register prior to resolution of relocations.

diff --git a/sysdeps/powerpc/powerpc64/power7/Makefile b/sysdeps/powerpc/powerpc64/power7/Makefile
index 54b0fd9..3e8fc29 100644
--- a/sysdeps/powerpc/powerpc64/power7/Makefile
+++ b/sysdeps/powerpc/powerpc64/power7/Makefile
@@ -1,6 +1,5 @@
 ifeq ($(subdir),elf)
-# Prevent the use of VSX instructions in _dl_start, which under -O3 optimization
+# Prevent the use of VSX registers in _dl_start, which under -O3 optimization
 # may require a TOC reference before relocations are resolved.
 CFLAGS-rtld.c = -mno-vsx
 endif
-

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=c3b77b811fc7106a4cc9d491c1cc9358fb266c42

commit c3b77b811fc7106a4cc9d491c1cc9358fb266c42
Author: Ryan S. Arnold <rsa@us.ibm.com>
Date:   Tue Feb 15 09:50:09 2011 -0600

    Prevent VSX type TOC ref in _dl_start before relocs are resolved.
    
    Disable VSX instruction usage in rtld.c with -mno-vsx so that, under
    -O3 optimization, a TOC reference isn't used for a zero constant in a
    VSX register prior to resolution of relocations.

diff --git a/ChangeLog b/ChangeLog
index 65c45fe..77b9927 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-02-14  Ryan S. Arnold  <rsa@us.ibm.com>
+
+	* sysdeps/powerpc/powerpc64/power7/Makefile (CFLAGS-rtld.c): Add
+	-mno-vsx to prevent GCC from using a VSX register and a TOC
+	reference before relocations are resolved under -O3 optimization.
+
 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
 
 	* sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
diff --git a/sysdeps/powerpc/powerpc64/power7/Makefile b/sysdeps/powerpc/powerpc64/power7/Makefile
new file mode 100644
index 0000000..54b0fd9
--- /dev/null
+++ b/sysdeps/powerpc/powerpc64/power7/Makefile
@@ -0,0 +1,6 @@
+ifeq ($(subdir),elf)
+# Prevent the use of VSX instructions in _dl_start, which under -O3 optimization
+# may require a TOC reference before relocations are resolved.
+CFLAGS-rtld.c = -mno-vsx
+endif
+

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

Summary of changes:
 ChangeLog                                 |    6 ++++++
 sysdeps/powerpc/powerpc64/power7/Makefile |    5 +++++
 2 files changed, 11 insertions(+), 0 deletions(-)
 create mode 100644 sysdeps/powerpc/powerpc64/power7/Makefile


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]