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
aclocal.m4
ChangeLog Add markers for 2.43 branch/release 2024-07-20 12:43:19 +01:00
ChangeLog-2020
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
ctf-decls.h
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
ctf-error.c
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
ctf-intl.h
ctf-labels.c
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
ctf-open.c libctf: clean up hashtab error handling mess 2024-07-31 21:10:00 +01:00
ctf-qsort_r.c
ctf-serialize.c libctf: fix CTF dict compression 2024-07-31 21:02:05 +01:00
ctf-sha1.c
ctf-sha1.h
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
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
Makefile.in Revert "Remove LIBINTL_DEP" 2024-06-20 21:15:27 +09:30
NEWS
swap.h libctf warnings 2024-04-17 09:24:36 +09:30