1. 03 Oct, 2011 1 commit
  2. 02 Sep, 2011 1 commit
  3. 28 Aug, 2011 1 commit
  4. 05 Aug, 2011 2 commits
    • Makefile.in (FPBIT_FUNCS, [...]): Remove. · 569dc494
      	gcc:
      	* Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): Remove.
      	(libgcc-support): Remove $(FPBIT), $(DPBIT), $(TPBIT)
      	dependencies.
      	(libgcc.mvars): Remove FPBIT, FPBIT_FUNCS, DPBIT, DPBIT_FUNCS,
      	TPBIT, TPBIT_FUNCS.
      	* config/fp-bit.c, config/fp-bit.h: Move to ../libgcc.
      	* config/arm/t-strongarm-elf (FPBIT, DPBIT, dp-bit.c, fp-bit.c):
      	Remove.
      	* config/arm/t-vxworks: Likewise.
      	* config/arm/t-wince-pe: Likewise.
      	* config/avr/t-avr (fp-bit.c, FPBIT): Remove.
      	* config/bfin/t-bfin (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove.
      	* config/bfin/t-bfin-elf: Likewise.
      	* config/bfin/t-bfin-linux: Likewise.
      	* config/bfin/t-bfin-uclinux: Likewise.
      	* config/cris/t-cris (FPBIT, DPBIT, dp-bit.c, tmplibgcc_fp_bit.c):
      	Remove.
      	* config/fr30/t-fr30: Likewise.
      	* config/frv/t-frv: Likewise.
      	* config/h8300/t-h8300 (FPBIT, fp-bit.c): Remove.
      	* config/iq2000/t-iq2000 (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove.
      	* config/m32c/t-m32c: Likewise.
      	* config/m32r/t-linux: (LIB2FUNCS_EXTRA, fp-bit.c, dp-bit.c): Remove.
      	* config/m32r/t-m32r (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove.
      	* config/mcore/t-mcore: Likewise.
      	* config/mep/t-mep: Likewise.
      	* config/microblaze/t-microblaze: Likewise.
      	* config/mips/t-linux64 (TPBIT, tp-bit.c): Remove.
      	* config/mips/t-mips (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove.
      	* config/mips/t-sdemtk (FPBIT, DPBIT): Remove.
      	* config/mips/t-sr71k (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove.
      	* config/mn10300/t-linux: Remove.
      	* config/mn10300/t-mn10300 (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove.
      	* config/pdp11/t-pdp11: Likewise.
      	* config/picochip/t-picochip (FPBIT, fp-bit.c): Remove.
      	* config/rs6000/ppc64-fp.c: Move to ../libgcc/config/rs6000.
      	* config/rs6000/t-aix43 (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove.
      	(LIB2FUNCS_EXTRA): Remove $(srcdir)/config/rs6000/ppc64-fp.c.
      	* config/rs6000/t-aix52: Likewise.
      	* config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Remove
      	$(srcdir)/config/rs6000/ppc64-fp.c.
      	* config/rs6000/t-fprules-fpbit: Remove.
      	* config/rs6000/t-linux64 (LIB2FUNCS_EXTRA): Remove.
      	* config/rs6000/t-lynx (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove.
      	* config/sh/t-netbsd (FPBIT, DPBIT): Remove.
      	* config/sh/t-sh (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove.
      	* config/sparc/t-elf: Likewise.
      	* config/sparc/t-leon: Likewise.
      	* config/sparc/t-leon3: Likewise.
      	* config/spu/t-spu-elf: Likewise.
      	(DPBIT_FUNCS): Remove.
      	* config/stormy16/t-stormy16 (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove.
      	* config/v850/t-v850: Likewise.
      	* config.gcc (avr-*-rtems*): Add avr/avr-lib.h to libgcc_tm_file.
      	(avr-*-*): Likewise.
      	(h8300-*-rtems*): Set libgcc_tm_file.
      	(h8300-*-elf*): Likewise.
      	(powerpc-*-eabisimaltivec*): Remove rs6000/t-fprules-fpbit from
      	tmake_file.
      	(powerpc-*-eabisim*): Likewise.
      	(powerpc-*-elf*): Likewise.
      	(powerpc-*-eabialtivec*): Likewise.
      	(powerpc-xilinx-eabi*): Likewise.
      	(powerpc-*-eabi*): Likewise.
      	(powerpc-*-rtems*): Likewise.
      	(powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Likewise.
      	(powerpcle-*-elf*): Likewise.
      	(powerpcle-*-eabisim*): Likewise.
      	(powerpcle-*-eabi*): Likewise.
      	(rx-*-elf*): Add rx/rx-lib.h to libgcc_tm_file.
      	(am33_2.0-*-linux*): Remove mn10300/t-linux from tmake_file.
      	* doc/fragments.texi (Target Fragment, Floating Point Emulation):
      	Remove.
      
      	gcc/po:
      	* EXCLUDES (config/fp-bit.c, config/fp-bit.h): Remove.
      
      	libgcc:
      	* Makefile.in (double_type_size, long_double_type_size): Set.
      	Remove $(fpbit-in-libgcc) support.
      	(FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
      	(fpbit-src): New variable.
      	($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
      	Compile with -DFLOAT $(FPBIT_CFLAGS).
      	Use $<.
      	($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
      	Compile with $(FPBIT_CFLAGS).
      	Use $<.
      	($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
      	Compile with -DFLOAT $(TPBIT_CFLAGS).
      	Use $<.
      	* configure.ac (double_type_size, long_double_type_size):
      	Determine and substitute.
      	* configure: Regenerate.
      	* fp-bit.c, fp-bit.h: New files.
      	* config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
      	* config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
      	* config/mips/t-mips: New file.
      	* config/mips/t-sdemtk: New file.
      	* config/rs6000/ppc64-fp.c: New file.
      	* config/rs6000/t-darwin (LIB2ADD): Add
      	$(srcdir)/config/rs6000/ppc64-fp.c.
      	* config/rs6000/t-ppc64-fp: New file.
      	* config/rx/rx-lib.h: New file.
      	* config/rx/t-rx (FPBIT): Set to true.
      	($(gcc_objdir)/fp-bit.c): Remove.
      	(DPBIT): Set to true only with -m64bit-doubles.
      	($(gcc_objdir)/dp-bit.c): Remove.
      	* config/sparc/t-softfp: Remove.
      	* config/spu/t-elf: New file.
      	* config/t-fdpbit, config/t-fpbit: New files.
      	* config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
      	(mips*-*-*): Likewise.
      	(arm-wrs-vxworks): Likewise.
      	(arm*-*-freebsd*): Likewise.
      	(avr-*-rtems*): Add t-fpbit to tmake_file.
      	(avr-*-*): Likewise.
      	(bfin*-elf*): Add t-fdpbit to tmake_file.
      	(bfin*-uclinux*): Likewise.
      	(bfin*-linux-uclibc*): Likewise.
      	(bfin*-rtems*): New case.
      	Add t-fdpbit to tmake_file.
      	(bfin*-*): Add t-fdpbit to tmake_file.
      	(crisv32-*-elf): Likewise.
      	(cris-*-linux*): Likewise.
      	(fr30-*-elf): Likewise.
      	(frv-*-elf, frv-*-*linux*): Likewise.
      	(h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
      	(iq2000*-*-elf*): Add t-fdpbit to tmake_file.
      	(m32r-*-elf*): Likewise.
      	(m32rle-*-elf*): Likewise.
      	(m32r-*-linux*): Likewise.
      	(m32rle-*-linux*): Likewise.
      	(mcore-*-elf): Add t-fdpbit to tmake_file.
      	(microblaze*-*-*): Likewise.
      	(mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
      	(mips*-*-netbsd*): Add mips/t-mips to tmake_file.
      	(mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
      	Fix typo.
      	Add mips/t-tpbit to tmake-file.
      	(mips*-*-linux*): Fix typo.
      	(mips*-sde-elf*): New case
      	Add mips/t-sdemtk unless using newlib.
      	(mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
      	(mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
      	(mn10300-*-*): Likewise.
      	(pdp11-*-*): Likewise.
      	(picochip-*-*): Add t-fpbit to tmake_file.
      	(powerpc-*-eabisimaltivec*): Likewise.
      	(powerpc-*-eabisim*): Likewise.
      	(powerpc-*-elf*): Likewise.
      	(powerpc-*-eabialtivec*): Likewise.
      	(powerpc-xilinx-eabi*): New case.
      	Add t-fdpbit to tmake_file.
      	(powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
      	(powerpc-*-rtems*): Likewise.
      	(powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
      	tmake_file.
      	(powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
      	tmake_file.
      	(powerpc-*-lynxos*): Likewise.
      	(powerpcle-*-elf*): Likewise.
      	(powerpcle-*-eabisim*): Likewise.
      	(powerpcle-*-eabi*): Likewise.
      	(rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
      	t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
      	(rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
      	(rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
      	(rx-*-elf): Add t-fdpbit to tmake_file.
      	(sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
      	(sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
      	(sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
      	(sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
      	sh*-*-netbsd*.
      	(sh-*-rtems*): Add t-fdpbit to tmake_file.
      	(sh-wrs-vxworks): Likewise.
      	(sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
      	(sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
      	(sparc-*-rtems*, sparc64-*-rtems*): Split off ...
      	(sparc64-*-rtems*): ... new case.
      	(sparc-*-rtems*): Add t-fdpbit to tmake_file.
      	(spu-*-elf*): Likewise.
      	Add spu/t-elf to tmake_file.
      	(v850*-*-*): Add t-fdpbit to tmake_file.
      	(xstormy16-*-elf): Likewise.
      	(am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
      	(mep*-*-*): Likewise.
      
      From-SVN: r177448
      Rainer Orth committed
    • Makefile.in (UNWIND_H): Remove. · 201cdb74
      	gcc:
      	* 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.
      
      From-SVN: r177447
      Rainer Orth committed
  5. 31 Jul, 2011 1 commit
  6. 21 Jul, 2011 1 commit
  7. 13 Jul, 2011 1 commit
    • darwin-crt2.c: Move to ../libgcc/config/rs6000. · e141542e
      	gcc:
      	* 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.
      
      From-SVN: r176239
      Rainer Orth committed
  8. 11 Jul, 2011 1 commit
  9. 08 Jul, 2011 1 commit
  10. 30 Jun, 2011 1 commit
  11. 27 Jun, 2011 2 commits
  12. 24 Jun, 2011 1 commit
  13. 23 Jun, 2011 1 commit
  14. 21 Jun, 2011 1 commit
  15. 14 Jun, 2011 1 commit
    • target-def.h (TARGET_HAVE_NAMED_SECTIONS): Move to common/common-target-def.h. · 677f3fa8
      	* target-def.h (TARGET_HAVE_NAMED_SECTIONS): Move to
      	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.
      
      From-SVN: r175064
      Joseph Myers committed
  16. 23 May, 2011 1 commit
    • gthr-gnat.c: Remove. · c8028650
      	gcc:
      	* 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.
      
      From-SVN: r174064
      Rainer Orth committed
  17. 19 May, 2011 1 commit
  18. 14 May, 2011 1 commit
  19. 26 Apr, 2011 1 commit
  20. 21 Apr, 2011 1 commit
  21. 13 Apr, 2011 1 commit
  22. 08 Apr, 2011 1 commit
  23. 07 Apr, 2011 1 commit
  24. 05 Apr, 2011 1 commit
  25. 04 Apr, 2011 1 commit
  26. 03 Apr, 2011 1 commit
  27. 24 Mar, 2011 1 commit
  28. 17 Mar, 2011 1 commit
  29. 06 Mar, 2011 1 commit
  30. 05 Mar, 2011 1 commit
  31. 27 Feb, 2011 2 commits
  32. 28 Jan, 2011 1 commit
  33. 27 Jan, 2011 1 commit
  34. 26 Jan, 2011 1 commit
  35. 13 Jan, 2011 1 commit
  36. 10 Jan, 2011 1 commit
  37. 09 Jan, 2011 1 commit