binutils: add myself as the maintainer for BPF
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
27830e0d
JM
12019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
2
3 * MAINTAINERS: Add myself as the maintainer for BPF.
4
aca4efc7
JM
52019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
6
7 * readelf.c: Include elf/bpf.h.
8 (guess_is_rela): Hanle EM_BPF.
9 (dump_relocations): Likewise.
10 (is_32bit_abs_reloc): Likewise.
11 * testsuite/binutils-all/nm.exp: Add bpf-*-* to the list of
12 ELF targets.
13
fab7c86e
TC
142019-05-21 Tamar Christina <tamar.christina@arm.com>
15
16 * dwarf.c (dwarf_regnames_aarch64): Add SVE registers.
17 * testsuite/binutils-all/aarch64/sve-dwarf-registers.d: New test.
18 * testsuite/binutils-all/aarch64/sve-dwarf-registers.s: New test.
19
d8734380
FS
202019-05-20 Faraz Shahbazker <fshahbazker@wavecomp.com>
21
22 PR 14798
23 * testsuite/binutils-all/readelf.ss-mips: Update reference output.
24 * testsuite/binutils-all/readelf.ss-tmips: Likewise.
25
999b073b
NC
262019-05-20 Nick Clifton <nickc@redhat.com>
27
28 * po/ca.po: Updated Catalan translation.
29
514bbb0f
AV
302019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
31
32 * NEWS: Mention Armv8.1-M Mainline and MVE.
33
a7ad558c
AV
342019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
35
36 * readelf.c (arm_attr_tag_MVE_arch): New array for Tag_MVE_arch values.
37 (arm_attr_public_tag arm_attr_public_tags): Add case for Tag_MVE_arch.
38
37d0d091
JH
392019-05-14 Jamey Hicks <jamey.hicks@gmail.com>
40
41 PR 19921
42 * objcopy.c: Add new option --verilog-data-width. Use it to set
43 the value of VerilogDataWidth.
44 * doc/binutils.texi: Document the new option.
45 * testsuite/binutils-all/objcopy.exp: Run tests of new option.
46 * testsuite/binutils-all/verilog-1.hex: New file.
47 * testsuite/binutils-all/verilog-2.hex: New file.
48 * testsuite/binutils-all/verilog-4.hex: New file.
49 * testsuite/binutils-all/verilog-8.hex: New file.
50 * NEWS: Mention the new feature.
51
391bf891
AM
522019-05-10 Alan Modra <amodra@gmail.com>
53
54 * testsuite/binutils-all/objdump.exp (test_objdump_disas_limited),
55 (test_objdump_content_limited): Add text arg, use in place of .text.
56 (bintest_signed.o): Call get_standard_section_names for name of
57 text section.
58
2379f9c4
FS
592019-05-08 Faraz Shahbazker <fshahbazker@wavecomp.com>
60
61 * objdump.c (sign_extend_address): New function.
62 (dump_bfd): Sign-extend user-specified start/stop addresses
63 for targets that need it.
64 * testsuite/binutils-all/objdump.exp: Add tests for objdump
65 with start and stop addresses in higher address ranges.
66
2ecde2b6
MM
672019-05-01 Matthew Malcomson <matthew.malcomson@arm.com>
68
69 * testsuite/binutils-all/objdump.exp: Correct executable
70 spelling.
71 * testsuite/binutils-all/compress.exp: Likewise.
72
25a02744
NC
732019-05-01 Nick Clifton <nickc@redhat.com>
74
75 PR 24507
76 * nm.c: (print_format): New variable.
77 (value_format_32bit, value_format_64bit): Delete.
78 (set_print_radix): Remove code to alter value_format strings.
79 (set_output_format): Record chosen format in print_format.
80 (get_print_format): New function - constructs a printf formatting
81 string according to the requirements of size, radix, and output
82 format.
83 (print_value): Use get_print_format.
84 * testsuite/binutils-all/nm.exp: Add tests of "nm --format=posix"
85 and "nm -t d".
86
8107ddce
AM
872019-04-30 Alan Modra <amodra@gmail.com>
88
89 * wrstabs.c (stab_start_class_type): Add assert to work around
90 gcc9 warning. Tidy.
91
1b8dd643
NC
922019-04-24 Nick Clifton <nickc@redhat.com>
93
94 * objcopy.c (strip_main): Do not enable note merging by default if
95 just stripping debug or dwo information.
96 * doc/binutils.texi (strip): Update documentation.
97
624a2451
NC
982019-04-23 Nick Clifton <nickc@redhat.com>
99
100 * README-how-to-make-a-release: Add note to update the symbolic
101 link from "docs" to "docs-2.x" on the sourceware website.
102
a0fb9615
AM
1032019-04-16 Alan Modra <amodra@gmail.com>
104
105 * testsuite/binutils-all/copy-2.d: Don't run for ns32k-*-*.
106 * testsuite/binutils-all/copy-3.d: Likewise.
107
031254f2
AV
1082019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
109
110 * readelf.c (arm_attr_tag_CPU_arch): Add entry for Armv8.1-M Mainline.
111
462cac58
L
1122019-04-08 H.J. Lu <hongjiu.lu@intel.com>
113
114 * readelf.c (decode_x86_isa): Handle
115 GNU_PROPERTY_X86_ISA_1_AVX512_BF16.
116 * testsuite/binutils-all/i386/pr21231b.d: Updated.
117 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
118
82b53593
L
1192019-04-08 H.J. Lu <hongjiu.lu@intel.com>
120
121 * testsuite/binutils-all/nm.exp: Count i386-moss as ELF.
122
05805feb
TC
1232019-03-26 Tamar Christina <tamar.christina@arm.com>
124
125 * testsuite/binutils-all/aarch64/in-order-all.d: Update.
126 * testsuite/binutils-all/aarch64/in-order.d: Likewise.
127 * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
128 * testsuite/binutils-all/aarch64/out-of-order.d: Likewise.
129 * testsuite/binutils-all/aarch64/out-of-order.s: Likewise.
130 * testsuite/binutils-all/arm/in-order-all.d: Likewise.
131 * testsuite/binutils-all/arm/in-order.d: Likewise.
132 * testsuite/binutils-all/arm/out-of-order-all.d: Likewise.
133 * testsuite/binutils-all/arm/out-of-order.d: Likewise.
134 * testsuite/binutils-all/arm/out-of-order.s: Likewise.
135
5fb812fc
NC
1362019-03-26 Nick Clifton <nickc@redhat.com>
137
138 * MAINTAINERS: Take over Dave Brolley's maintainerships for FR30,
139 FRV and MEP.
140
e8fba7f6
AM
1412019-03-26 Alan Modra <amodra@gmail.com>
142
143 * objdump.c (dump_relocs_in_section): Warning fix.
144
796d6298
TC
1452019-03-25 Tamar Christina <tamar.christina@arm.com>
146
147 * testsuite/binutils-all/arm/in-order-all.d: New test.
148 * testsuite/binutils-all/arm/in-order.d: New test.
149 * testsuite/binutils-all/arm/objdump.exp: Support .d tests.
150 * testsuite/binutils-all/arm/out-of-order-all.d: New test.
151 * testsuite/binutils-all/arm/out-of-order.T: New test.
152 * testsuite/binutils-all/arm/out-of-order.d: New test.
153 * testsuite/binutils-all/arm/out-of-order.s: New test.
154
155
60df3720
TC
1562019-03-25 Tamar Christina <tamar.christina@arm.com>
157
158 * testsuite/binutils-all/aarch64/in-order-all.d: New test.
159 * testsuite/binutils-all/aarch64/out-of-order-all.d: New test.
160 * testsuite/binutils-all/aarch64/out-of-order.d:
161
51457761
TC
1622019-03-25 Tamar Christina <tamar.christina@arm.com>
163
164 * testsuite/binutils-all/aarch64/in-order.d: New test.
165 * testsuite/binutils-all/aarch64/out-of-order.d: Disassemble data as
166 well.
167
53b2f36b
TC
1682019-03-25 Tamar Christina <tamar.christina@arm.com>
169
170 * objdump.c (disassemble_bytes): Pass stop_offset.
171 * testsuite/binutils-all/aarch64/out-of-order.T: New test.
172 * testsuite/binutils-all/aarch64/out-of-order.d: New test.
173 * testsuite/binutils-all/aarch64/out-of-order.s: New test.
174
63455780
NC
1752019-03-19 Nick Clifton <nickc@redhat.com>
176
177 PR 24360
178 * objdump.c (load_specific_debug_section): Check that the amount
179 of memory to be allocated matches the size of the section.
180
1dbade74
SD
1812019-03-13 Sudakshina Das <sudi.das@arm.com>
182
183 * readelf.c (get_aarch64_dynamic_type): Add case for
184 DT_AARCH64_PAC_PLT.
185 (dynamic_section_aarch64_val): Likewise.
186
37c18eed
SD
1872019-03-13 Sudakshina Das <sudi.das@arm.com>
188 Szabolcs Nagy <szabolcs.nagy@arm.com>
189
190 * readelf.c (get_aarch64_dynamic_type): New.
191 (get_dynamic_type): Use above for EM_AARCH64.
192 (dynamic_section_aarch64_val): New.
193 (process_dynamic_section): Use above for EM_AARCH64.
194
cd702818
SD
1952019-03-13 Sudakshina Das <sudi.das@arm.com>
196
197 * readelf.c (decode_aarch64_feature_1_and): New.
198 (print_gnu_property_note): Add case for AArch64 gnu notes.
199
7a6e0d89
AM
2002019-03-12 Alan Modra <amodra@gmail.com>
201
202 * objdump.c (load_specific_debug_section): Don't compare section
203 size against file size.
204 (dump_relocs_in_section): Don't compare reloc size against file size.
205 Print "failed to read relocs" on bfd_get_reloc_upper_bound error.
206
88c9190b
NC
2072019-03-05 Nick Clifton <nickc@redhat.com>
208
209 PR 24295
210 * doc/binutils.texi (ar cmdline): Fix spelling mistake.
211
4933ff73
NC
2122019-03-05 Nick Clifton <nickc@redhat.com>
213
214 * po/sv.po: Updated Swedish translation.
215
093f70cc
MM
2162019-03-05 Matthew Malcomson <matthew.malcomson@arm.com>
217
218 PR 24287
219 * testsuite/lib/binutils-common.exp (run_dump_test): Replace a use
220 of "lmap" with a "foreach" loop.
221
f5f20315
NC
2222019-03-04 Nick Clifton <nickc@redhat.com>
223
224 PR 24281
225 * objcopy.c (copy_archive): Do not copy thin archives.
226
52d6f3ee
MM
2272019-02-27 Matthew Malcomson <matthew.malcomson@arm.com>
228
229 * testsuite/lib/binutils-common.exp: Allow multiple "as" lines.
230
39f0547e
NC
2312019-02-25 Nick Clifton <nickc@redhat.com>
232
233 * objdump.c (sym_ok): New function.
234 (find_symbol_for_address): Use new function.
235 (disassemble_section): Compare sections by name, not pointer.
236 (dump_dwarf): Move code to initialise byte_get pointer and iterate
237 over separate debug files from here to ...
238 (dump_bfd): ... here. Add parameter indicating that a separate
239 debug info file is being dumped. For main file, pull in the
240 symbol tables from all separate debug info files.
241 (display_object): Update call to dump_bfd.
242 * doc/binutils.texi: Document extened behaviour of the
243 --dwarf=follow-links option.
244 * NEWS: Mention this new feature.
245 * testsuite/binutils-all/objdump.WK2: Update expected output.
246 * testsuite/binutils-all/objdump.exp (test_follow_debuglink): Add
247 options and dump file parameters.
248 Add extra test.
249 * testsuite/binutils-all/objdump.WK3: New file.
250 * testsuite/binutils-all/readelf.exp: Change expected output for
251 readelf -wKis test.
252 * testsuite/binutils-all/readelf.wKis: New file.
253
24841daa
NC
2542019-02-22 Nick Clifton <nickc@redhat.com>
255
256 PR 23843
257 * dwarf.h (struct separate_info): New structure for containing
258 information on separate debug info files.
259 * dwarf.c (struct dwo_info): New structure for containing dwo
260 links.
261 (first_dwo_info): Chain of dwo_info structures.
262 (first_separate_file): Chain of separate_info structures.
263 (separate_debug_file, separate_debug_filename): Delete.
264 (fetch_alt_indirect_string): Scan all separate debug info files
265 for the requested string.
266 (add_dwo_info): New function.
267 (add_dwo_name): New function.
268 (add_dwo_dir): New function.
269 (add_dwo_id: New function.
270 (free_dwo_info): New function.
271 (read_and_display_attr_value): Store DWO data using the new
272 functions.
273 (load_debug_section_with_follow): If necessary, scan the list of
274 separate debug info files for the requested section.
275 (add_separate_debug_file): New function.
276 (load_separate_debug_info): Call add_separate_debug_file to store
277 the information on the newly loaded file.
278 (load_dwo_file): Likewise.
279 (load_separate_debif_file): Rename to load_separate_debug_files.
280 Change return type to boolean. If following links then attempt to
281 load all separate debug info files, not just the first one.
282 (free_debug_memory): Release memory in dwo_info and separate_info
283 chains.
284 * objdump.c (dump_dwarf): Iterate over all loaded debg info files.
285 * readelf.c (process_object): Likewise.
286 * doc/debug.options.texi: Update descriptions of links and
287 follow-links options.
288 * testsuite/binutils-all/objdump.WK2: Update expected output.
289 * testsuite/binutils-all/readelf.k2: Likewise.
290 * NEWS: Announce the new feature.
291
5cacf1c8
NC
2922019-02-21 Nick Clifton <nickc@redhat.com>
293
294 PR 24247
295 * unwind-ia64.c: Include sysdep.h.
296 (unw_decode_x1): Check current pointer against end pointer before
297 accessing memory.
298 (unw_decode_x2): Likewise.
299 (unw_decode_x3): Likewise.
300 (unw_decode_x4): Likewise.
301 (unw_decode_r2): Likewise.
302 (unw_decode_p2_p5): Likewise.
303 (unw_decode_p7_p10): Likewise.
304 (unw_decode): Likewise.
305
8d18bf79
NC
3062019-02-20 Nick Clifton <nickc@redhat.com>
307
3ca60c57
NC
308 PR 24246
309 * readelf.c (print_stapsdt_note): Harden against corrupt notes.
310
171375c6
NC
311 PR 24244
312 * unwind-ia64.c (unw_decode_uleb128): Add end parameter, use it to
313 prevent walking off the end of the buffer.
314 (unw_decode_x1): Add end paramter, pass it to unw_decode_uleb128.
315 (unw_decode_x2): Likewise.
316 (unw_decode_x3): Likewise.
317 (unw_decode_x4): Likewise.
318 (unw_decode_r2): Pass the end parameter to unw_decode_uleb128.
319 (unw_decode_r3): Likewise.
320 (unw_decode_p7_p10): Likewise.
321 (unw_decode_b2): Likewise.
322 (unw_decode_b3_x4): Likewise.
323
7fc0c668
NC
324 PR 24243
325 * readelf.c (process_mips_specific): Check for an options section
326 that is too small to even contain a single option.
8d18bf79 327
171375c6
NC
328 PR 24242
329 * readelf.c (print_ia64_vms_note): Harden against corrupt notes.
330
c22b42ce
AM
3312019-02-20 Alan Modra <amodra@gmail.com>
332
333 PR 24132
334 PR 24138
335 * readelf.c (get_data): Avoid possibility of overflow when
336 checking for a read that may extend past end of file.
337 (process_program_headers): Likewise.
338
7d272a55
AM
3392019-02-20 Alan Modra <amodra@gmail.com>
340
341 PR 24233
342 * objdump.c (dump_bfd_private_header): Print warning if
343 bfd_print_private_bfd_data returns false.
344
04d7fa21
NC
3452019-02-12 Nick Clifton <nickc@redhat.com>
346
347 PR 23440
348 * README-how-to-make-a-release: Use git clean to delete spurious
349 files from the local source repository.
350
46cbf38d
AB
3512019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
352
353 * size.c (berkeley_format): Delete.
354 (enum output_format): New enum.
355 (selected_output_format): New variable.
356 (usage): Update to mention GNU format.
357 (main): Update to extract options, and select format as needed.
358 Handle GNU format where needed.
359 (berkeley_sum): Renamed to...
360 (berkeley_or_gnu_sum): ...this, and updated to handle both formats.
361 (berkeley_format): Renamed to...
362 (berkeley_or_gnu_format): ...this, and updated to handle both
363 formats.
364 (print_sizes): Handle GNU format.
365 * doc/binutils.texi (size): Document new GNU format.
366 * testsuite/binutils-all/size.exp: Add test of extended
367 functionality.
368 * NEWS: Mention new functionality.
369
96fd92af
AB
3702019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
371
372 * doc/binutils.texi (size): Update example output for Berkeley
373 format output.
374
2012bf01
NC
3752019-02-07 Nick Clifton <nickc@redhat.com>
376
377 * README-how-to-make-a-release: Add a note about updating the
378 obsolete targets in the bfd/config.bfd file.
379
082cbd3b
NC
3802019-02-04 Nick Clifton <nickc@redhat.com>
381
382 * README-how-to-make-a-release: Add more notes on making a release.
383
18344509
NC
3842019-01-25 Nick Clifton <nickc@redhat.com>
385
386 PR 24131
387 * readelf.c (process_notes_at): Prevent an illegal memory access
388 when the note's namesize is zero.
389 (decode_tic6x_unwind_bytecode): Add code to handle the case where
390 no registers are specified in a frame pop instruction.
391
9ed1348c
NC
3922019-01-25 Nick Clifton <nickc@redhat.com>
393
394 * po/bg.po: Updated Bulgarian translation.
395
d9938630
NC
3962019-01-23 Nick Clifton <nickc@redhat.com>
397
398 * po/fr.po: Updated French translation.
399 * po/pt.po: Updated Portuguese translation.
400
375cd423
NC
4012019-01-21 Nick Clifton <nickc@redhat.com>
402
403 * po/uk.po: Updated Ukranian translation.
404
f48dfe41
NC
4052019-01-19 Nick Clifton <nickc@redhat.com>
406
407 * configure: Regenerate.
408 * binutils/po/binutils.pot.
409
410 * README-how-to-make-a-release: Update description on how to make
411 a branch.
412
f974f26c
NC
4132018-06-24 Nick Clifton <nickc@redhat.com>
414
415 2.32 branch created.
416
baae986a
NC
4172019-01-17 Nick Clifton <nickc@redhat.com>
418
419 * objdump.c (disassemble_section): When disassembling from a
420 symbol only stop at the next symbol if the original symbol was not
421 a function symbol. Otherwise continue disassembling until a new
422 function is reached.
423 * testsuite/binutils-all/objdump.exp: Add tests of extended
424 functionality.
425 * testsuite/binutils-all/disasm.s: New test source file.
426
2dc8dd17
JW
4272019-01-16 Kito Cheng <kito@andestech.com>
428 Nelson Chu <nelson@andestech.com>
429
430 * readelf.c (get_riscv_section_type_name): New function.
431 (get_section_type_name): Add handler for RISC-V.
432 (riscv_attr_tag_t): Declare.
433 (riscv_attr_tag): New.
434 (display_riscv_attribute): New function.
435 (process_attributes): Add handler for RISC-V.
436 * testsuite/binutils-all/strip-3.d: Remove .riscv.attribute
437 section.
438
12add40e
NC
4392019-01-10 Nick Clifton <nickc@redhat.com>
440
441 PR 23963
442 * objdump.c (sanitize_string): New function. Removes control
443 characters from symbol names.
444 (dump_section_header): Use new function.
445 (objdump_print_symname): Likewise.
446 (objdump_print_addr_with_sym): Likewise.
447 (show_line): Likewise.
448 (disassemble_bytes): Likewise.
449 (disassemble_section): Likewise.
450 (load_specific_debug_section): Likewise.
451 (read_section_stabs): Likewise.
452 (print_section_stabs): Likewise.
453 (dump_section): Likewise.
454 (dump_reloc_set): Likewise.
455 (dump_relocs_in_section): Likewise.
456 (dump_bfd): Likewise.
457 (display_any_bfd): Likewise.
458
28e817cc
NC
4592019-01-09 Nick Clifton <nickc@redhat.com>
460
c0b0b1c2 461 PR 24049
28e817cc
NC
462 * readelf.c (process_archive): Use arch.file_name in error
463 messages until the qualified name is available.
464
3107326d
AP
4652019-01-09 Andrew Paprocki <andrew@ishiboo.com>
466
467 * configure: Regenerate.
468
923c6a75
AM
4692019-01-09 Alan Modra <amodra@gmail.com>
470
471 * testsuite/binutils-all/cxxfilt.exp: Pass --no-strip-underscores
472 unconditionally to tests needing the option rather than via a
473 list of targets.
474
236f4ebe
NC
4752019-01-08 Nick Clifton <nickc@redhat.com>
476
477 PR 24044
478 * cxxfilt.c (hp_symbol_characters): Delete.
479 (main): Remove depcreated demangling styles.
480 * stabs.c (parse_stab_argtypes): Remove support for old gnu v2
481 demangling opnames.
482 * testsuite/binutils-all/cxxfilt.exp: Use the
483 --no-strip-underscore option for targets that do prefix their
484 symbols with underscores.
923c6a75 485 Update tests to eliminate those that use gnu v2 encoding.
236f4ebe 486
e3ecd631
TC
4872019-01-08 Tamar Christina <tamar.christina@arm.com>
488
489 PR 24065
490 * testsuite/binutils-all/copy-6.d: New test.
491 * testsuite/binutils-all/objcopy.exp: Use it.
492
171b8e19
AM
4932019-01-08 Alan Modra <amodra@gmail.com>
494
495 * testsuite/lib/binutils-common.exp (run_dump_test): Don't prepend
496 $srcdir/$subdir to source file name if it starts with "./".
497
4982019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
499
f87673e0
YS
500 * readelf.c (get_machine_flags): Add RXv3 output.
501
11fa9f13
NC
5022019-01-04 Nick Clifton <nickc@redhat.com>
503
504 PR 24005
505 * objdump.c (load_specific_debug_section): Check for integer
506 overflow before attempting to allocate contents.
507
cf0ad5bb
NC
5082019-01-04 Nick Clifton <nickc@redhat.com>
509
510 PR 24001
511 * objcopy.c (copy_object): Free dhandle after writing out the
512 debug information.
513 * objdump.c (dump_bfd): Free dhandle after printing out the debug
514 information.
515
11fa9f13 516
82704155
AM
5172019-01-01 Alan Modra <amodra@gmail.com>
518
519 Update year range in copyright notice of all files.
520
d5c04e1b 521For older changes see ChangeLog-2018
3499769a 522\f
d5c04e1b 523Copyright (C) 2019 Free Software Foundation, Inc.
3499769a
AM
524
525Copying and distribution of this file, with or without modification,
526are permitted in any medium without royalty provided the copyright
527notice and this notice are preserved.
528
529Local Variables:
530mode: change-log
531left-margin: 8
532fill-column: 74
533version-control: never
534End:
This page took 0.195795 seconds and 4 git commands to generate.