]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
Automatic date update in version.in
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
f6720b1c
AM
12020-07-24 Aaron Merey <amerey@redhat.com>
2
3 * Makefile.am: Replace LIBDEBUGINFOD with DEBUGINFOD_LIBS.
4 * Makefile.in: Rebuild.
5 * configure: Rebuild.
6 * doc/Makefile.in: Rebuild.
7
bf772a1e
NC
82020-07-24 Nick Clifton <nickc@redhat.com>
9
10 * README-how-to-make-a-release: Various small updates whilst
11 creating the 2.35 release.
12
0b884151
NA
132020-07-22 Nick Alcock <nick.alcock@oracle.com>
14
15 * testsuite/lib/binutils-common.exp (run_dump_test): Add 'cc'
16 option.
17
3dd6b890
NA
182020-07-22 Nick Alcock <nick.alcock@oracle.com>
19
20 * objdump.c (dump_ctf_archive_member): Remove linefeeds.
21 (dump_ctf): Likewise.
22
8b37e7b6
NA
232020-07-22 Nick Alcock <nick.alcock@oracle.com>
24
25 * objdump.c (ctf_archive_member): Print CTF errors and warnings.
26 * readelf.c (dump_ctf_archive_member): Likewise.
27
df16e041
NC
282020-07-22 Nick Clifton <nickc@redhat.com>
29
30 * readelf.c (parse_args): Silence potential warnings about a
31 memory resource leak when allocating space for ctf option values.
32 (dump_section_as_ctf): Fix typo checking dump_ctf_strtab_name
33 variable.
34
84dc5f0b
NC
352020-07-21 Nick Clifton <nickc@redhat.com>
36
37 * po/sv.po: Updated Swedish translation.
38
570b0ed6
CZ
392020-07-14 Claudiu Zissulescu <claziss@gmail.com>
40
41 * testsuite/binutils-all/arc/double_regs.s: New test.
42 * testsuite/binutils-all/arc/objdump.exp: Add the above test.
43
0a5c31d1
NC
442020-07-13 Nick Clifton <nickc@redhat.com>
45
46 * po/fr.po: Updated French translation.
47
7a34d0ea
AM
482020-07-13 Alan Modra <amodra@gmail.com>
49
50 * testsuite/lib/binutils-common.exp (is_pecoff_format): Accept
51 optional machine-os arg.
52
a308b89d
L
532020-07-11 H.J. Lu <hongjiu.lu@intel.com>
54
55 * readelf.c (decode_x86_feature_2): Handle
56 GNU_PROPERTY_X86_FEATURE_2_TMM.
57
af2b3186
TV
582020-07-10 Tom de Vries <tdevries@suse.de>
59
60 * dwarf.c (display_debug_lines_decoded): Don't emit meaningless
61 information in the end_sequence row.
62 * testsuite/binutils-all/dw5.W: Update.
63 * testsuite/binutils-all/objdump.WL: Update.
64
fe49679d
AM
652020-07-09 Alan Modra <amodra@gmail.com>
66
67 * dlltool.c: Remove powerpc PE support and comments.
68 * configure.ac: Remove powerpc PE dlltool config.
69 * configure: Regenerate.
70
d90171de
NC
712020-07-09 Nick Clifton <nickc@redhat.com>
72
73 * rclex.c: Add OWNERDRAW keyword.
74 * rcparse.y: Add OWNERDRAW token.
75 (menuitem_flag) Add BITMAP and OWNERDRAW entries.
76 * resrc.c (write_rc_menuitems): Add support for OWNERDRAW and
77 BITMAP flags.
78 * windres.c (extended_menuitems): Likewise.
79 * testsuite/binutils-all/windres/menuitem_flags.rc: New test.
80
e3fdc001
AM
812020-07-09 Alan Modra <amodra@gmail.com>
82
83 * readelf (slurp_hppa_unwind_table): Set table_len before use
84 in relocation sanity checks.
85
5a2296ac
AM
862020-07-07 Alan Modra <amodra@gmail.com>
87
88 * testsuite/binutils-all/ar.exp: Use is_xcoff_format.
89 * testsuite/binutils-all/nm.exp: Likewise.
90 * testsuite/binutils-all/copy-2.d: Run only for elf and pe targets.
91 * testsuite/binutils-all/copy-3.d: Run only for elf targets.
92 * testsuite/binutils-all/set-section-alignment.d: Likewise.
93 * testsuite/binutils-all/copy-4.d: Don't run for xcoff.
94
efd0ed58
AM
952020-07-07 Alan Modra <amodra@gmail.com>
96
97 * testsuite/lib/binutils-common.exp (is_xcoff_format): New.
98 * testsuite/binutils-all/objcopy.exp (pr25662): Exclude xcoff.
99
17550be7
NC
1002020-07-06 Nick Clifton <nickc@redhat.com>
101
102 * po/bg.po: Updated Bulgarian translation.
103 * po/pt.po: Updated Portuguese translation.
104 * po/uk.po: Updated Ukranian translation.
105
ddb43bab
AM
1062020-07-06 Alan Modra <amodra@gmail.com>
107
108 * readelf.c (print_dynamic_symbol): Don't sprintf to buffer to
109 find string length.
110
b19d852d
NC
1112020-07-04 Nick Clifton <nickc@redhat.com>
112
113 * configure: Regenerate.
114 * po/binutils.pot: Regenerate.
115
b115b9fd
NC
1162020-07-04 Nick Clifton <nickc@redhat.com>
117
118 Binutils 2.35 branch created.
119
0942c7ab
NC
1202020-07-02 Nick Clifton <nickc@redhat.com>
121
122 PR 26028
123 * readelf.c (print_symbol): Handle truncation of symbol names.
124 (options): Add -T/--silent-truncation option.
125 (parse_args): Handle the option.
126 (print_dynamic_symbol): Correct calculation of width available to
127 display symbol name.
128 * doc/binutils.texi: Document the -T option to readelf.
129 * NEWS: Mention the new feature.
130
bbd19b19
L
1312020-06-30 H.J. Lu <hongjiu.lu@intel.com>
132
133 * NEWS: Mention x86 NaCl target support removal.
134 * dwarf.c (init_dwarf_regnames_by_bfd_arch_and_mach): Remove
135 x86 NaCl target support.
136 * testsuite/binutils-all/elfedit-1.d: Likewise.
137 * testsuite/binutils-all/i386/i386.exp: Likewise.
138 * testsuite/binutils-all/x86-64/objects.exp: Likewise.
139 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
140 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
141 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
142 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
143 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
144 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
145 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
146 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
147 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
148 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
149 * testsuite/binutils-all/x86-64/x86-64.exp: Likewise.
150
5568cc9e
NC
1512020-06-30 Nick Clifton <nickc@redhat.com>
152
153 * dwarf.c (read_and_display_attr_value): Support
154 DW_FORM_GNU_strp_alt when used with DW_AT_dwo_name and
155 DW_AT_comp_dir.
156
d74b88ed
AM
1572020-06-30 Alan Modra <amodra@gmail.com>
158
159 * testsuite/binutils-all/readelf.exp (readelf_dump_test): Remove
160 xfail for nds32.
161
9f27c364
HPN
1622020-06-29 Hans-Peter Nilsson <hp@bitrange.com>
163
164 * dwarf.c (display_debug_str_offsets): Rename local variable
165 index to idx. Move to top of function.
166
279edac5
AM
1672020-06-29 Alan Modra <amodra@gmail.com>
168
169 * dwarf.c: Use C style comments.
170 * resrc.c: Likewise.
171
cfc16775
AM
1722020-06-27 Alan Modra <amodra@gmail.com>
173
174 * elfcomm.c (setup_nested_archive): Set nested_arch->file to NULL
175 after freeing.
176 (release_archive): Set fields of arch to NULL after freeing.
177
2f6ecaed
NA
1782020-06-26 Nick Alcock <nick.alcock@oracle.com>
179
180 * readelf.c (dump_section_as_ctf): Support .ctf archives using
181 ctf_arc_bufopen. Automatically load the .ctf member of such
182 archives as the parent of all other members, unless specifically
183 overridden via --ctf-parent. Split out dumping code into...
184 (dump_ctf_archive_member): ... here, as in objdump, and call
185 it once per archive member.
186 (dump_ctf_indent_lines): Code style fix.
187
094e34f2
NA
1882020-06-26 Nick Alcock <nick.alcock@oracle.com>
189
190 * configure.ac [--enable-libctf]: New, default yes.
191 Set ENABLE_LIBCTF accordingly.
192 * Makefile.am [!ENABLE_LIBCTF]: Empty LIBCTF and LIBCTF_NOBFD.
193 * configure: Regenerate.
194 * config.in: Regenerate.
195 * Makefile.in: Regenerate.
196 * aclocal.m4: Regenerate.
197 * objdump.c (usage): Conditionalize portions on ENABLE_LIBCTF.
198 (option_values): Likewise.
199 (long_options): Likewise.
200 (main): Likewise.
201 (dump_ctf_indent_lines): Conditionalize out when !ENABLE_LIBCTF.
202 (make_ctfsect): Likewise.
203 (dump_ctf_archive_member): Likewise.
204 (dump_ctf) [ENABLE_LIBCTF]: Likewise.
205 (dump_ctf) [!ENABLE_LIBCTF]: New empty stub.
206 * readelf.c (options): Conditionalize portions on ENABLE_LIBCTF.
207 (usage): Likewise.
208 (process_section_contents): Likewise.
209 (shdr_to_ctf_sect): Conditionalize out when !ENABLE_LIBCTF.
210 (dump_ctf_indent_lines): Likewise.
211 (dump_section_as_ctf) [ENABLE_LIBCTF]: Likewise.
212
2a1bb84c
JB
2132020-06-26 Jan Beulich <jbeulich@suse.com>
214
215 * doc/binutils.texi: Adjust description of x86's -Msuffix. Drop
216 redundant text from x86 specific part of -M section.
217
85f7484a
PB
2182020-06-26 Pat Bernardi <bernardi@adacore.com>
219
220 * readelf.c (display_m68k_gnu_attribute): New function.
221 (process_arch_specific): Call display_m68k_gnu_attribute for EM_68K.
222
d0dded5b
L
2232020-06-23 H.J. Lu <hongjiu.lu@intel.com>
224
225 PR binutils/26160
226 * testsuite/binutils-all/pr26160.dwp.bz2: New file.
227 * testsuite/binutils-all/pr26160.r: Likewise.
228 * testsuite/binutils-all/readelf.exp: Run PR binutils/26160 test.
229
39f381cb
NC
2302020-06-23 Nick Clifton <nickc@redhat.com>
231
232 PR 26160
233 * dwarf.c (fetch_indexed_string): Detect and handle old style
234 .debug_str_offset tables.
235 (display_debug_str_offsets): Likewise. Also add support for
236 .debug_str_offsets.dwo sections.
237
80fda85c
L
2382020-06-23 H.J. Lu <hongjiu.lu@intel.com>
239
240 PR binutils/26112
241 * testsuite/binutils-all/pr26112.o.bz2: New file.
242 * testsuite/binutils-all/pr26112.r: Likewise.
243 * testsuite/binutils-all/readelf.exp: Run PR binutils/26112 test.
244
d081ffff
AM
2452020-06-23 Alan Modra <amodra@gmail.com>
246
247 * testsuite/binutils-all/objdump.exp (bintest.a): Correct
248 remote_file delete command.
249
e4b7104b
NC
2502020-06-22 Nick Clifton <nickc@redhat.com>
251
252 PR 26112
253 * dwarf.c (display_debug_str_offsets): Add code to display the
254 contents of the .debug_str_offsets section.
255 (display_debug_macro): Add support for DW_MACRO_define_strx and
256 DW_MACRO_undef_strx.
257
d768f160
SJ
2582020-06-22 Saagar Jha <saagar@saagarjha.com>
259
260 * od-macho.c: Dump linkedit data for new load commands.
261
5fd104ad
AM
2622020-06-19 Alan Modra <amodra@gmail.com>
263
264 * testsuite/config/default.exp (ld_elf_shared_opt): Don't set.
265 * testsuite/lib/binutils-common.exp (check_relro_support): New proc.
266 (run_dump_test): Use check_relro_support to decide whether to pass
267 extra ld option "-z norelro".
268
fd17d1e6
AM
2692020-06-11 Alan Modra <amodra@gmail.com>
270
271 * readelf.c (process_mips_specific): Don't alloc memory for
272 Elf_Internal_Options.
273
d0c4e780
AM
2742020-06-11 Alan Modra <amodra@gmail.com>
275
276 * readelf.c (process_mips_specific): Assert size of internal
277 types match size of external types, and simplify allocation of
278 internal buffer. Catch possible integer overflow when sanity
279 checking option size. Don't assume options are a regular array.
280 Sanity check reginfo option against option size. Use PRI macros
281 when printing.
282
25065fcd
RH
2832020-06-10 Ralf Habacker <ralf.habacker@freenet.de>
284
285 PR 26082
286 * mclex.c (yylex): Reject lines that reach end-of-file without a
287 terminating newline character.
288
b37a7714
NC
2892020-06-08 Nick Clifton <nickc@redhat.com>
290
291 PR 26093
292 * doc/binutils.texi (strings): Fix typo.
293
c4b2f181
NC
2942020-06-08 Nick Clifton <nickc@redhat.com>
295
296 PR 26086
297 * dwarf.c (process_debug_info): Check that there is space in the
298 debug_information array before filling in an entry.
299
1424c35d
AM
3002020-06-06 Alan Modra <amodra@gmail.com>
301
302 * doc/binutils.texi (PowerPC -M option): Mention power10 and pwr10.
303
8affa48a
JA
3042020-06-05 Joel Anderson <joelanderson333@gmail.com>
305
306 PR 26082
307 * mclex.c (yylex): Add test for an empty input stream.
308
8eca5c7d
SC
3092020-06-04 Stephen Casner <casner@acm.org>
310
311 * testsuite/binutils-all/pr25662-pdp11.s: Alternate source file
312 for test using section pseudo-ops compatible with pdp11.
313 * testsuite/binutils-all/objcopy.exp: Select alternate source.
314
b3db6d07
JM
3152020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com>
316
317 * objdump.c (disassemble_data): Set disasm_info.endian_code to
318 disasm_info.endian after the latter is initialized to the
319 endianness reported by BFD.
320
0a4f37af
AM
3212020-06-04 Alan Modra <amodra@gmail.com>
322
323 * testsuite/binutils-all/i386/i386.exp: Remove global directive
324 outside proc body.
325 * testsuite/binutils-all/x86-64/objects.exp: Likewise.
326 * testsuite/binutils-all/x86-64/x86-64.exp: Likewise.
327
913e0fd4
JA
3282020-06-03 Joel Anderson <joelanderson333@gmail.com>
329
330 * windmc.h (struct mc_node): Add id_typecast field.
331 * mcparse.y (message): Initialise the id_typecast field.
332 * windmc.c (write_dbg): Use the id_typecast field as a parameter
333 when calling write_dbg_define.
334 (write_header): Likewise.
335
4a322448
AM
3362020-06-03 Alan Modra <amodra@gmail.com>
337
338 PR 26069
339 * objcopy.c (copy_relocations_in_section): Free relpp on error.
340 Don't accidentally free isection->orelocation.
341
0bee4d1c
AM
3422020-06-02 Alan Modra <amodra@gmail.com>
343
344 * testsuite/binutils-all/ar.exp (obj): Set up object file name
345 extension. Use throughout. Don't completely exclude non-ELF
346 alpha targets. Run long_filenames test for tic30. Exclude thin
347 archive tests for aix, ecoff and vms.
348 * estsuite/binutils-all/objdump.exp (obj): Set up object file name
349 extension. Use throughout. Don't exclude non-ELF alpha targets
350 from "bintest.a".
351
ab7ad287
MF
3522020-05-28 Max Filippov <jcmvbkbc@gmail.com>
353
354 * MAINTAINERS (Xtensa): Add myself as maintainer.
355
3f3c3608
AM
3562020-05-23 Alan Modra <amodra@gmail.com>
357
358 * testsuite/binutils-all/ar.exp (many_files): New test.
359
9db70fc3
AM
3602020-05-21 Alan Modra <amodra@gmail.com>
361
362 * addr2line.c: Replace "if (x) free (x)" with "free (x)" throughout.
363 * dlltool.c: Likewise.
364 * elfcomm.c: Likewise.
365 * rddbg.c: Likewise.
366 * readelf.c: Likewise.
367 * stabs.c: Likewise.
368 * windmc.c: Likewise.
369 * windres.c: Likewise.
370 * wrstabs.c: Likewise.
371
c31ab5a0
AM
3722020-05-21 Alan Modra <amodra@gmail.com>
373
374 * readelf.c (get_num_dynamic_syms): Bounds check mipsxlat array
375 access.
376
8f595e9b
NC
3772020-05-20 Nelson Chu <nelson.chu@sifive.com>
378
379 * dwarf.c: Updated since DECLARE_CSR is changed.
380
8ac10c5b
L
3812020-05-19 H.J. Lu <hjl.tools@gmail.com>
382
383 PR binutils/25809
384 * readelf.c (process_program_headers): Warn if the PT_DYNAMIC
385 segment doesn't match the .dynamic section and checks are
386 enabled.
387 (struct filedata): Add dynamic_symtab_section and
388 dynamic_strtab_section fields.
389 (process_section_headers): Set dynamic_symtab_section to the
390 .dynsym section. Set dynamic_strtab_section to the .dynstr
391 section.
392 (process_dynamic_section): Warn if the .dynsym section doesn't
393 match DT_SYMTAB and DT_SYMENT or the .dynstr section doesn't
394 DT_STRTAB and DT_STRSZ. But only if checks are enabled.
395
c177f377
AM
3962020-05-19 Alan Modra <amodra@gmail.com>
397
398 * ar.c (map_over_members, get_pos_bfd, delete_members, move_members),
399 (replace_members): Use bfd_get_filename rather than accessing
400 bfd->filename directly.
401 * arsup.c (map_over_list, ar_delete, ar_replace, ar_extract): Likewise.
402 * binemul.c (do_ar_emul_append): Likewise.
403 * coffgrok.c (coff_grok): Likewise.
404
83d27139
SH
4052020-05-18 Stafford Horne <shorne@gmail.com>
406
407 * MAINTAINERS (OR1K): Add myself as maintainer.
408
d11a9fab
AB
4092020-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
410
411 * doc/binutils.texi: Mention 'entry address' in the set-start and
412 adjust-start options descriptions.
413
546cb2d8
NC
4142020-05-05 Nick Clifton <nickc@redhat.com>
415
416 * dwarf.c (do_checks): New global variable.
417 (display_formatted_table): Warn about an unexpected number of
418 columns in the table, if checks are enabled. Do not complain
419 about the lack of data following the number of entries in the
420 table if the table is empty.
421 (display_debug_lines_decoded): Only warn about an unexpected
422 number of columns in a table if checks are enabled.
423 * dwarf.h (do_checks): Add a prototype.
424 * elfcomm.c (error): Remove weak attribute.
425 (warn): Likewise.
426 * readelf.c (do_checks): Delete.
427 (warn): Delete.
428 (process_section_headers): Only warn about empty sections if
429 checks are enabled.
430
e052e2ba
FS
4312020-05-04 Fangrui Song <maskray@google.com>
432
433 * objcopy.c (copy_object): Allow empty section.
434 * testsuite/binutils-all/update-section.exp: Add test.
435
070b775f
NC
4362020-05-04 Nick Clifton <nickc@redhat.com>
437
438 PR 25917
439 * dwarf.c (display_debug_lines_decoded): Warn if encountering a
440 supicious number of entries for DWARF-5 format directory and file
441 name tables. Do not display file name table header if the table
442 is empty. Do not allocate space for empty tables.
443
9c7b8e9b
AM
4442020-05-04 Alan Modra <amodra@gmail.com>
445
446 * readelf.c (process_nds32_specific): Check size of .nds32_e_flags
447 section. Don't assume endian of host matches nds32 target. Free
448 buffer.
449
60832332
AM
4502020-05-01 Alan Modra <amodra@gmail.com>
451 Haim Shimonovich <Haim.Shimonovich@ceva-dsp.com>
452
453 * objdump.c (disassemble_bytes): Don't scan for zeros when
454 disassembling zeros. Translate "resuming at file offset" message.
455 Formatting. Replace some signed variables with unsigned.
456
09c1e68a
AC
4572020-04-30 Alex Coplan <alex.coplan@arm.com>
458
459 * testsuite/binutils-all/aarch64/in-order-all.d: Update to use new
460 disassembly.
461 * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
462
8a8a1171
NC
4632020-04-30 Nick Clifton <nickc@redhat.com>
464
465 * testsuite/lib/binutils-common.exp (check_pie_support): New
466 proc.
467
cb4c35cf
AB
4682020-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
469
470 * dwarf.c (display_debug_ranges): Ignore duplicate entries in
471 range_entries for the same offset.
472
1b513401
NC
4732020-04-29 Nick Clifton <nickc@redhat.com>
474
475 * readelf.c (warn): New function - like elfcomm.c version but only
476 produces output if warnings are enabled.
477 (struct options): Add --lint and --enable-checks.
478 (usage): Add entry for --lint.
479 (parse_args): Handle -L. If checks are enabled but no dumps have
480 been selected then enable all dumps.
481 (process_section_headers): Replace long if-then-else sequence with
482 a switch. Add warning messages for empty SHT_REL, SHT_RELA and
483 SHT_PROGBITS sections.
484 (process_file): Do not complain if the file is an archive and lint
485 mode has been enabled.
486 * elfcomm.c (error): Make the function weak.
487 (warn): Likewise.
488 * NEWS: Mention the new feature.
489 * doc/binutils.texi: Document the new feature.
490 * dwarf.h (report_leb_status): Add file name and line number
491 parameters. Include them in the diagnostic output.
492 (READ_ULEB): Pass file and line number to report_leb_status.
493 (READ_SLEB): Likewise.
494 * dwarf.c (read_and_print_leb128): Pass file and line number to
495 report_leb_status.
496 * testsuite/binutils-all/readelf.exp: Add test of new feature.
497 * testsuite/binutils-all/zero-sec.s: New test source file.
498 * testsuite/binutils-all/zero-sec.r: Expected output from new
499 test.
500
c2e71e57
NC
5012020-04-29 Nick Clifton <nickc@redhat.com>
502
503 * po/sr.po: Updated Serbian translation.
504
90837ea7
AM
5052020-04-26 Alan Modra <amodra@gmail.com>
506
507 * readelf.c (get_num_dynamic_syms): Check DT_MIPS_XHASH was
508 read before dereferencing, and gracefully return. Remove
509 gnu_hash_error variable. Free gnu hash arrays if number of
510 syms found is zero.
511
2482f306
AM
5122020-04-24 Alan Modra <amodra@gmail.com>
513
514 * readelf.c (get_num_dynamic_syms): Check for nbuckets and nchains
515 non-zero.
516 (process_dynamic_section): Call get_num_dynamic_syms once rather
517 than in segment loop. Break out of segment loop on a successful
518 load of dynamic symbols. Formatting.
519 (process_object): Return error status from process_dynamic_section.
520
27456742
AK
5212020-04-23 Anton Kolesov <anton.kolesov@synopsys.com>
522
523 * elf-bfd.h (elfcore_write_arc_v2): Add prototype.
524 * elf.c (elfcore_grok_arc_v2): New function.
525 (elfcore_grok_note): Call the new function to handle the corresponding
526 note.
527 (elfcore_write_arc_v2): New function.
528 (elfcore_write_register_note): Call the new function to handle the
529 corresponding pseudo-sections.
530
30ce8e47
MF
5312020-04-22 Max Filippov <jcmvbkbc@gmail.com>
532
533 PR ld/25861
534 * readelf.c (is_none_reloc): Recognize
535 BFD_RELOC_XTENSA_PDIFF{8,16,32} and
536 BFD_RELOC_XTENSA_NDIFF{8,16,32}.
537
33b5a830
NC
5382020-04-22 Nick Clifton <nickc@redhat.com>
539
540 * MAINTAINERS: Remove Chris Faylor as the ix86 PE maintainer.
541
978c4450
AM
5422020-04-22 Alan Modra <amodra@gmail.com>
543
544 * readelf.c (archive_file_offset, archive_file_size, dynamic_addr),
545 (dynamic_size, dynamic_nent, dynamic_strings, dynamic_strings_length),
546 (num_dynamic_syms, nbuckets, nchains, buckets, chains),
547 (ngnubuckets, gnubuckets, gnuchains, mipsxlat, ngnuchains),
548 (gnusymidx, dynamic_symbols, dynamic_syminfo, dynamic_syminfo_offset),
549 (dynamic_syminfo_nent, program_interpreter, dynamic_info),
550 (dynamic_info_DT_GNU_HASH, dynamic_info_DT_MIPS_XHASH, version_info),
551 (dynamic_section, symtab_shndx_list, group_count, section_groups),
552 (section_headers_groups): Move to struct filedata. Update use
553 throughout file.
554
6431e409
AM
5552020-04-22 Alan Modra <amodra@gmail.com>
556
557 * readelf.c (struct dump_data): New, used..
558 (cmdline): ..here, and..
559 (struct filedata): ..here. Adjust all uses.
560 (request_dump_bynumber, request_dump, parse_args): Pass in a
561 struct dump_data* rather than Filedata*. Adjust callers.
562 (main): Don't set cmdline.file_name.
563
a5e0be5c
AM
5642020-04-20 Alan Modra <amodra@gmail.com>
565
566 * readelf.c (process_symbol_table): Clear ngnuchains, ngnubuckets
567 and nbuckets.
568
8ff66993
AM
5692020-04-20 Alan Modra <amodra@gmail.com>
570
571 * readelf.c (process_section_headers): Free dynamic symbols etc.
572 earlier.
573
ceb9bf11
AM
5742020-04-20 Alan Modra <amodra@gmail.com>
575
576 * readelf.c (get_num_dynamic_syms): Formatting. Don't return
577 on error without freeing.
578 (process_dynamic_section): Don't recreate dynamic symbols from
579 dynamic tag info when the dynamic symbols have already been
580 read via section headers.
581
e409955d
FS
5822020-04-17 Fredrik Strupe <fredrik@strupe.net>
583
584 * testsuite/binutils-all/arm/vdup-cond.d: New test for testing that
585 conditional VDUP instructions are disassembled correctly.
586 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
587 vdup-cond.d.
588 * testsuite/binutils-all/arm/vdup-thumb.d: New test for testing
589 that VDUP instructions (which are conditional in A32) can be
590 disassembled in thumb mode.
591 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
592 vdup-thumb.d.
593
ca3f923f
AM
5942020-04-17 Alan Modra <amodra@gmail.com>
595
596 PR 25840
597 * debug.c (debug_class_type_samep): Don't segfault on NULL type.
598
937f6614
AM
5992020-04-16 Alan Modra <amodra@gmail.com>
600
601 * doc/binutils.texi: Mention --no-show-raw-insn in objdump
602 --no-addresses description.
603
b1bc1394
AM
6042020-04-15 Alan Modra <amodra@gmail.com>
605
606 * objdump.c (no_addresses): New static var.
607 (usage): Print help for --no-addresses.
608 (long_options): Add --no-addresses entry.
609 (objdump_print_addr_with_sym, objdump_print_addr): Omit symbol address.
610 (disassemble_bytes): Don't print current line address, or reloc
611 address.
612 * doc/binutils.texi: Document objdump --no-addresses.
613
001890e1
AM
6142020-04-15 Alan Modra <amodra@gmail.com>
615
616 PR 25822
617 * readelf.c (get_num_dynamic_syms): Don't set num_of_syms when
618 reading buckets or chains fails.
619
b71d4fa7
AM
6202020-04-15 Alan Modra <amodra@gmail.com>
621
622 * readelf.c (process_symbol_table): Zero gnubuckets, gnuchains
623 etc. after freeing.
624
89246a0e
AM
6252020-04-15 Alan Modra <amodra@gmail.com>
626
627 * readelf.c (get_group_flags): Translate text.
628 (get_file_type, get_symbol_binding, get_symbol_type),
629 (get_ppc64_symbol_other, get_symbol_other): Increase size of buffer.
630
c98a4545
AM
6312020-04-15 Alan Modra <amodra@gmail.com>
632
633 PR 25821
634 * readelf.c (get_num_dynamic_syms): Typo fix.
635
645f43a8
AM
6362020-04-14 Alan Modra <amodra@gmail.com>
637
638 * readelf.c (process_mips_specific): Free eopt and iopt. Avoid
639 possibility of overflow when checking number of conflicts.
640
10ca4b04
L
6412020-04-14 H.J. Lu <hongjiu.lu@intel.com>
642
643 PR binutils/25707
644 * readelf.c (nbuckets): New.
645 (nchains): Likewise.
646 (buckets): Likewise.
647 (chains): Likewise.
648 (ngnubuckets): Likewise.
649 (gnubuckets): Likewise.
650 (gnuchains): Likewise.
651 (mipsxlat): Likewise.
652 (ngnuchains): Likewise.
653 (gnusymidx): Likewise.
654 (VALID_SYMBOL_NAME): Likewise.
655 (VALID_DYNAMIC_NAME): Use it.
656 (get_dynamic_data): Moved before process_dynamic_section.
657 (get_num_dynamic_syms): New function.
658 (process_dynamic_section): Use DT_SYMTAB, DT_SYMENT, DT_HASH,
659 DT_GNU_HASH and DT_MIPS_XHASH to reconstruct dynamic symbol
660 table. Use DT_STRTAB and DT_STRSZ to reconstruct dynamic string
661 table.
662 (get_symbol_index_type): Don't print "bad section index" when
663 there is no section header.
664 (print_dynamic_symbol): Rewrite.
665 (process_symbol_table): Call print_dynamic_symbol to dump dynamic
666 symbol table.
667
bb897477
RO
6682020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
669
670 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Don't
671 enable on *-*-solaris*.
672
00386881
NC
6732020-03-30 Nick Clifton <nickc@redhat.com>
674
675 PR binutils/25662
676 * objcopy.c (copy_object): When copying PE format files set the
677 timestamp field in the pe_data structure if the preserve_dates
678 flag is set.
679 * testsuite/binutils-all/objcopy.exp (objcopy_test) Use
680 --preserve-dates in place of the -p option, in order to make its
681 effect more obvious.
682
0a6a8b59
AM
6832020-03-28 Alan Modra <amodra@gmail.com>
684
685 * testsuite/binutils-all/objcopy.exp (objcopy_test): Only
686 clear_xfail hppa*-*-*elf*. Revert mips xfails.
687
6a81c59b
AM
6882020-03-28 Alan Modra <amodra@gmail.com>
689
690 * testsuite/binutils-all/objcopy.exp (objcopy_test): Move xfails
691 from here to calls. Remove "m8*-*-*" entry. Don't xfail tic54x
692 but do xfail spu, mipstx39 and mips-sgi-irix for the executable
693 test. Pass "-p" to objcopy for the executable test.
694
1fafefd5
JL
6952020-03-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
696
697 PR binutils/25662
698 * testsuite/binutils-all/objcopy.exp (objcopy_test): Add argument to
699 specify whether an object file or executable should be built and tested.
700 Change test names to report whether an object file or executable is
701 being tested.
702 * testsuite/binutils-all/pr25662.ld: New test.
703 * testsuite/binutils-all/pr25662.s: New test.
704
80e2a3b6
AM
7052020-03-27 Alan Modra <amodra@gmail.com>
706
707 * readelf.c (process_archive): Don't double free qualified_name.
708 Don't break out of loop with "negative" archive_file_size, just
709 set file offset to max.
710
4c836627
AM
7112020-03-25 Alan Modra <amodra@gmail.com>
712
713 * readelf.c (process_archive): Prevent endless loop.
714
1081065c
L
7152020-03-24 H.J. Lu <hongjiu.lu@intel.com>
716
717 PR binutils/25708
718 * nm.c (print_symname): Replace _bfd_elf_get_symbol_version_name
719 with bfd_get_symbol_version_string.
720 (print_symbo): Pass TRUE to bfd_get_symbol_version_string.
721 * objdump.c (objdump_print_symname): Likewise.
722
7e6e972f
L
7232020-03-24 H.J. Lu <hongjiu.lu@intel.com>
724
725 PR binutils/25708
726 * nm.c (SYM_NAME): Removed.
727 (print_symname): Add a pointer to struct extended_symbol_info
728 argument. Call _bfd_elf_get_symbol_version_name to get symbol
729 version.
730 (print_symdef_entry): Pass NULL to print_symname.
731 (print_symbol_info_bsd): Update call to print_symname.
732 (print_symbol_info_sysv): Likewise.
733 (print_symbol_info_posix): Likewise.
734
5a814d6d
AM
7352020-03-24 Alan Modra <amodra@gmail.com>
736
737 * readelf.c (process_mips_specific): Free iconf on error path.
738
0636b245
NC
7392020-03-23 Nick Clifton <nickc@redhat.com>
740
741 PR 25714
742 * wrstabs.c (stab_pop_type): Replace assertion with error return.
743 * write_stabs_in_sections_debugging_info: Likewise.
744 * stab_enum_type: Likewise.
745 * stab_modify_type: Likewise.
746 * stab_struct_field: Likewise.
747 * stab_end_struct_type: Likewise.
748 * stab_start_class_type: Likewise.
749 * stab_class_static_member: Likewise.
750 * stab_class_baseclass: Likewise.
751 * stab_class_start_method: Likewise.
752 * stab_class_method_var: Likewise.
753 * stab_class_end_method: Likewise.
754 * stab_end_class_type: Likewise.
755 * stab_typedef_type: Likewise.
756 * stab_start_function: Likewise.
757 * stab_end_block: Likewise.
758 * stab_lineno: Likewise.
759
5844b465
NC
7602020-03-20 Nick Clifton <nickc@redhat.com>
761
762 * readelf.c (get_compression_header): Add ATTRIBUTE_WARN_UNUSED_RESULT.
763 (process_section_headers): Check the return value from
764 get_compression_header.
765 (dump_section_as_strings): Likewise.
766 (dump_section_as_bytes): Likewise.
767 (load_specific_debug_section): Likewise.
768
3d98c460
L
7692020-03-20 H.J. Lu <hongjiu.lu@intel.com>
770
771 * ar.c (main): Update bfd_plugin_set_program_name call.
772 * nm.c (main): Likewise.
773
f3a08f77
NC
7742020-03-19 Nick Clifton <nickc@redhat.com>
775
776 PR 25676
777 * testsuite/binutils-all/dw4.s: New test source file.
778 * testsuite/binutils-all/nm.exp: Run the new test.
779
ef3df110
L
7802020-03-19 H.J. Lu <hongjiu.lu@intel.com>
781
782 * readelf.c (process_symbol_table): Use unsigned long for si.
783
81a65eb3
AM
7842020-03-19 Alan Modra <amodra@gmail.com>
785
786 * elfcomm.c: Don't include bfd.h or bucomm.h.
787 (program_name): Declare.
788 (process_archive_index_and_symbols): Replace bfd_boolean with int,
789 and substitute FALSE and TRUE.
790 (setup_archive, setup_nested_archive): Likewise.
791 * elfcomm.h: Likewise.
792
1cb7d8b1
AM
7932020-03-19 Alan Modra <amodra@gmail.com>
794
795 * readelf.c (process_archive): Always return via path freeing
796 memory. Formatting.
797
b966f55f
AM
7982020-03-19 Alan Modra <amodra@gmail.com>
799
800 * readelf.c (process_netbsd_elf_note): Validate descsz before
801 accessing descdata. Formatting.
802
645ba681
AM
8032020-03-19 Alan Modra <amodra@gmail.com>
804
805 * elfcomm.c (setup_archive): Make file_size an off_t. Comment.
806 * elfcomm.h (setup_archive): Update prototype.
807
28d13567
AM
8082020-03-16 Alan Modra <amodra@gmail.com>
809
810 * readelf.c (get_symbols): New function.
811 (process_relocs, ia64_process_unwind, hppa_process_unwind),
812 (arm_process_unwind, get_symbol_for_build_attribute): Use it.
813
60e63c3e
AM
8142020-03-16 Alan Modra <amodra@gmail.com>
815
816 * unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts.
817 Detect shift overflows and check that terminating byte is found.
818 Print an error on a bad uleb128.
819
1bd6175a
AM
8202020-03-14 Alan Modra <amodra@gmail.com>
821
822 * readelf.c (process_file): Clean ba_cache.
823
780f96ae
AM
8242020-03-14 Alan Modra <amodra@gmail.com>
825
826 * elfcomm.h (setup_archive): Update prototype.
827 * elfcomm.c (setup_archive): Add file_size parameter and sanity
828 check longnames_size.
829 (setup_nested_archive): Get file size and pass to setup_archive.
830 * elfedit.c (process_archive): Likewise.
831 * readelf.c (process_archive): Pass filedata->file_size to
832 setup_archive.
833
f761cb13
AM
8342020-03-14 Alan Modra <amodra@gmail.com>
835
836 * readelf.c (dump_section_as_strings): Free memory on error exit.
837 (dump_section_as_bytes, process_notes_at): Likewise.
838 (get_build_id): Free enote.
839
06d949ec
KR
8402020-03-13 Kamil Rytarowski <n54@gmx.com>
841
842 * readelf.c (get_netbsd_elfcore_note_type): Add support for
843 NT_NETBSDCORE_LWPSTATUS notes.
844
fd486f32
AM
8452020-03-13 Alan Modra <amodra@gmail.com>
846
847 * elfcomm.c (get_archive_member_name): Always return malloc'd
848 string or NULL.
849 * elfedit.c (process_archive): Tidy memory on all return paths.
850 * readelf.c (process_archive): Likewise.
851 (process_symbol_table): Likewise.
852 (ba_cache): New, replacing ..
853 (get_symbol_for_build_attribute): ..static vars here. Free
854 strtab and symtab before loading new ones. Reject symtab without
855 valid strtab in loop, breaking out of loop on valid symtab.
856 (process_file): Free ba_cache symtab and strtab here, resetting
857 ba_cache.
858
8fb879cd
AM
8592020-03-12 Alan Modra <amodra@gmail.com>
860
861 * readelf.c (process_section_headers): Don't just set
862 filedata->section_headers NULL, free it first. Similarly for
863 dynamic_symbols, dynamic_strings, dynamic_syminfo and
864 symtab_shndx_list. Zero associated counts too.
865 (process_object): Free symtab_shndx_list.
866 (process_file): Free various allocated filedata tables.
867
5496f3c6
NC
8682020-03-11 Nick Clifton <nickc@redhat.com>
869
870 PR 25611
871 PR 25614
872 * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and
873 li_segment_size fields.
874 * dwarf.c (read_debug_line_header): Record the address size and
875 segment selector size values (if present) in the lineinfo
876 structure.
877 (display_formatted_table): Warn if the format count is empty but
878 the table itself is not empty.
879 Display the format count and entry count at the start of the table
880 dump.
881 (display_debug_lines_raw): Display the address size and segement
882 selector size fields, if present.
883 * testsuite/binutils-all/dw5.W: Update expected output.
884
9cc89dc0
AM
8852020-03-11 Alan Modra <amodra@gmail.com>
886
887 PR 25651
888 * objcopy.c (copy_object): Test "gaps" not gap_fill_set or
889 pad_to_set on second block of code dealing with padding.
890 Replace "c" with "num_sec" and don't recalculate number of
891 sections on second block. Size arrays using sizeof (element)
892 rather than sizeof (element type).
893
41da0822
AM
8942020-03-10 Alan Modra <amodra@gmail.com>
895
896 * objdump.c (disassemble_section): Don't call qsort unless
897 sym count is at least two.
898 (disassemble_data): Don't call memcpy with NULL src.
899
95099889
AM
9002020-03-09 Alan Modra <amodra@gmail.com>
901
902 PR 25645
903 * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
904 to get_data rather than multiplying.
905 (dump_ia64_vms_dynamic_relocs): Likewise.
906 (process_version_sections): Correct order of size and nmemb args
907 in get_data call.
908 (process_mips_specific): Likewise.
909
a15de1f5
L
9102020-03-08 H.J. Lu <hongjiu.lu@intel.com>
911
912 * readelf.c (get_dynamic_data): Replace "memory chekers" with
913 "memory checkers" in comments.
914
9979ab66
SM
9152020-03-06 Simon Marchi <simon.marchi@efficios.com>
916
917 PR 25491
918 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
919 * doc/Makefile.in: Re-generate.
920
a0dcf297
NC
9212020-03-06 Nick Clifton <nickc@redhat.com>
922
923 * objcopy.c (check_new_section_flags): New function. Reject the
924 SEC_COFF_SHARED flag if the target is not a COFF binary.
925 (copy_object): Call check_new_section_flags.
926 (setup_section): Likewise.
927 * doc/binutils.texi (objcopy): Add a note that the 'share' section
928 flag cannot be applied to ELF binaries.
929
a9b90127
AM
9302020-03-06 Alan Modra <amodra@gmail.com>
931
932 PR 25637
933 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
934
d1faf7ca
AM
9352020-03-05 Alan Modra <amodra@gmail.com>
936
937 PR 25629
938 * objcopy.c (filter_symbols): Don't segfault on NULL
939 prefix_symbols_string.
940
eef64366
CE
9412020-03-04 Christian Eggers <ceggers@gmx.de>
942
943 * objcopy.c (copy_object): Convert from bytes to octets for
944 --gap-fill and --pad-to.
945
5be2b2f5
NC
9462020-03-03 Nick Clifton <nickc@redhat.com>
947
948 PR 25625
949 * prdbg.c (pr_tag_type): Remove call to abort.
950
b312fea1
AM
9512020-03-02 Aaron Merey <amerey@redhat.com>
952
953 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
954 selection.
955
ba3265d0
NC
9562020-03-02 Nick Clifton <nickc@redhat.com>
957
958 PR 25543
959 * readelf.c (dump_section_as_strings): Display new-line characters
960 as \n and then insert a line break.
961 * testsuite/binutils-all/pr25543.s: New test.
962 * testsuite/binutils-all/pr25543.d: Test driver.
963 * testsuite/binutils-all/readelf.exp: Run the new test.
964
736990c4
NC
9652020-02-27 Nick Clifton <nickc@redhat.com>
966
967 PR 25526
968 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
969 get_data is unable to load the string table.
970
dc1e8a47
AM
9712020-02-26 Alan Modra <amodra@gmail.com>
972
973 * elfedit.c: Indent labels correctly.
974 * readelf.c: Likewise.
975 * resres.c: Likewise.
976
ecda9016
L
9772020-02-25 H.J. Lu <hongjiu.lu@intel.com>
978
979 PR binutils/25584
980 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
981 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
982
83d4d556
NC
9832020-02-24 Nick Clifton <nickc@redhat.com>
984
985 PR 25499
986 * doc/binutils.texi (objdump): Fix typo in description of
987 objdump's -g option.
988
bd0cf5a6
NC
9892020-02-20 Nelson Chu <nelson.chu@sifive.com>
990
991 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
992 is changed.
993
741cb839
EC
9942020-02-19 Jordan Rupprecht <rupprecht@google.com>
995
996 * objdump.c (show_line): call bfd_demangle when using do_demangle.
997
9f1528a1
AB
9982020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
999
1000 * configure: Regenerate.
1001
3a5d12fb
FS
10022020-02-10 Fangrui Song <maskray@google.com>
1003
1004 * objcopy.c (parse_flags): Handle "exclude".
1005 * doc/binutils.texi: Document the support.
1006
678d457f
AM
10072020-02-10 Aaron Merey <amerey@redhat.com>
1008
1009 * binutils/testsuite/binutils-all/debuginfod.exp:
1010 Replace set ::env with setenv.
46471187
AM
1011 Start server before setting environment variable.
1012 Specify tmpdir as the location of the server's
1013 database.
1014 Check additional server metrics at start-up.
678d457f 1015
e8319fde
NC
10162020-02-07 Nick Clifton <nickc@redhat.com>
1017
1018 * README-how-to-make-a-release: Add note about updating the
1019 GAS/NEWS URL in the next release.
1020
9fc0b501
SB
10212020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
1022
1023 PR 25469
1024 * readelf.c (get_machine_flags): Add support for Z80N machine
1025 number.
1026
e1104d08
NC
10272020-02-07 Nick Clifton <nickc@redhat.com>
1028
1029 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
1030 of the truncated file name.
1031
c2e6f744 10322020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
ece12829
TT
1033
1034 * objdump.c (print_jump_visualisation): New function.
1035 (disassemble_bytes): Call new function.
1036
02e0be69
AM
10372020-02-06 Alan Modra <amodra@gmail.com>
1038
1039 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
1040 TCL procedure.
1041 (supports_gnu_osabi): New procedure.
1042 (is_generic): New, from ld-lib.exp.
1043 (supports_gnu_unique): Use the above.
1044
e8b79122
AM
10452020-02-04 Alan Modra <amodra@gmail.com>
1046
1047 * Makefile.am (CFILES): Add od-elf32_avr.c.
1048 * Makefile.in: Regenerate.
1049 * po/POTFILES.in: Regenerate.
1050
27a45f42
AS
10512020-02-03 Andreas Schwab <schwab@linux-m68k.org>
1052
1053 * readelf.c (dump_relocations, dump_relocations)
1054 (decode_arm_unwind_bytecode, process_dynamic_section)
1055 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
1056 error message.
1057
0b398d69
ST
10582020-02-03 Sergei Trofimovich <siarheit@google.com>
1059
1060 * coffdump.c (program_name): Drop redundant definition.
1061 * srconv.c (program_name): Likewise
1062 * sysdump.c (program_name): Likewise
1063
a8c4d40b
L
10642020-02-02 H.J. Lu <hongjiu.lu@intel.com>
1065
1066 PR gas/25380
1067 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
1068 same file with different section pointers.
1069
cb6ad9bb
NC
10702020-02-01 Nick Clifton <nickc@redhat.com>
1071
1072 * README-how-to-make-a-release: Update with more details on the
1073 release making process.
1074
53943f32
NC
10752020-01-31 Nick Clifton <nickc@redhat.com>
1076
1077 * po/sv.po: Updated Swedish translation.
1078
55be8fd0
NC
10792020-01-28 Nick Clifton <nickc@redhat.com>
1080
1081 * readelf.c (get_build_id): Simplify warning message about corrupt
1082 notes encountered whilst scanning for the build-id.
1083
82ef9cad
RM
10842020-01-27 Roland McGrath <mcgrathr@google.com>
1085
1086 * objcopy.c (compare_gnu_build_notes): Fix comparison results
1087 for overlapping ranges so that (A == B) == (B == A) holds.
1088
e3696f67
AM
10892020-01-27 Alan Modra <amodra@gmail.com>
1090
1091 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
1092 case statement with switch statement.
1093
2f796de6
NC
10942020-01-24 Nick Clifton <nickc@redhat.com>
1095
1096 * readelf.c (get_build_id): Fix warning messages about corrupt
1097 notes.
1098
24e648d4
NC
10992020-01-23 Nick Clifton <nickc@redhat.com>
1100
1101 * po/fr.po: Updated French translation.
1102
c48acf6f
YC
11032020-01-22 Yuri Chornoivan <yurchor@mageia.org>
1104
1105 PR 25417
1106 * readelf.c (get_alpha_symbol_other): Fix error message typo.
1107
26916852
NC
11082020-01-20 Nick Clifton <nickc@redhat.com>
1109
1110 * po/pt.po: Updated Portuguese translation.
1111 * po/uk.po: Updated Ukranian translation.
1112
b248e9ce
NC
11132020-01-18 Nick Clifton <nickc@redhat.com>
1114
1115 * README-how-to-make-a-release: Update notes on how to cut a
1116 branch for a release.
1117
1b1bb2c6
NC
11182020-01-18 Nick Clifton <nickc@redhat.com>
1119
1120 * configure: Regenerate.
1121 * po/binutils.pot: Regenerate.
1122
ae774686
NC
11232020-01-18 Nick Clifton <nickc@redhat.com>
1124
1125 Binutils 2.34 branch created.
1126
82a9ed20
TT
11272020-01-17 Thomas Troeger <tstroege@gmx.de>
1128
1129 * objdump.c (jump_info_visualize_address): Discard jumps that are
1130 no longer needed.
1131 (disassemble_bytes): Only compute the maximum level if jumps were
1132 detected.
1133
6a1939f5
NC
11342020-01-13 Nick Clifton <nickc@redhat.com>
1135
c87c17c1 1136 * objdump.c (disassemble_bytes): Remove C99-ism.
6a1939f5
NC
1137 * testsuite/binutils-all/debuginfod.exp: New tests.
1138
1d67fe3b
TT
11392020-01-13 Thomas Troeger <tstroege@gmx.de>
1140
1141 * objdump.c (visualize_jumps, color_output, extended_color_output)
1142 (detected_jumps): New variables.
1143 (usage): Add the new jump visualization options.
1144 (option_values): Add new option value.
1145 (long_options): Add the new option.
1146 (jump_info_new, jump_info_free): New functions.
1147 (jump_info_min_address, jump_info_max_address): Likewise.
1148 (jump_info_end_address, jump_info_is_start_address): Likewise.
1149 (jump_info_is_end_address, jump_info_size): Likewise.
1150 (jump_info_unlink, jump_info_insert): Likewise.
1151 (jump_info_add_front, jump_info_move_linked): Likewise.
1152 (jump_info_intersect, jump_info_merge): Likewise.
1153 (jump_info_sort, jump_info_visualize_address): Likewise.
1154 (disassemble_jumps): New function - used to locate jumps.
1155 (disassemble_bytes): Add ascii art generation.
1156 (disassemble_section): Add scan to locate jumps.
1157 (main): Parse the new visualization option.
1158 * doc/binutils.texi: Document the new feature.
1159 * NEWS: Mention the new feature.
1160
a788aedd
AM
11612020-01-13 Alan Modra <amodra@gmail.com>
1162
a4f2b7c5
AM
1163 PR 25360
1164 PR 25361
a788aedd
AM
1165 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
1166 fde_fc col_type and col_offset.
1167 * readelf.c (apply_relocations): Move symsec check earlier.
1168 (free_debug_section): Free reloc_info.
1169 (process_notes_at): Free pnotes on error path.
1170 (process_object): Free dump_sects here..
1171 (process_archive): ..not here.
1172
805f38bc
AM
11732020-01-13 Alan Modra <amodra@gmail.com>
1174
1175 PR 25362
1176 * nm.c (display_rel_file): Free dyn_syms.
1177
ffebb0bb
NC
11782020-01-09 Nick Clifton <nickc@redhat.com>
1179
1180 PR 25220
1181 * objcopy.c (empty_name): New variable.
1182 (need_sym_before): Prevent an attempt to free a static variable.
1183 (filter_symbols): Avoid strcmp test by checking for pointer
1184 equality.
1185
ade4fd9b
NC
11862020-01-09 Nick Clifton <nickc@redhat.com>
1187
1188 * po/zh_TW.po: Updated Traditional Chinese translation.
1189
11902020-01-09 Aaron Merey <amerey@redhat.com>
1191
1192 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
1193 * Makefile.in: Regenerate.
1194 * NEWS: Update.
1195 * config.in: Regenerate.
1196 * configure: Regenerate.
1197 * configure.ac: Call AC_DEBUGINFOD.
1198 * doc/Makefile.in: Regenerate.
1199 * doc/binutils.texi: Add section on using binutils
1200 with debuginfod.
1201 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
1202 Query debuginfod servers for the target debug file.
1203 (load_separate_debug_info): Call
1204 debuginfod_fetch_separate_debug_info if configured with
1205 debuginfod.
1206 (load_separate_debug_files): Add file argument to
1207 load_separate_debug_info calls.
1208 * dwarf.h (get_build_id): Add declaration.
1209 * objdump.c (get_build_id): New function. Get build-id of file.
1210 * readelf.c (get_build_id): Likewise.
1211 * testsuite/binutils-all/debuginfod.exp: New tests.
1212 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
1213 section.
1214
6655dba2
SB
12152020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
1216
1217 * readelf.c: Add support for new Z*) relocations and machine
1218 types.
1219
b14ce8bf
AM
12202020-01-01 Alan Modra <amodra@gmail.com>
1221
1222 Update year range in copyright notice of all files.
1223
0b114740 1224For older changes see ChangeLog-2019
3499769a 1225\f
0b114740 1226Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
1227
1228Copying and distribution of this file, with or without modification,
1229are permitted in any medium without royalty provided the copyright
1230notice and this notice are preserved.
1231
1232Local Variables:
1233mode: change-log
1234left-margin: 8
1235fill-column: 74
1236version-control: never
1237End: