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