]> Git Repo - binutils.git/blame - libctf/ChangeLog
libctf: warn about information loss because of unreleased format changes
[binutils.git] / libctf / ChangeLog
CommitLineData
abed0b07
NA
12021-01-05 Nick Alcock <[email protected]>
2
3 * ctf-link.c (ctf_link_warn_outdated_inputs): New.
4 (ctf_link_write): Call it.
5
9bc76971
NA
62021-01-05 Nick Alcock <[email protected]>
7
8 * testsuite/libctf-lookup/enum-symbol.lk: New symbol-lookup test.
9 * testsuite/libctf-lookup/enum-symbol-ctf.c: New CTF input.
10 * testsuite/libctf-lookup/enum-symbol.c: New lookup test.
11
c59e30ed
NA
122021-01-05 Nick Alcock <[email protected]>
13
14 * Makefile.am (EXPECT): New.
15 (RUNTEST): Likewise.
16 (RUNTESTFLAGS): Likewise.
17 (CC_FOR_TARGET): Likewise.
18 (check-DEJAGNU): Likewise.
19 (AUTOMAKE_OPTIONS): Add dejagnu.
20 * Makefile.in: Regenerated.
21 * testsuite/config/default.exp: New.
22 * testsuite/lib/ctf-lib.exp: Likewise.
23 * testsuite/libctf-lookup/enum.lk: New test.
24 * testsuite/libctf-lookup/enum-ctf.c: New CTF input.
25 * testsuite/libctf-lookup/enum.c: New lookup test.
26 * testsuite/libctf-lookup/ambiguous-struct*.c: New test.
27 * testsuite/libctf-lookup/lookup.exp: New.
28
1038406a
NA
292021-01-05 Nick Alcock <[email protected]>
30
31 * configure.ac (BFD_LIBADD): Remove.
32 (BFD_DEPENDENCIES): Likewise. Remove associated cases.
33 (SHARED_LIBADD): Rename to...
34 (CTF_LIBADD): ... this. Stick in a suitable libiberty even when
35 linking statically.
36 * Makefile.am (libctf_nobfd_la_LIBADD): Adjust accordingly.
37 libctf uses libintl.
38 (libctf_la_LIBADD): Reference libbfd.la directly, not via
39 BFD_LIBADD.
40 (libctf_la_DEPENDENCIES): Remove.
41 * Makefile.in: Regenerate.
42 * configure: Likewise.
43
37002871
NA
442021-01-05 Nick Alcock <[email protected]>
45
46 * ctf-decl.c (ctf_decl_push): Exclude slices from the decl stack.
47 * ctf-types.c (ctf_type_aname): No longer deal with slices here.
48 * ctf-dump.c (ctf_dump_membstate_t) <cdm_toplevel_indent>: Constify.
49 (CTF_FT_REFS): New.
50 (CTF_FT_BITFIELD): Likewise.
51 (CTF_FT_ID): Likewise.
52 (ctf_dump_member): Do not do indentation here. Migrate the
53 type-printing parts of this into...
54 (ctf_dump_format_type): ... here, to be shared by all type printers.
55 Get the errno value for non-representable types right. Do not print
56 bitfield info for non-bitfields. Improve the format and indentation
57 of other type output. Shuffle spacing around to make all indentation
58 either 'width of column' or 4 chars.
59 (ctf_dump_label): Pass CTF_FT_REFS to ctf_dump_format_type.
60 (ctf_dump_objts): Likewise. Spacing shuffle.
61 (ctf_dump_var): Likewise.
62 (type_hex_digits): Migrate down in the file, to above its new user.
63 (ctf_dump_type): Indent here instead. Pass CTF_FT_REFS to
64 ctf_dump_format_type. Don't trim off excess linefeeds now we no
65 longer generate them. Dump enumerated types.
66
ffeece6a
NA
672021-01-05 Nick Alcock <[email protected]>
68
69 * ctf-types.c (ctf_type_resolve): Improve comment.
70 (ctf_type_size): Yield ECTF_INCOMPLETE when applied to forwards.
71 Emit errors into the right dict.
72 (ctf_type_align): Likewise.
73 * ctf-create.c (ctf_add_member_offset): Yield ECTF_INCOMPLETE
74 when adding a member without explicit offset when this member, or
75 the previous member, is incomplete.
76 * ctf-dump.c (ctf_dump_format_type): Do not try to print the size of
77 forwards.
78 (ctf_dump_member): Do not try to print their alignment.
79
91e7ce2f
NA
802021-01-05 Nick Alcock <[email protected]>
81
82 * ctf-dump.c (ctf_dump_objts): Dump by calling ctf_dump_format_type.
83 (ctf_dump_format_type): Don't emit the size for function objects.
84 Dump the element type of arrays like we dump the pointed-to type of
85 pointers, etc.
86
57f97d0e
NA
872021-01-05 Nick Alcock <[email protected]>
88
89 * ctf-dump.c (ctf_dump_format_type): Add 0x to hex type IDs.
90 (ctf_dump_header): Add 0x to the hex magic number.
91 (ctf_dump_str): Add 0x to the hex string offsets.
92 (ctf_dump_membstate_t) <cdm_toplevel_indent>: New.
93 (ctf_dump_type): Adjust. Free it when we're done.
94 (type_hex_digits): New.
95 (ctf_dump_member): Align output depending on the width of the type
96 ID being generated. Use printf padding, not a loop, to generate
97 indentation.
98
b09ad6ea
NA
992021-01-05 Nick Alcock <[email protected]>
100
101 * ctf-decl.c (ctf_decl_push): Don't print array decls backwards.
102
a7c23ac9
NB
1032021-01-04 Nicolas Boulenguez <[email protected]>
104
105 PR 27117
106 * configure.ac: Make AC_CONFIG_MACRO_DIR consistent with
107 ACLOCAL_AMFLAGS -I dirs.
108 * configure: Regenerate.
109
250d07de
AM
1102021-01-01 Alan Modra <[email protected]>
111
112 Update year range in copyright notice of all files.
113
c2795844
AM
114For older changes see ChangeLog-2020
115\f
116Copyright (C) 2021 Free Software Foundation, Inc.
60da9d95 117
c2795844
AM
118Copying and distribution of this file, with or without modification,
119are permitted in any medium without royalty provided the copyright
120notice and this notice are preserved.
60da9d95 121
60da9d95
NA
122Local Variables:
123mode: change-log
124left-margin: 8
c2795844 125fill-column: 74
60da9d95
NA
126version-control: never
127End:
This page took 0.236634 seconds and 4 git commands to generate.