]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
Automatic date update in version.in
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
ceb9bf11
AM
12020-04-20 Alan Modra <amodra@gmail.com>
2
3 * readelf.c (get_num_dynamic_syms): Formatting. Don't return
4 on error without freeing.
5 (process_dynamic_section): Don't recreate dynamic symbols from
6 dynamic tag info when the dynamic symbols have already been
7 read via section headers.
8
e409955d
FS
92020-04-17 Fredrik Strupe <fredrik@strupe.net>
10
11 * testsuite/binutils-all/arm/vdup-cond.d: New test for testing that
12 conditional VDUP instructions are disassembled correctly.
13 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
14 vdup-cond.d.
15 * testsuite/binutils-all/arm/vdup-thumb.d: New test for testing
16 that VDUP instructions (which are conditional in A32) can be
17 disassembled in thumb mode.
18 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
19 vdup-thumb.d.
20
ca3f923f
AM
212020-04-17 Alan Modra <amodra@gmail.com>
22
23 PR 25840
24 * debug.c (debug_class_type_samep): Don't segfault on NULL type.
25
937f6614
AM
262020-04-16 Alan Modra <amodra@gmail.com>
27
28 * doc/binutils.texi: Mention --no-show-raw-insn in objdump
29 --no-addresses description.
30
b1bc1394
AM
312020-04-15 Alan Modra <amodra@gmail.com>
32
33 * objdump.c (no_addresses): New static var.
34 (usage): Print help for --no-addresses.
35 (long_options): Add --no-addresses entry.
36 (objdump_print_addr_with_sym, objdump_print_addr): Omit symbol address.
37 (disassemble_bytes): Don't print current line address, or reloc
38 address.
39 * doc/binutils.texi: Document objdump --no-addresses.
40
001890e1
AM
412020-04-15 Alan Modra <amodra@gmail.com>
42
43 PR 25822
44 * readelf.c (get_num_dynamic_syms): Don't set num_of_syms when
45 reading buckets or chains fails.
46
b71d4fa7
AM
472020-04-15 Alan Modra <amodra@gmail.com>
48
49 * readelf.c (process_symbol_table): Zero gnubuckets, gnuchains
50 etc. after freeing.
51
89246a0e
AM
522020-04-15 Alan Modra <amodra@gmail.com>
53
54 * readelf.c (get_group_flags): Translate text.
55 (get_file_type, get_symbol_binding, get_symbol_type),
56 (get_ppc64_symbol_other, get_symbol_other): Increase size of buffer.
57
c98a4545
AM
582020-04-15 Alan Modra <amodra@gmail.com>
59
60 PR 25821
61 * readelf.c (get_num_dynamic_syms): Typo fix.
62
645f43a8
AM
632020-04-14 Alan Modra <amodra@gmail.com>
64
65 * readelf.c (process_mips_specific): Free eopt and iopt. Avoid
66 possibility of overflow when checking number of conflicts.
67
10ca4b04
L
682020-04-14 H.J. Lu <hongjiu.lu@intel.com>
69
70 PR binutils/25707
71 * readelf.c (nbuckets): New.
72 (nchains): Likewise.
73 (buckets): Likewise.
74 (chains): Likewise.
75 (ngnubuckets): Likewise.
76 (gnubuckets): Likewise.
77 (gnuchains): Likewise.
78 (mipsxlat): Likewise.
79 (ngnuchains): Likewise.
80 (gnusymidx): Likewise.
81 (VALID_SYMBOL_NAME): Likewise.
82 (VALID_DYNAMIC_NAME): Use it.
83 (get_dynamic_data): Moved before process_dynamic_section.
84 (get_num_dynamic_syms): New function.
85 (process_dynamic_section): Use DT_SYMTAB, DT_SYMENT, DT_HASH,
86 DT_GNU_HASH and DT_MIPS_XHASH to reconstruct dynamic symbol
87 table. Use DT_STRTAB and DT_STRSZ to reconstruct dynamic string
88 table.
89 (get_symbol_index_type): Don't print "bad section index" when
90 there is no section header.
91 (print_dynamic_symbol): Rewrite.
92 (process_symbol_table): Call print_dynamic_symbol to dump dynamic
93 symbol table.
94
bb897477
RO
952020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
96
97 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Don't
98 enable on *-*-solaris*.
99
00386881
NC
1002020-03-30 Nick Clifton <nickc@redhat.com>
101
102 PR binutils/25662
103 * objcopy.c (copy_object): When copying PE format files set the
104 timestamp field in the pe_data structure if the preserve_dates
105 flag is set.
106 * testsuite/binutils-all/objcopy.exp (objcopy_test) Use
107 --preserve-dates in place of the -p option, in order to make its
108 effect more obvious.
109
0a6a8b59
AM
1102020-03-28 Alan Modra <amodra@gmail.com>
111
112 * testsuite/binutils-all/objcopy.exp (objcopy_test): Only
113 clear_xfail hppa*-*-*elf*. Revert mips xfails.
114
6a81c59b
AM
1152020-03-28 Alan Modra <amodra@gmail.com>
116
117 * testsuite/binutils-all/objcopy.exp (objcopy_test): Move xfails
118 from here to calls. Remove "m8*-*-*" entry. Don't xfail tic54x
119 but do xfail spu, mipstx39 and mips-sgi-irix for the executable
120 test. Pass "-p" to objcopy for the executable test.
121
1fafefd5
JL
1222020-03-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
123
124 PR binutils/25662
125 * testsuite/binutils-all/objcopy.exp (objcopy_test): Add argument to
126 specify whether an object file or executable should be built and tested.
127 Change test names to report whether an object file or executable is
128 being tested.
129 * testsuite/binutils-all/pr25662.ld: New test.
130 * testsuite/binutils-all/pr25662.s: New test.
131
80e2a3b6
AM
1322020-03-27 Alan Modra <amodra@gmail.com>
133
134 * readelf.c (process_archive): Don't double free qualified_name.
135 Don't break out of loop with "negative" archive_file_size, just
136 set file offset to max.
137
4c836627
AM
1382020-03-25 Alan Modra <amodra@gmail.com>
139
140 * readelf.c (process_archive): Prevent endless loop.
141
1081065c
L
1422020-03-24 H.J. Lu <hongjiu.lu@intel.com>
143
144 PR binutils/25708
145 * nm.c (print_symname): Replace _bfd_elf_get_symbol_version_name
146 with bfd_get_symbol_version_string.
147 (print_symbo): Pass TRUE to bfd_get_symbol_version_string.
148 * objdump.c (objdump_print_symname): Likewise.
149
7e6e972f
L
1502020-03-24 H.J. Lu <hongjiu.lu@intel.com>
151
152 PR binutils/25708
153 * nm.c (SYM_NAME): Removed.
154 (print_symname): Add a pointer to struct extended_symbol_info
155 argument. Call _bfd_elf_get_symbol_version_name to get symbol
156 version.
157 (print_symdef_entry): Pass NULL to print_symname.
158 (print_symbol_info_bsd): Update call to print_symname.
159 (print_symbol_info_sysv): Likewise.
160 (print_symbol_info_posix): Likewise.
161
5a814d6d
AM
1622020-03-24 Alan Modra <amodra@gmail.com>
163
164 * readelf.c (process_mips_specific): Free iconf on error path.
165
0636b245
NC
1662020-03-23 Nick Clifton <nickc@redhat.com>
167
168 PR 25714
169 * wrstabs.c (stab_pop_type): Replace assertion with error return.
170 * write_stabs_in_sections_debugging_info: Likewise.
171 * stab_enum_type: Likewise.
172 * stab_modify_type: Likewise.
173 * stab_struct_field: Likewise.
174 * stab_end_struct_type: Likewise.
175 * stab_start_class_type: Likewise.
176 * stab_class_static_member: Likewise.
177 * stab_class_baseclass: Likewise.
178 * stab_class_start_method: Likewise.
179 * stab_class_method_var: Likewise.
180 * stab_class_end_method: Likewise.
181 * stab_end_class_type: Likewise.
182 * stab_typedef_type: Likewise.
183 * stab_start_function: Likewise.
184 * stab_end_block: Likewise.
185 * stab_lineno: Likewise.
186
5844b465
NC
1872020-03-20 Nick Clifton <nickc@redhat.com>
188
189 * readelf.c (get_compression_header): Add ATTRIBUTE_WARN_UNUSED_RESULT.
190 (process_section_headers): Check the return value from
191 get_compression_header.
192 (dump_section_as_strings): Likewise.
193 (dump_section_as_bytes): Likewise.
194 (load_specific_debug_section): Likewise.
195
3d98c460
L
1962020-03-20 H.J. Lu <hongjiu.lu@intel.com>
197
198 * ar.c (main): Update bfd_plugin_set_program_name call.
199 * nm.c (main): Likewise.
200
f3a08f77
NC
2012020-03-19 Nick Clifton <nickc@redhat.com>
202
203 PR 25676
204 * testsuite/binutils-all/dw4.s: New test source file.
205 * testsuite/binutils-all/nm.exp: Run the new test.
206
ef3df110
L
2072020-03-19 H.J. Lu <hongjiu.lu@intel.com>
208
209 * readelf.c (process_symbol_table): Use unsigned long for si.
210
81a65eb3
AM
2112020-03-19 Alan Modra <amodra@gmail.com>
212
213 * elfcomm.c: Don't include bfd.h or bucomm.h.
214 (program_name): Declare.
215 (process_archive_index_and_symbols): Replace bfd_boolean with int,
216 and substitute FALSE and TRUE.
217 (setup_archive, setup_nested_archive): Likewise.
218 * elfcomm.h: Likewise.
219
1cb7d8b1
AM
2202020-03-19 Alan Modra <amodra@gmail.com>
221
222 * readelf.c (process_archive): Always return via path freeing
223 memory. Formatting.
224
b966f55f
AM
2252020-03-19 Alan Modra <amodra@gmail.com>
226
227 * readelf.c (process_netbsd_elf_note): Validate descsz before
228 accessing descdata. Formatting.
229
645ba681
AM
2302020-03-19 Alan Modra <amodra@gmail.com>
231
232 * elfcomm.c (setup_archive): Make file_size an off_t. Comment.
233 * elfcomm.h (setup_archive): Update prototype.
234
28d13567
AM
2352020-03-16 Alan Modra <amodra@gmail.com>
236
237 * readelf.c (get_symbols): New function.
238 (process_relocs, ia64_process_unwind, hppa_process_unwind),
239 (arm_process_unwind, get_symbol_for_build_attribute): Use it.
240
60e63c3e
AM
2412020-03-16 Alan Modra <amodra@gmail.com>
242
243 * unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts.
244 Detect shift overflows and check that terminating byte is found.
245 Print an error on a bad uleb128.
246
1bd6175a
AM
2472020-03-14 Alan Modra <amodra@gmail.com>
248
249 * readelf.c (process_file): Clean ba_cache.
250
780f96ae
AM
2512020-03-14 Alan Modra <amodra@gmail.com>
252
253 * elfcomm.h (setup_archive): Update prototype.
254 * elfcomm.c (setup_archive): Add file_size parameter and sanity
255 check longnames_size.
256 (setup_nested_archive): Get file size and pass to setup_archive.
257 * elfedit.c (process_archive): Likewise.
258 * readelf.c (process_archive): Pass filedata->file_size to
259 setup_archive.
260
f761cb13
AM
2612020-03-14 Alan Modra <amodra@gmail.com>
262
263 * readelf.c (dump_section_as_strings): Free memory on error exit.
264 (dump_section_as_bytes, process_notes_at): Likewise.
265 (get_build_id): Free enote.
266
06d949ec
KR
2672020-03-13 Kamil Rytarowski <n54@gmx.com>
268
269 * readelf.c (get_netbsd_elfcore_note_type): Add support for
270 NT_NETBSDCORE_LWPSTATUS notes.
271
fd486f32
AM
2722020-03-13 Alan Modra <amodra@gmail.com>
273
274 * elfcomm.c (get_archive_member_name): Always return malloc'd
275 string or NULL.
276 * elfedit.c (process_archive): Tidy memory on all return paths.
277 * readelf.c (process_archive): Likewise.
278 (process_symbol_table): Likewise.
279 (ba_cache): New, replacing ..
280 (get_symbol_for_build_attribute): ..static vars here. Free
281 strtab and symtab before loading new ones. Reject symtab without
282 valid strtab in loop, breaking out of loop on valid symtab.
283 (process_file): Free ba_cache symtab and strtab here, resetting
284 ba_cache.
285
8fb879cd
AM
2862020-03-12 Alan Modra <amodra@gmail.com>
287
288 * readelf.c (process_section_headers): Don't just set
289 filedata->section_headers NULL, free it first. Similarly for
290 dynamic_symbols, dynamic_strings, dynamic_syminfo and
291 symtab_shndx_list. Zero associated counts too.
292 (process_object): Free symtab_shndx_list.
293 (process_file): Free various allocated filedata tables.
294
5496f3c6
NC
2952020-03-11 Nick Clifton <nickc@redhat.com>
296
297 PR 25611
298 PR 25614
299 * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and
300 li_segment_size fields.
301 * dwarf.c (read_debug_line_header): Record the address size and
302 segment selector size values (if present) in the lineinfo
303 structure.
304 (display_formatted_table): Warn if the format count is empty but
305 the table itself is not empty.
306 Display the format count and entry count at the start of the table
307 dump.
308 (display_debug_lines_raw): Display the address size and segement
309 selector size fields, if present.
310 * testsuite/binutils-all/dw5.W: Update expected output.
311
9cc89dc0
AM
3122020-03-11 Alan Modra <amodra@gmail.com>
313
314 PR 25651
315 * objcopy.c (copy_object): Test "gaps" not gap_fill_set or
316 pad_to_set on second block of code dealing with padding.
317 Replace "c" with "num_sec" and don't recalculate number of
318 sections on second block. Size arrays using sizeof (element)
319 rather than sizeof (element type).
320
41da0822
AM
3212020-03-10 Alan Modra <amodra@gmail.com>
322
323 * objdump.c (disassemble_section): Don't call qsort unless
324 sym count is at least two.
325 (disassemble_data): Don't call memcpy with NULL src.
326
95099889
AM
3272020-03-09 Alan Modra <amodra@gmail.com>
328
329 PR 25645
330 * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
331 to get_data rather than multiplying.
332 (dump_ia64_vms_dynamic_relocs): Likewise.
333 (process_version_sections): Correct order of size and nmemb args
334 in get_data call.
335 (process_mips_specific): Likewise.
336
a15de1f5
L
3372020-03-08 H.J. Lu <hongjiu.lu@intel.com>
338
339 * readelf.c (get_dynamic_data): Replace "memory chekers" with
340 "memory checkers" in comments.
341
9979ab66
SM
3422020-03-06 Simon Marchi <simon.marchi@efficios.com>
343
344 PR 25491
345 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
346 * doc/Makefile.in: Re-generate.
347
a0dcf297
NC
3482020-03-06 Nick Clifton <nickc@redhat.com>
349
350 * objcopy.c (check_new_section_flags): New function. Reject the
351 SEC_COFF_SHARED flag if the target is not a COFF binary.
352 (copy_object): Call check_new_section_flags.
353 (setup_section): Likewise.
354 * doc/binutils.texi (objcopy): Add a note that the 'share' section
355 flag cannot be applied to ELF binaries.
356
a9b90127
AM
3572020-03-06 Alan Modra <amodra@gmail.com>
358
359 PR 25637
360 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
361
d1faf7ca
AM
3622020-03-05 Alan Modra <amodra@gmail.com>
363
364 PR 25629
365 * objcopy.c (filter_symbols): Don't segfault on NULL
366 prefix_symbols_string.
367
eef64366
CE
3682020-03-04 Christian Eggers <ceggers@gmx.de>
369
370 * objcopy.c (copy_object): Convert from bytes to octets for
371 --gap-fill and --pad-to.
372
5be2b2f5
NC
3732020-03-03 Nick Clifton <nickc@redhat.com>
374
375 PR 25625
376 * prdbg.c (pr_tag_type): Remove call to abort.
377
b312fea1
AM
3782020-03-02 Aaron Merey <amerey@redhat.com>
379
380 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
381 selection.
382
ba3265d0
NC
3832020-03-02 Nick Clifton <nickc@redhat.com>
384
385 PR 25543
386 * readelf.c (dump_section_as_strings): Display new-line characters
387 as \n and then insert a line break.
388 * testsuite/binutils-all/pr25543.s: New test.
389 * testsuite/binutils-all/pr25543.d: Test driver.
390 * testsuite/binutils-all/readelf.exp: Run the new test.
391
736990c4
NC
3922020-02-27 Nick Clifton <nickc@redhat.com>
393
394 PR 25526
395 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
396 get_data is unable to load the string table.
397
dc1e8a47
AM
3982020-02-26 Alan Modra <amodra@gmail.com>
399
400 * elfedit.c: Indent labels correctly.
401 * readelf.c: Likewise.
402 * resres.c: Likewise.
403
ecda9016
L
4042020-02-25 H.J. Lu <hongjiu.lu@intel.com>
405
406 PR binutils/25584
407 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
408 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
409
83d4d556
NC
4102020-02-24 Nick Clifton <nickc@redhat.com>
411
412 PR 25499
413 * doc/binutils.texi (objdump): Fix typo in description of
414 objdump's -g option.
415
bd0cf5a6
NC
4162020-02-20 Nelson Chu <nelson.chu@sifive.com>
417
418 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
419 is changed.
420
741cb839
EC
4212020-02-19 Jordan Rupprecht <rupprecht@google.com>
422
423 * objdump.c (show_line): call bfd_demangle when using do_demangle.
424
9f1528a1
AB
4252020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
426
427 * configure: Regenerate.
428
3a5d12fb
FS
4292020-02-10 Fangrui Song <maskray@google.com>
430
431 * objcopy.c (parse_flags): Handle "exclude".
432 * doc/binutils.texi: Document the support.
433
678d457f
AM
4342020-02-10 Aaron Merey <amerey@redhat.com>
435
436 * binutils/testsuite/binutils-all/debuginfod.exp:
437 Replace set ::env with setenv.
46471187
AM
438 Start server before setting environment variable.
439 Specify tmpdir as the location of the server's
440 database.
441 Check additional server metrics at start-up.
678d457f 442
e8319fde
NC
4432020-02-07 Nick Clifton <nickc@redhat.com>
444
445 * README-how-to-make-a-release: Add note about updating the
446 GAS/NEWS URL in the next release.
447
9fc0b501
SB
4482020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
449
450 PR 25469
451 * readelf.c (get_machine_flags): Add support for Z80N machine
452 number.
453
e1104d08
NC
4542020-02-07 Nick Clifton <nickc@redhat.com>
455
456 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
457 of the truncated file name.
458
c2e6f744 4592020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
ece12829
TT
460
461 * objdump.c (print_jump_visualisation): New function.
462 (disassemble_bytes): Call new function.
463
02e0be69
AM
4642020-02-06 Alan Modra <amodra@gmail.com>
465
466 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
467 TCL procedure.
468 (supports_gnu_osabi): New procedure.
469 (is_generic): New, from ld-lib.exp.
470 (supports_gnu_unique): Use the above.
471
e8b79122
AM
4722020-02-04 Alan Modra <amodra@gmail.com>
473
474 * Makefile.am (CFILES): Add od-elf32_avr.c.
475 * Makefile.in: Regenerate.
476 * po/POTFILES.in: Regenerate.
477
27a45f42
AS
4782020-02-03 Andreas Schwab <schwab@linux-m68k.org>
479
480 * readelf.c (dump_relocations, dump_relocations)
481 (decode_arm_unwind_bytecode, process_dynamic_section)
482 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
483 error message.
484
0b398d69
ST
4852020-02-03 Sergei Trofimovich <siarheit@google.com>
486
487 * coffdump.c (program_name): Drop redundant definition.
488 * srconv.c (program_name): Likewise
489 * sysdump.c (program_name): Likewise
490
a8c4d40b
L
4912020-02-02 H.J. Lu <hongjiu.lu@intel.com>
492
493 PR gas/25380
494 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
495 same file with different section pointers.
496
cb6ad9bb
NC
4972020-02-01 Nick Clifton <nickc@redhat.com>
498
499 * README-how-to-make-a-release: Update with more details on the
500 release making process.
501
53943f32
NC
5022020-01-31 Nick Clifton <nickc@redhat.com>
503
504 * po/sv.po: Updated Swedish translation.
505
55be8fd0
NC
5062020-01-28 Nick Clifton <nickc@redhat.com>
507
508 * readelf.c (get_build_id): Simplify warning message about corrupt
509 notes encountered whilst scanning for the build-id.
510
82ef9cad
RM
5112020-01-27 Roland McGrath <mcgrathr@google.com>
512
513 * objcopy.c (compare_gnu_build_notes): Fix comparison results
514 for overlapping ranges so that (A == B) == (B == A) holds.
515
e3696f67
AM
5162020-01-27 Alan Modra <amodra@gmail.com>
517
518 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
519 case statement with switch statement.
520
2f796de6
NC
5212020-01-24 Nick Clifton <nickc@redhat.com>
522
523 * readelf.c (get_build_id): Fix warning messages about corrupt
524 notes.
525
24e648d4
NC
5262020-01-23 Nick Clifton <nickc@redhat.com>
527
528 * po/fr.po: Updated French translation.
529
c48acf6f
YC
5302020-01-22 Yuri Chornoivan <yurchor@mageia.org>
531
532 PR 25417
533 * readelf.c (get_alpha_symbol_other): Fix error message typo.
534
26916852
NC
5352020-01-20 Nick Clifton <nickc@redhat.com>
536
537 * po/pt.po: Updated Portuguese translation.
538 * po/uk.po: Updated Ukranian translation.
539
b248e9ce
NC
5402020-01-18 Nick Clifton <nickc@redhat.com>
541
542 * README-how-to-make-a-release: Update notes on how to cut a
543 branch for a release.
544
1b1bb2c6
NC
5452020-01-18 Nick Clifton <nickc@redhat.com>
546
547 * configure: Regenerate.
548 * po/binutils.pot: Regenerate.
549
ae774686
NC
5502020-01-18 Nick Clifton <nickc@redhat.com>
551
552 Binutils 2.34 branch created.
553
82a9ed20
TT
5542020-01-17 Thomas Troeger <tstroege@gmx.de>
555
556 * objdump.c (jump_info_visualize_address): Discard jumps that are
557 no longer needed.
558 (disassemble_bytes): Only compute the maximum level if jumps were
559 detected.
560
6a1939f5
NC
5612020-01-13 Nick Clifton <nickc@redhat.com>
562
c87c17c1 563 * objdump.c (disassemble_bytes): Remove C99-ism.
6a1939f5
NC
564 * testsuite/binutils-all/debuginfod.exp: New tests.
565
1d67fe3b
TT
5662020-01-13 Thomas Troeger <tstroege@gmx.de>
567
568 * objdump.c (visualize_jumps, color_output, extended_color_output)
569 (detected_jumps): New variables.
570 (usage): Add the new jump visualization options.
571 (option_values): Add new option value.
572 (long_options): Add the new option.
573 (jump_info_new, jump_info_free): New functions.
574 (jump_info_min_address, jump_info_max_address): Likewise.
575 (jump_info_end_address, jump_info_is_start_address): Likewise.
576 (jump_info_is_end_address, jump_info_size): Likewise.
577 (jump_info_unlink, jump_info_insert): Likewise.
578 (jump_info_add_front, jump_info_move_linked): Likewise.
579 (jump_info_intersect, jump_info_merge): Likewise.
580 (jump_info_sort, jump_info_visualize_address): Likewise.
581 (disassemble_jumps): New function - used to locate jumps.
582 (disassemble_bytes): Add ascii art generation.
583 (disassemble_section): Add scan to locate jumps.
584 (main): Parse the new visualization option.
585 * doc/binutils.texi: Document the new feature.
586 * NEWS: Mention the new feature.
587
a788aedd
AM
5882020-01-13 Alan Modra <amodra@gmail.com>
589
a4f2b7c5
AM
590 PR 25360
591 PR 25361
a788aedd
AM
592 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
593 fde_fc col_type and col_offset.
594 * readelf.c (apply_relocations): Move symsec check earlier.
595 (free_debug_section): Free reloc_info.
596 (process_notes_at): Free pnotes on error path.
597 (process_object): Free dump_sects here..
598 (process_archive): ..not here.
599
805f38bc
AM
6002020-01-13 Alan Modra <amodra@gmail.com>
601
602 PR 25362
603 * nm.c (display_rel_file): Free dyn_syms.
604
ffebb0bb
NC
6052020-01-09 Nick Clifton <nickc@redhat.com>
606
607 PR 25220
608 * objcopy.c (empty_name): New variable.
609 (need_sym_before): Prevent an attempt to free a static variable.
610 (filter_symbols): Avoid strcmp test by checking for pointer
611 equality.
612
ade4fd9b
NC
6132020-01-09 Nick Clifton <nickc@redhat.com>
614
615 * po/zh_TW.po: Updated Traditional Chinese translation.
616
6172020-01-09 Aaron Merey <amerey@redhat.com>
618
619 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
620 * Makefile.in: Regenerate.
621 * NEWS: Update.
622 * config.in: Regenerate.
623 * configure: Regenerate.
624 * configure.ac: Call AC_DEBUGINFOD.
625 * doc/Makefile.in: Regenerate.
626 * doc/binutils.texi: Add section on using binutils
627 with debuginfod.
628 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
629 Query debuginfod servers for the target debug file.
630 (load_separate_debug_info): Call
631 debuginfod_fetch_separate_debug_info if configured with
632 debuginfod.
633 (load_separate_debug_files): Add file argument to
634 load_separate_debug_info calls.
635 * dwarf.h (get_build_id): Add declaration.
636 * objdump.c (get_build_id): New function. Get build-id of file.
637 * readelf.c (get_build_id): Likewise.
638 * testsuite/binutils-all/debuginfod.exp: New tests.
639 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
640 section.
641
6655dba2
SB
6422020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
643
644 * readelf.c: Add support for new Z*) relocations and machine
645 types.
646
b14ce8bf
AM
6472020-01-01 Alan Modra <amodra@gmail.com>
648
649 Update year range in copyright notice of all files.
650
0b114740 651For older changes see ChangeLog-2019
3499769a 652\f
0b114740 653Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
654
655Copying and distribution of this file, with or without modification,
656are permitted in any medium without royalty provided the copyright
657notice and this notice are preserved.
658
659Local Variables:
660mode: change-log
661left-margin: 8
662fill-column: 74
663version-control: never
664End: