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