34 Commits
Author SHA1 Message Date
Jacek Sieka 983a642f47 Update README.md 2026-03-23 18:51:48 +01:00
Ștefan Talpalaru 2e878a38dd document the forking history 2020-02-20 21:50:31 +01:00
Ștefan Talpalaru 90f32131a1 Merge branch 'rust-snapshot-2018-05-22' 2020-02-20 21:34:11 +01:00
Ștefan Talpalaru 4ce3619f93 Merge branch 'appveyor' into rust-snapshot-2018-05-22 2020-02-20 21:32:19 +01:00
Ștefan Talpalaru c31f80e4fc update .gitignore
with generic Autotools entries and a specific one for a generated
header. This allows building the project in the same directory as the
source.
2020-02-18 20:30:53 +01:00
Ștefan Talpalaru 44bbb61caf update "config.guess" and "config.sub"
to latest versions from "http://git.savannah.gnu.org/cgit/config.git/tree/".

An old "i" prefix in "i*:MSYS*:*)" was preventing the library from
being built in AppVeyor CI jobs.
2020-02-18 20:23:13 +01:00
Alex Crichton f4d02bbdbf Fix build of macho.c on OSX 2018-05-25 07:05:55 -07:00
Alex Crichton 7845b4ecc7 Apply rust-lang/rust@8581b59fb3 2018-05-22 12:56:59 -07:00
Alex Crichton bddb51c706 Apply rust-lang/rust@2f3c412c84 2018-05-22 12:56:35 -07:00
Alex Crichton e06f27504a Apply rust-lang/rust@aa6bd117bb 2018-05-22 12:56:06 -07:00
Alex Crichton 07b6b415fa Apply rust-lang/rust@e3de40e72f 2018-05-22 12:55:12 -07:00
Alex Crichton b47a92c573 Apply rust-lang/rust@e8121b3d16 2018-05-22 12:54:52 -07:00
Alex Crichton 2e94976e62 Apply rust-lang/rust@0fad1b1cd8 2018-05-22 12:52:40 -07:00
Alex Crichton 6ccb800588 Apply rust-lang/rust@d14b268b9d 2018-05-22 12:50:25 -07:00
Alex Crichton e0abfecd2a Apply rust-lang/rust@55e2b7e1b4
New:
Fix for #28447

Merged:
openbsd support: rust-lang/rust@fcb30a0
bitrig integration: rust-lang/rust@cd8f317
2018-05-22 12:38:02 -07:00
Ian Lance Taylor 1b8128cf56 * backtrace.c: Revert last change. Don't call mmap
directly.

Updates #13
2018-04-17 10:59:18 -07:00
Ian Lance Taylor 012b950b37 Copy changes from GCC:
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
2018-04-17 07:04:02 -07:00
Ian Lance Taylor 177940370e * elf.c (elf_add): Close descriptor if we use a debugfile.
* btest.c (check_open_files): New static function.
	(main): Call check_open_files.
2018-01-31 15:24:01 -08:00
Ian Lance Taylor 811741b03b * elf.c (elf_open_debugfile_by_debuglink): Don't check CRC if the
desired CRC is zero.
	(elf_add): Don't clear *found_sym and *found_dwarf if debuginfo.
2018-01-25 10:14:34 -08:00
Ian Lance Taylor 8a4e4ea552 * pecoff.c (coff_add): Only release syms_view if it is valid. 2018-01-25 07:38:52 -08:00
Ian Lance Taylor 97dd0dfa9e * pecoff.c (coff_add): Another memcpy -> coff_read4 fix.
Updates #11
2018-01-25 07:34:02 -08:00
Ian Lance Taylor 4300eedae4 * pecoff.c (coff_add): Use coff_read4, not memcpy.
Fixes #3
2018-01-24 18:42:50 -08:00
Ian Lance Taylor 051ecb46f8 README: mention XCOFF, call this version 1.0
Fixes #1
2018-01-24 18:37:06 -08:00
Ian Lance Taylor b0d690331d * mmap.c (backtrace_free_locked): Don't put more than 16 entries
on the free list.

Fixes #5
Fixes rust-lang/rust#29293
Fixes rust-lang/rust#37477
2018-01-24 18:25:39 -08:00
Ian Lance Taylor 3739537b9c libbacktrace: rebuild configury with GCC standard tool versions
Add required support files to the config subdirectory.

Update dtest to be based on a statically linked program.
2018-01-16 17:42:38 -08:00
Ian Lance Taylor 4183d76f92 Add text used for "inflate large" test. 2018-01-16 17:40:25 -08:00
Ian Lance Taylor f2c17c0417 libbacktrace: update to GCC SVN revision 256776
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.
2018-01-16 17:39:45 -08:00
Ian Lance Taylor 862169a1f5 .gitignore: add simple .gitignore file 2018-01-15 15:22:10 -08:00
Than McIntosh ee9cd27e5e Restore functionality of 'install' target. (#10)
Previous change (update from gcc trunk) broke 'make install'; this
corrects the problem.
2018-01-15 12:06:55 -08:00
Than McIntosh 17f687d2b9 Update from gcc trunk version of libbacktrace at svn rev 256427. (#8)
Includes (among other things) support for compressed debug sections,
a variety of bugfixes, and expanded test coverage.
2018-01-12 10:26:02 -08:00
Ian Lance Taylor 14d377e9be README: correct link to C++ unwind API
Fixes #4
2017-05-29 11:48:14 -07:00
Ian Lance Taylor ba79a27ee9 all: remove meaningless trailing whitespace 2016-09-11 06:45:37 -07:00
Ian Lance Taylor 84241313f2 libbacktrace: initial commit
This is a standalone version of the libbacktrace library that I
originally wrote for GCC.  This is a copy of libbacktrace from GCC
trunk, with all dependencies incorporated here.
2016-09-10 07:59:09 -07:00
Ian Lance Taylor 6a5a5fcdda Initial commit 2016-09-10 07:26:00 -07:00