1 2021-03-18 Nick Alcock <nick.alcock@oracle.com>
3 * ctf-archive.c (ctf_archive_next): GNU style fix for do {} while.
4 * ctf-dedup.c (ctf_dedup_rhash_type): Likewise.
5 (ctf_dedup_rwalk_one_output_mapping): Likewise.
6 * ctf-dump.c (ctf_dump_format_type): Likewise.
7 * ctf-lookup.c (ctf_symbol_next): Likewise.
8 * swap.h (swap_thing): Likewise.
10 2021-03-18 Nick Alcock <nick.alcock@oracle.com>
12 * ctf-serialize.c: General reshuffling, and...
13 (emit_symtypetab_state_t): New, migrated from
14 local variables in ctf_serialize.
15 (ctf_serialize): Split out most section sizing and
17 (ctf_symtypetab_sect_sizes): New (split out).
18 (ctf_emit_symtypetab_sects): Likewise.
19 (ctf_type_sect_size): Likewise.
20 (ctf_emit_type_sect): Likewise.
22 2021-03-18 Nick Alcock <nick.alcock@oracle.com>
24 * ctf-impl.h (ctf_dict_t): Fix comment.
26 2021-03-18 Nick Alcock <nick.alcock@oracle.com>
28 * ctf-create.c (symtypetab_delete_nonstatic_vars): Move
30 (ctf_symtab_skippable): Likewise.
31 (CTF_SYMTYPETAB_EMIT_FUNCTION): Likewise.
32 (CTF_SYMTYPETAB_EMIT_PAD): Likewise.
33 (CTF_SYMTYPETAB_FORCE_INDEXED): Likewise.
34 (symtypetab_density): Likewise.
35 (emit_symtypetab): Likewise.
36 (emit_symtypetab_index): Likewise.
37 (ctf_copy_smembers): Likewise.
38 (ctf_copy_lmembers): Likewise.
39 (ctf_copy_emembers): Likewise.
40 (ctf_sort_var): Likewise.
41 (ctf_serialize): Likewise.
42 (ctf_gzwrite): Likewise.
43 (ctf_compress_write): Likewise.
44 (ctf_write_mem): Likewise.
45 (ctf_write): Likewise.
46 * ctf-serialize.c: New file.
47 * Makefile.am (libctf_nobfd_la_SOURCES): Add it.
48 * Makefile.in: Regenerate.
50 2021-03-18 Nick Alcock <nick.alcock@oracle.com>
52 * ctf-link.c (ctf_link_lazy_open): Move up in the file, to near
54 * ctf-lookup.c (ctf_lookup_symbol_idx): Repair tabdamage.
55 (ctf_lookup_by_sym_or_name): Likewise.
56 * testsuite/libctf-lookup/struct-iteration.c: Likewise.
57 * testsuite/libctf-regression/type-add-unnamed-struct.c: Likewise.
59 2021-03-02 Nick Alcock <nick.alcock@oracle.com>
61 * ctf-create.c (symtypetab_density): Report the symbol name as
62 well as index in the name != object error; note the likely
64 * ctf-link.c (ctf_link_shuffle_syms): Report the symbol index
67 2021-03-02 Nick Alcock <nick.alcock@oracle.com>
69 * ctf-link.c (ctf_link_shuffle_syms): Free ctf_dynsyms properly.
71 2021-03-02 Nick Alcock <nick.alcock@oracle.com>
73 * ctf-dump.c (ctf_dump_format_type): Fix signed/unsigned confusion.
75 2021-03-02 Nick Alcock <nick.alcock@oracle.com>
77 * ctf-dedup.c (ctf_dedup): Pass on errors from ctf_dedup_hash_type.
78 Call ctf_dedup_fini properly on other errors.
79 (ctf_dedup_emit_type): Set the errno on dynhash insertion failure.
80 * ctf-link.c (ctf_link_deduplicating_per_cu): Close outputs beyond
81 output 0 when asserting because >1 output is found.
82 (ctf_link_deduplicating): Likewise, when asserting because the
83 shared output is not the same as the passed-in fp.
85 2021-03-02 Nick Alcock <nick.alcock@oracle.com>
87 * ctf-impl.h (ctf_dict_t) <ctf_link_type_mapping>: No longer used
88 by the nondeduplicating linker.
89 (ctf_add_type_mapping): Removed, now static.
90 (ctf_type_mapping): Likewise.
91 (ctf_dedup_type_mapping): New.
92 (ctf_dedup_t) <cd_input_nums>: New.
93 * ctf-dedup.c (ctf_dedup_init): Populate it.
94 (ctf_dedup_fini): Free it again. Emphasise that this has to be
95 the last thing called.
96 (ctf_dedup): Populate it.
97 (ctf_dedup_populate_type_mapping): Removed.
98 (ctf_dedup_populate_type_mappings): Likewise.
99 (ctf_dedup_emit): No longer call it. No longer call
100 ctf_dedup_fini either.
101 (ctf_dedup_type_mapping): New.
102 * ctf-link.c (ctf_unnamed_cuname): New.
103 (ctf_create_per_cu): Arguments must be non-null now.
104 (ctf_in_member_cb_arg): Removed.
105 (ctf_link): No longer populate it. No longer discard the
107 (ctf_link_deduplicating_one_symtypetab): Use
108 ctf_dedup_type_mapping, not ctf_type_mapping. Use
110 (ctf_link_one_variable): Likewise. Pass in args individually: no
111 longer a ctf_variable_iter callback.
112 (empty_link_type_mapping): Removed.
113 (ctf_link_deduplicating_variables): Use ctf_variable_next, not
114 ctf_variable_iter. No longer pack arguments to
115 ctf_link_one_variable into a struct.
116 (ctf_link_deduplicating_per_cu): Call ctf_dedup_fini once
117 all link phases are done.
118 (ctf_link_deduplicating): Likewise.
119 (ctf_link_intern_extern_string): Improve comment.
120 (ctf_add_type_mapping): Migrate...
121 (ctf_type_mapping): ... these functions...
122 * ctf-create.c (ctf_add_type_mapping): ... here...
123 (ctf_type_mapping): ... and make static, for the sole use of
126 2021-03-02 Nick Alcock <nick.alcock@oracle.com>
128 * ctf-link.c (ctf_link_one_variable): Remove reference to
129 "unconflicted link mode".
131 2021-03-02 Nick Alcock <nick.alcock@oracle.com>
133 * ctf-link.c (ctf_create_per_cu): Drop FILENAME now that it is
134 always identical to CUNAME.
135 (ctf_link_deduplicating_one_symtypetab): Adjust.
136 (ctf_link_one_type): Remove.
137 (ctf_link_one_input_archive_member): Likewise.
138 (ctf_link_close_one_input_archive): Likewise.
139 (ctf_link_one_input_archive): Likewise.
140 (ctf_link): No longer call it. Drop CTF_LINK_NONDEDUP path.
141 Improve header comment a bit (dicts, not files). Adjust
142 ctf_create_per_cu call.
143 (ctf_link_deduplicating_variables): Simplify.
144 (ctf_link_in_member_cb_arg_t) <cu_name>: Remove.
145 <in_input_cu_file>: Likewise.
146 <in_fp_parent>: Likewise.
147 <done_parent>: Likewise.
148 (ctf_link_one_variable): Turn uses of in_file_name to in_cuname.
150 2021-03-02 Nick Alcock <nick.alcock@oracle.com>
152 * ctf-types.c (ctf_member_iter): Move 'rc' to an inner scope.
153 (ctf_enum_iter): Reimplement in terms of ctf_enum_next.
154 (ctf_type_iter): Reimplement in terms of ctf_type_next.
155 (ctf_type_iter_all): Likewise.
156 (ctf_variable_iter): Reimplement in terms of ctf_variable_next.
157 * ctf-archive.c (ctf_archive_iter_internal): Remove.
158 (ctf_archive_iter): Reimplement in terms of ctf_archive_next.
160 2021-03-02 Nick Alcock <nick.alcock@oracle.com>
162 * ctf-archive.c (ctf_archive_next): Set the name of parents in
163 single-member archives.
165 2021-02-26 Alan Modra <amodra@gmail.com>
167 * Makefile.in: Regenerate.
169 2021-02-21 Alan Modra <amodra@gmail.com>
171 * configure.ac: Invoke AC_CANONICAL_TARGET, AC_CANONICAL_HOST
172 and AC_CANONICAL_BUILD.
173 * configure: Regenerate.
174 * Makefile.in: Regenerate.
176 2021-02-20 Nick Alcock <nick.alcock@oracle.com>
178 * ctf-impl.h (ctf_dict_t) <ctf_symhash>: New.
179 <ctf_symhash_latest>: Likewise.
180 (struct ctf_archive_internal) <ctfi_crossdict_cache>: New.
181 <ctfi_symnamedicts>: New.
183 (ctf_lookup_symbol_name): Remove.
184 * ctf-lookup.c (ctf_lookup_symbol_name): Propagate errors from
185 parent properly. Make static.
186 (ctf_lookup_symbol_idx): New, linear search for the symbol name,
187 cached in the crossdict cache's ctf_symhash (if available), or
188 this dict's (otherwise).
189 (ctf_try_lookup_indexed): Allow the symname to be passed in.
190 (ctf_lookup_by_symbol): Turn into a wrapper around...
191 (ctf_lookup_by_sym_or_name): ... this, supporting name lookup too,
192 using ctf_lookup_symbol_idx in non-writable dicts. Special-case
193 name lookup in dynamic dicts without reported symbols, which have
194 no symtab or dynsymidx but where name lookup should still work.
195 (ctf_lookup_by_symbol_name): New, another wrapper.
196 * ctf-archive.c (enosym): Note that this is present in
197 ctfi_symnamedicts too.
198 (ctf_arc_close): Adjust for removal of ctfi_syms. Free the
200 (ctf_arc_flush_caches): Likewise.
201 (ctf_dict_open_cached): Memoize the first cached dict in the
203 (ctf_arc_lookup_symbol): Turn into a wrapper around...
204 (ctf_arc_lookup_sym_or_name): ... this. No longer cache
205 ctf_id_t lookups: just call ctf_lookup_by_symbol as needed (but
206 still cache the dicts those lookups succeed in). Add
207 lookup-by-name support, with dicts of successful lookups cached in
208 ctfi_symnamedicts. Refactor the caching code a bit.
209 (ctf_arc_lookup_symbol_name): New, another wrapper.
210 * ctf-open.c (ctf_dict_close): Free the ctf_symhash.
211 * libctf.ver (LIBCTF_1.2): New version. Add
212 ctf_lookup_by_symbol_name, ctf_arc_lookup_symbol_name.
213 * testsuite/libctf-lookup/enum-symbol.c (main): Use
214 ctf_arc_lookup_symbol rather than looking up the name ourselves.
215 Fish it out repeatedly, to make sure that symbol caching isn't
219 * testsuite/libctf-lookup/enum-symbol-obj.lk: Test symbol lookup
220 in an unlinked object file (indexed symtypetab sections only).
221 * testsuite/libctf-writable/symtypetab-nonlinker-writeout.c
222 (try_maybe_reporting): Check symbol types via
223 ctf_lookup_by_symbol_name as well as ctf_symbol_next.
224 * testsuite/libctf-lookup/conflicting-type-syms.*: New test of
225 lookups in a multi-dict archive.
227 2021-02-20 Alan Modra <amodra@gmail.com>
229 * testsuite/config/default.exp (ld_L_opt): Define.
230 * testsuite/lib/ctf-lib.exp (load_common_lib): Delete. Instead load
232 (run_host_cmd, run_host_cmd_yesno, check_compiler_available): Delete.
233 (compile_one_cc, check_ctf_available): Delete.
235 2021-02-03 Nick Alcock <nick.alcock@oracle.com>
237 * configure.ac (ac_cv_libctf_bfd_elf): Include string.h.
238 * configure: Regenerated.
240 2021-02-03 Nick Alcock <nick.alcock@oracle.com>
242 * configure.ac (EXPECT): Check for, in order to define...
243 (TCL_TRY): ... this, if Tcl supports try/catch.
244 * Makefile.am (TCL_TRY): Run the testsuite only if set.
245 * configure: Regenerated.
246 * Makefile.in: Likewise.
248 2021-02-02 Nick Alcock <nick.alcock@oracle.com>
250 * configure.ac (CTF_LIBADD): Remove explicit -lintl population in
252 * Makefile.am (libctf_nobfd_la_LIBADD): No longer explicitly
254 (check-DEJAGNU): Pass down to tests as well.
255 * configure: Regenerated.
256 * Makefile.in: Likewise.
258 2021-01-27 Nick Alcock <nick.alcock@oracle.com>
260 * ctf-string.c (ctf_str_add): Treat adding a NULL as adding "".
261 (ctf_str_add_ref): Likewise.
262 (ctf_str_add_external): Likewise.
263 * ctf-types.c (ctf_type_name_raw): Always return "" for offset 0.
264 * ctf-dedup.c (ctf_dedup_multiple_input_dicts): Don't armour
266 (ctf_dedup_maybe_synthesize_forward): Likewise.
268 2021-01-27 Nick Alcock <nick.alcock@oracle.com>
270 * ctf-create.c (ctf_serialize): Fix shadowing.
272 2021-01-27 Nick Alcock <nick.alcock@oracle.com>
274 * ctf-create.c (ctf_add_encoded): Add check for non-empty name.
275 (ctf_add_forward): Likewise.
276 (ctf_add_typedef): Likewise.
278 2021-01-27 Nick Alcock <nick.alcock@oracle.com>
280 * ctf-open.c (init_types): Rip out code to check anonymous typedef
282 * ctf-create.c (ctf_add_reftype): Likewise.
283 * ctf-lookup.c (refresh_pptrtab): Likewise.
285 2021-01-27 Nick Alcock <nick.alcock@oracle.com>
287 * ctf-impl.c (_libctf_nonnull_): Add parameters.
288 (LCTF_LINKING): New flag.
289 (ctf_dict_t) <ctf_link_flags>: Mention it.
290 * ctf-link.c (ctf_link): Keep LCTF_LINKING set across call.
291 (ctf_write): Likewise, including in child dictionaries.
292 (ctf_link_shuffle_syms): Make sure ctf_dynsyms is NULL if there
293 are no reported symbols.
294 * ctf-create.c (symtypetab_delete_nonstatic_vars): Make sure
295 the variable has been reported as a symbol by the linker.
296 (symtypetab_skippable): Mention relationship between SYMFP and the
298 (symtypetab_density): Adjust nonnullity. Exit early if no symbols
299 were reported and force-indexing is off (i.e., we are doing a
301 (ctf_serialize): Handle the !LCTF_LINKING case by writing out an
302 indexed, sorted symtypetab (and allow SYMFP to be NULL in this
303 case). Turn sorting off if this is a non-final link. Only delete
304 nonstatic vars if we are filtering symbols and the linker has
306 * testsuite/libctf-regression/nonstatic-var-section-ld-r*:
307 New test of variable and symtypetab section population when
309 * testsuite/libctf-regression/nonstatic-var-section-ld-executable.lk:
310 Likewise, when ld of an executable is used.
311 * testsuite/libctf-regression/nonstatic-var-section-ld.lk:
312 Likewise, when ld -shared alone is used.
313 * testsuite/libctf-regression/nonstatic-var-section-ld*.c:
314 Lookup programs for the above.
315 * testsuite/libctf-writable/symtypetab-nonlinker-writeout.*: New
316 test, testing survival of symbols across ctf_write paths.
317 * testsuite/lib/ctf-lib.exp (run_lookup_test): New option,
318 nonshared, suppressing linking of the SOURCE with -shared.
320 2021-01-19 Nick Alcock <nick.alcock@oracle.com>
322 * ctf-create.c (membadd): Transform ""-named members into
324 * testsuite/libctf-regression/type-add-unnamed-struct*: New test.
326 2021-01-19 Nick Alcock <nick.alcock@oracle.com>
328 * ctf-lookup.c (ctf_lookup_by_name_internal): Do not return the
329 base type if looking up a nonexistent pointer type.
330 * testsuite/libctf-regression/pptrtab*: Test it.
332 2021-01-13 Alan Modra <amodra@gmail.com>
334 * Makefile.in: Regenerate.
336 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
339 * configure.ac: Use GNU_MAKE_JOBSERVER.
340 * aclocal.m4: Regenerated.
341 * configure: Likewise.
343 2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
346 * configure: Regenerated.
348 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
350 * configure: Regenerated.
352 2021-01-09 Nick Clifton <nickc@redhat.com>
354 * 2.36 release branch crated.
356 2021-01-09 Alan Modra <amodra@gmail.com>
358 * configure: Regenerate.
360 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
362 * configure: Regenerate.
364 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
366 * testsuite/libctf-lookup/struct-iteration.c (main):
367 ctf_member_count returns an int.
369 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
371 * Makefile.am (BASEDIR): New.
373 (check-DEJAGNU): Add development.exp to prerequisites.
374 (development.exp): New.
375 (CONFIG_STATUS_DEPENDENCIES): New.
376 (EXTRA_DEJAGNU_SITE_CONFIG): Likewise.
377 (DISTCLEANFILES): Likewise.
378 * Makefile.in: Regenerated.
379 * testsuite/lib/ctf-lib.exp (check_ctf_available): Return boolean.
380 * testsuite/libctf-lookup/lookup.exp: Call check_ctf_available.
381 * testsuite/libctf-regression/regression.exp: Likewise.
383 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
385 * ctf-types.c (ctf_type_aname): Print forwards to unions and enums
388 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
390 * ctf-impl.h (ctf_dict_t) <ctf_pptrtab>: New.
391 <ctf_pptrtab_len>: New.
392 <ctf_pptrtab_typemax>: New.
393 * ctf-create.c (ctf_serialize): Update accordingly.
394 (ctf_add_reftype): Note that we don't need to update pptrtab here,
395 despite updating ptrtab.
396 * ctf-open.c (ctf_dict_close): Destroy the pptrtab.
397 (ctf_import): Likewise.
398 (ctf_import_unref): Likewise.
399 * ctf-lookup.c (grow_pptrtab): New.
400 (refresh_pptrtab): New, update a pptrtab.
401 (ctf_lookup_by_name): Turn into a wrapper around (and rename to)...
402 (ctf_lookup_by_name_internal): ... this: construct the pptrtab, and
403 use it in addition to the parent's ptrtab when parent dicts are
405 * testsuite/libctf-regression/regression.exp: New testsuite for
407 * testsuite/libctf-regression/pptrtab*: New test.
408 * testsuite/libctf-writable/writable.exp: New testsuite for tests of
410 * testsuite/libctf-writable/pptrtab*: New test.
412 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
414 * ctf-archive.c (ctf_archive_iter): Remove outdated comment.
416 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
418 * ctf-impl.h (struct ctf_next) <u.ctn_next>: Move to...
419 <ctn_next>: ... here.
420 * ctf-util.c (ctf_next_destroy): Unconditionally destroy it.
421 * ctf-lookup.c (ctf_symbol_next): Adjust accordingly.
422 * ctf-types.c (ctf_member_iter): Reimplement in terms of...
423 (ctf_member_next): ... this. Support recursive unnamed member
424 iteration (off by default).
425 (ctf_member_info): Look up members in unnamed sub-structs.
426 * ctf-dedup.c (ctf_dedup_rhash_type): Adjust ctf_member_next call.
427 (ctf_dedup_emit_struct_members): Likewise.
428 * testsuite/libctf-lookup/struct-iteration-ctf.c: Test empty unnamed
429 members, and a normal member after the end.
430 * testsuite/libctf-lookup/struct-iteration.c: Verify that
431 ctf_member_count is consistent with the number of successful returns
432 from a non-recursive ctf_member_next.
433 * testsuite/libctf-lookup/struct-iteration-*: New, test iteration
435 * testsuite/libctf-lookup/struct-lookup.c: New test.
436 * testsuite/libctf-lookup/struct-lookup.lk: New test.
438 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
440 * ctf-link.c (ctf_link_warn_outdated_inputs): New.
441 (ctf_link_write): Call it.
443 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
445 * testsuite/libctf-lookup/enum-symbol.lk: New symbol-lookup test.
446 * testsuite/libctf-lookup/enum-symbol-ctf.c: New CTF input.
447 * testsuite/libctf-lookup/enum-symbol.c: New lookup test.
449 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
451 * Makefile.am (EXPECT): New.
453 (RUNTESTFLAGS): Likewise.
454 (CC_FOR_TARGET): Likewise.
455 (check-DEJAGNU): Likewise.
456 (AUTOMAKE_OPTIONS): Add dejagnu.
457 * Makefile.in: Regenerated.
458 * testsuite/config/default.exp: New.
459 * testsuite/lib/ctf-lib.exp: Likewise.
460 * testsuite/libctf-lookup/enum.lk: New test.
461 * testsuite/libctf-lookup/enum-ctf.c: New CTF input.
462 * testsuite/libctf-lookup/enum.c: New lookup test.
463 * testsuite/libctf-lookup/ambiguous-struct*.c: New test.
464 * testsuite/libctf-lookup/lookup.exp: New.
466 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
468 * configure.ac (BFD_LIBADD): Remove.
469 (BFD_DEPENDENCIES): Likewise. Remove associated cases.
470 (SHARED_LIBADD): Rename to...
471 (CTF_LIBADD): ... this. Stick in a suitable libiberty even when
473 * Makefile.am (libctf_nobfd_la_LIBADD): Adjust accordingly.
475 (libctf_la_LIBADD): Reference libbfd.la directly, not via
477 (libctf_la_DEPENDENCIES): Remove.
478 * Makefile.in: Regenerate.
479 * configure: Likewise.
481 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
483 * ctf-decl.c (ctf_decl_push): Exclude slices from the decl stack.
484 * ctf-types.c (ctf_type_aname): No longer deal with slices here.
485 * ctf-dump.c (ctf_dump_membstate_t) <cdm_toplevel_indent>: Constify.
487 (CTF_FT_BITFIELD): Likewise.
488 (CTF_FT_ID): Likewise.
489 (ctf_dump_member): Do not do indentation here. Migrate the
490 type-printing parts of this into...
491 (ctf_dump_format_type): ... here, to be shared by all type printers.
492 Get the errno value for non-representable types right. Do not print
493 bitfield info for non-bitfields. Improve the format and indentation
494 of other type output. Shuffle spacing around to make all indentation
495 either 'width of column' or 4 chars.
496 (ctf_dump_label): Pass CTF_FT_REFS to ctf_dump_format_type.
497 (ctf_dump_objts): Likewise. Spacing shuffle.
498 (ctf_dump_var): Likewise.
499 (type_hex_digits): Migrate down in the file, to above its new user.
500 (ctf_dump_type): Indent here instead. Pass CTF_FT_REFS to
501 ctf_dump_format_type. Don't trim off excess linefeeds now we no
502 longer generate them. Dump enumerated types.
504 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
506 * ctf-types.c (ctf_type_resolve): Improve comment.
507 (ctf_type_size): Yield ECTF_INCOMPLETE when applied to forwards.
508 Emit errors into the right dict.
509 (ctf_type_align): Likewise.
510 * ctf-create.c (ctf_add_member_offset): Yield ECTF_INCOMPLETE
511 when adding a member without explicit offset when this member, or
512 the previous member, is incomplete.
513 * ctf-dump.c (ctf_dump_format_type): Do not try to print the size of
515 (ctf_dump_member): Do not try to print their alignment.
517 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
519 * ctf-dump.c (ctf_dump_objts): Dump by calling ctf_dump_format_type.
520 (ctf_dump_format_type): Don't emit the size for function objects.
521 Dump the element type of arrays like we dump the pointed-to type of
524 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
526 * ctf-dump.c (ctf_dump_format_type): Add 0x to hex type IDs.
527 (ctf_dump_header): Add 0x to the hex magic number.
528 (ctf_dump_str): Add 0x to the hex string offsets.
529 (ctf_dump_membstate_t) <cdm_toplevel_indent>: New.
530 (ctf_dump_type): Adjust. Free it when we're done.
531 (type_hex_digits): New.
532 (ctf_dump_member): Align output depending on the width of the type
533 ID being generated. Use printf padding, not a loop, to generate
536 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
538 * ctf-decl.c (ctf_decl_push): Don't print array decls backwards.
540 2021-01-04 Nicolas Boulenguez <nicolas@debian.org>
543 * configure.ac: Make AC_CONFIG_MACRO_DIR consistent with
544 ACLOCAL_AMFLAGS -I dirs.
545 * configure: Regenerate.
547 2021-01-01 Alan Modra <amodra@gmail.com>
549 Update year range in copyright notice of all files.
551 For older changes see ChangeLog-2020
553 Copyright (C) 2021 Free Software Foundation, Inc.
555 Copying and distribution of this file, with or without modification,
556 are permitted in any medium without royalty provided the copyright
557 notice and this notice are preserved.
563 version-control: never