about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc64/Makefile
diff options
context:
space:
mode:
authorAndreas Jaeger <jaegerandi@gmail.com>2012-03-28 09:22:05 +0200
committerAndreas Jaeger <jaegerandi@gmail.com>2012-03-28 09:22:05 +0200
commit02380086699207fc8e58619f35f60da12470137e (patch)
tree9b337733100552d829ccce5beea1cfb3fe5e5532 /sysdeps/powerpc/powerpc64/Makefile
parent09ae94c11b4309b425fbbfaa095e64cac2ae8cb8 (diff)
downloadglibc-02380086699207fc8e58619f35f60da12470137e.tar.gz
glibc-02380086699207fc8e58619f35f60da12470137e.tar.xz
glibc-02380086699207fc8e58619f35f60da12470137e.zip
Move sysdeps/powerpc/powerpc64/elf files
	* sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
	* sysdeps/powerpc/powerpc64/bzero.S: ... here.
	* sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
	* sysdeps/powerpc/powerpc64/entry.h: ... here.
	* sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
	* sysdeps/powerpc/powerpc64/start.S: here.
	* sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
	* sysdeps/powerpc/powerpc64/Makefile: ... this.
	* sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
	* sysdeps/powerpc/powerpc64/configure.in: ... this.
	* sysdeps/powerpc/powerpc64/elf/configure: Delete file.
Diffstat (limited to 'sysdeps/powerpc/powerpc64/Makefile')
-rw-r--r--sysdeps/powerpc/powerpc64/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/sysdeps/powerpc/powerpc64/Makefile b/sysdeps/powerpc/powerpc64/Makefile
index 01889e1314..171e89b3ba 100644
--- a/sysdeps/powerpc/powerpc64/Makefile
+++ b/sysdeps/powerpc/powerpc64/Makefile
@@ -25,6 +25,16 @@ no-special-regs := $(sort $(foreach n,40 41 50 51 60 61 62 63 \
 				    -ffixed-v$n)) \
 		   -ffixed-vrsave -ffixed-vscr -mno-altivec -mno-vsx
 
+# Need to prevent gcc from using fprs in code used during dynamic linking.
+
+CFLAGS-dl-runtime.os = $(no-special-regs)
+CFLAGS-dl-lookup.os = $(no-special-regs)
+CFLAGS-dl-misc.os = $(no-special-regs)
+CFLAGS-rtld-mempcpy.os = $(no-special-regs)
+CFLAGS-rtld-memmove.os = $(no-special-regs)
+CFLAGS-rtld-memchr.os = $(no-special-regs)
+CFLAGS-rtld-strnlen.os = $(no-special-regs)
+
 ifeq ($(subdir),csu)
 sysdep_routines += hp-timing
 elide-routines.os += hp-timing