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
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
ChangeLog-2020
config.h.in
configure
configure.ac
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
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
ctf-util.c
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
NEWS
swap.h