Skip to content
Snippets Groups Projects
  1. May 04, 2021
  2. May 03, 2021
    • H.J. Lu's avatar
      GCC_CET_HOST_FLAGS: Check if host supports multi-byte NOPs · 3f570621
      H.J. Lu authored
      Check if host supports multi-byte NOPs before enabling CET on host.
      
      gcc/
      
      	PR bootstrap/99703
      	* configure: Regenerated.
      
      libbacktrace/
      
      	PR bootstrap/99703
      	* configure: Regenerated.
      
      libcc1/
      
      	PR bootstrap/99703
      	* configure: Regenerated.
      
      libcpp/
      
      	PR bootstrap/99703
      	* configure: Regenerated.
      
      libdecnumber/
      
      	PR bootstrap/99703
      	* configure: Regenerated.
      
      lto-plugin/
      
      	PR bootstrap/99703
      	* configure: Regenerated.
      3f570621
  3. Mar 04, 2021
  4. Mar 03, 2021
  5. Mar 02, 2021
  6. Feb 13, 2021
  7. Feb 12, 2021
  8. Jan 19, 2021
  9. Jan 18, 2021
  10. Jan 06, 2021
  11. 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
  12. Jan 04, 2021
  13. Dec 06, 2020
  14. 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
  15. Dec 03, 2020
  16. Dec 02, 2020
  17. Nov 30, 2020
  18. 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
  19. Oct 21, 2020
  20. Oct 20, 2020
  21. Sep 29, 2020
  22. Sep 28, 2020
  23. Sep 24, 2020
  24. Sep 23, 2020
  25. Sep 17, 2020
    • GCC Administrator's avatar
      Daily bump. · ecde1b0a
      GCC Administrator authored
      ecde1b0a
    • Ian Lance Taylor's avatar
      libbacktrace: use ELF symbol table if no debug info available · 90c25456
      Ian Lance Taylor authored
      	PR libbacktrace/97080
      	* fileline.c (backtrace_syminfo_to_full_callback): New function.
      	(backtrace_syminfo_to_full_error_callback): New function.
      	* elf.c (elf_nodebug): Call syminfo_fn if possible.
      	* internal.h (struct backtrace_call_full): Define.
      	(backtrace_syminfo_to_full_callback): Declare.
      	(backtrace_syminfo_to_full_error_callback): Declare.
      	* mtest.c (f3): Only check all[i] if data.index permits.
      90c25456
  26. Sep 16, 2020
    • Iain Sandoe's avatar
      libbacktrace, Mach-O : Support PowerPC archs. · d1339b51
      Iain Sandoe authored
      This adds the PPC architecture variants for Mach-O libbacktrace.
      
      With this (as for X86 and Arm) when dsymutil is run on the binary
      we get a basic usable backtrace.
      
      Testsuite results on powerpc-apple-darwin9 are the same as for X86:
       * btest fails (TBC why)
       * dwarf5 tests fail because dsymutil does not handle that so far.
      
      libbacktrace/ChangeLog:
      
      	* macho.c (MACH_O_CPU_TYPE_PPC): New.
      	(MACH_O_CPU_TYPE_PPC64): New.
      	Add compile-tests for powerpc to the Mach-O variants.
      d1339b51
  27. Sep 15, 2020
  28. Sep 14, 2020
    • Ian Lance Taylor's avatar
      libbacktrace: support MiniDebugInfo · 05f40bc4
      Ian Lance Taylor authored
      libbacktrace/ChangeLog:
      	PR libbacktrace/93608
      	Add support for MiniDebugInfo.
      	* elf.c (struct elf_view): Define.  Replace most uses of
      	backtrace_view with elf_view.
      	(elf_get_view): New static functions.  Replace most calls of
      	backtrace_get_view with elf_get_view.
      	(elf_release_view): New static functions.  Replace most calls of
      	backtrace_release_view with elf_release_view.
      	(elf_uncompress_failed): Rename from elf_zlib_failed.  Change all
      	callers.
      	(LZMA_STATES, LZMA_POS_STATES, LZMA_DIST_STATES): Define.
      	(LZMA_DIST_SLOTS, LZMA_DIST_MODEL_START): Define.
      	(LZMA_DIST_MODEL_END, LZMA_FULL_DISTANCES): Define.
      	(LZMA_ALIGN_SIZE, LZMA_LEN_LOW_SYMBOLS): Define.
      	(LZMA_LEN_MID_SYMBOLS, LZMA_LEN_HIGH_SYMBOLS): Define.
      	(LZMA_LITERAL_CODERS_MAX, LZMA_LITERAL_CODER_SIZE): Define.
      	(LZMA_PROB_IS_MATCH_LEN, LZMA_PROB_IS_REP_LEN): Define.
      	(LZMA_PROB_IS_REP0_LEN, LZMA_PROB_IS_REP1_LEN): Define.
      	(LZMA_PROB_IS_REP2_LEN, LZMA_PROB_IS_REP0_LONG_LEN): Define.
      	(LZMA_PROB_DIST_SLOT_LEN, LZMA_PROB_DIST_SPECIAL_LEN): Define.
      	(LZMA_PROB_DIST_ALIGN_LEN): Define.
      	(LZMA_PROB_MATCH_LEN_CHOICE_LEN): Define.
      	(LZMA_PROB_MATCH_LEN_CHOICE2_LEN): Define.
      	(LZMA_PROB_MATCH_LEN_LOW_LEN): Define.
      	(LZMA_PROB_MATCH_LEN_MID_LEN): Define.
      	(LZMA_PROB_MATCH_LEN_HIGH_LEN): Define.
      	(LZMA_PROB_REP_LEN_CHOICE_LEN): Define.
      	(LZMA_PROB_REP_LEN_CHOICE2_LEN): Define.
      	(LZMA_PROB_REP_LEN_LOW_LEN): Define.
      	(LZMA_PROB_REP_LEN_MID_LEN): Define.
      	(LZMA_PROB_REP_LEN_HIGH_LEN): Define.
      	(LZMA_PROB_LITERAL_LEN): Define.
      	(LZMA_PROB_IS_MATCH_OFFSET, LZMA_PROB_IS_REP_OFFSET): Define.
      	(LZMA_PROB_IS_REP0_OFFSET, LZMA_PROB_IS_REP1_OFFSET): Define.
      	(LZMA_PROB_IS_REP2_OFFSET): Define.
      	(LZMA_PROB_IS_REP0_LONG_OFFSET): Define.
      	(LZMA_PROB_DIST_SLOT_OFFSET): Define.
      	(LZMA_PROB_DIST_SPECIAL_OFFSET): Define.
      	(LZMA_PROB_DIST_ALIGN_OFFSET): Define.
      	(LZMA_PROB_MATCH_LEN_CHOICE_OFFSET): Define.
      	(LZMA_PROB_MATCH_LEN_CHOICE2_OFFSET): Define.
      	(LZMA_PROB_MATCH_LEN_LOW_OFFSET): Define.
      	(LZMA_PROB_MATCH_LEN_MID_OFFSET): Define.
      	(LZMA_PROB_MATCH_LEN_HIGH_OFFSET): Define.
      	(LZMA_PROB_REP_LEN_CHOICE_OFFSET): Define.
      	(LZMA_PROB_REP_LEN_CHOICE2_OFFSET): Define.
      	(LZMA_PROB_REP_LEN_LOW_OFFSET): Define.
      	(LZMA_PROB_REP_LEN_MID_OFFSET): Define.
      	(LZMA_PROB_REP_LEN_HIGH_OFFSET): Define.
      	(LZMA_PROB_LITERAL_OFFSET): Define.
      	(LZMA_PROB_TOTAL_COUNT): Define.
      	(LZMA_IS_MATCH, LZMA_IS_REP, LZMA_IS_REP0): Define.
      	(LZMA_IS_REP1, LZMA_IS_REP2, LZMA_IS_REP0_LONG): Define.
      	(LZMA_DIST_SLOT, LZMA_DIST_SPECIAL, LZMA_DIST_ALIGN): Define.
      	(LZMA_MATCH_LEN_CHOICE, LZMA_MATCH_LEN_CHOICE2): Define.
      	(LZMA_MATCH_LEN_LOW, LZMA_MATCH_LEN_MID): Define.
      	(LZMA_MATCH_LEN_HIGH, LZMA_REP_LEN_CHOICE): Define.
      	(LZMA_REP_LEN_CHOICE2, LZMA_REP_LEN_LOW): Define.
      	(LZMA_REP_LEN_MID, LZMA_REP_LEN_HIGH, LZMA_LITERAL): Define.
      	(elf_lzma_varint): New static function.
      	(elf_lzma_range_normalize): New static function.
      	(elf_lzma_bit, elf_lzma_integer): New static functions.
      	(elf_lzma_reverse_integer): New static function.
      	(elf_lzma_len, elf_uncompress_lzma_block): New static functions.
      	(elf_uncompress_lzma): New static function.
      	(backtrace_uncompress_lzma): New function.
      	(elf_add): Add memory and memory_size parameters.  Change all
      	callers.  Look for .gnu_debugdata section, and, if found,
      	decompress it and use it for symbols and debug info.  Permit the
      	descriptor parameter to be -1.
      	* internal.h (backtrace_uncompress_lzma): Declare.
      	* mtest.c: New file.
      	* xztest.c: New file.
      	* configure.ac: Check for nm, xz, and comm programs.  Check for
      	liblzma library.
      	(HAVE_MINIDEBUG): Define.
      	* Makefile.am (mtest_SOURCES): Define.
      	(mtest_CFLAGS, mtest_LDADD): Define.
      	(TESTS): Add mtest_minidebug if HAVE_MINIDEBUG.
      	(%_minidebug): New pattern rule, if HAVE_MINIDEBUG.
      	(xztest_SOURCES, xztest_CFLAGS, xztest_LDADD): Define.
      	(xztest_alloc_SOURCES, xztest_alloc_CFLAGS): Define
      	(xztest_alloc_LDADD): Define.
      	(BUILDTESTS): Add mtest, xztest, xztest_alloc.
      	(CLEANFILES): Add files created by minidebug pattern.
      	(btest.lo): Correct INCDIR reference.
      	(mtest.lo, xztest.lo, ztest.lo): New targets.
      	* configure: Regenerate.
      	* config.h.in: Regenerate.
      	* Makefile.in: Regenerate.
      05f40bc4
  29. Sep 10, 2020
  30. Sep 09, 2020
    • Ian Lance Taylor's avatar
      libbacktrace: don't strip leading underscore on 64-bit PE · f56f1a5a
      Ian Lance Taylor authored
      	* pecoff.c (coff_initialize_syminfo): Add is_64 parameter.
      	(coff_add): Determine and pass is_64.
      f56f1a5a
    • Ian Lance Taylor's avatar
      libbacktrace: fetch executable path on macOS · 181f877b
      Ian Lance Taylor authored
      	PR libbacktrace/96973
      	* fileline.c (macho_get_executable_path): New static function.
      	(fileline_initialize): Call macho_get_executable_path.
      181f877b
    • Ian Lance Taylor's avatar
      libbacktrace: avoid ambiguous binary search · 0755f573
      Ian Lance Taylor authored
      Searching for a range match can cause the search order to not match
      the sort order, which can cause libbacktrace to miss matching entries.
      Allocate an extra entry at the end of function_addrs and unit_addrs vectors,
      so that we can safely compare to the next entry when searching.
      Adjust the matching code accordingly.
      
      Fixes https://github.com/ianlancetaylor/libbacktrace/issues/44.
      
      	* dwarf.c (function_addrs_search): Compare against the next entry
      	low address, not the high address.
      	(unit_addrs_search): Likewise.
      	(build_address_map): Add a trailing unit_addrs.
      	(read_function_entry): Add a trailing function_addrs.
      	(read_function_info): Likewise.
      	(report_inlined_functions): Search backward for function_addrs
      	match.
      	(dwarf_lookup_pc): Search backward for unit_addrs and
      	function_addrs matches.
      0755f573
    • GCC Administrator's avatar
      Daily bump. · 31a05046
      GCC Administrator authored
      31a05046
  31. Sep 08, 2020
Loading