diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/powerpc/Makefile | 6 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/Makefile | 3 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/fe_nomask.c (renamed from sysdeps/powerpc/fe_nomask.c) | 0 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/fprrest.S (renamed from sysdeps/powerpc/fprrest.S) | 0 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/fprsave.S (renamed from sysdeps/powerpc/fprsave.S) | 0 |
5 files changed, 4 insertions, 5 deletions
diff --git a/sysdeps/powerpc/Makefile b/sysdeps/powerpc/Makefile index e5b026d05f..ac121ee2f5 100644 --- a/sysdeps/powerpc/Makefile +++ b/sysdeps/powerpc/Makefile @@ -6,10 +6,6 @@ asm-CPPFLAGS += -Wa,-mppc ifeq ($(with-fp),no) +cflags += -msoft-float sysdep-LDFLAGS += -msoft-float -else -ifeq ($(subdir),math) -libm-support += fenv_const fe_nomask -endif endif ifeq ($(subdir),gmon) @@ -17,7 +13,7 @@ sysdep_routines += ppc-mcount endif ifeq ($(subdir),misc) -sysdep_routines += gprsave0 gprrest0 gprsave1 gprrest1 fprsave fprrest +sysdep_routines += gprsave0 gprrest0 gprsave1 gprrest1 endif # On PPC, -fpic works until the GOT contains 2^15 bytes, and possibly diff --git a/sysdeps/powerpc/fpu/Makefile b/sysdeps/powerpc/fpu/Makefile index bf2ed92e7b..391cf3caf9 100644 --- a/sysdeps/powerpc/fpu/Makefile +++ b/sysdeps/powerpc/fpu/Makefile @@ -1,3 +1,6 @@ ifeq ($(subdir),math) libm-support += fenv_const fe_nomask t_sqrt endif +ifeq ($(subdir),misc) +sysdep_routines += fprsave fprrest +endif diff --git a/sysdeps/powerpc/fe_nomask.c b/sysdeps/powerpc/fpu/fe_nomask.c index ba45d85709..ba45d85709 100644 --- a/sysdeps/powerpc/fe_nomask.c +++ b/sysdeps/powerpc/fpu/fe_nomask.c diff --git a/sysdeps/powerpc/fprrest.S b/sysdeps/powerpc/fpu/fprrest.S index 42317809eb..42317809eb 100644 --- a/sysdeps/powerpc/fprrest.S +++ b/sysdeps/powerpc/fpu/fprrest.S diff --git a/sysdeps/powerpc/fprsave.S b/sysdeps/powerpc/fpu/fprsave.S index d7bc1ab7dc..d7bc1ab7dc 100644 --- a/sysdeps/powerpc/fprsave.S +++ b/sysdeps/powerpc/fpu/fprsave.S |