]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - libctf/ChangeLog
libctf, ld: prohibit getting the size or alignment of forwards
[thirdparty/binutils-gdb.git] / libctf / ChangeLog
CommitLineData
ffeece6a
NA
12021-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
91e7ce2f
NA
142021-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
57f97d0e
NA
212021-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
b09ad6ea
NA
332021-01-05 Nick Alcock <nick.alcock@oracle.com>
34
35 * ctf-decl.c (ctf_decl_push): Don't print array decls backwards.
36
a7c23ac9
NB
372021-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
250d07de
AM
442021-01-01 Alan Modra <amodra@gmail.com>
45
46 Update year range in copyright notice of all files.
47
c2795844
AM
48For older changes see ChangeLog-2020
49\f
50Copyright (C) 2021 Free Software Foundation, Inc.
60da9d95 51
c2795844
AM
52Copying and distribution of this file, with or without modification,
53are permitted in any medium without royalty provided the copyright
54notice and this notice are preserved.
60da9d95 55
60da9d95
NA
56Local Variables:
57mode: change-log
58left-margin: 8
c2795844 59fill-column: 74
60da9d95
NA
60version-control: never
61End: