binutils: add myself as the maintainer for BPF
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
2
3 * MAINTAINERS: Add myself as the maintainer for BPF.
4
5 2019-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
14 2019-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
20 2019-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
26 2019-05-20 Nick Clifton <nickc@redhat.com>
27
28 * po/ca.po: Updated Catalan translation.
29
30 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
31
32 * NEWS: Mention Armv8.1-M Mainline and MVE.
33
34 2019-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
39 2019-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
52 2019-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
59 2019-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
67 2019-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
73 2019-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
87 2019-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
92 2019-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
98 2019-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
103 2019-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
108 2019-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
112 2019-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
119 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
120
121 * testsuite/binutils-all/nm.exp: Count i386-moss as ELF.
122
123 2019-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
136 2019-03-26 Nick Clifton <nickc@redhat.com>
137
138 * MAINTAINERS: Take over Dave Brolley's maintainerships for FR30,
139 FRV and MEP.
140
141 2019-03-26 Alan Modra <amodra@gmail.com>
142
143 * objdump.c (dump_relocs_in_section): Warning fix.
144
145 2019-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
156 2019-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
162 2019-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
168 2019-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
175 2019-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
181 2019-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
187 2019-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
195 2019-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
200 2019-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
207 2019-03-05 Nick Clifton <nickc@redhat.com>
208
209 PR 24295
210 * doc/binutils.texi (ar cmdline): Fix spelling mistake.
211
212 2019-03-05 Nick Clifton <nickc@redhat.com>
213
214 * po/sv.po: Updated Swedish translation.
215
216 2019-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
222 2019-03-04 Nick Clifton <nickc@redhat.com>
223
224 PR 24281
225 * objcopy.c (copy_archive): Do not copy thin archives.
226
227 2019-02-27 Matthew Malcomson <matthew.malcomson@arm.com>
228
229 * testsuite/lib/binutils-common.exp: Allow multiple "as" lines.
230
231 2019-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
254 2019-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
292 2019-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
306 2019-02-20 Nick Clifton <nickc@redhat.com>
307
308 PR 24246
309 * readelf.c (print_stapsdt_note): Harden against corrupt notes.
310
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
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.
327
328 PR 24242
329 * readelf.c (print_ia64_vms_note): Harden against corrupt notes.
330
331 2019-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
339 2019-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
345 2019-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
351 2019-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
370 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
371
372 * doc/binutils.texi (size): Update example output for Berkeley
373 format output.
374
375 2019-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
380 2019-02-04 Nick Clifton <nickc@redhat.com>
381
382 * README-how-to-make-a-release: Add more notes on making a release.
383
384 2019-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
392 2019-01-25 Nick Clifton <nickc@redhat.com>
393
394 * po/bg.po: Updated Bulgarian translation.
395
396 2019-01-23 Nick Clifton <nickc@redhat.com>
397
398 * po/fr.po: Updated French translation.
399 * po/pt.po: Updated Portuguese translation.
400
401 2019-01-21 Nick Clifton <nickc@redhat.com>
402
403 * po/uk.po: Updated Ukranian translation.
404
405 2019-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
413 2018-06-24 Nick Clifton <nickc@redhat.com>
414
415 2.32 branch created.
416
417 2019-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
427 2019-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
439 2019-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
459 2019-01-09 Nick Clifton <nickc@redhat.com>
460
461 PR 24049
462 * readelf.c (process_archive): Use arch.file_name in error
463 messages until the qualified name is available.
464
465 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
466
467 * configure: Regenerate.
468
469 2019-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
475 2019-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.
485 Update tests to eliminate those that use gnu v2 encoding.
486
487 2019-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
493 2019-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
498 2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
499
500 * readelf.c (get_machine_flags): Add RXv3 output.
501
502 2019-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
508 2019-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
516
517 2019-01-01 Alan Modra <amodra@gmail.com>
518
519 Update year range in copyright notice of all files.
520
521 For older changes see ChangeLog-2018
522 \f
523 Copyright (C) 2019 Free Software Foundation, Inc.
524
525 Copying and distribution of this file, with or without modification,
526 are permitted in any medium without royalty provided the copyright
527 notice and this notice are preserved.
528
529 Local Variables:
530 mode: change-log
531 left-margin: 8
532 fill-column: 74
533 version-control: never
534 End:
This page took 0.041683 seconds and 5 git commands to generate.