]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
x86: Pass --gdwarf-3 to assembler
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
ac2599c4
L
12020-07-30 H.J. Lu <hongjiu.lu@intel.com>
2
3 * testsuite/binutils-all/i386/compressed-1a.d: Pass --gdwarf-3
4 to assembler.
5 * testsuite/binutils-all/i386/compressed-1b.d: Likewise.
6 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
7 * testsuite/binutils-all/x86-64/compressed-1a.d: Likewise.
8 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
9 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
10
c77cb2a0
MR
112020-07-29 Maciej W. Rozycki <macro@linux-mips.org>
12
13 * testsuite/binutils-all/mips/global-local-symtab-sort-o32.d:
14 New test.
15 * testsuite/binutils-all/mips/global-local-symtab-sort-o32t.d:
16 New test.
17 * testsuite/binutils-all/mips/global-local-symtab-sort-n32.d:
18 New test.
19 * testsuite/binutils-all/mips/global-local-symtab-sort-n32t.d:
20 New test.
21 * testsuite/binutils-all/mips/global-local-symtab-sort-n64.d:
22 New test.
23 * testsuite/binutils-all/mips/global-local-symtab-sort-n64t.d:
24 New test.
25 * testsuite/binutils-all/mips/global-local-symtab-final-o32.d:
26 New test.
27 * testsuite/binutils-all/mips/global-local-symtab-final-n32.d:
28 New test.
29 * testsuite/binutils-all/mips/global-local-symtab-final-n64.d:
30 New test.
31 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
32
3f1b17bb
MR
332020-07-29 Maciej W. Rozycki <macro@linux-mips.org>
34
35 * testsuite/binutils-all/mips/global-local-symtab-o32.d: New
36 test.
37 * testsuite/binutils-all/mips/global-local-symtab-o32t.d: New
38 test.
39 * testsuite/binutils-all/mips/global-local-symtab-n32.d: New
40 test.
41 * testsuite/binutils-all/mips/global-local-symtab-n32t.d: New
42 test.
43 * testsuite/binutils-all/mips/global-local-symtab-n64.d: New
44 test.
45 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
46
d70f978b
L
472020-07-28 H.J. Lu <hongjiu.lu@intel.com>
48
49 PR binutils/26301
50 * configure: Regenerated.
51
377170fa
L
522020-07-28 H.J. Lu <hongjiu.lu@intel.com>
53
54 PR binutils/26301
55 * configure: Regenerated.
56
8fab9282
AM
572020-07-27 Alan Modra <amodra@gmail.com>
58
59 * objdump.c (dump_section): Don't return without calling
60 process_section_p.
61
608d61c2
L
622020-07-27 H.J. Lu <hongjiu.lu@intel.com>
63
64 * doc/binutils.texi: Replace preceeded with preceded.
65
3abf9758
MR
662020-07-26 Maciej W. Rozycki <macro@linux-mips.org>
67
68 * testsuite/binutils-all/mips/mips.exp (run_dump_test_abi)
69 (run_dump_test_o32, run_dump_test_n32, run_dump_test_n64): New
70 procedures.
71 (has_newabi): Remove variable.
72 (has_abi, abi_asflags, abi_ldflags): New associative array
73 variables.
74 (irixemul): New variable.
75 Replace `run_dump_test' calls where applicable throughout with
76 `run_dump_test_o32', `run_dump_test_n32' and `run_dump_test_n64'
77 as appropriate. Use `noarch' for tests that require their own
78 architecture setting.
79 * testsuite/binutils-all/mips/mips-ase-1.d: Remove GAS flags.
80 * testsuite/binutils-all/mips/mips-ase-2.d: Likewise.
81 * testsuite/binutils-all/mips/mips-ase-3.d: Likewise.
82 * testsuite/binutils-all/mips/mips-note-2-n32.d: Likewise.
83 * testsuite/binutils-all/mips/mips-note-2-n64.d: Likewise.
84 * testsuite/binutils-all/mips/mips-note-2.d: Likewise.
85 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Likewise.
86 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
87 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
88 * testsuite/binutils-all/mips/mips-reginfo-n32.d: Likewise.
89 * testsuite/binutils-all/mips/mips-reginfo.d: Likewise.
90 * testsuite/binutils-all/mips/mips16-extend-noinsn.d: Likewise.
91 * testsuite/binutils-all/mips/mips16-pcrel.d: Likewise.
92 * testsuite/binutils-all/mips/mips16-alias.d: Remove `-32' from
93 GAS flags.
94 * testsuite/binutils-all/mips/mips16-extend-insn.d: Likewise.
95 * testsuite/binutils-all/mips/mips16-noalias.d: Likewise.
96 * testsuite/binutils-all/mips/mips16-undecoded.d: Likewise.
97 * testsuite/binutils-all/mips/mips16e2-extend-insn.d: Likewise.
98 * testsuite/binutils-all/mips/mips16e2-undecoded.d: Likewise.
99 * testsuite/binutils-all/mips/mixed-micromips.d: Likewise.
100 * testsuite/binutils-all/mips/mixed-mips16.d: Likewise.
101
f6720b1c
AM
1022020-07-24 Aaron Merey <amerey@redhat.com>
103
104 * Makefile.am: Replace LIBDEBUGINFOD with DEBUGINFOD_LIBS.
105 * Makefile.in: Rebuild.
106 * configure: Rebuild.
107 * doc/Makefile.in: Rebuild.
108
bf772a1e
NC
1092020-07-24 Nick Clifton <nickc@redhat.com>
110
111 * README-how-to-make-a-release: Various small updates whilst
112 creating the 2.35 release.
113
0b884151
NA
1142020-07-22 Nick Alcock <nick.alcock@oracle.com>
115
116 * testsuite/lib/binutils-common.exp (run_dump_test): Add 'cc'
117 option.
118
3dd6b890
NA
1192020-07-22 Nick Alcock <nick.alcock@oracle.com>
120
121 * objdump.c (dump_ctf_archive_member): Remove linefeeds.
122 (dump_ctf): Likewise.
123
8b37e7b6
NA
1242020-07-22 Nick Alcock <nick.alcock@oracle.com>
125
126 * objdump.c (ctf_archive_member): Print CTF errors and warnings.
127 * readelf.c (dump_ctf_archive_member): Likewise.
128
df16e041
NC
1292020-07-22 Nick Clifton <nickc@redhat.com>
130
131 * readelf.c (parse_args): Silence potential warnings about a
132 memory resource leak when allocating space for ctf option values.
133 (dump_section_as_ctf): Fix typo checking dump_ctf_strtab_name
134 variable.
135
84dc5f0b
NC
1362020-07-21 Nick Clifton <nickc@redhat.com>
137
138 * po/sv.po: Updated Swedish translation.
139
570b0ed6
CZ
1402020-07-14 Claudiu Zissulescu <claziss@gmail.com>
141
142 * testsuite/binutils-all/arc/double_regs.s: New test.
143 * testsuite/binutils-all/arc/objdump.exp: Add the above test.
144
0a5c31d1
NC
1452020-07-13 Nick Clifton <nickc@redhat.com>
146
147 * po/fr.po: Updated French translation.
148
7a34d0ea
AM
1492020-07-13 Alan Modra <amodra@gmail.com>
150
151 * testsuite/lib/binutils-common.exp (is_pecoff_format): Accept
152 optional machine-os arg.
153
a308b89d
L
1542020-07-11 H.J. Lu <hongjiu.lu@intel.com>
155
156 * readelf.c (decode_x86_feature_2): Handle
157 GNU_PROPERTY_X86_FEATURE_2_TMM.
158
af2b3186
TV
1592020-07-10 Tom de Vries <tdevries@suse.de>
160
161 * dwarf.c (display_debug_lines_decoded): Don't emit meaningless
162 information in the end_sequence row.
163 * testsuite/binutils-all/dw5.W: Update.
164 * testsuite/binutils-all/objdump.WL: Update.
165
fe49679d
AM
1662020-07-09 Alan Modra <amodra@gmail.com>
167
168 * dlltool.c: Remove powerpc PE support and comments.
169 * configure.ac: Remove powerpc PE dlltool config.
170 * configure: Regenerate.
171
d90171de
NC
1722020-07-09 Nick Clifton <nickc@redhat.com>
173
174 * rclex.c: Add OWNERDRAW keyword.
175 * rcparse.y: Add OWNERDRAW token.
176 (menuitem_flag) Add BITMAP and OWNERDRAW entries.
177 * resrc.c (write_rc_menuitems): Add support for OWNERDRAW and
178 BITMAP flags.
179 * windres.c (extended_menuitems): Likewise.
180 * testsuite/binutils-all/windres/menuitem_flags.rc: New test.
181
e3fdc001
AM
1822020-07-09 Alan Modra <amodra@gmail.com>
183
184 * readelf (slurp_hppa_unwind_table): Set table_len before use
185 in relocation sanity checks.
186
5a2296ac
AM
1872020-07-07 Alan Modra <amodra@gmail.com>
188
189 * testsuite/binutils-all/ar.exp: Use is_xcoff_format.
190 * testsuite/binutils-all/nm.exp: Likewise.
191 * testsuite/binutils-all/copy-2.d: Run only for elf and pe targets.
192 * testsuite/binutils-all/copy-3.d: Run only for elf targets.
193 * testsuite/binutils-all/set-section-alignment.d: Likewise.
194 * testsuite/binutils-all/copy-4.d: Don't run for xcoff.
195
efd0ed58
AM
1962020-07-07 Alan Modra <amodra@gmail.com>
197
198 * testsuite/lib/binutils-common.exp (is_xcoff_format): New.
199 * testsuite/binutils-all/objcopy.exp (pr25662): Exclude xcoff.
200
17550be7
NC
2012020-07-06 Nick Clifton <nickc@redhat.com>
202
203 * po/bg.po: Updated Bulgarian translation.
204 * po/pt.po: Updated Portuguese translation.
205 * po/uk.po: Updated Ukranian translation.
206
ddb43bab
AM
2072020-07-06 Alan Modra <amodra@gmail.com>
208
209 * readelf.c (print_dynamic_symbol): Don't sprintf to buffer to
210 find string length.
211
b19d852d
NC
2122020-07-04 Nick Clifton <nickc@redhat.com>
213
214 * configure: Regenerate.
215 * po/binutils.pot: Regenerate.
216
b115b9fd
NC
2172020-07-04 Nick Clifton <nickc@redhat.com>
218
219 Binutils 2.35 branch created.
220
0942c7ab
NC
2212020-07-02 Nick Clifton <nickc@redhat.com>
222
223 PR 26028
224 * readelf.c (print_symbol): Handle truncation of symbol names.
225 (options): Add -T/--silent-truncation option.
226 (parse_args): Handle the option.
227 (print_dynamic_symbol): Correct calculation of width available to
228 display symbol name.
229 * doc/binutils.texi: Document the -T option to readelf.
230 * NEWS: Mention the new feature.
231
bbd19b19
L
2322020-06-30 H.J. Lu <hongjiu.lu@intel.com>
233
234 * NEWS: Mention x86 NaCl target support removal.
235 * dwarf.c (init_dwarf_regnames_by_bfd_arch_and_mach): Remove
236 x86 NaCl target support.
237 * testsuite/binutils-all/elfedit-1.d: Likewise.
238 * testsuite/binutils-all/i386/i386.exp: Likewise.
239 * testsuite/binutils-all/x86-64/objects.exp: Likewise.
240 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
241 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
242 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
243 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
244 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
245 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
246 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
247 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
248 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
249 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
250 * testsuite/binutils-all/x86-64/x86-64.exp: Likewise.
251
5568cc9e
NC
2522020-06-30 Nick Clifton <nickc@redhat.com>
253
254 * dwarf.c (read_and_display_attr_value): Support
255 DW_FORM_GNU_strp_alt when used with DW_AT_dwo_name and
256 DW_AT_comp_dir.
257
d74b88ed
AM
2582020-06-30 Alan Modra <amodra@gmail.com>
259
260 * testsuite/binutils-all/readelf.exp (readelf_dump_test): Remove
261 xfail for nds32.
262
9f27c364
HPN
2632020-06-29 Hans-Peter Nilsson <hp@bitrange.com>
264
265 * dwarf.c (display_debug_str_offsets): Rename local variable
266 index to idx. Move to top of function.
267
279edac5
AM
2682020-06-29 Alan Modra <amodra@gmail.com>
269
270 * dwarf.c: Use C style comments.
271 * resrc.c: Likewise.
272
cfc16775
AM
2732020-06-27 Alan Modra <amodra@gmail.com>
274
275 * elfcomm.c (setup_nested_archive): Set nested_arch->file to NULL
276 after freeing.
277 (release_archive): Set fields of arch to NULL after freeing.
278
2f6ecaed
NA
2792020-06-26 Nick Alcock <nick.alcock@oracle.com>
280
281 * readelf.c (dump_section_as_ctf): Support .ctf archives using
282 ctf_arc_bufopen. Automatically load the .ctf member of such
283 archives as the parent of all other members, unless specifically
284 overridden via --ctf-parent. Split out dumping code into...
285 (dump_ctf_archive_member): ... here, as in objdump, and call
286 it once per archive member.
287 (dump_ctf_indent_lines): Code style fix.
288
094e34f2
NA
2892020-06-26 Nick Alcock <nick.alcock@oracle.com>
290
291 * configure.ac [--enable-libctf]: New, default yes.
292 Set ENABLE_LIBCTF accordingly.
293 * Makefile.am [!ENABLE_LIBCTF]: Empty LIBCTF and LIBCTF_NOBFD.
294 * configure: Regenerate.
295 * config.in: Regenerate.
296 * Makefile.in: Regenerate.
297 * aclocal.m4: Regenerate.
298 * objdump.c (usage): Conditionalize portions on ENABLE_LIBCTF.
299 (option_values): Likewise.
300 (long_options): Likewise.
301 (main): Likewise.
302 (dump_ctf_indent_lines): Conditionalize out when !ENABLE_LIBCTF.
303 (make_ctfsect): Likewise.
304 (dump_ctf_archive_member): Likewise.
305 (dump_ctf) [ENABLE_LIBCTF]: Likewise.
306 (dump_ctf) [!ENABLE_LIBCTF]: New empty stub.
307 * readelf.c (options): Conditionalize portions on ENABLE_LIBCTF.
308 (usage): Likewise.
309 (process_section_contents): Likewise.
310 (shdr_to_ctf_sect): Conditionalize out when !ENABLE_LIBCTF.
311 (dump_ctf_indent_lines): Likewise.
312 (dump_section_as_ctf) [ENABLE_LIBCTF]: Likewise.
313
2a1bb84c
JB
3142020-06-26 Jan Beulich <jbeulich@suse.com>
315
316 * doc/binutils.texi: Adjust description of x86's -Msuffix. Drop
317 redundant text from x86 specific part of -M section.
318
85f7484a
PB
3192020-06-26 Pat Bernardi <bernardi@adacore.com>
320
321 * readelf.c (display_m68k_gnu_attribute): New function.
322 (process_arch_specific): Call display_m68k_gnu_attribute for EM_68K.
323
d0dded5b
L
3242020-06-23 H.J. Lu <hongjiu.lu@intel.com>
325
326 PR binutils/26160
327 * testsuite/binutils-all/pr26160.dwp.bz2: New file.
328 * testsuite/binutils-all/pr26160.r: Likewise.
329 * testsuite/binutils-all/readelf.exp: Run PR binutils/26160 test.
330
39f381cb
NC
3312020-06-23 Nick Clifton <nickc@redhat.com>
332
333 PR 26160
334 * dwarf.c (fetch_indexed_string): Detect and handle old style
335 .debug_str_offset tables.
336 (display_debug_str_offsets): Likewise. Also add support for
337 .debug_str_offsets.dwo sections.
338
80fda85c
L
3392020-06-23 H.J. Lu <hongjiu.lu@intel.com>
340
341 PR binutils/26112
342 * testsuite/binutils-all/pr26112.o.bz2: New file.
343 * testsuite/binutils-all/pr26112.r: Likewise.
344 * testsuite/binutils-all/readelf.exp: Run PR binutils/26112 test.
345
d081ffff
AM
3462020-06-23 Alan Modra <amodra@gmail.com>
347
348 * testsuite/binutils-all/objdump.exp (bintest.a): Correct
349 remote_file delete command.
350
e4b7104b
NC
3512020-06-22 Nick Clifton <nickc@redhat.com>
352
353 PR 26112
354 * dwarf.c (display_debug_str_offsets): Add code to display the
355 contents of the .debug_str_offsets section.
356 (display_debug_macro): Add support for DW_MACRO_define_strx and
357 DW_MACRO_undef_strx.
358
d768f160
SJ
3592020-06-22 Saagar Jha <saagar@saagarjha.com>
360
361 * od-macho.c: Dump linkedit data for new load commands.
362
5fd104ad
AM
3632020-06-19 Alan Modra <amodra@gmail.com>
364
365 * testsuite/config/default.exp (ld_elf_shared_opt): Don't set.
366 * testsuite/lib/binutils-common.exp (check_relro_support): New proc.
367 (run_dump_test): Use check_relro_support to decide whether to pass
368 extra ld option "-z norelro".
369
fd17d1e6
AM
3702020-06-11 Alan Modra <amodra@gmail.com>
371
372 * readelf.c (process_mips_specific): Don't alloc memory for
373 Elf_Internal_Options.
374
d0c4e780
AM
3752020-06-11 Alan Modra <amodra@gmail.com>
376
377 * readelf.c (process_mips_specific): Assert size of internal
378 types match size of external types, and simplify allocation of
379 internal buffer. Catch possible integer overflow when sanity
380 checking option size. Don't assume options are a regular array.
381 Sanity check reginfo option against option size. Use PRI macros
382 when printing.
383
25065fcd
RH
3842020-06-10 Ralf Habacker <ralf.habacker@freenet.de>
385
386 PR 26082
387 * mclex.c (yylex): Reject lines that reach end-of-file without a
388 terminating newline character.
389
b37a7714
NC
3902020-06-08 Nick Clifton <nickc@redhat.com>
391
392 PR 26093
393 * doc/binutils.texi (strings): Fix typo.
394
c4b2f181
NC
3952020-06-08 Nick Clifton <nickc@redhat.com>
396
397 PR 26086
398 * dwarf.c (process_debug_info): Check that there is space in the
399 debug_information array before filling in an entry.
400
1424c35d
AM
4012020-06-06 Alan Modra <amodra@gmail.com>
402
403 * doc/binutils.texi (PowerPC -M option): Mention power10 and pwr10.
404
8affa48a
JA
4052020-06-05 Joel Anderson <joelanderson333@gmail.com>
406
407 PR 26082
408 * mclex.c (yylex): Add test for an empty input stream.
409
8eca5c7d
SC
4102020-06-04 Stephen Casner <casner@acm.org>
411
412 * testsuite/binutils-all/pr25662-pdp11.s: Alternate source file
413 for test using section pseudo-ops compatible with pdp11.
414 * testsuite/binutils-all/objcopy.exp: Select alternate source.
415
b3db6d07
JM
4162020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com>
417
418 * objdump.c (disassemble_data): Set disasm_info.endian_code to
419 disasm_info.endian after the latter is initialized to the
420 endianness reported by BFD.
421
0a4f37af
AM
4222020-06-04 Alan Modra <amodra@gmail.com>
423
424 * testsuite/binutils-all/i386/i386.exp: Remove global directive
425 outside proc body.
426 * testsuite/binutils-all/x86-64/objects.exp: Likewise.
427 * testsuite/binutils-all/x86-64/x86-64.exp: Likewise.
428
913e0fd4
JA
4292020-06-03 Joel Anderson <joelanderson333@gmail.com>
430
431 * windmc.h (struct mc_node): Add id_typecast field.
432 * mcparse.y (message): Initialise the id_typecast field.
433 * windmc.c (write_dbg): Use the id_typecast field as a parameter
434 when calling write_dbg_define.
435 (write_header): Likewise.
436
4a322448
AM
4372020-06-03 Alan Modra <amodra@gmail.com>
438
439 PR 26069
440 * objcopy.c (copy_relocations_in_section): Free relpp on error.
441 Don't accidentally free isection->orelocation.
442
0bee4d1c
AM
4432020-06-02 Alan Modra <amodra@gmail.com>
444
445 * testsuite/binutils-all/ar.exp (obj): Set up object file name
446 extension. Use throughout. Don't completely exclude non-ELF
447 alpha targets. Run long_filenames test for tic30. Exclude thin
448 archive tests for aix, ecoff and vms.
449 * estsuite/binutils-all/objdump.exp (obj): Set up object file name
450 extension. Use throughout. Don't exclude non-ELF alpha targets
451 from "bintest.a".
452
ab7ad287
MF
4532020-05-28 Max Filippov <jcmvbkbc@gmail.com>
454
455 * MAINTAINERS (Xtensa): Add myself as maintainer.
456
3f3c3608
AM
4572020-05-23 Alan Modra <amodra@gmail.com>
458
459 * testsuite/binutils-all/ar.exp (many_files): New test.
460
9db70fc3
AM
4612020-05-21 Alan Modra <amodra@gmail.com>
462
463 * addr2line.c: Replace "if (x) free (x)" with "free (x)" throughout.
464 * dlltool.c: Likewise.
465 * elfcomm.c: Likewise.
466 * rddbg.c: Likewise.
467 * readelf.c: Likewise.
468 * stabs.c: Likewise.
469 * windmc.c: Likewise.
470 * windres.c: Likewise.
471 * wrstabs.c: Likewise.
472
c31ab5a0
AM
4732020-05-21 Alan Modra <amodra@gmail.com>
474
475 * readelf.c (get_num_dynamic_syms): Bounds check mipsxlat array
476 access.
477
8f595e9b
NC
4782020-05-20 Nelson Chu <nelson.chu@sifive.com>
479
480 * dwarf.c: Updated since DECLARE_CSR is changed.
481
8ac10c5b
L
4822020-05-19 H.J. Lu <hjl.tools@gmail.com>
483
484 PR binutils/25809
485 * readelf.c (process_program_headers): Warn if the PT_DYNAMIC
486 segment doesn't match the .dynamic section and checks are
487 enabled.
488 (struct filedata): Add dynamic_symtab_section and
489 dynamic_strtab_section fields.
490 (process_section_headers): Set dynamic_symtab_section to the
491 .dynsym section. Set dynamic_strtab_section to the .dynstr
492 section.
493 (process_dynamic_section): Warn if the .dynsym section doesn't
494 match DT_SYMTAB and DT_SYMENT or the .dynstr section doesn't
495 DT_STRTAB and DT_STRSZ. But only if checks are enabled.
496
c177f377
AM
4972020-05-19 Alan Modra <amodra@gmail.com>
498
499 * ar.c (map_over_members, get_pos_bfd, delete_members, move_members),
500 (replace_members): Use bfd_get_filename rather than accessing
501 bfd->filename directly.
502 * arsup.c (map_over_list, ar_delete, ar_replace, ar_extract): Likewise.
503 * binemul.c (do_ar_emul_append): Likewise.
504 * coffgrok.c (coff_grok): Likewise.
505
83d27139
SH
5062020-05-18 Stafford Horne <shorne@gmail.com>
507
508 * MAINTAINERS (OR1K): Add myself as maintainer.
509
d11a9fab
AB
5102020-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
511
512 * doc/binutils.texi: Mention 'entry address' in the set-start and
513 adjust-start options descriptions.
514
546cb2d8
NC
5152020-05-05 Nick Clifton <nickc@redhat.com>
516
517 * dwarf.c (do_checks): New global variable.
518 (display_formatted_table): Warn about an unexpected number of
519 columns in the table, if checks are enabled. Do not complain
520 about the lack of data following the number of entries in the
521 table if the table is empty.
522 (display_debug_lines_decoded): Only warn about an unexpected
523 number of columns in a table if checks are enabled.
524 * dwarf.h (do_checks): Add a prototype.
525 * elfcomm.c (error): Remove weak attribute.
526 (warn): Likewise.
527 * readelf.c (do_checks): Delete.
528 (warn): Delete.
529 (process_section_headers): Only warn about empty sections if
530 checks are enabled.
531
e052e2ba
FS
5322020-05-04 Fangrui Song <maskray@google.com>
533
534 * objcopy.c (copy_object): Allow empty section.
535 * testsuite/binutils-all/update-section.exp: Add test.
536
070b775f
NC
5372020-05-04 Nick Clifton <nickc@redhat.com>
538
539 PR 25917
540 * dwarf.c (display_debug_lines_decoded): Warn if encountering a
541 supicious number of entries for DWARF-5 format directory and file
542 name tables. Do not display file name table header if the table
543 is empty. Do not allocate space for empty tables.
544
9c7b8e9b
AM
5452020-05-04 Alan Modra <amodra@gmail.com>
546
547 * readelf.c (process_nds32_specific): Check size of .nds32_e_flags
548 section. Don't assume endian of host matches nds32 target. Free
549 buffer.
550
60832332
AM
5512020-05-01 Alan Modra <amodra@gmail.com>
552 Haim Shimonovich <Haim.Shimonovich@ceva-dsp.com>
553
554 * objdump.c (disassemble_bytes): Don't scan for zeros when
555 disassembling zeros. Translate "resuming at file offset" message.
556 Formatting. Replace some signed variables with unsigned.
557
09c1e68a
AC
5582020-04-30 Alex Coplan <alex.coplan@arm.com>
559
560 * testsuite/binutils-all/aarch64/in-order-all.d: Update to use new
561 disassembly.
562 * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
563
8a8a1171
NC
5642020-04-30 Nick Clifton <nickc@redhat.com>
565
566 * testsuite/lib/binutils-common.exp (check_pie_support): New
567 proc.
568
cb4c35cf
AB
5692020-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
570
571 * dwarf.c (display_debug_ranges): Ignore duplicate entries in
572 range_entries for the same offset.
573
1b513401
NC
5742020-04-29 Nick Clifton <nickc@redhat.com>
575
576 * readelf.c (warn): New function - like elfcomm.c version but only
577 produces output if warnings are enabled.
578 (struct options): Add --lint and --enable-checks.
579 (usage): Add entry for --lint.
580 (parse_args): Handle -L. If checks are enabled but no dumps have
581 been selected then enable all dumps.
582 (process_section_headers): Replace long if-then-else sequence with
583 a switch. Add warning messages for empty SHT_REL, SHT_RELA and
584 SHT_PROGBITS sections.
585 (process_file): Do not complain if the file is an archive and lint
586 mode has been enabled.
587 * elfcomm.c (error): Make the function weak.
588 (warn): Likewise.
589 * NEWS: Mention the new feature.
590 * doc/binutils.texi: Document the new feature.
591 * dwarf.h (report_leb_status): Add file name and line number
592 parameters. Include them in the diagnostic output.
593 (READ_ULEB): Pass file and line number to report_leb_status.
594 (READ_SLEB): Likewise.
595 * dwarf.c (read_and_print_leb128): Pass file and line number to
596 report_leb_status.
597 * testsuite/binutils-all/readelf.exp: Add test of new feature.
598 * testsuite/binutils-all/zero-sec.s: New test source file.
599 * testsuite/binutils-all/zero-sec.r: Expected output from new
600 test.
601
c2e71e57
NC
6022020-04-29 Nick Clifton <nickc@redhat.com>
603
604 * po/sr.po: Updated Serbian translation.
605
90837ea7
AM
6062020-04-26 Alan Modra <amodra@gmail.com>
607
608 * readelf.c (get_num_dynamic_syms): Check DT_MIPS_XHASH was
609 read before dereferencing, and gracefully return. Remove
610 gnu_hash_error variable. Free gnu hash arrays if number of
611 syms found is zero.
612
2482f306
AM
6132020-04-24 Alan Modra <amodra@gmail.com>
614
615 * readelf.c (get_num_dynamic_syms): Check for nbuckets and nchains
616 non-zero.
617 (process_dynamic_section): Call get_num_dynamic_syms once rather
618 than in segment loop. Break out of segment loop on a successful
619 load of dynamic symbols. Formatting.
620 (process_object): Return error status from process_dynamic_section.
621
27456742
AK
6222020-04-23 Anton Kolesov <anton.kolesov@synopsys.com>
623
624 * elf-bfd.h (elfcore_write_arc_v2): Add prototype.
625 * elf.c (elfcore_grok_arc_v2): New function.
626 (elfcore_grok_note): Call the new function to handle the corresponding
627 note.
628 (elfcore_write_arc_v2): New function.
629 (elfcore_write_register_note): Call the new function to handle the
630 corresponding pseudo-sections.
631
30ce8e47
MF
6322020-04-22 Max Filippov <jcmvbkbc@gmail.com>
633
634 PR ld/25861
635 * readelf.c (is_none_reloc): Recognize
636 BFD_RELOC_XTENSA_PDIFF{8,16,32} and
637 BFD_RELOC_XTENSA_NDIFF{8,16,32}.
638
33b5a830
NC
6392020-04-22 Nick Clifton <nickc@redhat.com>
640
641 * MAINTAINERS: Remove Chris Faylor as the ix86 PE maintainer.
642
978c4450
AM
6432020-04-22 Alan Modra <amodra@gmail.com>
644
645 * readelf.c (archive_file_offset, archive_file_size, dynamic_addr),
646 (dynamic_size, dynamic_nent, dynamic_strings, dynamic_strings_length),
647 (num_dynamic_syms, nbuckets, nchains, buckets, chains),
648 (ngnubuckets, gnubuckets, gnuchains, mipsxlat, ngnuchains),
649 (gnusymidx, dynamic_symbols, dynamic_syminfo, dynamic_syminfo_offset),
650 (dynamic_syminfo_nent, program_interpreter, dynamic_info),
651 (dynamic_info_DT_GNU_HASH, dynamic_info_DT_MIPS_XHASH, version_info),
652 (dynamic_section, symtab_shndx_list, group_count, section_groups),
653 (section_headers_groups): Move to struct filedata. Update use
654 throughout file.
655
6431e409
AM
6562020-04-22 Alan Modra <amodra@gmail.com>
657
658 * readelf.c (struct dump_data): New, used..
659 (cmdline): ..here, and..
660 (struct filedata): ..here. Adjust all uses.
661 (request_dump_bynumber, request_dump, parse_args): Pass in a
662 struct dump_data* rather than Filedata*. Adjust callers.
663 (main): Don't set cmdline.file_name.
664
a5e0be5c
AM
6652020-04-20 Alan Modra <amodra@gmail.com>
666
667 * readelf.c (process_symbol_table): Clear ngnuchains, ngnubuckets
668 and nbuckets.
669
8ff66993
AM
6702020-04-20 Alan Modra <amodra@gmail.com>
671
672 * readelf.c (process_section_headers): Free dynamic symbols etc.
673 earlier.
674
ceb9bf11
AM
6752020-04-20 Alan Modra <amodra@gmail.com>
676
677 * readelf.c (get_num_dynamic_syms): Formatting. Don't return
678 on error without freeing.
679 (process_dynamic_section): Don't recreate dynamic symbols from
680 dynamic tag info when the dynamic symbols have already been
681 read via section headers.
682
e409955d
FS
6832020-04-17 Fredrik Strupe <fredrik@strupe.net>
684
685 * testsuite/binutils-all/arm/vdup-cond.d: New test for testing that
686 conditional VDUP instructions are disassembled correctly.
687 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
688 vdup-cond.d.
689 * testsuite/binutils-all/arm/vdup-thumb.d: New test for testing
690 that VDUP instructions (which are conditional in A32) can be
691 disassembled in thumb mode.
692 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
693 vdup-thumb.d.
694
ca3f923f
AM
6952020-04-17 Alan Modra <amodra@gmail.com>
696
697 PR 25840
698 * debug.c (debug_class_type_samep): Don't segfault on NULL type.
699
937f6614
AM
7002020-04-16 Alan Modra <amodra@gmail.com>
701
702 * doc/binutils.texi: Mention --no-show-raw-insn in objdump
703 --no-addresses description.
704
b1bc1394
AM
7052020-04-15 Alan Modra <amodra@gmail.com>
706
707 * objdump.c (no_addresses): New static var.
708 (usage): Print help for --no-addresses.
709 (long_options): Add --no-addresses entry.
710 (objdump_print_addr_with_sym, objdump_print_addr): Omit symbol address.
711 (disassemble_bytes): Don't print current line address, or reloc
712 address.
713 * doc/binutils.texi: Document objdump --no-addresses.
714
001890e1
AM
7152020-04-15 Alan Modra <amodra@gmail.com>
716
717 PR 25822
718 * readelf.c (get_num_dynamic_syms): Don't set num_of_syms when
719 reading buckets or chains fails.
720
b71d4fa7
AM
7212020-04-15 Alan Modra <amodra@gmail.com>
722
723 * readelf.c (process_symbol_table): Zero gnubuckets, gnuchains
724 etc. after freeing.
725
89246a0e
AM
7262020-04-15 Alan Modra <amodra@gmail.com>
727
728 * readelf.c (get_group_flags): Translate text.
729 (get_file_type, get_symbol_binding, get_symbol_type),
730 (get_ppc64_symbol_other, get_symbol_other): Increase size of buffer.
731
c98a4545
AM
7322020-04-15 Alan Modra <amodra@gmail.com>
733
734 PR 25821
735 * readelf.c (get_num_dynamic_syms): Typo fix.
736
645f43a8
AM
7372020-04-14 Alan Modra <amodra@gmail.com>
738
739 * readelf.c (process_mips_specific): Free eopt and iopt. Avoid
740 possibility of overflow when checking number of conflicts.
741
10ca4b04
L
7422020-04-14 H.J. Lu <hongjiu.lu@intel.com>
743
744 PR binutils/25707
745 * readelf.c (nbuckets): New.
746 (nchains): Likewise.
747 (buckets): Likewise.
748 (chains): Likewise.
749 (ngnubuckets): Likewise.
750 (gnubuckets): Likewise.
751 (gnuchains): Likewise.
752 (mipsxlat): Likewise.
753 (ngnuchains): Likewise.
754 (gnusymidx): Likewise.
755 (VALID_SYMBOL_NAME): Likewise.
756 (VALID_DYNAMIC_NAME): Use it.
757 (get_dynamic_data): Moved before process_dynamic_section.
758 (get_num_dynamic_syms): New function.
759 (process_dynamic_section): Use DT_SYMTAB, DT_SYMENT, DT_HASH,
760 DT_GNU_HASH and DT_MIPS_XHASH to reconstruct dynamic symbol
761 table. Use DT_STRTAB and DT_STRSZ to reconstruct dynamic string
762 table.
763 (get_symbol_index_type): Don't print "bad section index" when
764 there is no section header.
765 (print_dynamic_symbol): Rewrite.
766 (process_symbol_table): Call print_dynamic_symbol to dump dynamic
767 symbol table.
768
bb897477
RO
7692020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
770
771 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Don't
772 enable on *-*-solaris*.
773
00386881
NC
7742020-03-30 Nick Clifton <nickc@redhat.com>
775
776 PR binutils/25662
777 * objcopy.c (copy_object): When copying PE format files set the
778 timestamp field in the pe_data structure if the preserve_dates
779 flag is set.
780 * testsuite/binutils-all/objcopy.exp (objcopy_test) Use
781 --preserve-dates in place of the -p option, in order to make its
782 effect more obvious.
783
0a6a8b59
AM
7842020-03-28 Alan Modra <amodra@gmail.com>
785
786 * testsuite/binutils-all/objcopy.exp (objcopy_test): Only
787 clear_xfail hppa*-*-*elf*. Revert mips xfails.
788
6a81c59b
AM
7892020-03-28 Alan Modra <amodra@gmail.com>
790
791 * testsuite/binutils-all/objcopy.exp (objcopy_test): Move xfails
792 from here to calls. Remove "m8*-*-*" entry. Don't xfail tic54x
793 but do xfail spu, mipstx39 and mips-sgi-irix for the executable
794 test. Pass "-p" to objcopy for the executable test.
795
1fafefd5
JL
7962020-03-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
797
798 PR binutils/25662
799 * testsuite/binutils-all/objcopy.exp (objcopy_test): Add argument to
800 specify whether an object file or executable should be built and tested.
801 Change test names to report whether an object file or executable is
802 being tested.
803 * testsuite/binutils-all/pr25662.ld: New test.
804 * testsuite/binutils-all/pr25662.s: New test.
805
80e2a3b6
AM
8062020-03-27 Alan Modra <amodra@gmail.com>
807
808 * readelf.c (process_archive): Don't double free qualified_name.
809 Don't break out of loop with "negative" archive_file_size, just
810 set file offset to max.
811
4c836627
AM
8122020-03-25 Alan Modra <amodra@gmail.com>
813
814 * readelf.c (process_archive): Prevent endless loop.
815
1081065c
L
8162020-03-24 H.J. Lu <hongjiu.lu@intel.com>
817
818 PR binutils/25708
819 * nm.c (print_symname): Replace _bfd_elf_get_symbol_version_name
820 with bfd_get_symbol_version_string.
821 (print_symbo): Pass TRUE to bfd_get_symbol_version_string.
822 * objdump.c (objdump_print_symname): Likewise.
823
7e6e972f
L
8242020-03-24 H.J. Lu <hongjiu.lu@intel.com>
825
826 PR binutils/25708
827 * nm.c (SYM_NAME): Removed.
828 (print_symname): Add a pointer to struct extended_symbol_info
829 argument. Call _bfd_elf_get_symbol_version_name to get symbol
830 version.
831 (print_symdef_entry): Pass NULL to print_symname.
832 (print_symbol_info_bsd): Update call to print_symname.
833 (print_symbol_info_sysv): Likewise.
834 (print_symbol_info_posix): Likewise.
835
5a814d6d
AM
8362020-03-24 Alan Modra <amodra@gmail.com>
837
838 * readelf.c (process_mips_specific): Free iconf on error path.
839
0636b245
NC
8402020-03-23 Nick Clifton <nickc@redhat.com>
841
842 PR 25714
843 * wrstabs.c (stab_pop_type): Replace assertion with error return.
844 * write_stabs_in_sections_debugging_info: Likewise.
845 * stab_enum_type: Likewise.
846 * stab_modify_type: Likewise.
847 * stab_struct_field: Likewise.
848 * stab_end_struct_type: Likewise.
849 * stab_start_class_type: Likewise.
850 * stab_class_static_member: Likewise.
851 * stab_class_baseclass: Likewise.
852 * stab_class_start_method: Likewise.
853 * stab_class_method_var: Likewise.
854 * stab_class_end_method: Likewise.
855 * stab_end_class_type: Likewise.
856 * stab_typedef_type: Likewise.
857 * stab_start_function: Likewise.
858 * stab_end_block: Likewise.
859 * stab_lineno: Likewise.
860
5844b465
NC
8612020-03-20 Nick Clifton <nickc@redhat.com>
862
863 * readelf.c (get_compression_header): Add ATTRIBUTE_WARN_UNUSED_RESULT.
864 (process_section_headers): Check the return value from
865 get_compression_header.
866 (dump_section_as_strings): Likewise.
867 (dump_section_as_bytes): Likewise.
868 (load_specific_debug_section): Likewise.
869
3d98c460
L
8702020-03-20 H.J. Lu <hongjiu.lu@intel.com>
871
872 * ar.c (main): Update bfd_plugin_set_program_name call.
873 * nm.c (main): Likewise.
874
f3a08f77
NC
8752020-03-19 Nick Clifton <nickc@redhat.com>
876
877 PR 25676
878 * testsuite/binutils-all/dw4.s: New test source file.
879 * testsuite/binutils-all/nm.exp: Run the new test.
880
ef3df110
L
8812020-03-19 H.J. Lu <hongjiu.lu@intel.com>
882
883 * readelf.c (process_symbol_table): Use unsigned long for si.
884
81a65eb3
AM
8852020-03-19 Alan Modra <amodra@gmail.com>
886
887 * elfcomm.c: Don't include bfd.h or bucomm.h.
888 (program_name): Declare.
889 (process_archive_index_and_symbols): Replace bfd_boolean with int,
890 and substitute FALSE and TRUE.
891 (setup_archive, setup_nested_archive): Likewise.
892 * elfcomm.h: Likewise.
893
1cb7d8b1
AM
8942020-03-19 Alan Modra <amodra@gmail.com>
895
896 * readelf.c (process_archive): Always return via path freeing
897 memory. Formatting.
898
b966f55f
AM
8992020-03-19 Alan Modra <amodra@gmail.com>
900
901 * readelf.c (process_netbsd_elf_note): Validate descsz before
902 accessing descdata. Formatting.
903
645ba681
AM
9042020-03-19 Alan Modra <amodra@gmail.com>
905
906 * elfcomm.c (setup_archive): Make file_size an off_t. Comment.
907 * elfcomm.h (setup_archive): Update prototype.
908
28d13567
AM
9092020-03-16 Alan Modra <amodra@gmail.com>
910
911 * readelf.c (get_symbols): New function.
912 (process_relocs, ia64_process_unwind, hppa_process_unwind),
913 (arm_process_unwind, get_symbol_for_build_attribute): Use it.
914
60e63c3e
AM
9152020-03-16 Alan Modra <amodra@gmail.com>
916
917 * unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts.
918 Detect shift overflows and check that terminating byte is found.
919 Print an error on a bad uleb128.
920
1bd6175a
AM
9212020-03-14 Alan Modra <amodra@gmail.com>
922
923 * readelf.c (process_file): Clean ba_cache.
924
780f96ae
AM
9252020-03-14 Alan Modra <amodra@gmail.com>
926
927 * elfcomm.h (setup_archive): Update prototype.
928 * elfcomm.c (setup_archive): Add file_size parameter and sanity
929 check longnames_size.
930 (setup_nested_archive): Get file size and pass to setup_archive.
931 * elfedit.c (process_archive): Likewise.
932 * readelf.c (process_archive): Pass filedata->file_size to
933 setup_archive.
934
f761cb13
AM
9352020-03-14 Alan Modra <amodra@gmail.com>
936
937 * readelf.c (dump_section_as_strings): Free memory on error exit.
938 (dump_section_as_bytes, process_notes_at): Likewise.
939 (get_build_id): Free enote.
940
06d949ec
KR
9412020-03-13 Kamil Rytarowski <n54@gmx.com>
942
943 * readelf.c (get_netbsd_elfcore_note_type): Add support for
944 NT_NETBSDCORE_LWPSTATUS notes.
945
fd486f32
AM
9462020-03-13 Alan Modra <amodra@gmail.com>
947
948 * elfcomm.c (get_archive_member_name): Always return malloc'd
949 string or NULL.
950 * elfedit.c (process_archive): Tidy memory on all return paths.
951 * readelf.c (process_archive): Likewise.
952 (process_symbol_table): Likewise.
953 (ba_cache): New, replacing ..
954 (get_symbol_for_build_attribute): ..static vars here. Free
955 strtab and symtab before loading new ones. Reject symtab without
956 valid strtab in loop, breaking out of loop on valid symtab.
957 (process_file): Free ba_cache symtab and strtab here, resetting
958 ba_cache.
959
8fb879cd
AM
9602020-03-12 Alan Modra <amodra@gmail.com>
961
962 * readelf.c (process_section_headers): Don't just set
963 filedata->section_headers NULL, free it first. Similarly for
964 dynamic_symbols, dynamic_strings, dynamic_syminfo and
965 symtab_shndx_list. Zero associated counts too.
966 (process_object): Free symtab_shndx_list.
967 (process_file): Free various allocated filedata tables.
968
5496f3c6
NC
9692020-03-11 Nick Clifton <nickc@redhat.com>
970
971 PR 25611
972 PR 25614
973 * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and
974 li_segment_size fields.
975 * dwarf.c (read_debug_line_header): Record the address size and
976 segment selector size values (if present) in the lineinfo
977 structure.
978 (display_formatted_table): Warn if the format count is empty but
979 the table itself is not empty.
980 Display the format count and entry count at the start of the table
981 dump.
982 (display_debug_lines_raw): Display the address size and segement
983 selector size fields, if present.
984 * testsuite/binutils-all/dw5.W: Update expected output.
985
9cc89dc0
AM
9862020-03-11 Alan Modra <amodra@gmail.com>
987
988 PR 25651
989 * objcopy.c (copy_object): Test "gaps" not gap_fill_set or
990 pad_to_set on second block of code dealing with padding.
991 Replace "c" with "num_sec" and don't recalculate number of
992 sections on second block. Size arrays using sizeof (element)
993 rather than sizeof (element type).
994
41da0822
AM
9952020-03-10 Alan Modra <amodra@gmail.com>
996
997 * objdump.c (disassemble_section): Don't call qsort unless
998 sym count is at least two.
999 (disassemble_data): Don't call memcpy with NULL src.
1000
95099889
AM
10012020-03-09 Alan Modra <amodra@gmail.com>
1002
1003 PR 25645
1004 * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
1005 to get_data rather than multiplying.
1006 (dump_ia64_vms_dynamic_relocs): Likewise.
1007 (process_version_sections): Correct order of size and nmemb args
1008 in get_data call.
1009 (process_mips_specific): Likewise.
1010
a15de1f5
L
10112020-03-08 H.J. Lu <hongjiu.lu@intel.com>
1012
1013 * readelf.c (get_dynamic_data): Replace "memory chekers" with
1014 "memory checkers" in comments.
1015
9979ab66
SM
10162020-03-06 Simon Marchi <simon.marchi@efficios.com>
1017
1018 PR 25491
1019 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
1020 * doc/Makefile.in: Re-generate.
1021
a0dcf297
NC
10222020-03-06 Nick Clifton <nickc@redhat.com>
1023
1024 * objcopy.c (check_new_section_flags): New function. Reject the
1025 SEC_COFF_SHARED flag if the target is not a COFF binary.
1026 (copy_object): Call check_new_section_flags.
1027 (setup_section): Likewise.
1028 * doc/binutils.texi (objcopy): Add a note that the 'share' section
1029 flag cannot be applied to ELF binaries.
1030
a9b90127
AM
10312020-03-06 Alan Modra <amodra@gmail.com>
1032
1033 PR 25637
1034 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
1035
d1faf7ca
AM
10362020-03-05 Alan Modra <amodra@gmail.com>
1037
1038 PR 25629
1039 * objcopy.c (filter_symbols): Don't segfault on NULL
1040 prefix_symbols_string.
1041
eef64366
CE
10422020-03-04 Christian Eggers <ceggers@gmx.de>
1043
1044 * objcopy.c (copy_object): Convert from bytes to octets for
1045 --gap-fill and --pad-to.
1046
5be2b2f5
NC
10472020-03-03 Nick Clifton <nickc@redhat.com>
1048
1049 PR 25625
1050 * prdbg.c (pr_tag_type): Remove call to abort.
1051
b312fea1
AM
10522020-03-02 Aaron Merey <amerey@redhat.com>
1053
1054 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
1055 selection.
1056
ba3265d0
NC
10572020-03-02 Nick Clifton <nickc@redhat.com>
1058
1059 PR 25543
1060 * readelf.c (dump_section_as_strings): Display new-line characters
1061 as \n and then insert a line break.
1062 * testsuite/binutils-all/pr25543.s: New test.
1063 * testsuite/binutils-all/pr25543.d: Test driver.
1064 * testsuite/binutils-all/readelf.exp: Run the new test.
1065
736990c4
NC
10662020-02-27 Nick Clifton <nickc@redhat.com>
1067
1068 PR 25526
1069 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
1070 get_data is unable to load the string table.
1071
dc1e8a47
AM
10722020-02-26 Alan Modra <amodra@gmail.com>
1073
1074 * elfedit.c: Indent labels correctly.
1075 * readelf.c: Likewise.
1076 * resres.c: Likewise.
1077
ecda9016
L
10782020-02-25 H.J. Lu <hongjiu.lu@intel.com>
1079
1080 PR binutils/25584
1081 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
1082 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
1083
83d4d556
NC
10842020-02-24 Nick Clifton <nickc@redhat.com>
1085
1086 PR 25499
1087 * doc/binutils.texi (objdump): Fix typo in description of
1088 objdump's -g option.
1089
bd0cf5a6
NC
10902020-02-20 Nelson Chu <nelson.chu@sifive.com>
1091
1092 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
1093 is changed.
1094
741cb839
EC
10952020-02-19 Jordan Rupprecht <rupprecht@google.com>
1096
1097 * objdump.c (show_line): call bfd_demangle when using do_demangle.
1098
9f1528a1
AB
10992020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
1100
1101 * configure: Regenerate.
1102
3a5d12fb
FS
11032020-02-10 Fangrui Song <maskray@google.com>
1104
1105 * objcopy.c (parse_flags): Handle "exclude".
1106 * doc/binutils.texi: Document the support.
1107
678d457f
AM
11082020-02-10 Aaron Merey <amerey@redhat.com>
1109
1110 * binutils/testsuite/binutils-all/debuginfod.exp:
1111 Replace set ::env with setenv.
46471187
AM
1112 Start server before setting environment variable.
1113 Specify tmpdir as the location of the server's
1114 database.
1115 Check additional server metrics at start-up.
678d457f 1116
e8319fde
NC
11172020-02-07 Nick Clifton <nickc@redhat.com>
1118
1119 * README-how-to-make-a-release: Add note about updating the
1120 GAS/NEWS URL in the next release.
1121
9fc0b501
SB
11222020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
1123
1124 PR 25469
1125 * readelf.c (get_machine_flags): Add support for Z80N machine
1126 number.
1127
e1104d08
NC
11282020-02-07 Nick Clifton <nickc@redhat.com>
1129
1130 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
1131 of the truncated file name.
1132
c2e6f744 11332020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
ece12829
TT
1134
1135 * objdump.c (print_jump_visualisation): New function.
1136 (disassemble_bytes): Call new function.
1137
02e0be69
AM
11382020-02-06 Alan Modra <amodra@gmail.com>
1139
1140 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
1141 TCL procedure.
1142 (supports_gnu_osabi): New procedure.
1143 (is_generic): New, from ld-lib.exp.
1144 (supports_gnu_unique): Use the above.
1145
e8b79122
AM
11462020-02-04 Alan Modra <amodra@gmail.com>
1147
1148 * Makefile.am (CFILES): Add od-elf32_avr.c.
1149 * Makefile.in: Regenerate.
1150 * po/POTFILES.in: Regenerate.
1151
27a45f42
AS
11522020-02-03 Andreas Schwab <schwab@linux-m68k.org>
1153
1154 * readelf.c (dump_relocations, dump_relocations)
1155 (decode_arm_unwind_bytecode, process_dynamic_section)
1156 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
1157 error message.
1158
0b398d69
ST
11592020-02-03 Sergei Trofimovich <siarheit@google.com>
1160
1161 * coffdump.c (program_name): Drop redundant definition.
1162 * srconv.c (program_name): Likewise
1163 * sysdump.c (program_name): Likewise
1164
a8c4d40b
L
11652020-02-02 H.J. Lu <hongjiu.lu@intel.com>
1166
1167 PR gas/25380
1168 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
1169 same file with different section pointers.
1170
cb6ad9bb
NC
11712020-02-01 Nick Clifton <nickc@redhat.com>
1172
1173 * README-how-to-make-a-release: Update with more details on the
1174 release making process.
1175
53943f32
NC
11762020-01-31 Nick Clifton <nickc@redhat.com>
1177
1178 * po/sv.po: Updated Swedish translation.
1179
55be8fd0
NC
11802020-01-28 Nick Clifton <nickc@redhat.com>
1181
1182 * readelf.c (get_build_id): Simplify warning message about corrupt
1183 notes encountered whilst scanning for the build-id.
1184
82ef9cad
RM
11852020-01-27 Roland McGrath <mcgrathr@google.com>
1186
1187 * objcopy.c (compare_gnu_build_notes): Fix comparison results
1188 for overlapping ranges so that (A == B) == (B == A) holds.
1189
e3696f67
AM
11902020-01-27 Alan Modra <amodra@gmail.com>
1191
1192 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
1193 case statement with switch statement.
1194
2f796de6
NC
11952020-01-24 Nick Clifton <nickc@redhat.com>
1196
1197 * readelf.c (get_build_id): Fix warning messages about corrupt
1198 notes.
1199
24e648d4
NC
12002020-01-23 Nick Clifton <nickc@redhat.com>
1201
1202 * po/fr.po: Updated French translation.
1203
c48acf6f
YC
12042020-01-22 Yuri Chornoivan <yurchor@mageia.org>
1205
1206 PR 25417
1207 * readelf.c (get_alpha_symbol_other): Fix error message typo.
1208
26916852
NC
12092020-01-20 Nick Clifton <nickc@redhat.com>
1210
1211 * po/pt.po: Updated Portuguese translation.
1212 * po/uk.po: Updated Ukranian translation.
1213
b248e9ce
NC
12142020-01-18 Nick Clifton <nickc@redhat.com>
1215
1216 * README-how-to-make-a-release: Update notes on how to cut a
1217 branch for a release.
1218
1b1bb2c6
NC
12192020-01-18 Nick Clifton <nickc@redhat.com>
1220
1221 * configure: Regenerate.
1222 * po/binutils.pot: Regenerate.
1223
ae774686
NC
12242020-01-18 Nick Clifton <nickc@redhat.com>
1225
1226 Binutils 2.34 branch created.
1227
82a9ed20
TT
12282020-01-17 Thomas Troeger <tstroege@gmx.de>
1229
1230 * objdump.c (jump_info_visualize_address): Discard jumps that are
1231 no longer needed.
1232 (disassemble_bytes): Only compute the maximum level if jumps were
1233 detected.
1234
6a1939f5
NC
12352020-01-13 Nick Clifton <nickc@redhat.com>
1236
c87c17c1 1237 * objdump.c (disassemble_bytes): Remove C99-ism.
6a1939f5
NC
1238 * testsuite/binutils-all/debuginfod.exp: New tests.
1239
1d67fe3b
TT
12402020-01-13 Thomas Troeger <tstroege@gmx.de>
1241
1242 * objdump.c (visualize_jumps, color_output, extended_color_output)
1243 (detected_jumps): New variables.
1244 (usage): Add the new jump visualization options.
1245 (option_values): Add new option value.
1246 (long_options): Add the new option.
1247 (jump_info_new, jump_info_free): New functions.
1248 (jump_info_min_address, jump_info_max_address): Likewise.
1249 (jump_info_end_address, jump_info_is_start_address): Likewise.
1250 (jump_info_is_end_address, jump_info_size): Likewise.
1251 (jump_info_unlink, jump_info_insert): Likewise.
1252 (jump_info_add_front, jump_info_move_linked): Likewise.
1253 (jump_info_intersect, jump_info_merge): Likewise.
1254 (jump_info_sort, jump_info_visualize_address): Likewise.
1255 (disassemble_jumps): New function - used to locate jumps.
1256 (disassemble_bytes): Add ascii art generation.
1257 (disassemble_section): Add scan to locate jumps.
1258 (main): Parse the new visualization option.
1259 * doc/binutils.texi: Document the new feature.
1260 * NEWS: Mention the new feature.
1261
a788aedd
AM
12622020-01-13 Alan Modra <amodra@gmail.com>
1263
a4f2b7c5
AM
1264 PR 25360
1265 PR 25361
a788aedd
AM
1266 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
1267 fde_fc col_type and col_offset.
1268 * readelf.c (apply_relocations): Move symsec check earlier.
1269 (free_debug_section): Free reloc_info.
1270 (process_notes_at): Free pnotes on error path.
1271 (process_object): Free dump_sects here..
1272 (process_archive): ..not here.
1273
805f38bc
AM
12742020-01-13 Alan Modra <amodra@gmail.com>
1275
1276 PR 25362
1277 * nm.c (display_rel_file): Free dyn_syms.
1278
ffebb0bb
NC
12792020-01-09 Nick Clifton <nickc@redhat.com>
1280
1281 PR 25220
1282 * objcopy.c (empty_name): New variable.
1283 (need_sym_before): Prevent an attempt to free a static variable.
1284 (filter_symbols): Avoid strcmp test by checking for pointer
1285 equality.
1286
ade4fd9b
NC
12872020-01-09 Nick Clifton <nickc@redhat.com>
1288
1289 * po/zh_TW.po: Updated Traditional Chinese translation.
1290
12912020-01-09 Aaron Merey <amerey@redhat.com>
1292
1293 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
1294 * Makefile.in: Regenerate.
1295 * NEWS: Update.
1296 * config.in: Regenerate.
1297 * configure: Regenerate.
1298 * configure.ac: Call AC_DEBUGINFOD.
1299 * doc/Makefile.in: Regenerate.
1300 * doc/binutils.texi: Add section on using binutils
1301 with debuginfod.
1302 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
1303 Query debuginfod servers for the target debug file.
1304 (load_separate_debug_info): Call
1305 debuginfod_fetch_separate_debug_info if configured with
1306 debuginfod.
1307 (load_separate_debug_files): Add file argument to
1308 load_separate_debug_info calls.
1309 * dwarf.h (get_build_id): Add declaration.
1310 * objdump.c (get_build_id): New function. Get build-id of file.
1311 * readelf.c (get_build_id): Likewise.
1312 * testsuite/binutils-all/debuginfod.exp: New tests.
1313 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
1314 section.
1315
6655dba2
SB
13162020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
1317
1318 * readelf.c: Add support for new Z*) relocations and machine
1319 types.
1320
b14ce8bf
AM
13212020-01-01 Alan Modra <amodra@gmail.com>
1322
1323 Update year range in copyright notice of all files.
1324
0b114740 1325For older changes see ChangeLog-2019
3499769a 1326\f
0b114740 1327Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
1328
1329Copying and distribution of this file, with or without modification,
1330are permitted in any medium without royalty provided the copyright
1331notice and this notice are preserved.
1332
1333Local Variables:
1334mode: change-log
1335left-margin: 8
1336fill-column: 74
1337version-control: never
1338End: