]>
Commit | Line | Data |
---|---|---|
f4782128 ST |
1 | 2021-01-07 Samuel Thibault <[email protected]> |
2 | ||
3 | * configure: Regenerate. | |
4 | ||
0814dbfb NA |
5 | 2021-01-05 Nick Alcock <[email protected]> |
6 | ||
7 | * testsuite/libctf-lookup/struct-iteration.c (main): | |
8 | ctf_member_count returns an int. | |
9 | ||
70d3120f NA |
10 | 2021-01-05 Nick Alcock <[email protected]> |
11 | ||
12 | * Makefile.am (BASEDIR): New. | |
13 | (BFDDIR): Likewise. | |
14 | (check-DEJAGNU): Add development.exp to prerequisites. | |
15 | (development.exp): New. | |
16 | (CONFIG_STATUS_DEPENDENCIES): New. | |
17 | (EXTRA_DEJAGNU_SITE_CONFIG): Likewise. | |
18 | (DISTCLEANFILES): Likewise. | |
19 | * Makefile.in: Regenerated. | |
20 | * testsuite/lib/ctf-lib.exp (check_ctf_available): Return boolean. | |
21 | * testsuite/libctf-lookup/lookup.exp: Call check_ctf_available. | |
22 | * testsuite/libctf-regression/regression.exp: Likewise. | |
23 | ||
b4b6ea46 NA |
24 | 2021-01-05 Nick Alcock <[email protected]> |
25 | ||
26 | * ctf-types.c (ctf_type_aname): Print forwards to unions and enums | |
27 | properly. | |
28 | ||
abe4ca69 NA |
29 | 2021-01-05 Nick Alcock <[email protected]> |
30 | ||
31 | * ctf-impl.h (ctf_dict_t) <ctf_pptrtab>: New. | |
32 | <ctf_pptrtab_len>: New. | |
33 | <ctf_pptrtab_typemax>: New. | |
34 | * ctf-create.c (ctf_serialize): Update accordingly. | |
35 | (ctf_add_reftype): Note that we don't need to update pptrtab here, | |
36 | despite updating ptrtab. | |
37 | * ctf-open.c (ctf_dict_close): Destroy the pptrtab. | |
38 | (ctf_import): Likewise. | |
39 | (ctf_import_unref): Likewise. | |
40 | * ctf-lookup.c (grow_pptrtab): New. | |
41 | (refresh_pptrtab): New, update a pptrtab. | |
42 | (ctf_lookup_by_name): Turn into a wrapper around (and rename to)... | |
43 | (ctf_lookup_by_name_internal): ... this: construct the pptrtab, and | |
44 | use it in addition to the parent's ptrtab when parent dicts are | |
45 | searched. | |
46 | * testsuite/libctf-regression/regression.exp: New testsuite for | |
47 | regression tests. | |
48 | * testsuite/libctf-regression/pptrtab*: New test. | |
49 | * testsuite/libctf-writable/writable.exp: New testsuite for tests of | |
50 | writable CTF dicts. | |
51 | * testsuite/libctf-writable/pptrtab*: New test. | |
52 | ||
8769046e NA |
53 | 2021-01-05 Nick Alcock <[email protected]> |
54 | ||
55 | * ctf-archive.c (ctf_archive_iter): Remove outdated comment. | |
56 | ||
6c3a3877 NA |
57 | 2021-01-05 Nick Alcock <[email protected]> |
58 | ||
59 | * ctf-impl.h (struct ctf_next) <u.ctn_next>: Move to... | |
60 | <ctn_next>: ... here. | |
61 | * ctf-util.c (ctf_next_destroy): Unconditionally destroy it. | |
62 | * ctf-lookup.c (ctf_symbol_next): Adjust accordingly. | |
63 | * ctf-types.c (ctf_member_iter): Reimplement in terms of... | |
64 | (ctf_member_next): ... this. Support recursive unnamed member | |
65 | iteration (off by default). | |
66 | (ctf_member_info): Look up members in unnamed sub-structs. | |
67 | * ctf-dedup.c (ctf_dedup_rhash_type): Adjust ctf_member_next call. | |
68 | (ctf_dedup_emit_struct_members): Likewise. | |
69 | * testsuite/libctf-lookup/struct-iteration-ctf.c: Test empty unnamed | |
70 | members, and a normal member after the end. | |
71 | * testsuite/libctf-lookup/struct-iteration.c: Verify that | |
72 | ctf_member_count is consistent with the number of successful returns | |
73 | from a non-recursive ctf_member_next. | |
74 | * testsuite/libctf-lookup/struct-iteration-*: New, test iteration | |
75 | over struct members. | |
76 | * testsuite/libctf-lookup/struct-lookup.c: New test. | |
77 | * testsuite/libctf-lookup/struct-lookup.lk: New test. | |
78 | ||
abed0b07 NA |
79 | 2021-01-05 Nick Alcock <[email protected]> |
80 | ||
81 | * ctf-link.c (ctf_link_warn_outdated_inputs): New. | |
82 | (ctf_link_write): Call it. | |
83 | ||
9bc76971 NA |
84 | 2021-01-05 Nick Alcock <[email protected]> |
85 | ||
86 | * testsuite/libctf-lookup/enum-symbol.lk: New symbol-lookup test. | |
87 | * testsuite/libctf-lookup/enum-symbol-ctf.c: New CTF input. | |
88 | * testsuite/libctf-lookup/enum-symbol.c: New lookup test. | |
89 | ||
c59e30ed NA |
90 | 2021-01-05 Nick Alcock <[email protected]> |
91 | ||
92 | * Makefile.am (EXPECT): New. | |
93 | (RUNTEST): Likewise. | |
94 | (RUNTESTFLAGS): Likewise. | |
95 | (CC_FOR_TARGET): Likewise. | |
96 | (check-DEJAGNU): Likewise. | |
97 | (AUTOMAKE_OPTIONS): Add dejagnu. | |
98 | * Makefile.in: Regenerated. | |
99 | * testsuite/config/default.exp: New. | |
100 | * testsuite/lib/ctf-lib.exp: Likewise. | |
101 | * testsuite/libctf-lookup/enum.lk: New test. | |
102 | * testsuite/libctf-lookup/enum-ctf.c: New CTF input. | |
103 | * testsuite/libctf-lookup/enum.c: New lookup test. | |
104 | * testsuite/libctf-lookup/ambiguous-struct*.c: New test. | |
105 | * testsuite/libctf-lookup/lookup.exp: New. | |
106 | ||
1038406a NA |
107 | 2021-01-05 Nick Alcock <[email protected]> |
108 | ||
109 | * configure.ac (BFD_LIBADD): Remove. | |
110 | (BFD_DEPENDENCIES): Likewise. Remove associated cases. | |
111 | (SHARED_LIBADD): Rename to... | |
112 | (CTF_LIBADD): ... this. Stick in a suitable libiberty even when | |
113 | linking statically. | |
114 | * Makefile.am (libctf_nobfd_la_LIBADD): Adjust accordingly. | |
115 | libctf uses libintl. | |
116 | (libctf_la_LIBADD): Reference libbfd.la directly, not via | |
117 | BFD_LIBADD. | |
118 | (libctf_la_DEPENDENCIES): Remove. | |
119 | * Makefile.in: Regenerate. | |
120 | * configure: Likewise. | |
121 | ||
37002871 NA |
122 | 2021-01-05 Nick Alcock <[email protected]> |
123 | ||
124 | * ctf-decl.c (ctf_decl_push): Exclude slices from the decl stack. | |
125 | * ctf-types.c (ctf_type_aname): No longer deal with slices here. | |
126 | * ctf-dump.c (ctf_dump_membstate_t) <cdm_toplevel_indent>: Constify. | |
127 | (CTF_FT_REFS): New. | |
128 | (CTF_FT_BITFIELD): Likewise. | |
129 | (CTF_FT_ID): Likewise. | |
130 | (ctf_dump_member): Do not do indentation here. Migrate the | |
131 | type-printing parts of this into... | |
132 | (ctf_dump_format_type): ... here, to be shared by all type printers. | |
133 | Get the errno value for non-representable types right. Do not print | |
134 | bitfield info for non-bitfields. Improve the format and indentation | |
135 | of other type output. Shuffle spacing around to make all indentation | |
136 | either 'width of column' or 4 chars. | |
137 | (ctf_dump_label): Pass CTF_FT_REFS to ctf_dump_format_type. | |
138 | (ctf_dump_objts): Likewise. Spacing shuffle. | |
139 | (ctf_dump_var): Likewise. | |
140 | (type_hex_digits): Migrate down in the file, to above its new user. | |
141 | (ctf_dump_type): Indent here instead. Pass CTF_FT_REFS to | |
142 | ctf_dump_format_type. Don't trim off excess linefeeds now we no | |
143 | longer generate them. Dump enumerated types. | |
144 | ||
ffeece6a NA |
145 | 2021-01-05 Nick Alcock <[email protected]> |
146 | ||
147 | * ctf-types.c (ctf_type_resolve): Improve comment. | |
148 | (ctf_type_size): Yield ECTF_INCOMPLETE when applied to forwards. | |
149 | Emit errors into the right dict. | |
150 | (ctf_type_align): Likewise. | |
151 | * ctf-create.c (ctf_add_member_offset): Yield ECTF_INCOMPLETE | |
152 | when adding a member without explicit offset when this member, or | |
153 | the previous member, is incomplete. | |
154 | * ctf-dump.c (ctf_dump_format_type): Do not try to print the size of | |
155 | forwards. | |
156 | (ctf_dump_member): Do not try to print their alignment. | |
157 | ||
91e7ce2f NA |
158 | 2021-01-05 Nick Alcock <[email protected]> |
159 | ||
160 | * ctf-dump.c (ctf_dump_objts): Dump by calling ctf_dump_format_type. | |
161 | (ctf_dump_format_type): Don't emit the size for function objects. | |
162 | Dump the element type of arrays like we dump the pointed-to type of | |
163 | pointers, etc. | |
164 | ||
57f97d0e NA |
165 | 2021-01-05 Nick Alcock <[email protected]> |
166 | ||
167 | * ctf-dump.c (ctf_dump_format_type): Add 0x to hex type IDs. | |
168 | (ctf_dump_header): Add 0x to the hex magic number. | |
169 | (ctf_dump_str): Add 0x to the hex string offsets. | |
170 | (ctf_dump_membstate_t) <cdm_toplevel_indent>: New. | |
171 | (ctf_dump_type): Adjust. Free it when we're done. | |
172 | (type_hex_digits): New. | |
173 | (ctf_dump_member): Align output depending on the width of the type | |
174 | ID being generated. Use printf padding, not a loop, to generate | |
175 | indentation. | |
176 | ||
b09ad6ea NA |
177 | 2021-01-05 Nick Alcock <[email protected]> |
178 | ||
179 | * ctf-decl.c (ctf_decl_push): Don't print array decls backwards. | |
180 | ||
a7c23ac9 NB |
181 | 2021-01-04 Nicolas Boulenguez <[email protected]> |
182 | ||
183 | PR 27117 | |
184 | * configure.ac: Make AC_CONFIG_MACRO_DIR consistent with | |
185 | ACLOCAL_AMFLAGS -I dirs. | |
186 | * configure: Regenerate. | |
187 | ||
250d07de AM |
188 | 2021-01-01 Alan Modra <[email protected]> |
189 | ||
190 | Update year range in copyright notice of all files. | |
191 | ||
c2795844 AM |
192 | For older changes see ChangeLog-2020 |
193 | \f | |
194 | Copyright (C) 2021 Free Software Foundation, Inc. | |
60da9d95 | 195 | |
c2795844 AM |
196 | Copying and distribution of this file, with or without modification, |
197 | are permitted in any medium without royalty provided the copyright | |
198 | notice and this notice are preserved. | |
60da9d95 | 199 | |
60da9d95 NA |
200 | Local Variables: |
201 | mode: change-log | |
202 | left-margin: 8 | |
c2795844 | 203 | fill-column: 74 |
60da9d95 NA |
204 | version-control: never |
205 | End: |