]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Prevent VSX type TOC ref in _dl_start before relocs are resolved.
authorRyan S. Arnold <rsa@us.ibm.com>
Tue, 15 Feb 2011 15:50:09 +0000 (09:50 -0600)
committerryanarn <ryanarn@igoo.rchland.ibm.com>
Tue, 15 Feb 2011 16:06:16 +0000 (10:06 -0600)
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.

sysdeps/powerpc/powerpc64/power7/Makefile

index 54b0fd9aeeaeaf02ce95be6c375717cb59c6ca55..3e8fc29dba2e1b7fcd8c61ede64935b46918707d 100644 (file)
@@ -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
-