aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/powerpc
diff options
context:
space:
mode:
authorRyan S. Arnold <rsa@us.ibm.com>2011-02-17 00:59:15 -0500
committerUlrich Drepper <drepper@gmail.com>2011-02-17 00:59:15 -0500
commit2206397e1c46f69fb20eeb3de1920d3a7014c325 (patch)
treea896ae7c63eb1ea49aa006f8250028f4816de885 /sysdeps/powerpc
parente9433893258aef145c4101a458ac908383757430 (diff)
downloadglibc-2206397e1c46f69fb20eeb3de1920d3a7014c325.tar
glibc-2206397e1c46f69fb20eeb3de1920d3a7014c325.tar.gz
glibc-2206397e1c46f69fb20eeb3de1920d3a7014c325.tar.bz2
glibc-2206397e1c46f69fb20eeb3de1920d3a7014c325.zip
Disable VSX usage in rtld.c to prevent TOC ref before relocs are resolved.
Diffstat (limited to 'sysdeps/powerpc')
-rw-r--r--sysdeps/powerpc/powerpc64/power7/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/powerpc/powerpc64/power7/Makefile b/sysdeps/powerpc/powerpc64/power7/Makefile
new file mode 100644
index 0000000000..b0f45205b9
--- /dev/null
+++ b/sysdeps/powerpc/powerpc64/power7/Makefile
@@ -0,0 +1,5 @@
+ifeq ($(subdir),elf)
+# Prevent the use of VSX registers and insns in _dl_start, which under -O3
+# optimization may require a TOC reference before relocations are resolved.
+CFLAGS-rtld.c += -mno-vsx
+endif