diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-05 14:53:09 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-05 14:53:09 +0000 |
commit | a23b9c51a0b27c4507a2fb82275b725b6d6fc8eb (patch) | |
tree | 24104c84aafe6bb8ace23e951f7e0950cbc3d4fa /libgcc/config.host | |
parent | e59be7e3775cce7a65bfac5c9aeb5f76d42f539b (diff) | |
download | gcc-a23b9c51a0b27c4507a2fb82275b725b6d6fc8eb.tar.gz |
gcc:
* Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): Remove.
(libgcc-support): Remove $(FPBIT), $(DPBIT), $(TPBIT)
dependencies.
(libgcc.mvars): Remove FPBIT, FPBIT_FUNCS, DPBIT, DPBIT_FUNCS,
TPBIT, TPBIT_FUNCS.
* config/fp-bit.c, config/fp-bit.h: Move to ../libgcc.
* config/arm/t-strongarm-elf (FPBIT, DPBIT, dp-bit.c, fp-bit.c):
Remove.
* config/arm/t-vxworks: Likewise.
* config/arm/t-wince-pe: Likewise.
* config/avr/t-avr (fp-bit.c, FPBIT): Remove.
* config/bfin/t-bfin (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove.
* config/bfin/t-bfin-elf: Likewise.
* config/bfin/t-bfin-linux: Likewise.
* config/bfin/t-bfin-uclinux: Likewise.
* config/cris/t-cris (FPBIT, DPBIT, dp-bit.c, tmplibgcc_fp_bit.c):
Remove.
* config/fr30/t-fr30: Likewise.
* config/frv/t-frv: Likewise.
* config/h8300/t-h8300 (FPBIT, fp-bit.c): Remove.
* config/iq2000/t-iq2000 (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove.
* config/m32c/t-m32c: Likewise.
* config/m32r/t-linux: (LIB2FUNCS_EXTRA, fp-bit.c, dp-bit.c): Remove.
* config/m32r/t-m32r (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove.
* config/mcore/t-mcore: Likewise.
* config/mep/t-mep: Likewise.
* config/microblaze/t-microblaze: Likewise.
* config/mips/t-linux64 (TPBIT, tp-bit.c): Remove.
* config/mips/t-mips (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove.
* config/mips/t-sdemtk (FPBIT, DPBIT): Remove.
* config/mips/t-sr71k (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove.
* config/mn10300/t-linux: Remove.
* config/mn10300/t-mn10300 (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove.
* config/pdp11/t-pdp11: Likewise.
* config/picochip/t-picochip (FPBIT, fp-bit.c): Remove.
* config/rs6000/ppc64-fp.c: Move to ../libgcc/config/rs6000.
* config/rs6000/t-aix43 (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove.
(LIB2FUNCS_EXTRA): Remove $(srcdir)/config/rs6000/ppc64-fp.c.
* config/rs6000/t-aix52: Likewise.
* config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Remove
$(srcdir)/config/rs6000/ppc64-fp.c.
* config/rs6000/t-fprules-fpbit: Remove.
* config/rs6000/t-linux64 (LIB2FUNCS_EXTRA): Remove.
* config/rs6000/t-lynx (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove.
* config/sh/t-netbsd (FPBIT, DPBIT): Remove.
* config/sh/t-sh (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove.
* config/sparc/t-elf: Likewise.
* config/sparc/t-leon: Likewise.
* config/sparc/t-leon3: Likewise.
* config/spu/t-spu-elf: Likewise.
(DPBIT_FUNCS): Remove.
* config/stormy16/t-stormy16 (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove.
* config/v850/t-v850: Likewise.
* config.gcc (avr-*-rtems*): Add avr/avr-lib.h to libgcc_tm_file.
(avr-*-*): Likewise.
(h8300-*-rtems*): Set libgcc_tm_file.
(h8300-*-elf*): Likewise.
(powerpc-*-eabisimaltivec*): Remove rs6000/t-fprules-fpbit from
tmake_file.
(powerpc-*-eabisim*): Likewise.
(powerpc-*-elf*): Likewise.
(powerpc-*-eabialtivec*): Likewise.
(powerpc-xilinx-eabi*): Likewise.
(powerpc-*-eabi*): Likewise.
(powerpc-*-rtems*): Likewise.
(powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Likewise.
(powerpcle-*-elf*): Likewise.
(powerpcle-*-eabisim*): Likewise.
(powerpcle-*-eabi*): Likewise.
(rx-*-elf*): Add rx/rx-lib.h to libgcc_tm_file.
(am33_2.0-*-linux*): Remove mn10300/t-linux from tmake_file.
* doc/fragments.texi (Target Fragment, Floating Point Emulation):
Remove.
gcc/po:
* EXCLUDES (config/fp-bit.c, config/fp-bit.h): Remove.
libgcc:
* Makefile.in (double_type_size, long_double_type_size): Set.
Remove $(fpbit-in-libgcc) support.
(FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
(fpbit-src): New variable.
($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
Compile with -DFLOAT $(FPBIT_CFLAGS).
Use $<.
($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
Compile with $(FPBIT_CFLAGS).
Use $<.
($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
Compile with -DFLOAT $(TPBIT_CFLAGS).
Use $<.
* configure.ac (double_type_size, long_double_type_size):
Determine and substitute.
* configure: Regenerate.
* fp-bit.c, fp-bit.h: New files.
* config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
* config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
* config/mips/t-mips: New file.
* config/mips/t-sdemtk: New file.
* config/rs6000/ppc64-fp.c: New file.
* config/rs6000/t-darwin (LIB2ADD): Add
$(srcdir)/config/rs6000/ppc64-fp.c.
* config/rs6000/t-ppc64-fp: New file.
* config/rx/rx-lib.h: New file.
* config/rx/t-rx (FPBIT): Set to true.
($(gcc_objdir)/fp-bit.c): Remove.
(DPBIT): Set to true only with -m64bit-doubles.
($(gcc_objdir)/dp-bit.c): Remove.
* config/sparc/t-softfp: Remove.
* config/spu/t-elf: New file.
* config/t-fdpbit, config/t-fpbit: New files.
* config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
(mips*-*-*): Likewise.
(arm-wrs-vxworks): Likewise.
(arm*-*-freebsd*): Likewise.
(avr-*-rtems*): Add t-fpbit to tmake_file.
(avr-*-*): Likewise.
(bfin*-elf*): Add t-fdpbit to tmake_file.
(bfin*-uclinux*): Likewise.
(bfin*-linux-uclibc*): Likewise.
(bfin*-rtems*): New case.
Add t-fdpbit to tmake_file.
(bfin*-*): Add t-fdpbit to tmake_file.
(crisv32-*-elf): Likewise.
(cris-*-linux*): Likewise.
(fr30-*-elf): Likewise.
(frv-*-elf, frv-*-*linux*): Likewise.
(h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
(iq2000*-*-elf*): Add t-fdpbit to tmake_file.
(m32r-*-elf*): Likewise.
(m32rle-*-elf*): Likewise.
(m32r-*-linux*): Likewise.
(m32rle-*-linux*): Likewise.
(mcore-*-elf): Add t-fdpbit to tmake_file.
(microblaze*-*-*): Likewise.
(mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
(mips*-*-netbsd*): Add mips/t-mips to tmake_file.
(mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
Fix typo.
Add mips/t-tpbit to tmake-file.
(mips*-*-linux*): Fix typo.
(mips*-sde-elf*): New case
Add mips/t-sdemtk unless using newlib.
(mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
(mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
(mn10300-*-*): Likewise.
(pdp11-*-*): Likewise.
(picochip-*-*): Add t-fpbit to tmake_file.
(powerpc-*-eabisimaltivec*): Likewise.
(powerpc-*-eabisim*): Likewise.
(powerpc-*-elf*): Likewise.
(powerpc-*-eabialtivec*): Likewise.
(powerpc-xilinx-eabi*): New case.
Add t-fdpbit to tmake_file.
(powerpc-*-eabi*): Add t-fdpbit to tmake_file.
(powerpc-*-rtems*): Likewise.
(powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
tmake_file.
(powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
tmake_file.
(powerpc-*-lynxos*): Likewise.
(powerpcle-*-elf*): Likewise.
(powerpcle-*-eabisim*): Likewise.
(powerpcle-*-eabi*): Likewise.
(rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
(rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
(rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
(rx-*-elf): Add t-fdpbit to tmake_file.
(sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
(sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
(sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
(sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
sh*-*-netbsd*.
(sh-*-rtems*): Add t-fdpbit to tmake_file.
(sh-wrs-vxworks): Likewise.
(sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
(sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
(sparc-*-rtems*, sparc64-*-rtems*): Split off ...
(sparc64-*-rtems*): ... new case.
(sparc-*-rtems*): Add t-fdpbit to tmake_file.
(spu-*-elf*): Likewise.
Add spu/t-elf to tmake_file.
(v850*-*-*): Add t-fdpbit to tmake_file.
(xstormy16-*-elf): Likewise.
(am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
(mep*-*-*): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177448 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc/config.host')
-rw-r--r-- | libgcc/config.host | 111 |
1 files changed, 96 insertions, 15 deletions
diff --git a/libgcc/config.host b/libgcc/config.host index db00c4c2d8c..cd4f054336b 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -72,6 +72,7 @@ cpu_type=`echo ${host} | sed 's/-.*$//'` case ${host} in m32c*-*-*) cpu_type=m32c + tmake_file=t-fdpbit ;; alpha*-*-*) cpu_type=alpha @@ -121,6 +122,7 @@ microblaze*-*-*) ;; mips*-*-*) cpu_type=mips + tmake_file=mips/t-mips ;; powerpc*-*-*) cpu_type=rs6000 @@ -265,8 +267,10 @@ alpha*-dec-*vms*) md_unwind_header=alpha/vms-unwind.h ;; arm-wrs-vxworks) + tmake_file=t-fdpbit ;; arm*-*-freebsd*) + tmake_file=t-fdpbit ;; arm*-*-netbsdelf*) ;; @@ -309,40 +313,56 @@ arm*-*-elf) arm*-wince-pe*) ;; avr-*-rtems*) + tmake_file=t-fpbit ;; avr-*-*) - # Make HImode functions for AVR - tmake_file=${cpu_type}/t-avr + # Make HImode functions for AVR + tmake_file="${cpu_type}/t-avr t-fpbit" + ;; bfin*-elf*) + tmke_file=t-fdpbit ;; bfin*-uclinux*) + tmake_file=t-fdpbit md_unwind_header=bfin/linux-unwind.h ;; bfin*-linux-uclibc*) + tmake_file=t-fdpbit # No need to build crtbeginT.o on uClibc systems. Should probably # be moved to the OS specific section above. extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o" md_unwind_header=bfin/linux-unwind.h ;; +bfin*-rtems*) + tmake_file=t-fdpbit + ;; bfin*-*) + tmake_file=t-fdpbit ;; crisv32-*-elf | crisv32-*-none | cris-*-elf | cris-*-none) + tmake_file=t-fdpbit extra_parts="crtbegin.o crtend.o" ;; cris-*-linux* | crisv32-*-linux*) + tmake_file=t-fdpbit ;; fido-*-elf) ;; fr30-*-elf) + tmake_file=t-fdpbit ;; frv-*-elf) + tmake_file=t-fdpbit ;; frv-*-*linux*) + tmake_file=t-fdpbit ;; h8300-*-rtems*) + tmake_file=t-fpbit ;; h8300-*-elf*) + tmake_file=t-fpbit ;; hppa*64*-*-linux*) ;; @@ -458,6 +478,7 @@ ia64-hp-*vms*) md_unwind_header=ia64/vms-unwind.h ;; iq2000*-*-elf*) + tmake_file=t-fdpbit ;; lm32-*-elf*|lm32-*-rtems*) extra_parts="crtbegin.o crtend.o crti.o crtn.o" @@ -468,12 +489,16 @@ lm32-*-uclinux*) tmake_file="lm32/t-lm32 lm32/t-uclinux t-softfp" ;; m32r-*-elf*|m32r-*-rtems*) + tmake_file=t-fdpbit ;; m32rle-*-elf*) + tmake_file=t-fdpbit ;; m32r-*-linux*) + tmake_file=t-fdpbit ;; m32rle-*-linux*) + tmake_file=t-fdpbit ;; m68k-*-elf*) ;; @@ -492,29 +517,41 @@ m68k-*-linux*) # Motorola m68k's running GNU/Linux m68k-*-rtems*) ;; mcore-*-elf) + tmake_file=t-fdpbit ;; microblaze*-*-*) - tmake_file="microblaze/t-microblaze" + tmake_file="microblaze/t-microblaze t-fdpbit" ;; mips-sgi-irix6.5*) - tmake_file="mips/t-irix6 t-crtfm t-slibgcc mips/t-slibgcc-irix" + tmake_file="$tmake_file mips/t-irix6 t-crtfm mips/t-tpbit t-slibgcc mips/t-slibgcc-irix" extra_parts="crtbegin.o crtend.o crtfastmath.o irix-crti.o irix-crtn.o" md_unwind_header=mips/irix6-unwind.h ;; mips*-*-netbsd*) # NetBSD/mips, either endian. ;; -mips64*-*-linux*) +mips64*-*-linux* | mipsisa64*-*-linux*) extra_parts="$extra_parts crtfastmath.o" - tmake_file="{$tmake_file} t-crtfm" + tmake_file="${tmake_file} t-crtfm mips/t-tpbit" md_unwind_header=mips/linux-unwind.h ;; mips*-*-linux*) # Linux MIPS, either endian. extra_parts="$extra_parts crtfastmath.o" - tmake_file="{$tmake_file} t-crtfm" + tmake_file="${tmake_file} t-crtfm" md_unwind_header=mips/linux-unwind.h ;; mips*-*-openbsd*) ;; +mips*-sde-elf*) + case "${with_newlib}" in + yes) + # newlib / libgloss. + ;; + *) + # MIPS toolkit libraries. + tmake_file=mips/t-sdemtk + ;; + esac + ;; mipsisa32-*-elf* | mipsisa32el-*-elf*) ;; mipsisa32r2-*-elf* | mipsisa32r2el-*-elf*) @@ -524,6 +561,7 @@ mipsisa64-*-elf* | mipsisa64el-*-elf*) mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*) ;; mipsisa64sr71k-*-elf*) + tmake_file=t-fdpbit ;; mipsisa64sb1-*-elf* | mipsisa64sb1el-*-elf*) ;; @@ -546,15 +584,17 @@ mmix-knuth-mmixware) tmake_file="${tmake_file} ${cpu_type}/t-${cpu_type}" ;; mn10300-*-*) + tmake_file=t-fdpbit ;; moxie-*-*) tmake_file="moxie/t-moxie moxie/t-moxie-softfp" extra_parts="crtbegin.o crtend.o crti.o crtn.o" ;; pdp11-*-*) + tmake_file=t-fdpbit ;; picochip-*-*) - tmake_file=picochip/t-picochip + tmake_file="picochip/t-picochip t-fpbit" ;; powerpc-*-darwin*) case ${host} in @@ -580,44 +620,60 @@ powerpc-*-eabispe*) tmake_file="${tmake_file} rs6000/t-ppccomm" ;; powerpc-*-eabisimaltivec*) + tmake_file=t-fdpbit ;; powerpc-*-eabisim*) + tmake_file=t-fdpbit ;; powerpc-*-elf*) + tmake_file=t-fdpbit ;; powerpc-*-eabialtivec*) + tmake_file=t-fdpbit + ;; +powerpc-xilinx-eabi*) + tmake_file=t-fdpbit ;; powerpc-*-eabi*) - tmake_file="${tmake_file} rs6000/t-ppccomm" + tmake_file="${tmake_file} rs6000/t-ppccomm t-fdpbit" ;; powerpc-*-rtems*) + tmake_file=t-fdpbit ;; powerpc-*-linux* | powerpc64-*-linux*) - tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128 t-softfp t-dfprules" + tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128 t-softfp t-dfprules rs6000/t-ppc64-fp" md_unwind_header=rs6000/linux-unwind.h ;; powerpc-wrs-vxworks|powerpc-wrs-vxworksae) + tmake_file=t-fdpbit ;; powerpc-*-lynxos*) + tmake_file=t-fdpbit ;; powerpcle-*-elf*) + tmake_file=t-fdpbit ;; powerpcle-*-eabisim*) + tmake_file=t-fdpbit ;; powerpcle-*-eabi*) + tmake_file=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" ;; rs6000-ibm-aix5.1.* | powerpc-ibm-aix5.1.*) md_unwind_header=rs6000/aix-unwind.h + tmake_file="t-fdpbit rs6000/t-ppc64-fp" ;; rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*) md_unwind_header=rs6000/aix-unwind.h + tmake_file="t-fdpbit rs6000/t-ppc64-fp" ;; rx-*-elf) extra_parts="crtbegin.o crtend.o" - tmake_file="rx/t-rx" + tmake_file="rx/t-rx t-fdpbit" ;; s390-*-linux*) tmake_file="${tmake_file} s390/t-crtstuff s390/t-linux s390/32/t-floattodi" @@ -639,14 +695,25 @@ sh-*-elf* | sh[12346l]*-*-elf* | \ sh64-*-netbsd* | sh64l*-*-netbsd*) case ${host} in sh*-*-linux*) - tmake_file="${tmake_file} sh/t-linux" + tmake_file="${tmake_file} sh/t-linux t-fdpbit" md_unwind_header=sh/linux-unwind.h ;; + sh*-*-netbsd*) + # NetBSD's C library includes a fast software FP library that + # has support for setting/setting the rounding mode, exception + # mask, etc. Therefore, we don't want to include software FP + # in libgcc. + ;; + sh*-*-*) + tmake_file=t-fdpbit + ;; esac ;; sh-*-rtems*) + tmake_file=t-fdpbit ;; sh-wrs-vxworks) + tmake_file=t-fdpbit ;; sparc-*-netbsdelf*) ;; @@ -660,16 +727,21 @@ sparc-*-elf*) tmake_file="sparc/t-softmul" ;; esac - tmake_file="${tmake_file} sparc/t-softfp t-crtin t-crtfm" + tmake_file="${tmake_file} t-fdpbit t-crtin t-crtfm" extra_parts="crtbegin.o crtend.o crti.o crtn.o crtfastmath.o" ;; sparc-*-linux*) # SPARC's running GNU/Linux, libc6 + case ${host} in + *-leon*) + tmake_file=t-fdpbit + ;; + esac extra_parts="$extra_parts crtfastmath.o" tmake_file="${tmake_file} t-crtfm" md_unwind_header=sparc/linux-unwind.h ;; -sparc-*-rtems* | sparc64-*-rtems* ) - tmake_file="sparc/t-elf t-crtin t-crtfm t-rtems" +sparc-*-rtems*) + tmake_file="sparc/t-elf t-crtin t-crtfm t-rtems t-fdpbit" extra_parts="crtbegin.o crtend.o crti.o crtn.o crtfastmath.o" ;; sparc*-*-solaris2*) @@ -681,6 +753,10 @@ sparc64-*-elf*) tmake_file="${tmake_file} t-crtin t-crtfm" extra_parts="crtbegin.o crtend.o crti.o crtn.o crtfastmath.o" ;; +sparc64-*-rtems*) + tmake_file="sparc/t-elf t-crtin t-crtfm t-rtems" + extra_parts="crtbegin.o crtend.o crti.o crtn.o crtfastmath.o" + ;; sparc-wrs-vxworks) ;; sparc64-*-freebsd*|ultrasparc-*-freebsd*) @@ -695,11 +771,13 @@ sparc64-*-linux*) # 64-bit SPARC's running GNU/Linux sparc64-*-netbsd*) ;; spu-*-elf*) + tmake_file="t-fdpbit spu/t-elf" ;; tic6x-*-*) tmake_file="${tmake_file} t-gnu-prefix" ;; v850*-*-*) + tmake_file=t-fdpbit ;; vax-*-linux*) ;; @@ -708,6 +786,7 @@ vax-*-netbsdelf*) vax-*-openbsd*) ;; xstormy16-*-elf) + tmake_file=t-fdpbit ;; xtensa*-*-elf*) tmake_file=xtensa/t-xtensa @@ -718,10 +797,12 @@ xtensa*-*-linux*) ;; am33_2.0-*-linux*) extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o" + tmake_file=t-fdpbit ;; m32c-*-elf*|m32c-*-rtems*) ;; mep*-*-*) + tmake_file=t-fdpbit ;; *) echo "*** Configuration ${host} not supported" 1>&2 |