Skip to content
Snippets Groups Projects
  1. Nov 27, 2021
  2. Nov 26, 2021
    • Iain Sandoe's avatar
      libitm: Fix bootstrap for targets without HAVE_ELF_STYLE_WEAKREF. · caa04517
      Iain Sandoe authored
      
      Recent improvements to null address warnings notice that for
      targets that do not support HAVE_ELF_STYLE_WEAKREF the dummy stub
      implementation of __cxa_get_globals() means that the address can
      never be null.
      
      Fixed by removing the test for such targets.
      
      Signed-off-by: default avatarIain Sandoe <iain@sandoe.co.uk>
      
      libitm/ChangeLog:
      
      	* eh_cpp.cc (GTM::gtm_thread::init_cpp_exceptions): If the
      	target does not support HAVE_ELF_STYLE_WEAKREF then do not
      	try to test the __cxa_get_globals against NULL.
      caa04517
  3. Jun 18, 2021
  4. Jun 17, 2021
    • Jonathan Wakely's avatar
      libstdc++: Simplify constexpr checks in std::char_traits [PR 91488] · b376b1ef
      Jonathan Wakely authored
      
      This removes the helper functions added by r8-1294 to detect whether the
      char_traits member functions can be evaluated at compile time. Instead,
      we can just use __builtin_constant_evaluated directly, which is well
      supported by non-GCC compilers by now.
      
      As a result, there is a chance that those members will no longer be
      usable in constant expressions when using old versions of non-GCC
      compilers. Make the relevant feature test macros depend on the
      availability of __builtin_constant_evaluated, so they are defined only
      when the feature is actualyl available.
      
      The new testcase from the PR is added to the libitm testsuite, because
      that's where we can be sure it's OK to use the -fgnu-tm option.
      
      Signed-off-by: default avatarJonathan Wakely <jwakely@redhat.com>
      
      	PR libstdc++/91488
      
      libstdc++-v3/ChangeLog:
      
      	* include/bits/basic_string.h (__cpp_lib_constexpr_string): Only
      	define when is_constant_evaluated is available.
      	* include/bits/char_traits.h (__cpp_lib_constexpr_char_traits):
      	Likewise.
      	(__constant_string_p, __constant_array_p): Remove.
      	(char_traits): Use is_constant_evaluated directly.
      	* include/std/version (__cpp_lib_constexpr_char_traits)
      	(__cpp_lib_constexpr_string): Only define when
      	is_constant_evaluated is available.
      
      libitm/ChangeLog:
      
      	* testsuite/libitm.c++/libstdc++-pr91488.C: New test.
      b376b1ef
  5. Jan 16, 2021
  6. Jan 15, 2021
    • Jakub Jelinek's avatar
      libatomic, libgomp, libitc: Fix bootstrap [PR70454] · 0411ae7f
      Jakub Jelinek authored
      The recent changes to error on mixing -march=i386 and -fcf-protection broke
      bootstrap.  This patch changes lib{atomic,gomp,itm} configury, so that it
      only adds -march=i486 to flags if really needed (i.e. when 486 or later isn't
      on by default already).  Similarly, it will not use ifuncs if -mcx16
      (or -march=i686 for 32-bit) is on by default.
      
      2021-01-15  Jakub Jelinek  <jakub@redhat.com>
      
      	PR target/70454
      libatomic/
      	* configure.tgt: For i?86 and x86_64 determine if -march=i486 needs to
      	be added through preprocessor check on
      	__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4.  Determine if try_ifunc is needed
      	based on preprocessor check on __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16
      	or __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8.
      libgomp/
      	* configure.tgt: For i?86 and x86_64 determine if -march=i486 needs to
      	be added through preprocessor check on
      	__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4.
      libitm/
      	* configure.tgt: For i?86 and x86_64 determine if -march=i486 needs to
      	be added through preprocessor check on
      	__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4.
      0411ae7f
  7. Jan 06, 2021
  8. Jan 05, 2021
    • Samuel Thibault's avatar
      Update GNU/Hurd configure support · f56de355
      Samuel Thibault authored
      ChangeLog:
      
      	* libtool.m4: Match gnu* along other GNU systems.
      	* libgo/config/libtool.m4: Match gnu* along other GNU systems.
      	* libgo/configure: Re-generate.
      
      libffi/
      	* configure: Re-generate.
      
      libgomp/
      	* configure: Re-generate.
      
      gcc/
      
      	* configure: Re-generate.
      
      libatomic/
      
      	* configure: Re-generate.
      
      libbacktrace/
      
      	* configure: Re-generate.
      
      libcc1/
      
      	* configure: Re-generate.
      
      libgfortran/
      
      	* configure: Re-generate.
      
      libgomp/
      
      	* configure: Re-generate.
      
      libhsail-rt/
      
      	* configure: Re-generate.
      
      libitm/
      
      	* configure: Re-generate.
      
      libobjc/
      
      	* configure: Re-generate.
      
      liboffloadmic/
      
      	* configure: Re-generate.
      	* plugin/configure: Re-generate.
      
      libphobos/
      
      	* configure: Re-generate.
      
      libquadmath/
      
      	* configure: Re-generate.
      
      libsanitizer/
      
      	* configure: Re-generate.
      
      libssp/
      
      	* configure: Re-generate.
      
      libstdc++-v3/
      
      	* configure: Re-generate.
      
      libvtv/
      
      	* configure: Re-generate.
      
      lto-plugin/
      
      	* configure: Re-generate.
      
      zlib/
      
      	* configure: Re-generate.
      f56de355
  9. Jan 04, 2021
  10. Jan 02, 2021
  11. Jan 01, 2021
    • Jakub Jelinek's avatar
      Update copyright dates. · 4b24d500
      Jakub Jelinek authored
      Manual part of copyright year updates.
      
      2021-01-01  Jakub Jelinek  <jakub@redhat.com>
      
      gcc/
      	* gcc.c (process_command): Update copyright notice dates.
      	* gcov-dump.c (print_version): Ditto.
      	* gcov.c (print_version): Ditto.
      	* gcov-tool.c (print_version): Ditto.
      	* gengtype.c (create_file): Ditto.
      	* doc/cpp.texi: Bump @copying's copyright year.
      	* doc/cppinternals.texi: Ditto.
      	* doc/gcc.texi: Ditto.
      	* doc/gccint.texi: Ditto.
      	* doc/gcov.texi: Ditto.
      	* doc/install.texi: Ditto.
      	* doc/invoke.texi: Ditto.
      gcc/ada/
      	* gnat_ugn.texi: Bump @copying's copyright year.
      	* gnat_rm.texi: Likewise.
      gcc/d/
      	* gdc.texi: Bump @copyrights-d year.
      gcc/fortran/
      	* gfortranspec.c (lang_specific_driver): Update copyright notice
      	dates.
      	* gfc-internals.texi: Bump @copying's copyright year.
      	* gfortran.texi: Ditto.
      	* intrinsic.texi: Ditto.
      	* invoke.texi: Ditto.
      gcc/go/
      	* gccgo.texi: Bump @copyrights-go year.
      libgomp/
      	* libgomp.texi: Bump @copying's copyright year.
      libitm/
      	* libitm.texi: Bump @copying's copyright year.
      libquadmath/
      	* libquadmath.texi: Bump @copying's copyright year.
      4b24d500
  12. Dec 06, 2020
  13. Dec 05, 2020
    • Iain Sandoe's avatar
      Darwin : Update libtool and dependencies for Darwin20 [PR97865] · 1352bc88
      Iain Sandoe authored
      The change in major version (and the increment from Darwin19 to 20)
      caused libtool tests to fail which resulted in incorrect build settings
      for shared libraries.
      
      We take this opportunity to sort out the shared undefined symbols state
      rather than propagating the current unsound behaviour into a new rev.
      
      This change means that we default to the case that missing symbols are
      considered an error, and if one wants to allow this intentionally, the
      confiuration for that case should be set appropriately.
      
      Three existing cases need undefined dynamic lookup:
       libitm, where there is already a configuration mechanism to add the
               flags.
       libcc1, where we add simple configuration to add the flags for Darwin.
       libsanitizer, where we can add to the existing extra flags.
      
      libcc1/ChangeLog:
      
      	PR target/97865
      	* Makefile.am: Add dynamic_lookup to LD flags for Darwin.
      	* configure.ac: Test for Darwin host and set a flag.
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
      
      libitm/ChangeLog:
      
      	PR target/97865
      	* configure.tgt: Add dynamic_lookup to XLDFLAGS for Darwin.
      	* configure: Regenerate.
      
      libsanitizer/ChangeLog:
      
      	PR target/97865
      	* configure.tgt: Add dynamic_lookup to EXTRA_CXXFLAGS for
      	Darwin.
      	* configure: Regenerate.
      
      ChangeLog:
      
      	PR target/97865
      	* libtool.m4: Update handling of Darwin platform link flags
      	for Darwin20.
      
      gcc/ChangeLog:
      
      	PR target/97865
      	* configure: Regenerate.
      
      libatomic/ChangeLog:
      
      	PR target/97865
      	* configure: Regenerate.
      
      libbacktrace/ChangeLog:
      
      	PR target/97865
      	* configure: Regenerate.
      
      libffi/ChangeLog:
      
      	PR target/97865
      	* configure: Regenerate.
      
      libgfortran/ChangeLog:
      
      	PR target/97865
      	* configure: Regenerate.
      
      libgomp/ChangeLog:
      
      	PR target/97865
      	* configure: Regenerate.
      
      libhsail-rt/ChangeLog:
      
      	PR target/97865
      	* configure: Regenerate.
      
      libobjc/ChangeLog:
      
      	PR target/97865
      	* configure: Regenerate.
      
      libphobos/ChangeLog:
      
      	PR target/97865
      	* configure: Regenerate.
      
      libquadmath/ChangeLog:
      
      	PR target/97865
      	* configure: Regenerate.
      
      libssp/ChangeLog:
      
      	PR target/97865
      	* configure: Regenerate.
      
      libstdc++-v3/ChangeLog:
      
      	PR target/97865
      	* configure: Regenerate.
      
      libvtv/ChangeLog:
      
      	PR target/97865
      	* configure: Regenerate.
      
      zlib/ChangeLog:
      
      	PR target/97865
      	* configure: Regenerate.
      1352bc88
  14. Nov 30, 2020
  15. Nov 29, 2020
    • John David Anglin's avatar
      Fix hppa64-hpux11 build to remove source paths from embedded path. · 4e4ba647
      John David Anglin authored
      This change adds the +nodefaultrpath ld option to remove all library
      paths that were specified with the -L option from the embedded path.
      
      2020-11-29  John David Anglin  <danglin@gcc.gnu.org>
      
      ChangeLog:
      	* libtool.m4 (archive_cmds): Add +nodefaultrpath ld option on
      	hppa64-*-hpux11*.
      
      libatomic/ChangeLog:
      	* configure: Regenerate.
      
      libbacktrace/ChangeLog:
      	* configure: Regenerate.
      
      libcc1/ChangeLog:
      	* configure: Regenerate.
      
      libffi/ChangeLog:
      	* configure: Regenerate.
      
      libgfortran/ChangeLog:
      	* configure: Regenerate.
      
      libgomp/ChangeLog:
      	* configure: Regenerate.
      
      libhsail-rt/ChangeLog:
      	* configure: Regenerate.
      
      libitm/ChangeLog:
      	* configure: Regenerate.
      
      libobjc/ChangeLog:
      	* configure: Regenerate.
      
      liboffloadmic/ChangeLog:
      	* configure: Regenerate.
      	* plugin/configure: Regenerate.
      
      libquadmath/ChangeLog:
      	* configure: Regenerate.
      
      libsanitizer/ChangeLog:
      	* configure: Regenerate.
      
      libssp/ChangeLog:
      	* configure: Regenerate.
      
      libstdc++-v3/ChangeLog:
      	* configure: Regenerate.
      
      libvtv/ChangeLog:
      	* configure: Regenerate.
      
      lto-plugin/ChangeLog:
      	* configure: Regenerate.
      
      zlib/ChangeLog:
      	* configure: Regenerate.
      4e4ba647
  16. Oct 02, 2020
  17. Oct 01, 2020
    • Alan Modra's avatar
      [RS6000] Adjust gcc asm for power10 · 2dd7b937
      Alan Modra authored
      Generate assembly with .localentry,1 functions using @notoc calls.
      This patch makes libgcc.a asm look the same as power10 pcrel as far as
      toc/notoc is concerned.
      
      Otherwise calling between functions that advertise as using the TOC
      and those that don't, will require linker call stubs in statically
      linked code.
      
      gcc/
      	* config/rs6000/ppc-asm.h: Support __PCREL__ code.
      libgcc/
      	* config/rs6000/morestack.S,
      	* config/rs6000/tramp.S: Support __PCREL__ code.
      libitm/
      	* config/powerpc/sjlj.S: Support __PCREL__ code.
      2dd7b937
  18. Jul 25, 2020
  19. Jul 24, 2020
    • Szabolcs Nagy's avatar
      aarch64: add PAC-RET protection to libitm sjlj.S · ab240ab5
      Szabolcs Nagy authored
      _ITM_beginTransaction is a 'returns_twice' function that saves x30
      on the stack as part of gtm_jmpbuf (that is passed down to
      GTM_begin_transaction), but the saved x30 is also used for return.
      
      The return path should be protected so we don't leave an
        ldp x29, x30, [sp]
        ret
      gadget in the code, so x30 is signed on function entry. This
      exposes the signed address in the gtm_jmpbuf too. The jmpbuf does
      not need a signed address since GTM_longjmp uses
        ldp x29, x30, [x1]
        br x30
      and with BTI there is a BTI j at the _ITM_beginTransaction call site
      where this jump returns. Using PAC does not hurt: the gtm_jmpbuf is
      internal to libitm and its layout is only used by sjlj.S so the
      signed address does not escape. Saving signed x30 into gtm_jmpbuf
      provides a bit of extra protection, but more importantly it allows
      adding the PAC-RET support without changing the existing code much.
      
      In theory bti and pac-ret protection can be added unconditionally
      since the instructions are in the nop space, in practice they
      can cause trouble if some tooling does not understand the gnu
      property note (e.g. old binutils) or some unwinder or debugger
      does not understand the new dwarf op code used for pac-ret (e.g
      old gdb). So the code is written to only support branch-protection
      according to the code generation options.
      
      libitm/ChangeLog:
      
      	* config/aarch64/sjlj.S: Add conditional pac-ret protection.
      ab240ab5
  20. Jul 10, 2020
  21. Jul 09, 2020
    • Szabolcs Nagy's avatar
      aarch64: Fix BTI support in libitm · 319078da
      Szabolcs Nagy authored
      sjlj.S did not have the GNU property note markup and the BTI c
      instructions that are necessary when it is built with branch
      protection.
      
      The notes are only added when libitm is built with branch
      protection, because old linkers mishandle the note (merge
      them incorrectly or emit warnings), the BTI instructions
      are added unconditionally.
      
      2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
      
      libitm/ChangeLog:
      
      	* config/aarch64/sjlj.S: Add BTI marking and related definitions,
      	and add BTI c to function entries.
      319078da
    • Szabolcs Nagy's avatar
      aarch64: Fix noexecstack note in libitm · 463ba375
      Szabolcs Nagy authored
      sjlj.S only had the note on Linux, but it is supposed
      to have it on FreeBSD too.
      
      2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
      
      libitm/ChangeLog:
      
      	* config/aarch64/sjlj.S: Add stack note if __FreeBSD__ is defined.
      463ba375
  22. May 30, 2020
  23. May 29, 2020
    • H.J. Lu's avatar
      Avoid nested save_CFLAGS and save_LDFLAGS · 9051b548
      H.J. Lu authored
      Avoid nested save_CFLAGS and save_LDFLAGS by replacing save_CFLAGS and
      save_LDFLAGS with cet_save_CFLAGS and cet_save_LDFLAGS in cet.m4.
      
      config/
      
      	PR bootstrap/95413
      	* cet.m4: Replace save_CFLAGS and save_LDFLAGS with
      	cet_save_CFLAGS and cet_save_LDFLAGS.
      
      gcc/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libatomic/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libbacktrace/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libcc1/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libcpp/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libdecnumber/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libgcc/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libgfortran/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libgomp/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libiberty/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libitm/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libobjc/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libphobos/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libquadmath/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libsanitizer/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libssp/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libstdc++-v3/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libvtv/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      lto-plugin/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      zlib/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      9051b548
  24. May 15, 2020
    • H.J. Lu's avatar
      x86: Also check if -fcf-protection works · 4c1a5d8b
      H.J. Lu authored
      When defaulting CET run-time support to auto, check if -fcf-protection
      works.  Even if the stage1 GCC doesn't support -fcf-protection, since
      the final GCC does, CET run-time support will be enabled by default if
      binutils support CET.
      
      config/
      
      	PR bootstrap/95147
      	* cet.m4 (GCC_CET_FLAGS): Also check if -fcf-protection works
      	when defaulting to auto.
      
      libatomic/
      
      	PR bootstrap/95147
      	* configure: Regenerated.
      
      libbacktrace/
      
      	PR bootstrap/95147
      	* configure: Regenerated.
      
      libgcc/
      
      	PR bootstrap/95147
      	* configure: Regenerated.
      
      libgfortran/
      
      	PR bootstrap/95147
      	* configure: Regenerated.
      
      libgomp/
      
      	PR bootstrap/95147
      	* configure: Regenerated.
      
      libitm/
      
      	PR bootstrap/95147
      	* configure: Regenerated.
      
      libobjc/
      
      	PR bootstrap/95147
      	* configure: Regenerated.
      
      libphobos/
      
      	PR bootstrap/95147
      	* configure: Regenerated.
      
      libquadmath/
      
      	PR bootstrap/95147
      	* configure: Regenerated.
      
      libsanitizer/
      
      	PR bootstrap/95147
      	* configure: Regenerated.
      
      libssp/
      
      	PR bootstrap/95147
      	* configure: Regenerated.
      
      libstdc++-v3/
      
      	PR bootstrap/95147
      	* configure: Regenerated.
      
      libvtv/
      
      	PR bootstrap/95147
      	* configure: Regenerated.
      
      zlib/
      
      	PR bootstrap/95147
      	* configure: Regenerated.
      4c1a5d8b
  25. May 14, 2020
    • H.J. Lu's avatar
      x86: Default CET run-time support to auto · 8d286dd1
      H.J. Lu authored
      CET has been added since GCC 8.  This patch defaults CET run-time support
      to auto.  It enables CET run-time support if asssembler supports CET
      instructions and multi-byte NOPs are enabled via SSE2.
      
      config/
      
      	* cet.m4 (GCC_CET_FLAGS): Change default to auto.
      
      gcc/
      
      	* configure: Regenerated.
      
      libatomic/
      
      	* configure: Regenerated.
      
      libbacktrace/
      
      	* configure: Regenerated.
      
      libcc1/
      
      	* configure: Regenerated.
      
      libcpp/
      
      	* configure: Regenerated.
      
      libdecnumber/
      
      	* configure: Regenerated.
      
      libgcc/
      
      	* configure: Regenerated.
      
      libgfortran/
      
      	* configure: Regenerated.
      
      libgomp/
      
      	* configure: Regenerated.
      
      libitm/
      
      	* configure: Regenerated.
      
      libobjc/
      
      	* configure: Regenerated.
      
      libquadmath/
      
      	* configure: Regenerated.
      
      libsanitizer/
      
      	* configure: Regenerated.
      
      libssp/
      
      	* configure: Regenerated.
      
      libstdc++-v3/
      
      	* configure: Regenerated.
      
      libvtv/
      
      	* configure: Regenerated.
      
      zlib/
      
      	* configure: Regenerated.
      8d286dd1
  26. May 12, 2020
    • Nathan Sidwell's avatar
      Fix throw specifiers on interface. · f0de5d83
      Nathan Sidwell authored
      I discovered that libitm:
      (a) declares __cxa_allocate_exception and friends directly,
      (b) doesn't mark them as 'throw()'
      (c) doesn't mark the replacment fns _ITM_$foo as nothrow either
      
      We happen to get away with it because of code in the compiler that,
      although it checks the parameter types, doesn't check the exception
      specification.  (One reason being they used to not be part of the
      language's type system, but now they are.)  I suspect this can lead us
      to generate pessimal code later, if we've seen one of these decls
      earlier.  Anyway, with modules it becomes trickier[*], so I'm trying
      to clean it up and not be a problem.  I see Jakub fixed part of the
      problem
      (https://gcc.gnu.org/pipermail/gcc-patches/2018-December/513302.html)
      AFAICT, he did fix libitm's decls, but left the lax parm-type checking
      in the compiler.
      
      libitm.h is not very informative about specification:
        in version 1 of http://www.intel.com/some/path/here.pdf.  */
      
      Anyway, it was too fiddly to have libitm pick up the declarations from
      libsupc++.  Besides it makes them weak declarations, and then provides
      definitions for non-elf systems.  So this patch adds the expected
      'throw()'
      
      	* libitm/libitm.h (_ITM_NOTHROW): Define.
      	(_ITM_cxa_allocate_exception, _ITM_cxa_free_exception)
      	(_ITM_cxa_begin_catch): Use it.
      	* eh_cpp.cc: Add throw() to __cxa_allocate_exception,
      	__cxa_free_exception, __cxa_begin_catch, __cxa_tm_cleanup,
      	__cxa_get_globals.
      	(_ITM_cxa_allocate_exception, _ITM_cxa_free_exception)
      	(_ITM_cxa_begin_catch): Likewise.
      f0de5d83
  27. May 05, 2020
  28. Feb 12, 2020
    • Sandra Loosemore's avatar
      Use a non-empty test program to test ability to link. · 02ce382c
      Sandra Loosemore authored
      On bare-metal targets, I/O support is typically provided by a BSP and
      requires a linker script and/or hosting library to be specified on the
      linker command line.  Linking an empty program with the default linker
      script may succeed, however, which confuses libstdc++ configuration
      when programs that probe for the presence of various I/O features fail
      with link errors.
      
      2020-02-12  Sandra Loosemore  <sandra@codesourcery.com>
      
      	PR libstdc++/79193
      	PR libstdc++/88999
      
      	config/
      	* no-executables.m4: Use a non-empty program to test for linker
      	support.
      
      	libgcc/
      	* configure: Regenerated.
      
      	libgfortran/
      	* configure: Regenerated.
      
      	libiberty/
      	* configure: Regenerated.
      
      	libitm/
      	* configure: Regenerated.
      
      	libobjc/
      	* configure: Regenerated.
      
      	libquadmath/
      	* configure: Regenerated.
      
      	libssp/
      	* configure: Regenerated.
      
      	libstdc++v-3/
      	* configure: Regenerated.
      02ce382c
  29. Jan 24, 2020
    • Maciej W. Rozycki's avatar
      Add `--with-toolexeclibdir=' configuration option · e8e66971
      Maciej W. Rozycki authored
      Provide means, in the form of a `--with-toolexeclibdir=' configuration
      option, to override the default installation directory for target
      libraries, otherwise known as $toolexeclibdir.  This is so that it is
      possible to get newly-built libraries, particularly the shared ones,
      installed in a common place, so that they can be readily used by the
      target system as their host libraries, possibly over NFS, without a need
      to manually copy them over from the currently hardcoded location they
      would otherwise be installed in.
      
      In the presence of the `--enable-version-specific-runtime-libs' option
      and for configurations building native GCC the option is ignored.
      
      	config/
      	* toolexeclibdir.m4: New file.
      
      	gcc/
      	* doc/install.texi (Cross-Compiler-Specific Options): Document
      	`--with-toolexeclibdir' option.
      
      	libada/
      	* Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* configure: Regenerate.
      
      	libatomic/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      	libffi/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* man/Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      	libgcc/
      	* Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* configure: Regenerate.
      
      	libgfortran/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      	libgomp/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      	libhsail-rt/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      	libitm/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      	libobjc/
      	* Makefile.in (aclocal_deps): Add `toolexeclibdir.m4'.
      	* aclocal.m4: Include `toolexeclibdir.m4'.
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* configure: Regenerate.
      
      	liboffloadmic/
      	* plugin/configure.ac: Handle `--with-toolexeclibdir='.
      	* plugin/Makefile.in: Regenerate.
      	* plugin/aclocal.m4: Regenerate.
      	* plugin/configure: Regenerate.
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      	libphobos/
      	* m4/druntime.m4: Handle `--with-toolexeclibdir='.
      	* m4/Makefile.in: Regenerate.
      	* libdruntime/Makefile.in: Regenerate.
      	* src/Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      	libquadmath/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      	libsanitizer/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* asan/Makefile.in: Regenerate.
      	* interception/Makefile.in: Regenerate.
      	* libbacktrace/Makefile.in: Regenerate.
      	* lsan/Makefile.in: Regenerate.
      	* sanitizer_common/Makefile.in: Regenerate.
      	* tsan/Makefile.in: Regenerate.
      	* ubsan/Makefile.in: Regenerate.
      
      	libssp/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      	libstdc++-v3/
      	* acinclude.m4: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: 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.
      	* src/c++11/Makefile.in: Regenerate.
      	* src/c++17/Makefile.in: Regenerate.
      	* src/c++98/Makefile.in: Regenerate.
      	* src/filesystem/Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      	libvtv/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      	zlib/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      e8e66971
  30. Jan 01, 2020
    • Jakub Jelinek's avatar
      Update copyright years. · 8d9254fc
      Jakub Jelinek authored
      From-SVN: r279813
      8d9254fc
    • Jakub Jelinek's avatar
      gcc.c (process_command): Update copyright notice dates. · 7e7065b9
      Jakub Jelinek authored
      	* gcc.c (process_command): Update copyright notice dates.
      	* gcov-dump.c (print_version): Ditto.
      	* gcov.c (print_version): Ditto.
      	* gcov-tool.c (print_version): Ditto.
      	* gengtype.c (create_file): Ditto.
      	* doc/cpp.texi: Bump @copying's copyright year.
      	* doc/cppinternals.texi: Ditto.
      	* doc/gcc.texi: Ditto.
      	* doc/gccint.texi: Ditto.
      	* doc/gcov.texi: Ditto.
      	* doc/install.texi: Ditto.
      	* doc/invoke.texi: Ditto.
      gcc/fortran/ 
      	* gfortranspec.c (lang_specific_driver): Update copyright notice
      	dates.
      	* gfc-internals.texi: Bump @copying's copyright year.
      	* gfortran.texi: Ditto.
      	* intrinsic.texi: Ditto.
      	* invoke.texi: Ditto.
      gcc/d/
      	* gdc.texi: Bump @copyrights-d year.
      gcc/go/
      	* gccgo.texi: Bump @copyrights-go year.
      gcc/ada/
        	* gnat_ugn.texi: Bump @copying's copyright year.
        	* gnat_rm.texi: Likewise.
      libitm/
      	* libitm.texi: Bump @copying's copyright year.
      libgomp/
      	* libgomp.texi: Bump @copying's copyright year.
      libquadmath/
      	* libquadmath.texi: Bump @copying's copyright year.
      
      From-SVN: r279811
      7e7065b9
  31. Dec 03, 2019
    • Szabolcs Nagy's avatar
      musl: Fix invalid tls model in libgomp and libitm PR91938 · 00484365
      Szabolcs Nagy authored
      Musl does not support initial-exec tls in dynamically loaded shared
      libraries.
      
      libgomp/ChangeLog:
      
      2019-12-03  Szabolcs Nagy  <szabolcs.nagy@arm.com>
      
      	PR libgomp/91938
      	* configure.tgt: Avoid IE tls on *-*-musl*.
      
      libitm/ChangeLog:
      
      2019-12-03  Szabolcs Nagy  <szabolcs.nagy@arm.com>
      
      	PR libgomp/91938
      	* configure.tgt: Avoid IE tls on *-*-musl*.
      
      From-SVN: r278932
      00484365
  32. Sep 27, 2019
    • Maciej W. Rozycki's avatar
      Regenerate `configure' scripts for `uclinuxfdpiceabi' libtool.m4 update · e9085da5
      Maciej W. Rozycki authored
      A change made with r275564 ("[ARM/FDPIC v6 02/24] [ARM] FDPIC: Handle 
      arm*-*-uclinuxfdpiceabi in configure scripts") to libtool.m4 has not 
      regenerated all the `configure' scripts affected.  Fix it.
      
      	gcc/
      	* configure: Regenerate.
      
      	libatomic/
      	* configure: Regenerate.
      
      	libbacktrace/
      	* configure: Regenerate.
      
      	libcc1/
      	* configure: Regenerate.
      
      	libffi/
      	* configure: Regenerate.
      
      	libgfortran/
      	* configure: Regenerate.
      
      	libgomp/
      	* configure: Regenerate.
      
      	libhsail-rt/
      	* configure: Regenerate.
      
      	libitm/
      	* configure: Regenerate.
      
      	libobjc/
      	* configure: Regenerate.
      
      	liboffloadmic/
      	* configure: Regenerate.
      
      	libphobos/
      	* configure: Regenerate.
      
      	libquadmath/
      	* configure: Regenerate.
      
      	libsanitizer/
      	* configure: Regenerate.
      
      	libssp/
      	* configure: Regenerate.
      
      	libstdc++-v3/
      	* configure: Regenerate.
      
      	libvtv/
      	* configure: Regenerate.
      
      	lto-plugin/
      	* configure: Regenerate.
      
      	zlib/
      	* configure: Regenerate.
      
      From-SVN: r276213
      e9085da5
  33. Sep 10, 2019
    • Christophe Lyon's avatar
      [ARM/FDPIC v6 23/24] [ARM] FDPIC: Implement libitm support. · a360a359
      Christophe Lyon authored
      The ldaddr macro in sjlj.S needs to be updated to support the FDPIC
      model.
      
      2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
      
      	libitm/
      	* config/arm/sjlj.S (ldaddr): Add FDPIC support.
      
      From-SVN: r275584
      a360a359
    • Christophe Lyon's avatar
      [ARM/FDPIC v6 02/24] [ARM] FDPIC: Handle arm*-*-uclinuxfdpiceabi in configure scripts · b1e21e5a
      Christophe Lyon authored
      The new arm-uclinuxfdpiceabi target behaves pretty much like
      arm-linux-gnueabi. In order to enable the same set of features, we
      have to update several configure scripts that generally match targets
      like *-*-linux*: in most places, we add *-uclinux* where there is
      already *-linux*, or uclinux* when there is already linux*.
      
      In gcc/config.gcc and libgcc/config.host we use *-*-uclinuxfdpiceabi
      because there is already a different behaviour for *-*uclinux* target.
      
      In libtool.m4, we use uclinuxfdpiceabi in cases where ELF shared
      libraries support is required, as uclinux does not guarantee that.
      
      2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
      
      	config/
      	* futex.m4: Handle *-uclinux*.
      	* tls.m4 (GCC_CHECK_TLS): Likewise.
      
      	gcc/
      	* config.gcc: Handle *-*-uclinuxfdpiceabi.
      
      	libatomic/
      	* configure.tgt: Handle arm*-*-uclinux*.
      	* configure: Regenerate.
      
      	libgcc/
      	* config.host: Handle *-*-uclinuxfdpiceabi.
      
      	libitm/
      	* configure.tgt: Handle *-*-uclinux*.
      	* configure: Regenerate.
      
      	* libtool.m4: Handle uclinuxfdpiceabi.
      
      From-SVN: r275564
      b1e21e5a
  34. Sep 06, 2019
  35. Sep 03, 2019
    • Chung-Lin Tang's avatar
      re PR other/79543 (Inappropriate "ld --version" checking) · c6c2d1bc
      Chung-Lin Tang authored
      2019-09-03  Chung-Lin Tang <cltang@codesourcery.com>
      
      	libatomic/
      	PR other/79543
      	* acinclude.m4 (LIBAT_CHECK_LINKER_FEATURES): Fix GNU ld --version
      	scanning to conform to the GNU Coding Standards.
      	* configure: Regenerate.
      
      	libffi/
      	PR other/79543
      	* acinclude.m4 (LIBAT_CHECK_LINKER_FEATURES): Fix GNU ld --version
      	scanning to conform to the GNU Coding Standards.
      	* configure: Regenerate.
      
      	libgomp/
      	PR other/79543
      	* acinclude.m4 (LIBGOMP_CHECK_LINKER_FEATURES): Fix GNU ld --version
      	scanning to conform to the GNU Coding Standards.
      	* configure: Regenerate.
      
      	libitm/
      	PR other/79543
      	* acinclude.m4 (LIBITM_CHECK_LINKER_FEATURES): Fix GNU ld --version
      	scanning to conform to the GNU Coding Standards.
      	* configure: Regenerate.
      
      	libstdc++-v3/
      	PR other/79543
      	* acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Fix GNU ld --version
      	scanning to conform to the GNU Coding Standards.
      	* configure: Regenerate.
      
      From-SVN: r275341
      c6c2d1bc
  36. May 03, 2019
Loading