1. 27 Jan, 2012 1 commit
  2. 02 Nov, 2011 3 commits
    • ro's avatar
      Move gthr to toplevel libgcc · 630d52ca
      ro authored
      	gcc:
      	* gthr-single.h, gthr.h: Move to ../libgcc.
      	* gthr-aix.h: Move to ../libgcc/config/rs6000.
      	* gthr-dce.h: Move to ../libgcc/config/pa.
      	* gthr-lynx.h: Move to ../libgcc/config.
      	* gthr-mipssde.h: Move to ../libgcc/config/mips.
      	* gthr-posix.h: Move to ../libgcc/config.
      	* gthr-rtems.h: Likewise.
      	* gthr-tpf.h: Move to ../libgcc/config/s390.
      	* gthr-vxworks.h: Move to ../libgcc/config.
      	* gthr-win32.h: Move to ../libgcc/config/i386.
      	* configure.ac (gthread_flags): Remove
      	(gthr-default.h): Don't create.
      	(thread_file): Don't substitute.
      	* configure: Regenerate.
      	* Makefile.in (GCC_THREAD_FILE): Remove.
      	(GTHREAD_FLAGS): Remove.
      	(libgcc.mvars): Remove GTHREAD_FLAGS.
      	* config/t-vxworks (EXTRA_HEADERS): Remove.
      
      	gcc/po:
      	* EXCLUDES (gthr-aix.h, gthr-dce.h, gthr-posix.c, gthr-posix.h)
      	(gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h)
      	(gthr-win32.h, gthr.h): Remove.
      
      	libgcc:
      	* gthr-single.h, gthr.h: New files.
      	* config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
      	config/gthr-vxworks.h, config/i386/gthr-win32.h,
      	config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
      	config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
      	* config/i386/gthr-win32.c: Include "gthr-win32.h".
      	* configure.ac (thread_header): New variable.
      	Set it depending on target_thread_file.
      	(gthr-default.h): Link from $thread_header.
      	* configure: Regenerate.
      	* Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
      
      	libgfortran:
      	* Makefile.am (AM_CPPFLAGS): Add
      	-I$(srcdir)/$(MULTISRCTOP)../libgcc, -I$(MULTIBUILDTOP)../libgcc.
      	* Makefile.in: Regenerate.
      	* acinclude.m4 (LIBGFOR_CHECK_GTHR_DEFAULT): Remove.
      	* configure.ac (LIBGFOR_CHECK_GTHR_DEFAULT): Likewise.
      	* configure: Regenerate.
      	* config.h.in: Regenerate.
      
      	libobjc:
      	* Makefile.in (INCLUDES): Add -I$(MULTIBUILDTOP)../libgcc.
      	* configure.ac (target_thread_file, HAVE_GTHR_DEFAULT): Remove.
      	* configure: Regenerate.
      	* config.h.in: Regenerate.
      
      	libstdc++-v3:
      	* acinclude.m4 (GLIBCXX_CONFIGURE): Determine and substitute
      	toplevel_builddir.
      	(GLIBCXX_ENABLE_THREADS): Remove glibcxx_thread_h,
      	HAVE_GTHR_DEFAULT, enable_thread.
      	(GLIBCXX_CHECK_GTHREADS): Reflect gthr move to libgcc.
      	* include/Makefile.am (thread_host_headers): Remove
      	${host_builddir}/gthr-tpf.h.
      	(${host_builddir}/gthr.h): Reflect gthr move to libgcc.
      	Use $<.
      	(${host_builddir}/gthr-single.h): Likewise.
      	(${host_builddir}/gthr-posix.h): Likewise.
      	(${host_builddir}/gthr-tpf.h): Remove.
      	(${host_builddir}/gthr-default.h): Likewise.
      	* configure, config.h.in: Regenerate.
      	* Makefile.in, doc/Makefile.in, include/Makefile.in,
      	libsupc++/Makefile.in, po/Makefile.in, python/Makefile.in,
      	src/Makefile.intestsuite/Makefile.in: Regenerate.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180776 138bc75d-0d04-0410-961f-82ee72b054a4
      630d52ca
    • ro's avatar
      Move libgcc2 to toplevel libgcc · 4dc4ff49
      ro authored
      	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.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180774 138bc75d-0d04-0410-961f-82ee72b054a4
      4dc4ff49
    • ro's avatar
      Move crtstuff support to toplevel libgcc · 237490bf
      ro authored
      	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.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180771 138bc75d-0d04-0410-961f-82ee72b054a4
      237490bf
  3. 30 Oct, 2011 1 commit
  4. 25 Oct, 2011 1 commit
  5. 03 Oct, 2011 1 commit
  6. 02 Sep, 2011 1 commit
  7. 28 Aug, 2011 1 commit
  8. 05 Aug, 2011 2 commits
    • ro's avatar
      gcc: · a23b9c51
      ro authored
      	* 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
      a23b9c51
    • ro's avatar
      gcc: · e59be7e3
      ro authored
      	* Makefile.in (UNWIND_H): Remove.
      	(LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Move to
      	../libgcc/Makefile.in.
      	(LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): Likewise.
      	(LIBUNWINDDEP): Remove.
      	(libgcc-support): Remove LIB2ADDEH, $(srcdir)/emutls.c dependencies.
      	(libgcc.mvars): Remove LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED,
      	LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL.
      	(stmp-int-hdrs): Remove $(UNWIND_H) dependency.
      	Don't copy $(UNWIND_H).
      	* config.gcc (ia64*-*-linux*): Remove with_system_libunwind
      	handling.
      	* configure.ac (GCC_CHECK_UNWIND_GETIPINFO): Remove.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
      	unwind-dw2-fde-compat.c, unwind-dw2-fde-glibc.c, unwind-dw2-fde.c,
      	unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
      	unwind-pe.h, unwind-sjlj.c, unwind.inc: Move to ../libgcc.
      	* unwind-dw2-fde-darwin.c: Move to ../libgcc/config.
      	* config/arm/libunwind.S, config/arm/pr-support.c,
      	config/arm/unwind-arm.c, config/arm/unwind-arm.h: Move to
      	../libgcc/config/arm.
      	* config/arm/t-bpabi (UNWIND_H, LIB2ADDEH): Remove.
      	* config/arm/t-symbian (UNWIND_H, LIB2ADDEH): Remove.
      	* config/frv/t-frv ($(T)frvbegin$(objext)): Use
      	$(srcdir)/../libgcc to refer to unwind-dw2-fde.h.
      	($(T)frvend$(objext)): Likewise.
      	* config/ia64/t-glibc (LIB2ADDEH): Remove.
      	* config/ia64/t-glibc-libunwind: Move to ../libgcc/config/ia64.
      	* config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
      	config/ia64/unwind-ia64.c, config/ia64/unwind-ia64.h: Move to
      	../libgcc/config/ia64.
      	* config/ia64/t-hpux (LIB2ADDEH): Remove.
      	* config/ia64/t-ia64 (LIB2ADDEH): Remove.
      	* config/ia64/t-vms (LIB2ADDEH): Remove.
      	* config/ia64/vms.h (UNW_IVMS_MODE,
      	MD_UNW_COMPATIBLE_PERSONALITY_P): Remove.
      	* config/picochip/t-picochip (LIB2ADDEH): Remove.
      	* config/rs6000/aix.h (R_LR, MD_FROB_UPDATE_CONTEXT): Remove.
      	* config/rs6000/t-darwin (LIB2ADDEH): Remove.
      	* config/rs6000/darwin-fallback.c: Move to ../libgcc/config/rs6000.
      	* config/sh/t-sh ($(T)unwind-dw2-Os-4-200.o): Use
      	$(srcdir)/../libgcc to refer to unwinder sources.
      	* config/spu/t-spu-elf (LIB2ADDEH): Remove.
      	* config/t-darwin (LIB2ADDEH): Remove.
      	* config/t-freebsd (LIB2ADDEH): Remove.
      	* config/t-libunwind (LIB2ADDEH, LIB2ADDEHSTATIC): Remove.
      	* config/t-libunwind-elf: Move to ../libgcc/config.
      	* config/t-linux (LIB2ADDEH): Remove.
      	* config/t-sol2 (LIB2ADDEH): Remove.
      	* config/xtensa/t-xtensa (LIB2ADDEH): Remove.
      	* system.h (MD_FROB_UPDATE_CONTEXT): Poison.
      
      	gcc/po:
      	* EXCLUDES (unwind-c.c, unwind-dw2-fde-darwin.c)
      	(unwind-dw2-fde-glibc.c, unwind-dw2-fde.c, unwind-dw2-fde.h)
      	(unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h): Remove.
      
      	libgcc:
      	* Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
      	variables.
      	(LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
      	(LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
      	(install-unwind_h): New target.
      	(all): Depend on it.
      	* config.host (unwind_header): New variable.
      	(*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
      	(*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
      	*-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
      	(*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
      	(arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
      	Set unwind_header.
      	(arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
      	Set unwind_header.
      	(arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
      	arm*-*-eabi*.
      	Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
      	Set unwind_header.
      	(ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
      	(ia64*-*-freebsd*): Likewise.
      	(ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
      	tmake_file.
      	Add t-libunwind-elf, ia64/t-glibc-libunwind unless
      	$with_system_libunwind.
      	(ia64*-*-hpux*): Set tmake_file.
      	(ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
      	(picochip-*-*): Set tmake_file.
      	(rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
      	md_unwind_header.
      	(rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
      	(rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
      	(s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
      	(xtensa*-*-elf*): Set tmake_file.
      	(xtensa*-*-linux*): Likewise.
      	* configure.ac: Include ../config/unwind_ipinfo.m4.
      	Call GCC_CHECK_UNWIND_GETIPINFO.
      	Link unwind.h to $unwind_header.
      	* configure: Regenerate.
      	* emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
      	unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
      	unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
      	unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
      	* config/unwind-dw2-fde-darwin.c: New file.
      	* config/arm/libunwind.S, config/arm/pr-support.c,
      	config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
      	config/arm/unwind-arm.h,: New files.
      	* config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
      	config/ia64/t-eh-ia64, config/ia64/t-glibc,
      	config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
      	config/ia64/t-vms, config/ia64/unwind-ia64.c,
      	config/ia64/unwind-ia64.h: New files.
      	* config/picochip/t-picochip: New file.
      	* config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
      	files.
      	* config/rs6000/t-darwin (LIB2ADDEH): Set.
      	* config/s390/t-tpf (LIB2ADDEH): Remove.
      	* config/t-darwin (LIB2ADDEH): Set.
      	* config/t-eh-dw2-dip: New file.
      	* config/t-libunwind, config/t-libunwind-elf: New files.
      	* config/t-sol2 (LIB2ADDEH): Remove.
      	* config/xtensa/t-xtensa: New file.
      
      	gcc/ada:
      	* gcc-interface/Makefile.in (raise-gcc.o): Search
      	$(srcdir)/../libgcc.
      
      	libgo:
      	* Makefile.am (AM_CFLAGS): Search $(srcdir)/../libgcc.
      	* Makefile.in: Regenerate.
      
      	libjava:
      	* configure.ac (GCC_UNWIND_INCLUDE): Rename to
      	LIBGCC_UNWIND_INCLUDE.
      	Point to $(multi_basedir)/./libjava/../libgcc.
      	* configure: Regenerate.
      	* Makefile.am (GCC_UNWIND_INCLUDE): Reflect this.
      	* Makefile.in: Regenerate.
      
      	libobjc:
      	* Makefile.in (INCLUDES): Search
      	$(srcdir)/$(MULTISRCTOP)../libgcc.
      
      	libstdc++-v3:
      	* acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Point TOPLEVEL_INCLUDES
      	to $(toplevel_srcdir)/libgcc.
      	* configure: Regenerate.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177447 138bc75d-0d04-0410-961f-82ee72b054a4
      e59be7e3
  9. 31 Jul, 2011 1 commit
  10. 21 Jul, 2011 1 commit
  11. 13 Jul, 2011 1 commit
    • ro's avatar
      gcc: · 1a4a11f3
      ro authored
      	* config/darwin-crt2.c: Move to ../libgcc/config/rs6000.
      	* config/darwin-crt3.c: Move to ../libgcc/config.
      	* config/t-darwin (EXTRA_MULTILIB_PARTS): Remove.
      	($(T)crt3$(objext)): Remove.
      	* config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): Remove.
      	($(T)crt2$(objext)): Remove.
      	* config.gcc (powerpc-*-darwin*): Remove extra_parts.
      	(powerpc64-*-darwin*): Likewise.
      
      	gcc/po:
      	* EXCLUDES (config/darwin-crt2.c): Remove.
      
      	libgcc:
      	* config/darwin-crt3.o: New file.
      	* config/rs6000/darwin-crt2.c: New file.
      	* config/t-darwin: New file.
      	* config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
      	(crt2.o): New rule.
      	* config.host (*-*-darwin*): Add crt3.o to extra_parts.
      	(powerpc-*-darwin*): Add crt2.o to extra_parts.
      	(powerpc64-*-darwin*): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176239 138bc75d-0d04-0410-961f-82ee72b054a4
      1a4a11f3
  12. 11 Jul, 2011 1 commit
  13. 08 Jul, 2011 1 commit
  14. 30 Jun, 2011 1 commit
  15. 27 Jun, 2011 2 commits
  16. 24 Jun, 2011 1 commit
  17. 23 Jun, 2011 1 commit
  18. 21 Jun, 2011 1 commit
  19. 14 Jun, 2011 1 commit
    • jsm28's avatar
      * target-def.h (TARGET_HAVE_NAMED_SECTIONS): Move to · 218e3e4e
      jsm28 authored
      	common/common-target-def.h.
      	* target.def (default_target_flags, handle_option,
      	supports_split_stack, optimization_table, init_struct,
      	except_unwind_info, unwind_tables_default, have_named_sections):
      	Move to common/common-target.def.
      	* target.h (enum opt_levels, struct default_options): Move to
      	common/common-target.h.
      	* targhooks.c (default_except_unwind_info,
      	dwarf2_except_unwind_info, sjlj_except_unwind_info,
      	default_target_handle_option, empty_optimization_table): Move to
      	common/common-targhooks.c.
      	* targhooks.h (default_except_unwind_info,
      	dwarf2_except_unwind_info, sjlj_except_unwind_info,
      	default_target_handle_option, empty_optimization_table): Move to
      	common/common-targhooks.h.
      	* common/common-target-def.h: Include common/common-targhooks.h.
      	(TARGET_HAVE_NAMED_SECTIONS): Define if TARGET_ASM_NAMED_SECTION
      	defined.
      	* common/common-target.def (handle_option, option_init_struct,
      	option_optimization_table, default_target_flags,
      	except_unwind_info, supports_split_stack, unwind_tables_default,
      	have_named_sections): Move from target.def.
      	(HOOK_PREFIX): Undefine at end of file.
      	* common/common-target.h: Include input.h.
      	(enum opt_levels, struct default_options): Move from target.h.
      	* common/common-targhooks.c, common/common-targhooks.h: New.
      	* config.gcc (target_has_targetm_common): Default to yes.
      	(moxie*): Set target_has_targetm_common=no.
      	(hppa*-*-*): Don't set target_has_targetm_common=yes.
      	* doc/tm.texi: Regenerate.
      	* Makefile.in (COMMON_TARGET_H): Add $(INPUT_H).
      	(C_TARGET_DEF_H): Add common/common-targhooks.h.
      	(GCC_OBJS): Remove vec.o.
      	(OBJS): Remove hooks.o and vec.o.
      	(OBJS-libcommon-target): Add vec.o, hooks.o and
      	common/common-targhooks.o.
      	(c-family/c-common.o, c-family/c-cppbuiltin.o, lto-opts.o, tree.o,
      	tree-tailcall.o, opts.o, toplev.o, varasm.o, function.o, except.o,
      	expr.o, explow.o, dbxout.o, dwarf2out.o, cfgrtl.o, haifa-sched.o,
      	cfglayout.o, $(out_object_file), $(common_out_object_file)):
      	Update dependencies.
      	(common/common-targhooks.o): New.
      	* common/config/default-common.c: Include tm.h.  Add FIXME
      	comment.
      	* common/config/pa/pa-common.c: Include more headers.  Take
      	copyright dates from pa.c.
      	(pa_option_optimization_table, pa_handle_option,
      	TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_DEFAULT_TARGET_FLAGS,
      	TARGET_HANDLE_OPTION): Move from pa.c.
      	* common/config/alpha/alpha-common.c,
      	common/config/arm/arm-common.c, common/config/avr/avr-common.c,
      	common/config/bfin/bfin-common.c,
      	common/config/cris/cris-common.c,
      	common/config/fr30/fr30-common.c, common/config/frv/frv-common.c,
      	common/config/h8300/h8300-common.c,
      	common/config/i386/i386-common.c,
      	common/config/ia64/ia64-common.c,
      	common/config/iq2000/iq2000-common.c,
      	common/config/lm32/lm32-common.c,
      	common/config/m32c/m32c-common.c,
      	common/config/m32r/m32r-common.c,
      	common/config/m68k/m68k-common.c,
      	common/config/mcore/mcore-common.c,
      	common/config/mep/mep-common.c,
      	common/config/microblaze/microblaze-common.c,
      	common/config/mips/mips-common.c,
      	common/config/mmix/mmix-common.c,
      	common/config/mn10300/mn10300-common.c,
      	common/config/pdp11/pdp11-common.c,
      	common/config/picochip/picochip-common.c,
      	common/config/rs6000/rs6000-common.c,
      	common/config/rx/rx-common.c, common/config/s390/s390-common.c,
      	common/config/score/score-common.c, common/config/sh/sh-common.c,
      	common/config/sparc/sparc-common.c,
      	common/config/spu/spu-common.c, common/config/v850/v850-common.c,
      	common/config/vax/vax-common.c,
      	common/config/xstormy16/xstormy16-common.c,
      	common/config/xtensa/xtensa-common.c: New.
      	* config/alpha/alpha.c: Include common/common-target.h.
      	(alpha_option_optimization_table, alpha_handle_option,
      	TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION,
      	TARGET_OPTION_OPTIMIZATION_TABLE): Move to alpha-common.c.
      	* config/arm/arm-protos.h (arm_except_unwind_info): Declare.
      	* config/arm/arm.c (arm_option_optimization_table,
      	TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TABLE,
      	TARGET_EXCEPT_UNWIND_INFO, arm_except_unwind_info): Move to
      	arm-common.c.
      	* config/avr/avr.c (avr_option_optimization_table,
      	TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_EXCEPT_UNWIND_INFO): Move
      	to avr-common.c.
      	* config/bfin/bfin.c (struct bfin_cpu): Move to bfin.h.
      	(bfin_cpus, bfin_handle_option, TARGET_HANDLE_OPTION,
      	TARGET_DEFAULT_TARGET_FLAGS): Move to bfin-common.c.
      	* config/bfin/bfin.h struct bfin_cpu): Move from bfin.c.
      	* config/cris/cris.c (cris_option_optimization_table,
      	TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION,
      	TARGET_OPTION_OPTIMIZATION_TABLE, cris_handle_option): Move to
      	cris-common.c.
      	* config/fr30/fr30.c (fr30_option_optimization_table,
      	TARGET_EXCEPT_UNWIND_INFO, TARGET_OPTION_OPTIMIZATION_TABLE): Move
      	to fr30-common.c.
      	* config/frv/frv.c (frv_option_optimization_table,
      	MASK_DEFAULT_ALLOC_CC, TARGET_DEFAULT_TARGET_FLAGS,
      	TARGET_OPTION_OPTIMIZATION_TABLE): Move to frv-common.c.
      	* config/h8300/h8300.c (h8300_option_optimization_table,
      	TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TABLE,
      	TARGET_EXCEPT_UNWIND_INFO): Move to h8300-common.c.
      	* config/i386/i386-protos.h (ix86_handle_option): Declare.
      	* config/i386/i386.c: Include common/common-target.h.
      	(OPTION_MASK_ISA_MMX_SET, OPTION_MASK_ISA_3DNOW_SET,
      	OPTION_MASK_ISA_SSE_SET, OPTION_MASK_ISA_SSE2_SET,
      	OPTION_MASK_ISA_SSE3_SET, OPTION_MASK_ISA_SSSE3_SET,
      	OPTION_MASK_ISA_SSE4_1_SET, OPTION_MASK_ISA_SSE4_2_SET,
      	OPTION_MASK_ISA_AVX_SET, OPTION_MASK_ISA_FMA_SET,
      	OPTION_MASK_ISA_SSE4_SET, OPTION_MASK_ISA_SSE4A_SET,
      	OPTION_MASK_ISA_FMA4_SET, OPTION_MASK_ISA_XOP_SET,
      	OPTION_MASK_ISA_LWP_SET, OPTION_MASK_ISA_AES_SET,
      	OPTION_MASK_ISA_PCLMUL_SET, OPTION_MASK_ISA_ABM_SET,
      	OPTION_MASK_ISA_BMI_SET, OPTION_MASK_ISA_TBM_SET,
      	OPTION_MASK_ISA_POPCNT_SET, OPTION_MASK_ISA_CX16_SET,
      	OPTION_MASK_ISA_SAHF_SET, OPTION_MASK_ISA_MOVBE_SET,
      	OPTION_MASK_ISA_CRC32_SET, OPTION_MASK_ISA_FSGSBASE_SET,
      	OPTION_MASK_ISA_RDRND_SET, OPTION_MASK_ISA_F16C_SET,
      	OPTION_MASK_ISA_MMX_UNSET, OPTION_MASK_ISA_3DNOW_UNSET,
      	OPTION_MASK_ISA_3DNOW_A_UNSET, OPTION_MASK_ISA_SSE_UNSET,
      	OPTION_MASK_ISA_SSE2_UNSET, OPTION_MASK_ISA_SSE3_UNSET,
      	OPTION_MASK_ISA_SSSE3_UNSET, OPTION_MASK_ISA_SSE4_1_UNSET,
      	OPTION_MASK_ISA_SSE4_2_UNSET, OPTION_MASK_ISA_AVX_UNSET,
      	OPTION_MASK_ISA_FMA_UNSET, OPTION_MASK_ISA_SSE4_UNSET,
      	OPTION_MASK_ISA_SSE4A_UNSET, OPTION_MASK_ISA_FMA4_UNSET,
      	OPTION_MASK_ISA_XOP_UNSET, OPTION_MASK_ISA_LWP_UNSET,
      	OPTION_MASK_ISA_AES_UNSET, OPTION_MASK_ISA_PCLMUL_UNSET,
      	OPTION_MASK_ISA_ABM_UNSET, OPTION_MASK_ISA_BMI_UNSET,
      	OPTION_MASK_ISA_TBM_UNSET, OPTION_MASK_ISA_POPCNT_UNSET,
      	OPTION_MASK_ISA_CX16_UNSET, OPTION_MASK_ISA_SAHF_UNSET,
      	OPTION_MASK_ISA_MOVBE_UNSET, OPTION_MASK_ISA_CRC32_UNSET,
      	OPTION_MASK_ISA_FSGSBASE_UNSET, OPTION_MASK_ISA_RDRND_UNSET,
      	OPTION_MASK_ISA_F16C_UNSET, ix86_handle_option,
      	ix86_option_optimization_table, ix86_option_init_struct,
      	ix86_supports_split_stack, TARGET_DEFAULT_TARGET_FLAGS,
      	TARGET_HANDLE_OPTION, TARGET_OPTION_OPTIMIZATION_TABLE,
      	TARGET_OPTION_INIT_STRUCT, TARGET_SUPPORTS_SPLIT_STACK): Move to
      	i386-common.c.
      	* config/i386/t-i386 (i386.o): Update dependencies.
      	* config/ia64/ia64-protos.h (ia64_except_unwind_info): Declare.
      	* config/ia64/ia64.c (ia64_option_optimization_table,
      	TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_EXCEPT_UNWIND_INFO,
      	TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION,
      	ia64_handle_option): Move to ia64-common.c.
      	* config/iq2000/iq2000.c (iq2000_option_optimization_table,
      	TARGET_OPTION_OPTIMIZATION_TABLE): Move to iq2000-common.c.
      	* config/lm32/lm32.c (lm32_option_optimization_table,
      	TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_EXCEPT_UNWIND_INFO): Move
      	to lm32-common.c.
      	* config/m32c/m32c.c (TARGET_HAVE_NAMED_SECTIONS): Move to
      	m32c-common.c.
      	* config/m32r/m32r.c (m32r_option_optimization_table,
      	TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION,
      	TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_EXCEPT_UNWIND_INFO,
      	m32r_handle_option): Move to m32r-common.c.
      	(m32r_memory_move_cost): Remove comment referring to
      	TARGET_HANDLE_OPTION.
      	* config/m68k/m68k.c (TARGET_HANDLE_OPTION, m68k_handle_option):
      	Move to m68k-common.c.
      	* config/mcore/mcore.c (mcore_option_optimization_table,
      	TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TABLE,
      	TARGET_EXCEPT_UNWIND_INFO): Move to mcore-common.c.
      	* config/mep/mep.c (mep_option_optimization_table,
      	mep_handle_option, TARGET_HANDLE_OPTION,
      	TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_DEFAULT_TARGET_FLAGS):
      	Move to mep-common.c.
      	* config/microblaze/microblaze.c
      	(microblaze_option_optimization_table,
      	TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TABLE,
      	TARGET_EXCEPT_UNWIND_INFO): Move to microblaze-common.c.
      	* config/mips/mips.c (mips_handle_option,
      	mips_option_optimization_table, TARGET_OPTION_OPTIMIZATION_TABLE,
      	TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION): Move to
      	mips-common.c.
      	* config/mmix/mmix.c (mmix_option_optimization_table,
      	TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TABLE):
      	Move to mmix-common.c.
      	* config/mn10300/mn10300.c (mn10300_option_optimization_table,
      	mn10300_handle_option, TARGET_EXCEPT_UNWIND_INFO,
      	TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION,
      	TARGET_OPTION_OPTIMIZATION_TABLE): Move to mn10300-common.c.
      	* config/pa/pa.c: Include common/common-target.h.
      	(pa_option_optimization_table, TARGET_OPTION_OPTIMIZATION_TABLE,
      	TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION,
      	pa_handle_option): Move to pa-common.c.
      	(pa_option_override): Use targetm_common.except_unwind_info.
      	(pa_asm_output_mi_thunk, pa_function_section): Use
      	targetm_common.have_named_sections.
      	* config/pdp11/pdp11.c (pdp11_option_optimization_table,
      	TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION,
      	TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_OPTION_INIT_STRUCT,
      	pdp11_handle_option, pdp11_option_init_struct): Move to
      	pdp11-common.c.
      	* config/picochip/picochip.c (picochip_option_optimization_table,
      	TARGET_HAVE_NAMED_SECTIONS, TARGET_OPTION_OPTIMIZATION_TABLE,
      	TARGET_EXCEPT_UNWIND_INFO): Move to picochip-common.c.
      	* config/rs6000/rs6000.c: Include common/common-target.h.
      	(rs6000_option_optimization_table, TARGET_HANDLE_OPTION,
      	TARGET_OPTION_INIT_STRUCT, TARGET_OPTION_OPTIMIZATION_TABLE,
      	TARGET_DEFAULT_TARGET_FLAGS, rs6000_option_init_struct,
      	rs6000_handle_option): Move to rs6000-common.c.
      	* config/rs6000/t-rs6000 (rs6000.o): Update dependencies.
      	* config/rx/rx.c (rx_handle_option, rx_option_optimization_table,
      	TARGET_HANDLE_OPTION, TARGET_OPTION_OPTIMIZATION_TABLE,
      	TARGET_EXCEPT_UNWIND_INFO): Move to rx-common.c.
      	* config/s390/s390.c (processor_flags_table,
      	s390_option_optimization_table, s390_option_init_struct,
      	s390_handle_option, TARGET_DEFAULT_TARGET_FLAGS,
      	TARGET_HANDLE_OPTION, TARGET_OPTION_OPTIMIZATION_TABLE,
      	TARGET_OPTION_INIT_STRUCT): Move to s390-common.c.
      	* config/s390/s390.h (processor_flags_table): Declare.
      	* config/score/score.c (score_option_optimization_table,
      	TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION,
      	TARGET_OPTION_OPTIMIZATION_TABLE, MASK_ALL_CPU_BITS,
      	score_handle_option): Move to score-common.c.
      	* config/sh/sh.c (sh_option_optimization_table,
      	TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_OPTION_INIT_STRUCT,
      	TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION,
      	sh_handle_option, sh_option_init_struct): Move to sh-common.c.
      	* config/sparc/sparc.c: Include common/common-target.h.
      	(sparc_option_optimization_table, TARGET_DEFAULT_TARGET_FLAGS,
      	TARGET_OPTION_OPTIMIZATION_TABLE): Move to sparc-common.c.
      	* config/spu/spu.c (TARGET_DEFAULT_TARGET_FLAGS,
      	TARGET_OPTION_INIT_STRUCT, TARGET_EXCEPT_UNWIND_INFO,
      	spu_option_init_struct): Move to spu-common.c.
      	* config/stormy16/stormy16.c (xstorym16_option_optimization_table,
      	TARGET_OPTION_OPTIMIZATION_TABLE): Move to xstormy16-common.c.
      	* config/v850/v850.c (small_memory_physical_max,
      	v850_handle_memory_optionn v850_handle_option,
      	v850_option_optimization_table, TARGET_DEFAULT_TARGET_FLAGS,
      	TARGET_HANDLE_OPTION, TARGET_OPTION_OPTIMIZATION_TABLE): Move to
      	v850-common.c.
      	* config/vax/vax.c (TARGET_DEFAULT_TARGET_FLAGS): Move to
      	vax-common.c.
      	* config/xtensa/xtensa.c (xtensa_option_optimization_table,
      	TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TABLE):
      	Move to xtensa-common.c.
      	* cfglayout.c: Include common/common-target.h.
      	(fixup_reorder_chain): Use targetm_common.have_named_sections.
      	* cfgrtl.c: Include common/common-target.h.
      	(force_nonfallthru_and_redirect, commit_one_edge_insertion): Use
      	targetm_common.have_named_sections.
      	* dbxout.c: Include common/common-target.h.
      	(dbxout_function_end): Use targetm_common.have_named_sections.
      	* defaults.h (STACK_OLD_CHECK_PROTECT, STACK_CHECK_PROTECT): Use
      	targetm_common.except_unwind_info.
      	* dwarf2out.c: Include common/common-target.h.
      	(dwarf2out_do_frame, dwarf2out_do_cfi_asm,
      	dwarf2out_begin_prologue, dwarf2out_frame_init,
      	dwarf2out_frame_finish, dwarf2out_assembly_start): Use
      	targetm_common.except_unwind_info.
      	* except.c: Include common/common-target.h.
      	(init_eh, finish_eh_generation,
      	output_one_function_exception_table): Use
      	targetm_common.except_unwind_info.
      	(switch_to_exception_section): Use
      	targetm_common.have_named_sections.
      	* explow.c: Include common/common-target.h.
      	* expr.c: Include common/common-target.h.
      	(build_personality_function): Use
      	targetm_common.except_unwind_info.
      	* function.c: Include common/common-target.h.
      	(expand_function_end): Use targetm_common.except_unwind_info.
      	* haifa-sched.c: Include common/common-target.h.
      	(sched_create_recovery_edges): Use
      	targetm_common.have_named_sections.
      	* lto-opts.c: Include common/common-target.h instead of target.h.
      	(lto_reissue_options): Use targetm_common.handle_option.
      	* opts.c: Include common/common-target.h.
      	(target_handle_option): Use targetm_common.handle_option.
      	(init_options_struct): Update comment referring to
      	targetm.target_option.optimization.  Use
      	targetm_common.default_target_flags,
      	targetm_common.unwind_tables_default and
      	targetm_common.option_init_struct.
      	(default_options_optimization): Use
      	targetm_common.option_optimization_table.
      	(finish_options): Use targetm_common.except_unwind_info,
      	targetm_common.unwind_tables_default,
      	targetm_common.have_named_sections and
      	targetm_common.supports_split_stack.
      	* toplev.c: Include common/common-target.h.
      	(process_options): Use targetm_common.have_named_sections.
      	* tree-tailcall.c: Include common/common-target.h.
      	(suitable_for_tail_call_opt_p): Use
      	targetm_common.except_unwind_info.
      	* tree.c: Include common/common-target.h.
      	(build_common_builtin_nodes): Use
      	targetm_common.except_unwind_info.
      	* varasm.c: Include common/common-target.h.
      	(resolve_unique_section, hot_function_section,
      	default_function_section): Use targetm_common.have_named_sections.
      
      ada:
      	* gcc-interface/Make-lang.in (gnatbind$(exeext)): Use ggc-none.o.
      	(ada/utils.o): Update dependencies.
      	* gcc-interface/Makefile.in (EXTRA_GNATTOOLS_OBJS): Add
      	../../../libcpp/libcpp.a.
      	* gcc-interface/utils.c: Include common/common-target.h.
      	(process_attributes): Use targetm_common.have_named_sections.
      
      c-family:
      	* c-common.c: Include common/common-target.h.
      	(handle_section_attribute): Use
      	targetm_common.have_named_sections.
      	* c-cppbuiltin.c: Include common/common-target.h.
      	(c_cpp_builtins): Use targetm_common.except_unwind_info.
      
      cp:
      	* Make-lang.in (cp/method.o): Update dependencies.
      	* method.c: Include common/common-target.h.
      	(use_thunk): Use targetm_common.have_named_sections.
      
      go:
      	* Make-lang.in (go/go-lang.o, go/go-backend.o): Update
      	dependencies.
      	* go-backend.c: Include common/common-target.h.
      	(go_write_export_data): Use targetm_common.have_named_sections.
      	* go-lang.c: Include common/common-target.h.
      	(go_langhook_init_options_struct): Use
      	targetm_common.supports_split_stack.
      
      po:
      	* exgettext: Handle common/ directory and subdirectories.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175064 138bc75d-0d04-0410-961f-82ee72b054a4
      218e3e4e
  20. 23 May, 2011 1 commit
    • ro's avatar
      gcc: · c177b341
      ro authored
      	* gthr-gnat.c: Remove.
      	* gthr-gnat.h: Remove.
      	* Makefile.in (LIB2ADDEH): Remove $(srcdir)/gthr-gnat.c.
      	* config/t-freebsd (LIB2ADDEH): Likewise.
      	* config/t-linux (LIB2ADDEH): Likewise.
      	* config/t-sol2 (LIB2ADDEH): Likewise.
      	* config/ia64/t-vms (LIB2ADDEH): Likewise.
      	* configure.ac (target_thread_file): Remove gnat handling.
      	* configure: Regenerate.
      	* doc/install.texi (Configuration, --enable-threads): Remove gnat.
      
      	gcc/po:
      	* EXCLUDES: Remove gthr-gnat.c, gthr-gnat.h.
      
      	libgcc:
      	* config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174064 138bc75d-0d04-0410-961f-82ee72b054a4
      c177b341
  21. 19 May, 2011 1 commit
  22. 14 May, 2011 1 commit
  23. 26 Apr, 2011 1 commit
  24. 21 Apr, 2011 1 commit
  25. 13 Apr, 2011 1 commit
  26. 08 Apr, 2011 1 commit
  27. 07 Apr, 2011 1 commit
  28. 05 Apr, 2011 1 commit
  29. 04 Apr, 2011 1 commit
  30. 03 Apr, 2011 1 commit
  31. 24 Mar, 2011 1 commit
  32. 17 Mar, 2011 1 commit
  33. 06 Mar, 2011 1 commit
  34. 05 Mar, 2011 1 commit
  35. 27 Feb, 2011 2 commits