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