diff options
author | Paul E. Murphy <murphyp@linux.vnet.ibm.com> | 2020-02-07 14:08:08 -0600 |
---|---|---|
committer | Paul E. Murphy <murphyp@linux.vnet.ibm.com> | 2020-03-25 14:34:23 -0500 |
commit | 57651ee4c84aacad1a66a61fc44689dee77731f5 (patch) | |
tree | 927c0eaf318208f47c72f3661e32090a834941d0 /sysdeps/powerpc/powerpc64/Makefile | |
parent | 39517c008f9630cc3cfa0dc7619c5784cde1b3a2 (diff) | |
download | glibc-57651ee4c84aacad1a66a61fc44689dee77731f5.tar.gz glibc-57651ee4c84aacad1a66a61fc44689dee77731f5.tar.xz glibc-57651ee4c84aacad1a66a61fc44689dee77731f5.zip |
powerpc64: apply -mabi=ibmlongdouble to special files
Some of these files depend on the avoidance of using the various register sets of POWER. When enabling the IEEE 128 long double, we must be sure to disable this ABI as some compilers will refuse to compile if -mno-vsx and -mabi=ieeelongdouble are both present. Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Diffstat (limited to 'sysdeps/powerpc/powerpc64/Makefile')
-rw-r--r-- | sysdeps/powerpc/powerpc64/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/powerpc/powerpc64/Makefile b/sysdeps/powerpc/powerpc64/Makefile index 6e88df1d69..dd49dbbce2 100644 --- a/sysdeps/powerpc/powerpc64/Makefile +++ b/sysdeps/powerpc/powerpc64/Makefile @@ -25,6 +25,12 @@ 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 +# Likewise, we must disable IEEE long double support as some (all?) +# compilers will not accept the above options with IEEE long double. +ifeq ($(ibm128-fcts),yes) +no-special-regs += -mabi=ibmlongdouble +endif + # Need to prevent gcc from using fprs in code used during dynamic linking. CFLAGS-dl-runtime.os = $(no-special-regs) |