]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - libctf/ChangeLog
libctf: fix some tabdamage and move some code around
[thirdparty/binutils-gdb.git] / libctf / ChangeLog
CommitLineData
08794526
NA
12021-03-18 Nick Alcock <nick.alcock@oracle.com>
2
3 * ctf-link.c (ctf_link_lazy_open): Move up in the file, to near
4 ctf_link_add_ctf.
5 * ctf-lookup.c (ctf_lookup_symbol_idx): Repair tabdamage.
6 (ctf_lookup_by_sym_or_name): Likewise.
7 * testsuite/libctf-lookup/struct-iteration.c: Likewise.
8 * testsuite/libctf-regression/type-add-unnamed-struct.c: Likewise.
9
211bcd01
NA
102021-03-02 Nick Alcock <nick.alcock@oracle.com>
11
12 * ctf-create.c (symtypetab_density): Report the symbol name as
13 well as index in the name != object error; note the likely
14 consequences.
15 * ctf-link.c (ctf_link_shuffle_syms): Report the symbol index
16 as well as name.
17
8e7e4464
NA
182021-03-02 Nick Alcock <nick.alcock@oracle.com>
19
20 * ctf-link.c (ctf_link_shuffle_syms): Free ctf_dynsyms properly.
21
cf6a0b98
NA
222021-03-02 Nick Alcock <nick.alcock@oracle.com>
23
24 * ctf-dump.c (ctf_dump_format_type): Fix signed/unsigned confusion.
25
4659554b
NA
262021-03-02 Nick Alcock <nick.alcock@oracle.com>
27
28 * ctf-dedup.c (ctf_dedup): Pass on errors from ctf_dedup_hash_type.
29 Call ctf_dedup_fini properly on other errors.
30 (ctf_dedup_emit_type): Set the errno on dynhash insertion failure.
31 * ctf-link.c (ctf_link_deduplicating_per_cu): Close outputs beyond
32 output 0 when asserting because >1 output is found.
33 (ctf_link_deduplicating): Likewise, when asserting because the
34 shared output is not the same as the passed-in fp.
35
f5060e56
NA
362021-03-02 Nick Alcock <nick.alcock@oracle.com>
37
38 * ctf-impl.h (ctf_dict_t) <ctf_link_type_mapping>: No longer used
39 by the nondeduplicating linker.
40 (ctf_add_type_mapping): Removed, now static.
41 (ctf_type_mapping): Likewise.
42 (ctf_dedup_type_mapping): New.
43 (ctf_dedup_t) <cd_input_nums>: New.
44 * ctf-dedup.c (ctf_dedup_init): Populate it.
45 (ctf_dedup_fini): Free it again. Emphasise that this has to be
46 the last thing called.
47 (ctf_dedup): Populate it.
48 (ctf_dedup_populate_type_mapping): Removed.
49 (ctf_dedup_populate_type_mappings): Likewise.
50 (ctf_dedup_emit): No longer call it. No longer call
51 ctf_dedup_fini either.
52 (ctf_dedup_type_mapping): New.
53 * ctf-link.c (ctf_unnamed_cuname): New.
54 (ctf_create_per_cu): Arguments must be non-null now.
55 (ctf_in_member_cb_arg): Removed.
56 (ctf_link): No longer populate it. No longer discard the
57 mapping table.
58 (ctf_link_deduplicating_one_symtypetab): Use
59 ctf_dedup_type_mapping, not ctf_type_mapping. Use
60 ctf_unnamed_cuname.
61 (ctf_link_one_variable): Likewise. Pass in args individually: no
62 longer a ctf_variable_iter callback.
63 (empty_link_type_mapping): Removed.
64 (ctf_link_deduplicating_variables): Use ctf_variable_next, not
65 ctf_variable_iter. No longer pack arguments to
66 ctf_link_one_variable into a struct.
67 (ctf_link_deduplicating_per_cu): Call ctf_dedup_fini once
68 all link phases are done.
69 (ctf_link_deduplicating): Likewise.
70 (ctf_link_intern_extern_string): Improve comment.
71 (ctf_add_type_mapping): Migrate...
72 (ctf_type_mapping): ... these functions...
73 * ctf-create.c (ctf_add_type_mapping): ... here...
74 (ctf_type_mapping): ... and make static, for the sole use of
75 ctf_add_type.
76
478c04a5
NA
772021-03-02 Nick Alcock <nick.alcock@oracle.com>
78
79 * ctf-link.c (ctf_link_one_variable): Remove reference to
80 "unconflicted link mode".
81
8915c559
NA
822021-03-02 Nick Alcock <nick.alcock@oracle.com>
83
84 * ctf-link.c (ctf_create_per_cu): Drop FILENAME now that it is
85 always identical to CUNAME.
86 (ctf_link_deduplicating_one_symtypetab): Adjust.
87 (ctf_link_one_type): Remove.
88 (ctf_link_one_input_archive_member): Likewise.
89 (ctf_link_close_one_input_archive): Likewise.
90 (ctf_link_one_input_archive): Likewise.
91 (ctf_link): No longer call it. Drop CTF_LINK_NONDEDUP path.
92 Improve header comment a bit (dicts, not files). Adjust
93 ctf_create_per_cu call.
94 (ctf_link_deduplicating_variables): Simplify.
95 (ctf_link_in_member_cb_arg_t) <cu_name>: Remove.
96 <in_input_cu_file>: Likewise.
97 <in_fp_parent>: Likewise.
98 <done_parent>: Likewise.
99 (ctf_link_one_variable): Turn uses of in_file_name to in_cuname.
100
ac36e134
NA
1012021-03-02 Nick Alcock <nick.alcock@oracle.com>
102
103 * ctf-types.c (ctf_member_iter): Move 'rc' to an inner scope.
104 (ctf_enum_iter): Reimplement in terms of ctf_enum_next.
105 (ctf_type_iter): Reimplement in terms of ctf_type_next.
106 (ctf_type_iter_all): Likewise.
107 (ctf_variable_iter): Reimplement in terms of ctf_variable_next.
108 * ctf-archive.c (ctf_archive_iter_internal): Remove.
109 (ctf_archive_iter): Reimplement in terms of ctf_archive_next.
110
eaa2913a
NA
1112021-03-02 Nick Alcock <nick.alcock@oracle.com>
112
113 * ctf-archive.c (ctf_archive_next): Set the name of parents in
114 single-member archives.
115
8255cf42
AM
1162021-02-26 Alan Modra <amodra@gmail.com>
117
118 * Makefile.in: Regenerate.
119
93993f67
AM
1202021-02-21 Alan Modra <amodra@gmail.com>
121
122 * configure.ac: Invoke AC_CANONICAL_TARGET, AC_CANONICAL_HOST
123 and AC_CANONICAL_BUILD.
124 * configure: Regenerate.
125 * Makefile.in: Regenerate.
126
fd126337 1272021-02-20 Nick Alcock <nick.alcock@oracle.com>
f4f60336
NA
128
129 * ctf-impl.h (ctf_dict_t) <ctf_symhash>: New.
130 <ctf_symhash_latest>: Likewise.
131 (struct ctf_archive_internal) <ctfi_crossdict_cache>: New.
132 <ctfi_symnamedicts>: New.
133 <ctfi_syms>: Remove.
134 (ctf_lookup_symbol_name): Remove.
135 * ctf-lookup.c (ctf_lookup_symbol_name): Propagate errors from
136 parent properly. Make static.
137 (ctf_lookup_symbol_idx): New, linear search for the symbol name,
138 cached in the crossdict cache's ctf_symhash (if available), or
139 this dict's (otherwise).
140 (ctf_try_lookup_indexed): Allow the symname to be passed in.
141 (ctf_lookup_by_symbol): Turn into a wrapper around...
142 (ctf_lookup_by_sym_or_name): ... this, supporting name lookup too,
143 using ctf_lookup_symbol_idx in non-writable dicts. Special-case
144 name lookup in dynamic dicts without reported symbols, which have
145 no symtab or dynsymidx but where name lookup should still work.
146 (ctf_lookup_by_symbol_name): New, another wrapper.
147 * ctf-archive.c (enosym): Note that this is present in
148 ctfi_symnamedicts too.
149 (ctf_arc_close): Adjust for removal of ctfi_syms. Free the
150 ctfi_symnamedicts.
151 (ctf_arc_flush_caches): Likewise.
152 (ctf_dict_open_cached): Memoize the first cached dict in the
153 crossdict cache.
154 (ctf_arc_lookup_symbol): Turn into a wrapper around...
155 (ctf_arc_lookup_sym_or_name): ... this. No longer cache
156 ctf_id_t lookups: just call ctf_lookup_by_symbol as needed (but
157 still cache the dicts those lookups succeed in). Add
158 lookup-by-name support, with dicts of successful lookups cached in
159 ctfi_symnamedicts. Refactor the caching code a bit.
160 (ctf_arc_lookup_symbol_name): New, another wrapper.
161 * ctf-open.c (ctf_dict_close): Free the ctf_symhash.
162 * libctf.ver (LIBCTF_1.2): New version. Add
163 ctf_lookup_by_symbol_name, ctf_arc_lookup_symbol_name.
164 * testsuite/libctf-lookup/enum-symbol.c (main): Use
165 ctf_arc_lookup_symbol rather than looking up the name ourselves.
166 Fish it out repeatedly, to make sure that symbol caching isn't
167 broken.
168 (symidx_64): Remove.
169 (symidx_32): Remove.
170 * testsuite/libctf-lookup/enum-symbol-obj.lk: Test symbol lookup
171 in an unlinked object file (indexed symtypetab sections only).
172 * testsuite/libctf-writable/symtypetab-nonlinker-writeout.c
173 (try_maybe_reporting): Check symbol types via
174 ctf_lookup_by_symbol_name as well as ctf_symbol_next.
175 * testsuite/libctf-lookup/conflicting-type-syms.*: New test of
176 lookups in a multi-dict archive.
177
c3bf9dc5
AM
1782021-02-20 Alan Modra <amodra@gmail.com>
179
180 * testsuite/config/default.exp (ld_L_opt): Define.
181 * testsuite/lib/ctf-lib.exp (load_common_lib): Delete. Instead load
182 ld-lib.exp.
183 (run_host_cmd, run_host_cmd_yesno, check_compiler_available): Delete.
184 (compile_one_cc, check_ctf_available): Delete.
185
758f5907
NA
1862021-02-03 Nick Alcock <nick.alcock@oracle.com>
187
188 * configure.ac (ac_cv_libctf_bfd_elf): Include string.h.
189 * configure: Regenerated.
190
cbd8f5bb
NA
1912021-02-03 Nick Alcock <nick.alcock@oracle.com>
192
193 * configure.ac (EXPECT): Check for, in order to define...
194 (TCL_TRY): ... this, if Tcl supports try/catch.
195 * Makefile.am (TCL_TRY): Run the testsuite only if set.
196 * configure: Regenerated.
197 * Makefile.in: Likewise.
198
95148614
NA
1992021-02-02 Nick Alcock <nick.alcock@oracle.com>
200
201 * configure.ac (CTF_LIBADD): Remove explicit -lintl population in
202 favour of LIBINTL.
203 * Makefile.am (libctf_nobfd_la_LIBADD): No longer explicitly
204 include $(LIBINTL).
205 (check-DEJAGNU): Pass down to tests as well.
206 * configure: Regenerated.
207 * Makefile.in: Likewise.
208
ee87f50b
NA
2092021-01-27 Nick Alcock <nick.alcock@oracle.com>
210
211 * ctf-string.c (ctf_str_add): Treat adding a NULL as adding "".
212 (ctf_str_add_ref): Likewise.
213 (ctf_str_add_external): Likewise.
214 * ctf-types.c (ctf_type_name_raw): Always return "" for offset 0.
215 * ctf-dedup.c (ctf_dedup_multiple_input_dicts): Don't armour
216 against NULL name.
217 (ctf_dedup_maybe_synthesize_forward): Likewise.
218
5dacd11d
NA
2192021-01-27 Nick Alcock <nick.alcock@oracle.com>
220
221 * ctf-create.c (ctf_serialize): Fix shadowing.
222
caa17049
NA
2232021-01-27 Nick Alcock <nick.alcock@oracle.com>
224
225 * ctf-create.c (ctf_add_encoded): Add check for non-empty name.
226 (ctf_add_forward): Likewise.
227 (ctf_add_typedef): Likewise.
228
78f28b89
NA
2292021-01-27 Nick Alcock <nick.alcock@oracle.com>
230
231 * ctf-open.c (init_types): Rip out code to check anonymous typedef
232 nodes.
233 * ctf-create.c (ctf_add_reftype): Likewise.
234 * ctf-lookup.c (refresh_pptrtab): Likewise.
235
35a01a04
NA
2362021-01-27 Nick Alcock <nick.alcock@oracle.com>
237
238 * ctf-impl.c (_libctf_nonnull_): Add parameters.
239 (LCTF_LINKING): New flag.
240 (ctf_dict_t) <ctf_link_flags>: Mention it.
241 * ctf-link.c (ctf_link): Keep LCTF_LINKING set across call.
242 (ctf_write): Likewise, including in child dictionaries.
243 (ctf_link_shuffle_syms): Make sure ctf_dynsyms is NULL if there
244 are no reported symbols.
245 * ctf-create.c (symtypetab_delete_nonstatic_vars): Make sure
246 the variable has been reported as a symbol by the linker.
247 (symtypetab_skippable): Mention relationship between SYMFP and the
248 flags.
249 (symtypetab_density): Adjust nonnullity. Exit early if no symbols
250 were reported and force-indexing is off (i.e., we are doing a
251 final link).
252 (ctf_serialize): Handle the !LCTF_LINKING case by writing out an
253 indexed, sorted symtypetab (and allow SYMFP to be NULL in this
254 case). Turn sorting off if this is a non-final link. Only delete
255 nonstatic vars if we are filtering symbols and the linker has
256 reported some.
257 * testsuite/libctf-regression/nonstatic-var-section-ld-r*:
258 New test of variable and symtypetab section population when
259 ld -r is used.
260 * testsuite/libctf-regression/nonstatic-var-section-ld-executable.lk:
261 Likewise, when ld of an executable is used.
262 * testsuite/libctf-regression/nonstatic-var-section-ld.lk:
263 Likewise, when ld -shared alone is used.
264 * testsuite/libctf-regression/nonstatic-var-section-ld*.c:
265 Lookup programs for the above.
266 * testsuite/libctf-writable/symtypetab-nonlinker-writeout.*: New
267 test, testing survival of symbols across ctf_write paths.
268 * testsuite/lib/ctf-lib.exp (run_lookup_test): New option,
269 nonshared, suppressing linking of the SOURCE with -shared.
270
26503e2f
NA
2712021-01-19 Nick Alcock <nick.alcock@oracle.com>
272
273 * ctf-create.c (membadd): Transform ""-named members into
274 NULL-named ones.
275 * testsuite/libctf-regression/type-add-unnamed-struct*: New test.
276
e05a3e5a
NA
2772021-01-19 Nick Alcock <nick.alcock@oracle.com>
278
279 * ctf-lookup.c (ctf_lookup_by_name_internal): Do not return the
280 base type if looking up a nonexistent pointer type.
281 * testsuite/libctf-regression/pptrtab*: Test it.
282
5347ed60
AM
2832021-01-13 Alan Modra <amodra@gmail.com>
284
285 * Makefile.in: Regenerate.
286
d546b610
L
2872021-01-12 H.J. Lu <hongjiu.lu@intel.com>
288
289 PR binutils/26792
290 * configure.ac: Use GNU_MAKE_JOBSERVER.
291 * aclocal.m4: Regenerated.
292 * configure: Likewise.
293
83b33c6c
L
2942021-01-11 H.J. Lu <hongjiu.lu@intel.com>
295
296 PR ld/27173
297 * configure: Regenerated.
298
a4966cd9
L
2992021-01-09 H.J. Lu <hongjiu.lu@intel.com>
300
301 * configure: Regenerated.
302
055bc77a
NC
3032021-01-09 Nick Clifton <nickc@redhat.com>
304
305 * 2.36 release branch crated.
306
64307045
AM
3072021-01-09 Alan Modra <amodra@gmail.com>
308
309 * configure: Regenerate.
310
f4782128
ST
3112021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
312
313 * configure: Regenerate.
314
0814dbfb
NA
3152021-01-05 Nick Alcock <nick.alcock@oracle.com>
316
317 * testsuite/libctf-lookup/struct-iteration.c (main):
318 ctf_member_count returns an int.
319
70d3120f
NA
3202021-01-05 Nick Alcock <nick.alcock@oracle.com>
321
322 * Makefile.am (BASEDIR): New.
323 (BFDDIR): Likewise.
324 (check-DEJAGNU): Add development.exp to prerequisites.
325 (development.exp): New.
326 (CONFIG_STATUS_DEPENDENCIES): New.
327 (EXTRA_DEJAGNU_SITE_CONFIG): Likewise.
328 (DISTCLEANFILES): Likewise.
329 * Makefile.in: Regenerated.
330 * testsuite/lib/ctf-lib.exp (check_ctf_available): Return boolean.
331 * testsuite/libctf-lookup/lookup.exp: Call check_ctf_available.
332 * testsuite/libctf-regression/regression.exp: Likewise.
333
b4b6ea46
NA
3342021-01-05 Nick Alcock <nick.alcock@oracle.com>
335
336 * ctf-types.c (ctf_type_aname): Print forwards to unions and enums
337 properly.
338
abe4ca69
NA
3392021-01-05 Nick Alcock <nick.alcock@oracle.com>
340
341 * ctf-impl.h (ctf_dict_t) <ctf_pptrtab>: New.
342 <ctf_pptrtab_len>: New.
343 <ctf_pptrtab_typemax>: New.
344 * ctf-create.c (ctf_serialize): Update accordingly.
345 (ctf_add_reftype): Note that we don't need to update pptrtab here,
346 despite updating ptrtab.
347 * ctf-open.c (ctf_dict_close): Destroy the pptrtab.
348 (ctf_import): Likewise.
349 (ctf_import_unref): Likewise.
350 * ctf-lookup.c (grow_pptrtab): New.
351 (refresh_pptrtab): New, update a pptrtab.
352 (ctf_lookup_by_name): Turn into a wrapper around (and rename to)...
353 (ctf_lookup_by_name_internal): ... this: construct the pptrtab, and
354 use it in addition to the parent's ptrtab when parent dicts are
355 searched.
356 * testsuite/libctf-regression/regression.exp: New testsuite for
357 regression tests.
358 * testsuite/libctf-regression/pptrtab*: New test.
359 * testsuite/libctf-writable/writable.exp: New testsuite for tests of
360 writable CTF dicts.
361 * testsuite/libctf-writable/pptrtab*: New test.
362
8769046e
NA
3632021-01-05 Nick Alcock <nick.alcock@oracle.com>
364
365 * ctf-archive.c (ctf_archive_iter): Remove outdated comment.
366
6c3a3877
NA
3672021-01-05 Nick Alcock <nick.alcock@oracle.com>
368
369 * ctf-impl.h (struct ctf_next) <u.ctn_next>: Move to...
370 <ctn_next>: ... here.
371 * ctf-util.c (ctf_next_destroy): Unconditionally destroy it.
372 * ctf-lookup.c (ctf_symbol_next): Adjust accordingly.
373 * ctf-types.c (ctf_member_iter): Reimplement in terms of...
374 (ctf_member_next): ... this. Support recursive unnamed member
375 iteration (off by default).
376 (ctf_member_info): Look up members in unnamed sub-structs.
377 * ctf-dedup.c (ctf_dedup_rhash_type): Adjust ctf_member_next call.
378 (ctf_dedup_emit_struct_members): Likewise.
379 * testsuite/libctf-lookup/struct-iteration-ctf.c: Test empty unnamed
380 members, and a normal member after the end.
381 * testsuite/libctf-lookup/struct-iteration.c: Verify that
382 ctf_member_count is consistent with the number of successful returns
383 from a non-recursive ctf_member_next.
384 * testsuite/libctf-lookup/struct-iteration-*: New, test iteration
385 over struct members.
386 * testsuite/libctf-lookup/struct-lookup.c: New test.
387 * testsuite/libctf-lookup/struct-lookup.lk: New test.
388
abed0b07
NA
3892021-01-05 Nick Alcock <nick.alcock@oracle.com>
390
391 * ctf-link.c (ctf_link_warn_outdated_inputs): New.
392 (ctf_link_write): Call it.
393
9bc76971
NA
3942021-01-05 Nick Alcock <nick.alcock@oracle.com>
395
396 * testsuite/libctf-lookup/enum-symbol.lk: New symbol-lookup test.
397 * testsuite/libctf-lookup/enum-symbol-ctf.c: New CTF input.
398 * testsuite/libctf-lookup/enum-symbol.c: New lookup test.
399
c59e30ed
NA
4002021-01-05 Nick Alcock <nick.alcock@oracle.com>
401
402 * Makefile.am (EXPECT): New.
403 (RUNTEST): Likewise.
404 (RUNTESTFLAGS): Likewise.
405 (CC_FOR_TARGET): Likewise.
406 (check-DEJAGNU): Likewise.
407 (AUTOMAKE_OPTIONS): Add dejagnu.
408 * Makefile.in: Regenerated.
409 * testsuite/config/default.exp: New.
410 * testsuite/lib/ctf-lib.exp: Likewise.
411 * testsuite/libctf-lookup/enum.lk: New test.
412 * testsuite/libctf-lookup/enum-ctf.c: New CTF input.
413 * testsuite/libctf-lookup/enum.c: New lookup test.
414 * testsuite/libctf-lookup/ambiguous-struct*.c: New test.
415 * testsuite/libctf-lookup/lookup.exp: New.
416
1038406a
NA
4172021-01-05 Nick Alcock <nick.alcock@oracle.com>
418
419 * configure.ac (BFD_LIBADD): Remove.
420 (BFD_DEPENDENCIES): Likewise. Remove associated cases.
421 (SHARED_LIBADD): Rename to...
422 (CTF_LIBADD): ... this. Stick in a suitable libiberty even when
423 linking statically.
424 * Makefile.am (libctf_nobfd_la_LIBADD): Adjust accordingly.
425 libctf uses libintl.
426 (libctf_la_LIBADD): Reference libbfd.la directly, not via
427 BFD_LIBADD.
428 (libctf_la_DEPENDENCIES): Remove.
429 * Makefile.in: Regenerate.
430 * configure: Likewise.
431
37002871
NA
4322021-01-05 Nick Alcock <nick.alcock@oracle.com>
433
434 * ctf-decl.c (ctf_decl_push): Exclude slices from the decl stack.
435 * ctf-types.c (ctf_type_aname): No longer deal with slices here.
436 * ctf-dump.c (ctf_dump_membstate_t) <cdm_toplevel_indent>: Constify.
437 (CTF_FT_REFS): New.
438 (CTF_FT_BITFIELD): Likewise.
439 (CTF_FT_ID): Likewise.
440 (ctf_dump_member): Do not do indentation here. Migrate the
441 type-printing parts of this into...
442 (ctf_dump_format_type): ... here, to be shared by all type printers.
443 Get the errno value for non-representable types right. Do not print
444 bitfield info for non-bitfields. Improve the format and indentation
445 of other type output. Shuffle spacing around to make all indentation
446 either 'width of column' or 4 chars.
447 (ctf_dump_label): Pass CTF_FT_REFS to ctf_dump_format_type.
448 (ctf_dump_objts): Likewise. Spacing shuffle.
449 (ctf_dump_var): Likewise.
450 (type_hex_digits): Migrate down in the file, to above its new user.
451 (ctf_dump_type): Indent here instead. Pass CTF_FT_REFS to
452 ctf_dump_format_type. Don't trim off excess linefeeds now we no
453 longer generate them. Dump enumerated types.
454
ffeece6a
NA
4552021-01-05 Nick Alcock <nick.alcock@oracle.com>
456
457 * ctf-types.c (ctf_type_resolve): Improve comment.
458 (ctf_type_size): Yield ECTF_INCOMPLETE when applied to forwards.
459 Emit errors into the right dict.
460 (ctf_type_align): Likewise.
461 * ctf-create.c (ctf_add_member_offset): Yield ECTF_INCOMPLETE
462 when adding a member without explicit offset when this member, or
463 the previous member, is incomplete.
464 * ctf-dump.c (ctf_dump_format_type): Do not try to print the size of
465 forwards.
466 (ctf_dump_member): Do not try to print their alignment.
467
91e7ce2f
NA
4682021-01-05 Nick Alcock <nick.alcock@oracle.com>
469
470 * ctf-dump.c (ctf_dump_objts): Dump by calling ctf_dump_format_type.
471 (ctf_dump_format_type): Don't emit the size for function objects.
472 Dump the element type of arrays like we dump the pointed-to type of
473 pointers, etc.
474
57f97d0e
NA
4752021-01-05 Nick Alcock <nick.alcock@oracle.com>
476
477 * ctf-dump.c (ctf_dump_format_type): Add 0x to hex type IDs.
478 (ctf_dump_header): Add 0x to the hex magic number.
479 (ctf_dump_str): Add 0x to the hex string offsets.
480 (ctf_dump_membstate_t) <cdm_toplevel_indent>: New.
481 (ctf_dump_type): Adjust. Free it when we're done.
482 (type_hex_digits): New.
483 (ctf_dump_member): Align output depending on the width of the type
484 ID being generated. Use printf padding, not a loop, to generate
485 indentation.
486
b09ad6ea
NA
4872021-01-05 Nick Alcock <nick.alcock@oracle.com>
488
489 * ctf-decl.c (ctf_decl_push): Don't print array decls backwards.
490
a7c23ac9
NB
4912021-01-04 Nicolas Boulenguez <nicolas@debian.org>
492
493 PR 27117
494 * configure.ac: Make AC_CONFIG_MACRO_DIR consistent with
495 ACLOCAL_AMFLAGS -I dirs.
496 * configure: Regenerate.
497
250d07de
AM
4982021-01-01 Alan Modra <amodra@gmail.com>
499
500 Update year range in copyright notice of all files.
501
c2795844
AM
502For older changes see ChangeLog-2020
503\f
504Copyright (C) 2021 Free Software Foundation, Inc.
60da9d95 505
c2795844
AM
506Copying and distribution of this file, with or without modification,
507are permitted in any medium without royalty provided the copyright
508notice and this notice are preserved.
60da9d95 509
60da9d95
NA
510Local Variables:
511mode: change-log
512left-margin: 8
c2795844 513fill-column: 74
60da9d95
NA
514version-control: never
515End: