]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
Re: readelf: Consolidate --syms --use-dynamic with --dyn-syms
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
c98a4545
AM
12020-04-15 Alan Modra <amodra@gmail.com>
2
3 PR 25821
4 * readelf.c (get_num_dynamic_syms): Typo fix.
5
645f43a8
AM
62020-04-14 Alan Modra <amodra@gmail.com>
7
8 * readelf.c (process_mips_specific): Free eopt and iopt. Avoid
9 possibility of overflow when checking number of conflicts.
10
10ca4b04
L
112020-04-14 H.J. Lu <hongjiu.lu@intel.com>
12
13 PR binutils/25707
14 * readelf.c (nbuckets): New.
15 (nchains): Likewise.
16 (buckets): Likewise.
17 (chains): Likewise.
18 (ngnubuckets): Likewise.
19 (gnubuckets): Likewise.
20 (gnuchains): Likewise.
21 (mipsxlat): Likewise.
22 (ngnuchains): Likewise.
23 (gnusymidx): Likewise.
24 (VALID_SYMBOL_NAME): Likewise.
25 (VALID_DYNAMIC_NAME): Use it.
26 (get_dynamic_data): Moved before process_dynamic_section.
27 (get_num_dynamic_syms): New function.
28 (process_dynamic_section): Use DT_SYMTAB, DT_SYMENT, DT_HASH,
29 DT_GNU_HASH and DT_MIPS_XHASH to reconstruct dynamic symbol
30 table. Use DT_STRTAB and DT_STRSZ to reconstruct dynamic string
31 table.
32 (get_symbol_index_type): Don't print "bad section index" when
33 there is no section header.
34 (print_dynamic_symbol): Rewrite.
35 (process_symbol_table): Call print_dynamic_symbol to dump dynamic
36 symbol table.
37
bb897477
RO
382020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
39
40 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Don't
41 enable on *-*-solaris*.
42
00386881
NC
432020-03-30 Nick Clifton <nickc@redhat.com>
44
45 PR binutils/25662
46 * objcopy.c (copy_object): When copying PE format files set the
47 timestamp field in the pe_data structure if the preserve_dates
48 flag is set.
49 * testsuite/binutils-all/objcopy.exp (objcopy_test) Use
50 --preserve-dates in place of the -p option, in order to make its
51 effect more obvious.
52
0a6a8b59
AM
532020-03-28 Alan Modra <amodra@gmail.com>
54
55 * testsuite/binutils-all/objcopy.exp (objcopy_test): Only
56 clear_xfail hppa*-*-*elf*. Revert mips xfails.
57
6a81c59b
AM
582020-03-28 Alan Modra <amodra@gmail.com>
59
60 * testsuite/binutils-all/objcopy.exp (objcopy_test): Move xfails
61 from here to calls. Remove "m8*-*-*" entry. Don't xfail tic54x
62 but do xfail spu, mipstx39 and mips-sgi-irix for the executable
63 test. Pass "-p" to objcopy for the executable test.
64
1fafefd5
JL
652020-03-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
66
67 PR binutils/25662
68 * testsuite/binutils-all/objcopy.exp (objcopy_test): Add argument to
69 specify whether an object file or executable should be built and tested.
70 Change test names to report whether an object file or executable is
71 being tested.
72 * testsuite/binutils-all/pr25662.ld: New test.
73 * testsuite/binutils-all/pr25662.s: New test.
74
80e2a3b6
AM
752020-03-27 Alan Modra <amodra@gmail.com>
76
77 * readelf.c (process_archive): Don't double free qualified_name.
78 Don't break out of loop with "negative" archive_file_size, just
79 set file offset to max.
80
4c836627
AM
812020-03-25 Alan Modra <amodra@gmail.com>
82
83 * readelf.c (process_archive): Prevent endless loop.
84
1081065c
L
852020-03-24 H.J. Lu <hongjiu.lu@intel.com>
86
87 PR binutils/25708
88 * nm.c (print_symname): Replace _bfd_elf_get_symbol_version_name
89 with bfd_get_symbol_version_string.
90 (print_symbo): Pass TRUE to bfd_get_symbol_version_string.
91 * objdump.c (objdump_print_symname): Likewise.
92
7e6e972f
L
932020-03-24 H.J. Lu <hongjiu.lu@intel.com>
94
95 PR binutils/25708
96 * nm.c (SYM_NAME): Removed.
97 (print_symname): Add a pointer to struct extended_symbol_info
98 argument. Call _bfd_elf_get_symbol_version_name to get symbol
99 version.
100 (print_symdef_entry): Pass NULL to print_symname.
101 (print_symbol_info_bsd): Update call to print_symname.
102 (print_symbol_info_sysv): Likewise.
103 (print_symbol_info_posix): Likewise.
104
5a814d6d
AM
1052020-03-24 Alan Modra <amodra@gmail.com>
106
107 * readelf.c (process_mips_specific): Free iconf on error path.
108
0636b245
NC
1092020-03-23 Nick Clifton <nickc@redhat.com>
110
111 PR 25714
112 * wrstabs.c (stab_pop_type): Replace assertion with error return.
113 * write_stabs_in_sections_debugging_info: Likewise.
114 * stab_enum_type: Likewise.
115 * stab_modify_type: Likewise.
116 * stab_struct_field: Likewise.
117 * stab_end_struct_type: Likewise.
118 * stab_start_class_type: Likewise.
119 * stab_class_static_member: Likewise.
120 * stab_class_baseclass: Likewise.
121 * stab_class_start_method: Likewise.
122 * stab_class_method_var: Likewise.
123 * stab_class_end_method: Likewise.
124 * stab_end_class_type: Likewise.
125 * stab_typedef_type: Likewise.
126 * stab_start_function: Likewise.
127 * stab_end_block: Likewise.
128 * stab_lineno: Likewise.
129
5844b465
NC
1302020-03-20 Nick Clifton <nickc@redhat.com>
131
132 * readelf.c (get_compression_header): Add ATTRIBUTE_WARN_UNUSED_RESULT.
133 (process_section_headers): Check the return value from
134 get_compression_header.
135 (dump_section_as_strings): Likewise.
136 (dump_section_as_bytes): Likewise.
137 (load_specific_debug_section): Likewise.
138
3d98c460
L
1392020-03-20 H.J. Lu <hongjiu.lu@intel.com>
140
141 * ar.c (main): Update bfd_plugin_set_program_name call.
142 * nm.c (main): Likewise.
143
f3a08f77
NC
1442020-03-19 Nick Clifton <nickc@redhat.com>
145
146 PR 25676
147 * testsuite/binutils-all/dw4.s: New test source file.
148 * testsuite/binutils-all/nm.exp: Run the new test.
149
ef3df110
L
1502020-03-19 H.J. Lu <hongjiu.lu@intel.com>
151
152 * readelf.c (process_symbol_table): Use unsigned long for si.
153
81a65eb3
AM
1542020-03-19 Alan Modra <amodra@gmail.com>
155
156 * elfcomm.c: Don't include bfd.h or bucomm.h.
157 (program_name): Declare.
158 (process_archive_index_and_symbols): Replace bfd_boolean with int,
159 and substitute FALSE and TRUE.
160 (setup_archive, setup_nested_archive): Likewise.
161 * elfcomm.h: Likewise.
162
1cb7d8b1
AM
1632020-03-19 Alan Modra <amodra@gmail.com>
164
165 * readelf.c (process_archive): Always return via path freeing
166 memory. Formatting.
167
b966f55f
AM
1682020-03-19 Alan Modra <amodra@gmail.com>
169
170 * readelf.c (process_netbsd_elf_note): Validate descsz before
171 accessing descdata. Formatting.
172
645ba681
AM
1732020-03-19 Alan Modra <amodra@gmail.com>
174
175 * elfcomm.c (setup_archive): Make file_size an off_t. Comment.
176 * elfcomm.h (setup_archive): Update prototype.
177
28d13567
AM
1782020-03-16 Alan Modra <amodra@gmail.com>
179
180 * readelf.c (get_symbols): New function.
181 (process_relocs, ia64_process_unwind, hppa_process_unwind),
182 (arm_process_unwind, get_symbol_for_build_attribute): Use it.
183
60e63c3e
AM
1842020-03-16 Alan Modra <amodra@gmail.com>
185
186 * unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts.
187 Detect shift overflows and check that terminating byte is found.
188 Print an error on a bad uleb128.
189
1bd6175a
AM
1902020-03-14 Alan Modra <amodra@gmail.com>
191
192 * readelf.c (process_file): Clean ba_cache.
193
780f96ae
AM
1942020-03-14 Alan Modra <amodra@gmail.com>
195
196 * elfcomm.h (setup_archive): Update prototype.
197 * elfcomm.c (setup_archive): Add file_size parameter and sanity
198 check longnames_size.
199 (setup_nested_archive): Get file size and pass to setup_archive.
200 * elfedit.c (process_archive): Likewise.
201 * readelf.c (process_archive): Pass filedata->file_size to
202 setup_archive.
203
f761cb13
AM
2042020-03-14 Alan Modra <amodra@gmail.com>
205
206 * readelf.c (dump_section_as_strings): Free memory on error exit.
207 (dump_section_as_bytes, process_notes_at): Likewise.
208 (get_build_id): Free enote.
209
06d949ec
KR
2102020-03-13 Kamil Rytarowski <n54@gmx.com>
211
212 * readelf.c (get_netbsd_elfcore_note_type): Add support for
213 NT_NETBSDCORE_LWPSTATUS notes.
214
fd486f32
AM
2152020-03-13 Alan Modra <amodra@gmail.com>
216
217 * elfcomm.c (get_archive_member_name): Always return malloc'd
218 string or NULL.
219 * elfedit.c (process_archive): Tidy memory on all return paths.
220 * readelf.c (process_archive): Likewise.
221 (process_symbol_table): Likewise.
222 (ba_cache): New, replacing ..
223 (get_symbol_for_build_attribute): ..static vars here. Free
224 strtab and symtab before loading new ones. Reject symtab without
225 valid strtab in loop, breaking out of loop on valid symtab.
226 (process_file): Free ba_cache symtab and strtab here, resetting
227 ba_cache.
228
8fb879cd
AM
2292020-03-12 Alan Modra <amodra@gmail.com>
230
231 * readelf.c (process_section_headers): Don't just set
232 filedata->section_headers NULL, free it first. Similarly for
233 dynamic_symbols, dynamic_strings, dynamic_syminfo and
234 symtab_shndx_list. Zero associated counts too.
235 (process_object): Free symtab_shndx_list.
236 (process_file): Free various allocated filedata tables.
237
5496f3c6
NC
2382020-03-11 Nick Clifton <nickc@redhat.com>
239
240 PR 25611
241 PR 25614
242 * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and
243 li_segment_size fields.
244 * dwarf.c (read_debug_line_header): Record the address size and
245 segment selector size values (if present) in the lineinfo
246 structure.
247 (display_formatted_table): Warn if the format count is empty but
248 the table itself is not empty.
249 Display the format count and entry count at the start of the table
250 dump.
251 (display_debug_lines_raw): Display the address size and segement
252 selector size fields, if present.
253 * testsuite/binutils-all/dw5.W: Update expected output.
254
9cc89dc0
AM
2552020-03-11 Alan Modra <amodra@gmail.com>
256
257 PR 25651
258 * objcopy.c (copy_object): Test "gaps" not gap_fill_set or
259 pad_to_set on second block of code dealing with padding.
260 Replace "c" with "num_sec" and don't recalculate number of
261 sections on second block. Size arrays using sizeof (element)
262 rather than sizeof (element type).
263
41da0822
AM
2642020-03-10 Alan Modra <amodra@gmail.com>
265
266 * objdump.c (disassemble_section): Don't call qsort unless
267 sym count is at least two.
268 (disassemble_data): Don't call memcpy with NULL src.
269
95099889
AM
2702020-03-09 Alan Modra <amodra@gmail.com>
271
272 PR 25645
273 * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
274 to get_data rather than multiplying.
275 (dump_ia64_vms_dynamic_relocs): Likewise.
276 (process_version_sections): Correct order of size and nmemb args
277 in get_data call.
278 (process_mips_specific): Likewise.
279
a15de1f5
L
2802020-03-08 H.J. Lu <hongjiu.lu@intel.com>
281
282 * readelf.c (get_dynamic_data): Replace "memory chekers" with
283 "memory checkers" in comments.
284
9979ab66
SM
2852020-03-06 Simon Marchi <simon.marchi@efficios.com>
286
287 PR 25491
288 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
289 * doc/Makefile.in: Re-generate.
290
a0dcf297
NC
2912020-03-06 Nick Clifton <nickc@redhat.com>
292
293 * objcopy.c (check_new_section_flags): New function. Reject the
294 SEC_COFF_SHARED flag if the target is not a COFF binary.
295 (copy_object): Call check_new_section_flags.
296 (setup_section): Likewise.
297 * doc/binutils.texi (objcopy): Add a note that the 'share' section
298 flag cannot be applied to ELF binaries.
299
a9b90127
AM
3002020-03-06 Alan Modra <amodra@gmail.com>
301
302 PR 25637
303 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
304
d1faf7ca
AM
3052020-03-05 Alan Modra <amodra@gmail.com>
306
307 PR 25629
308 * objcopy.c (filter_symbols): Don't segfault on NULL
309 prefix_symbols_string.
310
eef64366
CE
3112020-03-04 Christian Eggers <ceggers@gmx.de>
312
313 * objcopy.c (copy_object): Convert from bytes to octets for
314 --gap-fill and --pad-to.
315
5be2b2f5
NC
3162020-03-03 Nick Clifton <nickc@redhat.com>
317
318 PR 25625
319 * prdbg.c (pr_tag_type): Remove call to abort.
320
b312fea1
AM
3212020-03-02 Aaron Merey <amerey@redhat.com>
322
323 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
324 selection.
325
ba3265d0
NC
3262020-03-02 Nick Clifton <nickc@redhat.com>
327
328 PR 25543
329 * readelf.c (dump_section_as_strings): Display new-line characters
330 as \n and then insert a line break.
331 * testsuite/binutils-all/pr25543.s: New test.
332 * testsuite/binutils-all/pr25543.d: Test driver.
333 * testsuite/binutils-all/readelf.exp: Run the new test.
334
736990c4
NC
3352020-02-27 Nick Clifton <nickc@redhat.com>
336
337 PR 25526
338 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
339 get_data is unable to load the string table.
340
dc1e8a47
AM
3412020-02-26 Alan Modra <amodra@gmail.com>
342
343 * elfedit.c: Indent labels correctly.
344 * readelf.c: Likewise.
345 * resres.c: Likewise.
346
ecda9016
L
3472020-02-25 H.J. Lu <hongjiu.lu@intel.com>
348
349 PR binutils/25584
350 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
351 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
352
83d4d556
NC
3532020-02-24 Nick Clifton <nickc@redhat.com>
354
355 PR 25499
356 * doc/binutils.texi (objdump): Fix typo in description of
357 objdump's -g option.
358
bd0cf5a6
NC
3592020-02-20 Nelson Chu <nelson.chu@sifive.com>
360
361 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
362 is changed.
363
741cb839
EC
3642020-02-19 Jordan Rupprecht <rupprecht@google.com>
365
366 * objdump.c (show_line): call bfd_demangle when using do_demangle.
367
9f1528a1
AB
3682020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
369
370 * configure: Regenerate.
371
3a5d12fb
FS
3722020-02-10 Fangrui Song <maskray@google.com>
373
374 * objcopy.c (parse_flags): Handle "exclude".
375 * doc/binutils.texi: Document the support.
376
678d457f
AM
3772020-02-10 Aaron Merey <amerey@redhat.com>
378
379 * binutils/testsuite/binutils-all/debuginfod.exp:
380 Replace set ::env with setenv.
46471187
AM
381 Start server before setting environment variable.
382 Specify tmpdir as the location of the server's
383 database.
384 Check additional server metrics at start-up.
678d457f 385
e8319fde
NC
3862020-02-07 Nick Clifton <nickc@redhat.com>
387
388 * README-how-to-make-a-release: Add note about updating the
389 GAS/NEWS URL in the next release.
390
9fc0b501
SB
3912020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
392
393 PR 25469
394 * readelf.c (get_machine_flags): Add support for Z80N machine
395 number.
396
e1104d08
NC
3972020-02-07 Nick Clifton <nickc@redhat.com>
398
399 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
400 of the truncated file name.
401
c2e6f744 4022020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
ece12829
TT
403
404 * objdump.c (print_jump_visualisation): New function.
405 (disassemble_bytes): Call new function.
406
02e0be69
AM
4072020-02-06 Alan Modra <amodra@gmail.com>
408
409 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
410 TCL procedure.
411 (supports_gnu_osabi): New procedure.
412 (is_generic): New, from ld-lib.exp.
413 (supports_gnu_unique): Use the above.
414
e8b79122
AM
4152020-02-04 Alan Modra <amodra@gmail.com>
416
417 * Makefile.am (CFILES): Add od-elf32_avr.c.
418 * Makefile.in: Regenerate.
419 * po/POTFILES.in: Regenerate.
420
27a45f42
AS
4212020-02-03 Andreas Schwab <schwab@linux-m68k.org>
422
423 * readelf.c (dump_relocations, dump_relocations)
424 (decode_arm_unwind_bytecode, process_dynamic_section)
425 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
426 error message.
427
0b398d69
ST
4282020-02-03 Sergei Trofimovich <siarheit@google.com>
429
430 * coffdump.c (program_name): Drop redundant definition.
431 * srconv.c (program_name): Likewise
432 * sysdump.c (program_name): Likewise
433
a8c4d40b
L
4342020-02-02 H.J. Lu <hongjiu.lu@intel.com>
435
436 PR gas/25380
437 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
438 same file with different section pointers.
439
cb6ad9bb
NC
4402020-02-01 Nick Clifton <nickc@redhat.com>
441
442 * README-how-to-make-a-release: Update with more details on the
443 release making process.
444
53943f32
NC
4452020-01-31 Nick Clifton <nickc@redhat.com>
446
447 * po/sv.po: Updated Swedish translation.
448
55be8fd0
NC
4492020-01-28 Nick Clifton <nickc@redhat.com>
450
451 * readelf.c (get_build_id): Simplify warning message about corrupt
452 notes encountered whilst scanning for the build-id.
453
82ef9cad
RM
4542020-01-27 Roland McGrath <mcgrathr@google.com>
455
456 * objcopy.c (compare_gnu_build_notes): Fix comparison results
457 for overlapping ranges so that (A == B) == (B == A) holds.
458
e3696f67
AM
4592020-01-27 Alan Modra <amodra@gmail.com>
460
461 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
462 case statement with switch statement.
463
2f796de6
NC
4642020-01-24 Nick Clifton <nickc@redhat.com>
465
466 * readelf.c (get_build_id): Fix warning messages about corrupt
467 notes.
468
24e648d4
NC
4692020-01-23 Nick Clifton <nickc@redhat.com>
470
471 * po/fr.po: Updated French translation.
472
c48acf6f
YC
4732020-01-22 Yuri Chornoivan <yurchor@mageia.org>
474
475 PR 25417
476 * readelf.c (get_alpha_symbol_other): Fix error message typo.
477
26916852
NC
4782020-01-20 Nick Clifton <nickc@redhat.com>
479
480 * po/pt.po: Updated Portuguese translation.
481 * po/uk.po: Updated Ukranian translation.
482
b248e9ce
NC
4832020-01-18 Nick Clifton <nickc@redhat.com>
484
485 * README-how-to-make-a-release: Update notes on how to cut a
486 branch for a release.
487
1b1bb2c6
NC
4882020-01-18 Nick Clifton <nickc@redhat.com>
489
490 * configure: Regenerate.
491 * po/binutils.pot: Regenerate.
492
ae774686
NC
4932020-01-18 Nick Clifton <nickc@redhat.com>
494
495 Binutils 2.34 branch created.
496
82a9ed20
TT
4972020-01-17 Thomas Troeger <tstroege@gmx.de>
498
499 * objdump.c (jump_info_visualize_address): Discard jumps that are
500 no longer needed.
501 (disassemble_bytes): Only compute the maximum level if jumps were
502 detected.
503
6a1939f5
NC
5042020-01-13 Nick Clifton <nickc@redhat.com>
505
c87c17c1 506 * objdump.c (disassemble_bytes): Remove C99-ism.
6a1939f5
NC
507 * testsuite/binutils-all/debuginfod.exp: New tests.
508
1d67fe3b
TT
5092020-01-13 Thomas Troeger <tstroege@gmx.de>
510
511 * objdump.c (visualize_jumps, color_output, extended_color_output)
512 (detected_jumps): New variables.
513 (usage): Add the new jump visualization options.
514 (option_values): Add new option value.
515 (long_options): Add the new option.
516 (jump_info_new, jump_info_free): New functions.
517 (jump_info_min_address, jump_info_max_address): Likewise.
518 (jump_info_end_address, jump_info_is_start_address): Likewise.
519 (jump_info_is_end_address, jump_info_size): Likewise.
520 (jump_info_unlink, jump_info_insert): Likewise.
521 (jump_info_add_front, jump_info_move_linked): Likewise.
522 (jump_info_intersect, jump_info_merge): Likewise.
523 (jump_info_sort, jump_info_visualize_address): Likewise.
524 (disassemble_jumps): New function - used to locate jumps.
525 (disassemble_bytes): Add ascii art generation.
526 (disassemble_section): Add scan to locate jumps.
527 (main): Parse the new visualization option.
528 * doc/binutils.texi: Document the new feature.
529 * NEWS: Mention the new feature.
530
a788aedd
AM
5312020-01-13 Alan Modra <amodra@gmail.com>
532
a4f2b7c5
AM
533 PR 25360
534 PR 25361
a788aedd
AM
535 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
536 fde_fc col_type and col_offset.
537 * readelf.c (apply_relocations): Move symsec check earlier.
538 (free_debug_section): Free reloc_info.
539 (process_notes_at): Free pnotes on error path.
540 (process_object): Free dump_sects here..
541 (process_archive): ..not here.
542
805f38bc
AM
5432020-01-13 Alan Modra <amodra@gmail.com>
544
545 PR 25362
546 * nm.c (display_rel_file): Free dyn_syms.
547
ffebb0bb
NC
5482020-01-09 Nick Clifton <nickc@redhat.com>
549
550 PR 25220
551 * objcopy.c (empty_name): New variable.
552 (need_sym_before): Prevent an attempt to free a static variable.
553 (filter_symbols): Avoid strcmp test by checking for pointer
554 equality.
555
ade4fd9b
NC
5562020-01-09 Nick Clifton <nickc@redhat.com>
557
558 * po/zh_TW.po: Updated Traditional Chinese translation.
559
5602020-01-09 Aaron Merey <amerey@redhat.com>
561
562 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
563 * Makefile.in: Regenerate.
564 * NEWS: Update.
565 * config.in: Regenerate.
566 * configure: Regenerate.
567 * configure.ac: Call AC_DEBUGINFOD.
568 * doc/Makefile.in: Regenerate.
569 * doc/binutils.texi: Add section on using binutils
570 with debuginfod.
571 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
572 Query debuginfod servers for the target debug file.
573 (load_separate_debug_info): Call
574 debuginfod_fetch_separate_debug_info if configured with
575 debuginfod.
576 (load_separate_debug_files): Add file argument to
577 load_separate_debug_info calls.
578 * dwarf.h (get_build_id): Add declaration.
579 * objdump.c (get_build_id): New function. Get build-id of file.
580 * readelf.c (get_build_id): Likewise.
581 * testsuite/binutils-all/debuginfod.exp: New tests.
582 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
583 section.
584
6655dba2
SB
5852020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
586
587 * readelf.c: Add support for new Z*) relocations and machine
588 types.
589
b14ce8bf
AM
5902020-01-01 Alan Modra <amodra@gmail.com>
591
592 Update year range in copyright notice of all files.
593
0b114740 594For older changes see ChangeLog-2019
3499769a 595\f
0b114740 596Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
597
598Copying and distribution of this file, with or without modification,
599are permitted in any medium without royalty provided the copyright
600notice and this notice are preserved.
601
602Local Variables:
603mode: change-log
604left-margin: 8
605fill-column: 74
606version-control: never
607End: