Regenerate with approved autotools version
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2019-06-14 Alan Modra <amodra@gmail.com>
2
3 * Makefile.in: Regenerate.
4 * aclocal.m4: Regenerate.
5 * doc/Makefile.in: Regenerate.
6
7 2019-06-12 Christos Zoulas <christos@zoulas.com>
8
9 PR 24663
10 * readelf.c (process_netbsd_elf_note): Add support for
11 NT_NETBSD_PAX.
12 (process_note): Add support for PaX notes.
13
14 2019-06-12 Christos Zoulas <christos@zoulas.com>
15
16 PR 24665
17 * readelf.c (get_netbsd_elfcore_note_type): Add support for SH
18 core notes.
19
20 2019-06-12 Christos Zoulas <christos@zoulas.com>
21
22 PR 24664
23 * readelf.c (get_netbsd_elfcore_note_type): Add support for NetBSD
24 auxv notes.
25
26 2019-06-11 Christos Zoulas <christos@zoulas.com>
27
28 PR 24662
29 * readelf.c (get_alpha_symbol_other): New function.
30 (get_symbol_other): Use for Alpha symbols.
31 (is_32bit_pcrel_reloc): Add R_VAX_PCREL32.
32
33 2019-06-11 Christos Zoulas <christos@zoulas.com>
34
35 PR 24661
36 * readelf.c (decode_arm_unwind): Ensure that the local variable
37 'addr' is always initialised.
38
39 2019-06-10 Christos Zoulas <christos@zoulas.com>
40
41 PR 24651
42 * strings.c (print_strings): Use %u to print unsigned values in
43 decimal.
44
45 2019-06-10 Christos Zoulas <christos@zoulas.com>
46
47 PR 24649
48 * arsup.c (ar_open): Use asprintf in place of xmalloc and
49 sprintf.
50
51 2019-06-03 Nick Clifton <nickc@redhat.com>
52
53 Revert:
54 2019-05-29 Nick Clifton <nickc@redhat.com>
55
56 * configure.ac (LIBCTF): Export. Set to empty for non-ELF based
57 targets.
58 (HAVE_LIBCTF): Define if libctf support is available.
59 * Makefile.am (LIBCTF): Set value to @LIBCTF@.
60 * objdump.c: Make CTF code conditional upon HAVE_LIBCTF being
61 defined.
62 * readelf.c: Likewise.
63 * configure: Regenerate.
64 * Makefile.in: Regenerate.
65 * config.in: Regenerate.
66
67 2019-05-30 Nick Alcock <nick.alcock@oracle.com>
68
69 * objdump.c (make_ctfsect): Drop cts_type, cts_flags, and
70 cts_offset.
71 * readelf.c (shdr_to_ctf_sect): Likewise.
72
73 2019-05-30 Nick Clifton <nickc@redhat.com>
74
75 PR 24627
76 * readelf.c (process_version_sections): Add 0x prefix to address
77 display. Correct indentation.
78
79 2019-05-30 Alan Modra <amodra@gmail.com>
80
81 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Add
82 s12z to targets not supporting this feature.
83
84 2019-05-30 Alan Modra <amodra@gmail.com>
85
86 * testsuite/lib/binutils-common.exp (run_dump_test): Support
87 tcl procedures for xfail args.
88
89 2019-05-29 Nick Clifton <nickc@redhat.com>
90
91 * README-how-to-make-a-release: Add libctf to list of directories
92 that need updates in their ChangeLogs.
93
94 2019-05-29 Nick Clifton <nickc@redhat.com>
95
96 * configure.ac (LIBCTF): Export. Set to empty for non-ELF based
97 targets.
98 (HAVE_LIBCTF): Define if libctf support is available.
99 * Makefile.am (LIBCTF): Set value to @LIBCTF@.
100 * objdump.c: Make CTF code conditional upon HAVE_LIBCTF being
101 defined.
102 * readelf.c: Likewise.
103 * configure: Regenerate.
104 * Makefile.in: Regenerate.
105 * config.in: Regenerate.
106
107 2019-05-28 Nick Alcock <nick.alcock@oracle.com>
108
109 * MAINTAINERS: Add myself as CTF maintainer.
110
111 2019-05-28 Nick Alcock <nick.alcock@oracle.com>
112
113 * objdump.c (ctf-api.h): New include.
114 (dump_ctf_section_info): New variable.
115 (dump_ctf_section_name): Likewise.
116 (usage): Describe new options.
117 (enum option_values): Add OPTION_CTF and OPTION_CTF_PARENT.
118 (main): Use them to add --ctf and --ctf-parent.
119 (read_section_stabs): Add new parameter, entsize_ptr.
120 (find_stabs_section): Adjust accordingly.
121 (make_ctfsect): New.
122 (dump_ctf_indent_lines): New.
123 (dump_ctf_archive_member): New.
124 (dump_ctf): New.
125 (dump_bfd): Call it. Free resources afterwards.
126 * readelf.c (ctf-api.h): New include.
127 (CTF_DUMP): New.
128 (static bfd_boolean do_ctf): Likewise.
129 (dump_ctf_parent_name): Likewise.
130 (dump_ctf_symtab_name): Likewise.
131 (dump_ctf_strtab_name): Likewise.
132 (OPTION_CTF_DUMP): Likewise.
133 (OPTION_CTF_PARENT): Likewise.
134 (OPTION_CTF_SYMBOLS): Likewise.
135 (OPTION_CTF_STRINGS): Likewise.
136 (options): Add them.
137 (usage): Likewise.
138 (parse_args): Handle the new options, requesting CTF_DUMP.
139 (process_section_contents): Handle CTF_DUMP.
140 (shdr_to_ctf_sect): New.
141 (dump_ctf_indent_lines): New.
142 (dump_section_as_ctf): New.
143 (main): Free resources.
144 * Makefile.am (LIBCTF): New variable.
145 (objdump_DEPENDENCIES): Use it.
146 (readelf_DEPENDENCIES): Likewise.
147 (objdump_LDADD): Likewise.
148 (readelf_LDADD): Likewise.
149 * aclocal.m4: Regenerated.
150 * Makefile.in: Likewise.
151
152 * doc/binutils.texi (objdump): Document the new options.
153 (readelf): Likewise.
154 * doc/ctf.options.texi: New.
155 * doc/Makefile.in: Regenerated.
156 * NEWS: Mention the new feature.
157
158 2019-05-27 Alan Modra <amodra@gmail.com>
159
160 * readelf.c (process_section_groups): Continue processing groups
161 when sh_entsize exceeds group size.
162
163 2019-05-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
164
165 * readelf.c (get_aarch64_dynamic_type): Handle DT_AARCH64_VARIANT_PCS.
166 (get_aarch64_symbol_other): New, handles STO_AARCH64_VARIANT_PCS.
167 (get_symbol_other): Call get_aarch64_symbol_other.
168
169 2019-05-24 Alan Modra <amodra@gmail.com>
170
171 * objdump.c (disassemble_bytes): Set WIDE_OUTPUT in flags.
172
173 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
174
175 * MAINTAINERS: Add myself as the maintainer for BPF.
176
177 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
178
179 * readelf.c: Include elf/bpf.h.
180 (guess_is_rela): Hanle EM_BPF.
181 (dump_relocations): Likewise.
182 (is_32bit_abs_reloc): Likewise.
183 * testsuite/binutils-all/nm.exp: Add bpf-*-* to the list of
184 ELF targets.
185
186 2019-05-21 Tamar Christina <tamar.christina@arm.com>
187
188 * dwarf.c (dwarf_regnames_aarch64): Add SVE registers.
189 * testsuite/binutils-all/aarch64/sve-dwarf-registers.d: New test.
190 * testsuite/binutils-all/aarch64/sve-dwarf-registers.s: New test.
191
192 2019-05-20 Faraz Shahbazker <fshahbazker@wavecomp.com>
193
194 PR 14798
195 * testsuite/binutils-all/readelf.ss-mips: Update reference output.
196 * testsuite/binutils-all/readelf.ss-tmips: Likewise.
197
198 2019-05-20 Nick Clifton <nickc@redhat.com>
199
200 * po/ca.po: Updated Catalan translation.
201
202 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
203
204 * NEWS: Mention Armv8.1-M Mainline and MVE.
205
206 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
207
208 * readelf.c (arm_attr_tag_MVE_arch): New array for Tag_MVE_arch values.
209 (arm_attr_public_tag arm_attr_public_tags): Add case for Tag_MVE_arch.
210
211 2019-05-14 Jamey Hicks <jamey.hicks@gmail.com>
212
213 PR 19921
214 * objcopy.c: Add new option --verilog-data-width. Use it to set
215 the value of VerilogDataWidth.
216 * doc/binutils.texi: Document the new option.
217 * testsuite/binutils-all/objcopy.exp: Run tests of new option.
218 * testsuite/binutils-all/verilog-1.hex: New file.
219 * testsuite/binutils-all/verilog-2.hex: New file.
220 * testsuite/binutils-all/verilog-4.hex: New file.
221 * testsuite/binutils-all/verilog-8.hex: New file.
222 * NEWS: Mention the new feature.
223
224 2019-05-10 Alan Modra <amodra@gmail.com>
225
226 * testsuite/binutils-all/objdump.exp (test_objdump_disas_limited),
227 (test_objdump_content_limited): Add text arg, use in place of .text.
228 (bintest_signed.o): Call get_standard_section_names for name of
229 text section.
230
231 2019-05-08 Faraz Shahbazker <fshahbazker@wavecomp.com>
232
233 * objdump.c (sign_extend_address): New function.
234 (dump_bfd): Sign-extend user-specified start/stop addresses
235 for targets that need it.
236 * testsuite/binutils-all/objdump.exp: Add tests for objdump
237 with start and stop addresses in higher address ranges.
238
239 2019-05-01 Matthew Malcomson <matthew.malcomson@arm.com>
240
241 * testsuite/binutils-all/objdump.exp: Correct executable
242 spelling.
243 * testsuite/binutils-all/compress.exp: Likewise.
244
245 2019-05-01 Nick Clifton <nickc@redhat.com>
246
247 PR 24507
248 * nm.c: (print_format): New variable.
249 (value_format_32bit, value_format_64bit): Delete.
250 (set_print_radix): Remove code to alter value_format strings.
251 (set_output_format): Record chosen format in print_format.
252 (get_print_format): New function - constructs a printf formatting
253 string according to the requirements of size, radix, and output
254 format.
255 (print_value): Use get_print_format.
256 * testsuite/binutils-all/nm.exp: Add tests of "nm --format=posix"
257 and "nm -t d".
258
259 2019-04-30 Alan Modra <amodra@gmail.com>
260
261 * wrstabs.c (stab_start_class_type): Add assert to work around
262 gcc9 warning. Tidy.
263
264 2019-04-24 Nick Clifton <nickc@redhat.com>
265
266 * objcopy.c (strip_main): Do not enable note merging by default if
267 just stripping debug or dwo information.
268 * doc/binutils.texi (strip): Update documentation.
269
270 2019-04-23 Nick Clifton <nickc@redhat.com>
271
272 * README-how-to-make-a-release: Add note to update the symbolic
273 link from "docs" to "docs-2.x" on the sourceware website.
274
275 2019-04-16 Alan Modra <amodra@gmail.com>
276
277 * testsuite/binutils-all/copy-2.d: Don't run for ns32k-*-*.
278 * testsuite/binutils-all/copy-3.d: Likewise.
279
280 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
281
282 * readelf.c (arm_attr_tag_CPU_arch): Add entry for Armv8.1-M Mainline.
283
284 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
285
286 * readelf.c (decode_x86_isa): Handle
287 GNU_PROPERTY_X86_ISA_1_AVX512_BF16.
288 * testsuite/binutils-all/i386/pr21231b.d: Updated.
289 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
290
291 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
292
293 * testsuite/binutils-all/nm.exp: Count i386-moss as ELF.
294
295 2019-03-26 Tamar Christina <tamar.christina@arm.com>
296
297 * testsuite/binutils-all/aarch64/in-order-all.d: Update.
298 * testsuite/binutils-all/aarch64/in-order.d: Likewise.
299 * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
300 * testsuite/binutils-all/aarch64/out-of-order.d: Likewise.
301 * testsuite/binutils-all/aarch64/out-of-order.s: Likewise.
302 * testsuite/binutils-all/arm/in-order-all.d: Likewise.
303 * testsuite/binutils-all/arm/in-order.d: Likewise.
304 * testsuite/binutils-all/arm/out-of-order-all.d: Likewise.
305 * testsuite/binutils-all/arm/out-of-order.d: Likewise.
306 * testsuite/binutils-all/arm/out-of-order.s: Likewise.
307
308 2019-03-26 Nick Clifton <nickc@redhat.com>
309
310 * MAINTAINERS: Take over Dave Brolley's maintainerships for FR30,
311 FRV and MEP.
312
313 2019-03-26 Alan Modra <amodra@gmail.com>
314
315 * objdump.c (dump_relocs_in_section): Warning fix.
316
317 2019-03-25 Tamar Christina <tamar.christina@arm.com>
318
319 * testsuite/binutils-all/arm/in-order-all.d: New test.
320 * testsuite/binutils-all/arm/in-order.d: New test.
321 * testsuite/binutils-all/arm/objdump.exp: Support .d tests.
322 * testsuite/binutils-all/arm/out-of-order-all.d: New test.
323 * testsuite/binutils-all/arm/out-of-order.T: New test.
324 * testsuite/binutils-all/arm/out-of-order.d: New test.
325 * testsuite/binutils-all/arm/out-of-order.s: New test.
326
327
328 2019-03-25 Tamar Christina <tamar.christina@arm.com>
329
330 * testsuite/binutils-all/aarch64/in-order-all.d: New test.
331 * testsuite/binutils-all/aarch64/out-of-order-all.d: New test.
332 * testsuite/binutils-all/aarch64/out-of-order.d:
333
334 2019-03-25 Tamar Christina <tamar.christina@arm.com>
335
336 * testsuite/binutils-all/aarch64/in-order.d: New test.
337 * testsuite/binutils-all/aarch64/out-of-order.d: Disassemble data as
338 well.
339
340 2019-03-25 Tamar Christina <tamar.christina@arm.com>
341
342 * objdump.c (disassemble_bytes): Pass stop_offset.
343 * testsuite/binutils-all/aarch64/out-of-order.T: New test.
344 * testsuite/binutils-all/aarch64/out-of-order.d: New test.
345 * testsuite/binutils-all/aarch64/out-of-order.s: New test.
346
347 2019-03-19 Nick Clifton <nickc@redhat.com>
348
349 PR 24360
350 * objdump.c (load_specific_debug_section): Check that the amount
351 of memory to be allocated matches the size of the section.
352
353 2019-03-13 Sudakshina Das <sudi.das@arm.com>
354
355 * readelf.c (get_aarch64_dynamic_type): Add case for
356 DT_AARCH64_PAC_PLT.
357 (dynamic_section_aarch64_val): Likewise.
358
359 2019-03-13 Sudakshina Das <sudi.das@arm.com>
360 Szabolcs Nagy <szabolcs.nagy@arm.com>
361
362 * readelf.c (get_aarch64_dynamic_type): New.
363 (get_dynamic_type): Use above for EM_AARCH64.
364 (dynamic_section_aarch64_val): New.
365 (process_dynamic_section): Use above for EM_AARCH64.
366
367 2019-03-13 Sudakshina Das <sudi.das@arm.com>
368
369 * readelf.c (decode_aarch64_feature_1_and): New.
370 (print_gnu_property_note): Add case for AArch64 gnu notes.
371
372 2019-03-12 Alan Modra <amodra@gmail.com>
373
374 * objdump.c (load_specific_debug_section): Don't compare section
375 size against file size.
376 (dump_relocs_in_section): Don't compare reloc size against file size.
377 Print "failed to read relocs" on bfd_get_reloc_upper_bound error.
378
379 2019-03-05 Nick Clifton <nickc@redhat.com>
380
381 PR 24295
382 * doc/binutils.texi (ar cmdline): Fix spelling mistake.
383
384 2019-03-05 Nick Clifton <nickc@redhat.com>
385
386 * po/sv.po: Updated Swedish translation.
387
388 2019-03-05 Matthew Malcomson <matthew.malcomson@arm.com>
389
390 PR 24287
391 * testsuite/lib/binutils-common.exp (run_dump_test): Replace a use
392 of "lmap" with a "foreach" loop.
393
394 2019-03-04 Nick Clifton <nickc@redhat.com>
395
396 PR 24281
397 * objcopy.c (copy_archive): Do not copy thin archives.
398
399 2019-02-27 Matthew Malcomson <matthew.malcomson@arm.com>
400
401 * testsuite/lib/binutils-common.exp: Allow multiple "as" lines.
402
403 2019-02-25 Nick Clifton <nickc@redhat.com>
404
405 * objdump.c (sym_ok): New function.
406 (find_symbol_for_address): Use new function.
407 (disassemble_section): Compare sections by name, not pointer.
408 (dump_dwarf): Move code to initialise byte_get pointer and iterate
409 over separate debug files from here to ...
410 (dump_bfd): ... here. Add parameter indicating that a separate
411 debug info file is being dumped. For main file, pull in the
412 symbol tables from all separate debug info files.
413 (display_object): Update call to dump_bfd.
414 * doc/binutils.texi: Document extened behaviour of the
415 --dwarf=follow-links option.
416 * NEWS: Mention this new feature.
417 * testsuite/binutils-all/objdump.WK2: Update expected output.
418 * testsuite/binutils-all/objdump.exp (test_follow_debuglink): Add
419 options and dump file parameters.
420 Add extra test.
421 * testsuite/binutils-all/objdump.WK3: New file.
422 * testsuite/binutils-all/readelf.exp: Change expected output for
423 readelf -wKis test.
424 * testsuite/binutils-all/readelf.wKis: New file.
425
426 2019-02-22 Nick Clifton <nickc@redhat.com>
427
428 PR 23843
429 * dwarf.h (struct separate_info): New structure for containing
430 information on separate debug info files.
431 * dwarf.c (struct dwo_info): New structure for containing dwo
432 links.
433 (first_dwo_info): Chain of dwo_info structures.
434 (first_separate_file): Chain of separate_info structures.
435 (separate_debug_file, separate_debug_filename): Delete.
436 (fetch_alt_indirect_string): Scan all separate debug info files
437 for the requested string.
438 (add_dwo_info): New function.
439 (add_dwo_name): New function.
440 (add_dwo_dir): New function.
441 (add_dwo_id: New function.
442 (free_dwo_info): New function.
443 (read_and_display_attr_value): Store DWO data using the new
444 functions.
445 (load_debug_section_with_follow): If necessary, scan the list of
446 separate debug info files for the requested section.
447 (add_separate_debug_file): New function.
448 (load_separate_debug_info): Call add_separate_debug_file to store
449 the information on the newly loaded file.
450 (load_dwo_file): Likewise.
451 (load_separate_debif_file): Rename to load_separate_debug_files.
452 Change return type to boolean. If following links then attempt to
453 load all separate debug info files, not just the first one.
454 (free_debug_memory): Release memory in dwo_info and separate_info
455 chains.
456 * objdump.c (dump_dwarf): Iterate over all loaded debg info files.
457 * readelf.c (process_object): Likewise.
458 * doc/debug.options.texi: Update descriptions of links and
459 follow-links options.
460 * testsuite/binutils-all/objdump.WK2: Update expected output.
461 * testsuite/binutils-all/readelf.k2: Likewise.
462 * NEWS: Announce the new feature.
463
464 2019-02-21 Nick Clifton <nickc@redhat.com>
465
466 PR 24247
467 * unwind-ia64.c: Include sysdep.h.
468 (unw_decode_x1): Check current pointer against end pointer before
469 accessing memory.
470 (unw_decode_x2): Likewise.
471 (unw_decode_x3): Likewise.
472 (unw_decode_x4): Likewise.
473 (unw_decode_r2): Likewise.
474 (unw_decode_p2_p5): Likewise.
475 (unw_decode_p7_p10): Likewise.
476 (unw_decode): Likewise.
477
478 2019-02-20 Nick Clifton <nickc@redhat.com>
479
480 PR 24246
481 * readelf.c (print_stapsdt_note): Harden against corrupt notes.
482
483 PR 24244
484 * unwind-ia64.c (unw_decode_uleb128): Add end parameter, use it to
485 prevent walking off the end of the buffer.
486 (unw_decode_x1): Add end paramter, pass it to unw_decode_uleb128.
487 (unw_decode_x2): Likewise.
488 (unw_decode_x3): Likewise.
489 (unw_decode_x4): Likewise.
490 (unw_decode_r2): Pass the end parameter to unw_decode_uleb128.
491 (unw_decode_r3): Likewise.
492 (unw_decode_p7_p10): Likewise.
493 (unw_decode_b2): Likewise.
494 (unw_decode_b3_x4): Likewise.
495
496 PR 24243
497 * readelf.c (process_mips_specific): Check for an options section
498 that is too small to even contain a single option.
499
500 PR 24242
501 * readelf.c (print_ia64_vms_note): Harden against corrupt notes.
502
503 2019-02-20 Alan Modra <amodra@gmail.com>
504
505 PR 24132
506 PR 24138
507 * readelf.c (get_data): Avoid possibility of overflow when
508 checking for a read that may extend past end of file.
509 (process_program_headers): Likewise.
510
511 2019-02-20 Alan Modra <amodra@gmail.com>
512
513 PR 24233
514 * objdump.c (dump_bfd_private_header): Print warning if
515 bfd_print_private_bfd_data returns false.
516
517 2019-02-12 Nick Clifton <nickc@redhat.com>
518
519 PR 23440
520 * README-how-to-make-a-release: Use git clean to delete spurious
521 files from the local source repository.
522
523 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
524
525 * size.c (berkeley_format): Delete.
526 (enum output_format): New enum.
527 (selected_output_format): New variable.
528 (usage): Update to mention GNU format.
529 (main): Update to extract options, and select format as needed.
530 Handle GNU format where needed.
531 (berkeley_sum): Renamed to...
532 (berkeley_or_gnu_sum): ...this, and updated to handle both formats.
533 (berkeley_format): Renamed to...
534 (berkeley_or_gnu_format): ...this, and updated to handle both
535 formats.
536 (print_sizes): Handle GNU format.
537 * doc/binutils.texi (size): Document new GNU format.
538 * testsuite/binutils-all/size.exp: Add test of extended
539 functionality.
540 * NEWS: Mention new functionality.
541
542 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
543
544 * doc/binutils.texi (size): Update example output for Berkeley
545 format output.
546
547 2019-02-07 Nick Clifton <nickc@redhat.com>
548
549 * README-how-to-make-a-release: Add a note about updating the
550 obsolete targets in the bfd/config.bfd file.
551
552 2019-02-04 Nick Clifton <nickc@redhat.com>
553
554 * README-how-to-make-a-release: Add more notes on making a release.
555
556 2019-01-25 Nick Clifton <nickc@redhat.com>
557
558 PR 24131
559 * readelf.c (process_notes_at): Prevent an illegal memory access
560 when the note's namesize is zero.
561 (decode_tic6x_unwind_bytecode): Add code to handle the case where
562 no registers are specified in a frame pop instruction.
563
564 2019-01-25 Nick Clifton <nickc@redhat.com>
565
566 * po/bg.po: Updated Bulgarian translation.
567
568 2019-01-23 Nick Clifton <nickc@redhat.com>
569
570 * po/fr.po: Updated French translation.
571 * po/pt.po: Updated Portuguese translation.
572
573 2019-01-21 Nick Clifton <nickc@redhat.com>
574
575 * po/uk.po: Updated Ukranian translation.
576
577 2019-01-19 Nick Clifton <nickc@redhat.com>
578
579 * configure: Regenerate.
580 * binutils/po/binutils.pot.
581
582 * README-how-to-make-a-release: Update description on how to make
583 a branch.
584
585 2018-06-24 Nick Clifton <nickc@redhat.com>
586
587 2.32 branch created.
588
589 2019-01-17 Nick Clifton <nickc@redhat.com>
590
591 * objdump.c (disassemble_section): When disassembling from a
592 symbol only stop at the next symbol if the original symbol was not
593 a function symbol. Otherwise continue disassembling until a new
594 function is reached.
595 * testsuite/binutils-all/objdump.exp: Add tests of extended
596 functionality.
597 * testsuite/binutils-all/disasm.s: New test source file.
598
599 2019-01-16 Kito Cheng <kito@andestech.com>
600 Nelson Chu <nelson@andestech.com>
601
602 * readelf.c (get_riscv_section_type_name): New function.
603 (get_section_type_name): Add handler for RISC-V.
604 (riscv_attr_tag_t): Declare.
605 (riscv_attr_tag): New.
606 (display_riscv_attribute): New function.
607 (process_attributes): Add handler for RISC-V.
608 * testsuite/binutils-all/strip-3.d: Remove .riscv.attribute
609 section.
610
611 2019-01-10 Nick Clifton <nickc@redhat.com>
612
613 PR 23963
614 * objdump.c (sanitize_string): New function. Removes control
615 characters from symbol names.
616 (dump_section_header): Use new function.
617 (objdump_print_symname): Likewise.
618 (objdump_print_addr_with_sym): Likewise.
619 (show_line): Likewise.
620 (disassemble_bytes): Likewise.
621 (disassemble_section): Likewise.
622 (load_specific_debug_section): Likewise.
623 (read_section_stabs): Likewise.
624 (print_section_stabs): Likewise.
625 (dump_section): Likewise.
626 (dump_reloc_set): Likewise.
627 (dump_relocs_in_section): Likewise.
628 (dump_bfd): Likewise.
629 (display_any_bfd): Likewise.
630
631 2019-01-09 Nick Clifton <nickc@redhat.com>
632
633 PR 24049
634 * readelf.c (process_archive): Use arch.file_name in error
635 messages until the qualified name is available.
636
637 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
638
639 * configure: Regenerate.
640
641 2019-01-09 Alan Modra <amodra@gmail.com>
642
643 * testsuite/binutils-all/cxxfilt.exp: Pass --no-strip-underscores
644 unconditionally to tests needing the option rather than via a
645 list of targets.
646
647 2019-01-08 Nick Clifton <nickc@redhat.com>
648
649 PR 24044
650 * cxxfilt.c (hp_symbol_characters): Delete.
651 (main): Remove depcreated demangling styles.
652 * stabs.c (parse_stab_argtypes): Remove support for old gnu v2
653 demangling opnames.
654 * testsuite/binutils-all/cxxfilt.exp: Use the
655 --no-strip-underscore option for targets that do prefix their
656 symbols with underscores.
657 Update tests to eliminate those that use gnu v2 encoding.
658
659 2019-01-08 Tamar Christina <tamar.christina@arm.com>
660
661 PR 24065
662 * testsuite/binutils-all/copy-6.d: New test.
663 * testsuite/binutils-all/objcopy.exp: Use it.
664
665 2019-01-08 Alan Modra <amodra@gmail.com>
666
667 * testsuite/lib/binutils-common.exp (run_dump_test): Don't prepend
668 $srcdir/$subdir to source file name if it starts with "./".
669
670 2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
671
672 * readelf.c (get_machine_flags): Add RXv3 output.
673
674 2019-01-04 Nick Clifton <nickc@redhat.com>
675
676 PR 24005
677 * objdump.c (load_specific_debug_section): Check for integer
678 overflow before attempting to allocate contents.
679
680 2019-01-04 Nick Clifton <nickc@redhat.com>
681
682 PR 24001
683 * objcopy.c (copy_object): Free dhandle after writing out the
684 debug information.
685 * objdump.c (dump_bfd): Free dhandle after printing out the debug
686 information.
687
688
689 2019-01-01 Alan Modra <amodra@gmail.com>
690
691 Update year range in copyright notice of all files.
692
693 For older changes see ChangeLog-2018
694 \f
695 Copyright (C) 2019 Free Software Foundation, Inc.
696
697 Copying and distribution of this file, with or without modification,
698 are permitted in any medium without royalty provided the copyright
699 notice and this notice are preserved.
700
701 Local Variables:
702 mode: change-log
703 left-margin: 8
704 fill-column: 74
705 version-control: never
706 End:
This page took 0.046707 seconds and 4 git commands to generate.