binutils-gdb/libctf
Nick Alcock 86fd34fde1
libctf: fix ctf_archive_count return value on big-endian
This failed to properly byteswap its return value.

The ctf_archive format predates the idea of "just write natively and
flip on open", and byteswaps all over the place.  It's too easy to
forget one.  The next revision of the archive format (not versioned,
so we just tweak the magic number instead) should be native-endianned
like the dicts inside it are.

libctf/
	* ctf-archive.c (ctf_archive_count): Byteswap return value.
2024-07-31 21:10:06 +01:00
..
doc libctf: doc: fix ctf_stype_t typedef string in spec 2024-06-18 13:20:31 +01:00
testsuite libctf, include: add ctf_dict_set_flag: less enum dup checking by default 2024-07-31 21:02:05 +01:00
.gitignore libctf: restructure error handling to reduce relocations 2020-07-22 17:57:20 +01:00
aclocal.m4 mmap: Avoid the sanitizer configure check failure 2024-04-10 03:57:46 -07:00
ChangeLog Add markers for 2.43 branch/release 2024-07-20 12:43:19 +01:00
ChangeLog-2020 libctf: fix old ChangeLog typo 2021-01-05 14:53:40 +00:00
config.h.in libctf: suppress spurious failure of malloc-counting tests under valgrind 2024-06-18 13:20:32 +01:00
configure Revert "Remove LIBINTL_DEP" 2024-06-20 21:15:27 +09:30
configure.ac libctf: suppress spurious failure of malloc-counting tests under valgrind 2024-06-18 13:20:32 +01:00
ctf-archive.c libctf: fix ctf_archive_count return value on big-endian 2024-07-31 21:10:06 +01:00
ctf-create.c libctf: fix ref leak of names of newly-inserted non-root-visible types 2024-07-31 21:10:06 +01:00
ctf-decl.c Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
ctf-decls.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
ctf-dedup.c libctf, include: add ctf_dict_set_flag: less enum dup checking by default 2024-07-31 21:02:05 +01:00
ctf-dump.c libctf: dump: fix small leak 2024-07-31 21:10:06 +01:00
ctf-endian.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
ctf-error.c Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
ctf-hash.c libctf: clean up hashtab error handling mess 2024-07-31 21:10:00 +01:00
ctf-impl.h libctf, include: add ctf_dict_set_flag: less enum dup checking by default 2024-07-31 21:02:05 +01:00
ctf-inlines.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
ctf-intl.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
ctf-labels.c Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
ctf-link.c libctf, include: add ctf_dict_set_flag: less enum dup checking by default 2024-07-31 21:02:05 +01:00
ctf-lookup.c libctf, include: new functions for looking up enumerators 2024-06-18 13:20:32 +01:00
ctf-open-bfd.c Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
ctf-open.c libctf: clean up hashtab error handling mess 2024-07-31 21:10:00 +01:00
ctf-qsort_r.c Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
ctf-serialize.c libctf: fix CTF dict compression 2024-07-31 21:02:05 +01:00
ctf-sha1.c Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
ctf-sha1.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
ctf-string.c libctf, string: split the movable refs out of the ref list 2024-07-31 21:02:04 +01:00
ctf-subr.c libctf, include: add ctf_dict_set_flag: less enum dup checking by default 2024-07-31 21:02:05 +01:00
ctf-types.c libctf: support addition of types to dicts read via ctf_open() 2024-04-19 16:14:46 +01:00
ctf-util.c libctf, include: new functions for looking up enumerators 2024-06-18 13:20:32 +01:00
elf.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
libctf.ver libctf, include: add ctf_dict_set_flag: less enum dup checking by default 2024-07-31 21:02:05 +01:00
Makefile.am Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Makefile.in Revert "Remove LIBINTL_DEP" 2024-06-20 21:15:27 +09:30
NEWS include, libctf, ld: extend variable section to contain functions too 2022-03-23 13:48:32 +00:00
swap.h libctf warnings 2024-04-17 09:24:36 +09:30