X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=libctf%2FChangeLog;h=adeedeb9249ab25f60b88282724d5b4abc10fe2c;hb=53651de80f811495262a5b17b774a486dd37b326;hp=7fdb3558f3daa8c69c082d47322bbdf11dfff99f;hpb=cbfa382abb360307c0c6b750e4c550a0d2b702d6;p=deliverable%2Fbinutils-gdb.git diff --git a/libctf/ChangeLog b/libctf/ChangeLog index 7fdb3558f3..adeedeb924 100644 --- a/libctf/ChangeLog +++ b/libctf/ChangeLog @@ -1,3 +1,30 @@ +2020-11-23 Nick Alcock + + * ctf-impl.h (ctf_dict_t) : New. + (struct ctf_archive_internal) : Likewise. + * ctf-create.c (ctf_serialize): Adjust for new field. + * ctf-open.c (init_symtab): Note the semantics of repeated calls. + (ctf_symsect_endianness): New. + (ctf_bufopen_internal): Set ctf_symtab_little_endian suitably for + the native endianness. + (_Static_assert): Moved... + (swap_thing): ... with this... + * swap.h: ... to here. + * ctf-util.c (ctf_elf32_to_link_sym): Use it, byteswapping the + Elf32_Sym if the ctf_symtab_little_endian demands it. + (ctf_elf64_to_link_sym): Likewise swap the Elf64_Sym if needed. + * ctf-archive.c (ctf_arc_symsect_endianness): New, set the + endianness of the symtab used by the dicts in an archive. + (ctf_archive_iter_internal): Initialize to unknown (assumed native, + do not call ctf_symsect_endianness). + (ctf_dict_open_by_offset): Call ctf_symsect_endianness if need be. + (ctf_dict_open_internal): Propagate the endianness down. + (ctf_dict_open_sections): Likewise. + * ctf-open-bfd.c (ctf_bfdopen_ctfsect): Get the endianness from the + struct bfd and pass it down to the archive. + * libctf.ver: Add ctf_symsect_endianness and + ctf_arc_symsect_endianness. + 2020-11-20 Nick Alcock * ctf-link.c (ctf_link_deduplicating): Clean up the ctf_link_outputs