1. 25 Sep, 2019 1 commit
  2. 28 Feb, 2018 1 commit
    • re PR debug/83917 (with -mcall-ms2sysv-xlogues, stepping into x86 tail-call… · ce579a4f
      re PR debug/83917 (with -mcall-ms2sysv-xlogues, stepping into x86 tail-call restore stub gives bad backtrace)
      
      	PR debug/83917
      	* configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
      	$asm_hidden_op if visibility ("hidden") attribute works.
      	(HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
      	* config/i386/i386-asm.h: Don't include auto-host.h.
      	(PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
      	PACKAGE_URL): Don't undefine.
      	(USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
      	guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
      	(FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
      	#ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
      	definition instead of hardcoded .hidden.
      	* config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
      	directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
      	#ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
      	(USE_GAS_CFI_DIRECTIVES): Don't define.
      	* configure: Regenerated.
      	* config.in: Likewise.
      
      From-SVN: r258057
      Jakub Jelinek committed
  3. 23 Sep, 2017 1 commit
  4. 21 Jun, 2017 1 commit
  5. 10 Mar, 2017 1 commit
    • rs6000: float128 on BE and 32-bit · 7502c597
      This fixes float128 on BE and on 32-bit.
      
      The configure tests need to use -mabi=altivec for 32-bit, since it is
      not the default there.  That also enables the "vector" keyword, used by
      the tests.  To do this it temporarily adds a few flags to the CFLAGS
      variable.
      
      It also fixes a syntax error in the libgcc_cv_powerpc_float128_hw test
      (the function name was missing in the function declaration).
      
      Regenerating config.in (via autoreconf) removed the duplicate definition
      of HAVE_SOLARIS_CRTS.
      
      Finally, this adds a "-mfloat128-hardware requires -m64" test to
      rs6000.c: all the current patterns need 64-bit registers.  Maybe we'll
      want to add float128 hardware support to 32-bit some day, but certainly
      not today.
      
      
      	* config/rs6000/rs6000.c (rs6000_option_override_internal): Disallow
      	-mfloat128-hardware without -m64.
      
      libgcc/
      	* configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
      	modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
      	(test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
      	-mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
      	* configure: Regenerate.
      	* config.in: Regenerate.
      
      From-SVN: r246043
      Segher Boessenkool committed
  6. 24 Sep, 2015 2 commits
    • Support PIE on Solaris · df2a1cc4
      	gcc/testsuite:
      	* lib/target-supports.exp (check_effective_target_pie): Check for
      	PIE support on Solaris 11.x and 12.
      
      	libgcc:
      	* config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
      	Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
      	* config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
      	messages.
      	(internal_mcount): Likewise.
      	* config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
      	crt_compile, add CRTSTUFF_T_CFLAGS_S.
      
      	gcc:
      	* configure.ac (gcc_cv_ld_pie): Check for gld >= 2.26 on Solaris.
      	Check for ld -type pie on Solaris 11.x and 12.
      	* configure: Regenerate.
      	* config.in: Regenerate.
      
      	* gcc.c (LD_PIE_SPEC): Allow redefinition.
      
      	* config/sol2.h (STARTFILE_CRTBEGIN_SPEC): Define.
      	(STARTFILE_SPEC): Use it.
      	(ENDFILE_CRTEND_SPEC): Define.
      	(ENDFILE_SPEC): Use it and ENDFILE_ARCH_SPEC.
      	(SUBTARGET_EXTRA_SPECS): Add STARTFILE_CRTBEGIN_SPEC,
      	ENDFILE_ARCH_SPEC, ENDFILE_CRTEND_SPEC.
      	[HAVE_LD_PIE && HAVE_SOLARIS_CRTS] (LD_PIE_SPEC): Define.
      	(!(HAVE_LD_PIE && HAVE_SOLARIS_CRTS)] (LINK_PIE_SPEC): Define.
      	* config/i386/sol2.h (ENDFILE_SPEC): Remove.
      	(ENDFILE_ARCH_SPEC): Define.
      	* config/sparc/sol2.h (ENDFILE_ARCH_SPEC): Define.
      
      From-SVN: r228078
      Rainer Orth committed
    • Use CRTs provided by Solaris · 2d110442
      	gcc:
      	* configure.ac (gcc_cv_solaris_crts): New test.
      	* configure. Regenerate.
      	* config.in: Regenerate.
      	* config/sol2.h (STARTFILE_SPEC): Simplify, provide
      	HAVE_SOLARIS_CRTS variant.
      
      	libgcc:
      	* configure.ac (libgcc_cv_solaris_crts): New test.
      	* configure: Regenerate.
      	* config.in: Regenerate.
      	* config/sol2/crtp.c, config/sol2/crtpg.c: New files.
      	* config/gmon-sol2.c: Rename to ...
      	* config/sol2/gmon.c: ... this.
      	Include auto-target.h.
      	(internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
      	* config/t-sol2: Rename to ...
      	* config/sol2/t-sol2: ... this.
      	(gmon.o): Reflect renaming.
      	(crtp.o, crtpg.o): New rules.
      	* config.host (*-*-solaris2*): Reflect renaming.
      	Use system CRTs if present.
      	Remove default CRT case.
      
      From-SVN: r228077
      Rainer Orth committed
  7. 13 May, 2015 1 commit
    • sjlj.m4: New file. · 9b92a9f3
      config/
      	* sjlj.m4: New file.
      libgcc/
      	* configure.ac: Include config/sjlj.m4.
      	Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
      	* config.in: Regenerate.
      	* configure: Likewise.
      	* config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
      libjava/
      	* configure.ac: Include config/sjlj.m4.
      	Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
      	* include/config.h.in: Regenerate.
      	* configure: Likewise.
      	* exception.cc: Replace SJLJ_EXCEPTIONS by __USING_SJLJ_EXCEPTIONS__.
      	* stacktrace.cc: Likewise.
      	* include/default-signal.h: Likewise.
      	* sysdep/i386/backtrace.h: Likewise.
      libobjc/
      	* configure.ac: Remove manual SJLJ check.
      	* config.h.in: Regenerate.
      	* configure: Likewise.
      	* exception.c: Replace SJLJ_EXCEPTIONS by __USING_SJLJ_EXCEPTIONS__.
      libstdc++-v3/
      	* acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Delete.
      	* configure.ac: Remove GLIBCXX_ENABLE_SJLJ_EXCEPTIONS.
      	* config.h.in: Regenerate.
      	* configure: Likewise.
      	* libsupc++/eh_personality.cc: Replace _GLIBCXX_SJLJ_EXCEPTIONS by
      	__USING_SJLJ_EXCEPTIONS__.
      	* libsupc++/eh_throw.cc: Likewise.
      	* libsupc++/eh_ptr.cc: Likewise.
      	* doc/html/manual/appendix_porting.html: Remove
      	GLIBCXX_ENABLE_SJLJ_EXCEPTIONS
      	* doc/xml/manual/build_hacking.xml: Likewise.
      	* doc/html/manual/configure.html: Remove --enable-sjlj-exceptions.
      	* doc/xml/manual/configure.xml: Likewise.
      
      From-SVN: r223181
      Eric Botcazou committed
  8. 27 Feb, 2015 3 commits
  9. 10 May, 2012 1 commit
    • Use i386-cpuinfo.c on all i386 targets · aca06c90
      	libgcc:
      	* config.host (i[34567]86-*-linux*, x86_64-*-linux*)
      	(i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
      	(i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
      	i386/t-cpuinfo ...
      	(i[34567]86-*-*, x86_64-*-*): ... here.
      
      	* config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
      	* config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
      
      	* config/i386/i386-cpuinfo.c: Rename to ...
      	* config/i386/cpuinfo.c: ... this.
      	* config/i386/t-cpuinfo (LIB2ADD): Reflect this.
      
      	* configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
      	(libgcc_cv_init_priority): New test.
      	* configure: Regenerate.
      	* config.in: New file.
      	* Makefile.in (clean): Rename config.h to auto-target.h.
      	(config.h): Likewise.
      	(stamp-h): Likewise.
      
      	* config/i386/cpuinfo.c (auto-target.h): Include.
      	(CONSTRUCTOR_PRIORITY): Define.
      	(__cpu_indicator_init): Use it.
      
      	gcc
      	* doc/extend.texi (X86 Built-in Functions, __builtin_cpu_init):
      	Document requirement to call in constructors.
      
      	* config/i386/i386.c: Update comments for i386-cpuinfo.c name
      	change.
      
      From-SVN: r187365
      Rainer Orth committed
  10. 02 Nov, 2011 1 commit
    • Move gthr to toplevel libgcc · 5d1c8e77
      	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.
      
      From-SVN: r180776
      Rainer Orth committed
  11. 14 Sep, 2010 1 commit
    • In libobjc/: Implemented objc_sync_enter() and objc_sync_exit(), which are… · fd312537
      In libobjc/: Implemented objc_sync_enter() and objc_sync_exit(), which are required by @synchronized() to work.
      
      In libobjc/:
             Implemented objc_sync_enter() and objc_sync_exit(), which are
             required by @synchronized() to work.
             * objc-sync.c: New file.
             * objc/objc-sync.h: New file.
             * objc-private/objc-sync.h: New file.
             * init.c (__objc_exec_class): Call __objc_sync_init() during the
             Objective-C runtime startup.
             * Makefile.in: Added objc-sync.c and objc-sync.h.
             * configure.ac: Added GCC_CHECK_TLS.
             * acinclude.m4: Include ../config/enable.m4 and ../config/tls.m4.
             * configure: Regenerated.
             * config.h.in: Regenerated.
      
      From-SVN: r164276
      Nicola Pero committed
  12. 22 Aug, 2009 1 commit
    • Regenerate tree using Autoconf 2.64 and Automake 1.11. · 5213506e
      config/:
      	* override.m4 (_GCC_AUTOCONF_VERSION): Bump to 2.64.
      
      :
      	* configure: Regenerate.
      
      intl/:
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* config.h.in: Regenerate.
      
      libiberty/:
      	* config.in: Regenerate.
      	* configure: Regenerate.
      
      boehm-gc/:
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* include/gc_config.h.in: Regenerate.
      
      fixincludes/:
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* config.h.in: Regenerate.
      
      gcc/:
      	* aclocal.m4: Regenerate.
      	* config.in: Regenerate.
      	* configure: Regenerate.
      
      libgcc/:
      	* configure: Regenerate.
      
      gnattools/:
      	* configure: Regenerate.
      
      libada/:
      	* configure: Regenerate.
      
      libcpp/:
      	* aclocal.m4: Regenerate.
      	* config.in: Regenerate.
      	* configure: Regenerate.
      
      libdecnumber/:
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* config.in: Regenerate.
      
      libffi/:
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* fficonfig.h.in: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* man/Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      libgfortran/:
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* config.h.in: Regenerate.
      	* configure: Regenerate.
      
      libgomp/:
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* config.h.in: Regenerate.
      	* configure: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      libjava/classpath/:
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* doc/Makefile.in: Regenerate.
      	* doc/api/Makefile.in: Regenerate.
      	* examples/Makefile.in: Regenerate.
      	* external/Makefile.in: Regenerate.
      	* external/jsr166/Makefile.in: Regenerate.
      	* external/relaxngDatatype/Makefile.in: Regenerate.
      	* external/sax/Makefile.in: Regenerate.
      	* external/w3c_dom/Makefile.in: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* include/config.h.in: Regenerate.
      	* lib/Makefile.in: Regenerate.
      	* native/Makefile.in: Regenerate.
      	* native/fdlibm/Makefile.in: Regenerate.
      	* native/jawt/Makefile.in: Regenerate.
      	* native/jni/Makefile.in: Regenerate.
      	* native/jni/classpath/Makefile.in: Regenerate.
      	* native/jni/gconf-peer/Makefile.in: Regenerate.
      	* native/jni/gstreamer-peer/Makefile.in: Regenerate.
      	* native/jni/gtk-peer/Makefile.in: Regenerate.
      	* native/jni/java-io/Makefile.in: Regenerate.
      	* native/jni/java-lang/Makefile.in: Regenerate.
      	* native/jni/java-math/Makefile.in: Regenerate.
      	* native/jni/java-net/Makefile.in: Regenerate.
      	* native/jni/java-nio/Makefile.in: Regenerate.
      	* native/jni/java-util/Makefile.in: Regenerate.
      	* native/jni/midi-alsa/Makefile.in: Regenerate.
      	* native/jni/midi-dssi/Makefile.in: Regenerate.
      	* native/jni/native-lib/Makefile.in: Regenerate.
      	* native/jni/qt-peer/Makefile.in: Regenerate.
      	* native/jni/xmlj/Makefile.in: Regenerate.
      	* native/plugin/Makefile.in: Regenerate.
      	* resource/Makefile.in: Regenerate.
      	* scripts/Makefile.in: Regenerate.
      	* tools/Makefile.in: Regenerate.
      
      libjava/:
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* gcj/Makefile.in: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* include/config.h.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      libjava/libltdl/:
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* config-h.in: Regenerate.
      	* configure: Regenerate.
      
      libmudflap/:
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* config.h.in: Regenerate.
      	* configure: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      libobjc/:
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* config.h.in: Regenerate.
      
      libssp/:
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* config.h.in: Regenerate.
      	* configure: Regenerate.
      
      libstdc++-v3/:
      	* Makefile.in: Regenerate.
      	* acinclude.m4: Regenerate.
      	* aclocal.m4: Regenerate.
      	* config.h.in: Regenerate.
      	* configure: Regenerate.
      	* doc/Makefile.in: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* libsupc++/Makefile.in: Regenerate.
      	* po/Makefile.in: Regenerate.
      	* python/Makefile.in: Regenerate.
      	* src/Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      zlib/:
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      From-SVN: r151014
      Ralf Wildenhues committed
  13. 26 Sep, 2008 1 commit
  14. 28 Feb, 2005 1 commit
    • re PR libobjc/20252 (Libobjc build broken) · 6886e18e
      2005-02-28  Andrew Pinski <pinskia@physics.uc.edu>
      
              PR libobjc/20252
              * Makefile.in (GTHREAD_FLAGS): Remove.
              (ALL_CFLAGS): Remove usage of GTHREAD_FLAGS.
              * thr-objc.c: Include config.h.
              * configure.ac: Instead of looking at GCC's makefile, figure out if
              GTHREAD_FLAGS should be defined by looking at the `thread model'
              of the current gcc.
              * configure: Regenerate.
              * config.h.in: Regenerate.
      
      From-SVN: r95696
      Andrew Pinski committed
  15. 24 Nov, 2004 1 commit
  16. 01 Oct, 2004 1 commit
  17. 09 Apr, 2004 2 commits
  18. 15 Aug, 2000 1 commit