]>
Commit | Line | Data |
---|---|---|
a171378a JB |
1 | 2022-04-01 John Baldwin <jhb@FreeBSD.org> |
2 | ||
3 | * readelf.c (get_freebsd_elfcore_note_type): Handle | |
4 | NT_FREEBSD_X86_SEGBASES. | |
5 | ||
add0eb9d NC |
6 | 2022-03-31 Nick Clifton <nickc@redhat.com> |
7 | ||
8 | * arlex.l: Accept the plus character as part of a filename. | |
9 | ||
260ecdce FS |
10 | 2022-03-16 Fangrui Song <maskray@google.com> |
11 | ||
12 | PR binutils/28926 | |
13 | * objcopy.c (filter_symbols): Apply weaken to STB_GNU_UNIQUE symbols | |
14 | * NEWS: Mention feature. | |
15 | * testsuite/binutils-all/objcopy.exp (objcopy_test_symbol_manipulation): New test. | |
16 | * testsuite/binutils-all/weaken-gnu-unique.s: New. | |
17 | ||
d65c0ddd MS |
18 | 2022-03-16 Martin Storsjö <martin@martin.st> |
19 | ||
20 | PR 28885 | |
21 | * dlltool.c (main): use imp_name rather than dll_name when | |
22 | generating a temporary file name. | |
23 | ||
0c857ef4 SM |
24 | 2022-03-16 Simon Marchi <simon.marchi@efficios.com> |
25 | ||
26 | * readelf.c (dump_relocations): Handle EM_AMDGPU. | |
27 | ||
2952f10c SM |
28 | 2022-03-16 Simon Marchi <simon.marchi@efficios.com> |
29 | ||
30 | * Makefile.am (readelf_CFLAGS): New. | |
31 | (readelf_LDADD): Add MSGPACK_LIBS. | |
32 | * Makefile.in: Re-generate. | |
33 | * config.in: Re-generate. | |
34 | * configure: Re-generate. | |
35 | * configure.ac: Add --with-msgpack flag and check for msgpack | |
36 | using pkg-config. | |
37 | * readelf.c: Include msgpack.h if HAVE_MSGPACK. | |
38 | (print_note_contents_hex): New. | |
39 | (print_indents): New. | |
40 | (dump_msgpack_obj): New. | |
41 | (dump_msgpack): New. | |
42 | (print_amdgpu_note): New. | |
43 | (process_note): Handle NT_AMDGPU_METADATA note contents. | |
44 | Use print_note_contents_hex. | |
45 | ||
28cdbb18 SM |
46 | 2022-03-16 Simon Marchi <simon.marchi@efficios.com> |
47 | ||
48 | * readelf.c (get_amdgpu_elf_note_type): New. | |
49 | (process_note): Handle "AMDGPU" notes. | |
50 | ||
c077c580 SM |
51 | 2022-03-16 Simon Marchi <simon.marchi@efficios.com> |
52 | ||
53 | * readelf.c: Include elf/amdgcn.h. | |
54 | (decode_AMDGPU_machine_flags): New. | |
55 | (get_machine_flags): Handle flags for EM_AMDGPU machine type. | |
56 | ||
37870be8 SM |
57 | 2022-03-16 Simon Marchi <simon.marchi@efficios.com> |
58 | ||
59 | * readelf.c (get_osabi_name): Handle EM_AMDGPU OS ABIs. | |
60 | ||
f4f95df3 NC |
61 | 2022-03-16 Nick Clifton <nickc@redhat.com> |
62 | ||
63 | * po/sr.po: Updated Serbian translation. | |
64 | ||
cda8dc94 TT |
65 | 2022-03-15 Tom Tromey <tromey@adacore.com> |
66 | ||
67 | * dwarf-mode.el: Now 1.7. | |
68 | (dwarf--sentinel): Switch to the process buffer. | |
69 | ||
bb368aad VM |
70 | 2022-03-11 Vladimir Mezentsev <vladimir.mezentsev@oracle.com> |
71 | ||
72 | * MAINTAINERS: Add gprofng maintainer. | |
73 | * README-how-to-make-a-release: Add gprofng. | |
74 | ||
bed566bb NC |
75 | 2022-03-10 Nick Clifton <nickc@redhat.com> |
76 | ||
77 | * dwarf.c (use_debuginfod): New variable. Set to 1. | |
78 | (load_separate_debug_info): Only call | |
79 | debuginfod_fetch_separate_debug_info is use_debuginfod is true. | |
80 | (dwarf_select_sections_by_names): Add do-not-use-debuginfod and | |
81 | use-debuginfod options. | |
82 | (dwarf_select_sections_by_letters): Add D and E options. | |
83 | * dwarf.h (use_debuginfod): New extern. | |
84 | * objdump.c (usage): Mention the new options. | |
85 | * readelf.c (usage): Likewise. | |
86 | * doc/binutils.texi: Document the new options. | |
87 | * doc/debug-options.texi: Describe the new options. | |
88 | * NEWS: Mention the new feature. | |
89 | * testsuite/binutils-all/debuginfod.exp: Add tests of the new | |
90 | options. | |
91 | ||
d17e797f MR |
92 | 2021-03-06 Maciej W. Rozycki <macro@orcam.me.uk> |
93 | ||
94 | * testsuite/binutils-all/mips/mips1-branch-alias.d: New test. | |
95 | * testsuite/binutils-all/mips/mips1-branch-noalias.d: New test. | |
96 | * testsuite/binutils-all/mips/mips2-branch-alias.d: New test. | |
97 | * testsuite/binutils-all/mips/mips2-branch-noalias.d: New test. | |
98 | * testsuite/binutils-all/mips/mips32r6-branch-alias.d: New test. | |
99 | * testsuite/binutils-all/mips/mips32r6-branch-noalias.d: New | |
100 | test. | |
101 | * testsuite/binutils-all/mips/micromips-branch-alias.d: New | |
102 | test. | |
103 | * testsuite/binutils-all/mips/micromips-branch-noalias.d: New | |
104 | test. | |
105 | * testsuite/binutils-all/mips/mips-branch-alias.s: New test | |
106 | source. | |
107 | * testsuite/binutils-all/mips/micromips-branch-alias.s: New test | |
108 | source. | |
109 | * testsuite/binutils-all/mips/mips.exp: Run the new tests. | |
110 | ||
84a9f195 SM |
111 | 2022-03-04 Simon Marchi <simon.marchi@polymtl.ca> |
112 | ||
113 | * readelf.c (process_dynamic_section): Fix indentation. | |
114 | ||
0f38fd87 NC |
115 | 2022-02-09 Nick Clifton <nickc@redhat.com> |
116 | ||
117 | * README-how-to-make-a-release: Update after the 2.38 release. | |
118 | ||
5fa0c223 NC |
119 | 2022-01-27 Nick Clifton <nickc@redhat.com> |
120 | ||
121 | * po/sv.po: Updated Swedish translation. | |
122 | ||
5fe73d46 NC |
123 | 2022-01-24 Nick Clifton <nickc@redhat.com> |
124 | ||
125 | * po/bg.po: Updated Bulgarian translation. | |
126 | * po/fr.po: Updated French translation. | |
127 | * po/ro.po: Updated Romanian translation. | |
128 | * po/uk.po: Updated Ukranian translation. | |
129 | ||
58de646b MS |
130 | 2022-01-22 Martin Storsjö <martin@martin.st> |
131 | ||
132 | * dlltool.c (main): Allow inferring tmp_prefix from the dll name | |
133 | from a def file. | |
134 | ||
f908e960 NC |
135 | 2022-01-22 Nick Clifton <nickc@redhat.com> |
136 | ||
137 | * configure: Regenerate. | |
138 | * po/binutils.pot: Regenerate. | |
139 | ||
a74e1cb3 NC |
140 | 2022-01-22 Nick Clifton <nickc@redhat.com> |
141 | ||
142 | * 2.38 release branch created. | |
143 | ||
6c037fdb NC |
144 | 2022-01-17 Nick Clifton <nickc@redhat.com> |
145 | ||
146 | * Makefile.in: Regenerate. | |
147 | ||
d1b69c50 FS |
148 | 2022-01-11 Fangrui Song <maskray@google.com> |
149 | ||
150 | PR binutils/28759 | |
151 | * ar.c (long_options): Add --thin. | |
152 | (usage) Add --thin. Deprecate -T without diagnostics. | |
153 | * doc/binutils.texi: Add doc. | |
154 | * NEWS: Mention --thin. | |
155 | * binutils/testsuite/binutils-all/ar.exp: Add tests. | |
156 | ||
c4a8df19 MS |
157 | 2022-01-11 Martin Storsjö <martin@martin.st> |
158 | ||
159 | * dlltool.c (main): If a prefix has not been provided, attempt to | |
160 | use a deterministic one based upon the dll name. | |
161 | ||
0e9f1c04 | 162 | 2022-01-07 Pavel Mayorov <pmayorov@cloudlinux.com> |
af4004d1 NC |
163 | |
164 | PR 28718 | |
0e9f1c04 PM |
165 | * dwarf.c: Revert previous delta. |
166 | (debug_get_real_type): Reject indirect types that point to | |
167 | indirect types. | |
168 | (debug_get_type_name, debug_get_type_size, debug_write_type): | |
169 | Likewise. | |
170 | ||
171 | 2022-01-06 Nick Clifton <nickc@redhat.com> | |
172 | ||
af4004d1 NC |
173 | * debug.c (debug_write_type): Allow for malicious recursion via |
174 | indirect debug types. | |
175 | ||
e2c0cef9 NC |
176 | 2022-01-04 Nick Clifton <nickc@redhat.com> |
177 | ||
178 | PR 28716 | |
179 | * dwarf.c (load_build_id_debug_file): Remove spurious printf. | |
180 | ||
61ab1364 NC |
181 | 2021-12-16 Nick Clifton <nickc@redhat.com> |
182 | ||
183 | PR 28697 | |
184 | * dwarf.c (load_build_id_debug_file): New function. | |
185 | (try_build_id_prefix): New function. | |
186 | (check_for_and_load_links): Call load_build_id_debug_file. | |
187 | (debug_displays): Add entry for .note.gnu.build-id. | |
188 | * dwarf.h (enum dwarf_section_display_enum): Add | |
189 | note_gnu_build_id. | |
190 | * testsuite/binutils-all/debuginfod.exp (test_fetch_debuglink): | |
191 | Fix regexp for loads via debuglink section. | |
192 | ||
066624ff CX |
193 | 2021-12-03 Chenghua Xu <xuchenghua@loongson.cn> |
194 | ||
195 | * MAINTAINERS: Add myself and Zhensong Liu | |
196 | as the LoongArch maintainer. | |
197 | ||
117e35f5 NC |
198 | 2021-12-02 Nick Clifton <nickc@redhat.com> |
199 | ||
200 | PR 28645 | |
201 | * dwarf.c (process_cu_tu_index): Add test for overruning section | |
202 | whilst processing slots. | |
203 | ||
6e2acee1 RM |
204 | 2021-11-30 Roland McGrath <mcgrathr@google.com> |
205 | ||
206 | * doc/local.mk: Give each man page target its missing dependency on | |
207 | doc/$(am__dirstamp). | |
208 | ||
9745b5a7 NC |
209 | 2021-11-30 Nick Clifton <nickc@redhat.com> |
210 | ||
211 | * dwarf.c (find_debug_info_for_offset): Use dwarf_vma type for | |
212 | offsets, sizes and ranges. | |
213 | (display_loc_list): Likewise. Also use print_dwarf_vma to print | |
214 | the offset. | |
215 | (display_loclists_list): Likewise. | |
216 | (display_loc_list_dwo): Likewise. | |
217 | (display_debug_str): Likewise. | |
218 | (display_debug_aranges): Likewise. | |
219 | (display_debug_ranges_list): Likewise. | |
220 | (display_debug_rnglists_list): Likewise. | |
221 | (display_debug_ranges): Likewise. | |
222 | ||
8fee99c3 NC |
223 | 2021-11-29 Nick Clifton <nickc@redhat.com> |
224 | ||
225 | PR 28632 | |
226 | * strings.c (usage): Update desciption of -n option. | |
227 | * doc/binutils.texi: Likewise. | |
228 | ||
d8ed269e NC |
229 | 2021-11-24 Nick Clifton <nickc@redhat.com> |
230 | ||
231 | PR 28564 | |
232 | * sysdump.c (getCHARS): Check for an out of bounds read. | |
233 | ||
a7fd1186 FS |
234 | 2021-11-16 Fangrui Song <maskray@google.com> |
235 | ||
236 | * readelf.c (enum relocation_type): New. | |
237 | (slurp_relr_relocs): New. | |
238 | (dump_relocations): Change is_rela to rel_type. | |
239 | Dump RELR. | |
240 | (dynamic_relocations): Add DT_RELR. | |
241 | (process_relocs): Check SHT_RELR and DT_RELR. | |
242 | (process_dynamic_section): Store into dynamic_info for | |
243 | DT_RELR/DT_RELRENT/DT_RELRSZ. | |
244 | ||
b3aa80b4 NC |
245 | 2021-11-09 Nick Clifton <nickc@redhat.com> |
246 | ||
247 | * nm.c: Add --unicode option to control how unicode characters are | |
248 | handled. | |
249 | * objdump.c: Likewise. | |
250 | * readelf.c: Likewise. | |
251 | * strings.c: Likewise. | |
252 | * binutils.texi: Document the new feature. | |
253 | * NEWS: Document the new feature. | |
254 | * testsuite/binutils-all/unicode.exp: New file. | |
255 | * testsuite/binutils-all/nm.hex.unicode | |
256 | * testsuite/binutils-all/strings.escape.unicode | |
257 | * testsuite/binutils-all/objdump.highlight.unicode | |
258 | * testsuite/binutils-all/readelf.invalid.unicode | |
259 | ||
dac784d0 TT |
260 | 2021-11-03 Tom Tromey <tromey@adacore.com> |
261 | ||
262 | * dwarf.c (display_debug_loc): Use section name in warnings. | |
263 | ||
10909ea8 NA |
264 | 2021-10-25 Nick Alcock <nick.alcock@oracle.com> |
265 | ||
266 | * objdump.c (usage): --ctf now has an optional argument. | |
267 | (main): Adjust accordingly. | |
268 | (dump_ctf): Default it. | |
269 | * doc/ctf.options.texi: Adjust. | |
270 | ||
80b56fad NA |
271 | 2021-10-25 Nick Alcock <nick.alcock@oracle.com> |
272 | ||
273 | * objdump.c (usage): --ctf-parent now takes a name, not a section. | |
274 | (dump_ctf): Don't open a separate section; use the parent_name in | |
275 | ctf_dict_open instead. Use ctf_archive_next, not ctf_archive_iter, | |
276 | so we can pass down a member count. | |
277 | (dump_ctf_archive_member): Add the member count; don't return | |
278 | anything. Import parents into children no matter what the | |
279 | parent's name, while still avoiding displaying the header for the | |
280 | common parent name of ".ctf". | |
281 | * readelf.c (usage): Adjust similarly. | |
282 | (dump_section_as_ctf): Likewise. | |
283 | (dump_ctf_archive_member): Likewise. Never stop iterating over | |
284 | archive members, even if ctf_dump of one member fails. | |
285 | * doc/ctf.options.texi: Adjust. | |
286 | ||
cf487499 NC |
287 | 2021-10-19 Nick Clifton <nickc@redhat.com> |
288 | ||
289 | * nm.c (filter_symbols): Test for a NULL name before checking to | |
290 | see if the symbol is __gnu_lto_slim. | |
291 | * objcopy.c (filter_symbols): Likewise. | |
292 | ||
7325ba79 NC |
293 | 2021-09-30 Nick Clifton <nickc@redhat.com> |
294 | ||
295 | * objcopy.c (filter_symbols): Fail if attempting to dredefine | |
296 | symbols in an LTO object file. | |
297 | ||
b9004024 NA |
298 | 2021-09-27 Nick Alcock <nick.alcock@oracle.com> |
299 | ||
300 | * configure: Regenerate. | |
301 | ||
6a7f5766 AB |
302 | 2021-09-20 Andrew Burgess <andrew.burgess@embecosm.com> |
303 | ||
304 | * testsuite/binutils-all/riscv/riscv.exp: New file. | |
305 | * testsuite/binutils-all/riscv/unknown.d: New file. | |
306 | * testsuite/binutils-all/riscv/unknown.s: New file. | |
307 | ||
64dbf74d LM |
308 | 2021-09-07 Luis Machado <luis.machado@linaro.org> |
309 | ||
310 | Revert: [AArch64] MTE corefile support | |
311 | ||
312 | 2021-05-21 Luis Machado <luis.machado@linaro.org> | |
313 | ||
314 | * readelf.c (get_note_type): Handle NT_MEMTAG note types. | |
315 | ||
4f212c55 NC |
316 | 2021-08-11 Nick Clifton <nickc@redhat.com> |
317 | ||
318 | * po/pt.po: Updated Portuguese translation. | |
319 | ||
3ee0cd9e NC |
320 | 2021-08-10 Nick Clifton <nickc@redhat.com> |
321 | ||
322 | * po/sr.po: Updated Serbian translation. | |
323 | ||
c58830e4 NC |
324 | 2021-07-16 Nick Clifton <nickc@redhat.com> |
325 | ||
326 | * po/sv.po: Updated Swedish translation. | |
327 | ||
51d29b8c CC |
328 | 2021-07-14 Clément Chigot <clement.chigot@atos.net> |
329 | ||
330 | * dwarf.h (struct dwarf_section): Add XCOFF name. | |
331 | * dwarf.c (struct dwarf_section_display): Update. | |
332 | * objdump.c (load_debug_section): Add XCOFF name handler. | |
333 | (dump_dwarf_section): Likewise. | |
334 | ||
0200b0fe NC |
335 | 2021-07-12 Nick Clifton <nickc@redhat.com> |
336 | ||
337 | * po/fr.po: Updated French translation. | |
338 | ||
9039747f AM |
339 | 2021-07-10 Alan Modra <amodra@gmail.com> |
340 | ||
341 | PR 28069 | |
342 | * dwarf.c (display_discr_list): Remove assertions. Delete "end" | |
343 | parameter, use initial "data" pointer as the end. Formatting. | |
344 | Don't count down bytes as they are read. | |
345 | (read_and_display_attr_value): Adjust display_discr_list call. | |
346 | (read_and_print_leb128): Don't pass __FILE__ and __LINE__ to | |
347 | report_leb_status. | |
348 | * dwarf.h (report_leb_status): Don't report file and line | |
349 | numbers. Delete file and lnum parameters, | |
350 | (READ_ULEB, READ_SLEB): Adjust. | |
351 | ||
b737d304 RO |
352 | 2021-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
353 | ||
354 | * configure.ac: Check for strnlen declaration. | |
355 | * configure, config.in: Regenerate. | |
356 | ||
40e1d303 AM |
357 | 2021-07-05 Alan Modra <amodra@gmail.com> |
358 | ||
359 | PR 28047 | |
360 | * dwarf.c (get_type_abbrev_from_form): Add cu_end parameter. | |
361 | Check DW_FORM_ref1 etc. arg against cu_end rather than end of | |
362 | section. Adjust all callers. | |
363 | ||
346d80ef NC |
364 | 2021-07-03 Nick Clifton <nickc@redhat.com> |
365 | ||
366 | * configure: Regenerate. | |
367 | * po/opcodes.pot: Regenerate. | |
368 | * README-how-to-make-a-release: Update. | |
369 | ||
51419248 NC |
370 | 2021-07-03 Nick Clifton <nickc@redhat.com> |
371 | ||
372 | * 2.37 release branch created. | |
373 | ||
4ff0bb2d AM |
374 | 2021-07-02 Alan Modra <amodra@gmail.com> |
375 | ||
376 | PR 28048 | |
377 | * dwarf.c (get_type_signedness): Don't run off end of buffer | |
378 | printing DW_FORM_string attribute. | |
379 | ||
1b8d1f5f NC |
380 | 2021-07-01 Nick Clifton <nickc@redhat.com> |
381 | ||
382 | PR 28029 | |
383 | * testsuite/binutils-all/debuginfod.exp: Replace -wK with -wk. | |
384 | ||
75a2da57 AH |
385 | 2021-07-01 Andrei Homescu <ah@immunant.com> |
386 | ||
387 | * readelf.c (process_archive): Reset file position to the | |
388 | beginning when calling process_object for thin archive members. | |
389 | * testsuite/binutils-all/readelf.exp: Add test. | |
390 | * testsuite/binutils-all/readelf.h.thin: New file. | |
391 | ||
c63fc368 NC |
392 | 2021-06-30 Tom Tromey <tom@tromey.com> |
393 | ||
394 | * dwarf.c (read_and_display_attr_value): Handle | |
395 | DW_FORM_implicit_const. | |
396 | ||
280c57ff RH |
397 | 2021-06-30 Richard Henderson <richard.henderson@linaro.org> |
398 | ||
399 | * dwarf.c (display_debug_frames): Both DW_CFA_def_cfa_sf | |
400 | and DW_CFA_def_cfa_offset_sf have a signed offset. | |
401 | ||
539b54f0 AM |
402 | 2021-06-19 Alan Modra <amodra@gmail.com> |
403 | ||
404 | * dwarf.c (display_debug_lines_decoded): Use memcpy rather than | |
405 | strncpy when trimming file name length to MAX_FILENAME_LENGTH. | |
406 | Don't make an unnecessary copy when length is good. | |
407 | ||
5a767724 L |
408 | 2021-06-18 H.J. Lu <hongjiu.lu@intel.com> |
409 | ||
410 | * readelf.c (print_gnu_property_note): Handle | |
411 | GNU_PROPERTY_UINT32_AND_LO, GNU_PROPERTY_UINT32_AND_HI, | |
412 | GNU_PROPERTY_UINT32_OR_LO and GNU_PROPERTY_UINT32_OR_HI. | |
413 | ||
c8795e1f NC |
414 | 2021-06-15 Nick Clifton <nickc@redhat.com> |
415 | ||
416 | * readelf.c (get_note_type): Add support for NT_GO_BUILDID. | |
417 | ||
93df3340 AM |
418 | 2021-06-15 Alan Modra <amodra@gmail.com> |
419 | ||
420 | * readelf.c (locate_dynamic_section, is_pie): New functions. | |
421 | (get_file_type): Replace e_type parameter with filedata. Call | |
422 | is_pie for ET_DYN. Update all callers. | |
423 | (process_program_headers): Use local variables dynamic_addr and | |
424 | dynamic_size, updating filedata on exit from function. Set | |
425 | dynamic_size of 1 to indicate no dynamic section or segment. | |
426 | Update tests of dynamic_size throughout. | |
427 | * testsuite/binutils-all/x86-64/pr27708.dump: Update expected output. | |
428 | ||
0121f438 EB |
429 | 2021-06-14 Eric Botcazou <ebotcazou@adacore.com> |
430 | ||
431 | * dwarf.c (struct abbrev_attr): Change type of implicit_const. | |
432 | (add_abbrev_attr): Likewise. | |
433 | (process_abbrev_set): Likewise. | |
434 | (display_debug_abbrev): Adjust to above change. | |
435 | ||
8c60e272 AM |
436 | 2021-06-12 Alan Modra <amodra@gmail.com> |
437 | ||
438 | * readelf.c (process_file_header): Don't clear section_headers. | |
439 | ||
e331b18d AM |
440 | 2021-06-12 Alan Modra <amodra@gmail.com> |
441 | ||
442 | * readelf.c (get_section_headers): Don't test e_shoff here, leave | |
443 | that to get_32bit_section_headers or get_64bit_section_headers. | |
444 | (process_object): Throw away section header read to print file | |
445 | header extension. | |
446 | ||
066f8fbe AM |
447 | 2021-06-11 Alan Modra <amodra@gmail.com> |
448 | ||
449 | * readelf.c (struct filedata): Move archive_file_offset and | |
450 | archive_file_size earlier. | |
451 | (free_filedata): Clear using memset. | |
452 | ||
4de91c10 AM |
453 | 2021-06-11 Alan Modra <amodra@gmail.com> |
454 | ||
455 | * readelf.c (GET_ELF_SYMBOLS): Delete. Replace with.. | |
456 | (get_elf_symbols): ..this new function throughout. | |
457 | (get_32bit_section_headers): Don't free section_headers. | |
458 | (get_64bit_section_headers): Likewise. | |
459 | (get_section_headers): New function, use throughout in place of | |
460 | 32bit and 64bit variants. | |
461 | (get_dynamic_section): Similarly. | |
462 | (process_section_headers): Don't free filedata memory here. | |
463 | (get_file_header): Don't get section headers here.. | |
464 | (process_object): ..Read them here instead. Don't exit without | |
465 | freeing filedata memory. | |
466 | ||
cc96519f NC |
467 | 2021-06-09 Nick Clifton <nickc@redhat.com> |
468 | ||
469 | * MAINTAINERS: Remove Daniel Jacobwitz from the maintainers list. | |
470 | ||
6bee34a1 JB |
471 | 2021-06-07 Jan Beulich <jbeulich@suse.com> |
472 | ||
473 | * dwarf.c (display_debug_aranges): Add u suffix to constant. | |
474 | ||
63e47e10 AM |
475 | 2021-05-29 Alan Modra <amodra@gmail.com> |
476 | ||
477 | * objdump (usage): Add missing \n. | |
478 | ||
d6249f5f AM |
479 | 2021-05-29 Alan Modra <amodra@gmail.com> |
480 | ||
481 | * readelf.c (parse_args): Call dwarf_select_sections_all on | |
482 | --debug-dump without optarg. | |
483 | (usage): Associate -w and --debug-dump options closely. | |
484 | Split up help message. Remove extraneous blank lines around | |
485 | ctf help. | |
486 | * objdump.c (usage): Similarly. | |
487 | ||
9204ccd4 MR |
488 | 2021-05-29 Maciej W. Rozycki <macro@orcam.me.uk> |
489 | ||
490 | * testsuite/binutils-all/mips/mips-xpa-virt-1.d: Correct CFC0 | |
491 | operand disassembly. | |
492 | * testsuite/binutils-all/mips/mips-xpa-virt-3.d: Likewise. | |
493 | ||
9623cc5d MR |
494 | 2021-05-29 Maciej W. Rozycki <macro@orcam.me.uk> |
495 | ||
496 | * testsuite/binutils-all/mips/mips-xpa-virt-1.d: Use `mips:3000' | |
497 | machine for disassembly. | |
498 | * testsuite/binutils-all/mips/mips-xpa-virt-2.d: Likewise. | |
499 | * testsuite/binutils-all/mips/mips-xpa-virt-3.d: Likewise. | |
500 | * testsuite/binutils-all/mips/mips-xpa-virt-4.d: Likewise. | |
501 | ||
1273b2f8 L |
502 | 2021-05-28 H.J. Lu <hongjiu.lu@intel.com> |
503 | ||
504 | PR ld/27905 | |
505 | * readelf.c (decode_x86_feature_2): Revert commit 50c95a739c9. | |
506 | ||
6643bb00 AM |
507 | 2021-05-27 Alan Modra <amodra@gmail.com> |
508 | ||
509 | * readelf (usage): Order -w letters to match --debug-dump= and | |
510 | move common '=' for --debug-dump out of brackets. | |
511 | ||
50c95a73 L |
512 | 2021-05-26 H.J. Lu <hongjiu.lu@intel.com> |
513 | ||
514 | PR ld/27905 | |
515 | * readelf.c (decode_x86_feature_2): Support | |
516 | GNU_PROPERTY_X86_FEATURE_2_CODE16. | |
517 | ||
01a8c731 CX |
518 | 2021-05-23 Tiezhu Yang <yangtiezhu@loongson.cn> |
519 | ||
520 | * readelf.c (get_machine_name): Change Loongson Loongarch to | |
521 | LoongArch. | |
522 | ||
3b2bef8b LM |
523 | 2021-05-21 Luis Machado <luis.machado@linaro.org> |
524 | ||
525 | * readelf.c (get_note_type): Add missing NT_ARM_* entries. | |
526 | ||
894982bf LM |
527 | 2021-05-21 Luis Machado <luis.machado@linaro.org> |
528 | ||
529 | * readelf.c (get_note_type): Handle NT_MEMTAG note types. | |
530 | ||
c485e475 ES |
531 | 2021-05-19 Eli Schwartz <eschwartz@archlinux.org> |
532 | ||
533 | * dwarf.c (ENABLE_CHECKING): Define to 0 if not previously set. | |
534 | ||
1b3892be AM |
535 | 2021-05-19 Alan Modra <amodra@gmail.com> |
536 | ||
537 | PR 27884 | |
538 | * dwarf.c (get_type_abbrev_from_form): Replace cu_offset_return | |
539 | param with map_return, and return map for DW_FORM_ref_addr. | |
540 | (get_type_signedness): Adjust calls to get_type_abbrev_from_form. | |
541 | Pass returned cu map start and end to recursive call. | |
542 | (read_and_display_attr_value): Similarly. | |
543 | ||
9d9e2a34 AM |
544 | 2021-05-19 Alan Modra <amodra@gmail.com> |
545 | ||
546 | PR 27879 | |
547 | * sysdump.c (getBARRAY): Sanity check size against max. | |
548 | (getINT): Avoid UB shift left. | |
549 | ||
b9c0d703 AM |
550 | 2021-05-15 Alan Modra <amodra@gmail.com> |
551 | ||
552 | * dwarf.c (process_cu_tu_index): Avoid pointer UB. Use _mul_overflow. | |
553 | Delete dead code. | |
554 | ||
bb19bf12 AM |
555 | 2021-05-15 Alan Modra <amodra@gmail.com> |
556 | ||
557 | * dwarf.c (display_gdb_index): Avoid pointer UB and overflow in | |
558 | length calculations. | |
559 | ||
d7870f63 AM |
560 | 2021-05-15 Alan Modra <amodra@gmail.com> |
561 | ||
562 | * dwarf.c (display_debug_names): Complain when header length is | |
563 | too small. Avoid pointer UB. Sanity check augmentation string, | |
564 | CU table, TU table and foreign TU table sizes. | |
565 | ||
5897a389 AM |
566 | 2021-05-15 Alan Modra <amodra@gmail.com> |
567 | ||
568 | * dwarf.c (display_debug_frames): Delete initial_length_size. | |
569 | Avoid pointer UB. Constrain data reads to length given in header. | |
570 | Sanity check cie header length. Only skip up to next FDE on | |
571 | finding augmentation data too long. | |
572 | ||
c93c4a85 AM |
573 | 2021-05-15 Alan Modra <amodra@gmail.com> |
574 | ||
575 | * dwarf.c (read_cie): Add more sanity checks to ensure data | |
576 | pointer is not bumped past end. | |
577 | ||
b4951546 AM |
578 | 2021-05-15 Alan Modra <amodra@gmail.com> |
579 | ||
580 | * dwarf.c (display_debug_ranges): Delete initial_length_size. | |
581 | Correct fallback size calculated on finding a reloc. Constrain | |
582 | data reads to length given in header. Avoid pointer UB. | |
583 | ||
669f463d AM |
584 | 2021-05-15 Alan Modra <amodra@gmail.com> |
585 | ||
586 | * dwarf.c (display_debug_rnglists_list): Avoid pointer UB. | |
587 | ||
5250d2f0 AM |
588 | 2021-05-15 Alan Modra <amodra@gmail.com> |
589 | ||
590 | * dwarf.c (display_debug_str_offsets): Constrain reads to length | |
591 | given in header. | |
592 | ||
6ca07350 AM |
593 | 2021-05-15 Alan Modra <amodra@gmail.com> |
594 | ||
595 | * dwarf.c (display_debug_aranges): Delete initial_length_size. | |
596 | Use end_ranges to constrain data reads to header length. Avoid | |
597 | pointer UB. | |
598 | ||
78480097 AM |
599 | 2021-05-15 Alan Modra <amodra@gmail.com> |
600 | ||
601 | * dwarf.c (display_loc_list): Avoid pointer UB. Correct check | |
602 | before reading uleb length. Warn on excess length. | |
603 | ||
b0d461ec AM |
604 | 2021-05-15 Alan Modra <amodra@gmail.com> |
605 | ||
606 | * dwarf.c (display_debug_macro): Print strings that might not | |
607 | be zero terminated with %*s. Don't bump curr if unterminated. | |
608 | ||
46d1214d AM |
609 | 2021-05-15 Alan Modra <amodra@gmail.com> |
610 | ||
611 | * dwarf.c (get_line_filename_and_dirname): Delete initial_length_size. | |
612 | Simplify length sanity check, and check for too small lengths. | |
613 | Constrain data reads to header length. Avoid pointer UB. | |
614 | ||
c03df922 AM |
615 | 2021-05-15 Alan Modra <amodra@gmail.com> |
616 | ||
617 | * dwarf.c (display_debug_macinfo): Print strings that might not | |
618 | be zero terminated with %*s. Don't bump curr if unterminated. | |
619 | ||
35b2c89e AM |
620 | 2021-05-15 Alan Modra <amodra@gmail.com> |
621 | ||
622 | * dwarf.c (display_debug_pubnames_worker): Delete initial_length_size. | |
623 | Simplify length check. Constrain reads to length given by header. | |
624 | ||
56051e28 AM |
625 | 2021-05-15 Alan Modra <amodra@gmail.com> |
626 | ||
627 | * dwarf.c (display_debug_lines_decoded): Don't use strnlen when | |
628 | we have already checked for NUL termination. | |
629 | ||
37195e23 AM |
630 | 2021-05-15 Alan Modra <amodra@gmail.com> |
631 | ||
632 | * dwarf.c (read_debug_line_header): Delete initial_length_size. | |
633 | Avoid pointer UB. Keep within length specified by header. | |
634 | Delete dead code. | |
635 | ||
edba4e4a AM |
636 | 2021-05-15 Alan Modra <amodra@gmail.com> |
637 | ||
638 | * dwarf.c (process_debug_info): Always do the first CU length | |
639 | scan for sanity checks. Remove initial_length_size var and | |
640 | instead calculate end_cu. Use end_cu to limit data reads. | |
641 | Delete now dead code checking length. | |
642 | ||
ebb17864 AM |
643 | 2021-05-15 Alan Modra <amodra@gmail.com> |
644 | ||
645 | * dwarf.c (SAFE_BYTE_GET_INTERNAL): Assert only when ENABLE_CHECKING. | |
646 | ||
fc5e0925 AM |
647 | 2021-05-15 Alan Modra <amodra@gmail.com> |
648 | ||
649 | * bucomm.h (_mul_overflow): Define. | |
650 | * dwarf.c (get_encoded_value): Avoid pointer UB. | |
651 | ||
b96a1bcb AM |
652 | 2021-05-13 Alan Modra <amodra@gmail.com> |
653 | ||
654 | PR 27861 | |
655 | * dwarf.c (display_debug_str_offsets): Sanity check dwarf5 | |
656 | header length. | |
657 | ||
d21f875d AM |
658 | 2021-05-13 Alan Modra <amodra@gmail.com> |
659 | ||
660 | PR 27860 | |
661 | * dwarf.c (display_debug_frames): Sanity check cie_off before | |
662 | attempting to read cie. | |
663 | ||
a7077ce7 AM |
664 | 2021-05-12 Alan Modra <amodra@gmail.com> |
665 | ||
666 | * dwarf.c (process_extended_line_op): Don't bump data pointer past | |
667 | end when strnlen doesn't find string terminator. | |
668 | (decode_location_expression): Remove dead code. | |
669 | (skip_attr_bytes): Remove const from end param. Ensure data | |
670 | pointer doesn't pass end. | |
671 | (get_type_signedness): Remove const from end param. | |
672 | (read_and_display_attr_value): Ensure data pointer doesn't pass end. | |
673 | (display_debug_lines_raw, display_debug_lines_decoded): Likewise. | |
674 | (display_debug_pubnames_worker): Likewise. | |
675 | (display_debug_pubnames_worker): Use SAFE_BYTE_GET_AND INC rather | |
676 | than blindly incrementing data pointer. | |
677 | (display_debug_addr, display_debug_str_offsets): Likewise. Don't | |
678 | compare pointers, compare lengths. | |
679 | ||
6d1ad6f7 AM |
680 | 2021-05-12 Alan Modra <amodra@gmail.com> |
681 | ||
682 | * dwarf.c (SAFE_BYTE_GET_INTERNAL): Define. | |
683 | (SAFE_BYTE_GET, SAFE_BYTE_GET_AND_INC): Define using the above. | |
684 | (SAFE_SIGNED_BYTE_GET, SAFE_SIGNED_BYTE_GET_AND_INC): Likewise. | |
685 | (display_discr_list): Use SAFE_BYTE_GET_AND_INC rather than | |
686 | SAFE_BYTE_GET followed by increment. | |
687 | (process_debug_info): Likewise, and test bytes remaining before | |
688 | incrementing section_begin rather than using pointer comparison. | |
689 | (display_debug_names): Pass lvalue as SAFE_BYTE_GET PTR. | |
690 | (process_cu_tu_index): Likewise for SAFE_BYTE_GET_AND_INC. | |
691 | ||
af2ddf69 AM |
692 | 2021-05-12 Alan Modra <amodra@gmail.com> |
693 | ||
694 | * dwarf.c (dwarf_vmatoa64, SAFE_BYTE_GET64, add64): Delete. | |
695 | (skip_attr_bytes): Replace use of SAFE_BYTE_GET64 with | |
696 | SAFE_BYTE_GET_AND_INC. | |
697 | (read_and_display_attr_value): Likewise. Print using dwarf_vmatoa. | |
698 | (process_debug_info, process_cu_tu_index): Likewise. | |
699 | * elfcomm.c (byte_put, byte_put_little_endian, byte_put_big_endian), | |
700 | (byte_get, byte_get_little_endian, byte_get_big_endian), | |
701 | (byte_get_signed): Make size param unsigned. Remove code dealing | |
702 | with 4-byte elf_vma. | |
703 | (byte_get_64): Delete. | |
704 | * elfcomm.h (byte_put, byte_put_little_endian, byte_put_big_endian), | |
705 | (byte_get, byte_get_little_endian, byte_get_big_endian), | |
706 | (byte_get_signed): Update prototypes. | |
707 | (byte_get_64): Delete. | |
708 | ||
0d872fca AM |
709 | 2021-05-12 Alan Modra <amodra@gmail.com> |
710 | ||
711 | PR 27836 | |
712 | * dwarf.c (display_debug_frames): Don't compare pointers derived | |
713 | from user input. Test offset against bounds instead. | |
714 | ||
55b26492 AM |
715 | 2021-05-12 Alan Modra <amodra@gmail.com> |
716 | ||
717 | PR 27853 | |
718 | * dwarf.c (display_formatted_table): Test for data >= end rather | |
719 | than data == end. | |
720 | (process_extended_line_op): Likewise. | |
721 | (display_debug_lines_raw): Likewise. | |
722 | (display_debug_lines_decoded): Likewise. | |
723 | ||
5ab39075 AM |
724 | 2021-05-12 Alan Modra <amodra@gmail.com> |
725 | ||
726 | PR 27849 | |
727 | * dwarf.c (fetch_indexed_string): Correct length sanity checks. | |
728 | Sanity check section size for version and padding too. Correct | |
729 | index sanity check. Handle multiple tables in .debug_str_offsets. | |
730 | ||
d30182b5 HPN |
731 | 2021-05-11 Hans-Peter Nilsson <hp@axis.com> |
732 | ||
733 | * dwarf.c (process_abbrev_set): Properly parenthesize before | |
734 | casting to unsigned long. | |
735 | ||
f2f9554b AM |
736 | 2021-05-11 Alan Modra <amodra@gmail.com> |
737 | ||
738 | PR 27845 | |
739 | * dwarf.c (process_abbrev_set): Replace start and end parameters | |
740 | with section, abbrev_base, abbrev_size, abbrev_offset. Update | |
741 | all callers. Sanity check parameters correctly and emit warnings | |
742 | here rather than.. | |
743 | (process_debug_info): ..here. | |
744 | ||
749c7002 TW |
745 | 2021-05-10 Thomas Wolff <towo@towo.net> |
746 | ||
747 | PR 4356 | |
748 | PR 26865 | |
749 | PR 27594 | |
750 | * windres.c (quot): Revert previous delta. Do not use double | |
751 | quotes when spaces are detected in options. | |
752 | * doc/binutils.texi (windres): Remove suggestion that the | |
753 | --preprocessor option can take arguments. | |
754 | ||
2d4b4986 AM |
755 | 2021-05-10 Alan Modra <amodra@gmail.com> |
756 | ||
757 | * dwarf.c (SAFE_BYTE_GET): Check bounds by subtracting amount from | |
758 | END rather than adding amount to PTR. | |
759 | (SAFE_SIGNED_BYTE_GET, SAFE_BYTE_GET64): Likewise. | |
760 | ||
b05a0fc7 AM |
761 | 2021-05-09 Alan Modra <amodra@gmail.com> |
762 | ||
763 | * objcopy.c (eq_string): Delete. | |
764 | (create_symbol_htab): Use htab_eq_string. | |
765 | ||
354c317e MF |
766 | 2021-05-08 Mike Frysinger <vapier@gentoo.org> |
767 | ||
768 | * README-how-to-make-a-release: Update html & pdf entries. | |
769 | ||
cf758b39 MF |
770 | 2021-05-08 Mike Frysinger <vapier@gentoo.org> |
771 | ||
772 | * doc/Makefile.am (html-local, binutils/index.html): New targets. | |
773 | * doc/Makefile.in: Regenerate. | |
774 | ||
2faf902d MF |
775 | 2021-05-08 Mike Frysinger <vapier@gentoo.org> |
776 | ||
777 | * doc/Makefile.am (AM_MAKEINFOFLAGS): Add --no-split. | |
778 | * doc/Makefile.in: Regenerate. | |
779 | ||
3ecc00ec NC |
780 | 2021-05-07 Nick Clifton <nickc@redhat.com> |
781 | ||
782 | * readelf.c (no_processor_specific_unwind): New function. | |
783 | (process_unwind): Use no_processor_specific_unwind for X86 | |
784 | targets. | |
785 | ||
4896932e MF |
786 | 2021-05-07 Michael Forney <mforney@mforney.org> |
787 | ||
788 | * dwarf.c: Don't omit second operand of '?' operator. | |
789 | ||
bfbfa6e7 NC |
790 | 2021-04-30 Nick Clifton <nickc@redhat.com> |
791 | ||
792 | PR 27796 | |
793 | * dwarf.c (load_debug_sup_file): Allocate memory for filename in | |
794 | .debug_sup section. | |
795 | ||
5edb8e3f NC |
796 | 2021-04-29 Nick Clifton <nickc@redhat.com> |
797 | ||
798 | PR 27594 | |
799 | * doc/binutils.texi (windres): Correct the description of the | |
800 | default value of the --preprocessor argument. | |
801 | ||
3d64c987 NC |
802 | 2021-04-27 Nick Clifton <nickc@redhat.com> |
803 | ||
804 | PR 27779 | |
805 | * dwarf.c (parse_gnu_debuglink): Reject empty names. | |
806 | (parse_gnu_debugaltlink): Likewise. | |
807 | ||
b11b2969 CC |
808 | 2021-04-22 Clément Chigot <clement.chigot@atos.net> |
809 | ||
810 | * od-xcoff.c (dump_xcoff32_symbols): Adapt to new | |
811 | aux structures. | |
812 | ||
047c3dbf NL |
813 | 2021-04-21 Nick Lott <nick.lott@gmail.com> |
814 | ||
815 | PR 27672 | |
816 | * readelf.c (sym_base): New variable. | |
817 | (enum print_mode): Add more modes. | |
818 | (print_vma): Add suport for new modes. | |
819 | (options): Add sym-base. | |
820 | (usage): Add sym-base. | |
821 | (parse_args): Add support for --sym-base. | |
822 | (print_dynamic_symbol_size): New function. | |
823 | (print_dynamic_symbol): Use new function. | |
824 | * doc/binutils.texi: Document the new feature. | |
825 | * NEWS: Mention the new feature. | |
826 | ||
23356397 NC |
827 | 2021-04-21 Nick Clifton <nickc@redhat.com> |
828 | ||
829 | * testsuite/binutils-all/mips/global-local-symtab-sort-n64t.d: | |
830 | Adjust expected output to allow for named section symbols. | |
831 | * testsuite/binutils-all/mips/global-local-symtab-sort-o32t.d: | |
832 | Likewise. | |
833 | * testsuite/binutils-all/readelf.s-64: Likewise. | |
834 | * testsuite/binutils-all/readelf.ss-64-unused: Likewise. | |
835 | * testsuite/binutils-all/readelf.ss-tmips: Likewise. | |
836 | * testsuite/binutils-all/readelf.ss-unused: Likewise. | |
837 | ||
838 | 2021-04-21 Luo Longjun <luolongjun@huawei.com> | |
839 | ||
840 | * readelf.c (print_dynamic_symbol): Print the section name for | |
841 | section symbols without a name of their own. | |
842 | ||
aee4e85e AK |
843 | 2021-04-20 Andreas Krebbel <krebbel@linux.ibm.com> |
844 | ||
845 | * MAINTAINERS: Remove Martin Schwidefsky as s390 maintainer and | |
846 | add him to Past Maintainers. | |
847 | Update my email address. | |
848 | ||
229597a1 NC |
849 | 2021-04-19 Nick Clifton <nickc@redhat.com> |
850 | ||
851 | PR 21702 | |
852 | * arsup.c (ar_addmod): Enable plugin support, if available. | |
853 | ||
4dee4f3e NC |
854 | 2021-04-19 Nick Clifton <nickc@redhat.com> |
855 | ||
856 | * rename.c: (get_stat_atime_ns): Add prototype. | |
857 | (get_stat_mtime_ns): Add prototype. | |
858 | ||
ad7c4616 AM |
859 | 2021-04-16 Alan Modra <amodra@gmail.com> |
860 | ||
861 | PR 27725 | |
862 | * rename.c (get_stat_atime, get_stat_mtime): Make static. | |
863 | (get_stat_atime_ns, get_stat_mtime_ns): Likewise. | |
864 | ||
4c79248a PS |
865 | 2021-04-15 Pekka Seppänen <pexu@sourceware.mail.kapsi.fi> |
866 | ||
867 | PR 27725 | |
868 | * rename.c (get_stat_atime_ns): Add ATTRIBUTE_UNUSED. | |
869 | (get_stat_mtime_ns): Likewise. | |
870 | ||
985e0264 AM |
871 | 2021-04-15 Alan Modra <amodra@gmail.com> |
872 | ||
873 | PR 27725 | |
874 | * configure.ac: Check for sys/time.h and utimensat. Use standard | |
875 | checks for mkstemp and mkdtemp. Whitespace. Check for nanosecond | |
876 | members of struct stat. | |
877 | * rename.c: Prefer sys/time.h for utimes over utime.h for utime. | |
878 | (STAT_TIMESPEC, STAT_TIMESPEC_NS): Define | |
879 | (get_stat_atime_ns, get_stat_mtime_ns): New inline functions. | |
880 | (get_stat_atime, get_stat_mtime): Likewise. | |
881 | (set_times): Choose first available of utimensat, utimes, utime. | |
882 | Use above inline functions to set timespec and timeval values. | |
883 | * configure: Regenerate. | |
884 | * config.in: Regenerate. | |
885 | * testsuite/binutils-all/objcopy.exp (objcopy_test): Add test of | |
886 | file timestamp when --preserve-dates is used. | |
887 | ||
d0ecdcdd AM |
888 | 2021-04-15 Alan Modra <amodra@gmail.com> |
889 | ||
890 | PR 27456 | |
891 | * rename.c (smart_rename): When TO and FROM are equal, just set | |
892 | file timestamp. | |
893 | * objcopy.c (strip_main, copy_main): Always call smart_rename. | |
894 | ||
9917b559 L |
895 | 2021-04-14 H.J. Lu <hongjiu.lu@intel.com> |
896 | ||
897 | PR binutils/27708 | |
898 | * testsuite/binutils-all/x86-64/pr27708.dump: New file. | |
899 | * testsuite/binutils-all/x86-64/pr27708.exe.bz2: Likewise. | |
900 | * testsuite/binutils-all/x86-64/x86-64.exp: Run binutils/27708 | |
901 | test. | |
902 | ||
6be872a4 MH |
903 | 2021-04-14 Mark Harmstone <mark@harmstone.com> |
904 | ||
905 | PR 27686 | |
906 | * resbin.c (bin_to_res_version): Ignore any trailing bytes at the | |
907 | end of the structure. | |
908 | ||
5f47741b FC |
909 | 2021-04-14 Frederic Cambus <fred@statdns.com> |
910 | ||
911 | * readelf.c (get_netbsd_elfcore_note_type): Remove unneeded #ifdef | |
912 | checks for NT_NETBSDCORE_AUXV and NT_NETBSDCORE_LWPSTATUS. | |
913 | ||
13acb58d AM |
914 | 2021-04-14 Alan Modra <amodra@gmail.com> |
915 | ||
916 | PR 27716 | |
917 | * objdump.c (show_line): Don't limit paths to PATH_MAX. | |
918 | * readelf.c (struct filedata): Change program_interpreter from | |
919 | a char array to a char pointer. | |
920 | (process_program_headers): Sanity check PT_INTERP p_filesz. | |
921 | Malloc program_interpreter using p_filesz and read directly from | |
922 | file. | |
923 | (process_dynamic_section): Check program_interpreter is non-NULL. | |
924 | (free_filedata): New function, split out from.. | |
925 | (process_object): ..here. | |
926 | (close_debug_file): Call free_filedata. | |
927 | * sysdep.h: Don't include sys/param.h. | |
928 | (PATH_MAX): Don't define. | |
929 | * configure.ac: Don't check for sys/param.h. | |
930 | * configure: Regenerate. | |
931 | ||
0fa29e2d FC |
932 | 2021-04-13 Frederic Cambus <fred@statdns.com> |
933 | ||
934 | * readelf.c (process_netbsd_elf_note): Remove now unneeded #ifdef | |
935 | check for NT_NETBSD_PAX. | |
936 | ||
43e05cd4 AM |
937 | 2021-04-12 Alan Modra <amodra@gmail.com> |
938 | ||
939 | * configure.ac (--enable-checking): Add support. | |
940 | * config.in: Regenerate. | |
941 | * configure: Regenerate. | |
942 | ||
c3f72de4 AM |
943 | 2021-04-09 Alan Modra <amodra@gmail.com> |
944 | ||
945 | * objdump.c (struct objdump_disasm_info): Delete dynrelbuf and | |
946 | dynrelcount. | |
947 | (find_symbol_for_address): Adjust for dynrelbuf and dynrelcount move. | |
948 | (disassemble_section, disassemble_data): Likewise. | |
949 | ||
a2e66773 AM |
950 | 2021-04-06 Alan Modra <amodra@gmail.com> |
951 | ||
952 | * objdump.c (objdump_symbol_at_address): Return asymbol*. | |
953 | ||
4db29512 AM |
954 | 2021-04-06 Alan Modra <amodra@gmail.com> |
955 | ||
956 | * NEWS: Mention C99 requirement. | |
957 | * README: Likewise. Modernise examples and "Reporting bugs". | |
958 | ||
87b9f255 AM |
959 | 2021-04-05 Alan Modra <amodra@gmail.com> |
960 | ||
961 | * configure.ac: Assume long long is available. Don't test for | |
962 | strings.h, stdlib.h, limits.h, locale.h, or wchar.h. Check | |
963 | inttypes.h, stdint.h, sys/stat.h and sys/types.h. Don't check for | |
964 | strcoll, setlocale, setmode or location of time_t. Don't check | |
965 | for fprintf, getenv, snprintf, strnlen, strstr or vsnprintf decls. | |
966 | (AC_ISC_POSIX, AXC_HEADER_STRING, AC_FUNC_ALLOCA): Don't invoke. | |
967 | * sysdep.h: Don't include alloca-conf.h, include config.h instead. | |
968 | Test HAVE_SYS_TYPES_H and reorder includes. Include limits.h, | |
969 | locale.h, string.h and stdlib.h unconditionally. Remove various | |
970 | fallback declarations. Assume long long is available. | |
971 | * addr2line.c: Don't test HAVE_SETLOCALE. | |
972 | * ar.c: Likewise. | |
973 | * coffdump.c: Likewise. | |
974 | * dlltool.c: Likewise. | |
975 | * dllwrap.c: Likewise. | |
976 | * elfedit.c: Likewise. | |
977 | * nm.c: Likewise. | |
978 | * objcopy.c: Likewise. | |
979 | * objdump.c: Likewise. | |
980 | * readelf.c: Likewise. | |
981 | * size.c: Likewise. | |
982 | * srconv.c: Likewise. | |
983 | * strings.c: Likewise. | |
984 | * sysdump.c: Likewise. | |
985 | * windmc.c: Likewise. | |
986 | * windres.c: Likewise. | |
987 | * bucomm.c: Don't test HAVE_TIME_T_IN_TIME_H or HAVE_TIME_T_IN_TYPES_H. | |
988 | * dwarf.c: Include limits.h unconditionally. Assume long long | |
989 | is available. | |
990 | * nm.c: Don't test HAVE_STRCOLL. | |
991 | * readelf.c: Don't test HAVE_WCHAR_H. | |
992 | * strings.c: Assume long long is available. | |
993 | * syslex.l: Include string.h unconditionally. | |
994 | * aclocal.m4: Regenerate. | |
995 | * config.in: Regenerate. | |
996 | * configure: Regenerate. | |
997 | * Makefile.in: Regenerate. | |
998 | * doc/Makefile.in: Regenerate. | |
999 | ||
e9b095a5 ML |
1000 | 2021-04-01 Martin Liska <mliska@suse.cz> |
1001 | ||
1002 | * elfcomm.h (strneq): Remove strneq and use startswith. | |
1003 | * readelf.c (ia64_process_unwind): Likewise. | |
1004 | (process_note): Likewise. | |
1005 | ||
3f3328b8 ML |
1006 | 2021-04-01 Martin Liska <mliska@suse.cz> |
1007 | ||
1008 | * dllwrap.c: Use startswith function. | |
1009 | * objcopy.c (is_dwo_section): Likewise. | |
1010 | (handle_remove_section_option): Likewise. | |
1011 | (copy_main): Likewise. | |
1012 | * objdump.c (is_significant_symbol_name): Likewise. | |
1013 | ||
24d127aa ML |
1014 | 2021-04-01 Martin Liska <mliska@suse.cz> |
1015 | ||
1016 | * dwarf.c (display_debug_lines_raw): Replace const_strneq with | |
1017 | startswith. | |
1018 | (display_debug_lines_decoded): Likewise. | |
1019 | (display_debug_links): Likewise. | |
1020 | * elfcomm.c (setup_archive): Likewise. | |
1021 | * elfcomm.h (const_strneq): Likewise. | |
1022 | * readelf.c (process_section_headers): Likewise. | |
1023 | (slurp_ia64_unwind_table): Likewise. | |
1024 | (slurp_hppa_unwind_table): Likewise. | |
1025 | (decode_arm_unwind): Likewise. | |
1026 | (display_debug_section): Likewise. | |
1027 | (process_note): Likewise. | |
1028 | ||
015dc7e1 AM |
1029 | 2021-03-31 Alan Modra <amodra@gmail.com> |
1030 | ||
1031 | * sysdep.h (POISON_BFD_BOOLEAN): Define. | |
1032 | * addr2line.c, * ar.c, * arsup.c, * bfdtest2.c, * binemul.c, | |
1033 | * binemul.h, * bucomm.c, * bucomm.h, * budbg.h, * coffgrok.c, | |
1034 | * debug.c, * debug.h, * dlltool.c, * dwarf.c, * dwarf.h, | |
1035 | * elfedit.c, * emul_aix.c, * mclex.c, * nm.c, * objcopy.c, | |
1036 | * objdump.c, * od-macho.c, * prdbg.c, * rdcoff.c, * rddbg.c, | |
1037 | * readelf.c, * rename.c, * stabs.c, * strings.c, * windint.h, | |
1038 | * windmc.c, * windmc.h, * windres.c, * winduni.c, | |
1039 | * wrstabs.c: Replace bfd_boolean with bool, FALSE with false, | |
1040 | and TRUE with true throughout. | |
1041 | ||
3dfb1b6d AM |
1042 | 2021-03-31 Alan Modra <amodra@gmail.com> |
1043 | ||
1044 | * coffdump.c: Include stdint.h in place of bfd_stdint.h. | |
1045 | * dwarf.c: Likewise. | |
1046 | ||
57ae980e AM |
1047 | 2021-03-31 Alan Modra <amodra@gmail.com> |
1048 | ||
1049 | * prdbg.c (pr_function_type): Replace LITSTTCPY with strcpy. | |
1050 | ||
63b4cc53 AM |
1051 | 2021-03-29 Alan Modra <amodra@gmail.com> |
1052 | ||
1053 | * dlltool.c (main): Don't use "boolean_condition ? TRUE : FALSE". | |
1054 | * dwarf.c (read_and_display_attr_value): Likewise. | |
1055 | (display_debug_str_offsets): Likewise. | |
1056 | * objdump.c (dump_bfd): Likewise. | |
1057 | * readelf.c (dump_section_as_strings): Likewise. | |
1058 | (dump_section_as_bytes): Likewise. | |
1059 | ||
1be305ff AM |
1060 | 2021-03-29 Alan Modra <amodra@gmail.com> |
1061 | ||
1062 | * objdump.c (process_links): Use type int. | |
1063 | * readelf.c (request_dump): Don't increment do_dump, set it. | |
1064 | * windint.h (target_is_bigendian): Use type bfd_boolean. | |
1065 | * windmc.c (target_is_bigendian): Likewise. | |
1066 | * windres.c (target_is_bigendian): Likewise. | |
1067 | ||
08dedd66 ML |
1068 | 2021-03-22 Martin Liska <mliska@suse.cz> |
1069 | ||
1be305ff AM |
1070 | * dlltool.c (scan_drectve_symbols): Replace usage of CONST_STRNEQ |
1071 | with startswith. | |
08dedd66 ML |
1072 | * emul_aix.c (ar_emul_aix_parse_arg): Likewise. |
1073 | * objcopy.c (is_mergeable_note_section): Likewise. | |
1074 | * objdump.c (dump_dwarf_section): Likewise. | |
1075 | * prdbg.c (pr_method_type): Likewise. | |
1076 | (pr_class_baseclass): Likewise. | |
1077 | (tg_class_baseclass): Likewise. | |
1078 | * readelf.c (process_lto_symbol_tables): Likewise. | |
1079 | * stabs.c (ULLHIGH): Likewise. | |
1080 | (parse_stab_argtypes): Likewise. | |
1081 | (stab_demangle_function_name): Likewise. | |
1082 | ||
7b9f9859 L |
1083 | 2021-03-19 H.J. Lu <hongjiu.lu@intel.com> |
1084 | ||
1085 | * readelf.c (get_machine_name): Add EM_INTELGT. | |
1086 | ||
835f2fae NC |
1087 | 2021-03-18 Nick Clifton <nickc@redhat.com> |
1088 | ||
1089 | PR 27478 | |
1090 | * readelf.c (dump_section_as_strings): Mention separate filename. | |
1091 | (dump_section_as_bytes): Likewise. | |
1092 | (dump_section_as_ctf): Likewise. | |
1093 | (initialise_dumkps_byname): Only issue a warning for missing | |
1094 | sections if processing the main file. | |
1095 | (process_section_contents): Only issue a warning for unsumped | |
1096 | section numbers in the main file. | |
1097 | (initialise_dump_sects): New function. Contains code extracted | |
1098 | from ... | |
1099 | (process_object): ... here. Also call initialise_dump_sects for | |
1100 | separate files. | |
1101 | ||
44266f36 NC |
1102 | 2021-03-16 Nick Clifton <nickc@redhat.com> |
1103 | ||
1104 | PR 27534 | |
1105 | * readelf.c (display_debug_section): Also retain .debug_addr | |
1106 | sections. | |
1107 | ||
d6bfbc39 NC |
1108 | 2021-03-16 Nick Clifton <nickc@redhat.com> |
1109 | ||
1110 | PR 27533 | |
1111 | * readelf.c (process_section_contents): Only dump debug | |
1112 | information for separate files unless process_links is enabled. | |
1113 | (process_object): Always call process_section_contents for | |
1114 | separate info files. | |
1115 | ||
1996d0f1 NC |
1116 | 2021-03-15 Nick Clifton <nickc@redhat.com> |
1117 | ||
1118 | PR 27487 | |
1119 | * nm.c (FORMAT_JUST_SYMBOLS): Define. | |
1120 | (struct optput_fns): Add entry for FORMAT_JUST_SYMBOLS. | |
1121 | (long_options): Add just-symbols. | |
1122 | (set_output_format): Add support for just-symbols. | |
1123 | (get_print_format): Likewise. | |
1124 | (do_not_print_object_filename): New function. | |
1125 | (do_not_print_archive_filename): New function. | |
1126 | (do_not_print_archive_member): New function. | |
1127 | (do_not_print_symbol_filename): New function. | |
1128 | (just_print_symbol_name): New function. | |
1129 | (main): Handle --just-symbols. | |
1130 | * NEWS: Mention the new feature. | |
1131 | * doc/binutils.texi: Document the new feature. | |
1132 | ||
2c1bef53 CC |
1133 | 2021-03-12 Clément Chigot <clement.chigot@atos.net> |
1134 | ||
1135 | * od-xcoff.c: Replace RTB by TRL entry. | |
1136 | ||
db6092f3 AB |
1137 | 2021-03-05 Craig Blackmore <craig.blackmore@embecosm.com> |
1138 | Andrew Burgess <andrew.burgess@embecosm.com> | |
1139 | ||
1140 | * readelf.c (get_note_type): Handle NT_RISCV_CSR. | |
1141 | ||
b63a5e38 AB |
1142 | 2021-03-05 Craig Blackmore <craig.blackmore@embecosm.com> |
1143 | Andrew Burgess <andrew.burgess@embecosm.com> | |
1144 | ||
1145 | * readelf.c (get_note_type): Handle NT_GDB_TDESC. | |
1146 | ||
d296b736 NC |
1147 | 2021-03-05 Nick Clifton <nickc@redhat.com> |
1148 | ||
1149 | PR 27387 | |
1150 | * dwarf.c (display_debug_macro): Handle the displaying of | |
1151 | DW_MACRO_define_strp and DW_MACRO_undef_strp in v4 | |
1152 | .debug_macro.dwo sections. | |
1153 | ||
ca0e11aa NC |
1154 | 2021-03-04 Nick Clifton <nickc@redhat.com> |
1155 | ||
1156 | PR 27478 | |
1157 | * objdump.c (process_links): New variable. | |
1158 | (usage): Add --process-links. | |
1159 | (long_options): Likewise. | |
1160 | (dump_bfd): Stop processing once the bfd has been loaded unless | |
1161 | this is the main file or process_links has been enabled. | |
1162 | (main): Handle the process-links option. | |
1163 | * readelf.c (process_links): New variable. | |
1164 | (struct filedata): Add is_separate field. | |
1165 | (options): Add --process-links. | |
1166 | (usage): Likewise. | |
1167 | (parse_args): Likewise. | |
1168 | (process_file_header): Include the filename when dumping | |
1169 | information for separate debuginfo files. | |
1170 | (process_program_headers): Likewise. | |
1171 | (process_section_headers): Likewise. | |
1172 | (process_section_groups): Likewise. | |
1173 | (process_relocs): Likewise. | |
1174 | (process_dynamic_section): Likewise. | |
1175 | (process_version_sections): Likewise. | |
1176 | (display_lto_symtab): Likewise. | |
1177 | (process_symbol_table): Likewise. | |
1178 | (process_syminfo): Likewise. | |
1179 | (initialise_dumps_by_name): Likewise. | |
1180 | (process_section_contents): Likewise. | |
1181 | (process_notes_at): Likewise. | |
1182 | (process_notes): Likewise. | |
1183 | (open_file): Add is_separate parameter. Use to initialise the | |
1184 | is_separate field in the filedata structure. | |
1185 | (open_deug): Update call to open_file. | |
1186 | (process_object): Add processing of the contents of separate | |
1187 | debuginfo files, gated by the process_links variable. | |
1188 | (process_archive): Update call to open_file. | |
1189 | (process_file): Initialise the is_separate field in the filedata | |
1190 | structure. | |
1191 | * dwarf.c (load_separate_debug_info_file): Only report the | |
1192 | loading of a separate file if debug links are being dumped. | |
1193 | * objcopy.c (keep_section_symbols): New variable. | |
1194 | (enum command_line_switch): Add OPTION_KEEP_SYMBOLS. | |
1195 | (strip_options): Add keep-section-symbols. | |
1196 | (copy_options): Likewise. | |
1197 | (copy_usage): Likewise. | |
1198 | (strip_usage): Likewise. | |
1199 | (copy_object): Keep section symbols if requested by command line | |
1200 | option. | |
1201 | (strip_main): Handle --keep-section-symbols. | |
1202 | (copy_main): Likewise. | |
1203 | * doc/binutils.texi: Document the new options. | |
1204 | * NEWS: Mention the new features. | |
1205 | * testsuite/binutils-all/compress.exp (test_gnu_debuglink): | |
1206 | Update options passed to objdump. Use diff rather than cmp to | |
1207 | compare the dumped data. | |
1208 | * testsuite/binutils-all/objdump.WK2: Update regexp. | |
1209 | * testsuite/binutils-all/objdump.WK3: Update regexp. | |
1210 | * testsuite/binutils-all/objdump.exp: Use --process-links | |
1211 | instead of --dwarf=follow-links. | |
1212 | * testsuite/binutils-all/readelf.exp (readelf_test): Include | |
1213 | readelf's output in the log when the test fails. | |
1214 | Add the -P option to the -wKis test. | |
1215 | * testsuite/binutils-all/readelf.wKis: Update expected output. | |
1216 | ||
fd5c076a AM |
1217 | 2021-03-03 Alan Modra <amodra@gmail.com> |
1218 | ||
1219 | PR 27493 | |
1220 | * objcopy.c (filter_symbols): Apply --weaken to undefined symbols. | |
1221 | * NEWS: Mention feature. | |
1222 | ||
ecd65684 L |
1223 | 2021-03-01 H.J. Lu <hongjiu.lu@intel.com> |
1224 | ||
1225 | PR binutils/27486 | |
1226 | * dwarf.c (load_separate_debug_info): Issue warning only if | |
1227 | do_debug_links is set. | |
1228 | * testsuite/binutils-all/compress.exp: Run objdump and readelf | |
1229 | with missing debug file. | |
1230 | ||
6a1224ec AM |
1231 | 2021-03-01 Alan Modra <amodra@gmail.com> |
1232 | ||
1233 | PR 27128 | |
1234 | * doc/binutils.texi: Add nm --with-symbol-versions and | |
1235 | --without-symbol-versions documentation. | |
1236 | * nm.c (with_symbol_versions): New variable. | |
1237 | (enum long_option_values): Delete OPTION_WITH_SYMBOL_VERSIONS. | |
1238 | (long_options): Make --with-symbol-versions entry twiddle the flag. | |
1239 | Add --without-symbol-versions. | |
1240 | (print_symname): Strip version when !with_symbol_versions. Add | |
1241 | dynamic version info under control of with_symbol_versions. | |
1242 | (main): Remove OPTION_WITH_SYMBOL_VERSIONS case. | |
1243 | ||
7fe1b138 FS |
1244 | 2021-02-26 Fangrui Song <maskray@google.com> |
1245 | ||
1246 | PR 27408 | |
1247 | * readelf.c (quiet): New option flag. | |
1248 | (enum long_option_values): New enum to hold long option value. | |
1249 | (long_options): Add --quiet. | |
1250 | (usage): Mention --quiet. | |
1251 | (display_rel_file): If quiet is enabled, suppress "no symbols". | |
1252 | (main): Handle the new option. | |
1253 | * NEWS: Mention --quiet. | |
1254 | * docs/binutils.texi: Document --quiet. | |
1255 | ||
0e12f6c8 TV |
1256 | 2021-02-26 Tom de Vries <tdevries@suse.de> |
1257 | ||
1258 | * dwarf.c (display_debug_addr): Handle dwarf-5 .debug_addr bits. | |
1259 | ||
32e4f96c TV |
1260 | 2021-02-26 Tom de Vries <tdevries@suse.de> |
1261 | ||
1262 | PR 27390 | |
1263 | * dwarf.c: (skip_attr_bytes): Add support for DW_FORM_str* and | |
1264 | DW_FORM_addrx*. | |
1265 | (read_and_display_attr_value): Likewise. | |
1266 | ||
e38332c2 NC |
1267 | 2021-02-25 Nick Clifton <nickc@redhat.com> |
1268 | ||
1269 | * dwarf.c (get_type_abbrev_from_form): Accept but ignore sup | |
1270 | forms. | |
1271 | (read_and_display_attr_value): Handle sup forms. | |
1272 | (display_debug_sup): New function. Displays the contents of a | |
1273 | .debug_sup section. | |
1274 | (load_debug_sup_file): New function. Loads the contents of a file | |
1275 | referenced by a .debug_sup section. | |
1276 | (check_for_and_load_links): Call load_debug_sup_file. | |
1277 | (debug_displays): Add entry for .debug_sup. | |
1278 | * dwarf.h (enum dwarf_section_display_enum): Add debug_sup. | |
1279 | * readelf.c (process_section_headers): Add support for debug_sup. | |
1280 | * doc/debug.options.texi: Note that the =links option will display | |
1281 | the contents of .debug_sup sections. | |
1282 | * NEWS: Mention the new support. | |
1283 | ||
40b02646 AM |
1284 | 2021-02-25 Alan Modra <amodra@gmail.com> |
1285 | ||
1286 | PR 27456 | |
1287 | * rename.c (simple_copy): Mark target_stat ATTRIBUTE_UNUSED. | |
1288 | ||
9d3fcfe0 NC |
1289 | 2021-02-24 Nick Clifton <nickc@redhat.com> |
1290 | ||
1291 | PR 27285 | |
1292 | * od-elf32_avr.c (elf32_avr_get_memory_usage): Check for overflows | |
1293 | when adding together the section sizes. | |
1294 | ||
c74147bb NC |
1295 | 2021-02-24 Nick Clifton <nickc@redhat.com> |
1296 | ||
1297 | * objcopy.c (merge_gnu_build_notes): Remove support for v1/v2 GNU | |
1298 | build notes. | |
1299 | * readelf.c (print_gnu_build_attribute_description): Likewise. | |
1300 | ||
c42c71a1 AM |
1301 | 2021-02-24 Alan Modra <amodra@gmail.com> |
1302 | Siddhesh Poyarekar <siddhesh@gotplt.org> | |
1303 | ||
1304 | PR 27456 | |
1305 | * bucomm.h (smart_rename): Update prototype. | |
1306 | * rename.c (smart_rename): Add fromfd and preserve_dates params. | |
1307 | Pass fromfd and target_stat to simple_copy. Call set_times | |
1308 | when preserve_dates. | |
1309 | (simple_copy): Accept fromfd rather than from filename. Add | |
1310 | target_stat param. Rewind fromfd rather than opening. Open | |
1311 | "to" file without O_CREAT. Try to preserve S_ISUID and S_ISGID. | |
1312 | * ar.c (write_archive): Rename ofd to tmpfd. Dup tmpfd before | |
1313 | closing output temp file, and pass tmpfd to smart_rename. | |
1314 | * arsup.c (temp_fd): Rename from real_fd. | |
1315 | (ar_save): Dup temp_fd and pass to smart_rename. | |
1316 | * objcopy.c (strip_main, copy_main): Likewise, and pass | |
1317 | preserve_dates. | |
1318 | ||
cca8873d AM |
1319 | 2021-02-24 Alan Modra <amodra@gmail.com> |
1320 | ||
1321 | PR 27456 | |
1322 | * rename.c: Tidy throughout. | |
1323 | (smart_rename): Always copy. Remove windows specific code. | |
1324 | ||
4d496013 AM |
1325 | 2021-02-20 Alan Modra <amodra@gmail.com> |
1326 | ||
1327 | * testsuite/lib/binutils-common.exp: Whitespace fixes throughout. | |
1328 | (run_dump_test): Fail if expecting errors from a file like we do | |
1329 | for error strings, if no error is seen. | |
1330 | ||
0be51eb4 AM |
1331 | 2021-02-19 Alan Modra <amodra@gmail.com> |
1332 | ||
1333 | * testsuite/binutils-all/readelf.exp (pr26548): Run for 32-bit too. | |
1334 | ||
3685de75 SP |
1335 | 2021-02-19 Siddhesh Poyarekar <siddhesh@gotplt.org> |
1336 | ||
1337 | * ar.c (write_archive): Remove TARGET_STAT. Adjust call to | |
1338 | SMART_RENAME. | |
1339 | * arsup.c (ar_save): Likewise. | |
1340 | * objcopy (strip_main): Don't copy TMPFD. Don't set times on | |
1341 | temporary file and adjust call to SMART_RENAME. | |
1342 | (copy_main): Likewise. | |
1343 | * rename.c [!S_ISLNK]: Remove definitions. | |
1344 | (try_preserve_permissions): Remove function. | |
1345 | (smart_rename): Remove FD, PRESERVE_DATES arguments. Use | |
1346 | rename system call only if TO does not exist. | |
1347 | * bucomm.h (smart_rename): Adjust declaration. | |
1348 | ||
85684222 NC |
1349 | 2021-02-18 Nick Clifton <nickc@redhat.com> |
1350 | ||
1351 | * objcopy.c (merge_gnu_build_notes): Handle notes with a start | |
1352 | address that is higher than the end address. | |
1353 | ||
b9b204b3 AM |
1354 | 2021-02-17 Alan Modra <amodra@gmail.com> |
1355 | ||
1356 | * dwarf.c: Include limits.h. | |
1357 | (CHAR_BIT): Provide backup define. | |
1358 | (read_leb128): Use CHAR_BIT to size "result" in bits. Correct | |
1359 | signed overflow checking. | |
1360 | * testsuite/binutils-all/pr26548.s, | |
1361 | * testsuite/binutils-all/pr26548.d, | |
1362 | * testsuite/binutils-all/pr26548e.d: New tests. | |
1363 | * testsuite/binutils-all/readelf.exp: Run them. | |
1364 | (readelf_test): Drop unused "xfails" parameter. Update all uses. | |
1365 | ||
e6ca1878 JB |
1366 | 2021-02-16 Jan Beulich <jbeulich@suse.com> |
1367 | ||
1368 | * dwarf.c (process_debug_info): Initialize "dwo_id". | |
1369 | ||
208599d9 AM |
1370 | 2021-02-15 Alan Modra <amodra@gmail.com> |
1371 | ||
1372 | * objdump.c (load_specific_debug_section): Don't call | |
1373 | bfd_cache_section_contents. Rearrange so that | |
1374 | bfd_get_full_section_contents is not called on path where | |
1375 | bfd_simple_get_relocated_section_contents is called. | |
1376 | Don't set section->user_data. | |
1377 | (free_debug_section): Always free section->start. Don't twiddle | |
1378 | section flags. | |
1379 | * readelf.c (load_specific_debug_section): Don't set user_data. | |
1380 | * dwarf.h (struct dwarf_section): Remove use_data field. | |
1381 | * dwarf.c (NO_ABBREVS, ABBREV): Adjust to suit. | |
1382 | ||
1781a9d0 AM |
1383 | 2021-02-15 Alan Modra <amodra@gmail.com> |
1384 | ||
1385 | * testsuite/binutils-all/compress.exp: Remove nds32 xfails. | |
1386 | * testsuite/binutils-all/objdump.exp: Likewise. | |
1387 | ||
1944212b AM |
1388 | 2021-02-14 Alan Modra <amodra@gmail.com> |
1389 | ||
1390 | * objdump.c (slurp_symtab): Don't add an extra entry for NULL | |
1391 | to the symbol array. | |
1392 | (slurp_dynamic_symtab): Likewise. | |
1393 | (dump_bfd): Formatting. Copy terminating NULL from extra_syms. | |
1394 | ||
0d0a0d86 AM |
1395 | 2021-02-14 Alan Modra <amodra@gmail.com> |
1396 | ||
1397 | * Makefile.in: Regenerate. | |
1398 | * doc/Makefile.in: Regenerate. | |
1399 | ||
adeab0c5 MF |
1400 | 2021-02-13 Mike Frysinger <vapier@gentoo.org> |
1401 | ||
1402 | * aclocal.m4: Regenerate. | |
1403 | ||
c46b7066 NC |
1404 | 2021-02-12 Nick Clifton <nickc@redhat.com> |
1405 | ||
1406 | * configure.ac (follow-debug-links): Add option to enable or | |
1407 | disable the following of debug links by default. Set the | |
1408 | default for the option to be 'follow'. | |
1409 | * dwarf.c (do_follow_links): Initialise with DEFAULT_FOR_FOLLOW_LINKS. | |
1410 | (dwarf_select_sections_by_names): Add no-follow-links option. | |
1411 | (dwarf_select_sections_by_letter): Add 'N' option. | |
1412 | * objdump.c (usage): Add conditional text describing the | |
1413 | follow links option. | |
1414 | (slurp_symtab): Ensure that there is a NULL entry at the end | |
1415 | of the symbol table. | |
1416 | (slurp_dynamic_symtab): Likewise. | |
1417 | (dump_bfd): When extending the symbol table, ensure that there | |
1418 | is still a NULL entry at the end. | |
1419 | * readelf.c (usage): Add conditional text describing the | |
1420 | follow links option. | |
1421 | * doc/binutils.texi: Update documentation for objcopy and | |
1422 | readelf. | |
1423 | * doc/debug.options.texi: Update documentation of the | |
1424 | follow-links option. | |
1425 | * config.in: Regenerate. | |
1426 | * configure: Regenerate. | |
1427 | * testsuite/binutils-all/compress.exp: Add the -WN option to | |
1428 | objdump command lines that are not expecting to follow links. | |
1429 | * testsuite/binutils-all/readelf.exp: Add the | |
1430 | --debug-dump=no-follow-links option to tests that are not | |
1431 | expecting to follow debug links. | |
1432 | * NEWS: Mention the new behaviour. | |
1433 | ||
17e04eff AM |
1434 | 2021-02-12 Alan Modra <amodra@gmail.com> |
1435 | ||
1436 | * testsuite/binutils-all/objcopy.exp: Report "unsupported" when | |
1437 | gas or ld fails to build a testcase rather than "unresolved". | |
1438 | Report "fail" when readelf returns an error status rather than | |
1439 | "unresolved". | |
1440 | * testsuite/binutils-all/ar.exp: Likewise. | |
1441 | * testsuite/binutils-all/compress.exp: Likewise. | |
1442 | * testsuite/binutils-all/readelf.exp: Likewise. | |
1443 | ||
8f054a7a AM |
1444 | 2021-02-12 Alan Modra <amodra@gmail.com> |
1445 | ||
1446 | * testsuite/binutils-all/pr25662.s: Replace "a" with "aaa" and | |
1447 | "c" with "ccc" labels. | |
1448 | ||
528a4f87 TV |
1449 | 2021-02-12 Tom de Vries <tdevries@suse.de> |
1450 | ||
1451 | * dwarf.h (debug_info): Fix typo in comment. | |
1452 | ||
95abb394 TV |
1453 | 2021-02-12 Tom de Vries <tdevries@suse.de> |
1454 | ||
1455 | * dwarf.c (display_debug_str_offsets): Handle multiple sets of | |
1456 | entries. | |
1457 | ||
d60f7998 TV |
1458 | 2021-02-12 Tom de Vries <tdevries@suse.de> |
1459 | ||
1460 | * dwarf.c (process_debug_info): Print DWO ID. | |
1461 | ||
1cfcf300 AM |
1462 | 2021-02-11 Alan Modra <amodra@gmail.com> |
1463 | ||
1464 | PR 27290 | |
1465 | PR 27293 | |
1466 | PR 27295 | |
1467 | * od-elf32_avr.c (elf32_avr_get_note_section_contents): Formatting. | |
1468 | Use bfd_malloc_and_get_section. | |
1469 | (elf32_avr_get_note_desc): Formatting. Return descsz. Sanity | |
1470 | check namesz. Return NULL if descsz is too small. Ensure | |
1471 | string table is terminated. | |
1472 | (elf32_avr_get_device_info): Formatting. Add note_size param. | |
1473 | Sanity check note. | |
1474 | (elf32_avr_dump_mem_usage): Adjust to suit. | |
1475 | ||
d9d9d8ef TV |
1476 | 2021-02-10 Tom de Vries <tdevries@suse.de> |
1477 | ||
1478 | PR binutils/27391 | |
1479 | * dwarf.c (load_dwo_file): Handle case that name is absolute path. | |
1480 | ||
52ff20fe TV |
1481 | 2021-02-10 Tom de Vries <tdevries@suse.de> |
1482 | ||
1483 | PR binutils/27371 | |
1484 | * dwarf.c (display_debug_ranges): Filter range lists according to | |
1485 | section. | |
1486 | ||
5f128a25 TV |
1487 | 2021-02-09 Tom de Vries <tdevries@suse.de> |
1488 | ||
1489 | PR binutils/27370 | |
1490 | * dwarf.c (get_type_abbrev_from_form): Handle DW_FORM_ref_sig8. | |
1491 | ||
9b87f84a TV |
1492 | 2021-02-09 Tom de Vries <tdevries@suse.de> |
1493 | ||
1494 | PR binutils/27386 | |
1495 | * dwarf.c (process_debug_info): Handling DW_UT_skeleton and | |
1496 | DW_UT_split_compile. | |
1497 | ||
a57d1773 AM |
1498 | 2021-02-09 Alan Modra <amodra@gmail.com> |
1499 | ||
1500 | * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Remove | |
1501 | symbianelf. | |
1502 | ||
de8d4203 AM |
1503 | 2021-02-07 Alan Modra <amodra@gmail.com> |
1504 | ||
1505 | * unwind-ia64.c (unw_print_xyreg): Don't leave output buffer | |
1506 | uninitialised on invalid input. | |
1507 | ||
51a25252 AM |
1508 | 2021-02-06 Alan Modra <amodra@gmail.com> |
1509 | ||
1510 | PR 27349 | |
1511 | * rename.c (smart_rename): Test for existence and type of output | |
1512 | file with lstat. | |
1513 | ||
e37d88e5 NC |
1514 | 2021-02-05 Nick Clifton <nickc@redhat.com> |
1515 | ||
1516 | * MAINTAINERS: Remove Richard Henderson as the ALPHA maintainer. | |
1517 | ||
887854ba EZ |
1518 | 2021-02-05 Eli Zaretskii <eliz@gnu.org> |
1519 | ||
1520 | PR 27252 | |
1521 | * elfedit.c (check_file): | |
1522 | * bucomm.c (get_file_size): Fix typos in comments. | |
1523 | ||
c180f095 AM |
1524 | 2021-02-05 Alan Modra <amodra@gmail.com> |
1525 | ||
1526 | PR 27345 | |
1527 | * arsup.c (ar_save): Use stat rather than lstat. | |
1528 | ||
95b91a04 AM |
1529 | 2021-02-03 Alan Modra <amodra@gmail.com> |
1530 | ||
1531 | PR 27270 | |
1532 | PR 27284 | |
1533 | PR 26945 | |
1534 | * ar.c: Don't include libbfd.h. | |
1535 | (write_archive): Replace xmalloc+strcpy with xstrdup. Use | |
1536 | bfd_stat rather than fstat on iostream. Move stat and fd tests | |
1537 | outside of _WIN32 ifdef. Delete skip_stat variable. | |
1538 | * arsup.c (temp_name, real_ofd): New static variables. | |
1539 | (ar_open): Use make_tempname and bfd_fdopenw. | |
1540 | (ar_save): Adjust to suit ar_open changes. Move stat output | |
1541 | of _WIN32 ifdef. | |
1542 | * objcopy.c: Don't include libbfd.h. | |
1543 | (copy_file): Use bfd_stat. | |
1544 | ||
5424d7ed L |
1545 | 2021-02-02 H.J. Lu <hongjiu.lu@intel.com> |
1546 | ||
1547 | PR binutils/27281 | |
1548 | * readelf.c (process_section_headers): Add 'R' and 'D' to | |
1549 | "Key to Flags:". | |
1550 | * testsuite/binutils-all/retain1a.d: Updated. | |
1551 | ||
72a51a06 NC |
1552 | 2021-01-30 Nick Clifton <nickc@redhat.com> |
1553 | ||
1554 | * README-how-to-make-a-release: Small updates after the 2.35.2 | |
1555 | release. | |
1556 | ||
cc3edc52 EZ |
1557 | 2021-01-28 Eli Zaretskii <eliz@gnu.org> |
1558 | ||
1559 | PR 4356 | |
1560 | * windres.c (quot): Use double quotes to protect strings on | |
1561 | Windows platforms. | |
1562 | ||
a7ad3cb1 EZ |
1563 | 2021-01-28 Eli Zaretskii <eliz@gnu.org> |
1564 | ||
1565 | PR 27252 | |
1566 | * bucomm.c (get_file_size): Add code to handle /dev/null on | |
1567 | Windows systems. | |
1568 | * elfedit.c (check_file): Likewise. | |
1569 | ||
67965ba2 NC |
1570 | 2021-01-27 Nick Clifton <nickc@redhat.com> |
1571 | ||
1572 | * objcopy.c (copy_main): Remove conditional control of the calls | |
1573 | to free, simplifying the code and making it easier to detect | |
1574 | typos. | |
1575 | ||
e37709f0 FC |
1576 | 2021-01-26 Frederic Cambus <fred@statdns.com> |
1577 | ||
1578 | * objcopy.c (copy_main): Fix a double free happening when both | |
1579 | --localize-symbols and --globalize-symbols options are invoked | |
1580 | together. | |
1581 | ||
9b351c9b NC |
1582 | 2021-01-24 Nick Clifton <nickc@redhat.com> |
1583 | ||
1584 | * README-how-to-make-a-release: Minor updates after the 2.36 release. | |
1585 | ||
ad92f33d AM |
1586 | 2021-01-16 Alan Modra <amodra@gmail.com> |
1587 | ||
1588 | * readelf.c (uncompress_section_contents): Tidy inflateEnd result test. | |
1589 | ||
3624a6c1 AM |
1590 | 2021-01-15 Alan Modra <amodra@gmail.com> |
1591 | ||
1592 | PR 26539 | |
1593 | * readelf.c (uncompress_section_contents): Always call inflateEnd. | |
1594 | ||
c14dee84 AO |
1595 | 2021-01-14 Alexandre Oliva <oliva@gnu.org> |
1596 | ||
1597 | * MAINTAINERS: Update my email address. | |
1598 | ||
5a10699f NC |
1599 | 2021-01-14 Nick Clifton <nickc@redhat.com> |
1600 | ||
1601 | * po/sv.po: Updated Swedish translation. | |
1602 | ||
5347ed60 AM |
1603 | 2021-01-13 Alan Modra <amodra@gmail.com> |
1604 | ||
1605 | * Makefile.in: Regenerate. | |
1606 | * doc/Makefile.in: Regenerate. | |
1607 | ||
2ce40d1a ZF |
1608 | 2021-01-13 Zebediah Figura <z.figura12@gmail.com> |
1609 | ||
1610 | PR 27037 | |
1611 | * dlltool.c (i386_trampoline): Adjust %rsp immediately on entry | |
1612 | and before exit. | |
1613 | (i386_x64_trampoline): Add SEH annotations. | |
1614 | (struct mac): Add how_seh field. | |
1615 | (make_delay_head): If how_set field is true add SEh instructions. | |
1616 | ||
d546b610 L |
1617 | 2021-01-12 H.J. Lu <hongjiu.lu@intel.com> |
1618 | ||
1619 | PR binutils/26792 | |
1620 | * configure.ac: Use GNU_MAKE_JOBSERVER. | |
1621 | * aclocal.m4: Regenerated. | |
1622 | * configure: Likewise. | |
1623 | ||
6d104cac NC |
1624 | 2021-01-12 Nick Clifton <nickc@redhat.com> |
1625 | ||
1626 | * po/fr.po: Updated French translation. | |
1627 | ||
83b33c6c L |
1628 | 2021-01-11 H.J. Lu <hongjiu.lu@intel.com> |
1629 | ||
1630 | PR ld/27173 | |
1631 | * configure: Regenerated. | |
1632 | ||
a8aa72b9 NC |
1633 | 2021-01-11 Nick Clifton <nickc@redhat.com> |
1634 | ||
1635 | * po/pt.po: Updated Portuguese translation. | |
1636 | * po/sr.po: Updated Serbian translation. | |
1637 | * po/uk.po: Updated Ukranian translation. | |
1638 | ||
a4966cd9 L |
1639 | 2021-01-09 H.J. Lu <hongjiu.lu@intel.com> |
1640 | ||
1641 | * configure: Regenerated. | |
1642 | ||
573fe3fb NC |
1643 | 2021-01-09 Nick Clifton <nickc@redhat.com> |
1644 | ||
1645 | * configure: Regenerate. | |
1646 | * po/binutils.pot: Regenerate. | |
1647 | ||
055bc77a NC |
1648 | 2021-01-09 Nick Clifton <nickc@redhat.com> |
1649 | ||
1650 | * 2.36 release branch crated. | |
573fe3fb NC |
1651 | * README-how-to-make-a-release: Add note about updating Makefiles |
1652 | and libtool files. | |
1653 | * BRANCHES: Add binutils-2.36-branch. | |
055bc77a | 1654 | |
64307045 AM |
1655 | 2021-01-09 Alan Modra <amodra@gmail.com> |
1656 | ||
1657 | * configure: Regenerate. | |
1658 | ||
f4782128 ST |
1659 | 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org> |
1660 | ||
1661 | * configure: Regenerate. | |
1662 | ||
d1bcae83 L |
1663 | 2021-01-07 H.J. Lu <hongjiu.lu@intel.com> |
1664 | ||
1665 | PR 27109 | |
1666 | * objcopy.c (copy_object): Handle section symbols for | |
1667 | non-relocatable inputs. | |
1668 | * testsuite/binutils-all/readelf.exp (readelf_test): Check | |
1669 | is_elf_unused_section_symbols. | |
1670 | * testsuite/binutils-all/readelf.s-64: Updated. | |
1671 | * testsuite/binutils-all/readelf.ss: Likewise. | |
1672 | * testsuite/binutils-all/readelf.ss-64: Likewise. | |
1673 | * testsuite/binutils-all/readelf.s-64-unused: New file. | |
1674 | * testsuite/binutils-all/readelf.ss-64-unused: Likewise. | |
1675 | * testsuite/binutils-all/readelf.ss-unused: Likewise. | |
1676 | * testsuite/lib/binutils-common.exp | |
1677 | (is_elf_unused_section_symbols): New proc. | |
1678 | ||
6987d5a1 RT |
1679 | 2021-01-06 Reuben Thomas <rrt@sc3d.org> |
1680 | ||
1681 | * binutils/readelf.c: Correct grammar in comment. | |
1682 | ||
f9a6a8f0 AM |
1683 | 2021-01-01 Nicolas Boulenguez <nicolas@debian.org> |
1684 | ||
1685 | * coffgrok.c (do_type): Correct spelling of auxiliary in errors. | |
1686 | * doc/binutils.texi: Correct grammar. | |
1687 | * readelf.c (process_version_sections): Correct spelling of auxiliary | |
1688 | in warning. | |
1689 | * testsuite/binutils-all/vax/objdump.exp: Comment grammar fix. | |
1690 | ||
250d07de AM |
1691 | 2021-01-01 Alan Modra <amodra@gmail.com> |
1692 | ||
1693 | Update year range in copyright notice of all files. | |
1694 | ||
c2795844 | 1695 | For older changes see ChangeLog-2020 |
3499769a | 1696 | \f |
a2c58332 | 1697 | Copyright (C) 2021-2022 Free Software Foundation, Inc. |
3499769a AM |
1698 | |
1699 | Copying and distribution of this file, with or without modification, | |
1700 | are permitted in any medium without royalty provided the copyright | |
1701 | notice and this notice are preserved. | |
1702 | ||
1703 | Local Variables: | |
1704 | mode: change-log | |
1705 | left-margin: 8 | |
1706 | fill-column: 74 | |
1707 | version-control: never | |
1708 | End: |