about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc64/power7/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/powerpc/powerpc64/power7/Makefile')
-rw-r--r--sysdeps/powerpc/powerpc64/power7/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/powerpc/powerpc64/power7/Makefile b/sysdeps/powerpc/powerpc64/power7/Makefile
new file mode 100644
index 0000000000..54b0fd9aee
--- /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
+