1. 28 Sep, 2020 8 commits
    • libbacktrace: fetch executable path on macOS · 4ae8d988
      Ian Lance Taylor authored
      	PR libbacktrace/96973
      	* fileline.c (macho_get_executable_path): New static function.
      	(fileline_initialize): Call macho_get_executable_path.
    • libbacktrace: avoid ambiguous binary search · 430dc8b6
      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 #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.
    • libbacktrace: fix tipo in comment · 5dec0fae
      Ian Lance Taylor authored
      	* simple.c (simple_unwind): Correct comment spelling.
      
      Close #47
    • libbacktrace: correct memory lengths in Mach-O dsym support · 030bd0a7
      Ian Lance Taylor authored
      	* macho.c (macho_add_dsym): Make space for '/' in dsym.  Use
      	correct length when freeing diralc.
      
      Close #40
    • libbacktrace: correctly swap Mach-O 32-bit file offset · b3b57f9e
      Ian Lance Taylor authored
      libbacktrace/ChangeLog:
      	PR libbacktrace/96973
      	* macho.c (macho_add_fat): Correctly swap 32-bit file offset.
    • libbacktrace: only match magic number at start of line · 886aef37
      Ian Lance Taylor authored
      libbacktrace/ChangeLog:
      	PR libbacktrace/96971
      	* filetype.awk: Only match magic number at start of line.
    • libbacktrace: add Mach-O 64-bit FAT support · 89b2b506
      Ian Lance Taylor authored
      libbacktrace/:
      	* macho.c (MACH_O_MH_MAGIC_FAT_64): Define.
      	(MACH_O_MH_CIGAM_FAT_64): Define.
      	(struct macho_fat_arch_64): Define.
      	(macho_add_fat): Add and use is_64 parameter.
      	(macho_add): Recognize 64-bit fat files.
    • libbacktrace: test linker support for DWARF 5 · aaa51b6d
      Ian Lance Taylor authored
      On AIX, the compiler supports DWARF 5 but the linker does not.
      
      2020-07-07 Clement Chigot <clement.chigot@atos.net>
      
      	* configure.ac: Test linker support for DWARF5
      	* configure: Regenerate
  2. 13 May, 2020 2 commits
  3. 11 May, 2020 1 commit
  4. 10 May, 2020 1 commit
  5. 19 Feb, 2020 4 commits
  6. 16 Feb, 2020 3 commits
  7. 15 Feb, 2020 1 commit
  8. 24 Dec, 2019 1 commit
  9. 05 Jun, 2018 2 commits
  10. 17 Apr, 2018 2 commits
    • * backtrace.c: Revert last change. Don't call mmap · 1b8128cf
      Ian Lance Taylor authored
      	directly.
      
      Updates #13
    • Copy changes from GCC: · 012b950b
      Ian Lance Taylor authored
      2018-04-17  Ian Lance Taylor  <iant@golang.org>
      
      	* backtrace.c (backtrace_full): When testing whether we can
      	allocate memory, call mmap directly, and munmap the memory.
      
      2018-04-04  Jakub Jelinek  <jakub@redhat.com>
      
      	PR other/85161
      	* elf.c (elf_zlib_fetch): Fix up predefined macro names in test for
      	big endian, only use 32-bit loads if endianity macros are predefined
      	and indicate big or little endian.
      
      2018-02-15  Jakub Jelinek  <jakub@redhat.com>
      
      	PR other/82368
      	* elf.c (SHT_PROGBITS): Undefine and define.
      
      2018-02-14  Jakub Jelinek  <jakub@redhat.com>
      
      	PR other/82368
      	* elf.c (EM_PPC64, EF_PPC64_ABI): Undefine and define.
      	(struct elf_ppc64_opd_data): New type.
      	(elf_initialize_syminfo): Add opd argument, handle symbols
      	pointing into the PowerPC64 ELFv1 .opd section.
      	(elf_add): Read .opd section on PowerPC64 ELFv1, pass pointer
      	to structure with .opd data to elf_initialize_syminfo.
      
      2018-01-19  Tony Reix  <tony.reix@atos.net>
      
      	* xcoff.c (xcoff_incl_compare): New function.
      	(xcoff_incl_search): New function.
      	(xcoff_process_linenos): Use bsearch to find include file.
      	(xcoff_initialize_fileline): Sort include file information.
      
      Fixes #13
  11. 31 Jan, 2018 1 commit
  12. 25 Jan, 2018 6 commits
  13. 17 Jan, 2018 3 commits
    • libbacktrace: rebuild configury with GCC standard tool versions · 3739537b
      Ian Lance Taylor authored
      Add required support files to the config subdirectory.
      
      Update dtest to be based on a statically linked program.
    • Add text used for "inflate large" test. · 4183d76f
      Ian Lance Taylor authored
    • libbacktrace: update to GCC SVN revision 256776 · f2c17c04
      Ian Lance Taylor authored
      This brings in this patch:
      
      	* elf.c (codes) [GENERATE_FIXED_HUFFMAN_TABLE]: Fix size to be
      	288.
      	(main) [GENERATE_FIXED_HUFFMAN_TABLE]: Pass 288 to
      	elf_zlib_inflate_table.  Generate elf_zlib_default_dist_table.
      	(elf_zlib_default_table): Update.
      	(elf_zlib_default_dist_table): New static array.
      	(elf_zlib_inflate): Use elf_zlib_default_dist_table for dist table
      	for block type 1.
      	* ztest.c (struct zlib_test): Add uncompressed_len.
      	(tests): Initialize uncompressed_len field.  Add new test case.
      	(test_samples): Use uncompressed_len field.
  14. 15 Jan, 2018 2 commits
  15. 12 Jan, 2018 1 commit
  16. 29 May, 2017 1 commit
  17. 11 Sep, 2016 1 commit