diff options
-rw-r--r-- | gcc/ChangeLog | 77 | ||||
-rw-r--r-- | gcc/Makefile.in | 5 | ||||
-rw-r--r-- | gcc/config.gcc | 35 | ||||
-rw-r--r-- | gcc/config/arm/t-arm-softfp | 29 | ||||
-rw-r--r-- | gcc/config/c6x/t-c6x-softfp | 9 | ||||
-rw-r--r-- | gcc/config/ia64/t-fprules-softfp | 6 | ||||
-rw-r--r-- | gcc/config/moxie/t-moxie-softfp | 9 | ||||
-rw-r--r-- | gcc/config/rs6000/t-aix43 | 6 | ||||
-rw-r--r-- | gcc/config/rs6000/t-aix52 | 6 | ||||
-rw-r--r-- | gcc/config/rs6000/t-darwin | 4 | ||||
-rw-r--r-- | gcc/config/rs6000/t-darwin64 | 1 | ||||
-rw-r--r-- | gcc/config/rs6000/t-fprules-softfp | 6 | ||||
-rw-r--r-- | gcc/config/rs6000/t-linux64 | 3 | ||||
-rw-r--r-- | gcc/config/rs6000/t-ppccomm | 4 | ||||
-rw-r--r-- | gcc/config/score/sfp-machine.h | 57 | ||||
-rw-r--r-- | gcc/config/score/t-score-softfp | 9 | ||||
-rw-r--r-- | gcc/config/soft-fp/t-softfp | 107 | ||||
-rw-r--r-- | libgcc/ChangeLog | 98 | ||||
-rw-r--r-- | libgcc/config.host | 57 | ||||
-rw-r--r-- | libgcc/config/arm/sfp-machine.h (renamed from gcc/config/arm/sfp-machine.h) | 0 | ||||
-rw-r--r-- | libgcc/config/arm/t-softfp | 2 | ||||
-rw-r--r-- | libgcc/config/c6x/sfp-machine.h (renamed from gcc/config/c6x/sfp-machine.h) | 0 | ||||
-rw-r--r-- | libgcc/config/i386/32/t-fprules-softfp | 8 | ||||
-rw-r--r-- | libgcc/config/i386/32/t-softfp | 5 | ||||
-rw-r--r-- | libgcc/config/i386/64/eqtf2.c | 2 | ||||
-rw-r--r-- | libgcc/config/i386/64/getf2.c | 2 | ||||
-rw-r--r-- | libgcc/config/i386/64/letf2.c | 2 | ||||
-rw-r--r-- | libgcc/config/i386/64/t-softfp-compat | 2 | ||||
-rw-r--r-- | libgcc/config/i386/sfp-machine.h (renamed from gcc/config/i386/sfp-machine.h) | 0 | ||||
-rw-r--r-- | libgcc/config/ia64/sfp-machine.h (renamed from gcc/config/ia64/sfp-machine.h) | 0 | ||||
-rw-r--r-- | libgcc/config/ia64/t-softfp (renamed from libgcc/config/ia64/t-fprules-softfp) | 0 | ||||
-rw-r--r-- | libgcc/config/lm32/sfp-machine.h (renamed from gcc/config/lm32/sfp-machine.h) | 0 | ||||
-rw-r--r-- | libgcc/config/moxie/t-moxie-softfp | 9 | ||||
-rw-r--r-- | libgcc/config/no-sfp-machine.h | 1 | ||||
-rw-r--r-- | libgcc/config/rs6000/ibm-ldouble-format (renamed from gcc/config/rs6000/darwin-ldouble-format) | 0 | ||||
-rw-r--r-- | libgcc/config/rs6000/ibm-ldouble.c (renamed from gcc/config/rs6000/darwin-ldouble.c) | 8 | ||||
-rw-r--r-- | libgcc/config/rs6000/libgcc-ppc-glibc.ver (renamed from gcc/config/rs6000/libgcc-ppc-glibc.ver) | 0 | ||||
-rw-r--r-- | libgcc/config/rs6000/libgcc-ppc64.ver (renamed from gcc/config/rs6000/libgcc-ppc64.ver) | 0 | ||||
-rw-r--r-- | libgcc/config/rs6000/sfp-machine.h (renamed from gcc/config/rs6000/sfp-machine.h) | 0 | ||||
-rw-r--r-- | libgcc/config/rs6000/t-freebsd (renamed from gcc/config/rs6000/t-freebsd) | 7 | ||||
-rw-r--r-- | libgcc/config/rs6000/t-ibm-ldouble | 6 | ||||
-rw-r--r-- | libgcc/config/rs6000/t-ldbl128 | 2 | ||||
-rw-r--r-- | libgcc/config/rs6000/t-linux64 | 2 | ||||
-rw-r--r-- | libgcc/config/rs6000/t-ppccomm | 2 | ||||
-rw-r--r-- | libgcc/config/rs6000/t-ppccomm-ldbl | 1 | ||||
-rw-r--r-- | libgcc/config/score/sfp-machine.h (renamed from gcc/config/moxie/sfp-machine.h) | 0 | ||||
-rw-r--r-- | libgcc/config/t-softfp | 109 | ||||
-rw-r--r-- | libgcc/config/t-softfp-excl | 1 | ||||
-rw-r--r-- | libgcc/config/t-softfp-sfdf (renamed from gcc/config/lm32/t-fprules-softfp) | 2 | ||||
-rw-r--r-- | libgcc/config/t-softfp-tf (renamed from gcc/config/i386/t-fprules-softfp) | 1 | ||||
-rw-r--r-- | libgcc/configure | 15 | ||||
-rw-r--r-- | libgcc/configure.ac | 12 | ||||
-rw-r--r-- | libgcc/soft-fp/README (renamed from gcc/config/soft-fp/README) | 2 | ||||
-rw-r--r-- | libgcc/soft-fp/adddf3.c (renamed from gcc/config/soft-fp/adddf3.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/addsf3.c (renamed from gcc/config/soft-fp/addsf3.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/addtf3.c (renamed from gcc/config/soft-fp/addtf3.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/divdf3.c (renamed from gcc/config/soft-fp/divdf3.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/divsf3.c (renamed from gcc/config/soft-fp/divsf3.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/divtf3.c (renamed from gcc/config/soft-fp/divtf3.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/double.h (renamed from gcc/config/soft-fp/double.h) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/eqdf2.c (renamed from gcc/config/soft-fp/eqdf2.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/eqsf2.c (renamed from gcc/config/soft-fp/eqsf2.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/eqtf2.c (renamed from gcc/config/soft-fp/eqtf2.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/extenddftf2.c (renamed from gcc/config/soft-fp/extenddftf2.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/extended.h (renamed from gcc/config/soft-fp/extended.h) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/extendsfdf2.c (renamed from gcc/config/soft-fp/extendsfdf2.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/extendsftf2.c (renamed from gcc/config/soft-fp/extendsftf2.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/extendxftf2.c (renamed from gcc/config/soft-fp/extendxftf2.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/fixdfdi.c (renamed from gcc/config/soft-fp/fixdfdi.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/fixdfsi.c (renamed from gcc/config/soft-fp/fixdfsi.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/fixdfti.c (renamed from gcc/config/soft-fp/fixdfti.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/fixsfdi.c (renamed from gcc/config/soft-fp/fixsfdi.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/fixsfsi.c (renamed from gcc/config/soft-fp/fixsfsi.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/fixsfti.c (renamed from gcc/config/soft-fp/fixsfti.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/fixtfdi.c (renamed from gcc/config/soft-fp/fixtfdi.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/fixtfsi.c (renamed from gcc/config/soft-fp/fixtfsi.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/fixtfti.c (renamed from gcc/config/soft-fp/fixtfti.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/fixunsdfdi.c (renamed from gcc/config/soft-fp/fixunsdfdi.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/fixunsdfsi.c (renamed from gcc/config/soft-fp/fixunsdfsi.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/fixunsdfti.c (renamed from gcc/config/soft-fp/fixunsdfti.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/fixunssfdi.c (renamed from gcc/config/soft-fp/fixunssfdi.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/fixunssfsi.c (renamed from gcc/config/soft-fp/fixunssfsi.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/fixunssfti.c (renamed from gcc/config/soft-fp/fixunssfti.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/fixunstfdi.c (renamed from gcc/config/soft-fp/fixunstfdi.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/fixunstfsi.c (renamed from gcc/config/soft-fp/fixunstfsi.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/fixunstfti.c (renamed from gcc/config/soft-fp/fixunstfti.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/floatdidf.c (renamed from gcc/config/soft-fp/floatdidf.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/floatdisf.c (renamed from gcc/config/soft-fp/floatdisf.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/floatditf.c (renamed from gcc/config/soft-fp/floatditf.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/floatsidf.c (renamed from gcc/config/soft-fp/floatsidf.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/floatsisf.c (renamed from gcc/config/soft-fp/floatsisf.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/floatsitf.c (renamed from gcc/config/soft-fp/floatsitf.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/floattidf.c (renamed from gcc/config/soft-fp/floattidf.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/floattisf.c (renamed from gcc/config/soft-fp/floattisf.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/floattitf.c (renamed from gcc/config/soft-fp/floattitf.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/floatundidf.c (renamed from gcc/config/soft-fp/floatundidf.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/floatundisf.c (renamed from gcc/config/soft-fp/floatundisf.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/floatunditf.c (renamed from gcc/config/soft-fp/floatunditf.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/floatunsidf.c (renamed from gcc/config/soft-fp/floatunsidf.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/floatunsisf.c (renamed from gcc/config/soft-fp/floatunsisf.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/floatunsitf.c (renamed from gcc/config/soft-fp/floatunsitf.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/floatuntidf.c (renamed from gcc/config/soft-fp/floatuntidf.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/floatuntisf.c (renamed from gcc/config/soft-fp/floatuntisf.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/floatuntitf.c (renamed from gcc/config/soft-fp/floatuntitf.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/gedf2.c (renamed from gcc/config/soft-fp/gedf2.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/gesf2.c (renamed from gcc/config/soft-fp/gesf2.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/getf2.c (renamed from gcc/config/soft-fp/getf2.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/ledf2.c (renamed from gcc/config/soft-fp/ledf2.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/lesf2.c (renamed from gcc/config/soft-fp/lesf2.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/letf2.c (renamed from gcc/config/soft-fp/letf2.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/muldf3.c (renamed from gcc/config/soft-fp/muldf3.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/mulsf3.c (renamed from gcc/config/soft-fp/mulsf3.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/multf3.c (renamed from gcc/config/soft-fp/multf3.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/negdf2.c (renamed from gcc/config/soft-fp/negdf2.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/negsf2.c (renamed from gcc/config/soft-fp/negsf2.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/negtf2.c (renamed from gcc/config/soft-fp/negtf2.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/op-1.h (renamed from gcc/config/soft-fp/op-1.h) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/op-2.h (renamed from gcc/config/soft-fp/op-2.h) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/op-4.h (renamed from gcc/config/soft-fp/op-4.h) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/op-8.h (renamed from gcc/config/soft-fp/op-8.h) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/op-common.h (renamed from gcc/config/soft-fp/op-common.h) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/quad.h (renamed from gcc/config/soft-fp/quad.h) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/single.h (renamed from gcc/config/soft-fp/single.h) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/soft-fp.h (renamed from gcc/config/soft-fp/soft-fp.h) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/subdf3.c (renamed from gcc/config/soft-fp/subdf3.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/subsf3.c (renamed from gcc/config/soft-fp/subsf3.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/subtf3.c (renamed from gcc/config/soft-fp/subtf3.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/truncdfsf2.c (renamed from gcc/config/soft-fp/truncdfsf2.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/trunctfdf2.c (renamed from gcc/config/soft-fp/trunctfdf2.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/trunctfsf2.c (renamed from gcc/config/soft-fp/trunctfsf2.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/trunctfxf2.c (renamed from gcc/config/soft-fp/trunctfxf2.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/unorddf2.c (renamed from gcc/config/soft-fp/unorddf2.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/unordsf2.c (renamed from gcc/config/soft-fp/unordsf2.c) | 0 | ||||
-rw-r--r-- | libgcc/soft-fp/unordtf2.c (renamed from gcc/config/soft-fp/unordtf2.c) | 0 |
134 files changed, 388 insertions, 343 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e103ea0a52c..f5776f0b00a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,82 @@ 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + * config/soft-fp: Move to ../libgcc. + * Makefile.in (SFP_MACHINE): Remove. + (libgcc-support): Remove $(SFP_MACHINE) dependency. + * config/arm/sfp-machine.h: Move to ../libgcc/config/arm. + * config/arm/t-arm-softfp: Move to + ../libgcc/config/arm/t-softfp. + * config/c6x/sfp-machine.h: Move to ../libgcc/config/c6x. + * config/c6x/t-c6x-softfp: Remove. + * config/i386/sfp-machine.h: Move to ../libgcc/config/i386. + * config/i386/t-fprules-softfp: Move to + ../libgcc/config/t-softfp-tf. + * config/ia64/sfp-machine.h: Move to ../libgcc/config/ia64. + * config/ia64/t-fprules-softfp: Remove. + * config/lm32/sfp-machine.h: Move to ../libgcc/config/lm32. + * config/lm32/t-fprules-softfp: Remove. + * config/moxie/sfp-machine.h: Remove. + * config/moxie/t-moxie-softfp: Remove. + * config/rs6000/darwin-ldouble-format: Move to + ../libgcc/config/rs6000/ibm-ldouble-format. + * config/rs6000/darwin-ldouble.c: Move to + ../libgcc/config/rs6000/ibm-ldouble.c + * config/rs6000/libgcc-ppc-glibc.ver: Move to ../libgcc/config/rs6000. + * config/rs6000/libgcc-ppc64.ver: Likewise. + * config/rs6000/sfp-machine.h: Likewise. + * config/rs6000/t-aix43 (SHLIB_MAPFILES): Remove + $(srcdir)/config/rs6000/libgcc-ppc64.ver. + (LIB2FUNCS_EXTRA): Remove. + (TARGET_LIBGCC2_CFLAGS): Remove. + * config/rs6000/t-aix52: Likewise + * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Remove + $(srcdir)/config/rs6000/darwin-ldouble.c. + (SHLIB_MAPFILES): Remove. + * config/rs6000/t-darwin64 (LIB2FUNCS_EXTRA): Remove + $(srcdir)/config/rs6000/darwin-ldouble.c. + * config/rs6000/t-fprules-softfp: Move to + ../libgcc/config/t-softfp-sfdf. + * config/rs6000/t-freebsd: Move to ../libgcc/config/rs6000. + * config/rs6000/t-linux64 (softfp_wrap_start, softfp_wrap_end): Remove. + * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Remove + $(srcdir)/config/rs6000/darwin-ldouble.c. + * config/score/sfp-machine.h: Move to ../libgcc/config/score. + * config/score/t-score-softfp: Remove. + * config.gcc (arm*-*-linux*): Remove arm/t-arm-softfp, + soft-fp/t-softfp from tmake_file. + (arm*-*-uclinux*): Likewise. + (arm*-*-ecos-elf): Likewise. + (arm*-*-eabi*, arm*-*-symbianelf*): Likewise. + (arm*-*-rtems*): Likewise. + (arm*-*-elf): Likewise. + (moxie-*-elf): Remove moxie/t-moxie-softfp, soft-fp/t-softfp from + tmake_file. + (moxie-*-uclinux*): Likewise. + (moxie-*-rtems*): Likewise. + (lm32-*-elf*): Remove lm32/t-fprules-softfp, soft-fp/t-softfp from + tmake_file. + (lm32-*-rtems*): Likewise. + (lm32-*-uclinux*): Likewise. + (powerpc-*-freebsd*): Remove rs6000/t-freebsd, + rs6000/t-fprules-softfp, soft-fp/t-softfp from tmake_file. + (powerpc-*-linux*, powerpc64-*-linux*): Remove + rs6000/t-fprules-softfp, soft-fp/t-softfp from tmake_file. + (score-*-elf): Remove score/t-score-softfp, soft-fp/t-softfp from + tmake_file. + (tic6x-*-elf): Remove c6x/t-c6x-softfp, soft-fp/t-softfp from + tmake_file. + (tic6x-*-uclinux): Likewise. + (i[34567]86-*-darwin*, x86_64-*-darwin*): Remove i386/t-fprules-softfp, + soft-fp/t-softfp from tmake_file. + (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu) + (x86_64-*-kfreebsd*-gnu, i[34567]86-*-gnu*): Likewise. + (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*): Likewise. + (i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*): + Likewise. + (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Likewise. + +2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): Remove. (libgcc-support): Remove $(FPBIT), $(DPBIT), $(TPBIT) dependencies. diff --git a/gcc/Makefile.in b/gcc/Makefile.in index ff1dfc6931a..101e35e6bac 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -736,9 +736,6 @@ LIB2FUNCS_STATIC_EXTRA = # List of functions not to build from libgcc2.c. LIB2FUNCS_EXCLUDE = -# Target sfp-machine.h file. -SFP_MACHINE = - # Program to convert libraries. LIBCONVERT = @@ -1868,7 +1865,7 @@ srcdirify = $(patsubst $$(libgcc_objdir)/%,%, \ GCC_EXTRA_PARTS := $(sort $(EXTRA_MULTILIB_PARTS) $(EXTRA_PARTS)) libgcc-support: libgcc.mvars stmp-int-hdrs $(TCONFIG_H) \ - $(MACHMODE_H) $(LIB2ADD) $(LIB2ADD_ST) gcov-iov.h $(SFP_MACHINE) + $(MACHMODE_H) $(LIB2ADD) $(LIB2ADD_ST) gcov-iov.h libgcc.mvars: config.status Makefile $(LIB2ADD) $(LIB2ADD_ST) specs \ xgcc$(exeext) diff --git a/gcc/config.gcc b/gcc/config.gcc index dcc5b4304d7..716fa224b2a 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -868,7 +868,6 @@ arm*-*-linux*) # ARM GNU/Linux with ELF esac with_tls=${with_tls:-gnu} tm_file="$tm_file arm/aout.h arm/arm.h" - tmake_file="${tmake_file} arm/t-arm-softfp soft-fp/t-softfp" ;; arm*-*-uclinux*) # ARM ucLinux tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/linux-gas.h arm/uclinux-elf.h glibc-stdint.h" @@ -886,12 +885,10 @@ arm*-*-uclinux*) # ARM ucLinux default_use_cxa_atexit=yes esac tm_file="$tm_file arm/aout.h arm/arm.h" - tmake_file="${tmake_file} arm/t-arm-softfp soft-fp/t-softfp" ;; arm*-*-ecos-elf) tm_file="dbxelf.h elfos.h newlib-stdint.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/ecos-elf.h" tmake_file="arm/t-arm arm/t-arm-elf" - tmake_file="${tmake_file} arm/t-arm-softfp soft-fp/t-softfp" ;; arm*-*-eabi* | arm*-*-symbianelf* ) # The BPABI long long divmod functions return a 128-bit value in @@ -917,17 +914,14 @@ arm*-*-eabi* | arm*-*-symbianelf* ) ;; esac tm_file="${tm_file} arm/aout.h arm/arm.h" - tmake_file="${tmake_file} arm/t-arm-softfp soft-fp/t-softfp" ;; arm*-*-rtems*) tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/rtems-elf.h rtems.h newlib-stdint.h" tmake_file="arm/t-arm arm/t-arm-elf t-rtems arm/t-rtems" - tmake_file="${tmake_file} arm/t-arm-softfp soft-fp/t-softfp" ;; arm*-*-elf) tm_file="dbxelf.h elfos.h newlib-stdint.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h" tmake_file="arm/t-arm arm/t-arm-elf" - tmake_file="${tmake_file} arm/t-arm-softfp soft-fp/t-softfp" ;; arm*-wince-pe*) tm_file="arm/semi.h arm/aout.h arm/arm.h arm/coff.h dbxcoff.h arm/pe.h arm/wince-pe.h" @@ -1025,17 +1019,17 @@ moxie-*-elf) gnu_ld=yes tm_file="dbxelf.h elfos.h newlib-stdint.h ${tm_file}" extra_parts="crti.o crtn.o crtbegin.o crtend.o" - tmake_file="${tmake_file} moxie/t-moxie moxie/t-moxie-softfp soft-fp/t-softfp" + tmake_file="${tmake_file} moxie/t-moxie" ;; moxie-*-uclinux*) gas=yes gnu_ld=yes tm_file="dbxelf.h elfos.h ${tm_file} gnu-user.h linux.h glibc-stdint.h moxie/uclinux.h" extra_parts="crti.o crtn.o crtbegin.o crtend.o" - tmake_file="${tmake_file} moxie/t-moxie moxie/t-moxie-softfp soft-fp/t-softfp" + tmake_file="${tmake_file} moxie/t-moxie" ;; moxie-*-rtems*) - tmake_file="${tmake_file} moxie/t-moxie moxie/t-moxie-softfp soft-fp/t-softfp t-rtems" + tmake_file="${tmake_file} moxie/t-moxie t-rtems" tm_file="moxie/moxie.h dbxelf.h elfos.h moxie/rtems.h rtems.h newlib-stdint.h" ;; h8300-*-rtems*) @@ -1651,16 +1645,16 @@ iq2000*-*-elf*) ;; lm32-*-elf*) tm_file="dbxelf.h elfos.h ${tm_file}" - tmake_file="${tmake_file} lm32/t-lm32 lm32/t-fprules-softfp soft-fp/t-softfp" + tmake_file="${tmake_file} lm32/t-lm32" ;; lm32-*-rtems*) tm_file="dbxelf.h elfos.h ${tm_file} lm32/rtems.h rtems.h newlib-stdint.h" - tmake_file="${tmake_file} lm32/t-lm32 lm32/t-fprules-softfp soft-fp/t-softfp" + tmake_file="${tmake_file} lm32/t-lm32" tmake_file="${tmake_file} t-rtems" ;; lm32-*-uclinux*) tm_file="dbxelf.h elfos.h ${tm_file} gnu-user.h linux.h lm32/uclinux-elf.h" - tmake_file="${tmake_file} lm32/t-lm32 lm32/t-fprules-softfp soft-fp/t-softfp" + tmake_file="${tmake_file} lm32/t-lm32" ;; m32r-*-elf*) tm_file="dbxelf.h elfos.h newlib-stdint.h ${tm_file}" @@ -2048,8 +2042,8 @@ powerpc64-*-darwin*) ;; powerpc-*-freebsd*) tm_file="${tm_file} dbxelf.h elfos.h ${fbsd_tm_file} rs6000/sysv4.h rs6000/freebsd.h" - tmake_file="rs6000/t-fprules rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm rs6000/t-freebsd" - tmake_file="${tmake_file} t-slibgcc-libgcc rs6000/t-fprules-softfp soft-fp/t-softfp" + tmake_file="rs6000/t-fprules rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm" + tmake_file="${tmake_file} t-slibgcc-libgcc" extra_options="${extra_options} rs6000/sysv4.opt" ;; powerpc-*-netbsd*) @@ -2135,7 +2129,7 @@ powerpc-*-linux* | powerpc64-*-linux*) tm_file="${tm_file} rs6000/linux.h glibc-stdint.h" ;; esac - tmake_file="${tmake_file} t-slibgcc-libgcc rs6000/t-fprules-softfp soft-fp/t-softfp" + tmake_file="${tmake_file} t-slibgcc-libgcc" case ${target} in powerpc*-*-linux*altivec*) tm_file="${tm_file} rs6000/linuxaltivec.h" ;; @@ -2269,7 +2263,7 @@ score-*-elf) gnu_ld=yes tm_file="dbxelf.h elfos.h score/elf.h score/score.h newlib-stdint.h" extra_parts="crti.o crtn.o crtbegin.o crtend.o" - tmake_file="${tmake_file} score/t-score-elf score/t-score-softfp soft-fp/t-softfp" + tmake_file="${tmake_file} score/t-score-elf" ;; sh-*-elf* | sh[12346l]*-*-elf* | \ sh-*-linux* | sh[2346lbe]*-*-linux* | \ @@ -2571,7 +2565,6 @@ tic6x-*-elf) tm_file="${tm_file} dbxelf.h tm-dwarf2.h newlib-stdint.h" libgcc_tm_file="${libgcc_tm_file} c6x/c6x-abi.h" tmake_file="c6x/t-c6x c6x/t-c6x-elf" - tmake_file="${tmake_file} c6x/t-c6x-softfp soft-fp/t-softfp" use_collect2=no ;; tic6x-*-uclinux) @@ -2581,7 +2574,6 @@ tic6x-*-uclinux) libgcc_tm_file="${libgcc_tm_file} c6x/c6x-abi.h" tmake_file="t-slibgcc-elf-ver t-sysroot-suffix" tmake_file="${tmake_file} c6x/t-c6x c6x/t-c6x-elf c6x/t-c6x-uclinux" - tmake_file="${tmake_file} c6x/t-c6x-softfp soft-fp/t-softfp" use_collect2=no ;; v850*-*-*) @@ -3585,24 +3577,19 @@ case ${target} in ;; i[34567]86-*-darwin* | x86_64-*-darwin*) - tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp" ;; i[34567]86-*-linux* | x86_64-*-linux* | \ i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | \ i[34567]86-*-gnu*) - tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp i386/t-linux" + tmake_file="${tmake_file} i386/t-linux" ;; i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*) - tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp" ;; i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw*) - tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp" ;; i[34567]86-*-freebsd* | x86_64-*-freebsd*) - tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp" ;; ia64*-*-linux*) - tmake_file="${tmake_file} ia64/t-fprules-softfp soft-fp/t-softfp" ;; mips*-*-*) diff --git a/gcc/config/arm/t-arm-softfp b/gcc/config/arm/t-arm-softfp deleted file mode 100644 index f9cace97e21..00000000000 --- a/gcc/config/arm/t-arm-softfp +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (C) 2008 Free Software Foundation, Inc. -# -# This file is part of GCC. -# -# GCC is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3, or (at your option) -# any later version. -# -# GCC is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with GCC; see the file COPYING3. If not see -# <http://www.gnu.org/licenses/>. - -softfp_float_modes := sf df -softfp_int_modes := si di -softfp_extensions := sfdf -softfp_truncations := dfsf -softfp_machine_header := arm/sfp-machine.h -softfp_exclude_libgcc2 := y -softfp_wrap_start := '\#ifdef __ARM_ARCH_6M__' -softfp_wrap_end := '\#endif' - -# softfp seems to be missing a whole bunch of prototypes. -TARGET_LIBGCC2_CFLAGS += -Wno-missing-prototypes diff --git a/gcc/config/c6x/t-c6x-softfp b/gcc/config/c6x/t-c6x-softfp deleted file mode 100644 index 5df90eb55f8..00000000000 --- a/gcc/config/c6x/t-c6x-softfp +++ /dev/null @@ -1,9 +0,0 @@ -softfp_float_modes := sf df -softfp_int_modes := si di -softfp_extensions := sfdf -softfp_truncations := dfsf -softfp_machine_header := c6x/sfp-machine.h -softfp_exclude_libgcc2 := y - -# softfp seems to be missing a whole bunch of prototypes. -TARGET_LIBGCC2_CFLAGS += -Wno-missing-prototypes diff --git a/gcc/config/ia64/t-fprules-softfp b/gcc/config/ia64/t-fprules-softfp deleted file mode 100644 index 4c876bfa996..00000000000 --- a/gcc/config/ia64/t-fprules-softfp +++ /dev/null @@ -1,6 +0,0 @@ -softfp_float_modes := tf -softfp_int_modes := si di ti -softfp_extensions := sftf dftf xftf -softfp_truncations := tfsf tfdf tfxf -softfp_machine_header := ia64/sfp-machine.h -softfp_exclude_libgcc2 := n diff --git a/gcc/config/moxie/t-moxie-softfp b/gcc/config/moxie/t-moxie-softfp deleted file mode 100644 index 61c575132e9..00000000000 --- a/gcc/config/moxie/t-moxie-softfp +++ /dev/null @@ -1,9 +0,0 @@ -softfp_float_modes := sf df -softfp_int_modes := si di -softfp_extensions := sfdf -softfp_truncations := dfsf -softfp_machine_header := moxie/sfp-machine.h -softfp_exclude_libgcc2 := y - -# softfp seems to be missing a whole bunch of prototypes. -TARGET_LIBGCC2_CFLAGS += -Wno-missing-prototypes diff --git a/gcc/config/rs6000/t-aix43 b/gcc/config/rs6000/t-aix43 index 4e38ece4678..374b98dfa93 100644 --- a/gcc/config/rs6000/t-aix43 +++ b/gcc/config/rs6000/t-aix43 @@ -70,13 +70,9 @@ SHLIB_INSTALL = \ $$(DESTDIR)$$(slibdir)@shlib_slibdir_qual@/ SHLIB_LIBS = -lc `case @multilib_dir@ in *pthread*) echo -lpthread ;; esac` SHLIB_MKMAP = $(srcdir)/mkmap-flat.awk -SHLIB_MAPFILES = $$(libgcc_objdir)/libgcc-std.ver $(srcdir)/config/rs6000/libgcc-ppc64.ver +SHLIB_MAPFILES = $$(libgcc_objdir)/libgcc-std.ver SHLIB_NM_FLAGS = -Bpg -X32_64 -# GCC 128-bit long double support routines. -LIB2FUNCS_EXTRA = $(srcdir)/config/rs6000/darwin-ldouble.c -TARGET_LIBGCC2_CFLAGS = -mlong-double-128 - # Either 32-bit and 64-bit objects in archives. AR_FLAGS_FOR_TARGET = -X32_64 diff --git a/gcc/config/rs6000/t-aix52 b/gcc/config/rs6000/t-aix52 index 3ef61e9cf0f..79ef16fd84e 100644 --- a/gcc/config/rs6000/t-aix52 +++ b/gcc/config/rs6000/t-aix52 @@ -51,12 +51,8 @@ SHLIB_INSTALL = \ $$(DESTDIR)$$(slibdir)@shlib_slibdir_qual@/ SHLIB_LIBS = -lc `case @multilib_dir@ in *pthread*) echo -lpthread ;; esac` SHLIB_MKMAP = $(srcdir)/mkmap-flat.awk -SHLIB_MAPFILES = $$(libgcc_objdir)/libgcc-std.ver $(srcdir)/config/rs6000/libgcc-ppc64.ver +SHLIB_MAPFILES = $$(libgcc_objdir)/libgcc-std.ver SHLIB_NM_FLAGS = -Bpg -X32_64 -# GCC 128-bit long double support routines. -LIB2FUNCS_EXTRA = $(srcdir)/config/rs6000/darwin-ldouble.c -TARGET_LIBGCC2_CFLAGS = -mlong-double-128 - # Either 32-bit and 64-bit objects in archives. AR_FLAGS_FOR_TARGET = -X32_64 diff --git a/gcc/config/rs6000/t-darwin b/gcc/config/rs6000/t-darwin index 4ba07a14867..93d6f884999 100644 --- a/gcc/config/rs6000/t-darwin +++ b/gcc/config/rs6000/t-darwin @@ -19,7 +19,6 @@ LIB2FUNCS_EXTRA = $(srcdir)/config/rs6000/darwin-tramp.asm \ $(srcdir)/config/darwin-64.c \ - $(srcdir)/config/rs6000/darwin-ldouble.c \ $(srcdir)/config/rs6000/darwin-world.asm LIB2FUNCS_STATIC_EXTRA = \ @@ -36,8 +35,5 @@ LIB2FUNCS_STATIC_EXTRA = \ # works around this by not having any temporary file names. TARGET_LIBGCC2_CFLAGS = -Wa,-force_cpusubtype_ALL -pipe -mmacosx-version-min=10.4 -# Export the _xlq* symbols from darwin-ldouble.c. -SHLIB_MAPFILES += $(srcdir)/config/rs6000/libgcc-ppc64.ver - darwin-fpsave.o: $(srcdir)/config/rs6000/darwin-asm.h darwin-tramp.o: $(srcdir)/config/rs6000/darwin-asm.h diff --git a/gcc/config/rs6000/t-darwin64 b/gcc/config/rs6000/t-darwin64 index 2a24d7f2855..4c50b243873 100644 --- a/gcc/config/rs6000/t-darwin64 +++ b/gcc/config/rs6000/t-darwin64 @@ -2,7 +2,6 @@ LIB2_SIDITI_CONV_FUNCS=yes LIB2FUNCS_EXTRA = $(srcdir)/config/rs6000/darwin-tramp.asm \ $(srcdir)/config/darwin-64.c \ - $(srcdir)/config/rs6000/darwin-ldouble.c \ $(srcdir)/config/rs6000/darwin-world.asm MULTILIB_OPTIONS = m32 diff --git a/gcc/config/rs6000/t-fprules-softfp b/gcc/config/rs6000/t-fprules-softfp deleted file mode 100644 index 10b271f036d..00000000000 --- a/gcc/config/rs6000/t-fprules-softfp +++ /dev/null @@ -1,6 +0,0 @@ -softfp_float_modes := sf df -softfp_int_modes := si di -softfp_extensions := sfdf -softfp_truncations := dfsf -softfp_machine_header := rs6000/sfp-machine.h -softfp_exclude_libgcc2 := y diff --git a/gcc/config/rs6000/t-linux64 b/gcc/config/rs6000/t-linux64 index 3ae05fdad7b..bd01d319212 100644 --- a/gcc/config/rs6000/t-linux64 +++ b/gcc/config/rs6000/t-linux64 @@ -35,6 +35,3 @@ MULTILIB_EXCEPTIONS = m64/msoft-float MULTILIB_EXCLUSIONS = m64/!m32/msoft-float MULTILIB_OSDIRNAMES = ../lib64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib) nof MULTILIB_MATCHES = $(MULTILIB_MATCHES_FLOAT) - -softfp_wrap_start := '\#ifndef __powerpc64__' -softfp_wrap_end := '\#endif' diff --git a/gcc/config/rs6000/t-ppccomm b/gcc/config/rs6000/t-ppccomm index d91801eaa12..b7e07a9b4c9 100644 --- a/gcc/config/rs6000/t-ppccomm +++ b/gcc/config/rs6000/t-ppccomm @@ -1,7 +1,7 @@ # Common support for PowerPC ELF targets (both EABI and SVR4). # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2006, 2007, -# 2008 Free Software Foundation, Inc. +# 2008, 2011 Free Software Foundation, Inc. # # This file is part of GCC. # @@ -19,7 +19,7 @@ # along with GCC; see the file COPYING3. If not see # <http://www.gnu.org/licenses/>. -LIB2FUNCS_EXTRA += tramp.S $(srcdir)/config/rs6000/darwin-ldouble.c +LIB2FUNCS_EXTRA += tramp.S # These can't end up in shared libgcc LIB2FUNCS_STATIC_EXTRA = eabi.S diff --git a/gcc/config/score/sfp-machine.h b/gcc/config/score/sfp-machine.h deleted file mode 100644 index 98f9f1bf491..00000000000 --- a/gcc/config/score/sfp-machine.h +++ /dev/null @@ -1,57 +0,0 @@ -#define _FP_W_TYPE_SIZE 32 -#define _FP_W_TYPE unsigned long -#define _FP_WS_TYPE signed long -#define _FP_I_TYPE long - -/* The type of the result of a floating point comparison. This must - match `__libgcc_cmp_return__' in GCC for the target. */ -typedef int __gcc_CMPtype __attribute__ ((mode (__libgcc_cmp_return__))); -#define CMPtype __gcc_CMPtype - -#define _FP_MUL_MEAT_S(R,X,Y) \ - _FP_MUL_MEAT_1_wide(_FP_WFRACBITS_S,R,X,Y,umul_ppmm) -#define _FP_MUL_MEAT_D(R,X,Y) \ - _FP_MUL_MEAT_2_wide(_FP_WFRACBITS_D,R,X,Y,umul_ppmm) -#define _FP_MUL_MEAT_Q(R,X,Y) \ - _FP_MUL_MEAT_4_wide(_FP_WFRACBITS_Q,R,X,Y,umul_ppmm) - -#define _FP_DIV_MEAT_S(R,X,Y) _FP_DIV_MEAT_1_loop(S,R,X,Y) -#define _FP_DIV_MEAT_D(R,X,Y) _FP_DIV_MEAT_2_udiv(D,R,X,Y) -#define _FP_DIV_MEAT_Q(R,X,Y) _FP_DIV_MEAT_4_udiv(Q,R,X,Y) - -#define _FP_NANFRAC_S ((_FP_QNANBIT_S << 1) - 1) -#define _FP_NANFRAC_D ((_FP_QNANBIT_D << 1) - 1), -1 -#define _FP_NANFRAC_Q ((_FP_QNANBIT_Q << 1) - 1), -1, -1, -1 -#define _FP_NANSIGN_S 0 -#define _FP_NANSIGN_D 0 -#define _FP_NANSIGN_Q 0 - -#define _FP_KEEPNANFRACP 1 - -/* Someone please check this. */ -#define _FP_CHOOSENAN(fs, wc, R, X, Y, OP) \ - do { \ - if ((_FP_FRAC_HIGH_RAW_##fs(X) & _FP_QNANBIT_##fs) \ - && !(_FP_FRAC_HIGH_RAW_##fs(Y) & _FP_QNANBIT_##fs)) \ - { \ - R##_s = Y##_s; \ - _FP_FRAC_COPY_##wc(R,Y); \ - } \ - else \ - { \ - R##_s = X##_s; \ - _FP_FRAC_COPY_##wc(R,X); \ - } \ - R##_c = FP_CLS_NAN; \ - } while (0) - -#define __LITTLE_ENDIAN 1234 -#define __BIG_ENDIAN 4321 - -# define __BYTE_ORDER __BIG_ENDIAN - -/* Define ALIASNAME as a strong alias for NAME. */ -# define strong_alias(name, aliasname) _strong_alias(name, aliasname) -# define _strong_alias(name, aliasname) \ - extern __typeof (name) aliasname __attribute__ ((alias (#name))); - diff --git a/gcc/config/score/t-score-softfp b/gcc/config/score/t-score-softfp deleted file mode 100644 index b658ef89bd3..00000000000 --- a/gcc/config/score/t-score-softfp +++ /dev/null @@ -1,9 +0,0 @@ -softfp_float_modes := sf df -softfp_int_modes := si di -softfp_extensions := sfdf -softfp_truncations := dfsf -softfp_machine_header := score/sfp-machine.h -softfp_exclude_libgcc2 := y - -# softfp seems to be missing a whole bunch of prototypes. -TARGET_LIBGCC2_CFLAGS += -Wno-missing-prototypes diff --git a/gcc/config/soft-fp/t-softfp b/gcc/config/soft-fp/t-softfp deleted file mode 100644 index b5959077d50..00000000000 --- a/gcc/config/soft-fp/t-softfp +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright (C) 2006, 2007 Free Software Foundation, Inc. - -# This file is part of GCC. - -# GCC is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3, or (at your option) -# any later version. - -# GCC is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with GCC; see the file COPYING3. If not see -# <http://www.gnu.org/licenses/>. - -# Targets using soft-fp should define the following variables: -# -# softfp_float_modes: a list of soft-float floating-point modes, -# e.g. sf df -# softfp_int_modes: a list of integer modes for which to define conversions, -# e.g. si di -# softfp_extensions: a list of extensions between floating-point modes, -# e.g. sfdf -# softfp_truncations: a list of truncations between floating-point modes, -# e.g. dfsf -# softfp_machine_header: the target sfp-machine.h file (relative to config/), -# e.g. rs6000/sfp-machine.h -# -# Extensions and truncations should include those where only one mode -# is a soft-float mode; for example, sftf where sf is hard-float and -# tf is soft-float. -# -# If the libgcc2.c functions should not be replaced, also define: -# -# softfp_exclude_libgcc2 := y -# -# Avoiding replacing the libgcc2.c functions is a temporary measure -# for targets with both hard-float and soft-float multilibs, since -# these variables apply for all multilibs. With toplevel libgcc, -# soft-fp can be used conditionally on the multilib instead. -# -# If the code should not be compiled at all for some multilibs, define: -# -# softfp_wrap_start: text to put at the start of wrapper source files, -# output with echo -# e.g. '#ifndef __powerpc64__' -# softfp_wrap_end: text to put at the end of wrapper source files, -# e.g. '#endif' -# -# This is another temporary measure. - -softfp_float_funcs = add$(m)3 div$(m)3 eq$(m)2 ge$(m)2 le$(m)2 mul$(m)3 \ - neg$(m)2 sub$(m)3 unord$(m)2 -softfp_floatint_funcs = fix$(m)$(i) fixuns$(m)$(i) \ - float$(i)$(m) floatun$(i)$(m) - -softfp_func_list := \ - $(foreach m,$(softfp_float_modes), \ - $(softfp_float_funcs) \ - $(foreach i,$(softfp_int_modes), \ - $(softfp_floatint_funcs))) \ - $(foreach e,$(softfp_extensions),extend$(e)2) \ - $(foreach t,$(softfp_truncations),trunc$(t)2) - -ifeq ($(softfp_exclude_libgcc2),y) -# This list is taken from mklibgcc.in and doesn't presently allow for -# 64-bit targets where si should become di and di should become ti. -softfp_func_list := $(filter-out floatdidf floatdisf fixunsdfsi fixunssfsi \ - fixunsdfdi fixdfdi fixunssfdi fixsfdi fixxfdi fixunsxfdi \ - floatdixf fixunsxfsi fixtfdi fixunstfdi floatditf \ - floatundidf floatundisf floatundixf floatunditf,$(softfp_func_list)) -endif - -ifeq ($(softfp_wrap_start),) -softfp_file_list := \ - $(addsuffix .c,$(addprefix $(srcdir)/config/soft-fp/,$(softfp_func_list))) -else -softfp_file_list := $(addsuffix .c,$(softfp_func_list)) - -$(softfp_file_list): - echo $(softfp_wrap_start) > $@ - echo '#include "config/soft-fp/$@"' >> $@ - echo $(softfp_wrap_end) >> $@ -endif - -LIB2FUNCS_EXTRA += $(softfp_file_list) - -ifneq ($(softfp_exclude_libgcc2),y) -# Functions in libgcc2.c are excluded for each soft-float mode (a -# target may have both soft-float and hard-float modes), for the fixed -# list of integer modes (si and di) for which libgcc2.c defines any -# such functions. Depending on the target, the si and di symbols may -# in fact define di and ti functions. - -LIB2FUNCS_EXCLUDE += \ - $(addprefix _,$(foreach m,$(softfp_float_modes), \ - $(foreach i,si di, \ - $(softfp_floatint_funcs)))) -endif - -SFP_MACHINE := sfp-machine.h - -$(SFP_MACHINE): $(srcdir)/config/$(softfp_machine_header) - cp $(srcdir)/config/$(softfp_machine_header) $(SFP_MACHINE) diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 00c4fa63b7b..b26254f20d6 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,5 +1,103 @@ 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + * config/t-softfp: Remove. + * soft-fp: Moved from ../gcc/config. + * soft-fp/README: Remove t-softfp reference. + * soft-fp/t-softfp: Move to config/t-softfp. + (softfp_machine_header): Remove. + (softfp_file_list): Remove config subdir. + (soft-fp-objects): New variable. + ($(soft-fp-objects)): Set INTERNAL_CFLAGS. + (LIB2FUNCS_EXTRA): Add to LIB2ADD instead. + (SFP_MACHINE, $(SFP_MACHINE)): Remove. + * config/t-softfp-excl: New file. + * config/t-softfp-sfdf: New file. + * config/t-softfp-tf: New file. + * config/no-sfp-machine.h: New file. + * config/arm/sfp-machine.h: New file. + * config/arm/t-softfp: New file. + * config/c6x/sfp-machine.h: New file. + * config/i386/32/t-fprules-softfp: Rename to ... + * config/i386/32/t-softfp: ... this. + (tifunctions, LIB2ADD): Remove. + (softfp_int_modes): Override. + * config/i386/64/t-softfp-compat (tf-functions): Remove config + subdir. + * config/i386/64/eqtf2.c: Likewise. + * config/i386/64/getf2.c: Likewise. + * config/i386/64/letf2.c: Likewise. + * config/ia64/sft-machine.h: New file. + * config/ia64/t-fprules-softfp: Rename to ... + * config/ia64/t-softfp: ... this. + * config/lm32/sfp-machine.h: New file. + * config/moxie/t-moxie-softfp: Remove. + * config/rs6000/ibm-ldouble-format: New file. + * config/rs6000/ibm-ldouble.c: New file. + * config/rs6000/libgcc-ppc-glibc.ver: New file + * config/rs6000/libgcc-ppc64.ver: New file + * config/rs6000/sfp-machine.h: New file. + * config/rs6000/t-freebsd: New file. + * config/rs6000/t-ibm-ldouble: New file. + * config/rs6000/t-ldbl128: Use $(srcdir) to refer to + libgcc-ppc-glibc.ver. + * config/rs6000/t-linux64: New file. + * config/rs6000/t-ppccomm (LIB2ADD): Add + $(srcdir)/config/rs6000/ibm-ldouble.c. + * config/rs6000/t-ppccomm-ldbl: New file. + * config/score/sfp-machine.h: New file. + * config.host (sfp_machine_header): Explain. + (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp, + t-softfp to tmake_file. + (arm*-*-uclinux*): Likewise. + (arm*-*-ecos-elf): Likewise. + (arm*-*-eabi*, arm*-*-symbianelf*): Likewise. + (arm*-*-rtems*): Likewise. + (arm*-*-elf): Likewise. + (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp + in tmake_file. + Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file. + (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file. + (lm32-*-uclinux*): Likewise. + (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf, + t-softfp-excl, t-softfp. + (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file. + (powerpc64-*-darwin*): Likewise. + (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp + to tmake_file. + (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to + tmake_file. + (powerpc-*-eabisim*): Likewise. + (powerpc-*-elf*): Likewise. + (powerpc-*-eabialtivec*): Likewise. + (powerpc-xilinx-eabi*): Likewise. + (powerpc-*-rtems*): Likewise. + (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf, + t-softfp-excl, t-softfp to tmake_file. + (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add + rs6000/t-ppccomm-ldbl to tmake_file. + (powerpcle-*-elf*): Likewise. + (powerpcle-*-eabisim*): Likewise. + (powerpcle-*-eabi*): Likewise. + (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add + rs6000/t-ibm-ldouble to tmake_file. + (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise. + (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise. + (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file. + (tic6x-*-*): Likewise. + (i[34567]86-*-darwin*, x86_64-*-darwin*, + i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu, + i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*, + i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*, + i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*, + i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf, + t-softfp to tmake_file. + * configure.ac (sfp_machine_header): Provide default if unset. + Substitute. + Link sfp-machine.h to config/$sfp_machine_header. + * configure: Regenerate. + +2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + * Makefile.in (double_type_size, long_double_type_size): Set. Remove $(fpbit-in-libgcc) support. (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables. diff --git a/libgcc/config.host b/libgcc/config.host index cd4f054336b..be6d720ac28 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -54,6 +54,9 @@ # subdirectory will be ignored. # md_unwind_header The name of a header file defining # MD_FALLBACK_FRAME_STATE_FOR. +# sfp_machine_header The name of a sfp-machine.h header file for soft-fp. +# Defaults to "$cpu_type/sfp-machine.h" if it exists, +# no-sfp-machine.h otherwise. # tmake_file A list of machine-description-specific # makefile-fragments, if different from # "$cpu_type/t-$cpu_type". @@ -282,6 +285,7 @@ arm*-*-linux*) # ARM GNU/Linux with ELF unwind_header=config/arm/unwind-arm.h ;; esac + tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp" ;; arm*-*-uclinux*) # ARM ucLinux tmake_file="${tmake_file} t-fixedpoint-gnu-prefix" @@ -291,8 +295,10 @@ arm*-*-uclinux*) # ARM ucLinux unwind_header=config/arm/unwind-arm.h ;; esac + tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp" ;; arm*-*-ecos-elf) + tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp" ;; arm*-*-eabi* | arm*-*-symbianelf* ) tmake_file="${tmake_file} t-fixedpoint-gnu-prefix" @@ -304,11 +310,14 @@ arm*-*-eabi* | arm*-*-symbianelf* ) tmake_file="${tmake_file} arm/t-symbian" ;; esac + tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp" unwind_header=config/arm/unwind-arm.h ;; arm*-*-rtems*) + tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp" ;; arm*-*-elf) + tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp" ;; arm*-wince-pe*) ;; @@ -318,7 +327,6 @@ avr-*-rtems*) avr-*-*) # Make HImode functions for AVR tmake_file="${cpu_type}/t-avr t-fpbit" - ;; bfin*-elf*) tmke_file=t-fdpbit @@ -464,7 +472,7 @@ ia64*-*-freebsd*) ;; ia64*-*-linux*) extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o" - tmake_file="ia64/t-ia64 t-crtfm t-softfp ia64/t-fprules-softfp ia64/t-softfp-compat ia64/t-glibc ia64/t-eh-ia64 t-libunwind" + tmake_file="ia64/t-ia64 t-crtfm t-softfp-tf ia64/t-softfp t-softfp ia64/t-softfp-compat ia64/t-glibc ia64/t-eh-ia64 t-libunwind" if test x$with_system_libunwind != xyes ; then tmake_file="${tmake_file} t-libunwind-elf ia64/t-glibc-libunwind" fi @@ -482,11 +490,11 @@ iq2000*-*-elf*) ;; lm32-*-elf*|lm32-*-rtems*) extra_parts="crtbegin.o crtend.o crti.o crtn.o" - tmake_file="lm32/t-lm32 lm32/t-elf t-softfp" + tmake_file="lm32/t-lm32 lm32/t-elf t-softfp-sfdf t-softfp" ;; lm32-*-uclinux*) extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o" - tmake_file="lm32/t-lm32 lm32/t-uclinux t-softfp" + tmake_file="lm32/t-lm32 lm32/t-uclinux t-softfp-sfdf t-softfp" ;; m32r-*-elf*|m32r-*-rtems*) tmake_file=t-fdpbit @@ -587,7 +595,7 @@ mn10300-*-*) tmake_file=t-fdpbit ;; moxie-*-*) - tmake_file="moxie/t-moxie moxie/t-moxie-softfp" + tmake_file="moxie/t-moxie t-softfp-sfdf t-softfp-excl t-softfp" extra_parts="crtbegin.o crtend.o crti.o crtn.o" ;; pdp11-*-*) @@ -606,13 +614,15 @@ powerpc-*-darwin*) md_unwind_header=rs6000/darwin-unwind.h ;; esac + tmake_file="$tmake_file rs6000/t-ibm-ldouble" extra_parts="$extra_parts crt2.o" ;; powerpc64-*-darwin*) + tmake_file="$tmake_file rs6000/t-ibm-ldouble" extra_parts="$extra_parts crt2.o" ;; powerpc-*-freebsd*) - tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-freebsd t-softfp" + tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-freebsd t-softfp-sfdf t-softfp-excl t-softfp" ;; powerpc-*-netbsd*) ;; @@ -620,56 +630,56 @@ powerpc-*-eabispe*) tmake_file="${tmake_file} rs6000/t-ppccomm" ;; powerpc-*-eabisimaltivec*) - tmake_file=t-fdpbit + tmake_file="rs6000/t-ppccomm-ldbl t-fdpbit" ;; powerpc-*-eabisim*) - tmake_file=t-fdpbit + tmake_file="rs6000/t-ppccomm-ldbl t-fdpbit" ;; powerpc-*-elf*) - tmake_file=t-fdpbit + tmake_file="rs6000/t-ppccomm-ldbl t-fdpbit" ;; powerpc-*-eabialtivec*) - tmake_file=t-fdpbit + tmake_file="rs6000/t-ppccomm-ldbl t-fdpbit" ;; powerpc-xilinx-eabi*) - tmake_file=t-fdpbit + tmake_file="rs6000/t-ppccomm-ldbl t-fdpbit" ;; powerpc-*-eabi*) tmake_file="${tmake_file} rs6000/t-ppccomm t-fdpbit" ;; powerpc-*-rtems*) - tmake_file=t-fdpbit + tmake_file="rs6000/t-ppccomm-ldbl t-fdpbit" ;; powerpc-*-linux* | powerpc64-*-linux*) - tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128 t-softfp t-dfprules rs6000/t-ppc64-fp" + tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128 t-softfp-sfdf t-softfp-excl t-dfprules rs6000/t-ppc64-fp t-softfp" md_unwind_header=rs6000/linux-unwind.h ;; powerpc-wrs-vxworks|powerpc-wrs-vxworksae) - tmake_file=t-fdpbit + tmake_file="rs6000/t-ppccomm-ldbl t-fdpbit" ;; powerpc-*-lynxos*) tmake_file=t-fdpbit ;; powerpcle-*-elf*) - tmake_file=t-fdpbit + tmake_file="rs6000/t-ppccomm-ldbl t-fdpbit" ;; powerpcle-*-eabisim*) - tmake_file=t-fdpbit + tmake_file="rs6000/t-ppccomm-ldbl t-fdpbit" ;; powerpcle-*-eabi*) - tmake_file=t-fdpbit + tmake_file="rs6000/t-ppccomm-ldbl t-fdpbit" ;; rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*) md_unwind_header=rs6000/aix-unwind.h - tmake_file="t-fdpbit rs6000/t-ppc64-fp" + tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-ibm-ldouble" ;; rs6000-ibm-aix5.1.* | powerpc-ibm-aix5.1.*) md_unwind_header=rs6000/aix-unwind.h - tmake_file="t-fdpbit rs6000/t-ppc64-fp" + tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-ibm-ldouble" ;; rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*) md_unwind_header=rs6000/aix-unwind.h - tmake_file="t-fdpbit rs6000/t-ppc64-fp" + tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-ibm-ldouble" ;; rx-*-elf) extra_parts="crtbegin.o crtend.o" @@ -688,6 +698,7 @@ s390x-ibm-tpf*) md_unwind_header=s390/tpf-unwind.h ;; score-*-elf) + tmake_file="${tmake_file} t-softfp-sfdf t-softfp-excl t-softfp" ;; sh-*-elf* | sh[12346l]*-*-elf* | \ sh-*-linux* | sh[2346lbe]*-*-linux* | \ @@ -774,7 +785,7 @@ spu-*-elf*) tmake_file="t-fdpbit spu/t-elf" ;; tic6x-*-*) - tmake_file="${tmake_file} t-gnu-prefix" + tmake_file="${tmake_file} t-softfp-sfdf t-softfp-excl t-softfp t-gnu-prefix" ;; v850*-*-*) tmake_file=t-fdpbit @@ -829,9 +840,11 @@ i[34567]86-*-darwin* | x86_64-*-darwin* | \ i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]* | \ i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw* | \ i[34567]86-*-freebsd* | x86_64-*-freebsd*) + tmake_file="${tmake_file} t-softfp-tf" if test "${host_address}" = 32; then - tmake_file="${tmake_file} t-softfp i386/${host_address}/t-fprules-softfp" + tmake_file="${tmake_file} i386/${host_address}/t-softfp" fi + tmake_file="${tmake_file} t-softfp" ;; esac diff --git a/gcc/config/arm/sfp-machine.h b/libgcc/config/arm/sfp-machine.h index a89d05a00ba..a89d05a00ba 100644 --- a/gcc/config/arm/sfp-machine.h +++ b/libgcc/config/arm/sfp-machine.h diff --git a/libgcc/config/arm/t-softfp b/libgcc/config/arm/t-softfp new file mode 100644 index 00000000000..4ede438baf6 --- /dev/null +++ b/libgcc/config/arm/t-softfp @@ -0,0 +1,2 @@ +softfp_wrap_start := '\#ifdef __ARM_ARCH_6M__' +softfp_wrap_end := '\#endif' diff --git a/gcc/config/c6x/sfp-machine.h b/libgcc/config/c6x/sfp-machine.h index 2c90e582ae4..2c90e582ae4 100644 --- a/gcc/config/c6x/sfp-machine.h +++ b/libgcc/config/c6x/sfp-machine.h diff --git a/libgcc/config/i386/32/t-fprules-softfp b/libgcc/config/i386/32/t-fprules-softfp deleted file mode 100644 index 8e7f3233b71..00000000000 --- a/libgcc/config/i386/32/t-fprules-softfp +++ /dev/null @@ -1,8 +0,0 @@ -# Filter out TImode functions -tifunctions = fixtfti.c fixunstfti.c floattitf.c floatuntitf.c -tifunctions := $(addprefix $(gcc_srcdir)/config/soft-fp/, $(tifunctions)) - -LIB2ADD := $(filter-out $(tifunctions), $(LIB2ADD)) - -# Provide fallbacks for __builtin_copysignq and __builtin_fabsq. -LIB2ADD += $(srcdir)/config/i386/32/tf-signs.c diff --git a/libgcc/config/i386/32/t-softfp b/libgcc/config/i386/32/t-softfp new file mode 100644 index 00000000000..a48a5b3b116 --- /dev/null +++ b/libgcc/config/i386/32/t-softfp @@ -0,0 +1,5 @@ +# Omit TImode functions +softfp_int_modes := si di + +# Provide fallbacks for __builtin_copysignq and __builtin_fabsq. +LIB2ADD += $(srcdir)/config/i386/32/tf-signs.c diff --git a/libgcc/config/i386/64/eqtf2.c b/libgcc/config/i386/64/eqtf2.c index 785c42ad5c6..23982fb9e6f 100644 --- a/libgcc/config/i386/64/eqtf2.c +++ b/libgcc/config/i386/64/eqtf2.c @@ -2,7 +2,7 @@ #define __netf2 __netf2_shared #endif -#include "config/soft-fp/eqtf2.c" +#include "soft-fp/eqtf2.c" #ifdef SHARED #undef __netf2 diff --git a/libgcc/config/i386/64/getf2.c b/libgcc/config/i386/64/getf2.c index 280447c1e83..e2c41649059 100644 --- a/libgcc/config/i386/64/getf2.c +++ b/libgcc/config/i386/64/getf2.c @@ -2,7 +2,7 @@ #define __gttf2 __gttf2_shared #endif -#include "config/soft-fp/getf2.c" +#include "soft-fp/getf2.c" #ifdef SHARED #undef __gttf2 diff --git a/libgcc/config/i386/64/letf2.c b/libgcc/config/i386/64/letf2.c index 81e0881c844..784337fff67 100644 --- a/libgcc/config/i386/64/letf2.c +++ b/libgcc/config/i386/64/letf2.c @@ -2,7 +2,7 @@ #define __lttf2 __lttf2_shared #endif -#include "config/soft-fp/letf2.c" +#include "soft-fp/letf2.c" #ifdef SHARED #undef __lttf2 diff --git a/libgcc/config/i386/64/t-softfp-compat b/libgcc/config/i386/64/t-softfp-compat index afaa526ae29..0978695c3a4 100644 --- a/libgcc/config/i386/64/t-softfp-compat +++ b/libgcc/config/i386/64/t-softfp-compat @@ -4,7 +4,7 @@ # Filter out the following TFmode functions. tf-compats = getf2.c letf2.c eqtf2.c -tf-functions := $(addprefix $(gcc_srcdir)/config/soft-fp/, $(tf-compats)) +tf-functions := $(addprefix $(srcdir)/soft-fp/, $(tf-compats)) LIB2ADD := $(filter-out $(tf-functions), $(LIB2ADD)) LIB2ADD += $(addprefix $(srcdir)/config/i386/64/, $(tf-compats)) diff --git a/gcc/config/i386/sfp-machine.h b/libgcc/config/i386/sfp-machine.h index f2df869653f..f2df869653f 100644 --- a/gcc/config/i386/sfp-machine.h +++ b/libgcc/config/i386/sfp-machine.h diff --git a/gcc/config/ia64/sfp-machine.h b/libgcc/config/ia64/sfp-machine.h index bdcce772ca8..bdcce772ca8 100644 --- a/gcc/config/ia64/sfp-machine.h +++ b/libgcc/config/ia64/sfp-machine.h diff --git a/libgcc/config/ia64/t-fprules-softfp b/libgcc/config/ia64/t-softfp index 90acc376ec9..90acc376ec9 100644 --- a/libgcc/config/ia64/t-fprules-softfp +++ b/libgcc/config/ia64/t-softfp diff --git a/gcc/config/lm32/sfp-machine.h b/libgcc/config/lm32/sfp-machine.h index 19038485493..19038485493 100644 --- a/gcc/config/lm32/sfp-machine.h +++ b/libgcc/config/lm32/sfp-machine.h diff --git a/libgcc/config/moxie/t-moxie-softfp b/libgcc/config/moxie/t-moxie-softfp deleted file mode 100644 index 61c575132e9..00000000000 --- a/libgcc/config/moxie/t-moxie-softfp +++ /dev/null @@ -1,9 +0,0 @@ -softfp_float_modes := sf df -softfp_int_modes := si di -softfp_extensions := sfdf -softfp_truncations := dfsf -softfp_machine_header := moxie/sfp-machine.h -softfp_exclude_libgcc2 := y - -# softfp seems to be missing a whole bunch of prototypes. -TARGET_LIBGCC2_CFLAGS += -Wno-missing-prototypes diff --git a/libgcc/config/no-sfp-machine.h b/libgcc/config/no-sfp-machine.h new file mode 100644 index 00000000000..8f7341d4f92 --- /dev/null +++ b/libgcc/config/no-sfp-machine.h @@ -0,0 +1 @@ +/* Dummy sfp-machine.h header for targets that don't need one. */ diff --git a/gcc/config/rs6000/darwin-ldouble-format b/libgcc/config/rs6000/ibm-ldouble-format index 3d1a06a141f..3d1a06a141f 100644 --- a/gcc/config/rs6000/darwin-ldouble-format +++ b/libgcc/config/rs6000/ibm-ldouble-format diff --git a/gcc/config/rs6000/darwin-ldouble.c b/libgcc/config/rs6000/ibm-ldouble.c index d76c1b1847d..b0b8037cdce 100644 --- a/gcc/config/rs6000/darwin-ldouble.c +++ b/libgcc/config/rs6000/ibm-ldouble.c @@ -1,5 +1,5 @@ /* 128-bit long double support routines for Darwin. - Copyright (C) 1993, 2003, 2004, 2005, 2006, 2007, 2008, 2009 + Copyright (C) 1993, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2011 Free Software Foundation, Inc. This file is part of GCC. @@ -364,9 +364,9 @@ __gcc_qunord (double a, double aa, double c, double cc) return __unorddf2 (a, c); } -#include "config/soft-fp/soft-fp.h" -#include "config/soft-fp/double.h" -#include "config/soft-fp/quad.h" +#include "soft-fp/soft-fp.h" +#include "soft-fp/double.h" +#include "soft-fp/quad.h" /* Compute floating point multiply-subtract with higher (quad) precision. */ static double diff --git a/gcc/config/rs6000/libgcc-ppc-glibc.ver b/libgcc/config/rs6000/libgcc-ppc-glibc.ver index 8862c14cb3d..8862c14cb3d 100644 --- a/gcc/config/rs6000/libgcc-ppc-glibc.ver +++ b/libgcc/config/rs6000/libgcc-ppc-glibc.ver diff --git a/gcc/config/rs6000/libgcc-ppc64.ver b/libgcc/config/rs6000/libgcc-ppc64.ver index b27b4b49249..b27b4b49249 100644 --- a/gcc/config/rs6000/libgcc-ppc64.ver +++ b/libgcc/config/rs6000/libgcc-ppc64.ver diff --git a/gcc/config/rs6000/sfp-machine.h b/libgcc/config/rs6000/sfp-machine.h index a0d1631bbb8..a0d1631bbb8 100644 --- a/gcc/config/rs6000/sfp-machine.h +++ b/libgcc/config/rs6000/sfp-machine.h diff --git a/gcc/config/rs6000/t-freebsd b/libgcc/config/rs6000/t-freebsd index 60ca86f027c..4234999f3cb 100644 --- a/gcc/config/rs6000/t-freebsd +++ b/libgcc/config/rs6000/t-freebsd @@ -18,8 +18,5 @@ # along with GCC; see the file COPYING3. If not see # <http://www.gnu.org/licenses/>. -# We do not want to build darwin-ldouble.c, so set the LIB2FUNCS_EXTRA again. -# Invoke this file after rs6000/t-ppccomm. - -LIB2FUNCS_EXTRA = tramp.S - +# We do not want to build ibm-ldouble.c. +LIB2ADD := $(filter-out ibm-ldouble.c, $(LIB2ADD)) diff --git a/libgcc/config/rs6000/t-ibm-ldouble b/libgcc/config/rs6000/t-ibm-ldouble new file mode 100644 index 00000000000..3f7a2d847e2 --- /dev/null +++ b/libgcc/config/rs6000/t-ibm-ldouble @@ -0,0 +1,6 @@ +# GCC 128-bit long double support routines. +LIB2ADD += $(srcdir)/config/rs6000/ibm-ldouble.c + +HOST_LIBGCC2_CFLAGS += -mlong-double-128 + +SHLIB_MAPFILES += $(srcdir)/config/rs6000/libgcc-ppc64.ver diff --git a/libgcc/config/rs6000/t-ldbl128 b/libgcc/config/rs6000/t-ldbl128 index bdd62f3cdee..ecc3581b1a0 100644 --- a/libgcc/config/rs6000/t-ldbl128 +++ b/libgcc/config/rs6000/t-ldbl128 @@ -1,3 +1,3 @@ -SHLIB_MAPFILES += $(gcc_srcdir)/config/rs6000/libgcc-ppc-glibc.ver +SHLIB_MAPFILES += $(srcdir)/config/rs6000/libgcc-ppc-glibc.ver HOST_LIBGCC2_CFLAGS += -mlong-double-128 diff --git a/libgcc/config/rs6000/t-linux64 b/libgcc/config/rs6000/t-linux64 new file mode 100644 index 00000000000..7b08315abc0 --- /dev/null +++ b/libgcc/config/rs6000/t-linux64 @@ -0,0 +1,2 @@ +softfp_wrap_start := '\#ifndef __powerpc64__' +softfp_wrap_end := '\#endif' diff --git a/libgcc/config/rs6000/t-ppccomm b/libgcc/config/rs6000/t-ppccomm index 4548cd76c17..f75bee22737 100644 --- a/libgcc/config/rs6000/t-ppccomm +++ b/libgcc/config/rs6000/t-ppccomm @@ -1,3 +1,5 @@ +LIB2ADD += $(srcdir)/config/rs6000/ibm-ldouble.c + LIB2ADD_ST += crtsavfpr.S crtresfpr.S \ crtsavgpr.S crtresgpr.S \ crtresxfpr.S crtresxgpr.S \ diff --git a/libgcc/config/rs6000/t-ppccomm-ldbl b/libgcc/config/rs6000/t-ppccomm-ldbl new file mode 100644 index 00000000000..f1d53606677 --- /dev/null +++ b/libgcc/config/rs6000/t-ppccomm-ldbl @@ -0,0 +1 @@ +LIB2ADD += $(srcdir)/config/rs6000/ibm-ldouble.c diff --git a/gcc/config/moxie/sfp-machine.h b/libgcc/config/score/sfp-machine.h index 98f9f1bf491..98f9f1bf491 100644 --- a/gcc/config/moxie/sfp-machine.h +++ b/libgcc/config/score/sfp-machine.h diff --git a/libgcc/config/t-softfp b/libgcc/config/t-softfp index 5d67da01780..35cfac094aa 100644 --- a/libgcc/config/t-softfp +++ b/libgcc/config/t-softfp @@ -1,14 +1,109 @@ +# Copyright (C) 2006, 2007, 2011 Free Software Foundation, Inc. + +# This file is part of GCC. + +# GCC is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. + +# GCC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with GCC; see the file COPYING3. If not see +# <http://www.gnu.org/licenses/>. + +# Targets using soft-fp should define the following variables: +# +# softfp_float_modes: a list of soft-float floating-point modes, +# e.g. sf df +# softfp_int_modes: a list of integer modes for which to define conversions, +# e.g. si di +# softfp_extensions: a list of extensions between floating-point modes, +# e.g. sfdf +# softfp_truncations: a list of truncations between floating-point modes, +# e.g. dfsf +# +# Extensions and truncations should include those where only one mode +# is a soft-float mode; for example, sftf where sf is hard-float and +# tf is soft-float. +# +# If the libgcc2.c functions should not be replaced, also define: +# +# softfp_exclude_libgcc2 := y +# +# Avoiding replacing the libgcc2.c functions is a temporary measure +# for targets with both hard-float and soft-float multilibs, since +# these variables apply for all multilibs. With toplevel libgcc, +# soft-fp can be used conditionally on the multilib instead. +# +# If the code should not be compiled at all for some multilibs, define: +# +# softfp_wrap_start: text to put at the start of wrapper source files, +# output with echo +# e.g. '#ifndef __powerpc64__' +# softfp_wrap_end: text to put at the end of wrapper source files, +# e.g. '#endif' +# +# This is another temporary measure. + +softfp_float_funcs = add$(m)3 div$(m)3 eq$(m)2 ge$(m)2 le$(m)2 mul$(m)3 \ + neg$(m)2 sub$(m)3 unord$(m)2 +softfp_floatint_funcs = fix$(m)$(i) fixuns$(m)$(i) \ + float$(i)$(m) floatun$(i)$(m) + +softfp_func_list := \ + $(foreach m,$(softfp_float_modes), \ + $(softfp_float_funcs) \ + $(foreach i,$(softfp_int_modes), \ + $(softfp_floatint_funcs))) \ + $(foreach e,$(softfp_extensions),extend$(e)2) \ + $(foreach t,$(softfp_truncations),trunc$(t)2) + +ifeq ($(softfp_exclude_libgcc2),y) +# This list is taken from mklibgcc.in and doesn't presently allow for +# 64-bit targets where si should become di and di should become ti. +softfp_func_list := $(filter-out floatdidf floatdisf fixunsdfsi fixunssfsi \ + fixunsdfdi fixdfdi fixunssfdi fixsfdi fixxfdi fixunsxfdi \ + floatdixf fixunsxfsi fixtfdi fixunstfdi floatditf \ + floatundidf floatundisf floatundixf floatunditf,$(softfp_func_list)) +endif + +ifeq ($(softfp_wrap_start),) +softfp_file_list := \ + $(addsuffix .c,$(addprefix $(srcdir)/soft-fp/,$(softfp_func_list))) +else +softfp_file_list := $(addsuffix .c,$(softfp_func_list)) + +$(softfp_file_list): + echo $(softfp_wrap_start) > $@ + echo '#include "soft-fp/$@"' >> $@ + echo $(softfp_wrap_end) >> $@ +endif + # Disable missing prototype and type limit warnings. The prototypes # for the functions in the soft-fp files have not been brought across # from glibc. -# cfr. srcdirify in gcc/Makefile.in -soft-fp-files = $(filter $(gcc_srcdir)/config/soft-fp/%, $(LIB2ADD)) \ - $(filter $(gcc_objdir)/config/soft-fp/%, $(LIB2ADD)) +soft-fp-objects = $(addsuffix $(objext), $(softfp_file_list)) \ + $(addsuffix _s$(objext), $(softfp_file_list)) -soft-fp-objects-base = $(basename $(notdir $(soft-fp-files))) +$(soft-fp-objects) : INTERNAL_CFLAGS += -Wno-missing-prototypes -Wno-type-limits -soft-fp-objects = $(addsuffix $(objext), $(soft-fp-objects-base)) \ - $(addsuffix _s$(objext), $(soft-fp-objects-base)) +LIB2ADD += $(softfp_file_list) -$(soft-fp-objects) : INTERNAL_CFLAGS += -Wno-missing-prototypes -Wno-type-limits +ifneq ($(softfp_exclude_libgcc2),y) +# Functions in libgcc2.c are excluded for each soft-float mode (a +# target may have both soft-float and hard-float modes), for the fixed +# list of integer modes (si and di) for which libgcc2.c defines any +# such functions. Depending on the target, the si and di symbols may +# in fact define di and ti functions. + +LIB2FUNCS_EXCLUDE += \ + $(addprefix _,$(foreach m,$(softfp_float_modes), \ + $(foreach i,si di, \ + $(softfp_floatint_funcs)))) +endif diff --git a/libgcc/config/t-softfp-excl b/libgcc/config/t-softfp-excl new file mode 100644 index 00000000000..9d9786b6aa0 --- /dev/null +++ b/libgcc/config/t-softfp-excl @@ -0,0 +1 @@ +softfp_exclude_libgcc2 := y diff --git a/gcc/config/lm32/t-fprules-softfp b/libgcc/config/t-softfp-sfdf index f99f51cfdc0..2fbc63dcd17 100644 --- a/gcc/config/lm32/t-fprules-softfp +++ b/libgcc/config/t-softfp-sfdf @@ -2,4 +2,4 @@ softfp_float_modes := sf df softfp_int_modes := si di softfp_extensions := sfdf softfp_truncations := dfsf -softfp_machine_header := lm32/sfp-machine.h +softfp_exclude_libgcc2 := n diff --git a/gcc/config/i386/t-fprules-softfp b/libgcc/config/t-softfp-tf index 0b0068f9053..f567629ad0a 100644 --- a/gcc/config/i386/t-fprules-softfp +++ b/libgcc/config/t-softfp-tf @@ -2,5 +2,4 @@ softfp_float_modes := tf softfp_int_modes := si di ti softfp_extensions := sftf dftf xftf softfp_truncations := tfsf tfdf tfxf -softfp_machine_header := i386/sfp-machine.h softfp_exclude_libgcc2 := n diff --git a/libgcc/configure b/libgcc/configure index 0ead080691d..80bb61c80af 100644 --- a/libgcc/configure +++ b/libgcc/configure @@ -594,6 +594,7 @@ asm_hidden_op extra_parts cpu_type tmake_file +sfp_machine_header set_use_emutls set_have_cc_tls vis_hide @@ -4608,6 +4609,17 @@ if test "$enable_tls $gcc_cv_use_emutls" = "yes yes"; then fi +# Conditionalize the sfp-machine.h header for this target machine. +if test -z "${sfp_machine_header}"; then + sfp_machine_header=$cpu_type/sfp-machine.h + if test -f ${srcdir}/config/${sfp_machine_header}; then + : + else + sfp_machine_header=no-sfp-machine.h + fi +fi + + # Conditionalize the makefile for this target machine. tmake_file_= for f in ${tmake_file} @@ -4630,6 +4642,8 @@ ac_config_links="$ac_config_links unwind.h:$unwind_header" ac_config_links="$ac_config_links md-unwind-support.h:config/$md_unwind_header" +ac_config_links="$ac_config_links sfp-machine.h:config/$sfp_machine_header" + # We need multilib support. ac_config_files="$ac_config_files Makefile" @@ -5358,6 +5372,7 @@ do "enable-execute-stack.c") CONFIG_LINKS="$CONFIG_LINKS enable-execute-stack.c:$enable_execute_stack" ;; "unwind.h") CONFIG_LINKS="$CONFIG_LINKS unwind.h:$unwind_header" ;; "md-unwind-support.h") CONFIG_LINKS="$CONFIG_LINKS md-unwind-support.h:config/$md_unwind_header" ;; + "sfp-machine.h") CONFIG_LINKS="$CONFIG_LINKS sfp-machine.h:config/$sfp_machine_header" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; diff --git a/libgcc/configure.ac b/libgcc/configure.ac index 8e2d1accd9d..c1a3dce0f5b 100644 --- a/libgcc/configure.ac +++ b/libgcc/configure.ac @@ -273,6 +273,17 @@ if test "$enable_tls $gcc_cv_use_emutls" = "yes yes"; then fi AC_SUBST(set_use_emutls) +# Conditionalize the sfp-machine.h header for this target machine. +if test -z "${sfp_machine_header}"; then + sfp_machine_header=$cpu_type/sfp-machine.h + if test -f ${srcdir}/config/${sfp_machine_header}; then + : + else + sfp_machine_header=no-sfp-machine.h + fi +fi +AC_SUBST(sfp_machine_header) + # Conditionalize the makefile for this target machine. tmake_file_= for f in ${tmake_file} @@ -292,6 +303,7 @@ AC_SUBST(asm_hidden_op) AC_CONFIG_LINKS([enable-execute-stack.c:$enable_execute_stack]) AC_CONFIG_LINKS([unwind.h:$unwind_header]) AC_CONFIG_LINKS([md-unwind-support.h:config/$md_unwind_header]) +AC_CONFIG_LINKS([sfp-machine.h:config/$sfp_machine_header]) # We need multilib support. AC_CONFIG_FILES([Makefile]) diff --git a/gcc/config/soft-fp/README b/libgcc/soft-fp/README index ea58753ec17..361386de771 100644 --- a/gcc/config/soft-fp/README +++ b/libgcc/soft-fp/README @@ -1,4 +1,4 @@ -Except for t-softfp, conversions involving TImode and conversions involving +Except for conversions involving TImode and conversions involving XFmode, the files in this directory are part of the GNU C Library, not part of GCC. As described at <http://gcc.gnu.org/codingconventions.html>, changes should be made to the GNU C Library and the changed files then imported diff --git a/gcc/config/soft-fp/adddf3.c b/libgcc/soft-fp/adddf3.c index 24c03db0a64..24c03db0a64 100644 --- a/gcc/config/soft-fp/adddf3.c +++ b/libgcc/soft-fp/adddf3.c diff --git a/gcc/config/soft-fp/addsf3.c b/libgcc/soft-fp/addsf3.c index b86991ee562..b86991ee562 100644 --- a/gcc/config/soft-fp/addsf3.c +++ b/libgcc/soft-fp/addsf3.c diff --git a/gcc/config/soft-fp/addtf3.c b/libgcc/soft-fp/addtf3.c index 49b67f0ba96..49b67f0ba96 100644 --- a/gcc/config/soft-fp/addtf3.c +++ b/libgcc/soft-fp/addtf3.c diff --git a/gcc/config/soft-fp/divdf3.c b/libgcc/soft-fp/divdf3.c index c3bb0d247cb..c3bb0d247cb 100644 --- a/gcc/config/soft-fp/divdf3.c +++ b/libgcc/soft-fp/divdf3.c diff --git a/gcc/config/soft-fp/divsf3.c b/libgcc/soft-fp/divsf3.c index 176bb3c2cb3..176bb3c2cb3 100644 --- a/gcc/config/soft-fp/divsf3.c +++ b/libgcc/soft-fp/divsf3.c diff --git a/gcc/config/soft-fp/divtf3.c b/libgcc/soft-fp/divtf3.c index 916fbfe9748..916fbfe9748 100644 --- a/gcc/config/soft-fp/divtf3.c +++ b/libgcc/soft-fp/divtf3.c diff --git a/gcc/config/soft-fp/double.h b/libgcc/soft-fp/double.h index 1cde3308bac..1cde3308bac 100644 --- a/gcc/config/soft-fp/double.h +++ b/libgcc/soft-fp/double.h diff --git a/gcc/config/soft-fp/eqdf2.c b/libgcc/soft-fp/eqdf2.c index 82a885834c0..82a885834c0 100644 --- a/gcc/config/soft-fp/eqdf2.c +++ b/libgcc/soft-fp/eqdf2.c diff --git a/gcc/config/soft-fp/eqsf2.c b/libgcc/soft-fp/eqsf2.c index 0a1180f876f..0a1180f876f 100644 --- a/gcc/config/soft-fp/eqsf2.c +++ b/libgcc/soft-fp/eqsf2.c diff --git a/gcc/config/soft-fp/eqtf2.c b/libgcc/soft-fp/eqtf2.c index 46240b73559..46240b73559 100644 --- a/gcc/config/soft-fp/eqtf2.c +++ b/libgcc/soft-fp/eqtf2.c diff --git a/gcc/config/soft-fp/extenddftf2.c b/libgcc/soft-fp/extenddftf2.c index 4101639a947..4101639a947 100644 --- a/gcc/config/soft-fp/extenddftf2.c +++ b/libgcc/soft-fp/extenddftf2.c diff --git a/gcc/config/soft-fp/extended.h b/libgcc/soft-fp/extended.h index e5f16debecb..e5f16debecb 100644 --- a/gcc/config/soft-fp/extended.h +++ b/libgcc/soft-fp/extended.h diff --git a/gcc/config/soft-fp/extendsfdf2.c b/libgcc/soft-fp/extendsfdf2.c index fba22d5a197..fba22d5a197 100644 --- a/gcc/config/soft-fp/extendsfdf2.c +++ b/libgcc/soft-fp/extendsfdf2.c diff --git a/gcc/config/soft-fp/extendsftf2.c b/libgcc/soft-fp/extendsftf2.c index c43cf1edee5..c43cf1edee5 100644 --- a/gcc/config/soft-fp/extendsftf2.c +++ b/libgcc/soft-fp/extendsftf2.c diff --git a/gcc/config/soft-fp/extendxftf2.c b/libgcc/soft-fp/extendxftf2.c index af29a2ae9cc..af29a2ae9cc 100644 --- a/gcc/config/soft-fp/extendxftf2.c +++ b/libgcc/soft-fp/extendxftf2.c diff --git a/gcc/config/soft-fp/fixdfdi.c b/libgcc/soft-fp/fixdfdi.c index fdfe35af519..fdfe35af519 100644 --- a/gcc/config/soft-fp/fixdfdi.c +++ b/libgcc/soft-fp/fixdfdi.c diff --git a/gcc/config/soft-fp/fixdfsi.c b/libgcc/soft-fp/fixdfsi.c index a05f3e39a5f..a05f3e39a5f 100644 --- a/gcc/config/soft-fp/fixdfsi.c +++ b/libgcc/soft-fp/fixdfsi.c diff --git a/gcc/config/soft-fp/fixdfti.c b/libgcc/soft-fp/fixdfti.c index 473165725e1..473165725e1 100644 --- a/gcc/config/soft-fp/fixdfti.c +++ b/libgcc/soft-fp/fixdfti.c diff --git a/gcc/config/soft-fp/fixsfdi.c b/libgcc/soft-fp/fixsfdi.c index 384d9bdd536..384d9bdd536 100644 --- a/gcc/config/soft-fp/fixsfdi.c +++ b/libgcc/soft-fp/fixsfdi.c diff --git a/gcc/config/soft-fp/fixsfsi.c b/libgcc/soft-fp/fixsfsi.c index 1d40ed05df7..1d40ed05df7 100644 --- a/gcc/config/soft-fp/fixsfsi.c +++ b/libgcc/soft-fp/fixsfsi.c diff --git a/gcc/config/soft-fp/fixsfti.c b/libgcc/soft-fp/fixsfti.c index 779628eb403..779628eb403 100644 --- a/gcc/config/soft-fp/fixsfti.c +++ b/libgcc/soft-fp/fixsfti.c diff --git a/gcc/config/soft-fp/fixtfdi.c b/libgcc/soft-fp/fixtfdi.c index ea10ce2dd3b..ea10ce2dd3b 100644 --- a/gcc/config/soft-fp/fixtfdi.c +++ b/libgcc/soft-fp/fixtfdi.c diff --git a/gcc/config/soft-fp/fixtfsi.c b/libgcc/soft-fp/fixtfsi.c index eb71038bc35..eb71038bc35 100644 --- a/gcc/config/soft-fp/fixtfsi.c +++ b/libgcc/soft-fp/fixtfsi.c diff --git a/gcc/config/soft-fp/fixtfti.c b/libgcc/soft-fp/fixtfti.c index 8311ea5a72c..8311ea5a72c 100644 --- a/gcc/config/soft-fp/fixtfti.c +++ b/libgcc/soft-fp/fixtfti.c diff --git a/gcc/config/soft-fp/fixunsdfdi.c b/libgcc/soft-fp/fixunsdfdi.c index d85198f1853..d85198f1853 100644 --- a/gcc/config/soft-fp/fixunsdfdi.c +++ b/libgcc/soft-fp/fixunsdfdi.c diff --git a/gcc/config/soft-fp/fixunsdfsi.c b/libgcc/soft-fp/fixunsdfsi.c index 492ffdea680..492ffdea680 100644 --- a/gcc/config/soft-fp/fixunsdfsi.c +++ b/libgcc/soft-fp/fixunsdfsi.c diff --git a/gcc/config/soft-fp/fixunsdfti.c b/libgcc/soft-fp/fixunsdfti.c index 48c41d4ac99..48c41d4ac99 100644 --- a/gcc/config/soft-fp/fixunsdfti.c +++ b/libgcc/soft-fp/fixunsdfti.c diff --git a/gcc/config/soft-fp/fixunssfdi.c b/libgcc/soft-fp/fixunssfdi.c index 54841538372..54841538372 100644 --- a/gcc/config/soft-fp/fixunssfdi.c +++ b/libgcc/soft-fp/fixunssfdi.c diff --git a/gcc/config/soft-fp/fixunssfsi.c b/libgcc/soft-fp/fixunssfsi.c index ac9d4b9654f..ac9d4b9654f 100644 --- a/gcc/config/soft-fp/fixunssfsi.c +++ b/libgcc/soft-fp/fixunssfsi.c diff --git a/gcc/config/soft-fp/fixunssfti.c b/libgcc/soft-fp/fixunssfti.c index 89bcedbadc3..89bcedbadc3 100644 --- a/gcc/config/soft-fp/fixunssfti.c +++ b/libgcc/soft-fp/fixunssfti.c diff --git a/gcc/config/soft-fp/fixunstfdi.c b/libgcc/soft-fp/fixunstfdi.c index 86f1fc85629..86f1fc85629 100644 --- a/gcc/config/soft-fp/fixunstfdi.c +++ b/libgcc/soft-fp/fixunstfdi.c diff --git a/gcc/config/soft-fp/fixunstfsi.c b/libgcc/soft-fp/fixunstfsi.c index e0335da4790..e0335da4790 100644 --- a/gcc/config/soft-fp/fixunstfsi.c +++ b/libgcc/soft-fp/fixunstfsi.c diff --git a/gcc/config/soft-fp/fixunstfti.c b/libgcc/soft-fp/fixunstfti.c index f62bd505c64..f62bd505c64 100644 --- a/gcc/config/soft-fp/fixunstfti.c +++ b/libgcc/soft-fp/fixunstfti.c diff --git a/gcc/config/soft-fp/floatdidf.c b/libgcc/soft-fp/floatdidf.c index 21e9fb1899c..21e9fb1899c 100644 --- a/gcc/config/soft-fp/floatdidf.c +++ b/libgcc/soft-fp/floatdidf.c diff --git a/gcc/config/soft-fp/floatdisf.c b/libgcc/soft-fp/floatdisf.c index ee57915c3b8..ee57915c3b8 100644 --- a/gcc/config/soft-fp/floatdisf.c +++ b/libgcc/soft-fp/floatdisf.c diff --git a/gcc/config/soft-fp/floatditf.c b/libgcc/soft-fp/floatditf.c index 564800bc05a..564800bc05a 100644 --- a/gcc/config/soft-fp/floatditf.c +++ b/libgcc/soft-fp/floatditf.c diff --git a/gcc/config/soft-fp/floatsidf.c b/libgcc/soft-fp/floatsidf.c index b6d5f8d1d2a..b6d5f8d1d2a 100644 --- a/gcc/config/soft-fp/floatsidf.c +++ b/libgcc/soft-fp/floatsidf.c diff --git a/gcc/config/soft-fp/floatsisf.c b/libgcc/soft-fp/floatsisf.c index 76217fe3478..76217fe3478 100644 --- a/gcc/config/soft-fp/floatsisf.c +++ b/libgcc/soft-fp/floatsisf.c diff --git a/gcc/config/soft-fp/floatsitf.c b/libgcc/soft-fp/floatsitf.c index 8c3d9cc6193..8c3d9cc6193 100644 --- a/gcc/config/soft-fp/floatsitf.c +++ b/libgcc/soft-fp/floatsitf.c diff --git a/gcc/config/soft-fp/floattidf.c b/libgcc/soft-fp/floattidf.c index 14b6ea36a7a..14b6ea36a7a 100644 --- a/gcc/config/soft-fp/floattidf.c +++ b/libgcc/soft-fp/floattidf.c diff --git a/gcc/config/soft-fp/floattisf.c b/libgcc/soft-fp/floattisf.c index 475cafa2770..475cafa2770 100644 --- a/gcc/config/soft-fp/floattisf.c +++ b/libgcc/soft-fp/floattisf.c diff --git a/gcc/config/soft-fp/floattitf.c b/libgcc/soft-fp/floattitf.c index 12bbb2772c2..12bbb2772c2 100644 --- a/gcc/config/soft-fp/floattitf.c +++ b/libgcc/soft-fp/floattitf.c diff --git a/gcc/config/soft-fp/floatundidf.c b/libgcc/soft-fp/floatundidf.c index af8e4a5aefe..af8e4a5aefe 100644 --- a/gcc/config/soft-fp/floatundidf.c +++ b/libgcc/soft-fp/floatundidf.c diff --git a/gcc/config/soft-fp/floatundisf.c b/libgcc/soft-fp/floatundisf.c index 977f7dfc79f..977f7dfc79f 100644 --- a/gcc/config/soft-fp/floatundisf.c +++ b/libgcc/soft-fp/floatundisf.c diff --git a/gcc/config/soft-fp/floatunditf.c b/libgcc/soft-fp/floatunditf.c index ab357f051c3..ab357f051c3 100644 --- a/gcc/config/soft-fp/floatunditf.c +++ b/libgcc/soft-fp/floatunditf.c diff --git a/gcc/config/soft-fp/floatunsidf.c b/libgcc/soft-fp/floatunsidf.c index 12d0f25bf0f..12d0f25bf0f 100644 --- a/gcc/config/soft-fp/floatunsidf.c +++ b/libgcc/soft-fp/floatunsidf.c diff --git a/gcc/config/soft-fp/floatunsisf.c b/libgcc/soft-fp/floatunsisf.c index 80c5d3d359f..80c5d3d359f 100644 --- a/gcc/config/soft-fp/floatunsisf.c +++ b/libgcc/soft-fp/floatunsisf.c diff --git a/gcc/config/soft-fp/floatunsitf.c b/libgcc/soft-fp/floatunsitf.c index c993716e54a..c993716e54a 100644 --- a/gcc/config/soft-fp/floatunsitf.c +++ b/libgcc/soft-fp/floatunsitf.c diff --git a/gcc/config/soft-fp/floatuntidf.c b/libgcc/soft-fp/floatuntidf.c index db1fe1aacb6..db1fe1aacb6 100644 --- a/gcc/config/soft-fp/floatuntidf.c +++ b/libgcc/soft-fp/floatuntidf.c diff --git a/gcc/config/soft-fp/floatuntisf.c b/libgcc/soft-fp/floatuntisf.c index 73914878b2e..73914878b2e 100644 --- a/gcc/config/soft-fp/floatuntisf.c +++ b/libgcc/soft-fp/floatuntisf.c diff --git a/gcc/config/soft-fp/floatuntitf.c b/libgcc/soft-fp/floatuntitf.c index 8d669012644..8d669012644 100644 --- a/gcc/config/soft-fp/floatuntitf.c +++ b/libgcc/soft-fp/floatuntitf.c diff --git a/gcc/config/soft-fp/gedf2.c b/libgcc/soft-fp/gedf2.c index 17a0453adce..17a0453adce 100644 --- a/gcc/config/soft-fp/gedf2.c +++ b/libgcc/soft-fp/gedf2.c diff --git a/gcc/config/soft-fp/gesf2.c b/libgcc/soft-fp/gesf2.c index 609a61f31dd..609a61f31dd 100644 --- a/gcc/config/soft-fp/gesf2.c +++ b/libgcc/soft-fp/gesf2.c diff --git a/gcc/config/soft-fp/getf2.c b/libgcc/soft-fp/getf2.c index eb52d05a4c5..eb52d05a4c5 100644 --- a/gcc/config/soft-fp/getf2.c +++ b/libgcc/soft-fp/getf2.c diff --git a/gcc/config/soft-fp/ledf2.c b/libgcc/soft-fp/ledf2.c index b8ba4400d36..b8ba4400d36 100644 --- a/gcc/config/soft-fp/ledf2.c +++ b/libgcc/soft-fp/ledf2.c diff --git a/gcc/config/soft-fp/lesf2.c b/libgcc/soft-fp/lesf2.c index cb359c91036..cb359c91036 100644 --- a/gcc/config/soft-fp/lesf2.c +++ b/libgcc/soft-fp/lesf2.c diff --git a/gcc/config/soft-fp/letf2.c b/libgcc/soft-fp/letf2.c index 01fd12b5721..01fd12b5721 100644 --- a/gcc/config/soft-fp/letf2.c +++ b/libgcc/soft-fp/letf2.c diff --git a/gcc/config/soft-fp/muldf3.c b/libgcc/soft-fp/muldf3.c index 7eb2015ae56..7eb2015ae56 100644 --- a/gcc/config/soft-fp/muldf3.c +++ b/libgcc/soft-fp/muldf3.c diff --git a/gcc/config/soft-fp/mulsf3.c b/libgcc/soft-fp/mulsf3.c index 5df44068720..5df44068720 100644 --- a/gcc/config/soft-fp/mulsf3.c +++ b/libgcc/soft-fp/mulsf3.c diff --git a/gcc/config/soft-fp/multf3.c b/libgcc/soft-fp/multf3.c index 0abab6ddc3b..0abab6ddc3b 100644 --- a/gcc/config/soft-fp/multf3.c +++ b/libgcc/soft-fp/multf3.c diff --git a/gcc/config/soft-fp/negdf2.c b/libgcc/soft-fp/negdf2.c index 54869e9a68d..54869e9a68d 100644 --- a/gcc/config/soft-fp/negdf2.c +++ b/libgcc/soft-fp/negdf2.c diff --git a/gcc/config/soft-fp/negsf2.c b/libgcc/soft-fp/negsf2.c index bf5db7a452c..bf5db7a452c 100644 --- a/gcc/config/soft-fp/negsf2.c +++ b/libgcc/soft-fp/negsf2.c diff --git a/gcc/config/soft-fp/negtf2.c b/libgcc/soft-fp/negtf2.c index 5524c82df1c..5524c82df1c 100644 --- a/gcc/config/soft-fp/negtf2.c +++ b/libgcc/soft-fp/negtf2.c diff --git a/gcc/config/soft-fp/op-1.h b/libgcc/soft-fp/op-1.h index 35cd0ba7bb1..35cd0ba7bb1 100644 --- a/gcc/config/soft-fp/op-1.h +++ b/libgcc/soft-fp/op-1.h diff --git a/gcc/config/soft-fp/op-2.h b/libgcc/soft-fp/op-2.h index 3a3b3aa0691..3a3b3aa0691 100644 --- a/gcc/config/soft-fp/op-2.h +++ b/libgcc/soft-fp/op-2.h diff --git a/gcc/config/soft-fp/op-4.h b/libgcc/soft-fp/op-4.h index 70b9fafbe5a..70b9fafbe5a 100644 --- a/gcc/config/soft-fp/op-4.h +++ b/libgcc/soft-fp/op-4.h diff --git a/gcc/config/soft-fp/op-8.h b/libgcc/soft-fp/op-8.h index e0612a5e62f..e0612a5e62f 100644 --- a/gcc/config/soft-fp/op-8.h +++ b/libgcc/soft-fp/op-8.h diff --git a/gcc/config/soft-fp/op-common.h b/libgcc/soft-fp/op-common.h index ef11b527b70..ef11b527b70 100644 --- a/gcc/config/soft-fp/op-common.h +++ b/libgcc/soft-fp/op-common.h diff --git a/gcc/config/soft-fp/quad.h b/libgcc/soft-fp/quad.h index c22e944029f..c22e944029f 100644 --- a/gcc/config/soft-fp/quad.h +++ b/libgcc/soft-fp/quad.h diff --git a/gcc/config/soft-fp/single.h b/libgcc/soft-fp/single.h index 9c3734adf48..9c3734adf48 100644 --- a/gcc/config/soft-fp/single.h +++ b/libgcc/soft-fp/single.h diff --git a/gcc/config/soft-fp/soft-fp.h b/libgcc/soft-fp/soft-fp.h index 23073573468..23073573468 100644 --- a/gcc/config/soft-fp/soft-fp.h +++ b/libgcc/soft-fp/soft-fp.h diff --git a/gcc/config/soft-fp/subdf3.c b/libgcc/soft-fp/subdf3.c index 3978b52998d..3978b52998d 100644 --- a/gcc/config/soft-fp/subdf3.c +++ b/libgcc/soft-fp/subdf3.c diff --git a/gcc/config/soft-fp/subsf3.c b/libgcc/soft-fp/subsf3.c index f1cbdd1ff1f..f1cbdd1ff1f 100644 --- a/gcc/config/soft-fp/subsf3.c +++ b/libgcc/soft-fp/subsf3.c diff --git a/gcc/config/soft-fp/subtf3.c b/libgcc/soft-fp/subtf3.c index 7ba4c8c5ea0..7ba4c8c5ea0 100644 --- a/gcc/config/soft-fp/subtf3.c +++ b/libgcc/soft-fp/subtf3.c diff --git a/gcc/config/soft-fp/truncdfsf2.c b/libgcc/soft-fp/truncdfsf2.c index bd953912e98..bd953912e98 100644 --- a/gcc/config/soft-fp/truncdfsf2.c +++ b/libgcc/soft-fp/truncdfsf2.c diff --git a/gcc/config/soft-fp/trunctfdf2.c b/libgcc/soft-fp/trunctfdf2.c index c3827b08abe..c3827b08abe 100644 --- a/gcc/config/soft-fp/trunctfdf2.c +++ b/libgcc/soft-fp/trunctfdf2.c diff --git a/gcc/config/soft-fp/trunctfsf2.c b/libgcc/soft-fp/trunctfsf2.c index 676c937e20a..676c937e20a 100644 --- a/gcc/config/soft-fp/trunctfsf2.c +++ b/libgcc/soft-fp/trunctfsf2.c diff --git a/gcc/config/soft-fp/trunctfxf2.c b/libgcc/soft-fp/trunctfxf2.c index 50d60bc5d53..50d60bc5d53 100644 --- a/gcc/config/soft-fp/trunctfxf2.c +++ b/libgcc/soft-fp/trunctfxf2.c diff --git a/gcc/config/soft-fp/unorddf2.c b/libgcc/soft-fp/unorddf2.c index 5ea63e2b976..5ea63e2b976 100644 --- a/gcc/config/soft-fp/unorddf2.c +++ b/libgcc/soft-fp/unorddf2.c diff --git a/gcc/config/soft-fp/unordsf2.c b/libgcc/soft-fp/unordsf2.c index 6d0afe853e2..6d0afe853e2 100644 --- a/gcc/config/soft-fp/unordsf2.c +++ b/libgcc/soft-fp/unordsf2.c diff --git a/gcc/config/soft-fp/unordtf2.c b/libgcc/soft-fp/unordtf2.c index 9d1bd916c81..9d1bd916c81 100644 --- a/gcc/config/soft-fp/unordtf2.c +++ b/libgcc/soft-fp/unordtf2.c |