]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - binutils/ChangeLog
Remove Chris Faylor as the ix86 PE maintainer.
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
1 2020-04-22 Nick Clifton <nickc@redhat.com>
2
3 * MAINTAINERS: Remove Chris Faylor as the ix86 PE maintainer.
4
5 2020-04-22 Alan Modra <amodra@gmail.com>
6
7 * readelf.c (archive_file_offset, archive_file_size, dynamic_addr),
8 (dynamic_size, dynamic_nent, dynamic_strings, dynamic_strings_length),
9 (num_dynamic_syms, nbuckets, nchains, buckets, chains),
10 (ngnubuckets, gnubuckets, gnuchains, mipsxlat, ngnuchains),
11 (gnusymidx, dynamic_symbols, dynamic_syminfo, dynamic_syminfo_offset),
12 (dynamic_syminfo_nent, program_interpreter, dynamic_info),
13 (dynamic_info_DT_GNU_HASH, dynamic_info_DT_MIPS_XHASH, version_info),
14 (dynamic_section, symtab_shndx_list, group_count, section_groups),
15 (section_headers_groups): Move to struct filedata. Update use
16 throughout file.
17
18 2020-04-22 Alan Modra <amodra@gmail.com>
19
20 * readelf.c (struct dump_data): New, used..
21 (cmdline): ..here, and..
22 (struct filedata): ..here. Adjust all uses.
23 (request_dump_bynumber, request_dump, parse_args): Pass in a
24 struct dump_data* rather than Filedata*. Adjust callers.
25 (main): Don't set cmdline.file_name.
26
27 2020-04-20 Alan Modra <amodra@gmail.com>
28
29 * readelf.c (process_symbol_table): Clear ngnuchains, ngnubuckets
30 and nbuckets.
31
32 2020-04-20 Alan Modra <amodra@gmail.com>
33
34 * readelf.c (process_section_headers): Free dynamic symbols etc.
35 earlier.
36
37 2020-04-20 Alan Modra <amodra@gmail.com>
38
39 * readelf.c (get_num_dynamic_syms): Formatting. Don't return
40 on error without freeing.
41 (process_dynamic_section): Don't recreate dynamic symbols from
42 dynamic tag info when the dynamic symbols have already been
43 read via section headers.
44
45 2020-04-17 Fredrik Strupe <fredrik@strupe.net>
46
47 * testsuite/binutils-all/arm/vdup-cond.d: New test for testing that
48 conditional VDUP instructions are disassembled correctly.
49 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
50 vdup-cond.d.
51 * testsuite/binutils-all/arm/vdup-thumb.d: New test for testing
52 that VDUP instructions (which are conditional in A32) can be
53 disassembled in thumb mode.
54 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
55 vdup-thumb.d.
56
57 2020-04-17 Alan Modra <amodra@gmail.com>
58
59 PR 25840
60 * debug.c (debug_class_type_samep): Don't segfault on NULL type.
61
62 2020-04-16 Alan Modra <amodra@gmail.com>
63
64 * doc/binutils.texi: Mention --no-show-raw-insn in objdump
65 --no-addresses description.
66
67 2020-04-15 Alan Modra <amodra@gmail.com>
68
69 * objdump.c (no_addresses): New static var.
70 (usage): Print help for --no-addresses.
71 (long_options): Add --no-addresses entry.
72 (objdump_print_addr_with_sym, objdump_print_addr): Omit symbol address.
73 (disassemble_bytes): Don't print current line address, or reloc
74 address.
75 * doc/binutils.texi: Document objdump --no-addresses.
76
77 2020-04-15 Alan Modra <amodra@gmail.com>
78
79 PR 25822
80 * readelf.c (get_num_dynamic_syms): Don't set num_of_syms when
81 reading buckets or chains fails.
82
83 2020-04-15 Alan Modra <amodra@gmail.com>
84
85 * readelf.c (process_symbol_table): Zero gnubuckets, gnuchains
86 etc. after freeing.
87
88 2020-04-15 Alan Modra <amodra@gmail.com>
89
90 * readelf.c (get_group_flags): Translate text.
91 (get_file_type, get_symbol_binding, get_symbol_type),
92 (get_ppc64_symbol_other, get_symbol_other): Increase size of buffer.
93
94 2020-04-15 Alan Modra <amodra@gmail.com>
95
96 PR 25821
97 * readelf.c (get_num_dynamic_syms): Typo fix.
98
99 2020-04-14 Alan Modra <amodra@gmail.com>
100
101 * readelf.c (process_mips_specific): Free eopt and iopt. Avoid
102 possibility of overflow when checking number of conflicts.
103
104 2020-04-14 H.J. Lu <hongjiu.lu@intel.com>
105
106 PR binutils/25707
107 * readelf.c (nbuckets): New.
108 (nchains): Likewise.
109 (buckets): Likewise.
110 (chains): Likewise.
111 (ngnubuckets): Likewise.
112 (gnubuckets): Likewise.
113 (gnuchains): Likewise.
114 (mipsxlat): Likewise.
115 (ngnuchains): Likewise.
116 (gnusymidx): Likewise.
117 (VALID_SYMBOL_NAME): Likewise.
118 (VALID_DYNAMIC_NAME): Use it.
119 (get_dynamic_data): Moved before process_dynamic_section.
120 (get_num_dynamic_syms): New function.
121 (process_dynamic_section): Use DT_SYMTAB, DT_SYMENT, DT_HASH,
122 DT_GNU_HASH and DT_MIPS_XHASH to reconstruct dynamic symbol
123 table. Use DT_STRTAB and DT_STRSZ to reconstruct dynamic string
124 table.
125 (get_symbol_index_type): Don't print "bad section index" when
126 there is no section header.
127 (print_dynamic_symbol): Rewrite.
128 (process_symbol_table): Call print_dynamic_symbol to dump dynamic
129 symbol table.
130
131 2020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
132
133 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Don't
134 enable on *-*-solaris*.
135
136 2020-03-30 Nick Clifton <nickc@redhat.com>
137
138 PR binutils/25662
139 * objcopy.c (copy_object): When copying PE format files set the
140 timestamp field in the pe_data structure if the preserve_dates
141 flag is set.
142 * testsuite/binutils-all/objcopy.exp (objcopy_test) Use
143 --preserve-dates in place of the -p option, in order to make its
144 effect more obvious.
145
146 2020-03-28 Alan Modra <amodra@gmail.com>
147
148 * testsuite/binutils-all/objcopy.exp (objcopy_test): Only
149 clear_xfail hppa*-*-*elf*. Revert mips xfails.
150
151 2020-03-28 Alan Modra <amodra@gmail.com>
152
153 * testsuite/binutils-all/objcopy.exp (objcopy_test): Move xfails
154 from here to calls. Remove "m8*-*-*" entry. Don't xfail tic54x
155 but do xfail spu, mipstx39 and mips-sgi-irix for the executable
156 test. Pass "-p" to objcopy for the executable test.
157
158 2020-03-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
159
160 PR binutils/25662
161 * testsuite/binutils-all/objcopy.exp (objcopy_test): Add argument to
162 specify whether an object file or executable should be built and tested.
163 Change test names to report whether an object file or executable is
164 being tested.
165 * testsuite/binutils-all/pr25662.ld: New test.
166 * testsuite/binutils-all/pr25662.s: New test.
167
168 2020-03-27 Alan Modra <amodra@gmail.com>
169
170 * readelf.c (process_archive): Don't double free qualified_name.
171 Don't break out of loop with "negative" archive_file_size, just
172 set file offset to max.
173
174 2020-03-25 Alan Modra <amodra@gmail.com>
175
176 * readelf.c (process_archive): Prevent endless loop.
177
178 2020-03-24 H.J. Lu <hongjiu.lu@intel.com>
179
180 PR binutils/25708
181 * nm.c (print_symname): Replace _bfd_elf_get_symbol_version_name
182 with bfd_get_symbol_version_string.
183 (print_symbo): Pass TRUE to bfd_get_symbol_version_string.
184 * objdump.c (objdump_print_symname): Likewise.
185
186 2020-03-24 H.J. Lu <hongjiu.lu@intel.com>
187
188 PR binutils/25708
189 * nm.c (SYM_NAME): Removed.
190 (print_symname): Add a pointer to struct extended_symbol_info
191 argument. Call _bfd_elf_get_symbol_version_name to get symbol
192 version.
193 (print_symdef_entry): Pass NULL to print_symname.
194 (print_symbol_info_bsd): Update call to print_symname.
195 (print_symbol_info_sysv): Likewise.
196 (print_symbol_info_posix): Likewise.
197
198 2020-03-24 Alan Modra <amodra@gmail.com>
199
200 * readelf.c (process_mips_specific): Free iconf on error path.
201
202 2020-03-23 Nick Clifton <nickc@redhat.com>
203
204 PR 25714
205 * wrstabs.c (stab_pop_type): Replace assertion with error return.
206 * write_stabs_in_sections_debugging_info: Likewise.
207 * stab_enum_type: Likewise.
208 * stab_modify_type: Likewise.
209 * stab_struct_field: Likewise.
210 * stab_end_struct_type: Likewise.
211 * stab_start_class_type: Likewise.
212 * stab_class_static_member: Likewise.
213 * stab_class_baseclass: Likewise.
214 * stab_class_start_method: Likewise.
215 * stab_class_method_var: Likewise.
216 * stab_class_end_method: Likewise.
217 * stab_end_class_type: Likewise.
218 * stab_typedef_type: Likewise.
219 * stab_start_function: Likewise.
220 * stab_end_block: Likewise.
221 * stab_lineno: Likewise.
222
223 2020-03-20 Nick Clifton <nickc@redhat.com>
224
225 * readelf.c (get_compression_header): Add ATTRIBUTE_WARN_UNUSED_RESULT.
226 (process_section_headers): Check the return value from
227 get_compression_header.
228 (dump_section_as_strings): Likewise.
229 (dump_section_as_bytes): Likewise.
230 (load_specific_debug_section): Likewise.
231
232 2020-03-20 H.J. Lu <hongjiu.lu@intel.com>
233
234 * ar.c (main): Update bfd_plugin_set_program_name call.
235 * nm.c (main): Likewise.
236
237 2020-03-19 Nick Clifton <nickc@redhat.com>
238
239 PR 25676
240 * testsuite/binutils-all/dw4.s: New test source file.
241 * testsuite/binutils-all/nm.exp: Run the new test.
242
243 2020-03-19 H.J. Lu <hongjiu.lu@intel.com>
244
245 * readelf.c (process_symbol_table): Use unsigned long for si.
246
247 2020-03-19 Alan Modra <amodra@gmail.com>
248
249 * elfcomm.c: Don't include bfd.h or bucomm.h.
250 (program_name): Declare.
251 (process_archive_index_and_symbols): Replace bfd_boolean with int,
252 and substitute FALSE and TRUE.
253 (setup_archive, setup_nested_archive): Likewise.
254 * elfcomm.h: Likewise.
255
256 2020-03-19 Alan Modra <amodra@gmail.com>
257
258 * readelf.c (process_archive): Always return via path freeing
259 memory. Formatting.
260
261 2020-03-19 Alan Modra <amodra@gmail.com>
262
263 * readelf.c (process_netbsd_elf_note): Validate descsz before
264 accessing descdata. Formatting.
265
266 2020-03-19 Alan Modra <amodra@gmail.com>
267
268 * elfcomm.c (setup_archive): Make file_size an off_t. Comment.
269 * elfcomm.h (setup_archive): Update prototype.
270
271 2020-03-16 Alan Modra <amodra@gmail.com>
272
273 * readelf.c (get_symbols): New function.
274 (process_relocs, ia64_process_unwind, hppa_process_unwind),
275 (arm_process_unwind, get_symbol_for_build_attribute): Use it.
276
277 2020-03-16 Alan Modra <amodra@gmail.com>
278
279 * unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts.
280 Detect shift overflows and check that terminating byte is found.
281 Print an error on a bad uleb128.
282
283 2020-03-14 Alan Modra <amodra@gmail.com>
284
285 * readelf.c (process_file): Clean ba_cache.
286
287 2020-03-14 Alan Modra <amodra@gmail.com>
288
289 * elfcomm.h (setup_archive): Update prototype.
290 * elfcomm.c (setup_archive): Add file_size parameter and sanity
291 check longnames_size.
292 (setup_nested_archive): Get file size and pass to setup_archive.
293 * elfedit.c (process_archive): Likewise.
294 * readelf.c (process_archive): Pass filedata->file_size to
295 setup_archive.
296
297 2020-03-14 Alan Modra <amodra@gmail.com>
298
299 * readelf.c (dump_section_as_strings): Free memory on error exit.
300 (dump_section_as_bytes, process_notes_at): Likewise.
301 (get_build_id): Free enote.
302
303 2020-03-13 Kamil Rytarowski <n54@gmx.com>
304
305 * readelf.c (get_netbsd_elfcore_note_type): Add support for
306 NT_NETBSDCORE_LWPSTATUS notes.
307
308 2020-03-13 Alan Modra <amodra@gmail.com>
309
310 * elfcomm.c (get_archive_member_name): Always return malloc'd
311 string or NULL.
312 * elfedit.c (process_archive): Tidy memory on all return paths.
313 * readelf.c (process_archive): Likewise.
314 (process_symbol_table): Likewise.
315 (ba_cache): New, replacing ..
316 (get_symbol_for_build_attribute): ..static vars here. Free
317 strtab and symtab before loading new ones. Reject symtab without
318 valid strtab in loop, breaking out of loop on valid symtab.
319 (process_file): Free ba_cache symtab and strtab here, resetting
320 ba_cache.
321
322 2020-03-12 Alan Modra <amodra@gmail.com>
323
324 * readelf.c (process_section_headers): Don't just set
325 filedata->section_headers NULL, free it first. Similarly for
326 dynamic_symbols, dynamic_strings, dynamic_syminfo and
327 symtab_shndx_list. Zero associated counts too.
328 (process_object): Free symtab_shndx_list.
329 (process_file): Free various allocated filedata tables.
330
331 2020-03-11 Nick Clifton <nickc@redhat.com>
332
333 PR 25611
334 PR 25614
335 * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and
336 li_segment_size fields.
337 * dwarf.c (read_debug_line_header): Record the address size and
338 segment selector size values (if present) in the lineinfo
339 structure.
340 (display_formatted_table): Warn if the format count is empty but
341 the table itself is not empty.
342 Display the format count and entry count at the start of the table
343 dump.
344 (display_debug_lines_raw): Display the address size and segement
345 selector size fields, if present.
346 * testsuite/binutils-all/dw5.W: Update expected output.
347
348 2020-03-11 Alan Modra <amodra@gmail.com>
349
350 PR 25651
351 * objcopy.c (copy_object): Test "gaps" not gap_fill_set or
352 pad_to_set on second block of code dealing with padding.
353 Replace "c" with "num_sec" and don't recalculate number of
354 sections on second block. Size arrays using sizeof (element)
355 rather than sizeof (element type).
356
357 2020-03-10 Alan Modra <amodra@gmail.com>
358
359 * objdump.c (disassemble_section): Don't call qsort unless
360 sym count is at least two.
361 (disassemble_data): Don't call memcpy with NULL src.
362
363 2020-03-09 Alan Modra <amodra@gmail.com>
364
365 PR 25645
366 * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
367 to get_data rather than multiplying.
368 (dump_ia64_vms_dynamic_relocs): Likewise.
369 (process_version_sections): Correct order of size and nmemb args
370 in get_data call.
371 (process_mips_specific): Likewise.
372
373 2020-03-08 H.J. Lu <hongjiu.lu@intel.com>
374
375 * readelf.c (get_dynamic_data): Replace "memory chekers" with
376 "memory checkers" in comments.
377
378 2020-03-06 Simon Marchi <simon.marchi@efficios.com>
379
380 PR 25491
381 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
382 * doc/Makefile.in: Re-generate.
383
384 2020-03-06 Nick Clifton <nickc@redhat.com>
385
386 * objcopy.c (check_new_section_flags): New function. Reject the
387 SEC_COFF_SHARED flag if the target is not a COFF binary.
388 (copy_object): Call check_new_section_flags.
389 (setup_section): Likewise.
390 * doc/binutils.texi (objcopy): Add a note that the 'share' section
391 flag cannot be applied to ELF binaries.
392
393 2020-03-06 Alan Modra <amodra@gmail.com>
394
395 PR 25637
396 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
397
398 2020-03-05 Alan Modra <amodra@gmail.com>
399
400 PR 25629
401 * objcopy.c (filter_symbols): Don't segfault on NULL
402 prefix_symbols_string.
403
404 2020-03-04 Christian Eggers <ceggers@gmx.de>
405
406 * objcopy.c (copy_object): Convert from bytes to octets for
407 --gap-fill and --pad-to.
408
409 2020-03-03 Nick Clifton <nickc@redhat.com>
410
411 PR 25625
412 * prdbg.c (pr_tag_type): Remove call to abort.
413
414 2020-03-02 Aaron Merey <amerey@redhat.com>
415
416 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
417 selection.
418
419 2020-03-02 Nick Clifton <nickc@redhat.com>
420
421 PR 25543
422 * readelf.c (dump_section_as_strings): Display new-line characters
423 as \n and then insert a line break.
424 * testsuite/binutils-all/pr25543.s: New test.
425 * testsuite/binutils-all/pr25543.d: Test driver.
426 * testsuite/binutils-all/readelf.exp: Run the new test.
427
428 2020-02-27 Nick Clifton <nickc@redhat.com>
429
430 PR 25526
431 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
432 get_data is unable to load the string table.
433
434 2020-02-26 Alan Modra <amodra@gmail.com>
435
436 * elfedit.c: Indent labels correctly.
437 * readelf.c: Likewise.
438 * resres.c: Likewise.
439
440 2020-02-25 H.J. Lu <hongjiu.lu@intel.com>
441
442 PR binutils/25584
443 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
444 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
445
446 2020-02-24 Nick Clifton <nickc@redhat.com>
447
448 PR 25499
449 * doc/binutils.texi (objdump): Fix typo in description of
450 objdump's -g option.
451
452 2020-02-20 Nelson Chu <nelson.chu@sifive.com>
453
454 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
455 is changed.
456
457 2020-02-19 Jordan Rupprecht <rupprecht@google.com>
458
459 * objdump.c (show_line): call bfd_demangle when using do_demangle.
460
461 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
462
463 * configure: Regenerate.
464
465 2020-02-10 Fangrui Song <maskray@google.com>
466
467 * objcopy.c (parse_flags): Handle "exclude".
468 * doc/binutils.texi: Document the support.
469
470 2020-02-10 Aaron Merey <amerey@redhat.com>
471
472 * binutils/testsuite/binutils-all/debuginfod.exp:
473 Replace set ::env with setenv.
474 Start server before setting environment variable.
475 Specify tmpdir as the location of the server's
476 database.
477 Check additional server metrics at start-up.
478
479 2020-02-07 Nick Clifton <nickc@redhat.com>
480
481 * README-how-to-make-a-release: Add note about updating the
482 GAS/NEWS URL in the next release.
483
484 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
485
486 PR 25469
487 * readelf.c (get_machine_flags): Add support for Z80N machine
488 number.
489
490 2020-02-07 Nick Clifton <nickc@redhat.com>
491
492 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
493 of the truncated file name.
494
495 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
496
497 * objdump.c (print_jump_visualisation): New function.
498 (disassemble_bytes): Call new function.
499
500 2020-02-06 Alan Modra <amodra@gmail.com>
501
502 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
503 TCL procedure.
504 (supports_gnu_osabi): New procedure.
505 (is_generic): New, from ld-lib.exp.
506 (supports_gnu_unique): Use the above.
507
508 2020-02-04 Alan Modra <amodra@gmail.com>
509
510 * Makefile.am (CFILES): Add od-elf32_avr.c.
511 * Makefile.in: Regenerate.
512 * po/POTFILES.in: Regenerate.
513
514 2020-02-03 Andreas Schwab <schwab@linux-m68k.org>
515
516 * readelf.c (dump_relocations, dump_relocations)
517 (decode_arm_unwind_bytecode, process_dynamic_section)
518 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
519 error message.
520
521 2020-02-03 Sergei Trofimovich <siarheit@google.com>
522
523 * coffdump.c (program_name): Drop redundant definition.
524 * srconv.c (program_name): Likewise
525 * sysdump.c (program_name): Likewise
526
527 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
528
529 PR gas/25380
530 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
531 same file with different section pointers.
532
533 2020-02-01 Nick Clifton <nickc@redhat.com>
534
535 * README-how-to-make-a-release: Update with more details on the
536 release making process.
537
538 2020-01-31 Nick Clifton <nickc@redhat.com>
539
540 * po/sv.po: Updated Swedish translation.
541
542 2020-01-28 Nick Clifton <nickc@redhat.com>
543
544 * readelf.c (get_build_id): Simplify warning message about corrupt
545 notes encountered whilst scanning for the build-id.
546
547 2020-01-27 Roland McGrath <mcgrathr@google.com>
548
549 * objcopy.c (compare_gnu_build_notes): Fix comparison results
550 for overlapping ranges so that (A == B) == (B == A) holds.
551
552 2020-01-27 Alan Modra <amodra@gmail.com>
553
554 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
555 case statement with switch statement.
556
557 2020-01-24 Nick Clifton <nickc@redhat.com>
558
559 * readelf.c (get_build_id): Fix warning messages about corrupt
560 notes.
561
562 2020-01-23 Nick Clifton <nickc@redhat.com>
563
564 * po/fr.po: Updated French translation.
565
566 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
567
568 PR 25417
569 * readelf.c (get_alpha_symbol_other): Fix error message typo.
570
571 2020-01-20 Nick Clifton <nickc@redhat.com>
572
573 * po/pt.po: Updated Portuguese translation.
574 * po/uk.po: Updated Ukranian translation.
575
576 2020-01-18 Nick Clifton <nickc@redhat.com>
577
578 * README-how-to-make-a-release: Update notes on how to cut a
579 branch for a release.
580
581 2020-01-18 Nick Clifton <nickc@redhat.com>
582
583 * configure: Regenerate.
584 * po/binutils.pot: Regenerate.
585
586 2020-01-18 Nick Clifton <nickc@redhat.com>
587
588 Binutils 2.34 branch created.
589
590 2020-01-17 Thomas Troeger <tstroege@gmx.de>
591
592 * objdump.c (jump_info_visualize_address): Discard jumps that are
593 no longer needed.
594 (disassemble_bytes): Only compute the maximum level if jumps were
595 detected.
596
597 2020-01-13 Nick Clifton <nickc@redhat.com>
598
599 * objdump.c (disassemble_bytes): Remove C99-ism.
600 * testsuite/binutils-all/debuginfod.exp: New tests.
601
602 2020-01-13 Thomas Troeger <tstroege@gmx.de>
603
604 * objdump.c (visualize_jumps, color_output, extended_color_output)
605 (detected_jumps): New variables.
606 (usage): Add the new jump visualization options.
607 (option_values): Add new option value.
608 (long_options): Add the new option.
609 (jump_info_new, jump_info_free): New functions.
610 (jump_info_min_address, jump_info_max_address): Likewise.
611 (jump_info_end_address, jump_info_is_start_address): Likewise.
612 (jump_info_is_end_address, jump_info_size): Likewise.
613 (jump_info_unlink, jump_info_insert): Likewise.
614 (jump_info_add_front, jump_info_move_linked): Likewise.
615 (jump_info_intersect, jump_info_merge): Likewise.
616 (jump_info_sort, jump_info_visualize_address): Likewise.
617 (disassemble_jumps): New function - used to locate jumps.
618 (disassemble_bytes): Add ascii art generation.
619 (disassemble_section): Add scan to locate jumps.
620 (main): Parse the new visualization option.
621 * doc/binutils.texi: Document the new feature.
622 * NEWS: Mention the new feature.
623
624 2020-01-13 Alan Modra <amodra@gmail.com>
625
626 PR 25360
627 PR 25361
628 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
629 fde_fc col_type and col_offset.
630 * readelf.c (apply_relocations): Move symsec check earlier.
631 (free_debug_section): Free reloc_info.
632 (process_notes_at): Free pnotes on error path.
633 (process_object): Free dump_sects here..
634 (process_archive): ..not here.
635
636 2020-01-13 Alan Modra <amodra@gmail.com>
637
638 PR 25362
639 * nm.c (display_rel_file): Free dyn_syms.
640
641 2020-01-09 Nick Clifton <nickc@redhat.com>
642
643 PR 25220
644 * objcopy.c (empty_name): New variable.
645 (need_sym_before): Prevent an attempt to free a static variable.
646 (filter_symbols): Avoid strcmp test by checking for pointer
647 equality.
648
649 2020-01-09 Nick Clifton <nickc@redhat.com>
650
651 * po/zh_TW.po: Updated Traditional Chinese translation.
652
653 2020-01-09 Aaron Merey <amerey@redhat.com>
654
655 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
656 * Makefile.in: Regenerate.
657 * NEWS: Update.
658 * config.in: Regenerate.
659 * configure: Regenerate.
660 * configure.ac: Call AC_DEBUGINFOD.
661 * doc/Makefile.in: Regenerate.
662 * doc/binutils.texi: Add section on using binutils
663 with debuginfod.
664 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
665 Query debuginfod servers for the target debug file.
666 (load_separate_debug_info): Call
667 debuginfod_fetch_separate_debug_info if configured with
668 debuginfod.
669 (load_separate_debug_files): Add file argument to
670 load_separate_debug_info calls.
671 * dwarf.h (get_build_id): Add declaration.
672 * objdump.c (get_build_id): New function. Get build-id of file.
673 * readelf.c (get_build_id): Likewise.
674 * testsuite/binutils-all/debuginfod.exp: New tests.
675 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
676 section.
677
678 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
679
680 * readelf.c: Add support for new Z*) relocations and machine
681 types.
682
683 2020-01-01 Alan Modra <amodra@gmail.com>
684
685 Update year range in copyright notice of all files.
686
687 For older changes see ChangeLog-2019
688 \f
689 Copyright (C) 2020 Free Software Foundation, Inc.
690
691 Copying and distribution of this file, with or without modification,
692 are permitted in any medium without royalty provided the copyright
693 notice and this notice are preserved.
694
695 Local Variables:
696 mode: change-log
697 left-margin: 8
698 fill-column: 74
699 version-control: never
700 End: