binutils-gdb/libctf
Nick Alcock 4533ed564d libctf, binutils: fix big-endian libctf archive opening
The recent commit "libctf, binutils: support CTF archives like objdump"
broke opening of CTF archives on big-endian platforms.

This didn't affect anyone much before now because the linker never
emitted CTF archives because it wasn't detecting ambiguous types
properly: now it does, and this bug becomes obvious.

Fix trivial.

libctf/
	* ctf-archive.c (ctf_arc_bufopen): Endian-swap the archive magic
	number if needed.
2020-07-22 18:05:32 +01:00
..
.gitignore libctf: restructure error handling to reduce relocations 2020-07-22 17:57:20 +01:00
aclocal.m4 libctf, dedup: add new configure option --enable-libctf-hash-debugging 2020-07-22 18:02:19 +01:00
ChangeLog libctf, binutils: fix big-endian libctf archive opening 2020-07-22 18:05:32 +01:00
config.h.in libctf, dedup: add deduplicator 2020-07-22 18:02:19 +01:00
configure libctf, dedup: add deduplicator 2020-07-22 18:02:19 +01:00
configure.ac libctf, dedup: add deduplicator 2020-07-22 18:02:19 +01:00
ctf-archive.c libctf, binutils: fix big-endian libctf archive opening 2020-07-22 18:05:32 +01:00
ctf-create.c libctf, dedup: add deduplicator 2020-07-22 18:02:19 +01:00
ctf-decl.c libctf, decl: avoid leaks of the formatted string on error 2020-07-22 18:02:17 +01:00
ctf-decls.h libctf, dedup: add deduplicator 2020-07-22 18:02:19 +01:00
ctf-dedup.c libctf, dedup: add deduplicator 2020-07-22 18:02:19 +01:00
ctf-dump.c libctf, dump: fix slice dumping 2020-07-22 18:02:18 +01:00
ctf-endian.h
ctf-error.c libctf: drop error-prone ctf_strerror 2020-07-22 18:02:18 +01:00
ctf-hash.c libctf, dedup: add deduplicator 2020-07-22 18:02:19 +01:00
ctf-impl.h libctf, link: tie in the deduplicating linker 2020-07-22 18:02:19 +01:00
ctf-inlines.h libctf, ld, binutils: add textual error/warning reporting for libctf 2020-07-22 18:02:17 +01:00
ctf-labels.c
ctf-link.c libctf, link: tie in the deduplicating linker 2020-07-22 18:02:19 +01:00
ctf-lookup.c libctf, next: introduce new class of easier-to-use iterators 2020-07-22 17:57:50 +01:00
ctf-open-bfd.c libctf, open: fix opening CTF in binaries with no symtab 2020-07-22 18:02:18 +01:00
ctf-open.c libctf, dedup: add deduplicator 2020-07-22 18:02:19 +01:00
ctf-qsort_r.c
ctf-sha1.c libctf: add SHA-1 support for libctf 2020-07-22 18:02:18 +01:00
ctf-sha1.h libctf: add SHA-1 support for libctf 2020-07-22 18:02:18 +01:00
ctf-string.c
ctf-subr.c libctf: drop error-prone ctf_strerror 2020-07-22 18:02:18 +01:00
ctf-types.c libctf, types: enhance ctf_type_aname to print function arg types 2020-07-22 18:02:17 +01:00
ctf-util.c libctf, link: tie in the deduplicating linker 2020-07-22 18:02:19 +01:00
elf.h
libctf.ver libctf, link: add the ability to filter out variables from the link 2020-07-22 18:02:18 +01:00
Makefile.am libctf, dedup: add deduplicator 2020-07-22 18:02:19 +01:00
Makefile.in libctf, dedup: add deduplicator 2020-07-22 18:02:19 +01:00
mkerrors.sed libctf: restructure error handling to reduce relocations 2020-07-22 17:57:20 +01:00
swap.h libctf, elfcpp, gold: do not assume that <byteswap.h> contains bswap_* 2020-06-26 15:56:39 +01:00