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