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