]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
Updated French translation for the gprof sub-directory.
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
546cb2d8
NC
12020-05-05 Nick Clifton <nickc@redhat.com>
2
3 * dwarf.c (do_checks): New global variable.
4 (display_formatted_table): Warn about an unexpected number of
5 columns in the table, if checks are enabled. Do not complain
6 about the lack of data following the number of entries in the
7 table if the table is empty.
8 (display_debug_lines_decoded): Only warn about an unexpected
9 number of columns in a table if checks are enabled.
10 * dwarf.h (do_checks): Add a prototype.
11 * elfcomm.c (error): Remove weak attribute.
12 (warn): Likewise.
13 * readelf.c (do_checks): Delete.
14 (warn): Delete.
15 (process_section_headers): Only warn about empty sections if
16 checks are enabled.
17
e052e2ba
FS
182020-05-04 Fangrui Song <maskray@google.com>
19
20 * objcopy.c (copy_object): Allow empty section.
21 * testsuite/binutils-all/update-section.exp: Add test.
22
070b775f
NC
232020-05-04 Nick Clifton <nickc@redhat.com>
24
25 PR 25917
26 * dwarf.c (display_debug_lines_decoded): Warn if encountering a
27 supicious number of entries for DWARF-5 format directory and file
28 name tables. Do not display file name table header if the table
29 is empty. Do not allocate space for empty tables.
30
9c7b8e9b
AM
312020-05-04 Alan Modra <amodra@gmail.com>
32
33 * readelf.c (process_nds32_specific): Check size of .nds32_e_flags
34 section. Don't assume endian of host matches nds32 target. Free
35 buffer.
36
60832332
AM
372020-05-01 Alan Modra <amodra@gmail.com>
38 Haim Shimonovich <Haim.Shimonovich@ceva-dsp.com>
39
40 * objdump.c (disassemble_bytes): Don't scan for zeros when
41 disassembling zeros. Translate "resuming at file offset" message.
42 Formatting. Replace some signed variables with unsigned.
43
09c1e68a
AC
442020-04-30 Alex Coplan <alex.coplan@arm.com>
45
46 * testsuite/binutils-all/aarch64/in-order-all.d: Update to use new
47 disassembly.
48 * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
49
8a8a1171
NC
502020-04-30 Nick Clifton <nickc@redhat.com>
51
52 * testsuite/lib/binutils-common.exp (check_pie_support): New
53 proc.
54
cb4c35cf
AB
552020-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
56
57 * dwarf.c (display_debug_ranges): Ignore duplicate entries in
58 range_entries for the same offset.
59
1b513401
NC
602020-04-29 Nick Clifton <nickc@redhat.com>
61
62 * readelf.c (warn): New function - like elfcomm.c version but only
63 produces output if warnings are enabled.
64 (struct options): Add --lint and --enable-checks.
65 (usage): Add entry for --lint.
66 (parse_args): Handle -L. If checks are enabled but no dumps have
67 been selected then enable all dumps.
68 (process_section_headers): Replace long if-then-else sequence with
69 a switch. Add warning messages for empty SHT_REL, SHT_RELA and
70 SHT_PROGBITS sections.
71 (process_file): Do not complain if the file is an archive and lint
72 mode has been enabled.
73 * elfcomm.c (error): Make the function weak.
74 (warn): Likewise.
75 * NEWS: Mention the new feature.
76 * doc/binutils.texi: Document the new feature.
77 * dwarf.h (report_leb_status): Add file name and line number
78 parameters. Include them in the diagnostic output.
79 (READ_ULEB): Pass file and line number to report_leb_status.
80 (READ_SLEB): Likewise.
81 * dwarf.c (read_and_print_leb128): Pass file and line number to
82 report_leb_status.
83 * testsuite/binutils-all/readelf.exp: Add test of new feature.
84 * testsuite/binutils-all/zero-sec.s: New test source file.
85 * testsuite/binutils-all/zero-sec.r: Expected output from new
86 test.
87
c2e71e57
NC
882020-04-29 Nick Clifton <nickc@redhat.com>
89
90 * po/sr.po: Updated Serbian translation.
91
90837ea7
AM
922020-04-26 Alan Modra <amodra@gmail.com>
93
94 * readelf.c (get_num_dynamic_syms): Check DT_MIPS_XHASH was
95 read before dereferencing, and gracefully return. Remove
96 gnu_hash_error variable. Free gnu hash arrays if number of
97 syms found is zero.
98
2482f306
AM
992020-04-24 Alan Modra <amodra@gmail.com>
100
101 * readelf.c (get_num_dynamic_syms): Check for nbuckets and nchains
102 non-zero.
103 (process_dynamic_section): Call get_num_dynamic_syms once rather
104 than in segment loop. Break out of segment loop on a successful
105 load of dynamic symbols. Formatting.
106 (process_object): Return error status from process_dynamic_section.
107
27456742
AK
1082020-04-23 Anton Kolesov <anton.kolesov@synopsys.com>
109
110 * elf-bfd.h (elfcore_write_arc_v2): Add prototype.
111 * elf.c (elfcore_grok_arc_v2): New function.
112 (elfcore_grok_note): Call the new function to handle the corresponding
113 note.
114 (elfcore_write_arc_v2): New function.
115 (elfcore_write_register_note): Call the new function to handle the
116 corresponding pseudo-sections.
117
30ce8e47
MF
1182020-04-22 Max Filippov <jcmvbkbc@gmail.com>
119
120 PR ld/25861
121 * readelf.c (is_none_reloc): Recognize
122 BFD_RELOC_XTENSA_PDIFF{8,16,32} and
123 BFD_RELOC_XTENSA_NDIFF{8,16,32}.
124
33b5a830
NC
1252020-04-22 Nick Clifton <nickc@redhat.com>
126
127 * MAINTAINERS: Remove Chris Faylor as the ix86 PE maintainer.
128
978c4450
AM
1292020-04-22 Alan Modra <amodra@gmail.com>
130
131 * readelf.c (archive_file_offset, archive_file_size, dynamic_addr),
132 (dynamic_size, dynamic_nent, dynamic_strings, dynamic_strings_length),
133 (num_dynamic_syms, nbuckets, nchains, buckets, chains),
134 (ngnubuckets, gnubuckets, gnuchains, mipsxlat, ngnuchains),
135 (gnusymidx, dynamic_symbols, dynamic_syminfo, dynamic_syminfo_offset),
136 (dynamic_syminfo_nent, program_interpreter, dynamic_info),
137 (dynamic_info_DT_GNU_HASH, dynamic_info_DT_MIPS_XHASH, version_info),
138 (dynamic_section, symtab_shndx_list, group_count, section_groups),
139 (section_headers_groups): Move to struct filedata. Update use
140 throughout file.
141
6431e409
AM
1422020-04-22 Alan Modra <amodra@gmail.com>
143
144 * readelf.c (struct dump_data): New, used..
145 (cmdline): ..here, and..
146 (struct filedata): ..here. Adjust all uses.
147 (request_dump_bynumber, request_dump, parse_args): Pass in a
148 struct dump_data* rather than Filedata*. Adjust callers.
149 (main): Don't set cmdline.file_name.
150
a5e0be5c
AM
1512020-04-20 Alan Modra <amodra@gmail.com>
152
153 * readelf.c (process_symbol_table): Clear ngnuchains, ngnubuckets
154 and nbuckets.
155
8ff66993
AM
1562020-04-20 Alan Modra <amodra@gmail.com>
157
158 * readelf.c (process_section_headers): Free dynamic symbols etc.
159 earlier.
160
ceb9bf11
AM
1612020-04-20 Alan Modra <amodra@gmail.com>
162
163 * readelf.c (get_num_dynamic_syms): Formatting. Don't return
164 on error without freeing.
165 (process_dynamic_section): Don't recreate dynamic symbols from
166 dynamic tag info when the dynamic symbols have already been
167 read via section headers.
168
e409955d
FS
1692020-04-17 Fredrik Strupe <fredrik@strupe.net>
170
171 * testsuite/binutils-all/arm/vdup-cond.d: New test for testing that
172 conditional VDUP instructions are disassembled correctly.
173 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
174 vdup-cond.d.
175 * testsuite/binutils-all/arm/vdup-thumb.d: New test for testing
176 that VDUP instructions (which are conditional in A32) can be
177 disassembled in thumb mode.
178 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
179 vdup-thumb.d.
180
ca3f923f
AM
1812020-04-17 Alan Modra <amodra@gmail.com>
182
183 PR 25840
184 * debug.c (debug_class_type_samep): Don't segfault on NULL type.
185
937f6614
AM
1862020-04-16 Alan Modra <amodra@gmail.com>
187
188 * doc/binutils.texi: Mention --no-show-raw-insn in objdump
189 --no-addresses description.
190
b1bc1394
AM
1912020-04-15 Alan Modra <amodra@gmail.com>
192
193 * objdump.c (no_addresses): New static var.
194 (usage): Print help for --no-addresses.
195 (long_options): Add --no-addresses entry.
196 (objdump_print_addr_with_sym, objdump_print_addr): Omit symbol address.
197 (disassemble_bytes): Don't print current line address, or reloc
198 address.
199 * doc/binutils.texi: Document objdump --no-addresses.
200
001890e1
AM
2012020-04-15 Alan Modra <amodra@gmail.com>
202
203 PR 25822
204 * readelf.c (get_num_dynamic_syms): Don't set num_of_syms when
205 reading buckets or chains fails.
206
b71d4fa7
AM
2072020-04-15 Alan Modra <amodra@gmail.com>
208
209 * readelf.c (process_symbol_table): Zero gnubuckets, gnuchains
210 etc. after freeing.
211
89246a0e
AM
2122020-04-15 Alan Modra <amodra@gmail.com>
213
214 * readelf.c (get_group_flags): Translate text.
215 (get_file_type, get_symbol_binding, get_symbol_type),
216 (get_ppc64_symbol_other, get_symbol_other): Increase size of buffer.
217
c98a4545
AM
2182020-04-15 Alan Modra <amodra@gmail.com>
219
220 PR 25821
221 * readelf.c (get_num_dynamic_syms): Typo fix.
222
645f43a8
AM
2232020-04-14 Alan Modra <amodra@gmail.com>
224
225 * readelf.c (process_mips_specific): Free eopt and iopt. Avoid
226 possibility of overflow when checking number of conflicts.
227
10ca4b04
L
2282020-04-14 H.J. Lu <hongjiu.lu@intel.com>
229
230 PR binutils/25707
231 * readelf.c (nbuckets): New.
232 (nchains): Likewise.
233 (buckets): Likewise.
234 (chains): Likewise.
235 (ngnubuckets): Likewise.
236 (gnubuckets): Likewise.
237 (gnuchains): Likewise.
238 (mipsxlat): Likewise.
239 (ngnuchains): Likewise.
240 (gnusymidx): Likewise.
241 (VALID_SYMBOL_NAME): Likewise.
242 (VALID_DYNAMIC_NAME): Use it.
243 (get_dynamic_data): Moved before process_dynamic_section.
244 (get_num_dynamic_syms): New function.
245 (process_dynamic_section): Use DT_SYMTAB, DT_SYMENT, DT_HASH,
246 DT_GNU_HASH and DT_MIPS_XHASH to reconstruct dynamic symbol
247 table. Use DT_STRTAB and DT_STRSZ to reconstruct dynamic string
248 table.
249 (get_symbol_index_type): Don't print "bad section index" when
250 there is no section header.
251 (print_dynamic_symbol): Rewrite.
252 (process_symbol_table): Call print_dynamic_symbol to dump dynamic
253 symbol table.
254
bb897477
RO
2552020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
256
257 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Don't
258 enable on *-*-solaris*.
259
00386881
NC
2602020-03-30 Nick Clifton <nickc@redhat.com>
261
262 PR binutils/25662
263 * objcopy.c (copy_object): When copying PE format files set the
264 timestamp field in the pe_data structure if the preserve_dates
265 flag is set.
266 * testsuite/binutils-all/objcopy.exp (objcopy_test) Use
267 --preserve-dates in place of the -p option, in order to make its
268 effect more obvious.
269
0a6a8b59
AM
2702020-03-28 Alan Modra <amodra@gmail.com>
271
272 * testsuite/binutils-all/objcopy.exp (objcopy_test): Only
273 clear_xfail hppa*-*-*elf*. Revert mips xfails.
274
6a81c59b
AM
2752020-03-28 Alan Modra <amodra@gmail.com>
276
277 * testsuite/binutils-all/objcopy.exp (objcopy_test): Move xfails
278 from here to calls. Remove "m8*-*-*" entry. Don't xfail tic54x
279 but do xfail spu, mipstx39 and mips-sgi-irix for the executable
280 test. Pass "-p" to objcopy for the executable test.
281
1fafefd5
JL
2822020-03-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
283
284 PR binutils/25662
285 * testsuite/binutils-all/objcopy.exp (objcopy_test): Add argument to
286 specify whether an object file or executable should be built and tested.
287 Change test names to report whether an object file or executable is
288 being tested.
289 * testsuite/binutils-all/pr25662.ld: New test.
290 * testsuite/binutils-all/pr25662.s: New test.
291
80e2a3b6
AM
2922020-03-27 Alan Modra <amodra@gmail.com>
293
294 * readelf.c (process_archive): Don't double free qualified_name.
295 Don't break out of loop with "negative" archive_file_size, just
296 set file offset to max.
297
4c836627
AM
2982020-03-25 Alan Modra <amodra@gmail.com>
299
300 * readelf.c (process_archive): Prevent endless loop.
301
1081065c
L
3022020-03-24 H.J. Lu <hongjiu.lu@intel.com>
303
304 PR binutils/25708
305 * nm.c (print_symname): Replace _bfd_elf_get_symbol_version_name
306 with bfd_get_symbol_version_string.
307 (print_symbo): Pass TRUE to bfd_get_symbol_version_string.
308 * objdump.c (objdump_print_symname): Likewise.
309
7e6e972f
L
3102020-03-24 H.J. Lu <hongjiu.lu@intel.com>
311
312 PR binutils/25708
313 * nm.c (SYM_NAME): Removed.
314 (print_symname): Add a pointer to struct extended_symbol_info
315 argument. Call _bfd_elf_get_symbol_version_name to get symbol
316 version.
317 (print_symdef_entry): Pass NULL to print_symname.
318 (print_symbol_info_bsd): Update call to print_symname.
319 (print_symbol_info_sysv): Likewise.
320 (print_symbol_info_posix): Likewise.
321
5a814d6d
AM
3222020-03-24 Alan Modra <amodra@gmail.com>
323
324 * readelf.c (process_mips_specific): Free iconf on error path.
325
0636b245
NC
3262020-03-23 Nick Clifton <nickc@redhat.com>
327
328 PR 25714
329 * wrstabs.c (stab_pop_type): Replace assertion with error return.
330 * write_stabs_in_sections_debugging_info: Likewise.
331 * stab_enum_type: Likewise.
332 * stab_modify_type: Likewise.
333 * stab_struct_field: Likewise.
334 * stab_end_struct_type: Likewise.
335 * stab_start_class_type: Likewise.
336 * stab_class_static_member: Likewise.
337 * stab_class_baseclass: Likewise.
338 * stab_class_start_method: Likewise.
339 * stab_class_method_var: Likewise.
340 * stab_class_end_method: Likewise.
341 * stab_end_class_type: Likewise.
342 * stab_typedef_type: Likewise.
343 * stab_start_function: Likewise.
344 * stab_end_block: Likewise.
345 * stab_lineno: Likewise.
346
5844b465
NC
3472020-03-20 Nick Clifton <nickc@redhat.com>
348
349 * readelf.c (get_compression_header): Add ATTRIBUTE_WARN_UNUSED_RESULT.
350 (process_section_headers): Check the return value from
351 get_compression_header.
352 (dump_section_as_strings): Likewise.
353 (dump_section_as_bytes): Likewise.
354 (load_specific_debug_section): Likewise.
355
3d98c460
L
3562020-03-20 H.J. Lu <hongjiu.lu@intel.com>
357
358 * ar.c (main): Update bfd_plugin_set_program_name call.
359 * nm.c (main): Likewise.
360
f3a08f77
NC
3612020-03-19 Nick Clifton <nickc@redhat.com>
362
363 PR 25676
364 * testsuite/binutils-all/dw4.s: New test source file.
365 * testsuite/binutils-all/nm.exp: Run the new test.
366
ef3df110
L
3672020-03-19 H.J. Lu <hongjiu.lu@intel.com>
368
369 * readelf.c (process_symbol_table): Use unsigned long for si.
370
81a65eb3
AM
3712020-03-19 Alan Modra <amodra@gmail.com>
372
373 * elfcomm.c: Don't include bfd.h or bucomm.h.
374 (program_name): Declare.
375 (process_archive_index_and_symbols): Replace bfd_boolean with int,
376 and substitute FALSE and TRUE.
377 (setup_archive, setup_nested_archive): Likewise.
378 * elfcomm.h: Likewise.
379
1cb7d8b1
AM
3802020-03-19 Alan Modra <amodra@gmail.com>
381
382 * readelf.c (process_archive): Always return via path freeing
383 memory. Formatting.
384
b966f55f
AM
3852020-03-19 Alan Modra <amodra@gmail.com>
386
387 * readelf.c (process_netbsd_elf_note): Validate descsz before
388 accessing descdata. Formatting.
389
645ba681
AM
3902020-03-19 Alan Modra <amodra@gmail.com>
391
392 * elfcomm.c (setup_archive): Make file_size an off_t. Comment.
393 * elfcomm.h (setup_archive): Update prototype.
394
28d13567
AM
3952020-03-16 Alan Modra <amodra@gmail.com>
396
397 * readelf.c (get_symbols): New function.
398 (process_relocs, ia64_process_unwind, hppa_process_unwind),
399 (arm_process_unwind, get_symbol_for_build_attribute): Use it.
400
60e63c3e
AM
4012020-03-16 Alan Modra <amodra@gmail.com>
402
403 * unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts.
404 Detect shift overflows and check that terminating byte is found.
405 Print an error on a bad uleb128.
406
1bd6175a
AM
4072020-03-14 Alan Modra <amodra@gmail.com>
408
409 * readelf.c (process_file): Clean ba_cache.
410
780f96ae
AM
4112020-03-14 Alan Modra <amodra@gmail.com>
412
413 * elfcomm.h (setup_archive): Update prototype.
414 * elfcomm.c (setup_archive): Add file_size parameter and sanity
415 check longnames_size.
416 (setup_nested_archive): Get file size and pass to setup_archive.
417 * elfedit.c (process_archive): Likewise.
418 * readelf.c (process_archive): Pass filedata->file_size to
419 setup_archive.
420
f761cb13
AM
4212020-03-14 Alan Modra <amodra@gmail.com>
422
423 * readelf.c (dump_section_as_strings): Free memory on error exit.
424 (dump_section_as_bytes, process_notes_at): Likewise.
425 (get_build_id): Free enote.
426
06d949ec
KR
4272020-03-13 Kamil Rytarowski <n54@gmx.com>
428
429 * readelf.c (get_netbsd_elfcore_note_type): Add support for
430 NT_NETBSDCORE_LWPSTATUS notes.
431
fd486f32
AM
4322020-03-13 Alan Modra <amodra@gmail.com>
433
434 * elfcomm.c (get_archive_member_name): Always return malloc'd
435 string or NULL.
436 * elfedit.c (process_archive): Tidy memory on all return paths.
437 * readelf.c (process_archive): Likewise.
438 (process_symbol_table): Likewise.
439 (ba_cache): New, replacing ..
440 (get_symbol_for_build_attribute): ..static vars here. Free
441 strtab and symtab before loading new ones. Reject symtab without
442 valid strtab in loop, breaking out of loop on valid symtab.
443 (process_file): Free ba_cache symtab and strtab here, resetting
444 ba_cache.
445
8fb879cd
AM
4462020-03-12 Alan Modra <amodra@gmail.com>
447
448 * readelf.c (process_section_headers): Don't just set
449 filedata->section_headers NULL, free it first. Similarly for
450 dynamic_symbols, dynamic_strings, dynamic_syminfo and
451 symtab_shndx_list. Zero associated counts too.
452 (process_object): Free symtab_shndx_list.
453 (process_file): Free various allocated filedata tables.
454
5496f3c6
NC
4552020-03-11 Nick Clifton <nickc@redhat.com>
456
457 PR 25611
458 PR 25614
459 * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and
460 li_segment_size fields.
461 * dwarf.c (read_debug_line_header): Record the address size and
462 segment selector size values (if present) in the lineinfo
463 structure.
464 (display_formatted_table): Warn if the format count is empty but
465 the table itself is not empty.
466 Display the format count and entry count at the start of the table
467 dump.
468 (display_debug_lines_raw): Display the address size and segement
469 selector size fields, if present.
470 * testsuite/binutils-all/dw5.W: Update expected output.
471
9cc89dc0
AM
4722020-03-11 Alan Modra <amodra@gmail.com>
473
474 PR 25651
475 * objcopy.c (copy_object): Test "gaps" not gap_fill_set or
476 pad_to_set on second block of code dealing with padding.
477 Replace "c" with "num_sec" and don't recalculate number of
478 sections on second block. Size arrays using sizeof (element)
479 rather than sizeof (element type).
480
41da0822
AM
4812020-03-10 Alan Modra <amodra@gmail.com>
482
483 * objdump.c (disassemble_section): Don't call qsort unless
484 sym count is at least two.
485 (disassemble_data): Don't call memcpy with NULL src.
486
95099889
AM
4872020-03-09 Alan Modra <amodra@gmail.com>
488
489 PR 25645
490 * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
491 to get_data rather than multiplying.
492 (dump_ia64_vms_dynamic_relocs): Likewise.
493 (process_version_sections): Correct order of size and nmemb args
494 in get_data call.
495 (process_mips_specific): Likewise.
496
a15de1f5
L
4972020-03-08 H.J. Lu <hongjiu.lu@intel.com>
498
499 * readelf.c (get_dynamic_data): Replace "memory chekers" with
500 "memory checkers" in comments.
501
9979ab66
SM
5022020-03-06 Simon Marchi <simon.marchi@efficios.com>
503
504 PR 25491
505 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
506 * doc/Makefile.in: Re-generate.
507
a0dcf297
NC
5082020-03-06 Nick Clifton <nickc@redhat.com>
509
510 * objcopy.c (check_new_section_flags): New function. Reject the
511 SEC_COFF_SHARED flag if the target is not a COFF binary.
512 (copy_object): Call check_new_section_flags.
513 (setup_section): Likewise.
514 * doc/binutils.texi (objcopy): Add a note that the 'share' section
515 flag cannot be applied to ELF binaries.
516
a9b90127
AM
5172020-03-06 Alan Modra <amodra@gmail.com>
518
519 PR 25637
520 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
521
d1faf7ca
AM
5222020-03-05 Alan Modra <amodra@gmail.com>
523
524 PR 25629
525 * objcopy.c (filter_symbols): Don't segfault on NULL
526 prefix_symbols_string.
527
eef64366
CE
5282020-03-04 Christian Eggers <ceggers@gmx.de>
529
530 * objcopy.c (copy_object): Convert from bytes to octets for
531 --gap-fill and --pad-to.
532
5be2b2f5
NC
5332020-03-03 Nick Clifton <nickc@redhat.com>
534
535 PR 25625
536 * prdbg.c (pr_tag_type): Remove call to abort.
537
b312fea1
AM
5382020-03-02 Aaron Merey <amerey@redhat.com>
539
540 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
541 selection.
542
ba3265d0
NC
5432020-03-02 Nick Clifton <nickc@redhat.com>
544
545 PR 25543
546 * readelf.c (dump_section_as_strings): Display new-line characters
547 as \n and then insert a line break.
548 * testsuite/binutils-all/pr25543.s: New test.
549 * testsuite/binutils-all/pr25543.d: Test driver.
550 * testsuite/binutils-all/readelf.exp: Run the new test.
551
736990c4
NC
5522020-02-27 Nick Clifton <nickc@redhat.com>
553
554 PR 25526
555 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
556 get_data is unable to load the string table.
557
dc1e8a47
AM
5582020-02-26 Alan Modra <amodra@gmail.com>
559
560 * elfedit.c: Indent labels correctly.
561 * readelf.c: Likewise.
562 * resres.c: Likewise.
563
ecda9016
L
5642020-02-25 H.J. Lu <hongjiu.lu@intel.com>
565
566 PR binutils/25584
567 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
568 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
569
83d4d556
NC
5702020-02-24 Nick Clifton <nickc@redhat.com>
571
572 PR 25499
573 * doc/binutils.texi (objdump): Fix typo in description of
574 objdump's -g option.
575
bd0cf5a6
NC
5762020-02-20 Nelson Chu <nelson.chu@sifive.com>
577
578 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
579 is changed.
580
741cb839
EC
5812020-02-19 Jordan Rupprecht <rupprecht@google.com>
582
583 * objdump.c (show_line): call bfd_demangle when using do_demangle.
584
9f1528a1
AB
5852020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
586
587 * configure: Regenerate.
588
3a5d12fb
FS
5892020-02-10 Fangrui Song <maskray@google.com>
590
591 * objcopy.c (parse_flags): Handle "exclude".
592 * doc/binutils.texi: Document the support.
593
678d457f
AM
5942020-02-10 Aaron Merey <amerey@redhat.com>
595
596 * binutils/testsuite/binutils-all/debuginfod.exp:
597 Replace set ::env with setenv.
46471187
AM
598 Start server before setting environment variable.
599 Specify tmpdir as the location of the server's
600 database.
601 Check additional server metrics at start-up.
678d457f 602
e8319fde
NC
6032020-02-07 Nick Clifton <nickc@redhat.com>
604
605 * README-how-to-make-a-release: Add note about updating the
606 GAS/NEWS URL in the next release.
607
9fc0b501
SB
6082020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
609
610 PR 25469
611 * readelf.c (get_machine_flags): Add support for Z80N machine
612 number.
613
e1104d08
NC
6142020-02-07 Nick Clifton <nickc@redhat.com>
615
616 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
617 of the truncated file name.
618
c2e6f744 6192020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
ece12829
TT
620
621 * objdump.c (print_jump_visualisation): New function.
622 (disassemble_bytes): Call new function.
623
02e0be69
AM
6242020-02-06 Alan Modra <amodra@gmail.com>
625
626 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
627 TCL procedure.
628 (supports_gnu_osabi): New procedure.
629 (is_generic): New, from ld-lib.exp.
630 (supports_gnu_unique): Use the above.
631
e8b79122
AM
6322020-02-04 Alan Modra <amodra@gmail.com>
633
634 * Makefile.am (CFILES): Add od-elf32_avr.c.
635 * Makefile.in: Regenerate.
636 * po/POTFILES.in: Regenerate.
637
27a45f42
AS
6382020-02-03 Andreas Schwab <schwab@linux-m68k.org>
639
640 * readelf.c (dump_relocations, dump_relocations)
641 (decode_arm_unwind_bytecode, process_dynamic_section)
642 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
643 error message.
644
0b398d69
ST
6452020-02-03 Sergei Trofimovich <siarheit@google.com>
646
647 * coffdump.c (program_name): Drop redundant definition.
648 * srconv.c (program_name): Likewise
649 * sysdump.c (program_name): Likewise
650
a8c4d40b
L
6512020-02-02 H.J. Lu <hongjiu.lu@intel.com>
652
653 PR gas/25380
654 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
655 same file with different section pointers.
656
cb6ad9bb
NC
6572020-02-01 Nick Clifton <nickc@redhat.com>
658
659 * README-how-to-make-a-release: Update with more details on the
660 release making process.
661
53943f32
NC
6622020-01-31 Nick Clifton <nickc@redhat.com>
663
664 * po/sv.po: Updated Swedish translation.
665
55be8fd0
NC
6662020-01-28 Nick Clifton <nickc@redhat.com>
667
668 * readelf.c (get_build_id): Simplify warning message about corrupt
669 notes encountered whilst scanning for the build-id.
670
82ef9cad
RM
6712020-01-27 Roland McGrath <mcgrathr@google.com>
672
673 * objcopy.c (compare_gnu_build_notes): Fix comparison results
674 for overlapping ranges so that (A == B) == (B == A) holds.
675
e3696f67
AM
6762020-01-27 Alan Modra <amodra@gmail.com>
677
678 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
679 case statement with switch statement.
680
2f796de6
NC
6812020-01-24 Nick Clifton <nickc@redhat.com>
682
683 * readelf.c (get_build_id): Fix warning messages about corrupt
684 notes.
685
24e648d4
NC
6862020-01-23 Nick Clifton <nickc@redhat.com>
687
688 * po/fr.po: Updated French translation.
689
c48acf6f
YC
6902020-01-22 Yuri Chornoivan <yurchor@mageia.org>
691
692 PR 25417
693 * readelf.c (get_alpha_symbol_other): Fix error message typo.
694
26916852
NC
6952020-01-20 Nick Clifton <nickc@redhat.com>
696
697 * po/pt.po: Updated Portuguese translation.
698 * po/uk.po: Updated Ukranian translation.
699
b248e9ce
NC
7002020-01-18 Nick Clifton <nickc@redhat.com>
701
702 * README-how-to-make-a-release: Update notes on how to cut a
703 branch for a release.
704
1b1bb2c6
NC
7052020-01-18 Nick Clifton <nickc@redhat.com>
706
707 * configure: Regenerate.
708 * po/binutils.pot: Regenerate.
709
ae774686
NC
7102020-01-18 Nick Clifton <nickc@redhat.com>
711
712 Binutils 2.34 branch created.
713
82a9ed20
TT
7142020-01-17 Thomas Troeger <tstroege@gmx.de>
715
716 * objdump.c (jump_info_visualize_address): Discard jumps that are
717 no longer needed.
718 (disassemble_bytes): Only compute the maximum level if jumps were
719 detected.
720
6a1939f5
NC
7212020-01-13 Nick Clifton <nickc@redhat.com>
722
c87c17c1 723 * objdump.c (disassemble_bytes): Remove C99-ism.
6a1939f5
NC
724 * testsuite/binutils-all/debuginfod.exp: New tests.
725
1d67fe3b
TT
7262020-01-13 Thomas Troeger <tstroege@gmx.de>
727
728 * objdump.c (visualize_jumps, color_output, extended_color_output)
729 (detected_jumps): New variables.
730 (usage): Add the new jump visualization options.
731 (option_values): Add new option value.
732 (long_options): Add the new option.
733 (jump_info_new, jump_info_free): New functions.
734 (jump_info_min_address, jump_info_max_address): Likewise.
735 (jump_info_end_address, jump_info_is_start_address): Likewise.
736 (jump_info_is_end_address, jump_info_size): Likewise.
737 (jump_info_unlink, jump_info_insert): Likewise.
738 (jump_info_add_front, jump_info_move_linked): Likewise.
739 (jump_info_intersect, jump_info_merge): Likewise.
740 (jump_info_sort, jump_info_visualize_address): Likewise.
741 (disassemble_jumps): New function - used to locate jumps.
742 (disassemble_bytes): Add ascii art generation.
743 (disassemble_section): Add scan to locate jumps.
744 (main): Parse the new visualization option.
745 * doc/binutils.texi: Document the new feature.
746 * NEWS: Mention the new feature.
747
a788aedd
AM
7482020-01-13 Alan Modra <amodra@gmail.com>
749
a4f2b7c5
AM
750 PR 25360
751 PR 25361
a788aedd
AM
752 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
753 fde_fc col_type and col_offset.
754 * readelf.c (apply_relocations): Move symsec check earlier.
755 (free_debug_section): Free reloc_info.
756 (process_notes_at): Free pnotes on error path.
757 (process_object): Free dump_sects here..
758 (process_archive): ..not here.
759
805f38bc
AM
7602020-01-13 Alan Modra <amodra@gmail.com>
761
762 PR 25362
763 * nm.c (display_rel_file): Free dyn_syms.
764
ffebb0bb
NC
7652020-01-09 Nick Clifton <nickc@redhat.com>
766
767 PR 25220
768 * objcopy.c (empty_name): New variable.
769 (need_sym_before): Prevent an attempt to free a static variable.
770 (filter_symbols): Avoid strcmp test by checking for pointer
771 equality.
772
ade4fd9b
NC
7732020-01-09 Nick Clifton <nickc@redhat.com>
774
775 * po/zh_TW.po: Updated Traditional Chinese translation.
776
7772020-01-09 Aaron Merey <amerey@redhat.com>
778
779 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
780 * Makefile.in: Regenerate.
781 * NEWS: Update.
782 * config.in: Regenerate.
783 * configure: Regenerate.
784 * configure.ac: Call AC_DEBUGINFOD.
785 * doc/Makefile.in: Regenerate.
786 * doc/binutils.texi: Add section on using binutils
787 with debuginfod.
788 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
789 Query debuginfod servers for the target debug file.
790 (load_separate_debug_info): Call
791 debuginfod_fetch_separate_debug_info if configured with
792 debuginfod.
793 (load_separate_debug_files): Add file argument to
794 load_separate_debug_info calls.
795 * dwarf.h (get_build_id): Add declaration.
796 * objdump.c (get_build_id): New function. Get build-id of file.
797 * readelf.c (get_build_id): Likewise.
798 * testsuite/binutils-all/debuginfod.exp: New tests.
799 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
800 section.
801
6655dba2
SB
8022020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
803
804 * readelf.c: Add support for new Z*) relocations and machine
805 types.
806
b14ce8bf
AM
8072020-01-01 Alan Modra <amodra@gmail.com>
808
809 Update year range in copyright notice of all files.
810
0b114740 811For older changes see ChangeLog-2019
3499769a 812\f
0b114740 813Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
814
815Copying and distribution of this file, with or without modification,
816are permitted in any medium without royalty provided the copyright
817notice and this notice are preserved.
818
819Local Variables:
820mode: change-log
821left-margin: 8
822fill-column: 74
823version-control: never
824End: