]>
Commit | Line | Data |
---|---|---|
35a01a04 NA |
1 | 2021-01-27 Nick Alcock <nick.alcock@oracle.com> |
2 | ||
3 | * ctf-impl.c (_libctf_nonnull_): Add parameters. | |
4 | (LCTF_LINKING): New flag. | |
5 | (ctf_dict_t) <ctf_link_flags>: Mention it. | |
6 | * ctf-link.c (ctf_link): Keep LCTF_LINKING set across call. | |
7 | (ctf_write): Likewise, including in child dictionaries. | |
8 | (ctf_link_shuffle_syms): Make sure ctf_dynsyms is NULL if there | |
9 | are no reported symbols. | |
10 | * ctf-create.c (symtypetab_delete_nonstatic_vars): Make sure | |
11 | the variable has been reported as a symbol by the linker. | |
12 | (symtypetab_skippable): Mention relationship between SYMFP and the | |
13 | flags. | |
14 | (symtypetab_density): Adjust nonnullity. Exit early if no symbols | |
15 | were reported and force-indexing is off (i.e., we are doing a | |
16 | final link). | |
17 | (ctf_serialize): Handle the !LCTF_LINKING case by writing out an | |
18 | indexed, sorted symtypetab (and allow SYMFP to be NULL in this | |
19 | case). Turn sorting off if this is a non-final link. Only delete | |
20 | nonstatic vars if we are filtering symbols and the linker has | |
21 | reported some. | |
22 | * testsuite/libctf-regression/nonstatic-var-section-ld-r*: | |
23 | New test of variable and symtypetab section population when | |
24 | ld -r is used. | |
25 | * testsuite/libctf-regression/nonstatic-var-section-ld-executable.lk: | |
26 | Likewise, when ld of an executable is used. | |
27 | * testsuite/libctf-regression/nonstatic-var-section-ld.lk: | |
28 | Likewise, when ld -shared alone is used. | |
29 | * testsuite/libctf-regression/nonstatic-var-section-ld*.c: | |
30 | Lookup programs for the above. | |
31 | * testsuite/libctf-writable/symtypetab-nonlinker-writeout.*: New | |
32 | test, testing survival of symbols across ctf_write paths. | |
33 | * testsuite/lib/ctf-lib.exp (run_lookup_test): New option, | |
34 | nonshared, suppressing linking of the SOURCE with -shared. | |
35 | ||
26503e2f NA |
36 | 2021-01-19 Nick Alcock <nick.alcock@oracle.com> |
37 | ||
38 | * ctf-create.c (membadd): Transform ""-named members into | |
39 | NULL-named ones. | |
40 | * testsuite/libctf-regression/type-add-unnamed-struct*: New test. | |
41 | ||
e05a3e5a NA |
42 | 2021-01-19 Nick Alcock <nick.alcock@oracle.com> |
43 | ||
44 | * ctf-lookup.c (ctf_lookup_by_name_internal): Do not return the | |
45 | base type if looking up a nonexistent pointer type. | |
46 | * testsuite/libctf-regression/pptrtab*: Test it. | |
47 | ||
5347ed60 AM |
48 | 2021-01-13 Alan Modra <amodra@gmail.com> |
49 | ||
50 | * Makefile.in: Regenerate. | |
51 | ||
d546b610 L |
52 | 2021-01-12 H.J. Lu <hongjiu.lu@intel.com> |
53 | ||
54 | PR binutils/26792 | |
55 | * configure.ac: Use GNU_MAKE_JOBSERVER. | |
56 | * aclocal.m4: Regenerated. | |
57 | * configure: Likewise. | |
58 | ||
83b33c6c L |
59 | 2021-01-11 H.J. Lu <hongjiu.lu@intel.com> |
60 | ||
61 | PR ld/27173 | |
62 | * configure: Regenerated. | |
63 | ||
a4966cd9 L |
64 | 2021-01-09 H.J. Lu <hongjiu.lu@intel.com> |
65 | ||
66 | * configure: Regenerated. | |
67 | ||
055bc77a NC |
68 | 2021-01-09 Nick Clifton <nickc@redhat.com> |
69 | ||
70 | * 2.36 release branch crated. | |
71 | ||
64307045 AM |
72 | 2021-01-09 Alan Modra <amodra@gmail.com> |
73 | ||
74 | * configure: Regenerate. | |
75 | ||
f4782128 ST |
76 | 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org> |
77 | ||
78 | * configure: Regenerate. | |
79 | ||
0814dbfb NA |
80 | 2021-01-05 Nick Alcock <nick.alcock@oracle.com> |
81 | ||
82 | * testsuite/libctf-lookup/struct-iteration.c (main): | |
83 | ctf_member_count returns an int. | |
84 | ||
70d3120f NA |
85 | 2021-01-05 Nick Alcock <nick.alcock@oracle.com> |
86 | ||
87 | * Makefile.am (BASEDIR): New. | |
88 | (BFDDIR): Likewise. | |
89 | (check-DEJAGNU): Add development.exp to prerequisites. | |
90 | (development.exp): New. | |
91 | (CONFIG_STATUS_DEPENDENCIES): New. | |
92 | (EXTRA_DEJAGNU_SITE_CONFIG): Likewise. | |
93 | (DISTCLEANFILES): Likewise. | |
94 | * Makefile.in: Regenerated. | |
95 | * testsuite/lib/ctf-lib.exp (check_ctf_available): Return boolean. | |
96 | * testsuite/libctf-lookup/lookup.exp: Call check_ctf_available. | |
97 | * testsuite/libctf-regression/regression.exp: Likewise. | |
98 | ||
b4b6ea46 NA |
99 | 2021-01-05 Nick Alcock <nick.alcock@oracle.com> |
100 | ||
101 | * ctf-types.c (ctf_type_aname): Print forwards to unions and enums | |
102 | properly. | |
103 | ||
abe4ca69 NA |
104 | 2021-01-05 Nick Alcock <nick.alcock@oracle.com> |
105 | ||
106 | * ctf-impl.h (ctf_dict_t) <ctf_pptrtab>: New. | |
107 | <ctf_pptrtab_len>: New. | |
108 | <ctf_pptrtab_typemax>: New. | |
109 | * ctf-create.c (ctf_serialize): Update accordingly. | |
110 | (ctf_add_reftype): Note that we don't need to update pptrtab here, | |
111 | despite updating ptrtab. | |
112 | * ctf-open.c (ctf_dict_close): Destroy the pptrtab. | |
113 | (ctf_import): Likewise. | |
114 | (ctf_import_unref): Likewise. | |
115 | * ctf-lookup.c (grow_pptrtab): New. | |
116 | (refresh_pptrtab): New, update a pptrtab. | |
117 | (ctf_lookup_by_name): Turn into a wrapper around (and rename to)... | |
118 | (ctf_lookup_by_name_internal): ... this: construct the pptrtab, and | |
119 | use it in addition to the parent's ptrtab when parent dicts are | |
120 | searched. | |
121 | * testsuite/libctf-regression/regression.exp: New testsuite for | |
122 | regression tests. | |
123 | * testsuite/libctf-regression/pptrtab*: New test. | |
124 | * testsuite/libctf-writable/writable.exp: New testsuite for tests of | |
125 | writable CTF dicts. | |
126 | * testsuite/libctf-writable/pptrtab*: New test. | |
127 | ||
8769046e NA |
128 | 2021-01-05 Nick Alcock <nick.alcock@oracle.com> |
129 | ||
130 | * ctf-archive.c (ctf_archive_iter): Remove outdated comment. | |
131 | ||
6c3a3877 NA |
132 | 2021-01-05 Nick Alcock <nick.alcock@oracle.com> |
133 | ||
134 | * ctf-impl.h (struct ctf_next) <u.ctn_next>: Move to... | |
135 | <ctn_next>: ... here. | |
136 | * ctf-util.c (ctf_next_destroy): Unconditionally destroy it. | |
137 | * ctf-lookup.c (ctf_symbol_next): Adjust accordingly. | |
138 | * ctf-types.c (ctf_member_iter): Reimplement in terms of... | |
139 | (ctf_member_next): ... this. Support recursive unnamed member | |
140 | iteration (off by default). | |
141 | (ctf_member_info): Look up members in unnamed sub-structs. | |
142 | * ctf-dedup.c (ctf_dedup_rhash_type): Adjust ctf_member_next call. | |
143 | (ctf_dedup_emit_struct_members): Likewise. | |
144 | * testsuite/libctf-lookup/struct-iteration-ctf.c: Test empty unnamed | |
145 | members, and a normal member after the end. | |
146 | * testsuite/libctf-lookup/struct-iteration.c: Verify that | |
147 | ctf_member_count is consistent with the number of successful returns | |
148 | from a non-recursive ctf_member_next. | |
149 | * testsuite/libctf-lookup/struct-iteration-*: New, test iteration | |
150 | over struct members. | |
151 | * testsuite/libctf-lookup/struct-lookup.c: New test. | |
152 | * testsuite/libctf-lookup/struct-lookup.lk: New test. | |
153 | ||
abed0b07 NA |
154 | 2021-01-05 Nick Alcock <nick.alcock@oracle.com> |
155 | ||
156 | * ctf-link.c (ctf_link_warn_outdated_inputs): New. | |
157 | (ctf_link_write): Call it. | |
158 | ||
9bc76971 NA |
159 | 2021-01-05 Nick Alcock <nick.alcock@oracle.com> |
160 | ||
161 | * testsuite/libctf-lookup/enum-symbol.lk: New symbol-lookup test. | |
162 | * testsuite/libctf-lookup/enum-symbol-ctf.c: New CTF input. | |
163 | * testsuite/libctf-lookup/enum-symbol.c: New lookup test. | |
164 | ||
c59e30ed NA |
165 | 2021-01-05 Nick Alcock <nick.alcock@oracle.com> |
166 | ||
167 | * Makefile.am (EXPECT): New. | |
168 | (RUNTEST): Likewise. | |
169 | (RUNTESTFLAGS): Likewise. | |
170 | (CC_FOR_TARGET): Likewise. | |
171 | (check-DEJAGNU): Likewise. | |
172 | (AUTOMAKE_OPTIONS): Add dejagnu. | |
173 | * Makefile.in: Regenerated. | |
174 | * testsuite/config/default.exp: New. | |
175 | * testsuite/lib/ctf-lib.exp: Likewise. | |
176 | * testsuite/libctf-lookup/enum.lk: New test. | |
177 | * testsuite/libctf-lookup/enum-ctf.c: New CTF input. | |
178 | * testsuite/libctf-lookup/enum.c: New lookup test. | |
179 | * testsuite/libctf-lookup/ambiguous-struct*.c: New test. | |
180 | * testsuite/libctf-lookup/lookup.exp: New. | |
181 | ||
1038406a NA |
182 | 2021-01-05 Nick Alcock <nick.alcock@oracle.com> |
183 | ||
184 | * configure.ac (BFD_LIBADD): Remove. | |
185 | (BFD_DEPENDENCIES): Likewise. Remove associated cases. | |
186 | (SHARED_LIBADD): Rename to... | |
187 | (CTF_LIBADD): ... this. Stick in a suitable libiberty even when | |
188 | linking statically. | |
189 | * Makefile.am (libctf_nobfd_la_LIBADD): Adjust accordingly. | |
190 | libctf uses libintl. | |
191 | (libctf_la_LIBADD): Reference libbfd.la directly, not via | |
192 | BFD_LIBADD. | |
193 | (libctf_la_DEPENDENCIES): Remove. | |
194 | * Makefile.in: Regenerate. | |
195 | * configure: Likewise. | |
196 | ||
37002871 NA |
197 | 2021-01-05 Nick Alcock <nick.alcock@oracle.com> |
198 | ||
199 | * ctf-decl.c (ctf_decl_push): Exclude slices from the decl stack. | |
200 | * ctf-types.c (ctf_type_aname): No longer deal with slices here. | |
201 | * ctf-dump.c (ctf_dump_membstate_t) <cdm_toplevel_indent>: Constify. | |
202 | (CTF_FT_REFS): New. | |
203 | (CTF_FT_BITFIELD): Likewise. | |
204 | (CTF_FT_ID): Likewise. | |
205 | (ctf_dump_member): Do not do indentation here. Migrate the | |
206 | type-printing parts of this into... | |
207 | (ctf_dump_format_type): ... here, to be shared by all type printers. | |
208 | Get the errno value for non-representable types right. Do not print | |
209 | bitfield info for non-bitfields. Improve the format and indentation | |
210 | of other type output. Shuffle spacing around to make all indentation | |
211 | either 'width of column' or 4 chars. | |
212 | (ctf_dump_label): Pass CTF_FT_REFS to ctf_dump_format_type. | |
213 | (ctf_dump_objts): Likewise. Spacing shuffle. | |
214 | (ctf_dump_var): Likewise. | |
215 | (type_hex_digits): Migrate down in the file, to above its new user. | |
216 | (ctf_dump_type): Indent here instead. Pass CTF_FT_REFS to | |
217 | ctf_dump_format_type. Don't trim off excess linefeeds now we no | |
218 | longer generate them. Dump enumerated types. | |
219 | ||
ffeece6a NA |
220 | 2021-01-05 Nick Alcock <nick.alcock@oracle.com> |
221 | ||
222 | * ctf-types.c (ctf_type_resolve): Improve comment. | |
223 | (ctf_type_size): Yield ECTF_INCOMPLETE when applied to forwards. | |
224 | Emit errors into the right dict. | |
225 | (ctf_type_align): Likewise. | |
226 | * ctf-create.c (ctf_add_member_offset): Yield ECTF_INCOMPLETE | |
227 | when adding a member without explicit offset when this member, or | |
228 | the previous member, is incomplete. | |
229 | * ctf-dump.c (ctf_dump_format_type): Do not try to print the size of | |
230 | forwards. | |
231 | (ctf_dump_member): Do not try to print their alignment. | |
232 | ||
91e7ce2f NA |
233 | 2021-01-05 Nick Alcock <nick.alcock@oracle.com> |
234 | ||
235 | * ctf-dump.c (ctf_dump_objts): Dump by calling ctf_dump_format_type. | |
236 | (ctf_dump_format_type): Don't emit the size for function objects. | |
237 | Dump the element type of arrays like we dump the pointed-to type of | |
238 | pointers, etc. | |
239 | ||
57f97d0e NA |
240 | 2021-01-05 Nick Alcock <nick.alcock@oracle.com> |
241 | ||
242 | * ctf-dump.c (ctf_dump_format_type): Add 0x to hex type IDs. | |
243 | (ctf_dump_header): Add 0x to the hex magic number. | |
244 | (ctf_dump_str): Add 0x to the hex string offsets. | |
245 | (ctf_dump_membstate_t) <cdm_toplevel_indent>: New. | |
246 | (ctf_dump_type): Adjust. Free it when we're done. | |
247 | (type_hex_digits): New. | |
248 | (ctf_dump_member): Align output depending on the width of the type | |
249 | ID being generated. Use printf padding, not a loop, to generate | |
250 | indentation. | |
251 | ||
b09ad6ea NA |
252 | 2021-01-05 Nick Alcock <nick.alcock@oracle.com> |
253 | ||
254 | * ctf-decl.c (ctf_decl_push): Don't print array decls backwards. | |
255 | ||
a7c23ac9 NB |
256 | 2021-01-04 Nicolas Boulenguez <nicolas@debian.org> |
257 | ||
258 | PR 27117 | |
259 | * configure.ac: Make AC_CONFIG_MACRO_DIR consistent with | |
260 | ACLOCAL_AMFLAGS -I dirs. | |
261 | * configure: Regenerate. | |
262 | ||
250d07de AM |
263 | 2021-01-01 Alan Modra <amodra@gmail.com> |
264 | ||
265 | Update year range in copyright notice of all files. | |
266 | ||
c2795844 AM |
267 | For older changes see ChangeLog-2020 |
268 | \f | |
269 | Copyright (C) 2021 Free Software Foundation, Inc. | |
60da9d95 | 270 | |
c2795844 AM |
271 | Copying and distribution of this file, with or without modification, |
272 | are permitted in any medium without royalty provided the copyright | |
273 | notice and this notice are preserved. | |
60da9d95 | 274 | |
60da9d95 NA |
275 | Local Variables: |
276 | mode: change-log | |
277 | left-margin: 8 | |
c2795844 | 278 | fill-column: 74 |
60da9d95 NA |
279 | version-control: never |
280 | End: |