x86-64: Provide more info when failed to convert GOTPCREL
[deliverable/binutils-gdb.git] / libctf / ChangeLog
CommitLineData
26503e2f
NA
12021-01-19 Nick Alcock <nick.alcock@oracle.com>
2
3 * ctf-create.c (membadd): Transform ""-named members into
4 NULL-named ones.
5 * testsuite/libctf-regression/type-add-unnamed-struct*: New test.
6
e05a3e5a
NA
72021-01-19 Nick Alcock <nick.alcock@oracle.com>
8
9 * ctf-lookup.c (ctf_lookup_by_name_internal): Do not return the
10 base type if looking up a nonexistent pointer type.
11 * testsuite/libctf-regression/pptrtab*: Test it.
12
5347ed60
AM
132021-01-13 Alan Modra <amodra@gmail.com>
14
15 * Makefile.in: Regenerate.
16
d546b610
L
172021-01-12 H.J. Lu <hongjiu.lu@intel.com>
18
19 PR binutils/26792
20 * configure.ac: Use GNU_MAKE_JOBSERVER.
21 * aclocal.m4: Regenerated.
22 * configure: Likewise.
23
83b33c6c
L
242021-01-11 H.J. Lu <hongjiu.lu@intel.com>
25
26 PR ld/27173
27 * configure: Regenerated.
28
a4966cd9
L
292021-01-09 H.J. Lu <hongjiu.lu@intel.com>
30
31 * configure: Regenerated.
32
055bc77a
NC
332021-01-09 Nick Clifton <nickc@redhat.com>
34
35 * 2.36 release branch crated.
36
64307045
AM
372021-01-09 Alan Modra <amodra@gmail.com>
38
39 * configure: Regenerate.
40
f4782128
ST
412021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
42
43 * configure: Regenerate.
44
0814dbfb
NA
452021-01-05 Nick Alcock <nick.alcock@oracle.com>
46
47 * testsuite/libctf-lookup/struct-iteration.c (main):
48 ctf_member_count returns an int.
49
70d3120f
NA
502021-01-05 Nick Alcock <nick.alcock@oracle.com>
51
52 * Makefile.am (BASEDIR): New.
53 (BFDDIR): Likewise.
54 (check-DEJAGNU): Add development.exp to prerequisites.
55 (development.exp): New.
56 (CONFIG_STATUS_DEPENDENCIES): New.
57 (EXTRA_DEJAGNU_SITE_CONFIG): Likewise.
58 (DISTCLEANFILES): Likewise.
59 * Makefile.in: Regenerated.
60 * testsuite/lib/ctf-lib.exp (check_ctf_available): Return boolean.
61 * testsuite/libctf-lookup/lookup.exp: Call check_ctf_available.
62 * testsuite/libctf-regression/regression.exp: Likewise.
63
b4b6ea46
NA
642021-01-05 Nick Alcock <nick.alcock@oracle.com>
65
66 * ctf-types.c (ctf_type_aname): Print forwards to unions and enums
67 properly.
68
abe4ca69
NA
692021-01-05 Nick Alcock <nick.alcock@oracle.com>
70
71 * ctf-impl.h (ctf_dict_t) <ctf_pptrtab>: New.
72 <ctf_pptrtab_len>: New.
73 <ctf_pptrtab_typemax>: New.
74 * ctf-create.c (ctf_serialize): Update accordingly.
75 (ctf_add_reftype): Note that we don't need to update pptrtab here,
76 despite updating ptrtab.
77 * ctf-open.c (ctf_dict_close): Destroy the pptrtab.
78 (ctf_import): Likewise.
79 (ctf_import_unref): Likewise.
80 * ctf-lookup.c (grow_pptrtab): New.
81 (refresh_pptrtab): New, update a pptrtab.
82 (ctf_lookup_by_name): Turn into a wrapper around (and rename to)...
83 (ctf_lookup_by_name_internal): ... this: construct the pptrtab, and
84 use it in addition to the parent's ptrtab when parent dicts are
85 searched.
86 * testsuite/libctf-regression/regression.exp: New testsuite for
87 regression tests.
88 * testsuite/libctf-regression/pptrtab*: New test.
89 * testsuite/libctf-writable/writable.exp: New testsuite for tests of
90 writable CTF dicts.
91 * testsuite/libctf-writable/pptrtab*: New test.
92
8769046e
NA
932021-01-05 Nick Alcock <nick.alcock@oracle.com>
94
95 * ctf-archive.c (ctf_archive_iter): Remove outdated comment.
96
6c3a3877
NA
972021-01-05 Nick Alcock <nick.alcock@oracle.com>
98
99 * ctf-impl.h (struct ctf_next) <u.ctn_next>: Move to...
100 <ctn_next>: ... here.
101 * ctf-util.c (ctf_next_destroy): Unconditionally destroy it.
102 * ctf-lookup.c (ctf_symbol_next): Adjust accordingly.
103 * ctf-types.c (ctf_member_iter): Reimplement in terms of...
104 (ctf_member_next): ... this. Support recursive unnamed member
105 iteration (off by default).
106 (ctf_member_info): Look up members in unnamed sub-structs.
107 * ctf-dedup.c (ctf_dedup_rhash_type): Adjust ctf_member_next call.
108 (ctf_dedup_emit_struct_members): Likewise.
109 * testsuite/libctf-lookup/struct-iteration-ctf.c: Test empty unnamed
110 members, and a normal member after the end.
111 * testsuite/libctf-lookup/struct-iteration.c: Verify that
112 ctf_member_count is consistent with the number of successful returns
113 from a non-recursive ctf_member_next.
114 * testsuite/libctf-lookup/struct-iteration-*: New, test iteration
115 over struct members.
116 * testsuite/libctf-lookup/struct-lookup.c: New test.
117 * testsuite/libctf-lookup/struct-lookup.lk: New test.
118
abed0b07
NA
1192021-01-05 Nick Alcock <nick.alcock@oracle.com>
120
121 * ctf-link.c (ctf_link_warn_outdated_inputs): New.
122 (ctf_link_write): Call it.
123
9bc76971
NA
1242021-01-05 Nick Alcock <nick.alcock@oracle.com>
125
126 * testsuite/libctf-lookup/enum-symbol.lk: New symbol-lookup test.
127 * testsuite/libctf-lookup/enum-symbol-ctf.c: New CTF input.
128 * testsuite/libctf-lookup/enum-symbol.c: New lookup test.
129
c59e30ed
NA
1302021-01-05 Nick Alcock <nick.alcock@oracle.com>
131
132 * Makefile.am (EXPECT): New.
133 (RUNTEST): Likewise.
134 (RUNTESTFLAGS): Likewise.
135 (CC_FOR_TARGET): Likewise.
136 (check-DEJAGNU): Likewise.
137 (AUTOMAKE_OPTIONS): Add dejagnu.
138 * Makefile.in: Regenerated.
139 * testsuite/config/default.exp: New.
140 * testsuite/lib/ctf-lib.exp: Likewise.
141 * testsuite/libctf-lookup/enum.lk: New test.
142 * testsuite/libctf-lookup/enum-ctf.c: New CTF input.
143 * testsuite/libctf-lookup/enum.c: New lookup test.
144 * testsuite/libctf-lookup/ambiguous-struct*.c: New test.
145 * testsuite/libctf-lookup/lookup.exp: New.
146
1038406a
NA
1472021-01-05 Nick Alcock <nick.alcock@oracle.com>
148
149 * configure.ac (BFD_LIBADD): Remove.
150 (BFD_DEPENDENCIES): Likewise. Remove associated cases.
151 (SHARED_LIBADD): Rename to...
152 (CTF_LIBADD): ... this. Stick in a suitable libiberty even when
153 linking statically.
154 * Makefile.am (libctf_nobfd_la_LIBADD): Adjust accordingly.
155 libctf uses libintl.
156 (libctf_la_LIBADD): Reference libbfd.la directly, not via
157 BFD_LIBADD.
158 (libctf_la_DEPENDENCIES): Remove.
159 * Makefile.in: Regenerate.
160 * configure: Likewise.
161
37002871
NA
1622021-01-05 Nick Alcock <nick.alcock@oracle.com>
163
164 * ctf-decl.c (ctf_decl_push): Exclude slices from the decl stack.
165 * ctf-types.c (ctf_type_aname): No longer deal with slices here.
166 * ctf-dump.c (ctf_dump_membstate_t) <cdm_toplevel_indent>: Constify.
167 (CTF_FT_REFS): New.
168 (CTF_FT_BITFIELD): Likewise.
169 (CTF_FT_ID): Likewise.
170 (ctf_dump_member): Do not do indentation here. Migrate the
171 type-printing parts of this into...
172 (ctf_dump_format_type): ... here, to be shared by all type printers.
173 Get the errno value for non-representable types right. Do not print
174 bitfield info for non-bitfields. Improve the format and indentation
175 of other type output. Shuffle spacing around to make all indentation
176 either 'width of column' or 4 chars.
177 (ctf_dump_label): Pass CTF_FT_REFS to ctf_dump_format_type.
178 (ctf_dump_objts): Likewise. Spacing shuffle.
179 (ctf_dump_var): Likewise.
180 (type_hex_digits): Migrate down in the file, to above its new user.
181 (ctf_dump_type): Indent here instead. Pass CTF_FT_REFS to
182 ctf_dump_format_type. Don't trim off excess linefeeds now we no
183 longer generate them. Dump enumerated types.
184
ffeece6a
NA
1852021-01-05 Nick Alcock <nick.alcock@oracle.com>
186
187 * ctf-types.c (ctf_type_resolve): Improve comment.
188 (ctf_type_size): Yield ECTF_INCOMPLETE when applied to forwards.
189 Emit errors into the right dict.
190 (ctf_type_align): Likewise.
191 * ctf-create.c (ctf_add_member_offset): Yield ECTF_INCOMPLETE
192 when adding a member without explicit offset when this member, or
193 the previous member, is incomplete.
194 * ctf-dump.c (ctf_dump_format_type): Do not try to print the size of
195 forwards.
196 (ctf_dump_member): Do not try to print their alignment.
197
91e7ce2f
NA
1982021-01-05 Nick Alcock <nick.alcock@oracle.com>
199
200 * ctf-dump.c (ctf_dump_objts): Dump by calling ctf_dump_format_type.
201 (ctf_dump_format_type): Don't emit the size for function objects.
202 Dump the element type of arrays like we dump the pointed-to type of
203 pointers, etc.
204
57f97d0e
NA
2052021-01-05 Nick Alcock <nick.alcock@oracle.com>
206
207 * ctf-dump.c (ctf_dump_format_type): Add 0x to hex type IDs.
208 (ctf_dump_header): Add 0x to the hex magic number.
209 (ctf_dump_str): Add 0x to the hex string offsets.
210 (ctf_dump_membstate_t) <cdm_toplevel_indent>: New.
211 (ctf_dump_type): Adjust. Free it when we're done.
212 (type_hex_digits): New.
213 (ctf_dump_member): Align output depending on the width of the type
214 ID being generated. Use printf padding, not a loop, to generate
215 indentation.
216
b09ad6ea
NA
2172021-01-05 Nick Alcock <nick.alcock@oracle.com>
218
219 * ctf-decl.c (ctf_decl_push): Don't print array decls backwards.
220
a7c23ac9
NB
2212021-01-04 Nicolas Boulenguez <nicolas@debian.org>
222
223 PR 27117
224 * configure.ac: Make AC_CONFIG_MACRO_DIR consistent with
225 ACLOCAL_AMFLAGS -I dirs.
226 * configure: Regenerate.
227
250d07de
AM
2282021-01-01 Alan Modra <amodra@gmail.com>
229
230 Update year range in copyright notice of all files.
231
c2795844
AM
232For older changes see ChangeLog-2020
233\f
234Copyright (C) 2021 Free Software Foundation, Inc.
60da9d95 235
c2795844
AM
236Copying and distribution of this file, with or without modification,
237are permitted in any medium without royalty provided the copyright
238notice and this notice are preserved.
60da9d95 239
60da9d95
NA
240Local Variables:
241mode: change-log
242left-margin: 8
c2795844 243fill-column: 74
60da9d95
NA
244version-control: never
245End:
This page took 0.115321 seconds and 4 git commands to generate.