]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - libctf/ChangeLog
7e4997eb95620865bd3e7b8618e6fd1812b00cee
[thirdparty/binutils-gdb.git] / libctf / ChangeLog
1 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
2
3 * configure.ac (BFD_LIBADD): Remove.
4 (BFD_DEPENDENCIES): Likewise. Remove associated cases.
5 (SHARED_LIBADD): Rename to...
6 (CTF_LIBADD): ... this. Stick in a suitable libiberty even when
7 linking statically.
8 * Makefile.am (libctf_nobfd_la_LIBADD): Adjust accordingly.
9 libctf uses libintl.
10 (libctf_la_LIBADD): Reference libbfd.la directly, not via
11 BFD_LIBADD.
12 (libctf_la_DEPENDENCIES): Remove.
13 * Makefile.in: Regenerate.
14 * configure: Likewise.
15
16 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
17
18 * ctf-decl.c (ctf_decl_push): Exclude slices from the decl stack.
19 * ctf-types.c (ctf_type_aname): No longer deal with slices here.
20 * ctf-dump.c (ctf_dump_membstate_t) <cdm_toplevel_indent>: Constify.
21 (CTF_FT_REFS): New.
22 (CTF_FT_BITFIELD): Likewise.
23 (CTF_FT_ID): Likewise.
24 (ctf_dump_member): Do not do indentation here. Migrate the
25 type-printing parts of this into...
26 (ctf_dump_format_type): ... here, to be shared by all type printers.
27 Get the errno value for non-representable types right. Do not print
28 bitfield info for non-bitfields. Improve the format and indentation
29 of other type output. Shuffle spacing around to make all indentation
30 either 'width of column' or 4 chars.
31 (ctf_dump_label): Pass CTF_FT_REFS to ctf_dump_format_type.
32 (ctf_dump_objts): Likewise. Spacing shuffle.
33 (ctf_dump_var): Likewise.
34 (type_hex_digits): Migrate down in the file, to above its new user.
35 (ctf_dump_type): Indent here instead. Pass CTF_FT_REFS to
36 ctf_dump_format_type. Don't trim off excess linefeeds now we no
37 longer generate them. Dump enumerated types.
38
39 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
40
41 * ctf-types.c (ctf_type_resolve): Improve comment.
42 (ctf_type_size): Yield ECTF_INCOMPLETE when applied to forwards.
43 Emit errors into the right dict.
44 (ctf_type_align): Likewise.
45 * ctf-create.c (ctf_add_member_offset): Yield ECTF_INCOMPLETE
46 when adding a member without explicit offset when this member, or
47 the previous member, is incomplete.
48 * ctf-dump.c (ctf_dump_format_type): Do not try to print the size of
49 forwards.
50 (ctf_dump_member): Do not try to print their alignment.
51
52 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
53
54 * ctf-dump.c (ctf_dump_objts): Dump by calling ctf_dump_format_type.
55 (ctf_dump_format_type): Don't emit the size for function objects.
56 Dump the element type of arrays like we dump the pointed-to type of
57 pointers, etc.
58
59 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
60
61 * ctf-dump.c (ctf_dump_format_type): Add 0x to hex type IDs.
62 (ctf_dump_header): Add 0x to the hex magic number.
63 (ctf_dump_str): Add 0x to the hex string offsets.
64 (ctf_dump_membstate_t) <cdm_toplevel_indent>: New.
65 (ctf_dump_type): Adjust. Free it when we're done.
66 (type_hex_digits): New.
67 (ctf_dump_member): Align output depending on the width of the type
68 ID being generated. Use printf padding, not a loop, to generate
69 indentation.
70
71 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
72
73 * ctf-decl.c (ctf_decl_push): Don't print array decls backwards.
74
75 2021-01-04 Nicolas Boulenguez <nicolas@debian.org>
76
77 PR 27117
78 * configure.ac: Make AC_CONFIG_MACRO_DIR consistent with
79 ACLOCAL_AMFLAGS -I dirs.
80 * configure: Regenerate.
81
82 2021-01-01 Alan Modra <amodra@gmail.com>
83
84 Update year range in copyright notice of all files.
85
86 For older changes see ChangeLog-2020
87 \f
88 Copyright (C) 2021 Free Software Foundation, Inc.
89
90 Copying and distribution of this file, with or without modification,
91 are permitted in any medium without royalty provided the copyright
92 notice and this notice are preserved.
93
94 Local Variables:
95 mode: change-log
96 left-margin: 8
97 fill-column: 74
98 version-control: never
99 End: