]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
Remove some dead code
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
c2e71e57
NC
12020-04-29 Nick Clifton <nickc@redhat.com>
2
3 * po/sr.po: Updated Serbian translation.
4
90837ea7
AM
52020-04-26 Alan Modra <amodra@gmail.com>
6
7 * readelf.c (get_num_dynamic_syms): Check DT_MIPS_XHASH was
8 read before dereferencing, and gracefully return. Remove
9 gnu_hash_error variable. Free gnu hash arrays if number of
10 syms found is zero.
11
2482f306
AM
122020-04-24 Alan Modra <amodra@gmail.com>
13
14 * readelf.c (get_num_dynamic_syms): Check for nbuckets and nchains
15 non-zero.
16 (process_dynamic_section): Call get_num_dynamic_syms once rather
17 than in segment loop. Break out of segment loop on a successful
18 load of dynamic symbols. Formatting.
19 (process_object): Return error status from process_dynamic_section.
20
27456742
AK
212020-04-23 Anton Kolesov <anton.kolesov@synopsys.com>
22
23 * elf-bfd.h (elfcore_write_arc_v2): Add prototype.
24 * elf.c (elfcore_grok_arc_v2): New function.
25 (elfcore_grok_note): Call the new function to handle the corresponding
26 note.
27 (elfcore_write_arc_v2): New function.
28 (elfcore_write_register_note): Call the new function to handle the
29 corresponding pseudo-sections.
30
30ce8e47
MF
312020-04-22 Max Filippov <jcmvbkbc@gmail.com>
32
33 PR ld/25861
34 * readelf.c (is_none_reloc): Recognize
35 BFD_RELOC_XTENSA_PDIFF{8,16,32} and
36 BFD_RELOC_XTENSA_NDIFF{8,16,32}.
37
33b5a830
NC
382020-04-22 Nick Clifton <nickc@redhat.com>
39
40 * MAINTAINERS: Remove Chris Faylor as the ix86 PE maintainer.
41
978c4450
AM
422020-04-22 Alan Modra <amodra@gmail.com>
43
44 * readelf.c (archive_file_offset, archive_file_size, dynamic_addr),
45 (dynamic_size, dynamic_nent, dynamic_strings, dynamic_strings_length),
46 (num_dynamic_syms, nbuckets, nchains, buckets, chains),
47 (ngnubuckets, gnubuckets, gnuchains, mipsxlat, ngnuchains),
48 (gnusymidx, dynamic_symbols, dynamic_syminfo, dynamic_syminfo_offset),
49 (dynamic_syminfo_nent, program_interpreter, dynamic_info),
50 (dynamic_info_DT_GNU_HASH, dynamic_info_DT_MIPS_XHASH, version_info),
51 (dynamic_section, symtab_shndx_list, group_count, section_groups),
52 (section_headers_groups): Move to struct filedata. Update use
53 throughout file.
54
6431e409
AM
552020-04-22 Alan Modra <amodra@gmail.com>
56
57 * readelf.c (struct dump_data): New, used..
58 (cmdline): ..here, and..
59 (struct filedata): ..here. Adjust all uses.
60 (request_dump_bynumber, request_dump, parse_args): Pass in a
61 struct dump_data* rather than Filedata*. Adjust callers.
62 (main): Don't set cmdline.file_name.
63
a5e0be5c
AM
642020-04-20 Alan Modra <amodra@gmail.com>
65
66 * readelf.c (process_symbol_table): Clear ngnuchains, ngnubuckets
67 and nbuckets.
68
8ff66993
AM
692020-04-20 Alan Modra <amodra@gmail.com>
70
71 * readelf.c (process_section_headers): Free dynamic symbols etc.
72 earlier.
73
ceb9bf11
AM
742020-04-20 Alan Modra <amodra@gmail.com>
75
76 * readelf.c (get_num_dynamic_syms): Formatting. Don't return
77 on error without freeing.
78 (process_dynamic_section): Don't recreate dynamic symbols from
79 dynamic tag info when the dynamic symbols have already been
80 read via section headers.
81
e409955d
FS
822020-04-17 Fredrik Strupe <fredrik@strupe.net>
83
84 * testsuite/binutils-all/arm/vdup-cond.d: New test for testing that
85 conditional VDUP instructions are disassembled correctly.
86 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
87 vdup-cond.d.
88 * testsuite/binutils-all/arm/vdup-thumb.d: New test for testing
89 that VDUP instructions (which are conditional in A32) can be
90 disassembled in thumb mode.
91 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
92 vdup-thumb.d.
93
ca3f923f
AM
942020-04-17 Alan Modra <amodra@gmail.com>
95
96 PR 25840
97 * debug.c (debug_class_type_samep): Don't segfault on NULL type.
98
937f6614
AM
992020-04-16 Alan Modra <amodra@gmail.com>
100
101 * doc/binutils.texi: Mention --no-show-raw-insn in objdump
102 --no-addresses description.
103
b1bc1394
AM
1042020-04-15 Alan Modra <amodra@gmail.com>
105
106 * objdump.c (no_addresses): New static var.
107 (usage): Print help for --no-addresses.
108 (long_options): Add --no-addresses entry.
109 (objdump_print_addr_with_sym, objdump_print_addr): Omit symbol address.
110 (disassemble_bytes): Don't print current line address, or reloc
111 address.
112 * doc/binutils.texi: Document objdump --no-addresses.
113
001890e1
AM
1142020-04-15 Alan Modra <amodra@gmail.com>
115
116 PR 25822
117 * readelf.c (get_num_dynamic_syms): Don't set num_of_syms when
118 reading buckets or chains fails.
119
b71d4fa7
AM
1202020-04-15 Alan Modra <amodra@gmail.com>
121
122 * readelf.c (process_symbol_table): Zero gnubuckets, gnuchains
123 etc. after freeing.
124
89246a0e
AM
1252020-04-15 Alan Modra <amodra@gmail.com>
126
127 * readelf.c (get_group_flags): Translate text.
128 (get_file_type, get_symbol_binding, get_symbol_type),
129 (get_ppc64_symbol_other, get_symbol_other): Increase size of buffer.
130
c98a4545
AM
1312020-04-15 Alan Modra <amodra@gmail.com>
132
133 PR 25821
134 * readelf.c (get_num_dynamic_syms): Typo fix.
135
645f43a8
AM
1362020-04-14 Alan Modra <amodra@gmail.com>
137
138 * readelf.c (process_mips_specific): Free eopt and iopt. Avoid
139 possibility of overflow when checking number of conflicts.
140
10ca4b04
L
1412020-04-14 H.J. Lu <hongjiu.lu@intel.com>
142
143 PR binutils/25707
144 * readelf.c (nbuckets): New.
145 (nchains): Likewise.
146 (buckets): Likewise.
147 (chains): Likewise.
148 (ngnubuckets): Likewise.
149 (gnubuckets): Likewise.
150 (gnuchains): Likewise.
151 (mipsxlat): Likewise.
152 (ngnuchains): Likewise.
153 (gnusymidx): Likewise.
154 (VALID_SYMBOL_NAME): Likewise.
155 (VALID_DYNAMIC_NAME): Use it.
156 (get_dynamic_data): Moved before process_dynamic_section.
157 (get_num_dynamic_syms): New function.
158 (process_dynamic_section): Use DT_SYMTAB, DT_SYMENT, DT_HASH,
159 DT_GNU_HASH and DT_MIPS_XHASH to reconstruct dynamic symbol
160 table. Use DT_STRTAB and DT_STRSZ to reconstruct dynamic string
161 table.
162 (get_symbol_index_type): Don't print "bad section index" when
163 there is no section header.
164 (print_dynamic_symbol): Rewrite.
165 (process_symbol_table): Call print_dynamic_symbol to dump dynamic
166 symbol table.
167
bb897477
RO
1682020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
169
170 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Don't
171 enable on *-*-solaris*.
172
00386881
NC
1732020-03-30 Nick Clifton <nickc@redhat.com>
174
175 PR binutils/25662
176 * objcopy.c (copy_object): When copying PE format files set the
177 timestamp field in the pe_data structure if the preserve_dates
178 flag is set.
179 * testsuite/binutils-all/objcopy.exp (objcopy_test) Use
180 --preserve-dates in place of the -p option, in order to make its
181 effect more obvious.
182
0a6a8b59
AM
1832020-03-28 Alan Modra <amodra@gmail.com>
184
185 * testsuite/binutils-all/objcopy.exp (objcopy_test): Only
186 clear_xfail hppa*-*-*elf*. Revert mips xfails.
187
6a81c59b
AM
1882020-03-28 Alan Modra <amodra@gmail.com>
189
190 * testsuite/binutils-all/objcopy.exp (objcopy_test): Move xfails
191 from here to calls. Remove "m8*-*-*" entry. Don't xfail tic54x
192 but do xfail spu, mipstx39 and mips-sgi-irix for the executable
193 test. Pass "-p" to objcopy for the executable test.
194
1fafefd5
JL
1952020-03-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
196
197 PR binutils/25662
198 * testsuite/binutils-all/objcopy.exp (objcopy_test): Add argument to
199 specify whether an object file or executable should be built and tested.
200 Change test names to report whether an object file or executable is
201 being tested.
202 * testsuite/binutils-all/pr25662.ld: New test.
203 * testsuite/binutils-all/pr25662.s: New test.
204
80e2a3b6
AM
2052020-03-27 Alan Modra <amodra@gmail.com>
206
207 * readelf.c (process_archive): Don't double free qualified_name.
208 Don't break out of loop with "negative" archive_file_size, just
209 set file offset to max.
210
4c836627
AM
2112020-03-25 Alan Modra <amodra@gmail.com>
212
213 * readelf.c (process_archive): Prevent endless loop.
214
1081065c
L
2152020-03-24 H.J. Lu <hongjiu.lu@intel.com>
216
217 PR binutils/25708
218 * nm.c (print_symname): Replace _bfd_elf_get_symbol_version_name
219 with bfd_get_symbol_version_string.
220 (print_symbo): Pass TRUE to bfd_get_symbol_version_string.
221 * objdump.c (objdump_print_symname): Likewise.
222
7e6e972f
L
2232020-03-24 H.J. Lu <hongjiu.lu@intel.com>
224
225 PR binutils/25708
226 * nm.c (SYM_NAME): Removed.
227 (print_symname): Add a pointer to struct extended_symbol_info
228 argument. Call _bfd_elf_get_symbol_version_name to get symbol
229 version.
230 (print_symdef_entry): Pass NULL to print_symname.
231 (print_symbol_info_bsd): Update call to print_symname.
232 (print_symbol_info_sysv): Likewise.
233 (print_symbol_info_posix): Likewise.
234
5a814d6d
AM
2352020-03-24 Alan Modra <amodra@gmail.com>
236
237 * readelf.c (process_mips_specific): Free iconf on error path.
238
0636b245
NC
2392020-03-23 Nick Clifton <nickc@redhat.com>
240
241 PR 25714
242 * wrstabs.c (stab_pop_type): Replace assertion with error return.
243 * write_stabs_in_sections_debugging_info: Likewise.
244 * stab_enum_type: Likewise.
245 * stab_modify_type: Likewise.
246 * stab_struct_field: Likewise.
247 * stab_end_struct_type: Likewise.
248 * stab_start_class_type: Likewise.
249 * stab_class_static_member: Likewise.
250 * stab_class_baseclass: Likewise.
251 * stab_class_start_method: Likewise.
252 * stab_class_method_var: Likewise.
253 * stab_class_end_method: Likewise.
254 * stab_end_class_type: Likewise.
255 * stab_typedef_type: Likewise.
256 * stab_start_function: Likewise.
257 * stab_end_block: Likewise.
258 * stab_lineno: Likewise.
259
5844b465
NC
2602020-03-20 Nick Clifton <nickc@redhat.com>
261
262 * readelf.c (get_compression_header): Add ATTRIBUTE_WARN_UNUSED_RESULT.
263 (process_section_headers): Check the return value from
264 get_compression_header.
265 (dump_section_as_strings): Likewise.
266 (dump_section_as_bytes): Likewise.
267 (load_specific_debug_section): Likewise.
268
3d98c460
L
2692020-03-20 H.J. Lu <hongjiu.lu@intel.com>
270
271 * ar.c (main): Update bfd_plugin_set_program_name call.
272 * nm.c (main): Likewise.
273
f3a08f77
NC
2742020-03-19 Nick Clifton <nickc@redhat.com>
275
276 PR 25676
277 * testsuite/binutils-all/dw4.s: New test source file.
278 * testsuite/binutils-all/nm.exp: Run the new test.
279
ef3df110
L
2802020-03-19 H.J. Lu <hongjiu.lu@intel.com>
281
282 * readelf.c (process_symbol_table): Use unsigned long for si.
283
81a65eb3
AM
2842020-03-19 Alan Modra <amodra@gmail.com>
285
286 * elfcomm.c: Don't include bfd.h or bucomm.h.
287 (program_name): Declare.
288 (process_archive_index_and_symbols): Replace bfd_boolean with int,
289 and substitute FALSE and TRUE.
290 (setup_archive, setup_nested_archive): Likewise.
291 * elfcomm.h: Likewise.
292
1cb7d8b1
AM
2932020-03-19 Alan Modra <amodra@gmail.com>
294
295 * readelf.c (process_archive): Always return via path freeing
296 memory. Formatting.
297
b966f55f
AM
2982020-03-19 Alan Modra <amodra@gmail.com>
299
300 * readelf.c (process_netbsd_elf_note): Validate descsz before
301 accessing descdata. Formatting.
302
645ba681
AM
3032020-03-19 Alan Modra <amodra@gmail.com>
304
305 * elfcomm.c (setup_archive): Make file_size an off_t. Comment.
306 * elfcomm.h (setup_archive): Update prototype.
307
28d13567
AM
3082020-03-16 Alan Modra <amodra@gmail.com>
309
310 * readelf.c (get_symbols): New function.
311 (process_relocs, ia64_process_unwind, hppa_process_unwind),
312 (arm_process_unwind, get_symbol_for_build_attribute): Use it.
313
60e63c3e
AM
3142020-03-16 Alan Modra <amodra@gmail.com>
315
316 * unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts.
317 Detect shift overflows and check that terminating byte is found.
318 Print an error on a bad uleb128.
319
1bd6175a
AM
3202020-03-14 Alan Modra <amodra@gmail.com>
321
322 * readelf.c (process_file): Clean ba_cache.
323
780f96ae
AM
3242020-03-14 Alan Modra <amodra@gmail.com>
325
326 * elfcomm.h (setup_archive): Update prototype.
327 * elfcomm.c (setup_archive): Add file_size parameter and sanity
328 check longnames_size.
329 (setup_nested_archive): Get file size and pass to setup_archive.
330 * elfedit.c (process_archive): Likewise.
331 * readelf.c (process_archive): Pass filedata->file_size to
332 setup_archive.
333
f761cb13
AM
3342020-03-14 Alan Modra <amodra@gmail.com>
335
336 * readelf.c (dump_section_as_strings): Free memory on error exit.
337 (dump_section_as_bytes, process_notes_at): Likewise.
338 (get_build_id): Free enote.
339
06d949ec
KR
3402020-03-13 Kamil Rytarowski <n54@gmx.com>
341
342 * readelf.c (get_netbsd_elfcore_note_type): Add support for
343 NT_NETBSDCORE_LWPSTATUS notes.
344
fd486f32
AM
3452020-03-13 Alan Modra <amodra@gmail.com>
346
347 * elfcomm.c (get_archive_member_name): Always return malloc'd
348 string or NULL.
349 * elfedit.c (process_archive): Tidy memory on all return paths.
350 * readelf.c (process_archive): Likewise.
351 (process_symbol_table): Likewise.
352 (ba_cache): New, replacing ..
353 (get_symbol_for_build_attribute): ..static vars here. Free
354 strtab and symtab before loading new ones. Reject symtab without
355 valid strtab in loop, breaking out of loop on valid symtab.
356 (process_file): Free ba_cache symtab and strtab here, resetting
357 ba_cache.
358
8fb879cd
AM
3592020-03-12 Alan Modra <amodra@gmail.com>
360
361 * readelf.c (process_section_headers): Don't just set
362 filedata->section_headers NULL, free it first. Similarly for
363 dynamic_symbols, dynamic_strings, dynamic_syminfo and
364 symtab_shndx_list. Zero associated counts too.
365 (process_object): Free symtab_shndx_list.
366 (process_file): Free various allocated filedata tables.
367
5496f3c6
NC
3682020-03-11 Nick Clifton <nickc@redhat.com>
369
370 PR 25611
371 PR 25614
372 * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and
373 li_segment_size fields.
374 * dwarf.c (read_debug_line_header): Record the address size and
375 segment selector size values (if present) in the lineinfo
376 structure.
377 (display_formatted_table): Warn if the format count is empty but
378 the table itself is not empty.
379 Display the format count and entry count at the start of the table
380 dump.
381 (display_debug_lines_raw): Display the address size and segement
382 selector size fields, if present.
383 * testsuite/binutils-all/dw5.W: Update expected output.
384
9cc89dc0
AM
3852020-03-11 Alan Modra <amodra@gmail.com>
386
387 PR 25651
388 * objcopy.c (copy_object): Test "gaps" not gap_fill_set or
389 pad_to_set on second block of code dealing with padding.
390 Replace "c" with "num_sec" and don't recalculate number of
391 sections on second block. Size arrays using sizeof (element)
392 rather than sizeof (element type).
393
41da0822
AM
3942020-03-10 Alan Modra <amodra@gmail.com>
395
396 * objdump.c (disassemble_section): Don't call qsort unless
397 sym count is at least two.
398 (disassemble_data): Don't call memcpy with NULL src.
399
95099889
AM
4002020-03-09 Alan Modra <amodra@gmail.com>
401
402 PR 25645
403 * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
404 to get_data rather than multiplying.
405 (dump_ia64_vms_dynamic_relocs): Likewise.
406 (process_version_sections): Correct order of size and nmemb args
407 in get_data call.
408 (process_mips_specific): Likewise.
409
a15de1f5
L
4102020-03-08 H.J. Lu <hongjiu.lu@intel.com>
411
412 * readelf.c (get_dynamic_data): Replace "memory chekers" with
413 "memory checkers" in comments.
414
9979ab66
SM
4152020-03-06 Simon Marchi <simon.marchi@efficios.com>
416
417 PR 25491
418 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
419 * doc/Makefile.in: Re-generate.
420
a0dcf297
NC
4212020-03-06 Nick Clifton <nickc@redhat.com>
422
423 * objcopy.c (check_new_section_flags): New function. Reject the
424 SEC_COFF_SHARED flag if the target is not a COFF binary.
425 (copy_object): Call check_new_section_flags.
426 (setup_section): Likewise.
427 * doc/binutils.texi (objcopy): Add a note that the 'share' section
428 flag cannot be applied to ELF binaries.
429
a9b90127
AM
4302020-03-06 Alan Modra <amodra@gmail.com>
431
432 PR 25637
433 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
434
d1faf7ca
AM
4352020-03-05 Alan Modra <amodra@gmail.com>
436
437 PR 25629
438 * objcopy.c (filter_symbols): Don't segfault on NULL
439 prefix_symbols_string.
440
eef64366
CE
4412020-03-04 Christian Eggers <ceggers@gmx.de>
442
443 * objcopy.c (copy_object): Convert from bytes to octets for
444 --gap-fill and --pad-to.
445
5be2b2f5
NC
4462020-03-03 Nick Clifton <nickc@redhat.com>
447
448 PR 25625
449 * prdbg.c (pr_tag_type): Remove call to abort.
450
b312fea1
AM
4512020-03-02 Aaron Merey <amerey@redhat.com>
452
453 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
454 selection.
455
ba3265d0
NC
4562020-03-02 Nick Clifton <nickc@redhat.com>
457
458 PR 25543
459 * readelf.c (dump_section_as_strings): Display new-line characters
460 as \n and then insert a line break.
461 * testsuite/binutils-all/pr25543.s: New test.
462 * testsuite/binutils-all/pr25543.d: Test driver.
463 * testsuite/binutils-all/readelf.exp: Run the new test.
464
736990c4
NC
4652020-02-27 Nick Clifton <nickc@redhat.com>
466
467 PR 25526
468 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
469 get_data is unable to load the string table.
470
dc1e8a47
AM
4712020-02-26 Alan Modra <amodra@gmail.com>
472
473 * elfedit.c: Indent labels correctly.
474 * readelf.c: Likewise.
475 * resres.c: Likewise.
476
ecda9016
L
4772020-02-25 H.J. Lu <hongjiu.lu@intel.com>
478
479 PR binutils/25584
480 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
481 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
482
83d4d556
NC
4832020-02-24 Nick Clifton <nickc@redhat.com>
484
485 PR 25499
486 * doc/binutils.texi (objdump): Fix typo in description of
487 objdump's -g option.
488
bd0cf5a6
NC
4892020-02-20 Nelson Chu <nelson.chu@sifive.com>
490
491 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
492 is changed.
493
741cb839
EC
4942020-02-19 Jordan Rupprecht <rupprecht@google.com>
495
496 * objdump.c (show_line): call bfd_demangle when using do_demangle.
497
9f1528a1
AB
4982020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
499
500 * configure: Regenerate.
501
3a5d12fb
FS
5022020-02-10 Fangrui Song <maskray@google.com>
503
504 * objcopy.c (parse_flags): Handle "exclude".
505 * doc/binutils.texi: Document the support.
506
678d457f
AM
5072020-02-10 Aaron Merey <amerey@redhat.com>
508
509 * binutils/testsuite/binutils-all/debuginfod.exp:
510 Replace set ::env with setenv.
46471187
AM
511 Start server before setting environment variable.
512 Specify tmpdir as the location of the server's
513 database.
514 Check additional server metrics at start-up.
678d457f 515
e8319fde
NC
5162020-02-07 Nick Clifton <nickc@redhat.com>
517
518 * README-how-to-make-a-release: Add note about updating the
519 GAS/NEWS URL in the next release.
520
9fc0b501
SB
5212020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
522
523 PR 25469
524 * readelf.c (get_machine_flags): Add support for Z80N machine
525 number.
526
e1104d08
NC
5272020-02-07 Nick Clifton <nickc@redhat.com>
528
529 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
530 of the truncated file name.
531
c2e6f744 5322020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
ece12829
TT
533
534 * objdump.c (print_jump_visualisation): New function.
535 (disassemble_bytes): Call new function.
536
02e0be69
AM
5372020-02-06 Alan Modra <amodra@gmail.com>
538
539 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
540 TCL procedure.
541 (supports_gnu_osabi): New procedure.
542 (is_generic): New, from ld-lib.exp.
543 (supports_gnu_unique): Use the above.
544
e8b79122
AM
5452020-02-04 Alan Modra <amodra@gmail.com>
546
547 * Makefile.am (CFILES): Add od-elf32_avr.c.
548 * Makefile.in: Regenerate.
549 * po/POTFILES.in: Regenerate.
550
27a45f42
AS
5512020-02-03 Andreas Schwab <schwab@linux-m68k.org>
552
553 * readelf.c (dump_relocations, dump_relocations)
554 (decode_arm_unwind_bytecode, process_dynamic_section)
555 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
556 error message.
557
0b398d69
ST
5582020-02-03 Sergei Trofimovich <siarheit@google.com>
559
560 * coffdump.c (program_name): Drop redundant definition.
561 * srconv.c (program_name): Likewise
562 * sysdump.c (program_name): Likewise
563
a8c4d40b
L
5642020-02-02 H.J. Lu <hongjiu.lu@intel.com>
565
566 PR gas/25380
567 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
568 same file with different section pointers.
569
cb6ad9bb
NC
5702020-02-01 Nick Clifton <nickc@redhat.com>
571
572 * README-how-to-make-a-release: Update with more details on the
573 release making process.
574
53943f32
NC
5752020-01-31 Nick Clifton <nickc@redhat.com>
576
577 * po/sv.po: Updated Swedish translation.
578
55be8fd0
NC
5792020-01-28 Nick Clifton <nickc@redhat.com>
580
581 * readelf.c (get_build_id): Simplify warning message about corrupt
582 notes encountered whilst scanning for the build-id.
583
82ef9cad
RM
5842020-01-27 Roland McGrath <mcgrathr@google.com>
585
586 * objcopy.c (compare_gnu_build_notes): Fix comparison results
587 for overlapping ranges so that (A == B) == (B == A) holds.
588
e3696f67
AM
5892020-01-27 Alan Modra <amodra@gmail.com>
590
591 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
592 case statement with switch statement.
593
2f796de6
NC
5942020-01-24 Nick Clifton <nickc@redhat.com>
595
596 * readelf.c (get_build_id): Fix warning messages about corrupt
597 notes.
598
24e648d4
NC
5992020-01-23 Nick Clifton <nickc@redhat.com>
600
601 * po/fr.po: Updated French translation.
602
c48acf6f
YC
6032020-01-22 Yuri Chornoivan <yurchor@mageia.org>
604
605 PR 25417
606 * readelf.c (get_alpha_symbol_other): Fix error message typo.
607
26916852
NC
6082020-01-20 Nick Clifton <nickc@redhat.com>
609
610 * po/pt.po: Updated Portuguese translation.
611 * po/uk.po: Updated Ukranian translation.
612
b248e9ce
NC
6132020-01-18 Nick Clifton <nickc@redhat.com>
614
615 * README-how-to-make-a-release: Update notes on how to cut a
616 branch for a release.
617
1b1bb2c6
NC
6182020-01-18 Nick Clifton <nickc@redhat.com>
619
620 * configure: Regenerate.
621 * po/binutils.pot: Regenerate.
622
ae774686
NC
6232020-01-18 Nick Clifton <nickc@redhat.com>
624
625 Binutils 2.34 branch created.
626
82a9ed20
TT
6272020-01-17 Thomas Troeger <tstroege@gmx.de>
628
629 * objdump.c (jump_info_visualize_address): Discard jumps that are
630 no longer needed.
631 (disassemble_bytes): Only compute the maximum level if jumps were
632 detected.
633
6a1939f5
NC
6342020-01-13 Nick Clifton <nickc@redhat.com>
635
c87c17c1 636 * objdump.c (disassemble_bytes): Remove C99-ism.
6a1939f5
NC
637 * testsuite/binutils-all/debuginfod.exp: New tests.
638
1d67fe3b
TT
6392020-01-13 Thomas Troeger <tstroege@gmx.de>
640
641 * objdump.c (visualize_jumps, color_output, extended_color_output)
642 (detected_jumps): New variables.
643 (usage): Add the new jump visualization options.
644 (option_values): Add new option value.
645 (long_options): Add the new option.
646 (jump_info_new, jump_info_free): New functions.
647 (jump_info_min_address, jump_info_max_address): Likewise.
648 (jump_info_end_address, jump_info_is_start_address): Likewise.
649 (jump_info_is_end_address, jump_info_size): Likewise.
650 (jump_info_unlink, jump_info_insert): Likewise.
651 (jump_info_add_front, jump_info_move_linked): Likewise.
652 (jump_info_intersect, jump_info_merge): Likewise.
653 (jump_info_sort, jump_info_visualize_address): Likewise.
654 (disassemble_jumps): New function - used to locate jumps.
655 (disassemble_bytes): Add ascii art generation.
656 (disassemble_section): Add scan to locate jumps.
657 (main): Parse the new visualization option.
658 * doc/binutils.texi: Document the new feature.
659 * NEWS: Mention the new feature.
660
a788aedd
AM
6612020-01-13 Alan Modra <amodra@gmail.com>
662
a4f2b7c5
AM
663 PR 25360
664 PR 25361
a788aedd
AM
665 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
666 fde_fc col_type and col_offset.
667 * readelf.c (apply_relocations): Move symsec check earlier.
668 (free_debug_section): Free reloc_info.
669 (process_notes_at): Free pnotes on error path.
670 (process_object): Free dump_sects here..
671 (process_archive): ..not here.
672
805f38bc
AM
6732020-01-13 Alan Modra <amodra@gmail.com>
674
675 PR 25362
676 * nm.c (display_rel_file): Free dyn_syms.
677
ffebb0bb
NC
6782020-01-09 Nick Clifton <nickc@redhat.com>
679
680 PR 25220
681 * objcopy.c (empty_name): New variable.
682 (need_sym_before): Prevent an attempt to free a static variable.
683 (filter_symbols): Avoid strcmp test by checking for pointer
684 equality.
685
ade4fd9b
NC
6862020-01-09 Nick Clifton <nickc@redhat.com>
687
688 * po/zh_TW.po: Updated Traditional Chinese translation.
689
6902020-01-09 Aaron Merey <amerey@redhat.com>
691
692 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
693 * Makefile.in: Regenerate.
694 * NEWS: Update.
695 * config.in: Regenerate.
696 * configure: Regenerate.
697 * configure.ac: Call AC_DEBUGINFOD.
698 * doc/Makefile.in: Regenerate.
699 * doc/binutils.texi: Add section on using binutils
700 with debuginfod.
701 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
702 Query debuginfod servers for the target debug file.
703 (load_separate_debug_info): Call
704 debuginfod_fetch_separate_debug_info if configured with
705 debuginfod.
706 (load_separate_debug_files): Add file argument to
707 load_separate_debug_info calls.
708 * dwarf.h (get_build_id): Add declaration.
709 * objdump.c (get_build_id): New function. Get build-id of file.
710 * readelf.c (get_build_id): Likewise.
711 * testsuite/binutils-all/debuginfod.exp: New tests.
712 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
713 section.
714
6655dba2
SB
7152020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
716
717 * readelf.c: Add support for new Z*) relocations and machine
718 types.
719
b14ce8bf
AM
7202020-01-01 Alan Modra <amodra@gmail.com>
721
722 Update year range in copyright notice of all files.
723
0b114740 724For older changes see ChangeLog-2019
3499769a 725\f
0b114740 726Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
727
728Copying and distribution of this file, with or without modification,
729are permitted in any medium without royalty provided the copyright
730notice and this notice are preserved.
731
732Local Variables:
733mode: change-log
734left-margin: 8
735fill-column: 74
736version-control: never
737End: