libctf, ld: prohibit getting the size or alignment of forwards
[deliverable/binutils-gdb.git] / libctf / ChangeLog
1 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
2
3 * ctf-types.c (ctf_type_resolve): Improve comment.
4 (ctf_type_size): Yield ECTF_INCOMPLETE when applied to forwards.
5 Emit errors into the right dict.
6 (ctf_type_align): Likewise.
7 * ctf-create.c (ctf_add_member_offset): Yield ECTF_INCOMPLETE
8 when adding a member without explicit offset when this member, or
9 the previous member, is incomplete.
10 * ctf-dump.c (ctf_dump_format_type): Do not try to print the size of
11 forwards.
12 (ctf_dump_member): Do not try to print their alignment.
13
14 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
15
16 * ctf-dump.c (ctf_dump_objts): Dump by calling ctf_dump_format_type.
17 (ctf_dump_format_type): Don't emit the size for function objects.
18 Dump the element type of arrays like we dump the pointed-to type of
19 pointers, etc.
20
21 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
22
23 * ctf-dump.c (ctf_dump_format_type): Add 0x to hex type IDs.
24 (ctf_dump_header): Add 0x to the hex magic number.
25 (ctf_dump_str): Add 0x to the hex string offsets.
26 (ctf_dump_membstate_t) <cdm_toplevel_indent>: New.
27 (ctf_dump_type): Adjust. Free it when we're done.
28 (type_hex_digits): New.
29 (ctf_dump_member): Align output depending on the width of the type
30 ID being generated. Use printf padding, not a loop, to generate
31 indentation.
32
33 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
34
35 * ctf-decl.c (ctf_decl_push): Don't print array decls backwards.
36
37 2021-01-04 Nicolas Boulenguez <nicolas@debian.org>
38
39 PR 27117
40 * configure.ac: Make AC_CONFIG_MACRO_DIR consistent with
41 ACLOCAL_AMFLAGS -I dirs.
42 * configure: Regenerate.
43
44 2021-01-01 Alan Modra <amodra@gmail.com>
45
46 Update year range in copyright notice of all files.
47
48 For older changes see ChangeLog-2020
49 \f
50 Copyright (C) 2021 Free Software Foundation, Inc.
51
52 Copying and distribution of this file, with or without modification,
53 are permitted in any medium without royalty provided the copyright
54 notice and this notice are preserved.
55
56 Local Variables:
57 mode: change-log
58 left-margin: 8
59 fill-column: 74
60 version-control: never
61 End:
This page took 0.034203 seconds and 5 git commands to generate.