Skip to content
Snippets Groups Projects
  1. Aug 06, 2024
  2. Aug 05, 2024
    • Ian Lance Taylor's avatar
      libbacktrace: avoid -Wpointer-arith errors · 3a51aaf5
      Ian Lance Taylor authored
      Based on patch from Kirill Müller.
      
      	* configure.ac (ACX_PROG_CC_WARNING_OPTS): Add -Wpointer-arith.
      	* pecoff.c (coff_add): Cast void pointers.
      	* xcoff.c (xcoff_add): Likewise.
      	* configure: Regenerate.
      3a51aaf5
  3. Jul 31, 2024
  4. Jul 30, 2024
  5. Jul 19, 2024
  6. Jul 18, 2024
  7. Jul 17, 2024
    • Ian Lance Taylor's avatar
      libbacktrace: update xcoff.c for base_address changes · f438299e
      Ian Lance Taylor authored
      	* xcoff.c (struct xcoff_fileline_data): Change base_address field
      	to struct libbacktrace_base_address.
      	(xcoff_initialize_syminfo): Change base_address to struct
      	libbacktrace_base_address.  Use libbacktrace_add_base.
      	(xcoff_initialize_fileline): Likewise.
      	(xcoff_lookup_pc): Use libbacktrace_add_base.
      	(xcoff_add): Change base_address to struct
      	libbacktrace_base_address.
      	(xcoff_armem_add, xcoff_add_shared_libs): Likewise.
      	(backtrace_initialize): Likewise.
      	* Makefile.am (xcoff.lo): Remove unused target.
      	(xcoff_32.lo, xcoff_64.lo): New targets.
      	* Makefile.in: Regenerate.
      f438299e
    • GCC Administrator's avatar
      Daily bump. · 72bce1fb
      GCC Administrator authored
      72bce1fb
  8. Jul 16, 2024
    • Ian Lance Taylor's avatar
      libbacktrace: support FDPIC · c6803cda
      Ian Lance Taylor authored
      Based on patch by Max Filippov.
      
      	* internal.h: If FDPIC, #include <link.h> and/or <sys/link.h>.
      	(libbacktrace_using_fdpic): Define.
      	(struct libbacktrace_base_address): Define.
      	(libbacktrace_add_base): Define.
      	(backtrace_dwarf_add): Change base_address to struct
      	libbacktrace_base_address.
      	* dwarf.c (struct dwarf_data): Change base_address to struct
      	libbacktrace_base_address.
      	(add_ranges, find_address_ranges, build_ddress_map): Likewise.
      	(build_dwarf_data, build_dwarf_add): Likewise.
      	(add_low_high_range): Change base_address to struct
      	libbacktrace_base_address.  Use libbacktrace_add_base.
      	(add_ranges_from_ranges, add_ranges_from_rnglists): Likewise.
      	(add_line): Use libbacktrace_add_base.
      	* elf.c (elf_initialize_syminfo): Change base_address to struct
      	libbacktrace_base_address.  Use libbacktrace_add_base.
      	(elf_add): Change base_address to struct
      	libbacktrace_base_address.
      	(phdr_callback): Likewise.  Initialize base_address.m.
      	(backtrace_initialize): If using FDPIC, don't call elf_add with
      	main executable; always use dl_iterate_phdr.
      	* macho.c (macho_add_symtab): Change base_address to struct
      	libbacktrace_base_address.  Use libbacktrace_add_base.
      	(macho_syminfo): Change base_address to struct
      	libbacktrace_base_address.
      	(macho_add_fat, macho_add_dsym, macho_add): Likewise.
      	(backtrace_initialize): Likewise.  Initialize base_address.m.
      	* pecoff.c (coff_initialize_syminfo): Change base_address to
      	struct libbacktrace_base_address.  Use libbacktrace_add_base.
      	(coff_add): Change base_address to struct
      	libbacktrace_base_address.  Initialize base_address.m.
      c6803cda
  9. Jul 13, 2024
  10. Jul 12, 2024
    • Ian Lance Taylor's avatar
      libbacktrace: avoid infinite recursion · bf406a53
      Ian Lance Taylor authored
      We could get an infinite recursion in an odd case in which a
      .gnu_debugdata section was added to a debug file, and mini_debuginfo
      was put into the debug file, and the debug file was put into a
      /usr/lib/debug directory to be found by build ID.  This combination
      doesn't really make sense but we shouldn't get an infinite recursion.
      
      	* elf.c (elf_add): Don't use .gnu_debugdata if we are already
      	reading a debuginfo file.
      	* Makefile.am (m2test_*): New test targets.
      	(CHECK_PROGRAMS): Add m2test.
      	(MAKETESTS): Add m2test_minidebug2.
      	(%_minidebug2): New pattern.
      	(CLEANFILES): Remove minidebug2 files.
      	* Makefile.in: Regenerate.
      bf406a53
    • Ian Lance Taylor's avatar
      libbacktrace: don't fail if symbol size is unknown · d7318f4c
      Ian Lance Taylor authored
      	* btest.c (test5): Don't fail if symbol size is 0.
      	* mtest.c (test5): Likewise.
      d7318f4c
    • Ian Lance Taylor's avatar
      libbacktrace: correctly gather Mach-O symbol table · b8700869
      Ian Lance Taylor authored
      	For PR libbacktrace/97082.
      	* macho.c (MACH_O_N_EXT): Don't define.
      	(MACH_O_N_UNDF): Define.
      	(macho_defined_symbol): Don't discard N_EXT symbols.  Do
      	discard N_UNDF symbols.
      b8700869
    • GCC Administrator's avatar
      Daily bump. · 88ff0504
      GCC Administrator authored
      88ff0504
  11. Jul 11, 2024
  12. Jun 17, 2024
  13. Jun 16, 2024
  14. May 04, 2024
  15. May 03, 2024
    • Ian Lance Taylor's avatar
      libbacktrace: add DLLS as they are loaded · b69dac54
      Ian Lance Taylor authored
      Patch from Björn Schäpers.
      
      	* pecoff.c (struct dll_notification_data): Define.
      	(LDR_DLL_NOTIFICATION): New typedef.
      	(LDR_REGISTER_FUNCTION): New typedef.
      	(struct dll_notification_context): Define.
      	(dll_notification): New static function.
      	(backtrace_initialize): Register DLL notification.
      b69dac54
  16. Apr 29, 2024
  17. Apr 28, 2024
    • Ian Lance Taylor's avatar
      libbacktrace: load Windows modules · 942a9cf2
      Ian Lance Taylor authored
      Patch from Björn Schäpers <bjoern@hazardy.de>.
      
      	* configure.ac: Checked for tlhelp32.h
      	* pecoff.c: Include <tlhelp32.h> if available.
      	(backtrace_initialize): Use tlhelp32 api for a snapshot to
      	detect loaded modules.
      	(coff_add): New argument for the module handle of the file,
      	to get the base address.
      	* configure, config.h.in: Regenerate.
      942a9cf2
  18. Apr 24, 2024
  19. Apr 23, 2024
    • Ian Lance Taylor's avatar
      libbacktrace: test --compress-debug-sections=ARG for each ARG · d2f05fed
      Ian Lance Taylor authored
      This should fix a testsuite problem with Solaris ld that supports zlib
      but not zlib-gabi.
      
      	* configure.ac: Test --compress-debug-sections=zlib-gnu and
      	--compress-debug-sections=zlib-gabi separately, setting new
      	automake conditionals.
      	* Makefile.am (ctestg, ctestg_alloc): Only build if
      	HAVE_COMPRESSED_DEBUG_ZLIB_GNU.
      	(ctesta, ctesta_alloc): Only build if
      	HAVE_COMPRESSED_DEBUG_ZLIB_GABI.
      	(ctestzstd_alloc): New test if HAVE_COMPRESSED_DEBUG_ZSTD.
      	* configure, Makefile.in: Regenerate.
      d2f05fed
  20. Mar 09, 2024
  21. Mar 08, 2024
  22. Mar 03, 2024
  23. Mar 02, 2024
  24. Mar 01, 2024
  25. Jan 05, 2024
  26. Jan 03, 2024
Loading