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