]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
[gdb/build] Fix typo sys/sockets.h -> sys/socket.h
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
3abf9758
MR
12020-07-26 Maciej W. Rozycki <macro@linux-mips.org>
2
3 * testsuite/binutils-all/mips/mips.exp (run_dump_test_abi)
4 (run_dump_test_o32, run_dump_test_n32, run_dump_test_n64): New
5 procedures.
6 (has_newabi): Remove variable.
7 (has_abi, abi_asflags, abi_ldflags): New associative array
8 variables.
9 (irixemul): New variable.
10 Replace `run_dump_test' calls where applicable throughout with
11 `run_dump_test_o32', `run_dump_test_n32' and `run_dump_test_n64'
12 as appropriate. Use `noarch' for tests that require their own
13 architecture setting.
14 * testsuite/binutils-all/mips/mips-ase-1.d: Remove GAS flags.
15 * testsuite/binutils-all/mips/mips-ase-2.d: Likewise.
16 * testsuite/binutils-all/mips/mips-ase-3.d: Likewise.
17 * testsuite/binutils-all/mips/mips-note-2-n32.d: Likewise.
18 * testsuite/binutils-all/mips/mips-note-2-n64.d: Likewise.
19 * testsuite/binutils-all/mips/mips-note-2.d: Likewise.
20 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Likewise.
21 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
22 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
23 * testsuite/binutils-all/mips/mips-reginfo-n32.d: Likewise.
24 * testsuite/binutils-all/mips/mips-reginfo.d: Likewise.
25 * testsuite/binutils-all/mips/mips16-extend-noinsn.d: Likewise.
26 * testsuite/binutils-all/mips/mips16-pcrel.d: Likewise.
27 * testsuite/binutils-all/mips/mips16-alias.d: Remove `-32' from
28 GAS flags.
29 * testsuite/binutils-all/mips/mips16-extend-insn.d: Likewise.
30 * testsuite/binutils-all/mips/mips16-noalias.d: Likewise.
31 * testsuite/binutils-all/mips/mips16-undecoded.d: Likewise.
32 * testsuite/binutils-all/mips/mips16e2-extend-insn.d: Likewise.
33 * testsuite/binutils-all/mips/mips16e2-undecoded.d: Likewise.
34 * testsuite/binutils-all/mips/mixed-micromips.d: Likewise.
35 * testsuite/binutils-all/mips/mixed-mips16.d: Likewise.
36
f6720b1c
AM
372020-07-24 Aaron Merey <amerey@redhat.com>
38
39 * Makefile.am: Replace LIBDEBUGINFOD with DEBUGINFOD_LIBS.
40 * Makefile.in: Rebuild.
41 * configure: Rebuild.
42 * doc/Makefile.in: Rebuild.
43
bf772a1e
NC
442020-07-24 Nick Clifton <nickc@redhat.com>
45
46 * README-how-to-make-a-release: Various small updates whilst
47 creating the 2.35 release.
48
0b884151
NA
492020-07-22 Nick Alcock <nick.alcock@oracle.com>
50
51 * testsuite/lib/binutils-common.exp (run_dump_test): Add 'cc'
52 option.
53
3dd6b890
NA
542020-07-22 Nick Alcock <nick.alcock@oracle.com>
55
56 * objdump.c (dump_ctf_archive_member): Remove linefeeds.
57 (dump_ctf): Likewise.
58
8b37e7b6
NA
592020-07-22 Nick Alcock <nick.alcock@oracle.com>
60
61 * objdump.c (ctf_archive_member): Print CTF errors and warnings.
62 * readelf.c (dump_ctf_archive_member): Likewise.
63
df16e041
NC
642020-07-22 Nick Clifton <nickc@redhat.com>
65
66 * readelf.c (parse_args): Silence potential warnings about a
67 memory resource leak when allocating space for ctf option values.
68 (dump_section_as_ctf): Fix typo checking dump_ctf_strtab_name
69 variable.
70
84dc5f0b
NC
712020-07-21 Nick Clifton <nickc@redhat.com>
72
73 * po/sv.po: Updated Swedish translation.
74
570b0ed6
CZ
752020-07-14 Claudiu Zissulescu <claziss@gmail.com>
76
77 * testsuite/binutils-all/arc/double_regs.s: New test.
78 * testsuite/binutils-all/arc/objdump.exp: Add the above test.
79
0a5c31d1
NC
802020-07-13 Nick Clifton <nickc@redhat.com>
81
82 * po/fr.po: Updated French translation.
83
7a34d0ea
AM
842020-07-13 Alan Modra <amodra@gmail.com>
85
86 * testsuite/lib/binutils-common.exp (is_pecoff_format): Accept
87 optional machine-os arg.
88
a308b89d
L
892020-07-11 H.J. Lu <hongjiu.lu@intel.com>
90
91 * readelf.c (decode_x86_feature_2): Handle
92 GNU_PROPERTY_X86_FEATURE_2_TMM.
93
af2b3186
TV
942020-07-10 Tom de Vries <tdevries@suse.de>
95
96 * dwarf.c (display_debug_lines_decoded): Don't emit meaningless
97 information in the end_sequence row.
98 * testsuite/binutils-all/dw5.W: Update.
99 * testsuite/binutils-all/objdump.WL: Update.
100
fe49679d
AM
1012020-07-09 Alan Modra <amodra@gmail.com>
102
103 * dlltool.c: Remove powerpc PE support and comments.
104 * configure.ac: Remove powerpc PE dlltool config.
105 * configure: Regenerate.
106
d90171de
NC
1072020-07-09 Nick Clifton <nickc@redhat.com>
108
109 * rclex.c: Add OWNERDRAW keyword.
110 * rcparse.y: Add OWNERDRAW token.
111 (menuitem_flag) Add BITMAP and OWNERDRAW entries.
112 * resrc.c (write_rc_menuitems): Add support for OWNERDRAW and
113 BITMAP flags.
114 * windres.c (extended_menuitems): Likewise.
115 * testsuite/binutils-all/windres/menuitem_flags.rc: New test.
116
e3fdc001
AM
1172020-07-09 Alan Modra <amodra@gmail.com>
118
119 * readelf (slurp_hppa_unwind_table): Set table_len before use
120 in relocation sanity checks.
121
5a2296ac
AM
1222020-07-07 Alan Modra <amodra@gmail.com>
123
124 * testsuite/binutils-all/ar.exp: Use is_xcoff_format.
125 * testsuite/binutils-all/nm.exp: Likewise.
126 * testsuite/binutils-all/copy-2.d: Run only for elf and pe targets.
127 * testsuite/binutils-all/copy-3.d: Run only for elf targets.
128 * testsuite/binutils-all/set-section-alignment.d: Likewise.
129 * testsuite/binutils-all/copy-4.d: Don't run for xcoff.
130
efd0ed58
AM
1312020-07-07 Alan Modra <amodra@gmail.com>
132
133 * testsuite/lib/binutils-common.exp (is_xcoff_format): New.
134 * testsuite/binutils-all/objcopy.exp (pr25662): Exclude xcoff.
135
17550be7
NC
1362020-07-06 Nick Clifton <nickc@redhat.com>
137
138 * po/bg.po: Updated Bulgarian translation.
139 * po/pt.po: Updated Portuguese translation.
140 * po/uk.po: Updated Ukranian translation.
141
ddb43bab
AM
1422020-07-06 Alan Modra <amodra@gmail.com>
143
144 * readelf.c (print_dynamic_symbol): Don't sprintf to buffer to
145 find string length.
146
b19d852d
NC
1472020-07-04 Nick Clifton <nickc@redhat.com>
148
149 * configure: Regenerate.
150 * po/binutils.pot: Regenerate.
151
b115b9fd
NC
1522020-07-04 Nick Clifton <nickc@redhat.com>
153
154 Binutils 2.35 branch created.
155
0942c7ab
NC
1562020-07-02 Nick Clifton <nickc@redhat.com>
157
158 PR 26028
159 * readelf.c (print_symbol): Handle truncation of symbol names.
160 (options): Add -T/--silent-truncation option.
161 (parse_args): Handle the option.
162 (print_dynamic_symbol): Correct calculation of width available to
163 display symbol name.
164 * doc/binutils.texi: Document the -T option to readelf.
165 * NEWS: Mention the new feature.
166
bbd19b19
L
1672020-06-30 H.J. Lu <hongjiu.lu@intel.com>
168
169 * NEWS: Mention x86 NaCl target support removal.
170 * dwarf.c (init_dwarf_regnames_by_bfd_arch_and_mach): Remove
171 x86 NaCl target support.
172 * testsuite/binutils-all/elfedit-1.d: Likewise.
173 * testsuite/binutils-all/i386/i386.exp: Likewise.
174 * testsuite/binutils-all/x86-64/objects.exp: Likewise.
175 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
176 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
177 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
178 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
179 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
180 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
181 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
182 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
183 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
184 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
185 * testsuite/binutils-all/x86-64/x86-64.exp: Likewise.
186
5568cc9e
NC
1872020-06-30 Nick Clifton <nickc@redhat.com>
188
189 * dwarf.c (read_and_display_attr_value): Support
190 DW_FORM_GNU_strp_alt when used with DW_AT_dwo_name and
191 DW_AT_comp_dir.
192
d74b88ed
AM
1932020-06-30 Alan Modra <amodra@gmail.com>
194
195 * testsuite/binutils-all/readelf.exp (readelf_dump_test): Remove
196 xfail for nds32.
197
9f27c364
HPN
1982020-06-29 Hans-Peter Nilsson <hp@bitrange.com>
199
200 * dwarf.c (display_debug_str_offsets): Rename local variable
201 index to idx. Move to top of function.
202
279edac5
AM
2032020-06-29 Alan Modra <amodra@gmail.com>
204
205 * dwarf.c: Use C style comments.
206 * resrc.c: Likewise.
207
cfc16775
AM
2082020-06-27 Alan Modra <amodra@gmail.com>
209
210 * elfcomm.c (setup_nested_archive): Set nested_arch->file to NULL
211 after freeing.
212 (release_archive): Set fields of arch to NULL after freeing.
213
2f6ecaed
NA
2142020-06-26 Nick Alcock <nick.alcock@oracle.com>
215
216 * readelf.c (dump_section_as_ctf): Support .ctf archives using
217 ctf_arc_bufopen. Automatically load the .ctf member of such
218 archives as the parent of all other members, unless specifically
219 overridden via --ctf-parent. Split out dumping code into...
220 (dump_ctf_archive_member): ... here, as in objdump, and call
221 it once per archive member.
222 (dump_ctf_indent_lines): Code style fix.
223
094e34f2
NA
2242020-06-26 Nick Alcock <nick.alcock@oracle.com>
225
226 * configure.ac [--enable-libctf]: New, default yes.
227 Set ENABLE_LIBCTF accordingly.
228 * Makefile.am [!ENABLE_LIBCTF]: Empty LIBCTF and LIBCTF_NOBFD.
229 * configure: Regenerate.
230 * config.in: Regenerate.
231 * Makefile.in: Regenerate.
232 * aclocal.m4: Regenerate.
233 * objdump.c (usage): Conditionalize portions on ENABLE_LIBCTF.
234 (option_values): Likewise.
235 (long_options): Likewise.
236 (main): Likewise.
237 (dump_ctf_indent_lines): Conditionalize out when !ENABLE_LIBCTF.
238 (make_ctfsect): Likewise.
239 (dump_ctf_archive_member): Likewise.
240 (dump_ctf) [ENABLE_LIBCTF]: Likewise.
241 (dump_ctf) [!ENABLE_LIBCTF]: New empty stub.
242 * readelf.c (options): Conditionalize portions on ENABLE_LIBCTF.
243 (usage): Likewise.
244 (process_section_contents): Likewise.
245 (shdr_to_ctf_sect): Conditionalize out when !ENABLE_LIBCTF.
246 (dump_ctf_indent_lines): Likewise.
247 (dump_section_as_ctf) [ENABLE_LIBCTF]: Likewise.
248
2a1bb84c
JB
2492020-06-26 Jan Beulich <jbeulich@suse.com>
250
251 * doc/binutils.texi: Adjust description of x86's -Msuffix. Drop
252 redundant text from x86 specific part of -M section.
253
85f7484a
PB
2542020-06-26 Pat Bernardi <bernardi@adacore.com>
255
256 * readelf.c (display_m68k_gnu_attribute): New function.
257 (process_arch_specific): Call display_m68k_gnu_attribute for EM_68K.
258
d0dded5b
L
2592020-06-23 H.J. Lu <hongjiu.lu@intel.com>
260
261 PR binutils/26160
262 * testsuite/binutils-all/pr26160.dwp.bz2: New file.
263 * testsuite/binutils-all/pr26160.r: Likewise.
264 * testsuite/binutils-all/readelf.exp: Run PR binutils/26160 test.
265
39f381cb
NC
2662020-06-23 Nick Clifton <nickc@redhat.com>
267
268 PR 26160
269 * dwarf.c (fetch_indexed_string): Detect and handle old style
270 .debug_str_offset tables.
271 (display_debug_str_offsets): Likewise. Also add support for
272 .debug_str_offsets.dwo sections.
273
80fda85c
L
2742020-06-23 H.J. Lu <hongjiu.lu@intel.com>
275
276 PR binutils/26112
277 * testsuite/binutils-all/pr26112.o.bz2: New file.
278 * testsuite/binutils-all/pr26112.r: Likewise.
279 * testsuite/binutils-all/readelf.exp: Run PR binutils/26112 test.
280
d081ffff
AM
2812020-06-23 Alan Modra <amodra@gmail.com>
282
283 * testsuite/binutils-all/objdump.exp (bintest.a): Correct
284 remote_file delete command.
285
e4b7104b
NC
2862020-06-22 Nick Clifton <nickc@redhat.com>
287
288 PR 26112
289 * dwarf.c (display_debug_str_offsets): Add code to display the
290 contents of the .debug_str_offsets section.
291 (display_debug_macro): Add support for DW_MACRO_define_strx and
292 DW_MACRO_undef_strx.
293
d768f160
SJ
2942020-06-22 Saagar Jha <saagar@saagarjha.com>
295
296 * od-macho.c: Dump linkedit data for new load commands.
297
5fd104ad
AM
2982020-06-19 Alan Modra <amodra@gmail.com>
299
300 * testsuite/config/default.exp (ld_elf_shared_opt): Don't set.
301 * testsuite/lib/binutils-common.exp (check_relro_support): New proc.
302 (run_dump_test): Use check_relro_support to decide whether to pass
303 extra ld option "-z norelro".
304
fd17d1e6
AM
3052020-06-11 Alan Modra <amodra@gmail.com>
306
307 * readelf.c (process_mips_specific): Don't alloc memory for
308 Elf_Internal_Options.
309
d0c4e780
AM
3102020-06-11 Alan Modra <amodra@gmail.com>
311
312 * readelf.c (process_mips_specific): Assert size of internal
313 types match size of external types, and simplify allocation of
314 internal buffer. Catch possible integer overflow when sanity
315 checking option size. Don't assume options are a regular array.
316 Sanity check reginfo option against option size. Use PRI macros
317 when printing.
318
25065fcd
RH
3192020-06-10 Ralf Habacker <ralf.habacker@freenet.de>
320
321 PR 26082
322 * mclex.c (yylex): Reject lines that reach end-of-file without a
323 terminating newline character.
324
b37a7714
NC
3252020-06-08 Nick Clifton <nickc@redhat.com>
326
327 PR 26093
328 * doc/binutils.texi (strings): Fix typo.
329
c4b2f181
NC
3302020-06-08 Nick Clifton <nickc@redhat.com>
331
332 PR 26086
333 * dwarf.c (process_debug_info): Check that there is space in the
334 debug_information array before filling in an entry.
335
1424c35d
AM
3362020-06-06 Alan Modra <amodra@gmail.com>
337
338 * doc/binutils.texi (PowerPC -M option): Mention power10 and pwr10.
339
8affa48a
JA
3402020-06-05 Joel Anderson <joelanderson333@gmail.com>
341
342 PR 26082
343 * mclex.c (yylex): Add test for an empty input stream.
344
8eca5c7d
SC
3452020-06-04 Stephen Casner <casner@acm.org>
346
347 * testsuite/binutils-all/pr25662-pdp11.s: Alternate source file
348 for test using section pseudo-ops compatible with pdp11.
349 * testsuite/binutils-all/objcopy.exp: Select alternate source.
350
b3db6d07
JM
3512020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com>
352
353 * objdump.c (disassemble_data): Set disasm_info.endian_code to
354 disasm_info.endian after the latter is initialized to the
355 endianness reported by BFD.
356
0a4f37af
AM
3572020-06-04 Alan Modra <amodra@gmail.com>
358
359 * testsuite/binutils-all/i386/i386.exp: Remove global directive
360 outside proc body.
361 * testsuite/binutils-all/x86-64/objects.exp: Likewise.
362 * testsuite/binutils-all/x86-64/x86-64.exp: Likewise.
363
913e0fd4
JA
3642020-06-03 Joel Anderson <joelanderson333@gmail.com>
365
366 * windmc.h (struct mc_node): Add id_typecast field.
367 * mcparse.y (message): Initialise the id_typecast field.
368 * windmc.c (write_dbg): Use the id_typecast field as a parameter
369 when calling write_dbg_define.
370 (write_header): Likewise.
371
4a322448
AM
3722020-06-03 Alan Modra <amodra@gmail.com>
373
374 PR 26069
375 * objcopy.c (copy_relocations_in_section): Free relpp on error.
376 Don't accidentally free isection->orelocation.
377
0bee4d1c
AM
3782020-06-02 Alan Modra <amodra@gmail.com>
379
380 * testsuite/binutils-all/ar.exp (obj): Set up object file name
381 extension. Use throughout. Don't completely exclude non-ELF
382 alpha targets. Run long_filenames test for tic30. Exclude thin
383 archive tests for aix, ecoff and vms.
384 * estsuite/binutils-all/objdump.exp (obj): Set up object file name
385 extension. Use throughout. Don't exclude non-ELF alpha targets
386 from "bintest.a".
387
ab7ad287
MF
3882020-05-28 Max Filippov <jcmvbkbc@gmail.com>
389
390 * MAINTAINERS (Xtensa): Add myself as maintainer.
391
3f3c3608
AM
3922020-05-23 Alan Modra <amodra@gmail.com>
393
394 * testsuite/binutils-all/ar.exp (many_files): New test.
395
9db70fc3
AM
3962020-05-21 Alan Modra <amodra@gmail.com>
397
398 * addr2line.c: Replace "if (x) free (x)" with "free (x)" throughout.
399 * dlltool.c: Likewise.
400 * elfcomm.c: Likewise.
401 * rddbg.c: Likewise.
402 * readelf.c: Likewise.
403 * stabs.c: Likewise.
404 * windmc.c: Likewise.
405 * windres.c: Likewise.
406 * wrstabs.c: Likewise.
407
c31ab5a0
AM
4082020-05-21 Alan Modra <amodra@gmail.com>
409
410 * readelf.c (get_num_dynamic_syms): Bounds check mipsxlat array
411 access.
412
8f595e9b
NC
4132020-05-20 Nelson Chu <nelson.chu@sifive.com>
414
415 * dwarf.c: Updated since DECLARE_CSR is changed.
416
8ac10c5b
L
4172020-05-19 H.J. Lu <hjl.tools@gmail.com>
418
419 PR binutils/25809
420 * readelf.c (process_program_headers): Warn if the PT_DYNAMIC
421 segment doesn't match the .dynamic section and checks are
422 enabled.
423 (struct filedata): Add dynamic_symtab_section and
424 dynamic_strtab_section fields.
425 (process_section_headers): Set dynamic_symtab_section to the
426 .dynsym section. Set dynamic_strtab_section to the .dynstr
427 section.
428 (process_dynamic_section): Warn if the .dynsym section doesn't
429 match DT_SYMTAB and DT_SYMENT or the .dynstr section doesn't
430 DT_STRTAB and DT_STRSZ. But only if checks are enabled.
431
c177f377
AM
4322020-05-19 Alan Modra <amodra@gmail.com>
433
434 * ar.c (map_over_members, get_pos_bfd, delete_members, move_members),
435 (replace_members): Use bfd_get_filename rather than accessing
436 bfd->filename directly.
437 * arsup.c (map_over_list, ar_delete, ar_replace, ar_extract): Likewise.
438 * binemul.c (do_ar_emul_append): Likewise.
439 * coffgrok.c (coff_grok): Likewise.
440
83d27139
SH
4412020-05-18 Stafford Horne <shorne@gmail.com>
442
443 * MAINTAINERS (OR1K): Add myself as maintainer.
444
d11a9fab
AB
4452020-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
446
447 * doc/binutils.texi: Mention 'entry address' in the set-start and
448 adjust-start options descriptions.
449
546cb2d8
NC
4502020-05-05 Nick Clifton <nickc@redhat.com>
451
452 * dwarf.c (do_checks): New global variable.
453 (display_formatted_table): Warn about an unexpected number of
454 columns in the table, if checks are enabled. Do not complain
455 about the lack of data following the number of entries in the
456 table if the table is empty.
457 (display_debug_lines_decoded): Only warn about an unexpected
458 number of columns in a table if checks are enabled.
459 * dwarf.h (do_checks): Add a prototype.
460 * elfcomm.c (error): Remove weak attribute.
461 (warn): Likewise.
462 * readelf.c (do_checks): Delete.
463 (warn): Delete.
464 (process_section_headers): Only warn about empty sections if
465 checks are enabled.
466
e052e2ba
FS
4672020-05-04 Fangrui Song <maskray@google.com>
468
469 * objcopy.c (copy_object): Allow empty section.
470 * testsuite/binutils-all/update-section.exp: Add test.
471
070b775f
NC
4722020-05-04 Nick Clifton <nickc@redhat.com>
473
474 PR 25917
475 * dwarf.c (display_debug_lines_decoded): Warn if encountering a
476 supicious number of entries for DWARF-5 format directory and file
477 name tables. Do not display file name table header if the table
478 is empty. Do not allocate space for empty tables.
479
9c7b8e9b
AM
4802020-05-04 Alan Modra <amodra@gmail.com>
481
482 * readelf.c (process_nds32_specific): Check size of .nds32_e_flags
483 section. Don't assume endian of host matches nds32 target. Free
484 buffer.
485
60832332
AM
4862020-05-01 Alan Modra <amodra@gmail.com>
487 Haim Shimonovich <Haim.Shimonovich@ceva-dsp.com>
488
489 * objdump.c (disassemble_bytes): Don't scan for zeros when
490 disassembling zeros. Translate "resuming at file offset" message.
491 Formatting. Replace some signed variables with unsigned.
492
09c1e68a
AC
4932020-04-30 Alex Coplan <alex.coplan@arm.com>
494
495 * testsuite/binutils-all/aarch64/in-order-all.d: Update to use new
496 disassembly.
497 * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
498
8a8a1171
NC
4992020-04-30 Nick Clifton <nickc@redhat.com>
500
501 * testsuite/lib/binutils-common.exp (check_pie_support): New
502 proc.
503
cb4c35cf
AB
5042020-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
505
506 * dwarf.c (display_debug_ranges): Ignore duplicate entries in
507 range_entries for the same offset.
508
1b513401
NC
5092020-04-29 Nick Clifton <nickc@redhat.com>
510
511 * readelf.c (warn): New function - like elfcomm.c version but only
512 produces output if warnings are enabled.
513 (struct options): Add --lint and --enable-checks.
514 (usage): Add entry for --lint.
515 (parse_args): Handle -L. If checks are enabled but no dumps have
516 been selected then enable all dumps.
517 (process_section_headers): Replace long if-then-else sequence with
518 a switch. Add warning messages for empty SHT_REL, SHT_RELA and
519 SHT_PROGBITS sections.
520 (process_file): Do not complain if the file is an archive and lint
521 mode has been enabled.
522 * elfcomm.c (error): Make the function weak.
523 (warn): Likewise.
524 * NEWS: Mention the new feature.
525 * doc/binutils.texi: Document the new feature.
526 * dwarf.h (report_leb_status): Add file name and line number
527 parameters. Include them in the diagnostic output.
528 (READ_ULEB): Pass file and line number to report_leb_status.
529 (READ_SLEB): Likewise.
530 * dwarf.c (read_and_print_leb128): Pass file and line number to
531 report_leb_status.
532 * testsuite/binutils-all/readelf.exp: Add test of new feature.
533 * testsuite/binutils-all/zero-sec.s: New test source file.
534 * testsuite/binutils-all/zero-sec.r: Expected output from new
535 test.
536
c2e71e57
NC
5372020-04-29 Nick Clifton <nickc@redhat.com>
538
539 * po/sr.po: Updated Serbian translation.
540
90837ea7
AM
5412020-04-26 Alan Modra <amodra@gmail.com>
542
543 * readelf.c (get_num_dynamic_syms): Check DT_MIPS_XHASH was
544 read before dereferencing, and gracefully return. Remove
545 gnu_hash_error variable. Free gnu hash arrays if number of
546 syms found is zero.
547
2482f306
AM
5482020-04-24 Alan Modra <amodra@gmail.com>
549
550 * readelf.c (get_num_dynamic_syms): Check for nbuckets and nchains
551 non-zero.
552 (process_dynamic_section): Call get_num_dynamic_syms once rather
553 than in segment loop. Break out of segment loop on a successful
554 load of dynamic symbols. Formatting.
555 (process_object): Return error status from process_dynamic_section.
556
27456742
AK
5572020-04-23 Anton Kolesov <anton.kolesov@synopsys.com>
558
559 * elf-bfd.h (elfcore_write_arc_v2): Add prototype.
560 * elf.c (elfcore_grok_arc_v2): New function.
561 (elfcore_grok_note): Call the new function to handle the corresponding
562 note.
563 (elfcore_write_arc_v2): New function.
564 (elfcore_write_register_note): Call the new function to handle the
565 corresponding pseudo-sections.
566
30ce8e47
MF
5672020-04-22 Max Filippov <jcmvbkbc@gmail.com>
568
569 PR ld/25861
570 * readelf.c (is_none_reloc): Recognize
571 BFD_RELOC_XTENSA_PDIFF{8,16,32} and
572 BFD_RELOC_XTENSA_NDIFF{8,16,32}.
573
33b5a830
NC
5742020-04-22 Nick Clifton <nickc@redhat.com>
575
576 * MAINTAINERS: Remove Chris Faylor as the ix86 PE maintainer.
577
978c4450
AM
5782020-04-22 Alan Modra <amodra@gmail.com>
579
580 * readelf.c (archive_file_offset, archive_file_size, dynamic_addr),
581 (dynamic_size, dynamic_nent, dynamic_strings, dynamic_strings_length),
582 (num_dynamic_syms, nbuckets, nchains, buckets, chains),
583 (ngnubuckets, gnubuckets, gnuchains, mipsxlat, ngnuchains),
584 (gnusymidx, dynamic_symbols, dynamic_syminfo, dynamic_syminfo_offset),
585 (dynamic_syminfo_nent, program_interpreter, dynamic_info),
586 (dynamic_info_DT_GNU_HASH, dynamic_info_DT_MIPS_XHASH, version_info),
587 (dynamic_section, symtab_shndx_list, group_count, section_groups),
588 (section_headers_groups): Move to struct filedata. Update use
589 throughout file.
590
6431e409
AM
5912020-04-22 Alan Modra <amodra@gmail.com>
592
593 * readelf.c (struct dump_data): New, used..
594 (cmdline): ..here, and..
595 (struct filedata): ..here. Adjust all uses.
596 (request_dump_bynumber, request_dump, parse_args): Pass in a
597 struct dump_data* rather than Filedata*. Adjust callers.
598 (main): Don't set cmdline.file_name.
599
a5e0be5c
AM
6002020-04-20 Alan Modra <amodra@gmail.com>
601
602 * readelf.c (process_symbol_table): Clear ngnuchains, ngnubuckets
603 and nbuckets.
604
8ff66993
AM
6052020-04-20 Alan Modra <amodra@gmail.com>
606
607 * readelf.c (process_section_headers): Free dynamic symbols etc.
608 earlier.
609
ceb9bf11
AM
6102020-04-20 Alan Modra <amodra@gmail.com>
611
612 * readelf.c (get_num_dynamic_syms): Formatting. Don't return
613 on error without freeing.
614 (process_dynamic_section): Don't recreate dynamic symbols from
615 dynamic tag info when the dynamic symbols have already been
616 read via section headers.
617
e409955d
FS
6182020-04-17 Fredrik Strupe <fredrik@strupe.net>
619
620 * testsuite/binutils-all/arm/vdup-cond.d: New test for testing that
621 conditional VDUP instructions are disassembled correctly.
622 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
623 vdup-cond.d.
624 * testsuite/binutils-all/arm/vdup-thumb.d: New test for testing
625 that VDUP instructions (which are conditional in A32) can be
626 disassembled in thumb mode.
627 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
628 vdup-thumb.d.
629
ca3f923f
AM
6302020-04-17 Alan Modra <amodra@gmail.com>
631
632 PR 25840
633 * debug.c (debug_class_type_samep): Don't segfault on NULL type.
634
937f6614
AM
6352020-04-16 Alan Modra <amodra@gmail.com>
636
637 * doc/binutils.texi: Mention --no-show-raw-insn in objdump
638 --no-addresses description.
639
b1bc1394
AM
6402020-04-15 Alan Modra <amodra@gmail.com>
641
642 * objdump.c (no_addresses): New static var.
643 (usage): Print help for --no-addresses.
644 (long_options): Add --no-addresses entry.
645 (objdump_print_addr_with_sym, objdump_print_addr): Omit symbol address.
646 (disassemble_bytes): Don't print current line address, or reloc
647 address.
648 * doc/binutils.texi: Document objdump --no-addresses.
649
001890e1
AM
6502020-04-15 Alan Modra <amodra@gmail.com>
651
652 PR 25822
653 * readelf.c (get_num_dynamic_syms): Don't set num_of_syms when
654 reading buckets or chains fails.
655
b71d4fa7
AM
6562020-04-15 Alan Modra <amodra@gmail.com>
657
658 * readelf.c (process_symbol_table): Zero gnubuckets, gnuchains
659 etc. after freeing.
660
89246a0e
AM
6612020-04-15 Alan Modra <amodra@gmail.com>
662
663 * readelf.c (get_group_flags): Translate text.
664 (get_file_type, get_symbol_binding, get_symbol_type),
665 (get_ppc64_symbol_other, get_symbol_other): Increase size of buffer.
666
c98a4545
AM
6672020-04-15 Alan Modra <amodra@gmail.com>
668
669 PR 25821
670 * readelf.c (get_num_dynamic_syms): Typo fix.
671
645f43a8
AM
6722020-04-14 Alan Modra <amodra@gmail.com>
673
674 * readelf.c (process_mips_specific): Free eopt and iopt. Avoid
675 possibility of overflow when checking number of conflicts.
676
10ca4b04
L
6772020-04-14 H.J. Lu <hongjiu.lu@intel.com>
678
679 PR binutils/25707
680 * readelf.c (nbuckets): New.
681 (nchains): Likewise.
682 (buckets): Likewise.
683 (chains): Likewise.
684 (ngnubuckets): Likewise.
685 (gnubuckets): Likewise.
686 (gnuchains): Likewise.
687 (mipsxlat): Likewise.
688 (ngnuchains): Likewise.
689 (gnusymidx): Likewise.
690 (VALID_SYMBOL_NAME): Likewise.
691 (VALID_DYNAMIC_NAME): Use it.
692 (get_dynamic_data): Moved before process_dynamic_section.
693 (get_num_dynamic_syms): New function.
694 (process_dynamic_section): Use DT_SYMTAB, DT_SYMENT, DT_HASH,
695 DT_GNU_HASH and DT_MIPS_XHASH to reconstruct dynamic symbol
696 table. Use DT_STRTAB and DT_STRSZ to reconstruct dynamic string
697 table.
698 (get_symbol_index_type): Don't print "bad section index" when
699 there is no section header.
700 (print_dynamic_symbol): Rewrite.
701 (process_symbol_table): Call print_dynamic_symbol to dump dynamic
702 symbol table.
703
bb897477
RO
7042020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
705
706 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Don't
707 enable on *-*-solaris*.
708
00386881
NC
7092020-03-30 Nick Clifton <nickc@redhat.com>
710
711 PR binutils/25662
712 * objcopy.c (copy_object): When copying PE format files set the
713 timestamp field in the pe_data structure if the preserve_dates
714 flag is set.
715 * testsuite/binutils-all/objcopy.exp (objcopy_test) Use
716 --preserve-dates in place of the -p option, in order to make its
717 effect more obvious.
718
0a6a8b59
AM
7192020-03-28 Alan Modra <amodra@gmail.com>
720
721 * testsuite/binutils-all/objcopy.exp (objcopy_test): Only
722 clear_xfail hppa*-*-*elf*. Revert mips xfails.
723
6a81c59b
AM
7242020-03-28 Alan Modra <amodra@gmail.com>
725
726 * testsuite/binutils-all/objcopy.exp (objcopy_test): Move xfails
727 from here to calls. Remove "m8*-*-*" entry. Don't xfail tic54x
728 but do xfail spu, mipstx39 and mips-sgi-irix for the executable
729 test. Pass "-p" to objcopy for the executable test.
730
1fafefd5
JL
7312020-03-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
732
733 PR binutils/25662
734 * testsuite/binutils-all/objcopy.exp (objcopy_test): Add argument to
735 specify whether an object file or executable should be built and tested.
736 Change test names to report whether an object file or executable is
737 being tested.
738 * testsuite/binutils-all/pr25662.ld: New test.
739 * testsuite/binutils-all/pr25662.s: New test.
740
80e2a3b6
AM
7412020-03-27 Alan Modra <amodra@gmail.com>
742
743 * readelf.c (process_archive): Don't double free qualified_name.
744 Don't break out of loop with "negative" archive_file_size, just
745 set file offset to max.
746
4c836627
AM
7472020-03-25 Alan Modra <amodra@gmail.com>
748
749 * readelf.c (process_archive): Prevent endless loop.
750
1081065c
L
7512020-03-24 H.J. Lu <hongjiu.lu@intel.com>
752
753 PR binutils/25708
754 * nm.c (print_symname): Replace _bfd_elf_get_symbol_version_name
755 with bfd_get_symbol_version_string.
756 (print_symbo): Pass TRUE to bfd_get_symbol_version_string.
757 * objdump.c (objdump_print_symname): Likewise.
758
7e6e972f
L
7592020-03-24 H.J. Lu <hongjiu.lu@intel.com>
760
761 PR binutils/25708
762 * nm.c (SYM_NAME): Removed.
763 (print_symname): Add a pointer to struct extended_symbol_info
764 argument. Call _bfd_elf_get_symbol_version_name to get symbol
765 version.
766 (print_symdef_entry): Pass NULL to print_symname.
767 (print_symbol_info_bsd): Update call to print_symname.
768 (print_symbol_info_sysv): Likewise.
769 (print_symbol_info_posix): Likewise.
770
5a814d6d
AM
7712020-03-24 Alan Modra <amodra@gmail.com>
772
773 * readelf.c (process_mips_specific): Free iconf on error path.
774
0636b245
NC
7752020-03-23 Nick Clifton <nickc@redhat.com>
776
777 PR 25714
778 * wrstabs.c (stab_pop_type): Replace assertion with error return.
779 * write_stabs_in_sections_debugging_info: Likewise.
780 * stab_enum_type: Likewise.
781 * stab_modify_type: Likewise.
782 * stab_struct_field: Likewise.
783 * stab_end_struct_type: Likewise.
784 * stab_start_class_type: Likewise.
785 * stab_class_static_member: Likewise.
786 * stab_class_baseclass: Likewise.
787 * stab_class_start_method: Likewise.
788 * stab_class_method_var: Likewise.
789 * stab_class_end_method: Likewise.
790 * stab_end_class_type: Likewise.
791 * stab_typedef_type: Likewise.
792 * stab_start_function: Likewise.
793 * stab_end_block: Likewise.
794 * stab_lineno: Likewise.
795
5844b465
NC
7962020-03-20 Nick Clifton <nickc@redhat.com>
797
798 * readelf.c (get_compression_header): Add ATTRIBUTE_WARN_UNUSED_RESULT.
799 (process_section_headers): Check the return value from
800 get_compression_header.
801 (dump_section_as_strings): Likewise.
802 (dump_section_as_bytes): Likewise.
803 (load_specific_debug_section): Likewise.
804
3d98c460
L
8052020-03-20 H.J. Lu <hongjiu.lu@intel.com>
806
807 * ar.c (main): Update bfd_plugin_set_program_name call.
808 * nm.c (main): Likewise.
809
f3a08f77
NC
8102020-03-19 Nick Clifton <nickc@redhat.com>
811
812 PR 25676
813 * testsuite/binutils-all/dw4.s: New test source file.
814 * testsuite/binutils-all/nm.exp: Run the new test.
815
ef3df110
L
8162020-03-19 H.J. Lu <hongjiu.lu@intel.com>
817
818 * readelf.c (process_symbol_table): Use unsigned long for si.
819
81a65eb3
AM
8202020-03-19 Alan Modra <amodra@gmail.com>
821
822 * elfcomm.c: Don't include bfd.h or bucomm.h.
823 (program_name): Declare.
824 (process_archive_index_and_symbols): Replace bfd_boolean with int,
825 and substitute FALSE and TRUE.
826 (setup_archive, setup_nested_archive): Likewise.
827 * elfcomm.h: Likewise.
828
1cb7d8b1
AM
8292020-03-19 Alan Modra <amodra@gmail.com>
830
831 * readelf.c (process_archive): Always return via path freeing
832 memory. Formatting.
833
b966f55f
AM
8342020-03-19 Alan Modra <amodra@gmail.com>
835
836 * readelf.c (process_netbsd_elf_note): Validate descsz before
837 accessing descdata. Formatting.
838
645ba681
AM
8392020-03-19 Alan Modra <amodra@gmail.com>
840
841 * elfcomm.c (setup_archive): Make file_size an off_t. Comment.
842 * elfcomm.h (setup_archive): Update prototype.
843
28d13567
AM
8442020-03-16 Alan Modra <amodra@gmail.com>
845
846 * readelf.c (get_symbols): New function.
847 (process_relocs, ia64_process_unwind, hppa_process_unwind),
848 (arm_process_unwind, get_symbol_for_build_attribute): Use it.
849
60e63c3e
AM
8502020-03-16 Alan Modra <amodra@gmail.com>
851
852 * unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts.
853 Detect shift overflows and check that terminating byte is found.
854 Print an error on a bad uleb128.
855
1bd6175a
AM
8562020-03-14 Alan Modra <amodra@gmail.com>
857
858 * readelf.c (process_file): Clean ba_cache.
859
780f96ae
AM
8602020-03-14 Alan Modra <amodra@gmail.com>
861
862 * elfcomm.h (setup_archive): Update prototype.
863 * elfcomm.c (setup_archive): Add file_size parameter and sanity
864 check longnames_size.
865 (setup_nested_archive): Get file size and pass to setup_archive.
866 * elfedit.c (process_archive): Likewise.
867 * readelf.c (process_archive): Pass filedata->file_size to
868 setup_archive.
869
f761cb13
AM
8702020-03-14 Alan Modra <amodra@gmail.com>
871
872 * readelf.c (dump_section_as_strings): Free memory on error exit.
873 (dump_section_as_bytes, process_notes_at): Likewise.
874 (get_build_id): Free enote.
875
06d949ec
KR
8762020-03-13 Kamil Rytarowski <n54@gmx.com>
877
878 * readelf.c (get_netbsd_elfcore_note_type): Add support for
879 NT_NETBSDCORE_LWPSTATUS notes.
880
fd486f32
AM
8812020-03-13 Alan Modra <amodra@gmail.com>
882
883 * elfcomm.c (get_archive_member_name): Always return malloc'd
884 string or NULL.
885 * elfedit.c (process_archive): Tidy memory on all return paths.
886 * readelf.c (process_archive): Likewise.
887 (process_symbol_table): Likewise.
888 (ba_cache): New, replacing ..
889 (get_symbol_for_build_attribute): ..static vars here. Free
890 strtab and symtab before loading new ones. Reject symtab without
891 valid strtab in loop, breaking out of loop on valid symtab.
892 (process_file): Free ba_cache symtab and strtab here, resetting
893 ba_cache.
894
8fb879cd
AM
8952020-03-12 Alan Modra <amodra@gmail.com>
896
897 * readelf.c (process_section_headers): Don't just set
898 filedata->section_headers NULL, free it first. Similarly for
899 dynamic_symbols, dynamic_strings, dynamic_syminfo and
900 symtab_shndx_list. Zero associated counts too.
901 (process_object): Free symtab_shndx_list.
902 (process_file): Free various allocated filedata tables.
903
5496f3c6
NC
9042020-03-11 Nick Clifton <nickc@redhat.com>
905
906 PR 25611
907 PR 25614
908 * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and
909 li_segment_size fields.
910 * dwarf.c (read_debug_line_header): Record the address size and
911 segment selector size values (if present) in the lineinfo
912 structure.
913 (display_formatted_table): Warn if the format count is empty but
914 the table itself is not empty.
915 Display the format count and entry count at the start of the table
916 dump.
917 (display_debug_lines_raw): Display the address size and segement
918 selector size fields, if present.
919 * testsuite/binutils-all/dw5.W: Update expected output.
920
9cc89dc0
AM
9212020-03-11 Alan Modra <amodra@gmail.com>
922
923 PR 25651
924 * objcopy.c (copy_object): Test "gaps" not gap_fill_set or
925 pad_to_set on second block of code dealing with padding.
926 Replace "c" with "num_sec" and don't recalculate number of
927 sections on second block. Size arrays using sizeof (element)
928 rather than sizeof (element type).
929
41da0822
AM
9302020-03-10 Alan Modra <amodra@gmail.com>
931
932 * objdump.c (disassemble_section): Don't call qsort unless
933 sym count is at least two.
934 (disassemble_data): Don't call memcpy with NULL src.
935
95099889
AM
9362020-03-09 Alan Modra <amodra@gmail.com>
937
938 PR 25645
939 * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
940 to get_data rather than multiplying.
941 (dump_ia64_vms_dynamic_relocs): Likewise.
942 (process_version_sections): Correct order of size and nmemb args
943 in get_data call.
944 (process_mips_specific): Likewise.
945
a15de1f5
L
9462020-03-08 H.J. Lu <hongjiu.lu@intel.com>
947
948 * readelf.c (get_dynamic_data): Replace "memory chekers" with
949 "memory checkers" in comments.
950
9979ab66
SM
9512020-03-06 Simon Marchi <simon.marchi@efficios.com>
952
953 PR 25491
954 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
955 * doc/Makefile.in: Re-generate.
956
a0dcf297
NC
9572020-03-06 Nick Clifton <nickc@redhat.com>
958
959 * objcopy.c (check_new_section_flags): New function. Reject the
960 SEC_COFF_SHARED flag if the target is not a COFF binary.
961 (copy_object): Call check_new_section_flags.
962 (setup_section): Likewise.
963 * doc/binutils.texi (objcopy): Add a note that the 'share' section
964 flag cannot be applied to ELF binaries.
965
a9b90127
AM
9662020-03-06 Alan Modra <amodra@gmail.com>
967
968 PR 25637
969 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
970
d1faf7ca
AM
9712020-03-05 Alan Modra <amodra@gmail.com>
972
973 PR 25629
974 * objcopy.c (filter_symbols): Don't segfault on NULL
975 prefix_symbols_string.
976
eef64366
CE
9772020-03-04 Christian Eggers <ceggers@gmx.de>
978
979 * objcopy.c (copy_object): Convert from bytes to octets for
980 --gap-fill and --pad-to.
981
5be2b2f5
NC
9822020-03-03 Nick Clifton <nickc@redhat.com>
983
984 PR 25625
985 * prdbg.c (pr_tag_type): Remove call to abort.
986
b312fea1
AM
9872020-03-02 Aaron Merey <amerey@redhat.com>
988
989 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
990 selection.
991
ba3265d0
NC
9922020-03-02 Nick Clifton <nickc@redhat.com>
993
994 PR 25543
995 * readelf.c (dump_section_as_strings): Display new-line characters
996 as \n and then insert a line break.
997 * testsuite/binutils-all/pr25543.s: New test.
998 * testsuite/binutils-all/pr25543.d: Test driver.
999 * testsuite/binutils-all/readelf.exp: Run the new test.
1000
736990c4
NC
10012020-02-27 Nick Clifton <nickc@redhat.com>
1002
1003 PR 25526
1004 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
1005 get_data is unable to load the string table.
1006
dc1e8a47
AM
10072020-02-26 Alan Modra <amodra@gmail.com>
1008
1009 * elfedit.c: Indent labels correctly.
1010 * readelf.c: Likewise.
1011 * resres.c: Likewise.
1012
ecda9016
L
10132020-02-25 H.J. Lu <hongjiu.lu@intel.com>
1014
1015 PR binutils/25584
1016 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
1017 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
1018
83d4d556
NC
10192020-02-24 Nick Clifton <nickc@redhat.com>
1020
1021 PR 25499
1022 * doc/binutils.texi (objdump): Fix typo in description of
1023 objdump's -g option.
1024
bd0cf5a6
NC
10252020-02-20 Nelson Chu <nelson.chu@sifive.com>
1026
1027 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
1028 is changed.
1029
741cb839
EC
10302020-02-19 Jordan Rupprecht <rupprecht@google.com>
1031
1032 * objdump.c (show_line): call bfd_demangle when using do_demangle.
1033
9f1528a1
AB
10342020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
1035
1036 * configure: Regenerate.
1037
3a5d12fb
FS
10382020-02-10 Fangrui Song <maskray@google.com>
1039
1040 * objcopy.c (parse_flags): Handle "exclude".
1041 * doc/binutils.texi: Document the support.
1042
678d457f
AM
10432020-02-10 Aaron Merey <amerey@redhat.com>
1044
1045 * binutils/testsuite/binutils-all/debuginfod.exp:
1046 Replace set ::env with setenv.
46471187
AM
1047 Start server before setting environment variable.
1048 Specify tmpdir as the location of the server's
1049 database.
1050 Check additional server metrics at start-up.
678d457f 1051
e8319fde
NC
10522020-02-07 Nick Clifton <nickc@redhat.com>
1053
1054 * README-how-to-make-a-release: Add note about updating the
1055 GAS/NEWS URL in the next release.
1056
9fc0b501
SB
10572020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
1058
1059 PR 25469
1060 * readelf.c (get_machine_flags): Add support for Z80N machine
1061 number.
1062
e1104d08
NC
10632020-02-07 Nick Clifton <nickc@redhat.com>
1064
1065 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
1066 of the truncated file name.
1067
c2e6f744 10682020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
ece12829
TT
1069
1070 * objdump.c (print_jump_visualisation): New function.
1071 (disassemble_bytes): Call new function.
1072
02e0be69
AM
10732020-02-06 Alan Modra <amodra@gmail.com>
1074
1075 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
1076 TCL procedure.
1077 (supports_gnu_osabi): New procedure.
1078 (is_generic): New, from ld-lib.exp.
1079 (supports_gnu_unique): Use the above.
1080
e8b79122
AM
10812020-02-04 Alan Modra <amodra@gmail.com>
1082
1083 * Makefile.am (CFILES): Add od-elf32_avr.c.
1084 * Makefile.in: Regenerate.
1085 * po/POTFILES.in: Regenerate.
1086
27a45f42
AS
10872020-02-03 Andreas Schwab <schwab@linux-m68k.org>
1088
1089 * readelf.c (dump_relocations, dump_relocations)
1090 (decode_arm_unwind_bytecode, process_dynamic_section)
1091 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
1092 error message.
1093
0b398d69
ST
10942020-02-03 Sergei Trofimovich <siarheit@google.com>
1095
1096 * coffdump.c (program_name): Drop redundant definition.
1097 * srconv.c (program_name): Likewise
1098 * sysdump.c (program_name): Likewise
1099
a8c4d40b
L
11002020-02-02 H.J. Lu <hongjiu.lu@intel.com>
1101
1102 PR gas/25380
1103 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
1104 same file with different section pointers.
1105
cb6ad9bb
NC
11062020-02-01 Nick Clifton <nickc@redhat.com>
1107
1108 * README-how-to-make-a-release: Update with more details on the
1109 release making process.
1110
53943f32
NC
11112020-01-31 Nick Clifton <nickc@redhat.com>
1112
1113 * po/sv.po: Updated Swedish translation.
1114
55be8fd0
NC
11152020-01-28 Nick Clifton <nickc@redhat.com>
1116
1117 * readelf.c (get_build_id): Simplify warning message about corrupt
1118 notes encountered whilst scanning for the build-id.
1119
82ef9cad
RM
11202020-01-27 Roland McGrath <mcgrathr@google.com>
1121
1122 * objcopy.c (compare_gnu_build_notes): Fix comparison results
1123 for overlapping ranges so that (A == B) == (B == A) holds.
1124
e3696f67
AM
11252020-01-27 Alan Modra <amodra@gmail.com>
1126
1127 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
1128 case statement with switch statement.
1129
2f796de6
NC
11302020-01-24 Nick Clifton <nickc@redhat.com>
1131
1132 * readelf.c (get_build_id): Fix warning messages about corrupt
1133 notes.
1134
24e648d4
NC
11352020-01-23 Nick Clifton <nickc@redhat.com>
1136
1137 * po/fr.po: Updated French translation.
1138
c48acf6f
YC
11392020-01-22 Yuri Chornoivan <yurchor@mageia.org>
1140
1141 PR 25417
1142 * readelf.c (get_alpha_symbol_other): Fix error message typo.
1143
26916852
NC
11442020-01-20 Nick Clifton <nickc@redhat.com>
1145
1146 * po/pt.po: Updated Portuguese translation.
1147 * po/uk.po: Updated Ukranian translation.
1148
b248e9ce
NC
11492020-01-18 Nick Clifton <nickc@redhat.com>
1150
1151 * README-how-to-make-a-release: Update notes on how to cut a
1152 branch for a release.
1153
1b1bb2c6
NC
11542020-01-18 Nick Clifton <nickc@redhat.com>
1155
1156 * configure: Regenerate.
1157 * po/binutils.pot: Regenerate.
1158
ae774686
NC
11592020-01-18 Nick Clifton <nickc@redhat.com>
1160
1161 Binutils 2.34 branch created.
1162
82a9ed20
TT
11632020-01-17 Thomas Troeger <tstroege@gmx.de>
1164
1165 * objdump.c (jump_info_visualize_address): Discard jumps that are
1166 no longer needed.
1167 (disassemble_bytes): Only compute the maximum level if jumps were
1168 detected.
1169
6a1939f5
NC
11702020-01-13 Nick Clifton <nickc@redhat.com>
1171
c87c17c1 1172 * objdump.c (disassemble_bytes): Remove C99-ism.
6a1939f5
NC
1173 * testsuite/binutils-all/debuginfod.exp: New tests.
1174
1d67fe3b
TT
11752020-01-13 Thomas Troeger <tstroege@gmx.de>
1176
1177 * objdump.c (visualize_jumps, color_output, extended_color_output)
1178 (detected_jumps): New variables.
1179 (usage): Add the new jump visualization options.
1180 (option_values): Add new option value.
1181 (long_options): Add the new option.
1182 (jump_info_new, jump_info_free): New functions.
1183 (jump_info_min_address, jump_info_max_address): Likewise.
1184 (jump_info_end_address, jump_info_is_start_address): Likewise.
1185 (jump_info_is_end_address, jump_info_size): Likewise.
1186 (jump_info_unlink, jump_info_insert): Likewise.
1187 (jump_info_add_front, jump_info_move_linked): Likewise.
1188 (jump_info_intersect, jump_info_merge): Likewise.
1189 (jump_info_sort, jump_info_visualize_address): Likewise.
1190 (disassemble_jumps): New function - used to locate jumps.
1191 (disassemble_bytes): Add ascii art generation.
1192 (disassemble_section): Add scan to locate jumps.
1193 (main): Parse the new visualization option.
1194 * doc/binutils.texi: Document the new feature.
1195 * NEWS: Mention the new feature.
1196
a788aedd
AM
11972020-01-13 Alan Modra <amodra@gmail.com>
1198
a4f2b7c5
AM
1199 PR 25360
1200 PR 25361
a788aedd
AM
1201 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
1202 fde_fc col_type and col_offset.
1203 * readelf.c (apply_relocations): Move symsec check earlier.
1204 (free_debug_section): Free reloc_info.
1205 (process_notes_at): Free pnotes on error path.
1206 (process_object): Free dump_sects here..
1207 (process_archive): ..not here.
1208
805f38bc
AM
12092020-01-13 Alan Modra <amodra@gmail.com>
1210
1211 PR 25362
1212 * nm.c (display_rel_file): Free dyn_syms.
1213
ffebb0bb
NC
12142020-01-09 Nick Clifton <nickc@redhat.com>
1215
1216 PR 25220
1217 * objcopy.c (empty_name): New variable.
1218 (need_sym_before): Prevent an attempt to free a static variable.
1219 (filter_symbols): Avoid strcmp test by checking for pointer
1220 equality.
1221
ade4fd9b
NC
12222020-01-09 Nick Clifton <nickc@redhat.com>
1223
1224 * po/zh_TW.po: Updated Traditional Chinese translation.
1225
12262020-01-09 Aaron Merey <amerey@redhat.com>
1227
1228 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
1229 * Makefile.in: Regenerate.
1230 * NEWS: Update.
1231 * config.in: Regenerate.
1232 * configure: Regenerate.
1233 * configure.ac: Call AC_DEBUGINFOD.
1234 * doc/Makefile.in: Regenerate.
1235 * doc/binutils.texi: Add section on using binutils
1236 with debuginfod.
1237 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
1238 Query debuginfod servers for the target debug file.
1239 (load_separate_debug_info): Call
1240 debuginfod_fetch_separate_debug_info if configured with
1241 debuginfod.
1242 (load_separate_debug_files): Add file argument to
1243 load_separate_debug_info calls.
1244 * dwarf.h (get_build_id): Add declaration.
1245 * objdump.c (get_build_id): New function. Get build-id of file.
1246 * readelf.c (get_build_id): Likewise.
1247 * testsuite/binutils-all/debuginfod.exp: New tests.
1248 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
1249 section.
1250
6655dba2
SB
12512020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
1252
1253 * readelf.c: Add support for new Z*) relocations and machine
1254 types.
1255
b14ce8bf
AM
12562020-01-01 Alan Modra <amodra@gmail.com>
1257
1258 Update year range in copyright notice of all files.
1259
0b114740 1260For older changes see ChangeLog-2019
3499769a 1261\f
0b114740 1262Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
1263
1264Copying and distribution of this file, with or without modification,
1265are permitted in any medium without royalty provided the copyright
1266notice and this notice are preserved.
1267
1268Local Variables:
1269mode: change-log
1270left-margin: 8
1271fill-column: 74
1272version-control: never
1273End: