1. 01 Jan, 2019 1 commit
  2. 03 Jan, 2018 1 commit
  3. 01 Jan, 2017 1 commit
  4. 04 Jan, 2016 1 commit
  5. 05 Jan, 2015 1 commit
  6. 02 Jan, 2014 1 commit
  7. 10 Jan, 2013 1 commit
  8. 02 Nov, 2011 2 commits
    • Move libgcc2 to toplevel libgcc · f9989b51
      	toplevel:
      	* Makefile.tpl (EXTRA_GCC_FLAGS): Remove LIBGCC2_CFLAGS,
      	LIBGCC2_DEBUG_CFLAGS, LIBGCC2_INCLUDES.
      	* Makefile.in: Regenerate.
      
      	config:
      	* mh-interix (LIBGCC2_DEBUG_CFLAGS): Remove.
      
      	gcc:
      	* Makefile.in (LIBGCC2_DEBUG_CFLAGS LIBGCC2_CFLAGS)
      	(LIBGCC2_INCLUDES, TARGET_LIBGCC2_CFLAGS, LIB2FUNCS_EXTRA)
      	(LIB2FUNCS_STATIC_EXTRA, LIB2FUNCS_EXCLUDE, T, T_TARGET)
      	(INCLUDES_FOR_TARGET): Remove.
      	(LIBGCC2_CFLAGS): Don't export.
      	(LIB2FUNCS_ST, LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST, srcdirify):
      	Remove.
      	(libgcc-support): Remove $(LIB2ADD), $(LIB2ADD_ST) dependencies.
      	(libgcc.mvars): Likewise.
      	Don't emit LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE, LIB2ADD, LIB2ADD_ST,
      	LIB2_SIDITI_CONV_FUNCS, LIB2_DIVMOD_FUNCS, LIBGCC2_CFLAGS,
      	TARGET_LIBGCC2_CFLAGS.
      	Emit GTHREAD_FLAGS.
      	* libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: Move to ../libgcc.
      	* config/darwin-64.c: Move to ../libgcc/config.
      	* config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
      	config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
      	config/udivmodsi4.c: Move to ../libgcc/config.
      	* config/gthr-posix.c: Move to ../libgcc/config/alpha.
      	* config/memcmp.c, config/memcpy.c, config/memmove.c,
      	config/memset.c: Move to ../libgcc/config.
      	* config/t-darwin (TARGET_LIBGCC2_CFLAGS): Remove.
      	* config/t-freebsd: Remove.
      	* config/t-freebsd-thread: Move to ../libgcc/config.
      	* config/t-libgcc-pic: Move to ../libgcc/config.
      	* config/t-libunwind (TARGET_LIBGCC2_CFLAGS): Remove.
      	* config/t-linux: Remove.
      	* config/t-lynx (TARGET_LIBGCC2_CFLAGS, LIBGCC, INSTALL_LIBGCC):
      	Remove
      	* config/t-openbsd-thread: Move to ../libgcc/config.
      	* config/t-rtems (LIBGCC2_INCLUDES): Remove.
      	* config/t-sol2 (TARGET_LIBGCC2_CFLAGS): Remove.
      	* config/t-svr4: Remove.
      	* config/t-vxworks (LIBGCC, INSTALL_LIBGCC, TARGET_LIBGCC2_CFLAGS)
      	(LIBGCC2_DEBUG_CFLAGS, LIB2FUNCS_EXTRA, LIBGCC2_INCLUDES): Remove.
      	* config/vxlib.c, config/vxlib-tls.c: Move to ../libgcc/config.
      	* config/alpha/qrnnd.asm: Move to ../libgcc/config/alpha/qrnnd.S.
      	* config/alpha/t-alpha, config/alpha/t-ieee: Remove.
      	* config/alpha/t-vms (LIB2FUNCS_EXTRA, LIBGCC, INSTALL_LIBGCC):
      	Remove.
      	* config/alpha/vms-gcc_shell_handler.c: Move to ../libgcc/config/alpha.
      	* config/arm/bpabi.c, config/arm/unaligned-funcs.c,
      	config/arm/fp16.c, config/arm/linux-atomic.c,
      	config/arm/linux-atomic-64bit.c: Move to ../libgcc/config/arm.
      	* config/arm/t-arm-elf (LIBGCC, INSTALL_LIBGCC)
      	(TARGET_LIBGCC2_CFLAGS): Remove.
      	* config/arm/t-bpabi, config/arm/t-linux: Remove.
      	* config/arm/t-linux-eabi (TARGET_LIBGCC2_CFLAGS)
      	(LIB2FUNCS_STATIC_EXTRA): Remove.
      	* config/arm/t-netbsd: Remove.
      	* config/arm/t-strongarm-elf (LIBGCC, INSTALL_LIBGCC)
      	(TARGET_LIBGCC2_CFLAGS): Remove.
      	* config/arm/t-symbian (LIB2FUNCS_STATIC_EXTRA): Remove.
      	* config/arm/t-wince-pe (LIBGCC, INSTALL_LIBGCC)
      	(TARGET_LIBGCC2_CFLAGS): Remove.
      	* config/avr/t-avr (LIB2FUNCS_EXCLUDE, TARGET_LIBGCC2_CFLAGS)
      	(LIBGCC, INSTALL_LIBGCC): Remove.
      	* config/bfin/t-bfin-elf (TARGET_LIBGCC2_CFLAGS): Remove.
      	* config/bfin/t-bfin-linux: Likewise.
      	* config/bfin/t-bfin-uclinux: Likewise.
      	* config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
      	config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
      	config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
      	config/c6x/ltf.c: Move to ../libgcc/config/c6x.
      	* config/c6x/t-c6x-elf (LIB2FUNCS_EXCLUDE, LIB2FUNCS_EXTRA):
      	Remove.
      	* config/c6x/t-c6x-uclinux (TARGET_LIBGCC2_CFLAGS): Remove.
      	* config/cris/arit.c: Move to ../libgcc/config/cris.
      	* config/cris/cris_abi_symbol.c: Remove.
      	* config/cris/cris.h: Remove obsolete comment.
      	* config/cris/mulsi3.asm: Move to ../libgcc/config/cris/mulsi3.S.
      	* config/cris/t-cris (LIB2FUNCS_EXTRA, CRIS_LIB1CSRC)
      	($(LIB2FUNCS_EXTRA)): Remove.
      	* config/cris/t-elfmulti (LIB2FUNCS_STATIC_EXTRA, INSTALL_LIBGCC)
      	(LIBGCC): Remove.
      	* config/cris/t-linux (TARGET_LIBGCC2_CFLAGS): Remove.
      	* config/fr30/t-fr30: Remove.
      	* config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
      	config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
      	config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: Move
      	to ../libgcc/config/frv.
      	* config/frv/t-frv (LIB2FUNCS_EXTRA, TARGET_LIBGCC2_CFLAGS)
      	(cmovh.c, cmovw.c, cmovd.c, modi.c, umodi.c, uitof.c, uitod.c)
      	(ulltof.c, LIBGCC, INSTALL_LIBGCC): Remove.
      	* config/frv/t-linux (TARGET_LIBGCC2_CFLAGS): Remove.
      	* config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
      	config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
      	config/h8300/popcounthi2.c: Move to ../libgcc/config/h8300.
      	* config/h8300/t-h8300 (LIB2FUNCS_EXTRA, TARGET_LIBGCC2_CFLAGS)
      	(LIBGCC, INSTALL_LIBGCC): Remove.
      	* config/i386/gthr-win32.c: Move to ../libgcc/config/i386.
      	* config/i386/t-cygming (LIBGCC2_INCLUDES): Remove.
      	* config/i386/t-cygwin: Remove.
      	* config/i386/t-darwin (LIB2_SIDITI_CONV_FUNCS, LIB2FUNCS_EXTRA)
      	(LIB2FUNCS_EXCLUDE): Remove.
      	* config/i386/t-darwin64 (LIB2_SIDITI_CONV_FUNCS, LIB2FUNCS_EXTRA)
      	(LIBGCC, INSTALL_LIBGCC): Remove.
      	* config/i386/t-gthr-win32: Move to ../libgcc/config/i386.
      	* config/i386/t-linux64 (LIBGCC, INSTALL_LIBGCC): Remove.
      	* config/i386/t-mingw-w32: Likewise.
      	* config/i386/t-mingw-w64: Likewise.
      	* config/i386/t-openbsd: Likewise.
      	* config/i386/t-nto: Remove.
      	* config/ia64/quadlib.c: Move to ../libgcc/config/ia64.
      	* config/ia64/t-hpux (LIBGCC, INSTALL_LIBGCC, LIB2FUNCS_EXTRA)
      	(quadlib.c): Remove.
      	* config/ia64/t-ia64: Remove comment.
      	* config/iq2000/lib2extra-funcs.c: Move to
      	../libgcc/config/iq2000/lib2funcs.c.
      	* config/iq2000/t-iq2000: Remove.
      	* config/m32c/m32c-lib2.c: Move to ../libgcc/config/m32c/lib2funcs.c.
      	* config/m32c/m32c-lib2-trapv.c: Move to ../libgcc/config/m32c/trapv.c.
      	* config/m32r/t-linux (TARGET_LIBGCC2_CFLAGS): Remove.
      	* config/m32c/t-m32c (LIB2FUNCS_EXTRA): Remove.
      	* config/m32r/t-m32r (TARGET_LIBGCC2_CFLAGS, LIBGCC)
      	(INSTALL_LIBGCC): Remove.
      	* config/m68k/fpgnulib.c: Move to ../libgcc/config/m68k.
      	* config/m68k/t-floatlib: Remove.
      	* config/m68k/t-mlibs (LIBGCC, INSTALL_LIBGCC): Remove.
      	* config/mcore/t-mcore (TARGET_LIBGCC2_CFLAGS): Remove.
      	Fix typo.
      	(LIBGCC, INSTALL_LIBGCC): Remove.
      	* config/mep/mep-lib2.c: Move to ../libgcc/config/mep/lib2funcs.c.
      	* config/mep/mep-tramp.c: Move to ../libgcc/config/mep/tramp.c.
      	* config/mep/t-mep (LIB2FUNCS_EXTRA): Remove.
      	* config/mips/t-elf (TARGET_LIBGCC2_CFLAGS, LIBGCC)
      	(INSTALL_LIBGCC): Remove.
      	* config/mips/t-isa3264: Likewise.
      	* config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Remove.
      	* config/mips/t-r3900 (TARGET_LIBGCC2_CFLAGS, LIBGCC)
      	(INSTALL_LIBGCC): Remove.
      	* config/mips/t-sde (LIBGCC, INSTALL_LIBGCC): Remove.
      	* config/mips/t-sr71k (TARGET_LIBGCC2_CFLAGS, LIBGCC)
      	(INSTALL_LIBGCC): Remove.
      	* config/mips/t-vr (TARGET_LIBGCC2_CFLAGS)
      	(LIB2FUNCS_STATIC_EXTRA): Remove.
      	* config/mips/vr4120-div.S: Move to ../libgcc/config/mips.
      	* config/mmix/t-mmix (TARGET_LIBGCC2_CFLAGS): Remove.
      	* config/mn10300/t-mn10300 (LIBGCC, INSTALL_LIBGCC): Remove.
      	* config/pa/fptr.c, config/pa/linux-atomic.c: Move to
      	../libgcc/config/pa.
      	* config/pa/lib2funcs.asm: Move to ../libgcc/config/pa/lib2funcs.S.
      	* config/pa/quadlib.c: Move to ../libgcc/config/pa.
      	* config/pa/t-dce-thr (LIBGCC, INSTALL_LIBGCC): Remove.
      	* config/pa/t-linux, config/pa/t-linux64: Remove.
      	* config/pa/t-pa-hpux, config/pa/t-pa-hpux10,
      	config/pa/t-pa-hpux11, config/pa/t-pa64: Remove.
      	* config/pdp11/t-pdp11 (TARGET_LIBGCC2_CFLAGS, LIB2FUNCS_EXTRA):
      	Remove.
      	* config/picochip/libgccExtras: Move to ../libgcc/config/picochip.
      	* config/picochip/t-picochip (LIB2FUNCS_EXTRA, RANLIB_FOR_TARGET)
      	(TARGET_LIBGCC2_CFLAGS, LIBGCC2_DEBUG_CFLAGS): Remove.
      	* config/rs6000/crtresfpr.asm: Move to
      	../libgcc/config/rs6000/crtresfpr.S.
      	* config/rs6000/crtresgpr.asm: Move to
      	../libgcc/config/rs6000/crtresgpr.S.
      	* config/rs6000/crtresxfpr.asm: Move to
      	../libgcc/config/rs6000/crtresxfpr.S.
      	* config/rs6000/crtresxgpr.asm: Move to
      	../libgcc/config/rs6000/crtresxgpr.S.
      	* config/rs6000/crtsavfpr.asm: Move to
      	../libgcc/config/rs6000/crtsavfpr.S.
      	* config/rs6000/crtsavgpr.asm: Move to
      	../libgcc/config/rs6000/crtsavgpr.S.
      	* config/rs6000/darwin-asm.h: Move to ../libgcc/config/rs6000.
      	* config/rs6000/darwin-fpsave.asm: Move to
      	../libgcc/config/rs6000/darwin-fpsave.S.
      	* config/rs6000/darwin-gpsave.asm: Move to
      	../libgcc/config/rs6000/darwin-gpsave.S.
      	* config/rs6000/darwin-tramp.asm: Move to
      	../libgcc/config/rs6000/darwin-tramp.S.
      	* config/rs6000/darwin-vecsave.asm: Move to
      	../libgcc/config/rs6000/darwin-vecsave.S.
      	* config/rs6000/darwin-world.asm: Move to
      	../libgcc/config/rs6000/darwin-world.S.
      	* config/rs6000/e500crtres32gpr.asm: Move to
      	../libgcc/config/rs6000/e500crtres32gpr.S.
      	* config/rs6000/e500crtres64gpr.asm: Move to
      	../libgcc/config/rs6000/e500crtres64gpr.S.
      	* config/rs6000/e500crtres64gprctr.asm: Move to
      	../libgcc/config/rs6000/e500crtres64gprctr.S.
      	* config/rs6000/e500crtrest32gpr.asm: Move to
      	../libgcc/config/rs6000/e500crtrest32gpr.S.
      	* config/rs6000/e500crtrest64gpr.asm: Move to
      	../libgcc/config/rs6000/e500crtrest64gpr.S.
      	* config/rs6000/e500crtresx32gpr.asm: Move to
      	../libgcc/config/rs6000/e500crtresx32gpr.S.
      	* config/rs6000/e500crtresx64gpr.asm: Move to
      	../libgcc/config/rs6000/e500crtresx64gpr.S.
      	* config/rs6000/e500crtsav32gpr.asm: Move to
      	../libgcc/config/rs6000/e500crtsav32gpr.S.
      	* config/rs6000/e500crtsav64gpr.asm: Move to
      	../libgcc/config/rs6000/e500crtsav64gpr.S.
      	* config/rs6000/e500crtsav64gprctr.asm: Move to
      	../libgcc/config/rs6000/e500crtsav64gprctr.S.
      	* config/rs6000/e500crtsavg32gpr.asm: Move to
      	../libgcc/config/rs6000/e500crtsavg32gpr.S.
      	* config/rs6000/e500crtsavg64gpr.asm: Move to
      	../libgcc/config/rs6000/e500crtsavg64gpr.S.
      	* config/rs6000/e500crtsavg64gprctr.asm: Move to
      	../libgcc/config/rs6000/e500crtsavg64gprctr.S.
      	* config/rs6000/eabi.asm: Move to ../libgcc/config/rs6000/eabi.S.
      	* config/rs6000/t-aix43 (LIBGCC, INSTALL_LIBGCC, LIB2FUNCS_EXTRA)
      	(TARGET_LIBGCC2_CFLAGS): Remove.
      	* config/rs6000/t-aix52: Likewise.
      	* config/rs6000/t-darwin: Remove.
      	* config/rs6000/t-darwin64 (LIB2_SIDITI_CONV_FUNCS)
      	(LIB2FUNCS_EXTRA): Remove.
      	* config/rs6000/t-fprules (LIBGCC, INSTALL_LIBGCC): Remove.
      	* config/rs6000/t-linux64 (TARGET_LIBGCC2_CFLAGS): Remove.
      	* config/rs6000/t-lynx (LIB2FUNCS_EXTRA, tramp.S, LIBGCC)
      	(INSTALL_LIBGCC): Remove.
      	* config/rs6000/t-netbsd (LIB2FUNCS_EXTRA)
      	(LIB2FUNCS_STATIC_EXTRA, tramp.S, crtsavfpr.S, crtresfpr.S)
      	(crtsavgpr.S, crtresgpr.S, crtresxfpr.S, crtresxgpr.S, LIBGCC)
      	(INSTALL_LIBGCC, $(T)crtsavfpr$(objext), $(T)crtresfpr$(objext))
      	(($(T)crtsavgpr$(objext), $(T)crtresgpr$(objext),
      	$(T)crtresxfpr$(objext), $(T)crtresxgpr$(objext)): Remove.
      	* config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA)
      	(LIB2FUNCS_STATIC_EXTRA, eabi.S, tramp.S): Remove.
      	* config/rs6000/t-spe (LIBGCC, INSTALL_LIBGCC): Remove.
      	* config/rs6000/t-vxworks: Remove comment.
      	* config/rs6000/tramp.asm: Move to ../libgcc/config/rs6000/tramp.S.
      	* config/rx/t-rx (LIBGCC, INSTALL_LIBGCC): Remove.
      	* config/sh/linux-atomic.asm: Move to
      	../libgcc/config/sh/linux-atomic.S.
      	* config/sh/t-linux (LIB2FUNCS_EXTRA): Remove.
      	* config/sh/t-netbsd: Remove.
      	* config/sh/t-sh (TARGET_LIBGCC2_CFLAGS, LIBGCC, INSTALL_LIBGCC):
      	Remove.
      	* config/sparc/t-elf (LIBGCC, INSTALL_LIBGCC): Remove.
      	* config/sparc/t-leon: Likewise.
      	* config/sparc/t-leon3: Likewise.
      	* config/sparc/t-linux64: Likewise.
      	* config/sparc/t-netbsd64: Fix typo.
      	Remove comment.
      	* config/spu/divmodti4.c, config/spu/divv2df3.c,
      	config/spu/float_disf.c, config/spu/float_unsdidf.c,
      	config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
      	config/spu/mfc_multi_tag_release.c,
      	config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
      	config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
      	config/spu/multi3.c: Move to ../libgcc/config/spu.
      	* config/spu/t-spu-elf (TARGET_LIBGCC2_CFLAGS, LIB2FUNCS_EXCLUDE)
      	(LIB2FUNCS_STATIC_EXTRA, LIB2_SIDITI_CONV_FUNCS, LIBGCC)
      	(INSTALL_LIBGCC): Remove.
      	* config/stormy16/stormy16-lib2.c: Move to
      	../libgcc/config/stormy16/lib2.c.
      	* config/stormy16/stormy16-lib2-ashlsi3.c: Move to
      	../libgcc/config/stormy16/ashlsi3.c.
      	* config/stormy16/stormy16-lib2-ashrsi3.c: Move to
      	../libgcc/config/stormy16/ashrsi3.c.
      	* config/stormy16/stormy16-lib2-clzhi2.c: Move to
      	../libgcc/config/stormy16/clzhi2.c.
      	* config/stormy16/stormy16-lib2-cmpsi2.c: Move to
      	../libgcc/config/stormy16/cmpsi2.c.
      	* config/stormy16/stormy16-lib2-ctzhi2.c: Move to
      	../libgcc/config/stormy16/ctzhi2.c.
      	* config/stormy16/stormy16-lib2-divsi3.c: Move to
      	../libgcc/config/stormy16/divsi3.c.
      	* config/stormy16/stormy16-lib2-ffshi2.c: Move to
      	../libgcc/config/stormy16/ffshi2.c.
      	* config/stormy16/stormy16-lib2-lshrsi3.c: Move to
      	../libgcc/config/stormy16/lshrsi3.c.
      	* config/stormy16/stormy16-lib2-modsi3.c: Move to
      	../libgcc/config/stormy16/modsi3.c.
      	* config/stormy16/stormy16-lib2-parityhi2.c: Move to
      	../libgcc/config/stormy16/parityhi2.c.
      	* config/stormy16/stormy16-lib2-popcounthi2.c: Move to
      	../libgcc/config/stormy16/popcounthi2.c.
      	* config/stormy16/stormy16-lib2-ucmpsi2.c: Move to
      	../libgcc/config/stormy16/ucmpsi2.c.
      	* config/stormy16/stormy16-lib2-udivmodsi4.c: Move to
      	../libgcc/config/stormy16/udivmodsi4.c.
      	* config/stormy16/stormy16-lib2-udivsi3.c: Move to
      	../libgcc/config/stormy16/udivsi3.c.
      	* config/stormy16/stormy16-lib2-umodsi3.c: Move to
      	../libgcc/config/stormy16/umodsi3.c.
      	* config/stormy16/t-stormy16: Move to ../libgcc/config/t-stormy16.
      	* config/v850/t-v850 (INSTALL_LIBGCC): Remove.
      	* config/xtensa/lib2funcs.S: Move to ../libgcc/config/xtensa.
      	* config/xtensa/t-elf: Remove.
      	* config/xtensa/t-xtensa (LIB2FUNCS_EXTRA): Remove.
      	* config.gcc (*-*-freebsd*): Remove t-freebsd, t-freebsd-thread
      	from tmake_file.
      	(*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
      	*-*-gnu*, *-*-kopensolaris*-gnu): Remove t-linux from tmake_file.
      	(*-*-netbsd*): Remove t-libgcc-pic from tmake_file.
      	(*-*-openbsd*): Likewise.
      	Remove t-openbsd-thread for posix threads.
      	(alpha*-*-linux*): Remove alpha/t-alpha, alpha/t-ieee
      	from tmake_file.
      	(alpha*-*-freebsd*): Likewise.
      	(alpha*-*-netbsd*): Likewise.
      	(alpha*-*-openbsd*): Likewise.
      	(alpha64-dec-*vms*): Likewise.
      	(alpha*-dec-*vms*): Likewise.
      	(arm*-*-netbsdelf*): Remove arm/t-netbsd from tmake_file.
      	(arm*-*-linux*): Remove t-linux from tmake_file.
      	Remove arm/t-bpabi from tmake_file for arm*-*-linux-*eabi.
      	(arm*-*-uclinux*): Remove arm/t-bpabi from tmake_file for
      	arm*-*-uclinux*eabi.
      	(arm*-*-eabi*, arm*-*-symbianelf* ): Remove arm/t-bpabi from
      	tmake_file for arm*-*-eabi*.
      	(fr30-*-elf): Remove tmake_file.
      	(hppa*64*-*-linux*): Remove tmake_file.
      	(hppa*-*-linux*): Likewise.
      	(hppa[12]*-*-hpux10*): Remove pa/t-pa-hpux10, pa/t-pa-hpux from
      	tmake_file.
      	(hppa*64*-*-hpux11*): Remove pa/t-pa64, pa/t-pa-hpux from tmake_file.
      	(hppa[12]*-*-hpux11*): Remove pa/t-pa-hpux11, pa/t-pa-hpux from
      	tmake_file.
      	(i[34567]86-*-elf*): Remove tmake_file.
      	(x86_64-*-elf*): Likewise.
      	(i[34567]86-*-nto-qnx*): Likewise.
      	(i[34567]86-*-cygwin*): Remove i386/t-cygwin from tmake_file.
      	(i[34567]86-*-mingw*, x86_64-*-mingw*): Remove i386/t-gthr-win32
      	from tmake_file if using win32 threads.
      	(iq2000*-*-elf*): Remove tmake-file.
      	(microblaze*-linux*): Likewise.
      	(sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
      	(sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
      	(sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
      	(sh64l*-*-netbsd*): Remove sh/t-netbsd from tmake_file for
      	sh5*-*-netbsd*, sh64*-netbsd*, *-*-netbsd.
      	(xtensa*-*-elf*): Remove tmake_file.
      
      	gcc/po:
      	* EXCLUDES (config/vxlib.c, gbl-ctors.h, libgcc2.c, libgcc2.h)
      	(longlong.h): Remove.
      
      	libgcc:
      	* configure.ac: Include ../config/picflag.m4.
      	(GCC_PICFLAG): Call it.
      	Substitute.
      	* configure: Regenerate.
      	* Makefile.in (gcc_srcdir): Remove.
      	(LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
      	(HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
      	(LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
      	($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
      	($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
      	Use $<.
      	Remove comment.
      	* libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
      	* siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
      	to refer to libgcc2.c.
      	Use $<.
      	* config/darwin-64.c: New file.
      	* config/darwin-crt3.c: Remove comment.
      	* config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
      	config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
      	config/udivmodsi4.c: New files.
      	* config/memcmp.c, config/memcpy.c, config/memmove.c,
      	config/memset.c: New files.
      	* config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
      	* config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
      	* config/t-freebsd-thread, config/t-libgcc-pic: New files.
      	* config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
      	* config/t-openbsd-thread: New file.
      	* config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
      	* config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
      	* config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
      	* config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
      	qrnnd.S.
      	Adapt filename.
      	* config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
      	to refer to gthr-posix.c.
      	* config/alpha/t-vms (LIB2ADD): Set.
      	* config/alpha/vms-gcc_shell_handler.c: New file.
      	* config/arm/bpabi.c, config/arm/fp16.c,
      	config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
      	config/arm/unaligned-funcs.c: New files.
      	* config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
      	* config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
      	* config/arm/t-linux: Likewise.
      	* config/arm/t-linux-eabi (LIB2ADD_ST): Add.
      	* config/arm/t-netbsd: New file.
      	* config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
      	* config/arm/t-symbian (LIB2ADD_ST): Set.
      	* config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
      	* config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
      	* config/bfin/t-elf: New file.
      	* config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
      	config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
      	config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
      	config/c6x/ltf.c: New files.
      	* config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
      	(HOST_LIBGCC2_CFLAGS): Set.
      	* config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
      	(CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
      	* config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
      	New files.
      	* config/cris/t-elfmulti (LIB2ADD_ST): Set.
      	* config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
      	* config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
      	config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
      	config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
      	files.
      	* config/frv/t-frv (LIB2ADD): Set.
      	* config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
      	* config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
      	config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
      	config/h8300/popcounthi2.c: New files.
      	* config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
      	* config/i386/gthr-win32.c: New file.
      	* config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
      	* config/i386/t-cygwin: Likewise.
      	* config/i386/t-darwin, config/i386/t-darwin64,
      	config/i386/t-gthr-win32, config/i386/t-interix: New files.
      	* config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
      	(CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
      	* config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
      	* config/ia64/quadlib.c: New file.
      	* config/ia64/t-hpux (LIB2ADD): Set.
      	* config/ia64/t-ia64: Add comment.
      	* config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
      	* config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
      	(HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
      	* config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
      	* config/m32c/t-m32c (LIB2ADD): Set.
      	* config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
      	* config/m32r/t-m32r: Likewise.
      	* config/m68k/fpgnulib.c: New file.
      	* config/m68k/t-floatlib (LIB2ADD): Set.
      	(xfgnulib.c): New target.
      	* config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
      	* config/mep/lib2funcs.c, config/mep/tramp.c: New files.
      	* config/mep/t-mep (LIB2ADD): Set.
      	* config/microblaze/divsi3.asm: Rename to divsi3.S.
      	* config/microblaze/moddi3.asm: Rename to moddi3.S.
      	* config/microblaze/modsi3.asm: Rename to modsi3.S.
      	* config/microblaze/muldi3_hard.asm: Rename to hard.S.
      	* config/microblaze/mulsi3.asm: Rename to mulsi3.S.
      	* config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
      	* config/microblaze/udivsi3.asm: Rename to udivsi3.S.
      	* config/microblaze/umodsi3.asm: Rename to umodsi3.S.
      	* config/microblaze/t-microblaze (LIB2ADD): Reflect this.
      	* config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
      	New files.
      	* config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
      	* config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
      	* config/pa/fptr.c, config/pa/lib2funcs.S,
      	config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
      	* config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
      	(LIB2ADD, LIB2ADD_ST): Set.
      	* config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
      	* config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
      	Set.
      	* config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
      	* config/pdp11/t-pdp11: New file.
      	* config/picochip/libgccExtras/adddi3.S,
      	config/picochip/libgccExtras/ashlsi3.S,
      	config/picochip/libgccExtras/ashrsi3.S,
      	config/picochip/libgccExtras/clzsi2.S,
      	config/picochip/libgccExtras/cmpsi2.S,
      	config/picochip/libgccExtras/divmod15.S,
      	config/picochip/libgccExtras/divmodhi4.S,
      	config/picochip/libgccExtras/divmodsi4.S,
      	config/picochip/libgccExtras/lshrsi3.S,
      	config/picochip/libgccExtras/parityhi2.S,
      	config/picochip/libgccExtras/popcounthi2.S,
      	config/picochip/libgccExtras/subdi3.S,
      	config/picochip/libgccExtras/ucmpsi2.S,
      	config/picochip/libgccExtras/udivmodhi4.S,
      	config/picochip/libgccExtras/udivmodsi4.S: New files.
      	* config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
      	(LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
      	* config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
      	config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
      	config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
      	config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
      	config/rs6000/darwin-gpsave.S, 	config/rs6000/darwin-tramp.S,
      	config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
      	files.
      	* config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
      	(HOST_LIBGCC2_CFLAGS): Set.
      	* config/rs6000/t-darwin64: New file.
      	* config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
      	* config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
      	* config/rs6000/t-ppccomm (LIB2ADD): Add
      	$(srcdir)/config/rs6000/tramp.S.
      	(LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
      	Add  $(srcdir)/config/rs6000/eabi.S.
      	(crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
      	(crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
      	(e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
      	(e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
      	(e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
      	(e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
      	* config/rs6000/tramp.S: New file.
      	* config/s390/t-tpf: Remove.
      	* config/sh/linux-atomic.S: New file.
      	* config/sh/t-linux (LIB2ADD): Set.
      	(HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
      	* config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
      	* config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
      	to unwind-dw2.c.
      	(HOST_LIBGCC2_CFLAGS): Set.
      	* config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
      	* config/spu/divmodti4.c, config/spu/divv2df3.c,
      	config/spu/float_disf.c, config/spu/float_unsdidf.c,
      	config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
      	config/spu/mfc_multi_tag_release.c,
      	config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
      	config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
      	config/spu/multi3.c: New files.
      	* config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
      	(HOST_LIBGCC2_CFLAGS): Set.
      	* config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
      	config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
      	config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
      	config/stormy16/ffshi2.c, config/stormy16/lib2.c,
      	config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
      	config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
      	config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
      	config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
      	config/stormy16/umodsi3.c: New files.
      	* config/xtensa/lib2funcs.S: New file.
      	* config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
      	* config/xtensa/t-xtensa (LIB2ADD): Set.
      	* config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
      	(*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
      	Add t-freebsd-thread to tmake_file for posix threads.
      	(*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
      	(*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
      	(*-*-lynxos*): Likewise.
      	(*-*-netbsd*): Likewise.
      	(*-*-openbsd*): Likewise.
      	Add t-openbsd-thread to tmake_file for posix threads.
      	(*-*-solaris2*): Add t-libgcc-pic to tmake_file.
      	(*-*-vxworks*): Set tmake_file.
      	(alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
      	(alpha*-*-freebsd*): Likewise.
      	(alpha*-*-netbsd*): Likewise.
      	(alpha*-*-openbsd*): Likewise.
      	(alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
      	(alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
      	(alpha*-dec-*vms*): Likewise.
      	(arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
      	(bfin*-elf*): Add bfin/t-elf to tmake_file.
      	(bfin*-uclinux*): Likewise.
      	(bfin*-linux-uclibc*): Likewise.
      	(crisv32-*-elf): Add cris/t-cris to tmake_file.
      	(crisv32-*-none): Likewise.
      	(cris-*-elf): Likewise.
      	(cris-*-none): Likewise.
      	(cris-*-linux*, crisv32-*-linux*): Likewise.
      	(hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
      	tmake_file.
      	(hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
      	tmake_file.
      	(hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
      	(i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
      	(x86_64-*-elf*): Likewise.
      	(i[34567]86-*-nto-qnx*): Likewise.
      	(i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
      	win32 threads.
      	(x86_64-*-mingw*): Likewise.
      	(i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
      	(lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
      	(mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
      	(mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
      	(mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
      	tmake_file.
      	(mipsisa64sr71k-*-elf*): Likewise.
      	(mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
      	(mips-*-elf*, mipsel-*-elf*): Likewise.
      	(mips64-*-elf*, mips64el-*-elf*): Likewise.
      	(mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
      	(mips*-*-rtems*): Likewise.
      	(mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
      	to tmake_file.
      	(pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
      	(powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
      	(s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
      	(spu-*-elf*): Likewise.
      	(tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
      
      	libquadmath:
      	* printf/gmp-impl.h: Adapt path to longlong.h.
      
      From-SVN: r180774
      Rainer Orth committed
    • Move crtstuff support to toplevel libgcc · 5f73c6cc
      	gcc:
      	* config.gcc (extra_parts): Remove.
      	(*-*-freebsd*): Remove extra_parts.
      	(*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
      	*-*-gnu*, *-*-kopensolaris*-gnu): Likewise.
      	(*-*-netbsd*): Remove t-libc-ok, t-netbsd from tmake_file.
      	Remove extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
      	*-*-netbsdelf[2-9]*.
      	(*-*-openbsd*): Remove t-libc-ok from tmake_file.
      	(alpha*-*-linux*): Remove extra_parts.
      	(alpha*-*-freebsd*): Likewise.
      	(bfin*-linux-uclibc*): Likewise.
      	(fr30-*-elf): Likewise.
      	(moxie-*-elf): Likewise.
      	(moxie-*-uclinux*): Likewise.
      	(h8300-*-rtems*): Remove h8300/t-elf from tmake_file.
      	(h8300-*-elf*): Likewise.
      	(hppa*64*-*-hpux11*): Remove extra_parts.
      	(i[34567]86-*-elf*): Remove i386/t-i386elf, i386/t-crtstuff from
      	tmake_file.
      	(x86_64-*-elf*): Likewise.
      	(i[34567]86-*-freebsd*): Remove tmake_file.
      	(x86_64-*-freebsd*): Likewise.
      	(x86_64-*-netbsd*): Likewise.
      	(i[34567]86-*-openbsd2.*, i[34567]86-*openbsd3.[0123]): Remove
      	t-libc-ok from tmake_file.
      	(i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu,
      	i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*,
      	i[34567]86-*-kopensolaris*-gnu): Remove i386/t-crtstuff from tmake_file.
      	Remove extra_parts.
      	(x86_64-*-linux*, x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
      	Remove i386/t-crtstuff from tmake_file.
      	(i[34567]86-*-lynxos*): Likewise.
      	Remove extra_parts.
      	(ia64*-*-elf*): Remove extra_parts.
      	(ia64*-*-freebsd*): Likewise.
      	(ia64*-*-linux*): Likewise.
      	(ia64-hp-*vms*): Remove ia64/t-vms from tmake_file.
      	(m32r-*-elf*): Remove extra_parts.
      	(m32rle-*-elf*): Likewise.
      	(m32r-*-rtems*): Likewise.
      	(m68k-*-elf*, fido-*-elf*): Likewise.
      	(m68k*-*-openbsd*): Remove t-libc-ok from tmake_file.
      	(m68k-*-rtems*): Remove extra_parts.
      	(mep-*-*): Likewise.
      	(microblaze*-linux*): Likewise.
      	(mips64*-*-linux*, mipsisa64*-*-linux*): Likewise.
      	(mips*-*-linux*): Likewise.
      	(powerpc-*-lynxos*): Likewise.
      	(s390x-ibm-tpf*): Likewise.
      	(score-*-elf): Likewise.
      	Remove tmake_file.
      	(sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*, sh[2346lbe]*-*-linux*,
      	sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*, sh5l*-*-netbsd*,
      	sh64-*-netbsd*, sh64l*-*-netbsd*): Remove sh/t-elf from tmake_file.
      	Remove sh/t-superh from tmake_file for sh*-superh-elf.
      	Remove sh/t-linux64 from tmake_file for sh64*-*-linux*.
      	(sh-*-rtems*): Remove sh/t-elf from tmake_file.
      	(sh-wrs-vxworks): Likewise.
      	(sparc-*-linux*): Remove extra_parts.
      	(sparc64-*-linux*): Likewise.
      	(sparc64-*-freebsd*, ultrasparc-*-freebsd*): Likewise.
      	(xstormy16-*-elf): Likewise.
      	(xtensa*-*-linux*): Remove xtensa/t-linux from tmake_file.
      	(am33_2.0-*-linux*): Remove extra_parts.
      	* configure.ac (extra_parts): Don't substitute.
      	* configure: Regenerate.
      	* crtstuff.c: Move to ../libgcc.
      	* Makefile.in (CRTSTUFF_CFLAGS): Remove.
      	(EXTRA_PARTS): Remove.
      	(CRTSTUFF_T_CFLAGS): Remove.
      	(MOSTLYCLEANFILES): Remove $(EXTRA_PARTS).
      	(GCC_EXTRA_PARTS): Remove.
      	(libgcc.mvars): Remove GCC_EXTRA_PARTS, CRTSTUFF_CFLAGS,
      	CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S.
      	Emit GCC_CFLAGS, INHIBIT_LIBC_CFLAGS.
      	($(T)crtbegin.o, $(T)crtend.o, $(T)crtbeginS.o, $(T)crtendS.o)
      	($(T)crtbeginT.o): Remove.
      	* config/alpha/t-vms (EXTRA_PARTS): Remove.
      	($(T)vms-dwarf2.o, $(T)vms-dwarf2eh.o): Remove.
      	* config/alpha/vms-dwarf2.asm: Move to
      	../libgcc/config/alpha/vms-dwarf2.S.
      	* config/alpha/vms-dwarf2eh.asm: Move to
      	../libgcc/config/alpha/vms-dwarf2eh.S.
      	* config/arm/crti.asm: Move to ../libgcc/config/arm/crti.S.
      	* config/arm/crtn.asm: Move to ../libgcc/config/arm/crtn.S.
      	* config/arm/t-arm-elf (EXTRA_MULTILIB_PARTS): Remove.
      	($(T)crti.o, $(T)crtn.o): Remove.
      	* config/arm/t-linux: Remove comment.
      	* config/arm/t-linux-eabi (EXTRA_MULTILIB_PARTS): Remove.
      	* config/arm/t-strongarm-elf (EXTRA_MULTILIB_PARTS): Remove.
      	($(T)crti.o, $(T)crtn.o): Remove.
      	* config/arm/t-symbian (EXTRA_MULTILIB_PARTS): Remove.
      	* config/bfin/crti.s: Move to ../libgcc/config/bfin/crti.S.
      	* config/bfin/crtn.s: Move to ../libgcc/config/bfin/crtn.S.
      	* config/bfin/crtlibid.s: Move to ../libgcc/config/bfin/crtlibid.S.
      	* config/bfin/t-bfin (EXTRA_PARTS): Remove.
      	($(T)crti.o, $(T)crtn.o): Remove.
      	* config/bfin/t-bfin-elf (CRTSTUFF_T_CFLAGS): Remove.
      	($(T)crti.o, $(T)crtn.o, $(T)crtlibid.o): Remove
      	(EXTRA_MULTILIB_PARTS): Remove.
      	* config/bfin/t-bfin-linux (CRTSTUFF_T_CFLAGS,
      	EXTRA_MULTILIB_PARTS): Remove.
      	* config/bfin/t-bfin-uclinux (CRTSTUFF_T_CFLAGS): Remove.
      	($(T)crtlibid.o): Remove.
      	(EXTRA_MULTILIB_PARTS): Remove.
      	* config/c6x/crti.s: Move to ../libgcc/config/c6x/crti.S.
      	* config/c6x/crtn.s: Move to ../libgcc/config/c6x/crtn.S.
      	* config/c6x/t-c6x-elf ($(T)crti.o, $(T)crtn.o): Remove.
      	(EXTRA_MULTILIB_PARTS): Remove.
      	(CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Remove.
      	* config/c6x/t-c6x-uclinux (CRTSTUFF_T_CFLAGS,
      	CRTSTUFF_T_CFLAGS_S): Remove.
      	* config/cris/t-elfmulti (CRTSTUFF_T_CFLAGS): Remove.
      	* config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Remove.
      	* config/fr30/crti.asm: Move to ../libgcc/config/fr30/crti.S.
      	* config/fr30/crtn.asm: Move to ../libgcc/config/fr30/crtn.S.
      	* config/fr30/t-fr30 ($(T)crti.o, $(T)crtn.o): Remove.
      	* config/frv/frvbegin.c, config/frv/frvend.c: Move to
      	../libgcc/config/frv.
      	* config/frv/t-frv (EXTRA_MULTILIB_PARTS): Remove.
      	(FRVSTUFF_CFLAGS, $(T)frvbegin$(objext), $(T)frvend$(objext)): Remove.
      	* config/frv/t-linux (EXTRA_MULTILIB_PARTS): Remove.
      	(CRTSTUFF_T_CFLAGS): Remove.
      	* config/h8300/crti.asm: Move to ../libgcc/config/h8300/crti.S.
      	* config/h8300/crtn.asm: Move to ../libgcc/config/h8300/crtn.S.
      	* config/h8300/t-elf: Remove.
      	* config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
      	Move to ../libgcc/config/i386.
      	* config/i386/t-crtstuff: Remove.
      	* config/i386/t-i386elf: Remove.
      	* config/i386/t-linux64 (EXTRA_MULTILIB_PARTS): Remove.
      	* config/i386/t-nto (CRTSTUFF_T_CFLAGS, EXTRA_PARTS): Remove.
      	* config/ia64/crtbegin.asm: Move to
      	../libgcc/config/ia64/crtbegin.S.
      	* config/ia64/crtend.asm: Move to
      	../libgcc/config/ia64/crtend.S.
      	* config/ia64/crti.asm: Move to ../libgcc/config/ia64/crti.S.
      	* config/ia64/crtn.asm: Move to ../libgcc/config/ia64/crtn.S.
      	* config/ia64/t-vms: Remove.
      	* config/ia64/vms-crtinit.asm: Move to
      	../libgcc/config/ia64/vms-crtinit.S.
      	* config/m32c/t-m32c (EXTRA_MULTILIB_PARTS): Remove.
      	* config/m32r/initfini.c: Move to ../libgcc/config/m32r.
      	* config/m32r/t-linux (CRTSTUFF_T_CFLAGS_S): Remove.
      	* config/m32r/t-m32r (CRTSTUFF_T_CFLAGS): Remove.
      	($(T)crtinit.o, $(T)crtfini.o): Remove.
      	(m32rx, m32r2): Remove.
      	(EXTRA_MULTILIB_PARTS): Remove.
      	* config/m68k/crti.s: Move to ../libgcc/config/m68k/crti.S.
      	* config/m68k/crtn.s: Move to ../libgcc/config/m68k/crtn.S.
      	* config/m68k/t-crtstuff: Remove.
      	* config/m68k/t-linux (EXTRA_MULTILIB_PARTS): Remove.
      	* config/m68k/t-m68kelf: Remove.
      	* config/m68k/t-uclinux (EXTRA_MULTILIB_PARTS): Remove.
      	* config/mcore/crti.asm: Move to ../libgcc/config/mcore/crti.S.
      	* config/mcore/crtn.asm: Move to ../libgcc/config/mcore/crtn.S.
      	* config/mcore/t-mcore ($(T)crti.o, $(T)crtn.o): Remove.
      	(EXTRA_PARTS, EXTRA_MULTILIB_PARTS): Remove.
      	* config/mep/t-mep (CRTSTUFF_CFLAGS): Remove.
      	(EXTRA_MULTILIB_PARTS): Remove.
      	* config/microblaze/crti.s: Move to ../libgcc/config/microblaze/crti.S.
      	* config/microblaze/crtn.s: Move to ../libgcc/config/microblaze/crtn.S.
      	* config/microblaze/t-microblaze (EXTRA_MULTILIB_PARTS,
      	EXTRA_PARTS): Remove.
      	($(T)crti$(objext), $(T)crtn$(objext)): Remove.
      	* config/mips/crti.asm: Move to ../libgcc/config/mips/crti.S.
      	* config/mips/crtn.asm: Move to ../libgcc/config/mips/crtn.S.
      	* config/mips/t-elf (CRTSTUFF_T_CFLAGS): Remove.
      	($(T)crti.o, $(T)crtn.o): Remove.
      	(EXTRA_MULTILIB_PARTS): Remove.
      	* config/mips/t-isa3264: Likewise.
      	* config/mips/t-linux64 (EXTRA_MULTILIB_PARTS): Remove.
      	* config/mips/t-r3900 (EXTRA_MULTILIB_PARTS): Remove.
      	(CRTSTUFF_T_CFLAGS): Remove.
      	* config/mips/t-sde (CRTSTUFF_T_CFLAGS): Remove.
      	($(T)crti.o, $(T)crtn.o): Remove.
      	(EXTRA_MULTILIB_PARTS): Remove.
      	* config/mips/t-sr71k (EXTRA_MULTILIB_PARTS, CRTSTUFF_T_CFLAGS):
      	Remove.
      	($(T)crti.o, $(T)crtn.o): Remove.
      	* config/mips/t-st (EXTRA_MULTILIB_PARTS): Remove.
      	* config/mips/t-vr (CRTSTUFF_T_CFLAGS): Remove.
      	(EXTRA_MULTILIB_PARTS): Remove.
      	($(T)crti.o, $(T)crtn.o): Remove.
      	* config/mmix/crti.asm: Move to ../libgcc/config/crti.S.
      	* config/mmix/crtn.asm: Move to ../libgcc/config/crtn.S.
      	* config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Remove.
      	* config/moxie/crti.asm, config/moxie/crtn.asm: Remove.
      	* config/pa/stublib.c: Move to libgcc/config/pa.
      	* config/pa/t-linux (CRTSTUFF_T_CFLAGS_S): Remove.
      	* config/pa/t-linux64 (CRTSTUFF_T_CFLAGS_S): Remove.
      	* config/pa/t-pa-hpux11 (LIBGCCSTUB_OBJS, stublib.c): Remove.
      	(pthread_default_stacksize_np-stub.o, pthread_mutex_lock-stub.o)
      	(pthread_mutex_unlock-stub.o, pthread_once-stub.o)
      	($(T)libgcc_stub.a): Remove.
      	* config/pa/t-pa64 (LIBGCCSTUB_OBJS, stublib.c): Remove.
      	(rfi-stub.o, dfi-stub.o, cxaf-stub.o, jvrc-stub.o)
      	(pthread_default_stacksize_np-stub.o, pthread_mutex_lock-stub.o)
      	(pthread_mutex_unlock-stub.o, pthread_once-stub.o)
      	($(T)libgcc_stub.a): Remove.
      	* config/rs6000/eabi-cn.asm: Move to
      	../../../libgcc/config/rs6000/eabi-cn.S.
      	* config/rs6000/eabi-ci.asm: Move to
      	../../../libgcc/config/rs6000/eabi-ci.S.
      	* config/rs6000/sol-ci.asm: Move to
      	../../../libgcc/config/rs6000/sol-ci.S.
      	* config/rs6000/sol-cn.asm: Move to
      	../../../libgcc/config/rs6000/sol-cn.S.
      	* config/rs6000/t-lynx (EXTRA_MULTILIB_PARTS): Remove.
      	(CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Remove.
      	* config/rs6000/t-netbsd (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S):
      	Remove.
      	(EXTRA_MULTILIB_PARTS): Remove.
      	* config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Remove.
      	(ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
      	($(T)ecrti$(objext), $(T)ecrtn$(objext), $(T)ncrti$(objext),
      	$(T)ncrtn$(objext)): Remove.
      	(CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Remove.
      	* config/rs6000/t-vxworks (EXTRA_MULTILIB_PARTS): Remove.
      	* config/rx/t-rx (EXTRA_MULTILIB_PARTS): Remove.
      	* config/score/crti.asm: Move to ../libgcc/config/score/crti.S.
      	* config/score/crtn.asm: Move to ../libgcc/config/score/crtn.S.
      	* config/score/t-score-elf: Remove.
      	* config/sh/crt1.asm: Move to ../libgcc/config/sh/crt1.S.
      	* config/sh/crti.asm: Move to ../libgcc/config/sh/crti.S.
      	* config/sh/crtn.asm: Move to ../libgcc/config/sh/crtn.S.
      	* config/sh/lib1funcs-4-300.asm: Move to
      	../../../libgcc/config/sh/lib1funcs-4-300.S.
      	* config/sh/lib1funcs-Os-4-200.asm: Move to
      	../libgcc/config/sh/lib1funcs-Os-4-200.S.
      	* config/sh/t-elf: Remove.
      	* config/sh/t-linux (EXTRA_MULTILIB_PARTS): Remove.
      	* config/sh/t-linux64: Remove.
      	* config/sh/t-netbsd (EXTRA_MULTILIB_PARTS): Remove.
      	* config/sh/t-sh ($(T)crt1.o, $(T)crti.o, $(T)crtn.o): Remove.
      	(IC_EXTRA_PARTS, OPT_EXTRA_PARTS, EXTRA_MULTILIB_PARTS): Remove.
      	($(T)ic_invalidate_array_4-100.o)
      	($(T)libic_invalidate_array_4-100.a)
      	($(T)ic_invalidate_array_4-200.o)
      	($(T)libic_invalidate_array_4-200.a, $(T)ic_invalidate_array_4a.o)
      	($(T)libic_invalidate_array_4a.a, $(T)sdivsi3_i4i-Os-4-200.o)
      	($(T)udivsi3_i4i-Os-4-200.o, $(T)unwind-dw2-Os-4-200.o)
      	($(T)libgcc-Os-4-200.a, $(T)div_table-4-300.o)
      	($(T)libgcc-4-300.a): Remove.
      	* config/sh/t-superh: Remove.
      	* config/sh/t-vxworks (EXTRA_MULTILIB_PARTS): Remove.
      	* config/sparc/t-linux64 (CRTSTUFF_T_CFLAGS): Remove.
      	* config/spu/cache.S: Move to ../libgcc/config/spu.
      	* config/spu/cachemgr.c: Move to ../libgcc/config/spu.
      	* config/spu/t-spu-elf (CRTSTUFF_T_CFLAGS): Remove.
      	(EXTRA_MULTILIB_PARTS): Remove.
      	($(T)cachemgr.o, $(T)cachemgr_nonatomic.o, $(T)libgcc_%.a): Remove.
      	($(T)cache8k.o, $(T)cache16k.o, $(T)cache32k.o, $(T)cache32k.o)
      	($(T)cache64k.o, $(T)cache128k.o): Remove.
      	* config/t-freebsd (CRTSTUFF_T_CFLAGS_S): Remove.
      	* config/t-libc-ok: Remove.
      	* config/t-linux (CRTSTUFF_T_CFLAGS_S): Remove.
      	* config/t-lynx (CRTSTUFF_T_CFLAGS_S): Remove.
      	* config/t-netbsd: Remove.
      	* config/t-svr4 (CRTSTUFF_T_CFLAGS_S): Remove.
      	* config/t-vxworks (EXTRA_MULTILIB_PARTS): Remove.
      	* config/vms/t-vms (VMS_EXTRA_PARTS): Remove.
      	($(T)vcrt0.o, $(T)pcrt0.o): Remove.
      	* config/vms/vms-ucrt0.c: Move to ../libgcc/config/vms.
      	* config/xtensa/crti.asm: Move to ../libgcc/config/xtensa/crti.S.
      	* config/xtensa/crtn.asm: Move to ../libgcc/config/xtensa/crtn.S.
      	* config/xtensa/t-elf (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S):
      	Remove.
      	(EXTRA_MULTILIB_PARTS): Remove.
      	* config/xtensa/t-linux: Remove.
      	* config/xtensa/t-xtensa ($(T)crti.o, $(T)crtn.o): Remove.
      
      	gcc/po:
      	* EXCLUDES (crtstuff.c): Remove.
      
      	libgcc:
      	* crtstuff.c: New file.
      	* Makefile.in (CRTSTUFF_CFLAGS): Define.
      	(CRTSTUFF_T_CFLAGS): Define.
      	(extra-parts, INSTALL_PARTS): Remove conditional assignments.
      	(crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
      	(crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
      	crtstuff.c.
      	Use $<.
      	(crtbeginT.o): Use $(objext).
      	[!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
      	(libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
      	(gcc-extra-parts): Remove.
      	* config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
      	Set extra_parts.
      	(*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
      	*-*-gnu*): Also handle *-*-kopensolaris*-gnu.
      	Add t-crtstuff-pic to tmake_file.
      	(*-*-lynxos*): New case.
      	Set tmake_file, extra_parts.
      	(*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
      	Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
      	*-*-netbsdelf[2-9]*.
      	(*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
      	(*-*-rtems*): Set extra_parts.
      	(*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
      	(*-*-uclinux*): New case.
      	Set extra_parts.
      	(*-*-vms*): New case.
      	Set tmake_file, extra_parts.
      	(*-*-elf): Set extra_parts.
      	(alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
      	(alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
      	vms/t-vms64.
      	Set extra_parts.
      	(alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
      	Set extra_parts.
      	(arm*-*-freebsd*): Add t-crtin to tmake_file.
      	Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
      	(arm-wrs-vxworks): Append to tmake_file.
      	Set extra_parts.
      	(arm*-*-uclinux*): Set extra_parts.
      	(arm*-*-ecos-elf): Likewise.
      	(arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
      	arm*-*-eabi*.
      	(arm*-*-rtems*): Set extra_parts.
      	(arm*-*-elf): Likewise.
      	(avr-*-rtems*): Clear extra_parts.
      	(bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
      	Set extra_parts.
      	(bfin*-uclinux*): Likewise.
      	(bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
      	(bfin*-rtems*): Append to tmake_file.
      	Set extra_parts.
      	(bfin*-*): Likewise.
      	(crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
      	(crisv32-*-elf): ... this.
      	(crisv32-*-none): ... this.
      	(cris-*-elf, cris-*-none): New cases.
      	Add cris/t-elfmulti to tmake_file.
      	(fr30-*-elf): Append to tmake_file.
      	Set extra_parts.
      	(frv-*-elf): Append to tmake_file, add frv/t-frv.
      	Set extra_parts.
      	(h8300-*-rtems*): Append to tmake_file.
      	Set extra_parts.
      	(h8300-*-elf*): Likewise.
      	(hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
      	Set extra_parts.
      	(hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
      	Set extra_parts.
      	(i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
      	(x86_64-*-elf*): Likewise.
      	(i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
      	(x86_64-*-freebsd*): Likewise.
      	(x86_64-*-netbsd*): Likewise.
      	(i[34567]86-*-linux*): Likewise.
      	(i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
      	(i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
      	(x86_64-*-linux*): Likewise.
      	(x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
      	(i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
      	tmake_file.
      	Set extra_parts.
      	(i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
      	(i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
      	Append to extra_parts, remove crtbegin.o, crtend.o.
      	(ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
      	(ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
      	crtend.o, crtbeginS.o, crtendS.o.
      	(ia64*-*-linux*): Comment extra_parts.
      	(ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
      	Set extra_parts.
      	(iq2000*-*-elf*): Clear extra_parts.
      	(lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
      	(lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
      	(m32r-*-elf*, m32r-*-rtems*): Split off ...
      	(m32r-*-rtems*): ... this.
      	Add m32r/t-m32r to tmake_file.
      	(m68k-*-elf*): Add t-crtin to tmake_file.
      	(m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
      	(mcore-*-elf): Likewise.
      	(microblaze*-*-*): Set extra_parts.
      	(mips*-sde-elf*): New case.
      	Set tmake_file, extra_parts.
      	(mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
      	(mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
      	(mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
      	tmake_file.
      	Set extra_parts.
      	(mipsisa64sr71k-*-elf*): Likewise.
      	(mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
      	(mips-*-elf*, mipsel-*-elf*): Likewise.
      	(mips64-*-elf*, mips64el-*-elf*): Likewise.
      	(mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
      	(mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
      	(mips*-*-rtems*): Likewise.
      	(mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
      	(moxie-*-*): Split into ...
      	(moxie-*-elf, moxie-*-uclinux*): ... this.
      	Add to extra_parts, remove crtbegin.o, crtend.o.
      	(moxie-*-rtems*): New case.
      	Set tmake_file.
      	Clear extra_parts.
      	(powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
      	Set extra_parts.
      	(powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
      	(powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
      	tmake_file.
      	Set extra_parts.
      	(powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
      	rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
      	Set extra_parts.
      	(powerpc-*-eabisim*): Likewise.
      	(powerpc-*-elf*): Likewise.
      	(powerpc-*-eabialtivec*): Likewise.
      	(powerpc-xilinx-eabi*): Likewise.
      	(powerpc-*-eabi*): Likewise.
      	(powerpc-*-rtems*): Likewise.
      	(powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
      	tmake_file.
      	Set extra_parts.
      	(powerpc-*-lynxos*): Add to tmake_file.
      	(powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
      	rs6000/t-crtstuff, t-crtstuff-pic.
      	Set extra_parts.
      	(powerpcle-*-eabisim*): Likewise.
      	(powerpcle-*-eabi*): Likewise.
      	(rx-*-elf): Remove extra_parts.
      	(s390x-ibm-tpf*): Set extra_parts.
      	(score-*-elf): Set extra_parts.
      	(sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
      	(sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
      	(sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
      	(sh64l*-*-netbsd*): Split into ...
      	(sh-*-elf*, sh[12346l]*-*-elf*): ... this.
      	Add t-crtstuff-pic to tmake_file.
      	Set extra_parts.
      	(sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
      	Set extra_parts.
      	(sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
      	(sparc-*-elf*): Remove t-crtin from tmake_file.
      	Add to extra_parts, remove crtbegin.o, crtend.o.
      	(sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
      	(sparc64-*-linux*): Likewise.
      	(sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
      	Add to extra_parts, remove crtbegin.o, crtend.o.
      	(sparc64-*-elf*): Remove t-crtin from tmake_file.
      	Add to extra_parts, remove crtbegin.o, crtend.o.
      	(sparc64-*-rtems*): Remove t-crtin from tmake_file.
      	Add to extra_parts, remove crtbegin.o, crtend.o.
      	(sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
      	(sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
      	(spu-*-elf*): Add to tmake_file, add spu/t-elf.
      	Set extra_parts.
      	(tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
      	Set extra_parts.
      	(tic6x-*-*): Change to ...
      	(tic6x-*-elf): ... this.
      	Set extra_parts.
      	(xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
      	Set extra_parts.
      	(am33_2.0-*-linux*): Add comment.
      	(mep*-*-*): Add mep/t-mep to tmake_file.
      	Set extra_parts.
      	* config/alpha/t-vms: New file.
      	* config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
      	* config/arm/crti.S, config/arm/crtn.S: New files.
      	* config/bfin/crti.S, config/bfin/crtn.S: New files.
      	* config/bfin/crtlibid.S: New file.
      	* config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
      	* config/c6x/crti.S, config/c6x/crtn.S: New files.
      	* config/c6x/t-elf (CUSTOM_CRTIN): Set.
      	(crti.o, crtin.o): New rules.
      	(CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
      	* config/c6x/t-uclinux: New file.
      	* config/cris/t-elfmulti: New file.
      	* config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
      	* config/fr30/crti.S, config/fr30/crtn.S: New files.
      	* config/frv/frvbegin.c, config/frv/frvend.c: New files.
      	* config/frv/t-frv: New file.
      	* config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
      	* config/h8300/crti.S, config/h8300/crtn.S: New files.
      	* config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
      	New files.
      	* config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
      	refer to cygming-crtbegin.c, cygming-crtend.c.
      	Use $<.
      	* config/i386/t-nto: New file.
      	* config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
      	* config/ia64/crti.S, config/ia64/crtn.S: New files.
      	* config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
      	crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
      	Use .S extension.
      	Use $<.
      	* config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
      	(crtinitS.o): New rule.
      	* config/ia64/vms-crtinit.S: New file.
      	* config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
      	* config/m32r/initfini.c: New file.
      	* config/m32r/t-linux, config/m32r/t-m32r: New files.
      	* config/m68k/crti.S, config/m68k/crtn.S: New files.
      	* config/mcore/crti.S, config/mcore/crtn.S: New files.
      	* config/mep/t-mep: New file.
      	* config/microblaze/crti.S, config/microblaze/crtn.S: New files.
      	* config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
      	* config/mips/crti.S, config/mips/crtn.S: New files.
      	* config/mips/t-crtstuff: New file.
      	* config/mmix/crti.S, config/mmix/crtn.S: New files.
      	* config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
      	(CUSTOM_CRTIN): Set.
      	($(T)crti.o, $(T)crtn.o): Remove $(T),
      	dependencies.
      	Use $(srcdir) to refer to crti.S, crtn.S.
      	Use .S extension, $<.
      	* config/moxie/crti.asm: Rename to ...
      	* config/moxie/crti.S: ... this.
      	* config/moxie/crtn.asm: Rename to ...
      	* config/moxie/crtn.S: ... this.
      	* config/moxie/t-moxie: Remove.
      	* config/pa/stublib.c: New file.
      	* config/pa/t-stublib, config/pa/t-stublib64: New files.
      	* config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
      	* config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
      	* config/rs6000/t-crtstuff: New file.
      	* config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
      	(ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
      	(ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
      	Make output file explicit.
      	(ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
      	Make output file explicit.
      	(ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
      	Make output file explicit.
      	(ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
      	Make output file explicit.
      	* config/score/crti.S, config/score/crtn.S: New files.
      	* config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
      	* config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
      	files.
      	* config/sh/t-sh, config/sh/t-superh: New files.
      	* config/sparc/t-linux64: New file.
      	* config/spu/cache.S, config/spu/cachemgr.c: New files.
      	* config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
      	(cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
      	(cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
      	* config/t-crtin: Remove.
      	* config/t-crtstuff-pic: New file.
      	* config/t-sol2 (CUSTOM_CRTIN): Set.
      	(crti.o, crtn.o): New rules.
      	* config/vms/t-vms: New file.
      	* config/vms/vms-ucrt0.c: New file.
      	* config/xtensa/t-elf: New file.
      
      From-SVN: r180771
      Rainer Orth committed
  9. 21 Apr, 2009 1 commit
    • ABOUT-GCC-NLS, [...]: Add copyright and license notices. · ad41bd84
      	* ABOUT-GCC-NLS, ChangeLog, ChangeLog-1997, ChangeLog-1998,
      	ChangeLog-1999, ChangeLog-2000, ChangeLog-2001, ChangeLog-2002,
      	ChangeLog-2003, ChangeLog-2004, ChangeLog-2005, ChangeLog-2006,
      	ChangeLog-2007, ChangeLog-2008, ChangeLog.dataflow, ChangeLog.lib,
      	ChangeLog.ptr, ChangeLog.tree-ssa, ChangeLog.tuples, FSFChangeLog,
      	FSFChangeLog.10, FSFChangeLog.11, LANGUAGES, ONEWS, acinclude.m4,
      	config/alpha/gnu.h, config/alpha/libgcc-alpha-ldbl.ver,
      	config/alpha/t-osf4, config/alpha/t-vms, config/alpha/va_list.h,
      	config/alpha/x-vms, config/arc/t-arc,
      	config/arm/README-interworking, config/arm/arm-c.c,
      	config/arm/gentune.sh, config/arm/libgcc-bpabi.ver,
      	config/arm/t-arm, config/arm/t-arm-elf, config/arm/t-arm-softfp,
      	config/arm/t-bpabi, config/arm/t-linux, config/arm/t-linux-eabi,
      	config/arm/t-netbsd, config/arm/t-pe, config/arm/t-strongarm-elf,
      	config/arm/t-symbian, config/arm/t-vxworks, config/arm/t-wince-pe,
      	config/avr/t-avr, config/bfin/elf.h, config/bfin/libgcc-bfin.ver,
      	config/bfin/linux.h, config/bfin/t-bfin, config/bfin/t-bfin-elf,
      	config/bfin/t-bfin-linux, config/bfin/t-bfin-uclinux,
      	config/bfin/uclinux.h, config/cris/mulsi3.asm, config/cris/t-cris,
      	config/cris/t-elfmulti, config/crx/t-crx,
      	config/darwin-ppc-ldouble-patch.def, config/darwin-sections.def,
      	config/divmod.c, config/fr30/t-fr30, config/frv/libgcc-frv.ver,
      	config/frv/t-frv, config/frv/t-linux, config/h8300/genmova.sh,
      	config/h8300/t-h8300, config/i386/athlon.md,
      	config/i386/darwin-libgcc.10.4.ver,
      	config/i386/darwin-libgcc.10.5.ver, config/i386/libgcc-glibc.ver,
      	config/i386/mach.h, config/i386/netbsd.h, config/i386/t-crtpc,
      	config/i386/t-cygming, config/i386/t-cygwin, config/i386/t-i386,
      	config/i386/t-linux64, config/i386/t-nwld,
      	config/i386/t-rtems-i386, config/i386/t-sol2-10,
      	config/i386/x-mingw32, config/ia64/div.md, config/ia64/elf.h,
      	config/ia64/ia64.opt, config/ia64/libgcc-glibc.ver,
      	config/ia64/libgcc-ia64.ver, config/ia64/linux.h,
      	config/ia64/sysv4.h, config/ia64/t-hpux, config/ia64/t-ia64,
      	config/iq2000/abi, config/iq2000/lib2extra-funcs.c,
      	config/iq2000/t-iq2000, config/libgcc-glibc.ver,
      	config/m32r/libgcc-glibc.ver, config/m32r/t-linux,
      	config/m32r/t-m32r, config/m68hc11/t-m68hc11,
      	config/m68k/t-floatlib, config/m68k/t-linux, config/m68k/t-mlibs,
      	config/m68k/t-uclinux, config/mcore/t-mcore,
      	config/mcore/t-mcore-pe, config/mips/20kc.md, config/mips/4130.md,
      	config/mips/5400.md, config/mips/5500.md, config/mips/crti.asm,
      	config/mips/crtn.asm, config/mips/irix-crti.asm,
      	config/mips/irix-crtn.asm, config/mips/libgcc-mips16.ver,
      	config/mips/mips-dsp.md, config/mips/mips-dspr2.md,
      	config/mips/mips-fixed.md, config/mips/sb1.md,
      	config/mips/sr71k.md, config/mips/t-elf, config/mips/t-gofast,
      	config/mips/t-iris6, config/mips/t-isa3264,
      	config/mips/t-libgcc-mips16, config/mips/t-linux64,
      	config/mips/t-mips, config/mips/t-r3900, config/mips/t-rtems,
      	config/mips/t-sb1, config/mips/t-sde, config/mips/t-sdemtk,
      	config/mips/t-slibgcc-irix, config/mips/t-sr71k, config/mips/t-st,
      	config/mips/t-vr, config/mips/t-vxworks, config/mmix/t-mmix,
      	config/mn10300/t-linux, config/mn10300/t-mn10300,
      	config/pa/pa32-regs.h, config/pa/t-hpux-shlib, config/pa/t-linux,
      	config/pa/t-linux64, config/pa/t-pa64, config/pdp11/t-pdp11,
      	config/picochip/libgccExtras/clzsi2.asm,
      	config/picochip/t-picochip, config/rs6000/darwin-ldouble-format,
      	config/rs6000/darwin-libgcc.10.4.ver,
      	config/rs6000/darwin-libgcc.10.5.ver,
      	config/rs6000/libgcc-ppc-glibc.ver, config/rs6000/ppc-asm.h,
      	config/rs6000/t-aix43, config/rs6000/t-aix52,
      	config/rs6000/t-darwin, config/rs6000/t-fprules,
      	config/rs6000/t-fprules-fpbit, config/rs6000/t-linux64,
      	config/rs6000/t-lynx, config/rs6000/t-netbsd,
      	config/rs6000/t-ppccomm, config/rs6000/t-ppcendian,
      	config/rs6000/t-ppcgas, config/rs6000/t-rs6000,
      	config/rs6000/t-rtems, config/rs6000/t-spe,
      	config/rs6000/t-vxworks, config/s390/libgcc-glibc.ver,
      	config/score/t-score-elf, config/sh/divcost-analysis,
      	config/sh/libgcc-glibc.ver, config/sh/t-netbsd, config/sh/t-sh,
      	config/sh/t-sh64, config/sh/t-superh, config/sh/t-symbian,
      	config/sparc/libgcc-sparc-glibc.ver, config/sparc/sol2-bi.h,
      	config/sparc/sol2-gas.h, config/sparc/sol2-gld-bi.h,
      	config/sparc/t-elf, config/sparc/t-linux64, config/sparc/t-sol2,
      	config/stormy16/stormy-abi, config/stormy16/t-stormy16,
      	config/t-darwin, config/t-libunwind, config/t-libunwind-elf,
      	config/t-linux, config/t-lynx, config/t-slibgcc-elf-ver,
      	config/t-slibgcc-sld, config/t-sol2, config/t-vxworks,
      	config/udivmod.c, config/udivmodsi4.c, config/v850/t-v850,
      	config/v850/t-v850e, config/xtensa/t-xtensa, diagnostic.def,
      	gdbinit.in, glimits.h, gstab.h, gsyms.h, java/ChangeLog,
      	java/ChangeLog.ptr, java/ChangeLog.tree-ssa, libgcc-std.ver,
      	limitx.h, version.c, xcoff.h: Add copyright and license notices.
      	* config/h8300/genmova.sh: Include copyright and license notices
      	in generated output.
      	* config/h8300/mova.md: Regenerate.
      	* doc/install.texi2html: Include word "Copyright" in copyright
      	notice and use name "Free Software Foundation, Inc.".
      	* ChangeLog, ChangeLog-2000, ChangeLog-2001, ChangeLog-2002,
      	ChangeLog-2003, ChangeLog-2004, ChangeLog-2005, ChangeLog-2006,
      	ChangeLog-2007, ChangeLog-2008: Correct dates.
      
      ada:
      	* ChangeLog, ChangeLog.ptr, ChangeLog.tree-ssa: Add copyright and
      	license notices.
      
      cp:
      	* ChangeLog, ChangeLog-1993, ChangeLog-1994, ChangeLog-1995,
      	ChangeLog-1996, ChangeLog-1997, ChangeLog-1998, ChangeLog-1999,
      	ChangeLog-2000, ChangeLog-2001, ChangeLog-2002, ChangeLog-2003,
      	ChangeLog-2004, ChangeLog-2005, ChangeLog-2006, ChangeLog-2007,
      	ChangeLog-2008, ChangeLog.ptr, ChangeLog.tree-ssa, NEWS,
      	cfns.gperf: Add copyright and license notices.
      	* cfns.h: Regenerate.
      	* ChangeLog, ChangeLog-2004: Correct dates.
      
      fortran:
      	* ChangeLog, ChangeLog-2002, ChangeLog-2003, ChangeLog-2004,
      	ChangeLog-2005, ChangeLog-2006, ChangeLog-2007, ChangeLog-2008,
      	ChangeLog.ptr, config-lang.in, ioparm.def, mathbuiltins.def: Add
      	copyright and license notices.
      	* ChangeLog, ChangeLog-2005, ChangeLog-2006, ChangeLog-2007,
      	ChangeLog-2008: Correct dates.
      
      java:
      	* ChangeLog, ChangeLog.ptr, ChangeLog.tree-ssa: Add copyright and
      	license notices.
      
      objc:
      	* ChangeLog: Add copyright and license notices.
      
      objcp:
      	* ChangeLog: Add copyright and license notices.
      
      po:
      	* ChangeLog, EXCLUDES: Add copyright and license notices.
      
      testsuite:
      	* ChangeLog, ChangeLog-1993-2007, ChangeLog-2008, ChangeLog.ptr,
      	ChangeLog.tree-ssa, README, README.QMTEST, README.compat,
      	README.gcc, g++.dg/README, g++.dg/compat/break/README,
      	g++.dg/gomp/gomp.exp, g++.old-deja/g++.brendan/README,
      	g++.old-deja/g++.oliva/ChangeLog, g++.old-deja/g++.robertl/README,
      	gcc.c-torture/ChangeLog.0,
      	gcc.c-torture/execute/builtins/builtins.exp, gcc.dg/README,
      	gcc.dg/gomp/gomp.exp, gcc.target/frv/frv.exp,
      	gcc.target/i386/math-torture/math-torture.exp,
      	gcc.target/mips/inter/mips16-inter.exp,
      	gcc.target/mips/mips-nonpic/README,
      	gcc.target/x86_64/abi/README.gcc,
      	gcc.target/xstormy16/xstormy16.exp, gcc.test-framework/README,
      	gfortran.dg/g77/README, gfortran.dg/gomp/gomp.exp,
      	gfortran.fortran-torture/ChangeLog.g95: Add copyright and license
      	notices.
      	* ChangeLog-1993-2007, ChangeLog: Correct dates.
      
      From-SVN: r146533
      Joseph Myers committed
  10. 01 Aug, 2007 1 commit
    • 2007-xx-xx Nigel Stephens <nigel@mips.com> David Ung <davidu@mips.com> Thiemo... · 0ea339ea
      gcc/
      2007-xx-xx  Nigel Stephens  <nigel@mips.com>
      	    David Ung  <davidu@mips.com>
      	    Thiemo Seufer  <ths@mips.com>
      	    Chris Dearman  <chris@mips.com>
      	    Richard Sandiford  <richard@codesourcery.com>
      
      	* config.gcc (mips*-sde-elf*): New stanza.
      	(mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
      	(mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
      	(mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*, mips-*-elf*)
      	(mipsel-*-elf*, mips64-*-elf*, mips64el-*-elf*, mips64orion-*-elf*)
      	(mips64orionel-*-elf*, mips*-*-rtems*, mips-wrs-windiss)
      	(mipstx39-*-elf*, mipstx39el-*-elf*): Add mips/t-libgcc-mips16
      	to tmake_file.
      	* config/mips/sde.h: New file.
      	* config/mips/t-libgcc-mips16: Likewise.
      	* config/mips/t-sde: Likewise.
      	* config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Remove settings
      	of _ABIN32, _ABI64, _ABIO32, _MIPS_SIM, _MIPS_SZLONG, _MIPS_SZPTR,
      	_MIPS_FPSET and _MIPS_SZINT.
      	* config/mips/iris.h (TARGET_OS_CPP_BUILTINS): Likewise.
      	* config/mips/elfoabi.h (DRIVER_SELF_SPECS): Remove separate
      	insertion of a default -mips option.  Use MIPS_32BIT_OPTION_SPEC.
      	* config/mips/t-isa3264 (LIB1ASMSRC, LIB1ASMFUNCS): Delete.
      	* config/mips/t-r3900 (LIB1ASMSRC, LIB1ASMFUNCS): Likewise.
      	* config/mips/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Likewise.
      	* config/mips/mips.h (TARGET_CPU_CPP_BUITINS): Define _ABIO32,
      	_ABIN32, _ABI64, _ABIO64, _MIPS_SIM, _MIPS_SZINT, _MIPS_SZLONG,
      	_MIPS_SZPTR and _MIPS_FPSET.
      	(MIPS_ISA_LEVEL_SPEC): Inject the default -mips option if no
      	architecture is specified.
      	(MIPS_32BIT_OPTION_SPEC): New macro.
      
      Co-Authored-By: Chris Dearman <chris@mips.com>
      Co-Authored-By: David Ung <davidu@mips.com>
      Co-Authored-By: Richard Sandiford <richard@codesourcery.com>
      Co-Authored-By: Thiemo Seufer <ths@mips.com>
      
      From-SVN: r127113
      Nigel Stephens committed
  11. 23 May, 2007 1 commit
    • Fix up MIPS16 hard float and add support for complex. · a38e0142
      2007-05-23  Sandra Loosemore  <sandra@codesourcery.com>
      	    Nigel Stephens  <nigel@mips.com>
      	    Richard Sandiford  <richard@codesourcery.com>
      
      	gcc/
      	Fix up MIPS16 hard float and add support for complex.
      
      	* config/mips/mips.h (TARGET_HARD_FLOAT_ABI): New.
      	(TARGET_SOFT_FLOAT_ABI): New.
      	(TARGET_CPU_CPP_BUILTINS): Define __mips_hard_float and
      	__mips_soft_float to reflect the ABI in use, not whether the
      	FPU is directly accessible (e.g., in MIPS16 mode).
      	(UNITS_PER_HWFPVALUE): Use TARGET_SOFT_FLOAT_ABI.
      	(UNITS_PER_FPVALUE): Likewise.
      
      	* config/mips/mips.c (mips_expand_call): Remove redundant
      	TARGET_MIPS16 check.
      	(mips_arg_regno): New.
      	(function_arg_advance): When setting bits in cum->fp_code for
      	MIPS16, don't subtract 1 from cum->arg_number, since it is now
      	zero-based.
      	(function_arg): Use mips_arg_regno.
      	(mips_return_mode_in_fpr_p): New.
      	(mips16_call_stub_mode_suffix): New.
      	(mips16_cfun_returns_in_fpr_p): New.
      	(mips_save_reg_p): Use mips16_cfun_returns_in_fpr_p.
      	(mips_output_function_prologue): Test mips16_hard_float, not
      	!TARGET_SOFT_FLOAT, to decide when a function stub is required.
      	(mips_expand_epilogue): Call MIPS16 helper routines to copy
      	return value into a floating-point register.
      	(mips_can_use_return_insn): Use mips16_cfun_returns_in_fpr_p.
      	(mips_function_value): Rewrite to use mips_return_mode_in_fpr_p.
      	(mips16_fp_args): Handle MIPS32r2 ISA which supports
      	TARGET_FLOAT64, and use mfhc1/mthc1 to copy the most significant
      	word of double arguments from or to the high bits of 64-bit
      	floating point registers.
      	(build_mips16_function_stub): Fill in DECL_RESULT for stubdecl.
      	(mips16_fpret_double): New helper function.
      	(build_mips16_call_stub): Use mips16_return_mode_in_fpr_p.  Add
      	support for complex modes.  Fill in DECL_RESULT for stubdecl.
      	(mips_init_libfuncs): Remove redundant TARGET_MIPS16 check.
      
      	* config/mips/mips16.S 
      	(RET, ARG1, ARG2): New.
      	(MERGE_GPRf, MERGE_GPRt): New.
      	(DELAYt, DELAYf): New.
      	(MOVE_SF_BYTE0, MOVE_SI_BYTE0): New.
      	(MOVE_SF_BYTE4, MOVE_SF_BYTE8): New.
      	(MOVE_DF_BYTE0, MOVE_DF_BYTE8): New.
      	(MOVE_SF_RET, MOVE_SC_RET, MOVE_DF_RET, MOVE_DC_RET, MOVE_SI_RET): New.
      	(SFOP): Renamed to...
      	(OPSF3): This, and macro-ified.  Updated all uses.
      	(SFOP2): Renamed to...
      	(OPSF2): This, and macro-ified.  Updated all uses.
      	(SFCMP): Renamed to...
      	(CMPSF): This, and macro-ified.  Updated all uses.
      	(SFREVCMP): Renamed to...
      	(REVCMPSF): This, and macro-ified.  Updated all uses.
      	(__mips16_floatsisf, __mips16_fix_truncsfsi): Macro-ified.
      	(LDDBL1, LDDBL2, RETDBL): Deleted.
      	(DFOP): Renamed to...
      	(OPDF3): This, and macro-ified.  Updated all uses.
      	(DFOP2): Renamed to...
      	(OPDF2): This, and macro-ified.  Updated all uses.
      	(__mips16_extendsfdf2, __mips16_truncdfsf2): Macro-ified.
      	(DFCMP): Renamed to...
      	(CMPDF): This, and macro-ified.  Updated all uses.
      	(DFREVCMP): Renamed to...
      	(REVCMPDF): This, and macro-ified.  Updated all uses.
      	(__mips16_floatsidf, __mips16_fix_truncdfsi): Macro-ified.
      	(RET_FUNCTION): New.
      	(__mips16_ret_sf, __mips16_ret_df): Macro-ified.
      	(__mips16_ret_sc, __mips16_ret_dc): New.
      	(STUB_ARGS_0, STUB_ARGS_1, STUB_ARGS_5, STUB_ARGS_9, STUB_ARGS_2,
      	STUB_ARGS_6, STUB_ARGS_10): New.
      	(CALL_STUB_NO_RET): New.
      	(__mips16_call_stub_1): Macro-ified.
      	(__mips16_call_stub_5): Macro-ified.
      	(__mips16_call_stub_2): Macro-ified.
      	(__mips16_call_stub_6): Macro-ified.
      	(__mips16_call_stub_9): Macro-ified.
      	(__mips16_call_stub_10): Macro-ified.
      	(CALL_STUB_RET): New.
      	(__mips16_call_stub_sf_0): Macro-ified.
      	(__mips16_call_stub_sf_1): Macro-ified.
      	(__mips16_call_stub_sf_5): Macro-ified.
      	(__mips16_call_stub_sf_2): Macro-ified.
      	(__mips16_call_stub_sf_6): Macro-ified.
      	(__mips16_call_stub_sf_9): Macro-ified.
      	(__mips16_call_stub_sf_10): Macro-ified.
      	(__mips16_call_stub_df_0): Macro-ified.
      	(__mips16_call_stub_df_1): Macro-ified.
      	(__mips16_call_stub_df_5): Macro-ified.
      	(__mips16_call_stub_df_2): Macro-ified.
      	(__mips16_call_stub_df_6): Macro-ified.
      	(__mips16_call_stub_df_9): Macro-ified.
      	(__mips16_call_stub_df_10): Macro-ified.
      	(__mips16_call_stub_sc_0): New.
      	(__mips16_call_stub_sc_1): New.
      	(__mips16_call_stub_sc_5): New.
      	(__mips16_call_stub_sc_2): New.
      	(__mips16_call_stub_sc_6): New.
      	(__mips16_call_stub_sc_9): New.
      	(__mips16_call_stub_sc_10): New.
      	(__mips16_call_stub_dc_0): New.
      	(__mips16_call_stub_dc_1): New.
      	(__mips16_call_stub_dc_5): New.
      	(__mips16_call_stub_dc_2): New.
      	(__mips16_call_stub_dc_6): New.
      	(__mips16_call_stub_dc_9): New.
      	(__mips16_call_stub_dc_10): New.
      	
      	* config/mips/t-elf (LIB1ASMFUNCS): Add MIPS16 floating-point stubs.
      	* config/mips/t-isa3264 (LIB1ASMFUNCS): Likewise.
      	* config/mips/t-r2900 (LIB1ASMFUNCS): Likewise.
      
      	gcc/testsuite/
      	* gcc.target/mips/inter/mips16_stubs_1_main.c: New.
      	* gcc.target/mips/inter/mips16_stubs_1_x.c: New.
      	* gcc.target/mips/inter/mips16_stubs_1_y.c: New.
      	* gcc.target/mips/inter/mips16-inter.exp: New.
      
      
      Co-Authored-By: Nigel Stephens <nigel@mips.com>
      Co-Authored-By: Richard Sandiford <richard@codesourcery.com>
      
      From-SVN: r124999
      Sandra Loosemore committed
  12. 03 Mar, 2004 1 commit
    • mips16.S: Change fixsfsi and fixdfsi to fix_trunc. · 91e01231
      2004-03-02  Eric Christopher  <echristo@redhat.com>
      
      	* config/mips/mips16.S: Change fixsfsi and fixdfsi to
      	fix_trunc.
      	* config/mips/mips.c (mips_init_libfuncs): Change accordingly.
      	* config/mips/t-elf (LIB1ASMFUNCS): Ditto.
      	* config/mips/t-isa3264 (LIB1ASMFUNCS): Ditto.
      	* config/mips/t-r3900 (LIB1ASMFUNCS): Ditto.
      
      From-SVN: r78811
      Eric Christopher committed
  13. 16 May, 2003 1 commit
  14. 17 Aug, 2002 1 commit
  15. 29 Jul, 2002 1 commit
    • elf.h: Remove ecoff.h and gofast includes. · 6d439235
      2002-07-29  Eric Christopher  <echristo@redhat.com>
      
             	* config/mips/elf.h: Remove ecoff.h and gofast includes.
              (DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO): Define unconditionally.
              (SDB_DEBUGGING_INFO): Undefine.
              (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
      	(PUT_SDB_SIZE): Remove.
      	(SUBTARGET_ASM_DEBUGGING_SPEC): Redefine.
             	(STARTFILE_SPEC): Add isa3264 define.
             	* config/mips/elf64.h: Ditto.  Move TARGET_MEM_FUNCTIONS from here...
             	* config/mips/ecoff.h: Remove. and here...
             	* config/mips/iris3.h: and here...
             	* config/mips/sni-svr4.h: and here...
             	* config/mips/mips.h: To here. Remove OBJECT_FORMAT_ROSE ifdefs.
      	Add assembler -mmdebug options for non-dwarf debugging.
      	* config/mips/r3900.h: Remove debug info defines.
             	* config/mips/isa32-linux.h: Remove, move functionality to config.gcc.
             	* config/mips/isa3264.h: Ditto.
             	* config/mips/t-isa3264: Fix up for file removal and gofast configure
             	change.
             	* config/mips/t-elf: Ditto.
             	* config/mips/t-ecoff: Ditto.
             	* config/mips/t-r3900: Ditto.
             	* config/mips/t-iris5-6: Ditto.
             	* config/mips/t-isa3264: Ditto.
             	* config/mips/t-linux: Remove.
             	* config/mips/t-netbsd: Remove.
             	* config/mips/t-mips: New file.
             	* config/mips/t-gofast: Ditto.
             	* config/mips/netbsd.h: Remove unnecessary undefines.
             	* config/mips/linux.h: Remove #include of mips.h.
             	* config.gcc: Add mips.h include for elf targets. Remove tm_file
             	for ecoff. Add gofast configure option for mips.
      
      From-SVN: r55852
      Eric Christopher committed
  16. 17 May, 2001 1 commit
    • i * libgcc1-test.c, libgcc1.c, config/i386/perform.h: Delete file. · 7857f134
      	* testsuite/gcc.dg/complete-port.c: New (revised version of
      	libgcc1-test.c)
      	* po/POTFILES.in: Remove libgcc1-test.c and libgcc1.c.
      
      	* Makefile.in: Delete variables: OLDCC, CCLIBFLAGS, OLDAR,
      	OLDAR_FLAGS, LIBGCC1, LIBGCC1_TEST, CROSS_LIBGCC1,
      	LIB1FUNCS, and LIB1FUNCS_EXTRA.  Delete rules: libgcc1-test,
      	libgcc1-test.o.  Clarify commentary now that libgcc1 no longer exists.
      	* cross-make: Don't set LIBGCC1.
      	* mklibgcc.in: Delete all code for building from libgcc1.c.
      	Always honor LIB1ASMFUNCS if set.
      
      	* crtstuff.c, floatlib.c, longlong.h, config/fp-bit.c,
      	config/arc/lib1funcs.asm, config/arm/lib1funcs.asm,
      	config/d30v/libgcc1.asm, config/fr30/lib1funcs.asm,
      	config/h8300/lib1funcs.asm, config/i386/cygwin.asm,
      	config/i386/uwin.asm, config/m68hc11/larith.asm,
      	config/m68k/lb1sf68.asm, config/mcore/lib1.asm,
      	config/mn10200/lib1funcs.asm, config/sh/lib1funcs.asm,
      	config/sparc/lb1spc.asm, config/sparc/lb1spl.asm,
      	config/v850/lib1funcs.asm, config/c4x/libgcc.S:
      	Delete or update references to libgcc1 in commentary.
      
      	* config/t-libc-ok, config/t-linux, config/t-linux-aout,
      	config/t-netbsd, config/a29k/t-a29kbare, config/a29k/t-vx29k,
      	config/alpha/t-interix, config/alpha/t-osf, config/alpha/t-vms,
      	config/arc/t-arc, config/arm/t-arm-aout, config/arm/t-arm-coff,
      	config/arm/t-arm-elf, config/arm/t-linux, config/arm/t-pe,
      	config/arm/t-semi, config/arm/t-strongarm-coff,
      	config/arm/t-strongarm-elf, config/arm/t-strongarm-pe,
      	config/arm/t-xscale-coff, config/arm/t-xscale-elf, config/avr/t-avr,
      	config/c4x/t-c4x, config/d30v/t-d30v, config/fr30/t-fr30,
      	config/h8300/t-h8300, config/i386/t-beos, config/i386/t-cygwin,
      	config/i386/t-i386elf, config/i386/t-interix, config/i386/t-netware,
      	config/i386/t-next, config/i386/t-rtems-i386, config/i386/t-sol2,
      	config/i960/t-960bare, config/i960/t-vxworks960, config/ia64/t-ia64,
      	config/m32r/t-m32r, config/m68hc11/t-m68hc11-gas, config/m68k/t-lynx,
      	config/m68k/t-m68kbare, config/m68k/t-m68kelf,
      	config/m68k/t-mot3300-gald, config/m68k/t-mot3300-gas,
      	config/m68k/t-next, config/m68k/t-vxworks68, config/m88k/t-bug,
      	config/m88k/t-dgux, config/m88k/t-dgux-gas, config/m88k/t-dguxbcs,
      	config/m88k/t-luna, config/m88k/t-luna-gas, config/m88k/t-m88k,
      	config/m88k/t-m88k-gas, config/m88k/t-sysv4, config/mcore/t-mcore,
      	config/mcore/t-mcore-pe, config/mips/t-bsd, config/mips/t-bsd-gas,
      	config/mips/t-cross64, config/mips/t-ecoff, config/mips/t-elf,
      	config/mips/t-iris6, config/mips/t-r3900, config/mips/t-svr3,
      	config/mips/t-svr3-gas, config/mips/t-svr4, config/mips/t-svr4-gas,
      	config/mips/t-ultrix, config/mn10200/t-mn10200,
      	config/mn10300/t-mn10300, config/pa/t-linux, config/pa/t-linux64,
      	config/pa/t-pa, config/pa/t-pa64, config/pa/t-pro,
      	config/pdp11/t-pdp11, config/pj/t-pj, config/rs6000/t-aix43,
      	config/rs6000/t-beos, config/rs6000/t-darwin, config/rs6000/t-newas,
      	config/rs6000/t-ppccomm, config/rs6000/t-rs6000, config/sh/t-linux,
      	config/sh/t-sh, config/sparc/t-chorus-elf, config/sparc/t-elf,
      	config/sparc/t-sol2, config/sparc/t-sp86x, config/sparc/t-sparcbare,
      	config/sparc/t-sparclite, config/sparc/t-splet,
      	config/sparc/t-sunos41, config/sparc/t-vxsparc,
      	config/sparc/t-vxsparc64, config/v850/t-v850:
      	Don't set any of LIBGCC1, CROSS_LIBGCC1, or LIBGCC1_TEST.
      
      	* config/alpha/alpha.h, config/i386/i386.h, config/i860/i860.h:
      	Don't set FLOAT_VALUE_TYPE, FLOAT_ARG_TYPE, INTIFY, or FLOATIFY.
      	* config/d30v/d30v.h: Don't mention LIBGCC_NEEDS_DOUBLE,
      	FLOAT_VALUE_TYPE, FLOAT_ARG_TYPE, FLOATIFY, INTIFY,
      	nongcc_SI_type, nongcc_word_type, or perform_*
      	* config/i860/fx2800: Don't define perform_umodsi3 or perform_modsi3.
      
      	* config/i386/386bsd.h, config/i386/beos-elf.h,
      	config/i386/linux-aout.h, config/i386/linux-oldld.h,
      	config/i386/linux.h, config/i386/mach.h, config/i386/netbsd.h,
      	config/i386/openbsd.h, config/i386/osfrose.h, config/i386/rtemself.h:
      	Don't include i386/perform.h.
      
      	* config/a29k/t-a29k, config/arm/t-semiaof, config/i370/t-i370,
      	config/i370/t-linux, config/i370/t-mvs, config/i370/t-oe,
      	config/i386/t-djgpp, config/i386/t-i386bare, config/i386/t-vsta,
      	config/ia64/t-hpux, config/mips/t-mips, config/mips/t-mips-gas,
      	config/mips/t-osfrose, config/sparc/t-sp64, config/sparc/t-sunos40,
      	config/vax/t-openbsd, config/vax/t-vax: Delete.
      
      	* config.gcc: Remove references to deleted files.
      	(arm-semi-aof): Use arm/t-semi for tmake_file.
      
      	* gcc.texi, install.texi, invoke.texi, tm.texi:
      	Delete or rewrite text which is no longer relevant now that
      	libgcc1 no longer exists.
      
      	* config/t-openbsd, config/alpha/t-interix, config/i386/t-interix:
      	No need to set INSTALL_ASSERT_H.  (Missed in previous sweep.)
      
      From-SVN: r42188
      Zack Weinberg committed
  17. 18 Apr, 2000 1 commit
    • cccp.c, [...]: Removed. · 86702e31
      	* cccp.c, cexp.y, cexp.c, cccp.1: Removed.
      
      	* configure.in: Delete --disable-cpplib option and all
      	references to cpp_main.
      	* configure: Regenerate.
      	* Makefile.in: Remove all references to CCCP, CCCP_OBJS,
      	@cpp_main@, cccp.c, cexp.c, cexp.y, cexp.output, cexp.o,
      	cccp.o, cccp, or cppmain.  Link cppmain.o straight to
      	cpp$(exeext).  Add --no-headers to makeinfo command line when
      	generating INSTALL.  Install and uninstall cpp.1 manpage, not
      	cccp.1.
      	* install.texi: Delete all references to cexp.y/cexp.c.
      	Delete ancient instructions for compiling GCC on 3b1.
      	* INSTALL: Regenerate.
      
      	* cppfiles.c, cpplib.h, jump.c, protoize.c, c-lex.c,
      	ch/decl.c, ch/lex.c, cp/lex.c, f/lex.c, mips/t-ecoff,
      	mips/t-elf, mips/t-r3900: Remove references to cccp.c.
      	* convex.h, fx80.h, m68k.h, pdp11.h, contrib/gcc_update,
      	f/g77install.texi: Remove references to	cexp.c/cexp.y.
      	* xm-linux.h, xm-os2.h, romp.h: Remove definition of BSTRING,
      	which is no longer tested anywhere.
      
      	* po/POTFILES.in: Remove cccp.c and cexp.c.  Comment out
      	alpha/vms-tramp.asm.
      
      From-SVN: r33238
      Zack Weinberg committed
  18. 07 Aug, 1999 1 commit
    • Makefile.in (PREMADE_ATTRTAB_MD, [...]): Delete. · 5b4146bd
              * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
              (s-attrtab); No longer try to use pre-made insn-attrtab file.
              * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
              PREMADE_ATTRTAB_MD.
              * mips/t-ecoff: Likewise.
              * mips/t-elf: Likewise.
              * mips/t-mips: Likewise.
              * mips/t-osfrose: Likewise.
              * mips/t-r3900: Likewise.
              * mips/t-svr3: Likewise.
              * mips/t-svr4: Likewise.
              * mips/t-ultrix: Likewise.
      
      From-SVN: r28566
      Jeffrey A Law committed
  19. 05 Aug, 1999 1 commit
    • t-a29kbare: Fix some comments. · c91fba50
      	* a29k/t-a29kbare: Fix some comments.
      	(LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
      	(FPBIT, DPBIT): Define.
      	* a29k/t-vx29k: Likewise.
      	* arc/t-arc: Likewise.
      	* arm/t-arm-elf: Likewise.
      	* arm/t-bare: Likewise.
      	* arm/t-pe: Likewise.
      	* arm/t-pe-thumb: Likewise.
      	* arm/t-semi: Likewise.
      	* arm/t-thumb: Likewise.
      	* arm/t-thumb-elf: Likewise.
      	* arm/t-thumb-linux: Likewise.
      	* h8300/t-h8300: Likewise.
      	* i960/t-i960: Likewise.
      	* i960/t-vxworks960: Likewise.
      	* m32r/t-m32r: Likewise.
      	* mips/t-ecoff: Likewise.
      	* mips/t-elf: Likewise.
      	* mips/t-r3900: Likewise.
      	* pa/t-pro: Likewise.
      	* rs6000/t-aix43: Likewise.
      	* rs6000/t-beos: Likewise.
      	* rs6000/t-newas: Likewise.
      	* rs6000/t-ppccomm: Likewise.
      	* rs6000/t-rs6000: Likewise.
      	* rs6000/t-winnt: Likewise.
      	* rs6000/t-xnewas: Likewise.
      	* rs6000/t-xrs6000: Likewise.
      	* sh/t-sh: Likewise.
      	* sparc/t-elf: Likewise.
      	* sparc/t-sparcbare: Likewise.
      	* sparc/t-sparclite: Likewise.
      	* sparc/t-splet: Likewise.
      	* v850/t-v850: Likewise.
      	* mn10200/t-mn10200: Fix comments.
      	* mn10300/t-mn10300: Likewise.
      
      From-SVN: r28518
      Jeffrey A Law committed
  20. 14 Apr, 1999 1 commit
    • Wed Apr 14 10:48:03 1999 Catherine Moore <clm@cygnus.com> · d8265d29
              * config/mips/elf.h, config/mips/elf64.h
              (CTORS_SECTION_ASM_OP): Define.
              (DTORS_SECTION_ASM_OP): Define.
              (EXTRA_SECTIONS): Define.
              (INVOKE__main): Define.
              (NAME__MAIN): Define.
              (SYMBOL__MAIN): Define.
              (EXTRA_SECTIONS_FUNCTIONS): Define.
              (SECTION_FUNCTION_TEMPLATE): Define.
              (ASM_OUTPUT_CONSTRUCTOR): Define.
              (ASM_OUTPUT_DESTRUCTOR): Define.
              (CTOR_LIST_BEGIN): Define.
              (CTOR_LIST_END): Define.
              (DTOR_LIST_BEGIN): Define.
              (DTOR_LIST_END): Define.
              (LIB_SPEC): Define.
              (STARTFILE_SPEC): Define.
              (ENDFILE_SPEC): Define.
              * config/mips/linux.h:  Undefine all of the above.
              * config/mips/rtems64.h: Likewise.
              * config/mips/t-r3900: Likewise.
              * config/mips/t-elf: New file.
              * config/mips/vxworks.h: New file.
              * configure.in (mips-wrs-vxworks): Use mips/vxworks.h.
              (mips*-*-*elf*):  Use t-elf instead of t-ecoff.
              * configure: Regenerate.
      
      From-SVN: r26446
      Catherine Moore committed
  21. 06 Feb, 1998 1 commit
    • Correct tx39 multilibs. · 09e4daf5
      	* mips/t-r3900: New - same as t-ecoff but eliminate
      	multilibs: mips1 and mips3.
      	* configure.in (tx39*): Use new mips/t-r3900.
       	* configure: Rebuild.
      	* mips/r3900.h (MULTILIB_DEFAULTS): Eliminate mips1.
      
      From-SVN: r17693
      Gavin Koch committed
  22. 29 Dec, 1997 1 commit
  23. 21 Apr, 1997 1 commit
  24. 30 Nov, 1995 1 commit
  25. 19 Jan, 1995 1 commit
  26. 12 Jan, 1995 1 commit
  27. 21 Nov, 1994 1 commit
  28. 18 Nov, 1994 1 commit