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