]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
powerpc garbage collect test
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
d90171de
NC
12020-07-09 Nick Clifton <nickc@redhat.com>
2
3 * rclex.c: Add OWNERDRAW keyword.
4 * rcparse.y: Add OWNERDRAW token.
5 (menuitem_flag) Add BITMAP and OWNERDRAW entries.
6 * resrc.c (write_rc_menuitems): Add support for OWNERDRAW and
7 BITMAP flags.
8 * windres.c (extended_menuitems): Likewise.
9 * testsuite/binutils-all/windres/menuitem_flags.rc: New test.
10
e3fdc001
AM
112020-07-09 Alan Modra <amodra@gmail.com>
12
13 * readelf (slurp_hppa_unwind_table): Set table_len before use
14 in relocation sanity checks.
15
5a2296ac
AM
162020-07-07 Alan Modra <amodra@gmail.com>
17
18 * testsuite/binutils-all/ar.exp: Use is_xcoff_format.
19 * testsuite/binutils-all/nm.exp: Likewise.
20 * testsuite/binutils-all/copy-2.d: Run only for elf and pe targets.
21 * testsuite/binutils-all/copy-3.d: Run only for elf targets.
22 * testsuite/binutils-all/set-section-alignment.d: Likewise.
23 * testsuite/binutils-all/copy-4.d: Don't run for xcoff.
24
efd0ed58
AM
252020-07-07 Alan Modra <amodra@gmail.com>
26
27 * testsuite/lib/binutils-common.exp (is_xcoff_format): New.
28 * testsuite/binutils-all/objcopy.exp (pr25662): Exclude xcoff.
29
17550be7
NC
302020-07-06 Nick Clifton <nickc@redhat.com>
31
32 * po/bg.po: Updated Bulgarian translation.
33 * po/pt.po: Updated Portuguese translation.
34 * po/uk.po: Updated Ukranian translation.
35
ddb43bab
AM
362020-07-06 Alan Modra <amodra@gmail.com>
37
38 * readelf.c (print_dynamic_symbol): Don't sprintf to buffer to
39 find string length.
40
b19d852d
NC
412020-07-04 Nick Clifton <nickc@redhat.com>
42
43 * configure: Regenerate.
44 * po/binutils.pot: Regenerate.
45
b115b9fd
NC
462020-07-04 Nick Clifton <nickc@redhat.com>
47
48 Binutils 2.35 branch created.
49
0942c7ab
NC
502020-07-02 Nick Clifton <nickc@redhat.com>
51
52 PR 26028
53 * readelf.c (print_symbol): Handle truncation of symbol names.
54 (options): Add -T/--silent-truncation option.
55 (parse_args): Handle the option.
56 (print_dynamic_symbol): Correct calculation of width available to
57 display symbol name.
58 * doc/binutils.texi: Document the -T option to readelf.
59 * NEWS: Mention the new feature.
60
bbd19b19
L
612020-06-30 H.J. Lu <hongjiu.lu@intel.com>
62
63 * NEWS: Mention x86 NaCl target support removal.
64 * dwarf.c (init_dwarf_regnames_by_bfd_arch_and_mach): Remove
65 x86 NaCl target support.
66 * testsuite/binutils-all/elfedit-1.d: Likewise.
67 * testsuite/binutils-all/i386/i386.exp: Likewise.
68 * testsuite/binutils-all/x86-64/objects.exp: Likewise.
69 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
70 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
71 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
72 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
73 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
74 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
75 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
76 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
77 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
78 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
79 * testsuite/binutils-all/x86-64/x86-64.exp: Likewise.
80
5568cc9e
NC
812020-06-30 Nick Clifton <nickc@redhat.com>
82
83 * dwarf.c (read_and_display_attr_value): Support
84 DW_FORM_GNU_strp_alt when used with DW_AT_dwo_name and
85 DW_AT_comp_dir.
86
d74b88ed
AM
872020-06-30 Alan Modra <amodra@gmail.com>
88
89 * testsuite/binutils-all/readelf.exp (readelf_dump_test): Remove
90 xfail for nds32.
91
9f27c364
HPN
922020-06-29 Hans-Peter Nilsson <hp@bitrange.com>
93
94 * dwarf.c (display_debug_str_offsets): Rename local variable
95 index to idx. Move to top of function.
96
279edac5
AM
972020-06-29 Alan Modra <amodra@gmail.com>
98
99 * dwarf.c: Use C style comments.
100 * resrc.c: Likewise.
101
cfc16775
AM
1022020-06-27 Alan Modra <amodra@gmail.com>
103
104 * elfcomm.c (setup_nested_archive): Set nested_arch->file to NULL
105 after freeing.
106 (release_archive): Set fields of arch to NULL after freeing.
107
2f6ecaed
NA
1082020-06-26 Nick Alcock <nick.alcock@oracle.com>
109
110 * readelf.c (dump_section_as_ctf): Support .ctf archives using
111 ctf_arc_bufopen. Automatically load the .ctf member of such
112 archives as the parent of all other members, unless specifically
113 overridden via --ctf-parent. Split out dumping code into...
114 (dump_ctf_archive_member): ... here, as in objdump, and call
115 it once per archive member.
116 (dump_ctf_indent_lines): Code style fix.
117
094e34f2
NA
1182020-06-26 Nick Alcock <nick.alcock@oracle.com>
119
120 * configure.ac [--enable-libctf]: New, default yes.
121 Set ENABLE_LIBCTF accordingly.
122 * Makefile.am [!ENABLE_LIBCTF]: Empty LIBCTF and LIBCTF_NOBFD.
123 * configure: Regenerate.
124 * config.in: Regenerate.
125 * Makefile.in: Regenerate.
126 * aclocal.m4: Regenerate.
127 * objdump.c (usage): Conditionalize portions on ENABLE_LIBCTF.
128 (option_values): Likewise.
129 (long_options): Likewise.
130 (main): Likewise.
131 (dump_ctf_indent_lines): Conditionalize out when !ENABLE_LIBCTF.
132 (make_ctfsect): Likewise.
133 (dump_ctf_archive_member): Likewise.
134 (dump_ctf) [ENABLE_LIBCTF]: Likewise.
135 (dump_ctf) [!ENABLE_LIBCTF]: New empty stub.
136 * readelf.c (options): Conditionalize portions on ENABLE_LIBCTF.
137 (usage): Likewise.
138 (process_section_contents): Likewise.
139 (shdr_to_ctf_sect): Conditionalize out when !ENABLE_LIBCTF.
140 (dump_ctf_indent_lines): Likewise.
141 (dump_section_as_ctf) [ENABLE_LIBCTF]: Likewise.
142
2a1bb84c
JB
1432020-06-26 Jan Beulich <jbeulich@suse.com>
144
145 * doc/binutils.texi: Adjust description of x86's -Msuffix. Drop
146 redundant text from x86 specific part of -M section.
147
85f7484a
PB
1482020-06-26 Pat Bernardi <bernardi@adacore.com>
149
150 * readelf.c (display_m68k_gnu_attribute): New function.
151 (process_arch_specific): Call display_m68k_gnu_attribute for EM_68K.
152
d0dded5b
L
1532020-06-23 H.J. Lu <hongjiu.lu@intel.com>
154
155 PR binutils/26160
156 * testsuite/binutils-all/pr26160.dwp.bz2: New file.
157 * testsuite/binutils-all/pr26160.r: Likewise.
158 * testsuite/binutils-all/readelf.exp: Run PR binutils/26160 test.
159
39f381cb
NC
1602020-06-23 Nick Clifton <nickc@redhat.com>
161
162 PR 26160
163 * dwarf.c (fetch_indexed_string): Detect and handle old style
164 .debug_str_offset tables.
165 (display_debug_str_offsets): Likewise. Also add support for
166 .debug_str_offsets.dwo sections.
167
80fda85c
L
1682020-06-23 H.J. Lu <hongjiu.lu@intel.com>
169
170 PR binutils/26112
171 * testsuite/binutils-all/pr26112.o.bz2: New file.
172 * testsuite/binutils-all/pr26112.r: Likewise.
173 * testsuite/binutils-all/readelf.exp: Run PR binutils/26112 test.
174
d081ffff
AM
1752020-06-23 Alan Modra <amodra@gmail.com>
176
177 * testsuite/binutils-all/objdump.exp (bintest.a): Correct
178 remote_file delete command.
179
e4b7104b
NC
1802020-06-22 Nick Clifton <nickc@redhat.com>
181
182 PR 26112
183 * dwarf.c (display_debug_str_offsets): Add code to display the
184 contents of the .debug_str_offsets section.
185 (display_debug_macro): Add support for DW_MACRO_define_strx and
186 DW_MACRO_undef_strx.
187
d768f160
SJ
1882020-06-22 Saagar Jha <saagar@saagarjha.com>
189
190 * od-macho.c: Dump linkedit data for new load commands.
191
5fd104ad
AM
1922020-06-19 Alan Modra <amodra@gmail.com>
193
194 * testsuite/config/default.exp (ld_elf_shared_opt): Don't set.
195 * testsuite/lib/binutils-common.exp (check_relro_support): New proc.
196 (run_dump_test): Use check_relro_support to decide whether to pass
197 extra ld option "-z norelro".
198
fd17d1e6
AM
1992020-06-11 Alan Modra <amodra@gmail.com>
200
201 * readelf.c (process_mips_specific): Don't alloc memory for
202 Elf_Internal_Options.
203
d0c4e780
AM
2042020-06-11 Alan Modra <amodra@gmail.com>
205
206 * readelf.c (process_mips_specific): Assert size of internal
207 types match size of external types, and simplify allocation of
208 internal buffer. Catch possible integer overflow when sanity
209 checking option size. Don't assume options are a regular array.
210 Sanity check reginfo option against option size. Use PRI macros
211 when printing.
212
25065fcd
RH
2132020-06-10 Ralf Habacker <ralf.habacker@freenet.de>
214
215 PR 26082
216 * mclex.c (yylex): Reject lines that reach end-of-file without a
217 terminating newline character.
218
b37a7714
NC
2192020-06-08 Nick Clifton <nickc@redhat.com>
220
221 PR 26093
222 * doc/binutils.texi (strings): Fix typo.
223
c4b2f181
NC
2242020-06-08 Nick Clifton <nickc@redhat.com>
225
226 PR 26086
227 * dwarf.c (process_debug_info): Check that there is space in the
228 debug_information array before filling in an entry.
229
1424c35d
AM
2302020-06-06 Alan Modra <amodra@gmail.com>
231
232 * doc/binutils.texi (PowerPC -M option): Mention power10 and pwr10.
233
8affa48a
JA
2342020-06-05 Joel Anderson <joelanderson333@gmail.com>
235
236 PR 26082
237 * mclex.c (yylex): Add test for an empty input stream.
238
8eca5c7d
SC
2392020-06-04 Stephen Casner <casner@acm.org>
240
241 * testsuite/binutils-all/pr25662-pdp11.s: Alternate source file
242 for test using section pseudo-ops compatible with pdp11.
243 * testsuite/binutils-all/objcopy.exp: Select alternate source.
244
b3db6d07
JM
2452020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com>
246
247 * objdump.c (disassemble_data): Set disasm_info.endian_code to
248 disasm_info.endian after the latter is initialized to the
249 endianness reported by BFD.
250
0a4f37af
AM
2512020-06-04 Alan Modra <amodra@gmail.com>
252
253 * testsuite/binutils-all/i386/i386.exp: Remove global directive
254 outside proc body.
255 * testsuite/binutils-all/x86-64/objects.exp: Likewise.
256 * testsuite/binutils-all/x86-64/x86-64.exp: Likewise.
257
913e0fd4
JA
2582020-06-03 Joel Anderson <joelanderson333@gmail.com>
259
260 * windmc.h (struct mc_node): Add id_typecast field.
261 * mcparse.y (message): Initialise the id_typecast field.
262 * windmc.c (write_dbg): Use the id_typecast field as a parameter
263 when calling write_dbg_define.
264 (write_header): Likewise.
265
4a322448
AM
2662020-06-03 Alan Modra <amodra@gmail.com>
267
268 PR 26069
269 * objcopy.c (copy_relocations_in_section): Free relpp on error.
270 Don't accidentally free isection->orelocation.
271
0bee4d1c
AM
2722020-06-02 Alan Modra <amodra@gmail.com>
273
274 * testsuite/binutils-all/ar.exp (obj): Set up object file name
275 extension. Use throughout. Don't completely exclude non-ELF
276 alpha targets. Run long_filenames test for tic30. Exclude thin
277 archive tests for aix, ecoff and vms.
278 * estsuite/binutils-all/objdump.exp (obj): Set up object file name
279 extension. Use throughout. Don't exclude non-ELF alpha targets
280 from "bintest.a".
281
ab7ad287
MF
2822020-05-28 Max Filippov <jcmvbkbc@gmail.com>
283
284 * MAINTAINERS (Xtensa): Add myself as maintainer.
285
3f3c3608
AM
2862020-05-23 Alan Modra <amodra@gmail.com>
287
288 * testsuite/binutils-all/ar.exp (many_files): New test.
289
9db70fc3
AM
2902020-05-21 Alan Modra <amodra@gmail.com>
291
292 * addr2line.c: Replace "if (x) free (x)" with "free (x)" throughout.
293 * dlltool.c: Likewise.
294 * elfcomm.c: Likewise.
295 * rddbg.c: Likewise.
296 * readelf.c: Likewise.
297 * stabs.c: Likewise.
298 * windmc.c: Likewise.
299 * windres.c: Likewise.
300 * wrstabs.c: Likewise.
301
c31ab5a0
AM
3022020-05-21 Alan Modra <amodra@gmail.com>
303
304 * readelf.c (get_num_dynamic_syms): Bounds check mipsxlat array
305 access.
306
8f595e9b
NC
3072020-05-20 Nelson Chu <nelson.chu@sifive.com>
308
309 * dwarf.c: Updated since DECLARE_CSR is changed.
310
8ac10c5b
L
3112020-05-19 H.J. Lu <hjl.tools@gmail.com>
312
313 PR binutils/25809
314 * readelf.c (process_program_headers): Warn if the PT_DYNAMIC
315 segment doesn't match the .dynamic section and checks are
316 enabled.
317 (struct filedata): Add dynamic_symtab_section and
318 dynamic_strtab_section fields.
319 (process_section_headers): Set dynamic_symtab_section to the
320 .dynsym section. Set dynamic_strtab_section to the .dynstr
321 section.
322 (process_dynamic_section): Warn if the .dynsym section doesn't
323 match DT_SYMTAB and DT_SYMENT or the .dynstr section doesn't
324 DT_STRTAB and DT_STRSZ. But only if checks are enabled.
325
c177f377
AM
3262020-05-19 Alan Modra <amodra@gmail.com>
327
328 * ar.c (map_over_members, get_pos_bfd, delete_members, move_members),
329 (replace_members): Use bfd_get_filename rather than accessing
330 bfd->filename directly.
331 * arsup.c (map_over_list, ar_delete, ar_replace, ar_extract): Likewise.
332 * binemul.c (do_ar_emul_append): Likewise.
333 * coffgrok.c (coff_grok): Likewise.
334
83d27139
SH
3352020-05-18 Stafford Horne <shorne@gmail.com>
336
337 * MAINTAINERS (OR1K): Add myself as maintainer.
338
d11a9fab
AB
3392020-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
340
341 * doc/binutils.texi: Mention 'entry address' in the set-start and
342 adjust-start options descriptions.
343
546cb2d8
NC
3442020-05-05 Nick Clifton <nickc@redhat.com>
345
346 * dwarf.c (do_checks): New global variable.
347 (display_formatted_table): Warn about an unexpected number of
348 columns in the table, if checks are enabled. Do not complain
349 about the lack of data following the number of entries in the
350 table if the table is empty.
351 (display_debug_lines_decoded): Only warn about an unexpected
352 number of columns in a table if checks are enabled.
353 * dwarf.h (do_checks): Add a prototype.
354 * elfcomm.c (error): Remove weak attribute.
355 (warn): Likewise.
356 * readelf.c (do_checks): Delete.
357 (warn): Delete.
358 (process_section_headers): Only warn about empty sections if
359 checks are enabled.
360
e052e2ba
FS
3612020-05-04 Fangrui Song <maskray@google.com>
362
363 * objcopy.c (copy_object): Allow empty section.
364 * testsuite/binutils-all/update-section.exp: Add test.
365
070b775f
NC
3662020-05-04 Nick Clifton <nickc@redhat.com>
367
368 PR 25917
369 * dwarf.c (display_debug_lines_decoded): Warn if encountering a
370 supicious number of entries for DWARF-5 format directory and file
371 name tables. Do not display file name table header if the table
372 is empty. Do not allocate space for empty tables.
373
9c7b8e9b
AM
3742020-05-04 Alan Modra <amodra@gmail.com>
375
376 * readelf.c (process_nds32_specific): Check size of .nds32_e_flags
377 section. Don't assume endian of host matches nds32 target. Free
378 buffer.
379
60832332
AM
3802020-05-01 Alan Modra <amodra@gmail.com>
381 Haim Shimonovich <Haim.Shimonovich@ceva-dsp.com>
382
383 * objdump.c (disassemble_bytes): Don't scan for zeros when
384 disassembling zeros. Translate "resuming at file offset" message.
385 Formatting. Replace some signed variables with unsigned.
386
09c1e68a
AC
3872020-04-30 Alex Coplan <alex.coplan@arm.com>
388
389 * testsuite/binutils-all/aarch64/in-order-all.d: Update to use new
390 disassembly.
391 * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
392
8a8a1171
NC
3932020-04-30 Nick Clifton <nickc@redhat.com>
394
395 * testsuite/lib/binutils-common.exp (check_pie_support): New
396 proc.
397
cb4c35cf
AB
3982020-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
399
400 * dwarf.c (display_debug_ranges): Ignore duplicate entries in
401 range_entries for the same offset.
402
1b513401
NC
4032020-04-29 Nick Clifton <nickc@redhat.com>
404
405 * readelf.c (warn): New function - like elfcomm.c version but only
406 produces output if warnings are enabled.
407 (struct options): Add --lint and --enable-checks.
408 (usage): Add entry for --lint.
409 (parse_args): Handle -L. If checks are enabled but no dumps have
410 been selected then enable all dumps.
411 (process_section_headers): Replace long if-then-else sequence with
412 a switch. Add warning messages for empty SHT_REL, SHT_RELA and
413 SHT_PROGBITS sections.
414 (process_file): Do not complain if the file is an archive and lint
415 mode has been enabled.
416 * elfcomm.c (error): Make the function weak.
417 (warn): Likewise.
418 * NEWS: Mention the new feature.
419 * doc/binutils.texi: Document the new feature.
420 * dwarf.h (report_leb_status): Add file name and line number
421 parameters. Include them in the diagnostic output.
422 (READ_ULEB): Pass file and line number to report_leb_status.
423 (READ_SLEB): Likewise.
424 * dwarf.c (read_and_print_leb128): Pass file and line number to
425 report_leb_status.
426 * testsuite/binutils-all/readelf.exp: Add test of new feature.
427 * testsuite/binutils-all/zero-sec.s: New test source file.
428 * testsuite/binutils-all/zero-sec.r: Expected output from new
429 test.
430
c2e71e57
NC
4312020-04-29 Nick Clifton <nickc@redhat.com>
432
433 * po/sr.po: Updated Serbian translation.
434
90837ea7
AM
4352020-04-26 Alan Modra <amodra@gmail.com>
436
437 * readelf.c (get_num_dynamic_syms): Check DT_MIPS_XHASH was
438 read before dereferencing, and gracefully return. Remove
439 gnu_hash_error variable. Free gnu hash arrays if number of
440 syms found is zero.
441
2482f306
AM
4422020-04-24 Alan Modra <amodra@gmail.com>
443
444 * readelf.c (get_num_dynamic_syms): Check for nbuckets and nchains
445 non-zero.
446 (process_dynamic_section): Call get_num_dynamic_syms once rather
447 than in segment loop. Break out of segment loop on a successful
448 load of dynamic symbols. Formatting.
449 (process_object): Return error status from process_dynamic_section.
450
27456742
AK
4512020-04-23 Anton Kolesov <anton.kolesov@synopsys.com>
452
453 * elf-bfd.h (elfcore_write_arc_v2): Add prototype.
454 * elf.c (elfcore_grok_arc_v2): New function.
455 (elfcore_grok_note): Call the new function to handle the corresponding
456 note.
457 (elfcore_write_arc_v2): New function.
458 (elfcore_write_register_note): Call the new function to handle the
459 corresponding pseudo-sections.
460
30ce8e47
MF
4612020-04-22 Max Filippov <jcmvbkbc@gmail.com>
462
463 PR ld/25861
464 * readelf.c (is_none_reloc): Recognize
465 BFD_RELOC_XTENSA_PDIFF{8,16,32} and
466 BFD_RELOC_XTENSA_NDIFF{8,16,32}.
467
33b5a830
NC
4682020-04-22 Nick Clifton <nickc@redhat.com>
469
470 * MAINTAINERS: Remove Chris Faylor as the ix86 PE maintainer.
471
978c4450
AM
4722020-04-22 Alan Modra <amodra@gmail.com>
473
474 * readelf.c (archive_file_offset, archive_file_size, dynamic_addr),
475 (dynamic_size, dynamic_nent, dynamic_strings, dynamic_strings_length),
476 (num_dynamic_syms, nbuckets, nchains, buckets, chains),
477 (ngnubuckets, gnubuckets, gnuchains, mipsxlat, ngnuchains),
478 (gnusymidx, dynamic_symbols, dynamic_syminfo, dynamic_syminfo_offset),
479 (dynamic_syminfo_nent, program_interpreter, dynamic_info),
480 (dynamic_info_DT_GNU_HASH, dynamic_info_DT_MIPS_XHASH, version_info),
481 (dynamic_section, symtab_shndx_list, group_count, section_groups),
482 (section_headers_groups): Move to struct filedata. Update use
483 throughout file.
484
6431e409
AM
4852020-04-22 Alan Modra <amodra@gmail.com>
486
487 * readelf.c (struct dump_data): New, used..
488 (cmdline): ..here, and..
489 (struct filedata): ..here. Adjust all uses.
490 (request_dump_bynumber, request_dump, parse_args): Pass in a
491 struct dump_data* rather than Filedata*. Adjust callers.
492 (main): Don't set cmdline.file_name.
493
a5e0be5c
AM
4942020-04-20 Alan Modra <amodra@gmail.com>
495
496 * readelf.c (process_symbol_table): Clear ngnuchains, ngnubuckets
497 and nbuckets.
498
8ff66993
AM
4992020-04-20 Alan Modra <amodra@gmail.com>
500
501 * readelf.c (process_section_headers): Free dynamic symbols etc.
502 earlier.
503
ceb9bf11
AM
5042020-04-20 Alan Modra <amodra@gmail.com>
505
506 * readelf.c (get_num_dynamic_syms): Formatting. Don't return
507 on error without freeing.
508 (process_dynamic_section): Don't recreate dynamic symbols from
509 dynamic tag info when the dynamic symbols have already been
510 read via section headers.
511
e409955d
FS
5122020-04-17 Fredrik Strupe <fredrik@strupe.net>
513
514 * testsuite/binutils-all/arm/vdup-cond.d: New test for testing that
515 conditional VDUP instructions are disassembled correctly.
516 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
517 vdup-cond.d.
518 * testsuite/binutils-all/arm/vdup-thumb.d: New test for testing
519 that VDUP instructions (which are conditional in A32) can be
520 disassembled in thumb mode.
521 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
522 vdup-thumb.d.
523
ca3f923f
AM
5242020-04-17 Alan Modra <amodra@gmail.com>
525
526 PR 25840
527 * debug.c (debug_class_type_samep): Don't segfault on NULL type.
528
937f6614
AM
5292020-04-16 Alan Modra <amodra@gmail.com>
530
531 * doc/binutils.texi: Mention --no-show-raw-insn in objdump
532 --no-addresses description.
533
b1bc1394
AM
5342020-04-15 Alan Modra <amodra@gmail.com>
535
536 * objdump.c (no_addresses): New static var.
537 (usage): Print help for --no-addresses.
538 (long_options): Add --no-addresses entry.
539 (objdump_print_addr_with_sym, objdump_print_addr): Omit symbol address.
540 (disassemble_bytes): Don't print current line address, or reloc
541 address.
542 * doc/binutils.texi: Document objdump --no-addresses.
543
001890e1
AM
5442020-04-15 Alan Modra <amodra@gmail.com>
545
546 PR 25822
547 * readelf.c (get_num_dynamic_syms): Don't set num_of_syms when
548 reading buckets or chains fails.
549
b71d4fa7
AM
5502020-04-15 Alan Modra <amodra@gmail.com>
551
552 * readelf.c (process_symbol_table): Zero gnubuckets, gnuchains
553 etc. after freeing.
554
89246a0e
AM
5552020-04-15 Alan Modra <amodra@gmail.com>
556
557 * readelf.c (get_group_flags): Translate text.
558 (get_file_type, get_symbol_binding, get_symbol_type),
559 (get_ppc64_symbol_other, get_symbol_other): Increase size of buffer.
560
c98a4545
AM
5612020-04-15 Alan Modra <amodra@gmail.com>
562
563 PR 25821
564 * readelf.c (get_num_dynamic_syms): Typo fix.
565
645f43a8
AM
5662020-04-14 Alan Modra <amodra@gmail.com>
567
568 * readelf.c (process_mips_specific): Free eopt and iopt. Avoid
569 possibility of overflow when checking number of conflicts.
570
10ca4b04
L
5712020-04-14 H.J. Lu <hongjiu.lu@intel.com>
572
573 PR binutils/25707
574 * readelf.c (nbuckets): New.
575 (nchains): Likewise.
576 (buckets): Likewise.
577 (chains): Likewise.
578 (ngnubuckets): Likewise.
579 (gnubuckets): Likewise.
580 (gnuchains): Likewise.
581 (mipsxlat): Likewise.
582 (ngnuchains): Likewise.
583 (gnusymidx): Likewise.
584 (VALID_SYMBOL_NAME): Likewise.
585 (VALID_DYNAMIC_NAME): Use it.
586 (get_dynamic_data): Moved before process_dynamic_section.
587 (get_num_dynamic_syms): New function.
588 (process_dynamic_section): Use DT_SYMTAB, DT_SYMENT, DT_HASH,
589 DT_GNU_HASH and DT_MIPS_XHASH to reconstruct dynamic symbol
590 table. Use DT_STRTAB and DT_STRSZ to reconstruct dynamic string
591 table.
592 (get_symbol_index_type): Don't print "bad section index" when
593 there is no section header.
594 (print_dynamic_symbol): Rewrite.
595 (process_symbol_table): Call print_dynamic_symbol to dump dynamic
596 symbol table.
597
bb897477
RO
5982020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
599
600 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Don't
601 enable on *-*-solaris*.
602
00386881
NC
6032020-03-30 Nick Clifton <nickc@redhat.com>
604
605 PR binutils/25662
606 * objcopy.c (copy_object): When copying PE format files set the
607 timestamp field in the pe_data structure if the preserve_dates
608 flag is set.
609 * testsuite/binutils-all/objcopy.exp (objcopy_test) Use
610 --preserve-dates in place of the -p option, in order to make its
611 effect more obvious.
612
0a6a8b59
AM
6132020-03-28 Alan Modra <amodra@gmail.com>
614
615 * testsuite/binutils-all/objcopy.exp (objcopy_test): Only
616 clear_xfail hppa*-*-*elf*. Revert mips xfails.
617
6a81c59b
AM
6182020-03-28 Alan Modra <amodra@gmail.com>
619
620 * testsuite/binutils-all/objcopy.exp (objcopy_test): Move xfails
621 from here to calls. Remove "m8*-*-*" entry. Don't xfail tic54x
622 but do xfail spu, mipstx39 and mips-sgi-irix for the executable
623 test. Pass "-p" to objcopy for the executable test.
624
1fafefd5
JL
6252020-03-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
626
627 PR binutils/25662
628 * testsuite/binutils-all/objcopy.exp (objcopy_test): Add argument to
629 specify whether an object file or executable should be built and tested.
630 Change test names to report whether an object file or executable is
631 being tested.
632 * testsuite/binutils-all/pr25662.ld: New test.
633 * testsuite/binutils-all/pr25662.s: New test.
634
80e2a3b6
AM
6352020-03-27 Alan Modra <amodra@gmail.com>
636
637 * readelf.c (process_archive): Don't double free qualified_name.
638 Don't break out of loop with "negative" archive_file_size, just
639 set file offset to max.
640
4c836627
AM
6412020-03-25 Alan Modra <amodra@gmail.com>
642
643 * readelf.c (process_archive): Prevent endless loop.
644
1081065c
L
6452020-03-24 H.J. Lu <hongjiu.lu@intel.com>
646
647 PR binutils/25708
648 * nm.c (print_symname): Replace _bfd_elf_get_symbol_version_name
649 with bfd_get_symbol_version_string.
650 (print_symbo): Pass TRUE to bfd_get_symbol_version_string.
651 * objdump.c (objdump_print_symname): Likewise.
652
7e6e972f
L
6532020-03-24 H.J. Lu <hongjiu.lu@intel.com>
654
655 PR binutils/25708
656 * nm.c (SYM_NAME): Removed.
657 (print_symname): Add a pointer to struct extended_symbol_info
658 argument. Call _bfd_elf_get_symbol_version_name to get symbol
659 version.
660 (print_symdef_entry): Pass NULL to print_symname.
661 (print_symbol_info_bsd): Update call to print_symname.
662 (print_symbol_info_sysv): Likewise.
663 (print_symbol_info_posix): Likewise.
664
5a814d6d
AM
6652020-03-24 Alan Modra <amodra@gmail.com>
666
667 * readelf.c (process_mips_specific): Free iconf on error path.
668
0636b245
NC
6692020-03-23 Nick Clifton <nickc@redhat.com>
670
671 PR 25714
672 * wrstabs.c (stab_pop_type): Replace assertion with error return.
673 * write_stabs_in_sections_debugging_info: Likewise.
674 * stab_enum_type: Likewise.
675 * stab_modify_type: Likewise.
676 * stab_struct_field: Likewise.
677 * stab_end_struct_type: Likewise.
678 * stab_start_class_type: Likewise.
679 * stab_class_static_member: Likewise.
680 * stab_class_baseclass: Likewise.
681 * stab_class_start_method: Likewise.
682 * stab_class_method_var: Likewise.
683 * stab_class_end_method: Likewise.
684 * stab_end_class_type: Likewise.
685 * stab_typedef_type: Likewise.
686 * stab_start_function: Likewise.
687 * stab_end_block: Likewise.
688 * stab_lineno: Likewise.
689
5844b465
NC
6902020-03-20 Nick Clifton <nickc@redhat.com>
691
692 * readelf.c (get_compression_header): Add ATTRIBUTE_WARN_UNUSED_RESULT.
693 (process_section_headers): Check the return value from
694 get_compression_header.
695 (dump_section_as_strings): Likewise.
696 (dump_section_as_bytes): Likewise.
697 (load_specific_debug_section): Likewise.
698
3d98c460
L
6992020-03-20 H.J. Lu <hongjiu.lu@intel.com>
700
701 * ar.c (main): Update bfd_plugin_set_program_name call.
702 * nm.c (main): Likewise.
703
f3a08f77
NC
7042020-03-19 Nick Clifton <nickc@redhat.com>
705
706 PR 25676
707 * testsuite/binutils-all/dw4.s: New test source file.
708 * testsuite/binutils-all/nm.exp: Run the new test.
709
ef3df110
L
7102020-03-19 H.J. Lu <hongjiu.lu@intel.com>
711
712 * readelf.c (process_symbol_table): Use unsigned long for si.
713
81a65eb3
AM
7142020-03-19 Alan Modra <amodra@gmail.com>
715
716 * elfcomm.c: Don't include bfd.h or bucomm.h.
717 (program_name): Declare.
718 (process_archive_index_and_symbols): Replace bfd_boolean with int,
719 and substitute FALSE and TRUE.
720 (setup_archive, setup_nested_archive): Likewise.
721 * elfcomm.h: Likewise.
722
1cb7d8b1
AM
7232020-03-19 Alan Modra <amodra@gmail.com>
724
725 * readelf.c (process_archive): Always return via path freeing
726 memory. Formatting.
727
b966f55f
AM
7282020-03-19 Alan Modra <amodra@gmail.com>
729
730 * readelf.c (process_netbsd_elf_note): Validate descsz before
731 accessing descdata. Formatting.
732
645ba681
AM
7332020-03-19 Alan Modra <amodra@gmail.com>
734
735 * elfcomm.c (setup_archive): Make file_size an off_t. Comment.
736 * elfcomm.h (setup_archive): Update prototype.
737
28d13567
AM
7382020-03-16 Alan Modra <amodra@gmail.com>
739
740 * readelf.c (get_symbols): New function.
741 (process_relocs, ia64_process_unwind, hppa_process_unwind),
742 (arm_process_unwind, get_symbol_for_build_attribute): Use it.
743
60e63c3e
AM
7442020-03-16 Alan Modra <amodra@gmail.com>
745
746 * unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts.
747 Detect shift overflows and check that terminating byte is found.
748 Print an error on a bad uleb128.
749
1bd6175a
AM
7502020-03-14 Alan Modra <amodra@gmail.com>
751
752 * readelf.c (process_file): Clean ba_cache.
753
780f96ae
AM
7542020-03-14 Alan Modra <amodra@gmail.com>
755
756 * elfcomm.h (setup_archive): Update prototype.
757 * elfcomm.c (setup_archive): Add file_size parameter and sanity
758 check longnames_size.
759 (setup_nested_archive): Get file size and pass to setup_archive.
760 * elfedit.c (process_archive): Likewise.
761 * readelf.c (process_archive): Pass filedata->file_size to
762 setup_archive.
763
f761cb13
AM
7642020-03-14 Alan Modra <amodra@gmail.com>
765
766 * readelf.c (dump_section_as_strings): Free memory on error exit.
767 (dump_section_as_bytes, process_notes_at): Likewise.
768 (get_build_id): Free enote.
769
06d949ec
KR
7702020-03-13 Kamil Rytarowski <n54@gmx.com>
771
772 * readelf.c (get_netbsd_elfcore_note_type): Add support for
773 NT_NETBSDCORE_LWPSTATUS notes.
774
fd486f32
AM
7752020-03-13 Alan Modra <amodra@gmail.com>
776
777 * elfcomm.c (get_archive_member_name): Always return malloc'd
778 string or NULL.
779 * elfedit.c (process_archive): Tidy memory on all return paths.
780 * readelf.c (process_archive): Likewise.
781 (process_symbol_table): Likewise.
782 (ba_cache): New, replacing ..
783 (get_symbol_for_build_attribute): ..static vars here. Free
784 strtab and symtab before loading new ones. Reject symtab without
785 valid strtab in loop, breaking out of loop on valid symtab.
786 (process_file): Free ba_cache symtab and strtab here, resetting
787 ba_cache.
788
8fb879cd
AM
7892020-03-12 Alan Modra <amodra@gmail.com>
790
791 * readelf.c (process_section_headers): Don't just set
792 filedata->section_headers NULL, free it first. Similarly for
793 dynamic_symbols, dynamic_strings, dynamic_syminfo and
794 symtab_shndx_list. Zero associated counts too.
795 (process_object): Free symtab_shndx_list.
796 (process_file): Free various allocated filedata tables.
797
5496f3c6
NC
7982020-03-11 Nick Clifton <nickc@redhat.com>
799
800 PR 25611
801 PR 25614
802 * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and
803 li_segment_size fields.
804 * dwarf.c (read_debug_line_header): Record the address size and
805 segment selector size values (if present) in the lineinfo
806 structure.
807 (display_formatted_table): Warn if the format count is empty but
808 the table itself is not empty.
809 Display the format count and entry count at the start of the table
810 dump.
811 (display_debug_lines_raw): Display the address size and segement
812 selector size fields, if present.
813 * testsuite/binutils-all/dw5.W: Update expected output.
814
9cc89dc0
AM
8152020-03-11 Alan Modra <amodra@gmail.com>
816
817 PR 25651
818 * objcopy.c (copy_object): Test "gaps" not gap_fill_set or
819 pad_to_set on second block of code dealing with padding.
820 Replace "c" with "num_sec" and don't recalculate number of
821 sections on second block. Size arrays using sizeof (element)
822 rather than sizeof (element type).
823
41da0822
AM
8242020-03-10 Alan Modra <amodra@gmail.com>
825
826 * objdump.c (disassemble_section): Don't call qsort unless
827 sym count is at least two.
828 (disassemble_data): Don't call memcpy with NULL src.
829
95099889
AM
8302020-03-09 Alan Modra <amodra@gmail.com>
831
832 PR 25645
833 * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
834 to get_data rather than multiplying.
835 (dump_ia64_vms_dynamic_relocs): Likewise.
836 (process_version_sections): Correct order of size and nmemb args
837 in get_data call.
838 (process_mips_specific): Likewise.
839
a15de1f5
L
8402020-03-08 H.J. Lu <hongjiu.lu@intel.com>
841
842 * readelf.c (get_dynamic_data): Replace "memory chekers" with
843 "memory checkers" in comments.
844
9979ab66
SM
8452020-03-06 Simon Marchi <simon.marchi@efficios.com>
846
847 PR 25491
848 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
849 * doc/Makefile.in: Re-generate.
850
a0dcf297
NC
8512020-03-06 Nick Clifton <nickc@redhat.com>
852
853 * objcopy.c (check_new_section_flags): New function. Reject the
854 SEC_COFF_SHARED flag if the target is not a COFF binary.
855 (copy_object): Call check_new_section_flags.
856 (setup_section): Likewise.
857 * doc/binutils.texi (objcopy): Add a note that the 'share' section
858 flag cannot be applied to ELF binaries.
859
a9b90127
AM
8602020-03-06 Alan Modra <amodra@gmail.com>
861
862 PR 25637
863 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
864
d1faf7ca
AM
8652020-03-05 Alan Modra <amodra@gmail.com>
866
867 PR 25629
868 * objcopy.c (filter_symbols): Don't segfault on NULL
869 prefix_symbols_string.
870
eef64366
CE
8712020-03-04 Christian Eggers <ceggers@gmx.de>
872
873 * objcopy.c (copy_object): Convert from bytes to octets for
874 --gap-fill and --pad-to.
875
5be2b2f5
NC
8762020-03-03 Nick Clifton <nickc@redhat.com>
877
878 PR 25625
879 * prdbg.c (pr_tag_type): Remove call to abort.
880
b312fea1
AM
8812020-03-02 Aaron Merey <amerey@redhat.com>
882
883 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
884 selection.
885
ba3265d0
NC
8862020-03-02 Nick Clifton <nickc@redhat.com>
887
888 PR 25543
889 * readelf.c (dump_section_as_strings): Display new-line characters
890 as \n and then insert a line break.
891 * testsuite/binutils-all/pr25543.s: New test.
892 * testsuite/binutils-all/pr25543.d: Test driver.
893 * testsuite/binutils-all/readelf.exp: Run the new test.
894
736990c4
NC
8952020-02-27 Nick Clifton <nickc@redhat.com>
896
897 PR 25526
898 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
899 get_data is unable to load the string table.
900
dc1e8a47
AM
9012020-02-26 Alan Modra <amodra@gmail.com>
902
903 * elfedit.c: Indent labels correctly.
904 * readelf.c: Likewise.
905 * resres.c: Likewise.
906
ecda9016
L
9072020-02-25 H.J. Lu <hongjiu.lu@intel.com>
908
909 PR binutils/25584
910 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
911 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
912
83d4d556
NC
9132020-02-24 Nick Clifton <nickc@redhat.com>
914
915 PR 25499
916 * doc/binutils.texi (objdump): Fix typo in description of
917 objdump's -g option.
918
bd0cf5a6
NC
9192020-02-20 Nelson Chu <nelson.chu@sifive.com>
920
921 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
922 is changed.
923
741cb839
EC
9242020-02-19 Jordan Rupprecht <rupprecht@google.com>
925
926 * objdump.c (show_line): call bfd_demangle when using do_demangle.
927
9f1528a1
AB
9282020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
929
930 * configure: Regenerate.
931
3a5d12fb
FS
9322020-02-10 Fangrui Song <maskray@google.com>
933
934 * objcopy.c (parse_flags): Handle "exclude".
935 * doc/binutils.texi: Document the support.
936
678d457f
AM
9372020-02-10 Aaron Merey <amerey@redhat.com>
938
939 * binutils/testsuite/binutils-all/debuginfod.exp:
940 Replace set ::env with setenv.
46471187
AM
941 Start server before setting environment variable.
942 Specify tmpdir as the location of the server's
943 database.
944 Check additional server metrics at start-up.
678d457f 945
e8319fde
NC
9462020-02-07 Nick Clifton <nickc@redhat.com>
947
948 * README-how-to-make-a-release: Add note about updating the
949 GAS/NEWS URL in the next release.
950
9fc0b501
SB
9512020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
952
953 PR 25469
954 * readelf.c (get_machine_flags): Add support for Z80N machine
955 number.
956
e1104d08
NC
9572020-02-07 Nick Clifton <nickc@redhat.com>
958
959 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
960 of the truncated file name.
961
c2e6f744 9622020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
ece12829
TT
963
964 * objdump.c (print_jump_visualisation): New function.
965 (disassemble_bytes): Call new function.
966
02e0be69
AM
9672020-02-06 Alan Modra <amodra@gmail.com>
968
969 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
970 TCL procedure.
971 (supports_gnu_osabi): New procedure.
972 (is_generic): New, from ld-lib.exp.
973 (supports_gnu_unique): Use the above.
974
e8b79122
AM
9752020-02-04 Alan Modra <amodra@gmail.com>
976
977 * Makefile.am (CFILES): Add od-elf32_avr.c.
978 * Makefile.in: Regenerate.
979 * po/POTFILES.in: Regenerate.
980
27a45f42
AS
9812020-02-03 Andreas Schwab <schwab@linux-m68k.org>
982
983 * readelf.c (dump_relocations, dump_relocations)
984 (decode_arm_unwind_bytecode, process_dynamic_section)
985 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
986 error message.
987
0b398d69
ST
9882020-02-03 Sergei Trofimovich <siarheit@google.com>
989
990 * coffdump.c (program_name): Drop redundant definition.
991 * srconv.c (program_name): Likewise
992 * sysdump.c (program_name): Likewise
993
a8c4d40b
L
9942020-02-02 H.J. Lu <hongjiu.lu@intel.com>
995
996 PR gas/25380
997 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
998 same file with different section pointers.
999
cb6ad9bb
NC
10002020-02-01 Nick Clifton <nickc@redhat.com>
1001
1002 * README-how-to-make-a-release: Update with more details on the
1003 release making process.
1004
53943f32
NC
10052020-01-31 Nick Clifton <nickc@redhat.com>
1006
1007 * po/sv.po: Updated Swedish translation.
1008
55be8fd0
NC
10092020-01-28 Nick Clifton <nickc@redhat.com>
1010
1011 * readelf.c (get_build_id): Simplify warning message about corrupt
1012 notes encountered whilst scanning for the build-id.
1013
82ef9cad
RM
10142020-01-27 Roland McGrath <mcgrathr@google.com>
1015
1016 * objcopy.c (compare_gnu_build_notes): Fix comparison results
1017 for overlapping ranges so that (A == B) == (B == A) holds.
1018
e3696f67
AM
10192020-01-27 Alan Modra <amodra@gmail.com>
1020
1021 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
1022 case statement with switch statement.
1023
2f796de6
NC
10242020-01-24 Nick Clifton <nickc@redhat.com>
1025
1026 * readelf.c (get_build_id): Fix warning messages about corrupt
1027 notes.
1028
24e648d4
NC
10292020-01-23 Nick Clifton <nickc@redhat.com>
1030
1031 * po/fr.po: Updated French translation.
1032
c48acf6f
YC
10332020-01-22 Yuri Chornoivan <yurchor@mageia.org>
1034
1035 PR 25417
1036 * readelf.c (get_alpha_symbol_other): Fix error message typo.
1037
26916852
NC
10382020-01-20 Nick Clifton <nickc@redhat.com>
1039
1040 * po/pt.po: Updated Portuguese translation.
1041 * po/uk.po: Updated Ukranian translation.
1042
b248e9ce
NC
10432020-01-18 Nick Clifton <nickc@redhat.com>
1044
1045 * README-how-to-make-a-release: Update notes on how to cut a
1046 branch for a release.
1047
1b1bb2c6
NC
10482020-01-18 Nick Clifton <nickc@redhat.com>
1049
1050 * configure: Regenerate.
1051 * po/binutils.pot: Regenerate.
1052
ae774686
NC
10532020-01-18 Nick Clifton <nickc@redhat.com>
1054
1055 Binutils 2.34 branch created.
1056
82a9ed20
TT
10572020-01-17 Thomas Troeger <tstroege@gmx.de>
1058
1059 * objdump.c (jump_info_visualize_address): Discard jumps that are
1060 no longer needed.
1061 (disassemble_bytes): Only compute the maximum level if jumps were
1062 detected.
1063
6a1939f5
NC
10642020-01-13 Nick Clifton <nickc@redhat.com>
1065
c87c17c1 1066 * objdump.c (disassemble_bytes): Remove C99-ism.
6a1939f5
NC
1067 * testsuite/binutils-all/debuginfod.exp: New tests.
1068
1d67fe3b
TT
10692020-01-13 Thomas Troeger <tstroege@gmx.de>
1070
1071 * objdump.c (visualize_jumps, color_output, extended_color_output)
1072 (detected_jumps): New variables.
1073 (usage): Add the new jump visualization options.
1074 (option_values): Add new option value.
1075 (long_options): Add the new option.
1076 (jump_info_new, jump_info_free): New functions.
1077 (jump_info_min_address, jump_info_max_address): Likewise.
1078 (jump_info_end_address, jump_info_is_start_address): Likewise.
1079 (jump_info_is_end_address, jump_info_size): Likewise.
1080 (jump_info_unlink, jump_info_insert): Likewise.
1081 (jump_info_add_front, jump_info_move_linked): Likewise.
1082 (jump_info_intersect, jump_info_merge): Likewise.
1083 (jump_info_sort, jump_info_visualize_address): Likewise.
1084 (disassemble_jumps): New function - used to locate jumps.
1085 (disassemble_bytes): Add ascii art generation.
1086 (disassemble_section): Add scan to locate jumps.
1087 (main): Parse the new visualization option.
1088 * doc/binutils.texi: Document the new feature.
1089 * NEWS: Mention the new feature.
1090
a788aedd
AM
10912020-01-13 Alan Modra <amodra@gmail.com>
1092
a4f2b7c5
AM
1093 PR 25360
1094 PR 25361
a788aedd
AM
1095 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
1096 fde_fc col_type and col_offset.
1097 * readelf.c (apply_relocations): Move symsec check earlier.
1098 (free_debug_section): Free reloc_info.
1099 (process_notes_at): Free pnotes on error path.
1100 (process_object): Free dump_sects here..
1101 (process_archive): ..not here.
1102
805f38bc
AM
11032020-01-13 Alan Modra <amodra@gmail.com>
1104
1105 PR 25362
1106 * nm.c (display_rel_file): Free dyn_syms.
1107
ffebb0bb
NC
11082020-01-09 Nick Clifton <nickc@redhat.com>
1109
1110 PR 25220
1111 * objcopy.c (empty_name): New variable.
1112 (need_sym_before): Prevent an attempt to free a static variable.
1113 (filter_symbols): Avoid strcmp test by checking for pointer
1114 equality.
1115
ade4fd9b
NC
11162020-01-09 Nick Clifton <nickc@redhat.com>
1117
1118 * po/zh_TW.po: Updated Traditional Chinese translation.
1119
11202020-01-09 Aaron Merey <amerey@redhat.com>
1121
1122 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
1123 * Makefile.in: Regenerate.
1124 * NEWS: Update.
1125 * config.in: Regenerate.
1126 * configure: Regenerate.
1127 * configure.ac: Call AC_DEBUGINFOD.
1128 * doc/Makefile.in: Regenerate.
1129 * doc/binutils.texi: Add section on using binutils
1130 with debuginfod.
1131 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
1132 Query debuginfod servers for the target debug file.
1133 (load_separate_debug_info): Call
1134 debuginfod_fetch_separate_debug_info if configured with
1135 debuginfod.
1136 (load_separate_debug_files): Add file argument to
1137 load_separate_debug_info calls.
1138 * dwarf.h (get_build_id): Add declaration.
1139 * objdump.c (get_build_id): New function. Get build-id of file.
1140 * readelf.c (get_build_id): Likewise.
1141 * testsuite/binutils-all/debuginfod.exp: New tests.
1142 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
1143 section.
1144
6655dba2
SB
11452020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
1146
1147 * readelf.c: Add support for new Z*) relocations and machine
1148 types.
1149
b14ce8bf
AM
11502020-01-01 Alan Modra <amodra@gmail.com>
1151
1152 Update year range in copyright notice of all files.
1153
0b114740 1154For older changes see ChangeLog-2019
3499769a 1155\f
0b114740 1156Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
1157
1158Copying and distribution of this file, with or without modification,
1159are permitted in any medium without royalty provided the copyright
1160notice and this notice are preserved.
1161
1162Local Variables:
1163mode: change-log
1164left-margin: 8
1165fill-column: 74
1166version-control: never
1167End: