Allow the --output option of the "ar" prorgam to extract files to locations outside...
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2019-11-07 Nick Clifton <nickc@redhat.com>
2
3 * ar.c (open_output_file): Check for filename validity before
4 prefixing with output directory.
5 Display the constructed output filename if in verbose mode.
6 (extract_file): Let open_output_file display the filename.
7
8 2019-11-07 Nick Clifton <nickc@redhat.com>
9
10 * objcopy.c (copy_object): Skip note sections that do not have
11 an output section. Always copy note sections, even if no
12 changes are made.
13
14 2019-11-06 Christian Eggers <ceggers@gmx.de>
15
16 * readelf.c (IN_RANGE): Rename parameter OFF to NELEM. Add
17 comment. Catch potential integer overflow and fix off by one
18 error whilst checking reloc location against section size.
19 (apply_relocations): Use IN_RANGE macro.
20
21 2019-11-04 Fangrui Song <maskray@google.com>
22
23 * objcopy.c (enum option_values): Add OPTION_KEEP_SECTION.
24 (SECTION_CONTEXT_KEEP): Define. Adjust other SECTION_CONTEXT macros.
25 (copy_usage): Describe --keep-section.
26 (strip_usage): Likewise.
27 (copy_main): Handle SECTION_CONTEXT_KEEP.
28 (strip_main): Likewise.
29 (is_strip_section_1): Likewise.
30 * testsuite/binutils-all/objcopy.exp: Add tests.
31 * testsuite/binutils-all/keep-section-1.d: New test driver file.
32 * testsuite/binutils-all/keep-section-2.d: Likewise.
33 * doc/binutils.texi: Document the new feature.
34 * NEWS: Mention the new feature.
35
36 2019-10-20 Palmer Dabbelt <palmer@sifive.com>
37
38 * MAINTAINERS: Change palmer@sifive.com to palmer@dabbelt.com.
39
40 2019-10-30 Fangrui Song <i@maskray.me>
41 Nick Clifton <nickc@redhat.com>
42
43 * ar.c (emum long option numbers): Declare. Use to provide
44 numerical values for long options.
45 (long_options): Add --output option.
46 (usage): Mention the --output option.
47 (open_output_file): New function. Create a filepath for an output
48 file and open it.
49 (extract_file): Use open_output_file().
50 (open_output_file):
51 * testsuite/binutils-all/ar.exp: Add a test of the new feature.
52 * doc/binutils.texi: Document the new feature.
53 * NEWS: Mention the new feature.
54
55 2019-10-26 Alan Modra <amodra@gmail.com>
56
57 * objcopy.c (sort_gnu_build_notes): Correct sort of deleted
58 note2.
59
60 2019-10-25 H.J. Lu <hongjiu.lu@intel.com>
61
62 * elfedit.c (elf_x86_feature): Report unknown x86 feature.
63
64 2019-10-25 H.J. Lu <hongjiu.lu@intel.com>
65
66 * elfedit.c (update_gnu_property): Replace BYTE_PUT with byte_put.
67
68 2019-10-25 Nick Clifton <nickc@redhat.com>
69
70 * objcopy.c (struct merged_note_section): New structure. Used to
71 chain together details of mergeable note sections.
72 (is_merged_note_section): Rename to is_megreable_note_section and
73 return true for note sections that use GNU_BUILD_ATTRS_SECTION_NAME
74 as a prefix.
75 (num_bytes): Delete
76 (objcoopy_internal_note): Add padded_namesz field.
77 (DEBUG_MERGE): New macro. Set to non-zero to enable debugging of
78 the note merging code.
79 (gap_exists): Rename to overlaps_or_adjoins and return TRUE for
80 overlapping notes or adjoining notes.
81 (contained_by, is_deleted_note, is_version_note)
82 (compare_gnu_build_notes, sort_gnu_build_notes): New functions.
83 (merge_gnu_build_notes): Rework. Sort notes into a mergeable
84 order first. Merge them. Then sort them into an ascending
85 address order before writing them out.
86 (copy_object): Handle more than one mergeable note section.
87 * testsuite/binutils-all/note-2-32.d: Update for new merging
88 behaviour.
89 * testsuite/binutils-all/note-2-32.s: Likewise.
90 * testsuite/binutils-all/note-2-64.d: Likewise.
91 * testsuite/binutils-all/note-2-64.s: Likewise.
92 * testsuite/binutils-all/note-3-32.d: Likewise.
93 * testsuite/binutils-all/note-3-32.s: Likewise.
94 * testsuite/binutils-all/note-3-64.d: Likewise.
95 * testsuite/binutils-all/note-3-64.s: Likewise.
96 * testsuite/binutils-all/note-4-32.d: Likewise.
97 * testsuite/binutils-all/note-4-32.s: Likewise.
98 * testsuite/binutils-all/note-4-64.d: Likewise.
99 * testsuite/binutils-all/note-4-64.s: Likewise.
100 * testsuite/binutils-all/note-6-32.s: New test source file.
101 * testsuite/binutils-all/note-6-64.s: New test source file.
102 * testsuite/binutils-all/note-6-32.d: New test driver file.
103 * testsuite/binutils-all/note-6-64.d: New test driver file.
104 * testsuite/binutils-all/objcopy.exp: Run the new test.
105
106 2019-10-25 Alan Modra <amodra@gmail.com>
107
108 * readelf.c (process_program_headers): Check PT_PHDR p_offset
109 as well as p_vaddr. Use p_filesz, not p_memsz, in vaddr test.
110
111 2019-10-21 Alan Modra <amodra@gmail.com>
112
113 PR 452
114 PR 25104
115 * ar.c (write_archive): Set BFD_ARCHIVE_FULL_PATH.
116 * doc/binutils.texi (extract from archive): Mention
117 restrictions when extracting from archives with full paths.
118 (ar P): Update to current P support.
119 (ar -X32_64): Fix spelling.
120
121 2019-10-14 Alan Modra <amodra@gmail.com>
122
123 * objcopy.c (compare_section_lma): Correct comment. Dereference
124 section pointer earlier and lose unnecessary const. Style fixes.
125 Add final sort by id.
126
127 2019-10-13 Nick Clifton <nickc@redhat.com>
128
129 * README-how-to-make-a-release: Add a note to reset the
130 development flag back to true after making a point release.
131
132 2019-10-12 Nick Clifton <nickc@redhat.com>
133
134 * README-how-to-make-a-release: Tweak a few sections based on the
135 results of the 2.33.1 release.
136
137 2019-10-11 Nick Clifton <nickc@redhat.com>
138
139 * po/zh_TW.po: Updated Chinese (traditional) translation.
140
141 2019-10-09 Alan Modra <amodra@gmail.com>
142
143 PR 25079
144 * ar.c (decode_options): Don't try for command options if
145 write_armap or mri_mode is selected.
146
147 2019-10-07 Jozef Lawrynowicz <jozef.l@mittosystems.com>
148
149 * readelf.c (display_msp430_gnu_attribute): New.
150 (process_arch_specific): Use msp430 specific handler for GNU
151 attributes.
152
153 2019-09-30 Nick Alcock <nick.alcock@oracle.com>
154
155 * objdump.c (main): Fix tabdamage.
156 * readelf.c (CTF_DUMP): Likewise.
157 (options): Likewise.
158 (dump_section_as_ctf): Likewise.
159
160 2019-08-03 Nick Alcock <nick.alcock@oracle.com>
161
162 * objdump.c (dump_ctf): Use the default CTF archive member as the
163 parent even when no parent section is specified.
164 (dump_ctf_archive_member): Only import from the parent
165 if this is not the default ".ctf" member.
166
167 2019-09-23 Nick Alcock <nick.alcock@oracle.com>
168
169 * Makefile.am (LIBCTF): Mention the .la file.
170 (LIBCTF_NOBFD): New.
171 (readelf_DEPENDENCIES): Use it.
172 (readelf_LDADD): Likewise.
173 * Makefile.in: Regenerated.
174
175 2019-07-13 Nick Alcock <nick.alcock@oracle.com>
176
177 * readelf.c (dump_ctf_symtab_name): Give default value.
178 (dump_ctf_strtab_name): Likewise.
179 (dump_section_as_ctf): Allow for the null string.
180
181 2019-07-08 Nick Alcock <nick.alcock@oracle.com>
182
183 * objdump.c (dump_ctf_archive_member): Dump the CTF header.
184 * readelf.c (dump_section_as_ctf): Likewise.
185
186 2019-10-02 Niklas Gürtler <profclonk@gmail.com>
187
188 PR 24942
189 * objcopy.c (copy_usage): Update description of
190 --set-section-alignment.
191 (copy_main): Interpret numeric argument of --set-section-alignment
192 as a byte alignment, not a power of two alignment.
193 * doc/binutils.texi: Update description of
194 --set-section-alignment.
195 * testsuite/binutils-all/set-section-alignment.d: New test.
196 * testsuite/binutils-all/objcopy.exp: Run the new test.
197
198 2019-09-30 Alan Modra <amodra@gmail.com>
199
200 PR 25046
201 * readelf.c (process_program_headers): Clear dynamic_addr and
202 dynamic_size earlier.
203
204 2019-09-24 Alan Modra <amodra@gmail.com>
205
206 PR 25031
207 * nm.c (print_format_string): New.
208 (get_print_format): Delete saved_format. Move earlier.
209 (set_print_width): Call get_print_format.
210 (print_value): Use print_format_string.
211
212 2019-09-23 Alan Modra <amodra@gmail.com>
213
214 * dlltool.c: Include coff-bfd.h.
215
216 2019-09-23 Alan Modra <amodra@gmail.com>
217
218 PR 25018
219 * dwarf.c (get_type_signedness): Delete ineffective pointer
220 comparison check. Properly range check uvalue offset on
221 recursive call.
222 (read_and_display_attr_value): Range check uvalue offset before
223 calling get_type_signedness.
224
225 2019-09-20 Alan Modra <amodra@gmail.com>
226
227 * ar.c (write_archive): Use bfd_set_thin_archive.
228
229 2019-09-18 Tamar Christina <tamar.christina@arm.com>
230
231 * testsuite/binutils-all/objdump.exp (objump -S): Update testcases.
232
233 2019-09-18 Alan Modra <amodra@gmail.com>
234
235 * addr2line.c, * bucomm.c, * coffgrok.c, * dlltool.c, * nm.c,
236 * objcopy.c, * objdump.c, * od-elf32_avr.c, * od-macho.c,
237 * od-xcoff.c, * prdbg.c, * rdcoff.c, * rddbg.c, * rescoff.c,
238 * resres.c, * size.c, * srconv.c, * strings.c, * windmc.c: Update
239 throughout for bfd section macro and function changes.
240
241 2019-09-18 Alan Modra <amodra@gmail.com>
242
243 * nm.c: Update bfd_get_section to bfd_asymbol_section throughout.
244 * objcopy.c: Likewise.
245 * objdump.c: Likewise.
246 * rdcoff.c: Likewise.
247 * objcopy.c (create_new_symbol): Use bfd_set_asymbol_name.
248 (filter_symbols): Likewise.
249
250 2019-09-18 Simon Marchi <simon.marchi@polymtl.ca>
251
252 * doc/Makefile.am (MOSTLYCLEANFILES): Clean all man pages,
253 cxxfilt.man and binutils.info.
254 (MAINTAINERCLEANFILES): Remove.
255 * doc/Makefile.in: Re-generate.
256
257 2019-09-18 Simon Marchi <simon.marchi@polymtl.ca>
258
259 * doc/Makefile.am: Remove references to binutils_TEXINFOS.
260 * doc/Makefile.in: Re-generate.
261
262 2019-09-18 Simon Marchi <simon.marchi@polymtl.ca>
263
264 * doc/Makefile.am (install-data-loca): Remove target.
265 (DISTCLEANFILES): Remove variable.
266 * doc/Makefile.in: Re-generate.
267
268 2019-09-18 Simon Marchi <simon.marchi@polymtl.ca>
269
270 * Makefile.in: Re-generate.
271 * configure: Re-generate.
272 * doc/Makefile.in: Re-generate.
273
274 2019-09-16 Phil Blundell <pb@pbcl.net>
275
276 * Makefile.in, configure. doc/Makefile.in: Regenerated.
277
278 2019-09-11 Tom Tromey <tom@tromey.com>
279
280 * objcopy.c (copy_archive): Update.
281 * bucomm.h (make_tempname, make_tempdir): Make argument const.
282 * bucomm.c (make_tempname, make_tempdir): Make argument const.
283
284 2019-09-11 Alan Modra <amodra@gmail.com>
285
286 PR 24907
287 * objdump.c (disassemble_bytes): Adjust code to avoid overlong
288 lines. Correct max_reloc_offset_into_insn test.
289
290 2019-09-10 Nick Clifton <nickc@redhat.com>
291
292 PR 24907
293 * objdump.c (null_print): New function.
294 (disassemble_bytes): Delete previous_octets local and replace with
295 a test of the max_reloc_offset_into_insn field of the
296 bfd_arch_info structure. If a reloc is a potential match for the
297 next insn, then perform a dummy disassembly in order to calculate
298 its real length.
299
300 2019-09-09 Phil Blundell <pb@pbcl.net>
301
302 binutils 2.33 branch created.
303
304 2019-09-06 Alan Modra <amodra@gmail.com>
305
306 * nm.c (print_object_filename_bsd, print_object_filename_sysv),
307 (print_object_filename_posix, print_archive_filename_bsd),
308 (print_archive_filename_sysv, print_archive_filename_posix),
309 (print_archive_member_bsd, print_archive_member_sysv),
310 (print_archive_member_posix): Constify parameter.
311 (struct output_fns <print_object_filename, print_archive_filename>),
312 (<print_archive_member>): Likewise.
313 * objcopy.c (copy_archive): Add cast for make_tempdir.
314
315 2019-08-29 Alan Modra <amodra@gmail.com>
316
317 * dwarf.c (check_uvalue): Remove unnecessary pointer checks.
318
319 2019-08-28 Niklas Gürtler <profclonk@gmail.com>
320
321 PR 24942
322 * objcopy.c (SECTION_CONTEXT_SET_ALIGNMENT): New constant.
323 (struct section_list): Add alignment field.
324 (command_line_switch): Add OPTION_SET_SECTION_ALIGNMENT.
325 (copy_options): Add --set-section-alignment.
326 (copy_usage): Describe --set-section-alignment.
327 (find_section_list): Initialise the alignment field.
328 (setup_section): Handle the alignment field.
329 (copy_main): Handle OPTION_SET_SECTION_ALIGNMENT.
330 * doc/binutils.texi: Document the new feature.
331 * NEWS: Mention the new feature.
332
333 2019-08-28 Nick Clifton <nickc@redhat.com>
334
335 PR 24931
336 * objdump.c (source_comment): New static variable.
337 (option_values): Add OPTION_SOURCE_COMMENT.
338 (long_opions): Add --source-comment.
339 (print_line): If source comment is set, use it as a prefix to the
340 source code line.
341 (main): Handle OPTION_SOURCE_COMMENT.
342 * doc/binutils.texi: Document the new option.
343 * NEWS: Mention the new feature.
344 * testsuite/binutils-all/objdump.exp (test_objdump_S): Add tests
345 of the -S and --source-comment options.
346
347 2019-08-27 Nick Clifton <nickc@redhat.com>
348
349 PR 24510
350 * dwarf.c (MAX_CU_NESTING): New constant.
351 (level_type_signed): New static array.
352 (skip_attr_bytes): New function.
353 (get_type_signedness): New function.
354 (read_and_print_leb128): New function.
355 (display_discr_list): New function.
356 (read_and_display_attr_value): Add start parameter.
357 Use new functions when handling DW_AT_type and DW_AT_discr_list.
358 (read_and_display_attr): Add start parameter. Pass to
359 read_and_display_attr_value.
360 (process_debug_info): Update call to read_and_display_attr.
361 (display_formatted_table): Likewise.
362 (display_debug_lines_decoded): Likewise. Also add start
363 parameter.
364 (display_debug_lines): Likewise.
365 * testsuite/binutils-all/dwarf-attributes.S: Update discrimination
366 lists.
367 * testsuite/binutils-all/dwarf-attributes.W: Update expected
368 output.
369
370 2019-08-26 Alan Modra <amodra@gmail.com>
371
372 PR 24938
373 * debug.c (debug_write_type): Call empty_type for NULL type here..
374 (debug_write_type): ..rather than in just one case here.
375
376 2019-08-23 Nick Clifton <nickc@redhat.com>
377
378 PR 24829
379 * dwarf.c (check_uvalue): New function. Ensures that a block's
380 size is valid.
381 (read_and_display_attr_value): Use check_value when processsing
382 DW_FORM_block<n> attributes.
383
384 2019-08-22 Nick Clifton <nickc@redhat.com>
385
386 PR 24921
387 * dwarf.c (process_cu_tu_index): Handle the case where a table
388 does not have any columns.
389
390 2019-08-19 Alan Modra <amodra@gmail.com>
391
392 PR 24898
393 * dwarf.c (display_debug_frames): Use the read_cie check and error
394 for augmentation data length.
395
396 2019-08-17 Alan Modra <amodra@gmail.com>
397
398 PR 24911
399 * dwarf.c (comp_addr_base): Dereference args.
400
401 2019-08-16 Alan Modra <amodra@gmail.com>
402
403 PR 24909
404 PR 23499
405 * readelf.c (get_symbol_version_string): Set sym_info earlier.
406
407 2019-08-15 Nick Clifton <nickc@redhat.com>
408
409 PR 24767
410 * doc/binutils.texi (nm): Document the 'n' symbol type.
411
412 2019-08-15 Christophe Vidal <support@krizalys.com>
413
414 * docs/binutils.texi: Fixed notice message disassembler options
415 section of the man page.
416
417 2019-08-09 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
418
419 * readelf.c (get_mips_dynamic_type): Return MIPS_XHASH dynamic type.
420 (get_mips_section_type_name): Return MI{S_XHASH name string.
421 (dynamic_section_mips_val): Initialize the .MIPS.xhash dynamic
422 info.
423 (process_symbol_table): Initialize the .MIPS.xhash section
424 pointer. Adjust the readelf output to support the new section.
425 (process_object): Set the .MIPS.xhash dynamic info to zero.
426
427 2019-08-09 Tamar Christina <tamar.christina@arm.com>
428
429 * testsuite/binutils-all/arm/in-order-all.d: Skip on pe, wince, coff.
430 * testsuite/binutils-all/arm/in-order.d: Likewise.
431 * testsuite/binutils-all/arm/out-of-order-all.d: Likewise.
432 * testsuite/binutils-all/arm/out-of-order.d: Likewise.
433
434 2019-08-08 Nick Clifton <nickc@redhat.com>
435
436 PR 24887
437 * readelf.c (process_notes_at): Left justify the "Data size"
438 column heading.
439 * testsuite/binutils-all/i386/empty.d: Adjust for new output format.
440 * testsuite/binutils-all/i386/ibt.d: Likewise.
441 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
442 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
443 * testsuite/binutils-all/i386/shstk.d: Likewise.
444 * testsuite/binutils-all/note-2-32.d: Likewise.
445 * testsuite/binutils-all/note-2-64.d: Likewise.
446 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
447 * testsuite/binutils-all/x86-64/empty.d: Likewise.
448 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
449 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
450 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
451 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
452 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
453 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
454 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
455 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
456 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
457 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
458 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
459 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
460 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
461 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
462
463 2019-08-08 Nick Clifton <nickc@redhat.com>
464
465 * testsuite/gentestdlls.c (main): Move declaration of loop
466 variable outside of the for() statement.
467
468 2019-08-08 Jordan Rupprecht <rupprecht@google.com>
469
470 * readelf.c (process_note): Mask unknown description data bytes.
471
472 2019-08-08 Alan Modra <amodra@gmail.com>
473
474 * readelf.c (get_data): Improve overflow checks.
475
476 2019-08-07 Nick Clifton <nickc@redhat.com>
477
478 PR 24777
479 * doc/binutils.texi: Ensure consistent formating of title strings
480 for man pages. Extend the title of the size man page to be more
481 informative.
482
483 2019-08-07 Omair Majid <omajid@redhat.com>
484
485 * testsuite/binutils-all/objdump.exp
486 (test_objdump_dotnet_assemblies): Fix test to distinguish errors
487 in parsing simple pei-i386 and pei-x86-64 vs parsing the newly
488 introduced machine types.
489 * testsuite/gentestdlls.c (write_simple_dll): New function.
490 (main): Generate simple and Linux-specific variants of pei-i386
491 and pei-x86-64 files so both can be used by tests.
492
493 2019-08-07 Alan Modra <amodra@gmail.com>
494
495 PR 24876
496 * readelf.c (dump_ia64_unwind): Check that buffer is large
497 enough for "stamp" before reading.
498
499 2019-08-05 Nick Clifton <nickc@redhat.com>
500
501 PR 24874
502 * objcopy.c (merge_gnu_build_notes): Do not insist on the first
503 note being a version note.
504 Remove spurious debugging fprintf.
505
506 2019-08-05 Nick Clifton <nickc@redhat.com>
507
508 PR 24829
509 * readelf.c (apply_relocations): Catch potential integer overflow
510 whilst checking reloc location against section size.
511
512 2019-08-02 Alan Modra <amodra@gmail.com>
513
514 PR 24871
515 * readelf.c (ABSADDR): Delete.
516 (dump_ia64_unwind): Expand ABSADDR. Check validity of info.section.
517
518 2019-07-29 Martin Liska <mliska@suse.cz>
519
520 PR 24768
521 * nm.c (filter_symbols): Set report_plugin_err if
522 error is reported.
523 (display_rel_file): Report error for a missing LTO plugin.
524
525 2019-07-26 Alan Modra <amodra@gmail.com>
526
527 PR 24798
528 * dwarf.c (process_cu_tu_index): Avoid integer overflow on 64-bit
529 systems by casting ncols and nslots expressions to size_t. Display
530 number of columns and slots before giving up due to buffer overflow.
531 Use %u to display unsigned ints. Perform more pointer wrap tests.
532
533 2019-07-25 Tom Tromey <tromey@adacore.com>
534
535 PR 24809
536 * dwarf.c (display_debug_names): Display the contents of the
537 augmentation string, if it is printable.
538
539 2019-07-25 Nick Clifton <nickc@redhat.com>
540
541 PR 24837
542 * readelf.c (process_mips_specific): Check for buffer overflow
543 before reading reginfo information.
544
545 2019-07-24 Nick Clifton <nickc@redhat.com>
546
547 PR 13256
548 * ar.c (decode_options): Restart option scanning if no operation
549 is detected and argument remain to be scanned.
550
551 2019-07-23 Nick Clifton <nickc@redhat.com>
552
553 PR 24818
554 * objdump.c (is_relocateable): Delete.
555 (load_specific_debug_section): Test the abfd for relocations
556 directly, rather than relying upon is_relocateable.
557 (dump_dwarf): Delete initlialization of is_relocateable.
558
559 2019-07-23 Alan Modra <amodra@gmail.com>
560
561 * readelf.c (get_parisc_segment_type): Split off hpux entries..
562 (get_ia64_segment_type): ..and these..
563 (get_hpux_segment_type): ..to here.
564 (get_segment_type): Condition GNU_MBIND on osabi. Use
565 get_hpux_segment_type.
566 (get_symbol_binding): Do not print UNIQUE for ELFOSABI_NONE.
567 (get_symbol_type): Do not print IFUNC for ELFOSABI_NONE.
568
569 2019-07-23 Alan Modra <amodra@gmail.com>
570
571 * testsuite/binutils-all/objcopy.exp (elf64): Correct object
572 file used to set this variable.
573
574 2019-07-23 Omar Majid <omajid@redhat.com>
575
576 * Makefile.am (AUTOMAKE_OPTIONS): Add subdir-objects
577 (GENTESTDLLSPROG): Define.
578 (TEST_PROGS): Add GENTESTDLLSPROG.
579 * Makefile.in: Regenerate.
580 * testsuite/binutils-all/objdump.exp
581 (test_objdump_dotnet_assemblies): New proc.
582 Run the new proc.
583 * testsuite/gentestdlls.c: New source file.
584
585 2019-06-28 Nick Clifton <nickc@redhat.com>
586
587 PR 24707
588 * objdump.c (slurp_symtab): Fail with a helpful error message if
589 the symbol table is too large. Skip this check for MMO format
590 files.
591
592 2019-06-26 Nick Clifton <nickc@redhat.com>
593
594 PR 24703
595 * bucomm.c (bfd_nonfatal): If no bfd error code has been set then
596 indicate this in the output.
597 (bfd_nonfatal_message): Likewise.
598
599 2019-06-25 Jan Beulich <jbeulich@suse.com>
600
601 * readelf.c (dump_ctf_indent_lines): Rename local variable
602 "spaces" to "blanks".
603
604 2019-06-25 Jan Beulich <jbeulich@suse.com>
605
606 * objdump.c (dump_ctf_indent_lines): Rename local variable
607 "spaces" to "blanks".
608
609 2019-06-14 Alan Modra <amodra@gmail.com>
610
611 * Makefile.in: Regenerate.
612 * aclocal.m4: Regenerate.
613 * doc/Makefile.in: Regenerate.
614
615 2019-06-12 Christos Zoulas <christos@zoulas.com>
616
617 PR 24663
618 * readelf.c (process_netbsd_elf_note): Add support for
619 NT_NETBSD_PAX.
620 (process_note): Add support for PaX notes.
621
622 2019-06-12 Christos Zoulas <christos@zoulas.com>
623
624 PR 24665
625 * readelf.c (get_netbsd_elfcore_note_type): Add support for SH
626 core notes.
627
628 2019-06-12 Christos Zoulas <christos@zoulas.com>
629
630 PR 24664
631 * readelf.c (get_netbsd_elfcore_note_type): Add support for NetBSD
632 auxv notes.
633
634 2019-06-11 Christos Zoulas <christos@zoulas.com>
635
636 PR 24662
637 * readelf.c (get_alpha_symbol_other): New function.
638 (get_symbol_other): Use for Alpha symbols.
639 (is_32bit_pcrel_reloc): Add R_VAX_PCREL32.
640
641 2019-06-11 Christos Zoulas <christos@zoulas.com>
642
643 PR 24661
644 * readelf.c (decode_arm_unwind): Ensure that the local variable
645 'addr' is always initialised.
646
647 2019-06-10 Christos Zoulas <christos@zoulas.com>
648
649 PR 24651
650 * strings.c (print_strings): Use %u to print unsigned values in
651 decimal.
652
653 2019-06-10 Christos Zoulas <christos@zoulas.com>
654
655 PR 24649
656 * arsup.c (ar_open): Use asprintf in place of xmalloc and
657 sprintf.
658
659 2019-06-03 Nick Clifton <nickc@redhat.com>
660
661 Revert:
662 2019-05-29 Nick Clifton <nickc@redhat.com>
663
664 * configure.ac (LIBCTF): Export. Set to empty for non-ELF based
665 targets.
666 (HAVE_LIBCTF): Define if libctf support is available.
667 * Makefile.am (LIBCTF): Set value to @LIBCTF@.
668 * objdump.c: Make CTF code conditional upon HAVE_LIBCTF being
669 defined.
670 * readelf.c: Likewise.
671 * configure: Regenerate.
672 * Makefile.in: Regenerate.
673 * config.in: Regenerate.
674
675 2019-05-30 Nick Alcock <nick.alcock@oracle.com>
676
677 * objdump.c (make_ctfsect): Drop cts_type, cts_flags, and
678 cts_offset.
679 * readelf.c (shdr_to_ctf_sect): Likewise.
680
681 2019-05-30 Nick Clifton <nickc@redhat.com>
682
683 PR 24627
684 * readelf.c (process_version_sections): Add 0x prefix to address
685 display. Correct indentation.
686
687 2019-05-30 Alan Modra <amodra@gmail.com>
688
689 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Add
690 s12z to targets not supporting this feature.
691
692 2019-05-30 Alan Modra <amodra@gmail.com>
693
694 * testsuite/lib/binutils-common.exp (run_dump_test): Support
695 tcl procedures for xfail args.
696
697 2019-05-29 Nick Clifton <nickc@redhat.com>
698
699 * README-how-to-make-a-release: Add libctf to list of directories
700 that need updates in their ChangeLogs.
701
702 2019-05-29 Nick Clifton <nickc@redhat.com>
703
704 * configure.ac (LIBCTF): Export. Set to empty for non-ELF based
705 targets.
706 (HAVE_LIBCTF): Define if libctf support is available.
707 * Makefile.am (LIBCTF): Set value to @LIBCTF@.
708 * objdump.c: Make CTF code conditional upon HAVE_LIBCTF being
709 defined.
710 * readelf.c: Likewise.
711 * configure: Regenerate.
712 * Makefile.in: Regenerate.
713 * config.in: Regenerate.
714
715 2019-05-28 Nick Alcock <nick.alcock@oracle.com>
716
717 * MAINTAINERS: Add myself as CTF maintainer.
718
719 2019-05-28 Nick Alcock <nick.alcock@oracle.com>
720
721 * objdump.c (ctf-api.h): New include.
722 (dump_ctf_section_info): New variable.
723 (dump_ctf_section_name): Likewise.
724 (usage): Describe new options.
725 (enum option_values): Add OPTION_CTF and OPTION_CTF_PARENT.
726 (main): Use them to add --ctf and --ctf-parent.
727 (read_section_stabs): Add new parameter, entsize_ptr.
728 (find_stabs_section): Adjust accordingly.
729 (make_ctfsect): New.
730 (dump_ctf_indent_lines): New.
731 (dump_ctf_archive_member): New.
732 (dump_ctf): New.
733 (dump_bfd): Call it. Free resources afterwards.
734 * readelf.c (ctf-api.h): New include.
735 (CTF_DUMP): New.
736 (static bfd_boolean do_ctf): Likewise.
737 (dump_ctf_parent_name): Likewise.
738 (dump_ctf_symtab_name): Likewise.
739 (dump_ctf_strtab_name): Likewise.
740 (OPTION_CTF_DUMP): Likewise.
741 (OPTION_CTF_PARENT): Likewise.
742 (OPTION_CTF_SYMBOLS): Likewise.
743 (OPTION_CTF_STRINGS): Likewise.
744 (options): Add them.
745 (usage): Likewise.
746 (parse_args): Handle the new options, requesting CTF_DUMP.
747 (process_section_contents): Handle CTF_DUMP.
748 (shdr_to_ctf_sect): New.
749 (dump_ctf_indent_lines): New.
750 (dump_section_as_ctf): New.
751 (main): Free resources.
752 * Makefile.am (LIBCTF): New variable.
753 (objdump_DEPENDENCIES): Use it.
754 (readelf_DEPENDENCIES): Likewise.
755 (objdump_LDADD): Likewise.
756 (readelf_LDADD): Likewise.
757 * aclocal.m4: Regenerated.
758 * Makefile.in: Likewise.
759
760 * doc/binutils.texi (objdump): Document the new options.
761 (readelf): Likewise.
762 * doc/ctf.options.texi: New.
763 * doc/Makefile.in: Regenerated.
764 * NEWS: Mention the new feature.
765
766 2019-05-27 Alan Modra <amodra@gmail.com>
767
768 * readelf.c (process_section_groups): Continue processing groups
769 when sh_entsize exceeds group size.
770
771 2019-05-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
772
773 * readelf.c (get_aarch64_dynamic_type): Handle DT_AARCH64_VARIANT_PCS.
774 (get_aarch64_symbol_other): New, handles STO_AARCH64_VARIANT_PCS.
775 (get_symbol_other): Call get_aarch64_symbol_other.
776
777 2019-05-24 Alan Modra <amodra@gmail.com>
778
779 * objdump.c (disassemble_bytes): Set WIDE_OUTPUT in flags.
780
781 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
782
783 * MAINTAINERS: Add myself as the maintainer for BPF.
784
785 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
786
787 * readelf.c: Include elf/bpf.h.
788 (guess_is_rela): Hanle EM_BPF.
789 (dump_relocations): Likewise.
790 (is_32bit_abs_reloc): Likewise.
791 * testsuite/binutils-all/nm.exp: Add bpf-*-* to the list of
792 ELF targets.
793
794 2019-05-21 Tamar Christina <tamar.christina@arm.com>
795
796 * dwarf.c (dwarf_regnames_aarch64): Add SVE registers.
797 * testsuite/binutils-all/aarch64/sve-dwarf-registers.d: New test.
798 * testsuite/binutils-all/aarch64/sve-dwarf-registers.s: New test.
799
800 2019-05-20 Faraz Shahbazker <fshahbazker@wavecomp.com>
801
802 PR 14798
803 * testsuite/binutils-all/readelf.ss-mips: Update reference output.
804 * testsuite/binutils-all/readelf.ss-tmips: Likewise.
805
806 2019-05-20 Nick Clifton <nickc@redhat.com>
807
808 * po/ca.po: Updated Catalan translation.
809
810 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
811
812 * NEWS: Mention Armv8.1-M Mainline and MVE.
813
814 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
815
816 * readelf.c (arm_attr_tag_MVE_arch): New array for Tag_MVE_arch values.
817 (arm_attr_public_tag arm_attr_public_tags): Add case for Tag_MVE_arch.
818
819 2019-05-14 Jamey Hicks <jamey.hicks@gmail.com>
820
821 PR 19921
822 * objcopy.c: Add new option --verilog-data-width. Use it to set
823 the value of VerilogDataWidth.
824 * doc/binutils.texi: Document the new option.
825 * testsuite/binutils-all/objcopy.exp: Run tests of new option.
826 * testsuite/binutils-all/verilog-1.hex: New file.
827 * testsuite/binutils-all/verilog-2.hex: New file.
828 * testsuite/binutils-all/verilog-4.hex: New file.
829 * testsuite/binutils-all/verilog-8.hex: New file.
830 * NEWS: Mention the new feature.
831
832 2019-05-10 Alan Modra <amodra@gmail.com>
833
834 * testsuite/binutils-all/objdump.exp (test_objdump_disas_limited),
835 (test_objdump_content_limited): Add text arg, use in place of .text.
836 (bintest_signed.o): Call get_standard_section_names for name of
837 text section.
838
839 2019-05-08 Faraz Shahbazker <fshahbazker@wavecomp.com>
840
841 * objdump.c (sign_extend_address): New function.
842 (dump_bfd): Sign-extend user-specified start/stop addresses
843 for targets that need it.
844 * testsuite/binutils-all/objdump.exp: Add tests for objdump
845 with start and stop addresses in higher address ranges.
846
847 2019-05-01 Matthew Malcomson <matthew.malcomson@arm.com>
848
849 * testsuite/binutils-all/objdump.exp: Correct executable
850 spelling.
851 * testsuite/binutils-all/compress.exp: Likewise.
852
853 2019-05-01 Nick Clifton <nickc@redhat.com>
854
855 PR 24507
856 * nm.c: (print_format): New variable.
857 (value_format_32bit, value_format_64bit): Delete.
858 (set_print_radix): Remove code to alter value_format strings.
859 (set_output_format): Record chosen format in print_format.
860 (get_print_format): New function - constructs a printf formatting
861 string according to the requirements of size, radix, and output
862 format.
863 (print_value): Use get_print_format.
864 * testsuite/binutils-all/nm.exp: Add tests of "nm --format=posix"
865 and "nm -t d".
866
867 2019-04-30 Alan Modra <amodra@gmail.com>
868
869 * wrstabs.c (stab_start_class_type): Add assert to work around
870 gcc9 warning. Tidy.
871
872 2019-04-24 Nick Clifton <nickc@redhat.com>
873
874 * objcopy.c (strip_main): Do not enable note merging by default if
875 just stripping debug or dwo information.
876 * doc/binutils.texi (strip): Update documentation.
877
878 2019-04-23 Nick Clifton <nickc@redhat.com>
879
880 * README-how-to-make-a-release: Add note to update the symbolic
881 link from "docs" to "docs-2.x" on the sourceware website.
882
883 2019-04-16 Alan Modra <amodra@gmail.com>
884
885 * testsuite/binutils-all/copy-2.d: Don't run for ns32k-*-*.
886 * testsuite/binutils-all/copy-3.d: Likewise.
887
888 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
889
890 * readelf.c (arm_attr_tag_CPU_arch): Add entry for Armv8.1-M Mainline.
891
892 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
893
894 * readelf.c (decode_x86_isa): Handle
895 GNU_PROPERTY_X86_ISA_1_AVX512_BF16.
896 * testsuite/binutils-all/i386/pr21231b.d: Updated.
897 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
898
899 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
900
901 * testsuite/binutils-all/nm.exp: Count i386-moss as ELF.
902
903 2019-03-26 Tamar Christina <tamar.christina@arm.com>
904
905 * testsuite/binutils-all/aarch64/in-order-all.d: Update.
906 * testsuite/binutils-all/aarch64/in-order.d: Likewise.
907 * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
908 * testsuite/binutils-all/aarch64/out-of-order.d: Likewise.
909 * testsuite/binutils-all/aarch64/out-of-order.s: Likewise.
910 * testsuite/binutils-all/arm/in-order-all.d: Likewise.
911 * testsuite/binutils-all/arm/in-order.d: Likewise.
912 * testsuite/binutils-all/arm/out-of-order-all.d: Likewise.
913 * testsuite/binutils-all/arm/out-of-order.d: Likewise.
914 * testsuite/binutils-all/arm/out-of-order.s: Likewise.
915
916 2019-03-26 Nick Clifton <nickc@redhat.com>
917
918 * MAINTAINERS: Take over Dave Brolley's maintainerships for FR30,
919 FRV and MEP.
920
921 2019-03-26 Alan Modra <amodra@gmail.com>
922
923 * objdump.c (dump_relocs_in_section): Warning fix.
924
925 2019-03-25 Tamar Christina <tamar.christina@arm.com>
926
927 * testsuite/binutils-all/arm/in-order-all.d: New test.
928 * testsuite/binutils-all/arm/in-order.d: New test.
929 * testsuite/binutils-all/arm/objdump.exp: Support .d tests.
930 * testsuite/binutils-all/arm/out-of-order-all.d: New test.
931 * testsuite/binutils-all/arm/out-of-order.T: New test.
932 * testsuite/binutils-all/arm/out-of-order.d: New test.
933 * testsuite/binutils-all/arm/out-of-order.s: New test.
934
935
936 2019-03-25 Tamar Christina <tamar.christina@arm.com>
937
938 * testsuite/binutils-all/aarch64/in-order-all.d: New test.
939 * testsuite/binutils-all/aarch64/out-of-order-all.d: New test.
940 * testsuite/binutils-all/aarch64/out-of-order.d:
941
942 2019-03-25 Tamar Christina <tamar.christina@arm.com>
943
944 * testsuite/binutils-all/aarch64/in-order.d: New test.
945 * testsuite/binutils-all/aarch64/out-of-order.d: Disassemble data as
946 well.
947
948 2019-03-25 Tamar Christina <tamar.christina@arm.com>
949
950 * objdump.c (disassemble_bytes): Pass stop_offset.
951 * testsuite/binutils-all/aarch64/out-of-order.T: New test.
952 * testsuite/binutils-all/aarch64/out-of-order.d: New test.
953 * testsuite/binutils-all/aarch64/out-of-order.s: New test.
954
955 2019-03-19 Nick Clifton <nickc@redhat.com>
956
957 PR 24360
958 * objdump.c (load_specific_debug_section): Check that the amount
959 of memory to be allocated matches the size of the section.
960
961 2019-03-13 Sudakshina Das <sudi.das@arm.com>
962
963 * readelf.c (get_aarch64_dynamic_type): Add case for
964 DT_AARCH64_PAC_PLT.
965 (dynamic_section_aarch64_val): Likewise.
966
967 2019-03-13 Sudakshina Das <sudi.das@arm.com>
968 Szabolcs Nagy <szabolcs.nagy@arm.com>
969
970 * readelf.c (get_aarch64_dynamic_type): New.
971 (get_dynamic_type): Use above for EM_AARCH64.
972 (dynamic_section_aarch64_val): New.
973 (process_dynamic_section): Use above for EM_AARCH64.
974
975 2019-03-13 Sudakshina Das <sudi.das@arm.com>
976
977 * readelf.c (decode_aarch64_feature_1_and): New.
978 (print_gnu_property_note): Add case for AArch64 gnu notes.
979
980 2019-03-12 Alan Modra <amodra@gmail.com>
981
982 * objdump.c (load_specific_debug_section): Don't compare section
983 size against file size.
984 (dump_relocs_in_section): Don't compare reloc size against file size.
985 Print "failed to read relocs" on bfd_get_reloc_upper_bound error.
986
987 2019-03-05 Nick Clifton <nickc@redhat.com>
988
989 PR 24295
990 * doc/binutils.texi (ar cmdline): Fix spelling mistake.
991
992 2019-03-05 Nick Clifton <nickc@redhat.com>
993
994 * po/sv.po: Updated Swedish translation.
995
996 2019-03-05 Matthew Malcomson <matthew.malcomson@arm.com>
997
998 PR 24287
999 * testsuite/lib/binutils-common.exp (run_dump_test): Replace a use
1000 of "lmap" with a "foreach" loop.
1001
1002 2019-03-04 Nick Clifton <nickc@redhat.com>
1003
1004 PR 24281
1005 * objcopy.c (copy_archive): Do not copy thin archives.
1006
1007 2019-02-27 Matthew Malcomson <matthew.malcomson@arm.com>
1008
1009 * testsuite/lib/binutils-common.exp: Allow multiple "as" lines.
1010
1011 2019-02-25 Nick Clifton <nickc@redhat.com>
1012
1013 * objdump.c (sym_ok): New function.
1014 (find_symbol_for_address): Use new function.
1015 (disassemble_section): Compare sections by name, not pointer.
1016 (dump_dwarf): Move code to initialise byte_get pointer and iterate
1017 over separate debug files from here to ...
1018 (dump_bfd): ... here. Add parameter indicating that a separate
1019 debug info file is being dumped. For main file, pull in the
1020 symbol tables from all separate debug info files.
1021 (display_object): Update call to dump_bfd.
1022 * doc/binutils.texi: Document extened behaviour of the
1023 --dwarf=follow-links option.
1024 * NEWS: Mention this new feature.
1025 * testsuite/binutils-all/objdump.WK2: Update expected output.
1026 * testsuite/binutils-all/objdump.exp (test_follow_debuglink): Add
1027 options and dump file parameters.
1028 Add extra test.
1029 * testsuite/binutils-all/objdump.WK3: New file.
1030 * testsuite/binutils-all/readelf.exp: Change expected output for
1031 readelf -wKis test.
1032 * testsuite/binutils-all/readelf.wKis: New file.
1033
1034 2019-02-22 Nick Clifton <nickc@redhat.com>
1035
1036 PR 23843
1037 * dwarf.h (struct separate_info): New structure for containing
1038 information on separate debug info files.
1039 * dwarf.c (struct dwo_info): New structure for containing dwo
1040 links.
1041 (first_dwo_info): Chain of dwo_info structures.
1042 (first_separate_file): Chain of separate_info structures.
1043 (separate_debug_file, separate_debug_filename): Delete.
1044 (fetch_alt_indirect_string): Scan all separate debug info files
1045 for the requested string.
1046 (add_dwo_info): New function.
1047 (add_dwo_name): New function.
1048 (add_dwo_dir): New function.
1049 (add_dwo_id: New function.
1050 (free_dwo_info): New function.
1051 (read_and_display_attr_value): Store DWO data using the new
1052 functions.
1053 (load_debug_section_with_follow): If necessary, scan the list of
1054 separate debug info files for the requested section.
1055 (add_separate_debug_file): New function.
1056 (load_separate_debug_info): Call add_separate_debug_file to store
1057 the information on the newly loaded file.
1058 (load_dwo_file): Likewise.
1059 (load_separate_debif_file): Rename to load_separate_debug_files.
1060 Change return type to boolean. If following links then attempt to
1061 load all separate debug info files, not just the first one.
1062 (free_debug_memory): Release memory in dwo_info and separate_info
1063 chains.
1064 * objdump.c (dump_dwarf): Iterate over all loaded debg info files.
1065 * readelf.c (process_object): Likewise.
1066 * doc/debug.options.texi: Update descriptions of links and
1067 follow-links options.
1068 * testsuite/binutils-all/objdump.WK2: Update expected output.
1069 * testsuite/binutils-all/readelf.k2: Likewise.
1070 * NEWS: Announce the new feature.
1071
1072 2019-02-21 Nick Clifton <nickc@redhat.com>
1073
1074 PR 24247
1075 * unwind-ia64.c: Include sysdep.h.
1076 (unw_decode_x1): Check current pointer against end pointer before
1077 accessing memory.
1078 (unw_decode_x2): Likewise.
1079 (unw_decode_x3): Likewise.
1080 (unw_decode_x4): Likewise.
1081 (unw_decode_r2): Likewise.
1082 (unw_decode_p2_p5): Likewise.
1083 (unw_decode_p7_p10): Likewise.
1084 (unw_decode): Likewise.
1085
1086 2019-02-20 Nick Clifton <nickc@redhat.com>
1087
1088 PR 24246
1089 * readelf.c (print_stapsdt_note): Harden against corrupt notes.
1090
1091 PR 24244
1092 * unwind-ia64.c (unw_decode_uleb128): Add end parameter, use it to
1093 prevent walking off the end of the buffer.
1094 (unw_decode_x1): Add end paramter, pass it to unw_decode_uleb128.
1095 (unw_decode_x2): Likewise.
1096 (unw_decode_x3): Likewise.
1097 (unw_decode_x4): Likewise.
1098 (unw_decode_r2): Pass the end parameter to unw_decode_uleb128.
1099 (unw_decode_r3): Likewise.
1100 (unw_decode_p7_p10): Likewise.
1101 (unw_decode_b2): Likewise.
1102 (unw_decode_b3_x4): Likewise.
1103
1104 PR 24243
1105 * readelf.c (process_mips_specific): Check for an options section
1106 that is too small to even contain a single option.
1107
1108 PR 24242
1109 * readelf.c (print_ia64_vms_note): Harden against corrupt notes.
1110
1111 2019-02-20 Alan Modra <amodra@gmail.com>
1112
1113 PR 24132
1114 PR 24138
1115 * readelf.c (get_data): Avoid possibility of overflow when
1116 checking for a read that may extend past end of file.
1117 (process_program_headers): Likewise.
1118
1119 2019-02-20 Alan Modra <amodra@gmail.com>
1120
1121 PR 24233
1122 * objdump.c (dump_bfd_private_header): Print warning if
1123 bfd_print_private_bfd_data returns false.
1124
1125 2019-02-12 Nick Clifton <nickc@redhat.com>
1126
1127 PR 23440
1128 * README-how-to-make-a-release: Use git clean to delete spurious
1129 files from the local source repository.
1130
1131 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1132
1133 * size.c (berkeley_format): Delete.
1134 (enum output_format): New enum.
1135 (selected_output_format): New variable.
1136 (usage): Update to mention GNU format.
1137 (main): Update to extract options, and select format as needed.
1138 Handle GNU format where needed.
1139 (berkeley_sum): Renamed to...
1140 (berkeley_or_gnu_sum): ...this, and updated to handle both formats.
1141 (berkeley_format): Renamed to...
1142 (berkeley_or_gnu_format): ...this, and updated to handle both
1143 formats.
1144 (print_sizes): Handle GNU format.
1145 * doc/binutils.texi (size): Document new GNU format.
1146 * testsuite/binutils-all/size.exp: Add test of extended
1147 functionality.
1148 * NEWS: Mention new functionality.
1149
1150 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1151
1152 * doc/binutils.texi (size): Update example output for Berkeley
1153 format output.
1154
1155 2019-02-07 Nick Clifton <nickc@redhat.com>
1156
1157 * README-how-to-make-a-release: Add a note about updating the
1158 obsolete targets in the bfd/config.bfd file.
1159
1160 2019-02-04 Nick Clifton <nickc@redhat.com>
1161
1162 * README-how-to-make-a-release: Add more notes on making a release.
1163
1164 2019-01-25 Nick Clifton <nickc@redhat.com>
1165
1166 PR 24131
1167 * readelf.c (process_notes_at): Prevent an illegal memory access
1168 when the note's namesize is zero.
1169 (decode_tic6x_unwind_bytecode): Add code to handle the case where
1170 no registers are specified in a frame pop instruction.
1171
1172 2019-01-25 Nick Clifton <nickc@redhat.com>
1173
1174 * po/bg.po: Updated Bulgarian translation.
1175
1176 2019-01-23 Nick Clifton <nickc@redhat.com>
1177
1178 * po/fr.po: Updated French translation.
1179 * po/pt.po: Updated Portuguese translation.
1180
1181 2019-01-21 Nick Clifton <nickc@redhat.com>
1182
1183 * po/uk.po: Updated Ukranian translation.
1184
1185 2019-01-19 Nick Clifton <nickc@redhat.com>
1186
1187 * configure: Regenerate.
1188 * binutils/po/binutils.pot.
1189
1190 * README-how-to-make-a-release: Update description on how to make
1191 a branch.
1192
1193 2018-06-24 Nick Clifton <nickc@redhat.com>
1194
1195 2.32 branch created.
1196
1197 2019-01-17 Nick Clifton <nickc@redhat.com>
1198
1199 * objdump.c (disassemble_section): When disassembling from a
1200 symbol only stop at the next symbol if the original symbol was not
1201 a function symbol. Otherwise continue disassembling until a new
1202 function is reached.
1203 * testsuite/binutils-all/objdump.exp: Add tests of extended
1204 functionality.
1205 * testsuite/binutils-all/disasm.s: New test source file.
1206
1207 2019-01-16 Kito Cheng <kito@andestech.com>
1208 Nelson Chu <nelson@andestech.com>
1209
1210 * readelf.c (get_riscv_section_type_name): New function.
1211 (get_section_type_name): Add handler for RISC-V.
1212 (riscv_attr_tag_t): Declare.
1213 (riscv_attr_tag): New.
1214 (display_riscv_attribute): New function.
1215 (process_attributes): Add handler for RISC-V.
1216 * testsuite/binutils-all/strip-3.d: Remove .riscv.attribute
1217 section.
1218
1219 2019-01-10 Nick Clifton <nickc@redhat.com>
1220
1221 PR 23963
1222 * objdump.c (sanitize_string): New function. Removes control
1223 characters from symbol names.
1224 (dump_section_header): Use new function.
1225 (objdump_print_symname): Likewise.
1226 (objdump_print_addr_with_sym): Likewise.
1227 (show_line): Likewise.
1228 (disassemble_bytes): Likewise.
1229 (disassemble_section): Likewise.
1230 (load_specific_debug_section): Likewise.
1231 (read_section_stabs): Likewise.
1232 (print_section_stabs): Likewise.
1233 (dump_section): Likewise.
1234 (dump_reloc_set): Likewise.
1235 (dump_relocs_in_section): Likewise.
1236 (dump_bfd): Likewise.
1237 (display_any_bfd): Likewise.
1238
1239 2019-01-09 Nick Clifton <nickc@redhat.com>
1240
1241 PR 24049
1242 * readelf.c (process_archive): Use arch.file_name in error
1243 messages until the qualified name is available.
1244
1245 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
1246
1247 * configure: Regenerate.
1248
1249 2019-01-09 Alan Modra <amodra@gmail.com>
1250
1251 * testsuite/binutils-all/cxxfilt.exp: Pass --no-strip-underscores
1252 unconditionally to tests needing the option rather than via a
1253 list of targets.
1254
1255 2019-01-08 Nick Clifton <nickc@redhat.com>
1256
1257 PR 24044
1258 * cxxfilt.c (hp_symbol_characters): Delete.
1259 (main): Remove depcreated demangling styles.
1260 * stabs.c (parse_stab_argtypes): Remove support for old gnu v2
1261 demangling opnames.
1262 * testsuite/binutils-all/cxxfilt.exp: Use the
1263 --no-strip-underscore option for targets that do prefix their
1264 symbols with underscores.
1265 Update tests to eliminate those that use gnu v2 encoding.
1266
1267 2019-01-08 Tamar Christina <tamar.christina@arm.com>
1268
1269 PR 24065
1270 * testsuite/binutils-all/copy-6.d: New test.
1271 * testsuite/binutils-all/objcopy.exp: Use it.
1272
1273 2019-01-08 Alan Modra <amodra@gmail.com>
1274
1275 * testsuite/lib/binutils-common.exp (run_dump_test): Don't prepend
1276 $srcdir/$subdir to source file name if it starts with "./".
1277
1278 2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
1279
1280 * readelf.c (get_machine_flags): Add RXv3 output.
1281
1282 2019-01-04 Nick Clifton <nickc@redhat.com>
1283
1284 PR 24005
1285 * objdump.c (load_specific_debug_section): Check for integer
1286 overflow before attempting to allocate contents.
1287
1288 2019-01-04 Nick Clifton <nickc@redhat.com>
1289
1290 PR 24001
1291 * objcopy.c (copy_object): Free dhandle after writing out the
1292 debug information.
1293 * objdump.c (dump_bfd): Free dhandle after printing out the debug
1294 information.
1295
1296
1297 2019-01-01 Alan Modra <amodra@gmail.com>
1298
1299 Update year range in copyright notice of all files.
1300
1301 For older changes see ChangeLog-2018
1302 \f
1303 Copyright (C) 2019 Free Software Foundation, Inc.
1304
1305 Copying and distribution of this file, with or without modification,
1306 are permitted in any medium without royalty provided the copyright
1307 notice and this notice are preserved.
1308
1309 Local Variables:
1310 mode: change-log
1311 left-margin: 8
1312 fill-column: 74
1313 version-control: never
1314 End:
This page took 0.0598 seconds and 5 git commands to generate.