1 2017-12-19 Alan Modra <amodra@gmail.com>
3 * testsuite/binutils-all/ar.exp (unique_symbol): Don't run AR
5 * testsuite/binutils-all/arc/objdump.exp (check_assembly): If
6 objfile is empty, fail test.
7 * testsuite/binutils-all/arm/objdump.exp: Don't return if assembly
8 fails for a test, continue on to other tests.
9 * testsuite/binutils-all/bfin/objdump.exp: Likewise.
10 * testsuite/binutils-all/hppa/objdump.exp: Likewise.
11 * testsuite/binutils-all/m68k/objdump.exp: Likewise.
12 * testsuite/binutils-all/vax/objdump.exp: Likewise.
13 * testsuite/binutils-all/size.exp: Likewise.
14 * testsuite/binutils-all/nm.exp: Likewise. Move PR12753 test.
15 * testsuite/binutils-all/objcopy.exp: Don't perror on assembly fail.
16 * testsuite/binutils-all/objdump.exp: Report assembly fails.
18 2017-12-18 Nick Clifton <nickc@redhat.com>
21 * dwarf.c (read_and_display_attr_value): Add attributes that might
22 use the DW_FORM_exprloc form, and if so, display the decoded
23 location expression list.
25 2017-12-14 Alan Modra <amodra@gmail.com>
27 * testsuite/lib/utils-lib.exp (default_binutils_assemble_flags):
28 Don't perror on assembler diagnostic output.
29 * testsuite/binutils-all/nm.exp: Run unique symbol test on all
30 ELF targets. Resolve as "unsupported" on assembly failure.
32 2017-12-11 Renlin Li <renlin.li@arm.com>
34 * testsuite/binutils-all/aarch64/objdump.d: New.
35 * testsuite/binutils-all/aarch64/objdump.s: New.
37 2017-12-08 Nick Clifton <nickc@redhat.com>
39 * objcopy.c (copy_relocations_in_section): Use the orelocations
40 field of the input section, if it has been initialised.
41 * testsuite/binutils-all/note-2-64.d: Skip test on Sparc64.
43 2017-12-06 Jim Wilson <jimw@sifive.com>
46 * objcopy.c (copy_section): New local extra. If isection->lma not
47 exactly divisible by interleave, then bias from. Also adjust
48 osection->lma if necessary.
50 2017-12-06 Alan Modra <amodra@gmail.com>
53 * readelf.c (process_file_header): Don't assume XINDEX case
54 value for e_shstrndx is within bounds.
55 (load_debug_section): Sanity test e_shstrndx before attempting
56 to read .shstrtab. Wrap long lines.
58 2017-12-01 Oleksandr Pikozh <o.pikozh@gmail.com>
60 * doc/binutils.texi: Add --strip-unneeded to objcopy synopsis.
62 2017-11-30 Nick Clifton <nickc@redhat.com>
65 * readelf.c (load_debug_section): Fail if there are no section
68 2017-11-29 Nick Clifton <nickc@redhat.com>
71 * objdump.c (dump_relocs_in_section): Also check the section's
72 relocation count to make sure that it is reasonable before
73 attempting to allocate space for the relocs.
75 2017-11-29 Stefan Stroe <stroestefan@gmail.com>
77 * po/Make-in (datadir): Define as @datadir@.
78 (localedir): Define as @localedir@.
79 (gnulocaledir, gettextsrcdir): Use @datarootdir@.
81 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
84 * readelf.c (process_notes_at): Add an argument for note
85 alignment. If note alignment is less than 4, use 4 byte
86 alignment. Otherwise, skip notes if alignment isn't 4 nor
88 (process_corefile_note_segments): Pass segment alignment to
90 (process_note_sections): Pass section alignment to
92 (process_object): Call load_separate_debug_file only if
93 e_shstrndx != SHN_UNDEF.
95 2017-11-27 Nick Clifton <nickc@redhat.com>
98 * readelf.c (dump_section_as_bytes): Check for a NULL string
100 (process_notes_at): Compute the alignment to use if displaying
101 notes from a segment.
103 2017-11-26 H.J. Lu <hongjiu.lu@intel.com>
105 * dwarf.c (load_separate_debug_info): Rename argument name from
108 2017-11-24 H.J. Lu <hongjiu.lu@intel.com>
111 * readelf.c (process_notes_at): Use ELF_NOTE_DESC_OFFSET to get
112 the offset of the note descriptor. Use ELF_NOTE_NEXT_OFFSET to
113 get the offset of the next note entry.
115 2017-11-23 Pavel I. Kryukov <kryukov@frtk.ru>
118 * readelf.c (process_archive): Use memset to initiaise
119 thin_filedata structure.
121 2017-11-21 H.J. Lu <hongjiu.lu@intel.com>
124 * testsuite/binutils-all/x86-64/objects.exp: New file.
125 * testsuite/binutils-all/x86-64/pr22451.o.bz2: Likewise.
127 2017-11-21 Claudiu Zissulescu <claziss@synopsys.com>
129 * testsuite/binutils-all/arc/objdump.exp: Update pattern matching
132 2017-11-21 Nick Clifton <nickc@redhat.com>
134 * dwarf.c (dwo_name, dwo_dir, dwo_id, dwo_id_len): New variables.
135 (read_and_display_attr_value): Record dwo variables if requested.
136 (display_augmentation_data): Rename to display_data and make
138 (load_dwo_file): New function. Loads a separate dwarf object
140 (load_separate_debug_file): Add reporting and loading of separate
142 * readelf.c (process_section_headers): Add do_debug_links to list
143 of flags requiring a debug dump.
144 (display_debug_section): Tidy up code.
145 * doc/debug.options.texi: Add note that dwo links will also be
147 * testsuite/binutils-all/debuglink.s: Tidy code.
148 * testsuite/binutils-all/dwo.s: New test file.
149 * testsuite/binutils-all/readelf.wk2: New file - expected output
151 * testsuite/binutils-all/readelf.exp: Run the new test.
153 2017-11-18 Alan Modra <amodra@gmail.com>
156 * nm.c (sort_symbols_by_size): Don't attempt to access
157 section symbol internal_elf_sym.
158 (print_symbol): Likewise. Don't call bfd_get_symbol_version_string
160 * objdump.c (compare_symbols): Don't attempt to access
161 section symbol internal_elf_sym.
162 (objdump_print_symname): Don't call bfd_get_symbol_version_string
165 2017-11-17 Jim Wilson <jimw@sifive.com>
167 * readelf.c (elf/riscv.h): Alphabetize include.
168 (is_32bit_inplace_add_reloc, is_32bit_inplace_sub_reloc)
169 (is_64bit_inplace_add_reloc, is_64bit_inplace_sub_reloc)
170 (is_16bit_inplace_add_reloc, is_16bit_inplace_sub_reloc)
171 (is_8bit_inplace_add_reloc, is_8bit_inplace_sub_reloc): New.
172 (apply_relocations): New locals reloc_inplace and reloc_subtract.
173 Call the new functions and set the new locals. Call byte_get if
174 reloc_inplace. Subtract sym->st_value if reloc_subtract.
176 2017-11-17 Nick Clifton <nickc@redhat.com>
179 * ar.c (write_archive): Free the temporary file name.
181 2017-11-17 Nick Clifton <nickc@redhat.com>
183 * readelf.c (process_archive): Include member name in the
184 file_name of the filedata structure.
186 2017-11-15 Alan Modra <amodra@gmail.com>
189 * objcopy.c (copy_main): Free tmpname.
191 2017-11-15 Nick Clifton <nickc@redhat.com>
194 * dwarf.h (enum dwarf_section_display_enum): Add gnu_debuglink,
195 gnu_debugaltlink and separate_debug_str.
196 (struct dwarf_section): Add filename field.
197 Add prototypes for load_separate_debug_file, close_debug_file and
199 * dwarf.c (do_debug_links): New.
200 (do_follow_links): New.
201 (separate_debug_file, separate_debug_filename): New.
202 (fetch_alt_indirect_string): New function. Retrieves a string
203 from the debug string table in the separate debug info file.
204 (read_and_display_attr_value): Use it with DW_FORM_GNU_strp_alt.
205 (load_debug_section_with_follow): New function. Like
206 load_debug_section, but if the first attempt fails, then tries
207 again in the separate debug info file.
208 (introduce): New function.
209 (process_debug_info): Use load_debug_section_with_follow and
211 (load_debug_info): Likewise.
212 (display_debug_lines_raw): Likewise.
213 (display_debug_lines_decoded): Likewise.
214 (display_debug_macinfo): Likewise.
215 (display_debug_macro): Likewise.
216 (display_debug_abbrev): Likewise.
217 (display_debug_loc): Likewise.
218 (display_debug_str): Likewise.
219 (display_debug_aranges): Likewise.
220 (display_debug_addr); Likewise.
221 (display_debug_frames): Likewise.
222 (display_gdb_index): Likewise.
223 (process_cu_tu_index): Likewise.
224 (load_cu_tu_indexes): Likewise.
225 (display_debug_links): New function. Displays the contents of a
226 .gnu_debuglink or .gnu_debugaltlink section.
227 (calc_gnu_debuglink_ctc32):New function. Calculates a CRC32
229 (check_gnu_debuglink): New function. Checks the CRC of a
230 potential separate debug info file.
231 (parse_gnu_debuglink): New function. Reads a CRC value out of a
232 .gnu_debuglink section.
233 (check_gnu_debugaltlink): New function.
234 (parse_gnu_debugaltlink): New function. Reads the build-id value
235 out of a .gnu_debugaltlink section.
236 (load_separate_debug_info): New function. Finds and loads a
237 separate debug info file.
238 (load_separate_debug_file): New function. Attempts to find and
239 follow a link to a separate debug info file.
240 (free_debug_memory): Free the separate debug info file
242 (opts_table): Add "follow-links" and "links".
243 (dwarf_select_sections_by_letters): Add "k" and "K".
244 (debug_displays): Reformat. Add .gnu-debuglink and
246 Add an extra entry for .debug_str in a separate debug info file.
247 * doc/binutils.texi: Move description of debug dump features
248 common to both readelf and objdump into...
249 * objdump.c (usage): Add -Wk and -WK.
250 (load_specific_debug_section): Initialise the filename field in
251 the dwarf_section structure.
252 (close_debug_file): New function.
253 (open_debug_file): New function.
254 (dump_dwarf): Load and dump the separate debug info sections.
255 * readelf.c (struct filedata): New structure. Contains various
256 variables that used to be global:
257 (current_file_size, string_table, string_table_length, elf_header)
258 (section_headers, program_headers, dump_sects, num_dump_sects):
259 Move into filedata structure.
260 (cmdline): New global variable. Contains list of sections to dump
261 by number, as specified on the command line.
262 Add filedata parameter to most functions.
263 (load_debug_section): Load the string table if it has not already
265 (close_file): New function.
266 (close_debug_file): New function.
267 (open_file): New function.
268 (open_debug_file): New function.
269 (process_object): Process sections in any separate debug info files.
270 * doc/debug.options.texi: New file. Add description of =links and
271 =follow-links options.
272 * NEWS: Mention the new feature.
273 * elfcomm.c: Have the byte get functions take a const pointer.
274 * elfcomm.h: Update prototypes.
275 * testsuite/binutils-all/dw5.W: Update expected output.
276 * testsuite/binutils-all/objdump.WL: Update expected output.
277 * testsuite/binutils-all/objdump.exp: Add test of -WK and -Wk.
278 * testsuite/binutils-all/readelf.exp: Add test of -wK and -wk.
279 * testsuite/binutils-all/readelf.k: New file.
280 * testsuite/binutils-all/objdump.Wk: New file.
281 * testsuite/binutils-all/objdump.WK2: New file.
282 * testsuite/binutils-all/linkdebug.s: New file.
283 * testsuite/binutils-all/debuglink.s: New file.
285 2017-11-10 Jim Wilson <jimw@sifive.com>
287 * testsuite/binutils-all/objdump.exp: Expect the debug_ranges test to
290 2017-11-07 Jim Wilson <jimw@sifive.com>
292 * MAINTAINERS (RISC-V): Fix typo in my email address.
294 2017-11-07 Palmer Dabbelt <palmer@sifive.com>
296 * MAINTAINERS (RISC-V): Add Jim Wilson as a maintainer.
297 Clean up Andrew's entry (remove trailing space, add tabs).
298 Change Palmer's email address, and clean up entry (add tabs).
300 2017-11-07 Alan Modra <amodra@gmail.com>
302 * dwarf.c (read_uleb128): Properly pluralize messages.
303 (display_debug_lines_raw, display_debug_loc): Likewise.
304 (display_debug_names, process_cu_tu_index): Likewise.
305 * od-macho.c (dump_code_signature_superblob): Likewise.
306 * readelf.c (process_program_headers): Likewise.
307 (process_section_header, process_relocs): Likewise.
308 (hppa_process_unwind, arm_process_unwind): Likewise.
309 (process_dynamic_section, process_version_sections): Likewise.
310 (process_symbol_table, process_syminfo): Likewise.
311 (apply_relocations, process_mips_specific): Likewise.
312 (process_gnu_liblist, process_notes_at): Likewise.
313 (process_archive): Likewise.
314 * testsuite/binutils-all/dw2-1.W,
315 * testsuite/binutils-all/dw2-3.W,
316 * testsuite/binutils-all/dw2-3gabi.W,
317 * testsuite/binutils-all/dw5.S,
318 * testsuite/binutils-all/dw5.W,
319 * testsuite/binutils-all/i386/compressed-1a.d,
320 * testsuite/binutils-all/libdw2-compressedgabi.out,
321 * testsuite/binutils-all/objdump.W,
322 * testsuite/binutils-all/readelf.r,
323 * testsuite/binutils-all/readelf.r-64,
324 * testsuite/binutils-all/x86-64/compressed-1a.d: Update
325 for pluralization fixes.
327 2017-11-07 Alan Modra <amodra@gmail.com>
329 * sysdep.h (textdomain, bindtextdomain): Use safer "do nothing".
330 (ngettext, dngettext, dcngettext): Define when !ENABLE_NLS.
332 2017-11-03 Claudiu Zissulescu <claziss@synopsys.com>
334 * doc/binutils.texi (ARC): Update disassembler options.
335 * testsuite/binutils-all/arc/hexprint.s: New file.
336 * testsuite/binutils-all/arc/objdump.exp: Test hex printing
339 2017-11-03 Mingi Cho <mgcho.minic@gmail.com>
340 Nick Clifton <nickc@redhat.com>
343 * dwarf.c (read_cie): Use bfd_size_type for
344 augmentation_data_len.
345 (display_augmentation_data): New function.
346 (display_debug_frames): Use it.
347 Check for integer overflow when testing augmentation_data_len.
349 2017-11-02 Mingi Cho <mgcho.minic@gmail.com>
352 * readelf.c (print_gnu_property_note): Improve overflow checks so
353 that they will work on a 32-bit host.
355 2017-11-01 James Bowman <james.bowman@ftdichip.com>
357 * readelf.c (is_16bit_abs_reloc): Add entry for FT32.
359 2017-10-31 Nick Clifton <nickc@redhat.com>
361 * readelf.c (process_relocs): Tell users if no static relocs were
362 found, but if they had added --use-dynamic to the command line
363 then relocs would have been displayed.
365 2017-10-28 Alan Modra <amodra@gmail.com>
368 * readelf.c (process_archive_index_and_symbols): Ensure ar_size
369 field is zero terminated for strtoul.
370 (setup_archive, get_archive_member_name): Likewise.
372 2017-10-27 Simon Marchi <simon.marchi@ericsson.com>
374 * dwarf.c (struct Frame_Chunk) <cfa_reg>: Change type to
376 (display_debug_frames): Read CFA reg as an unsigned number.
378 2017-10-25 Alan Modra <amodra@gmail.com>
380 * nm.c (filter_symbols): Match "__gnu_lto_slim" optionally prefixed
383 2017-10-18 Eric Botcazou <ebotcazou@adacore.com>
385 * MAINTAINERS: Add myself as Visium maintainer.
387 2017-10-18 Nick Clifton <nickc@redhat.com>
389 * README-how-to-make-a-release: A note about checking file and
390 directory permissions.
392 * MAINTAINERS: Move Svein Seldal to Past Maintainers section.
394 2017-10-18 Alan Modra <amodra@gmail.com>
397 * readelf.c (print_core_note): Ensure "count" sanity check
398 calculation doesn't overflow.
399 (process_notes_at): Perform note namesz and descsz checks
400 using unsigned comparisons against data remaining. Catch
401 alignment overflow of namesz and descsz too. Don't allocate a
402 temp for terminating "name" when there is space available
405 2017-10-17 Tom Tromey <tom@tromey.com>
407 * MAINTAINERS: Add myself as dwarf-mode.el maintainer.
409 2017-10-11 Peeter Joot <peeter.joot@lzlabs.com>
410 Nick Clifton <nickc@redhat.com>
412 * dwarf.c (read_and_display_attr_value): Handle DW_AT_endianity,
413 DW_END_default, DW_END_big, DW_END_little, DW_ATE_UCS,
414 DW_ATE_ASCII, DW_CC_pass_by_reference, DW_CC_pass_by_value,
415 DW_CC_GNU_renesas_sh, DW_CC_GNU_borland_fastcall_i386,
416 DW_AT_decimal_sign, DW_AT_defaulted, DW_AT_discr_list.
417 (get_TAG_name): Report user generated tag values.
418 * testsuite/binutils-all/dwarf-attributes.S: New test.
419 * testsuite/binutils-all/dwarf-attributes.W. Expected output from
421 * testsuite/binutils-all/readelf.exp: Run the new test.
423 2017-10-10 Tom Tromey <tom@tromey.com>
425 * dwarf-mode.el: Bump to version 1.4.
427 2017-10-10 Tom Tromey <tom@tromey.com>
429 * dwarf-mode.el (dwarf--process, dwarf--deletion-region): New
431 (dwarf--check-running, dwarf--sentinel, dwarf--invoke)
432 (dwarf--filter): New functions.
433 (dwarf-do-insert-substructure, dwarf-do-refresh): Call
434 dwarf--check-running, dwarf--invoke.
435 (dwarf-browse): Initialize new variables.
437 2017-10-10 Tom Tromey <tom@tromey.com>
439 * dwarf-mode.el: Set lexical-binding.
441 2017-10-10 Tom Tromey <tom@tromey.com>
443 * dwarf-mode.el (dwarf-mode-map): New defvar.
445 2017-10-10 Tom Tromey <tromey@sourceware.org>
448 * dwarf.c (process_debug_info): Skip any comp unit that ends
449 before dwarf_start_die.
451 2017-10-06 Alan Modra <amodra@gmail.com>
453 * dwarf.c (process_debug_info): Consolidate header length checks.
454 (display_debug_pubnames_worker): Use "start" to read header.
455 Properly check header length and report errors earlier.
456 Simplify loop printing pubnames.
457 (get_line_filename_and_dirname): Catch small negative "length"
459 (display_debug_aranges): Likewise. Report header errors
460 earlier using standardized message.
461 (display_debug_names): Likewise.
463 2017-10-05 Joseph Myers <joseph@codesourcery.com>
465 * readelf.c (decode_arm_unwind): Initialize res to TRUE.
467 2017-10-05 Nick Clifton <nickc@redhat.com>
470 * objcopy.c (strip_main): Add 'M' character to short options list
471 when calling getopt_long.
473 2017-10-05 Nick Clifton <nickc@redhat.com>
476 * readelf.c (dump_relocations): Do not truncate reloc names when
477 displaying output in wide mode.
479 2017-10-05 Nick Clifton <nickc@redhat.com>
481 * README-how-to-make-a-release: Merge steps 3, 4 and 5, and insert
482 the git tag operation at the correct location.
484 2017-10-05 Alan Modra <amodra@gmail.com>
487 * dwarf.c (read_cie): Don't compare "start" and "end" pointers
488 after adding a possibly wild length to "start", compare the length
489 to the difference of the pointers instead. Remove now redundant
490 "negative" length test.
492 2017-10-05 Tristan Gingold <tgingold@free.fr>
494 * MAINTAINERS: Update email address. Redirect release maintainer
495 to global maitainers.
497 2017-10-01 Alan Modra <amodra@gmail.com>
501 * objdump.c (load_specific_debug_section): Introduce a temp to
502 stop bfd_get_full_section_contents NULLing out section->start.
504 2017-10-01 Alan Modra <amodra@gmail.com>
507 * objdump.c (load_specific_debug_section): Allocate an extra byte
508 for a terminating NUL.
510 2017-09-30 Alan Modra <amodra@gmail.com>
513 * objdump.c: Formatting.
514 (show_line): Reset prev_line when function name changes.
516 2017-09-27 Nick Clifton <nickc@redhat.com>
519 * dwarf.c (process_debug_info): Add a check for a negative
522 2017-09-27 Alan Modra <amodra@gmail.com>
525 * readelf.c (process_symbol_table): Check that DT_HASH symbol
526 chains are only visited once, and report an error if not. Display
527 invalid symbol index if chain is out of range. Use the same logic
528 when calculating histograms rather than the PR 17531 fix. Delete
529 bogus check that chained index is less than number of buckets.
531 2017-09-26 Nick Clifton <nickc@redhat.com>
534 * dwarf.c (get_line_filename_and_dirname): Add extra checks for
537 2017-09-26 Nick Clifton <nickc@redhat.com>
539 * README-how-to-make-a-release: New file.
541 2017-09-26 Alan Modra <amodra@gmail.com>
544 * dwarf.c (READ_ULEB): Don't use DWARF_VMA_FMT in translated string.
545 (READ_SLEB): Likewise.
546 * readelf.c (bfd_vmatoa): New function.
547 (get_data, get_dynamic_data): Use it for printing error messages.
549 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
552 * nm.c (display_rel_file): Free memory returned from
553 bfd_get_synthetic_symtab.
555 2017-09-22 Alexandre Oliva <aoliva@redhat.com>
557 * dwarf.h (debug_info): Add loc_views and num_loc_views.
558 * dwarf.c (vm1): New constant.
559 (print_dwarf_view): New function.
560 (read_and_display_attr_value): Support DW_AT_GNU_locviews.
561 (process_debug_info): Keep num_loc_offsets and num_loc_views
563 (display_view_pair_list): New function.
564 (display_loc_list_dwo): Take vstart_ptr; update it. Dump
565 location view pairs before the range they apply to, when a
566 viewlist augments the loc list.
567 (display_loc_list): Likewise. Check view numbers in range
569 (display_loclists_list): Likewise. Handle view pair entries,
570 and warn on trailing ones.
571 (loc_views): New variable.
572 (loc_offsets_compar): Compare loc_views if loc_offsets are the
574 (display_debug_loc): Check and sort loc_views too. Accept
575 loc_view as expected_start. Skip if lists and views are the
576 same. Dump locview list separately in order, and pass the
577 locview list base to each list dump function. Warn and skip
578 overlap and hole checking if we find loclists and locviews to
580 * testsuite/binutils-all/locview-1.s: New.
581 * testsuite/binutils-all/readelf.locview-1: New.
582 * testsuite/binutils-all/locview-2.s: New.
583 * testsuite/binutils-all/readelf.locview-2: New.
584 * testsuite/binutils-all/readelf.exp: Run new tests. Fix
585 option spelling in pr18374 fail message. XFAIL dw5 test on
588 2017-09-22 Alan Modra <amodra@gmail.com>
590 * testsuite/binutils-all/readelf.exp: Don't perror and exit on
591 bintest.s assembly failure. Report tests unresolved instead.
592 Likewise for version note test, pr18374, decompress, and dw5
594 (readelf_test): Set testname to include both option and binary
595 file name. Use for pass/fail.
597 2017-09-21 Maciej W. Rozycki <macro@imgtec.com>
599 * readelf.c (get_machine_flags) <E_MIPS_MACH_5900>: New case.
601 2017-09-05 Nick Clifton <nickc@redhat.com>
604 * readelf.c (process_mips_specific): Add checks for a NULL data
607 2017-09-05 Alexander Fedotov <alexander.fedotov@nxp.com>
608 Edmar Wienskoski <edmar.wienskoski@nxp.com
610 * readelf.c (get_elf_section_flags): Add VLE.
611 (process_section_headers): Add VLE key to details.
613 2017-08-25 Alan Modra <amodra@gmail.com>
616 * readelf.c (process_version_sections <SHT_GNU_verdef>): Check
617 vd_aux and vda_next for sanity. Delete "end". Correct overflow
619 (process_version_sections <SHT_GNU_verneed>): Correct overflow
620 check. Don't report invalid vna_next on overflow. Do report
621 invalid vna_next on size less than aux info.
623 2017-08-23 Alan Modra <amodra@gmail.com>
626 * readelf.c (process_version_sections <SHT_GNU_verneed>): Check
627 for invalid vn_next field before adding to idx. Use unsigned
628 long for index vars. Move index checks.
629 <SHT_GNU_verdef>: Likewise for vd_next.
631 2017-08-17 Nick Clifton <nickc@redhat.com>
633 * testsuite/binutils-all/note-3-64.s: New test. Checks assembly
634 and decoding of version2 GNU build attribute notes.
635 * testsuite/binutils-all/note-3-32.s: New test. 32-bit version of
637 * testsuite/binutils-all/note-3-64.d: New test driver.
638 * testsuite/binutils-all/note-3-32.d: New test driver.
639 * testsuite/binutils-all/objcopy.exp: Run the new test.
640 * readelf.c (is_64bit_abs_reloc): Add R_SPARC_64.
642 2017-08-14 Gustavo Romero <gromero@linux.vnet.ibm.com>
644 * readelf.c (get_note_type): Handle PPC note types available
647 2017-08-12 Alan Modra <amodra@gmail.com>
649 * readelf.c (process_note): Qualify NT_GNU_BUILD_ATTRIBUTE notes
652 2017-08-08 Nick Clifton <nickc@redhat.com>
655 * prdbg.c (pr_int_type): Increase size of local string buffer.
656 (pr_float_type): Likewise.
657 (pr_bool_type): Likewise.
659 2017-08-02 Nick Clifton <nickc@redhat.com>
662 * arsup.c (ar_addmod): Add plugin support for the MRI ADDMOD
665 2017-08-02 Nick Clifton <nickc@redhat.com>
667 * testsuite/binutils-all/objdump.exp (cpus_expected): Add am33-2.
669 2017-08-02 Alan Modra <amodra@gmail.com>
671 * readelf.c (is_32bit_abs_reloc): Add R_IA64_SECREL32MSB and
673 (is_64bit_abs_reloc): Add R_IA64_DIR64MSB.
674 (is_64bit_pcrel_reloc): Add R_IA64_PCREL64MSB.
676 2017-08-01 Nick Clifton <nickc@redhat.com>
678 * po/sv.po: Updated Swedish translation.
680 2017-07-31 Marty Plummer <ntzrmtthihu777@gmail.com>
683 * winduni.c (codepages): Use cp1252 for codepage 0.
685 2017-07-25 Nick Clifton <nickc@redhat.com>
688 * readelf.c (dump_section_as_strings): Do not fail if the section
690 (dump_section_as_bytes): Likewise.
692 2017-07-24 Nick Clifton <nickc@redhat.com>
695 * rddbg.c (read_symbol_stabs_debugging_info): Check for an empty
696 string whilst concatenating symbol names.
698 2017-07-21 Nick Clifton <nickc@redhat.com>
700 * po/fr.po: Updated French translation.
702 2017-07-21 Simon Marchi <simon.marchi@ericsson.com>
704 * dwarf.c (last_pointer_size, warned_about_missing_comp_units):
706 (load_debug_info): Remove assignments to those two variables.
708 2017-07-21 Alexandre Oliva <aoliva@redhat.com>
710 * dwarf.c (struct State_Machine_Registers): Add view field.
711 (reset_state_machine): Reset view.
712 (process_extended_line_op): Reset view when appropriate.
713 (display_debug_lines_raw): Increment or reset view when appropriate.
714 Print nonzero views. Support print view resets, disabled by default.
715 (display_debug_lines_decoded): Likewise. Disambiguate op_code tests,
716 enabling printing of end_sequence.
717 * testsuite/binutils-all/dw2-1.W: Add nonzero views.
718 * testsuite/binutils-all/dw2-3.W: Likewise.
719 * testsuite/binutils-all/dw2-3gabi.W: Likewise.
720 * testsuite/binutils-all/dw5.W: Add end sequence lines.
721 * testsuite/binutils-all/i386/compressed-1a.d: Add nonzero views.
722 * testsuite/binutils-all/libdw2-compressedgabi.out: Likewise.
723 * testsuite/binutils-all/objdump.W: Likewise.
724 * testsuite/binutils-all/objdump.WL: Add end sequence lines.
725 * testsuite/binutils-all/x86-64/compressed-1a.d: Add nonzero views.
727 2017-07-19 Tristan Gingold <gingold@adacore.com>
729 * nm.c (show_stats): Remove variable.
730 (long_options): Remove --stats option.
731 (main): Remove handling of --stats.
733 2017-07-18 Nick Clifton <nickc@redhat.com>
736 * coffgrok.c: Fix spelling typos.
737 * readelf.c: Likewise.
739 * testsuite/binutils-all/objcopy.exp: Likewise.
741 2017-07-18 Nick Clifton <nickc@redhat.com>
743 * po/sv.po: Updated Swedish translation.
745 2017-07-18 Hans-Peter Nilsson <hp@bitrange.com>
747 * dwarf.c (display_debug_names): Initialize hash_prev.
749 2017-07-17 Nick Clifton <nickc@redhat.com>
752 * ar.c (main): Skip check for no files on the command line when
755 2017-07-13 H.J. Lu <hongjiu.lu@intel.com>
757 * testsuite/binutils-all/objdump.exp: Always delete $testarchive
760 2017-07-12 Alan Modra <amodra@gmail.com>
762 * po/bg.po: Update from translationproject.org/latest/binutils/.
763 * po/ca.po: Likewise.
764 * po/da.po: Likewise.
765 * po/es.po: Likewise.
766 * po/fi.po: Likewise.
767 * po/fr.po: Likewise.
768 * po/hr.po: Likewise.
769 * po/id.po: Likewise.
770 * po/it.po: Likewise.
771 * po/ja.po: Likewise.
772 * po/ro.po: Likewise.
773 * po/ru.po: Likewise.
774 * po/sk.po: Likewise.
775 * po/sr.po: Likewise.
776 * po/sv.po: Likewise.
777 * po/tr.po: Likewise.
778 * po/uk.po: Likewise.
779 * po/vi.po: Likewise.
780 * po/zh_CN.po: Likewise.
781 * po/zh_TW.po: Likewise.
783 2017-07-12 Nick Clifton <nickc@redhat.com>
785 Fix compile time warnings using gcc 7.1.1.
786 * dwarf.c (dwarf_vmatoa_1): Do not pass a NULL string pointer to
788 * srconv.c (walk_tree_type): Initialise the spare field of the
791 2017-07-11 Andreas Schwab <schwab@suse.de>
793 * readelf.c (process_note): Print newline after description data
795 (print_core_note): Print newline if nothing was printed in wide
798 2017-07-09 Rafael Fontenelle <rafaelff@gnome.org>
800 * dwarf.c (display_formatted_table): Fix error message typo.
802 2017-07-07 John Baldwin <jhb@FreeBSD.org>
804 * readelf.c (get_freebsd_elfcore_note_type): Handle
805 NT_FREEBSD_PTLWPINFO.
807 2017-07-05 H.J. Lu <hongjiu.lu@intel.com>
809 * dwarf.c (display_debug_names): Replace index with xindex.
811 2017-07-04 Tristan Gingold <gingold@adacore.com>
813 * configure: Regenerate.
815 2017-07-04 Tristan Gingold <gingold@adacore.com>
817 * NEWS: Add marker for 2.29.
819 2017-07-03 Tristan Gingold <gingold@adacore.com>
821 * po/binutils.pot: Regenerate.
823 2017-07-03 Alan Modra <amodra@gmail.com>
825 * strings.c (filename_and_size_t): Delete.
826 (strings_a_section): Don't check section size against file size.
827 Use bdf_malloc_and_get_section. Report an error on failures.
828 Replace arg param with filename and got_a_section param.
829 (got_a_section): Move to..
830 (strings_object_file): ..an auto var here. Iterate over sections
831 rather than calling bfd_map_over_sections. Adjust strings_a_section
834 2017-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
836 * dwarf.c: Include assert.h.
837 (MAX, MIN, get_IDX_name, display_debug_names): New.
838 (debug_displays): Add .debug_names.
839 * dwarf.h: (enum dwarf_section_display_enum): Add debug_names.
840 * readelf.c (process_section_headers): Add ".debug_names".
842 2017-07-01 Alan Modra <amodra@gmail.com>
845 * objdump.c (strtab): Make var a bfd_byte*.
846 (disassemble_section): Don't limit malloc size. Instead, use
847 bfd_malloc_and_get_section.
848 (read_section_stabs): Use bfd_malloc_and_get_section. Return
850 (find_stabs_section): Remove now unnecessary cast.
851 * objcopy.c (copy_object): Use bfd_malloc_and_get_section. Free
852 contents on error return.
853 * nlmconv.c (copy_sections): Use bfd_malloc_and_get_section.
855 2017-06-30 Nick Clifton <nickc@redhat.com>
858 * objdump.c (disassemble_section): Move check for an overlarge
859 section to just before the allocation of memory. Do not check
860 section size against file size, but instead use an arbitrary 2Gb
861 limit. Issue a warning message if the section is too big.
863 2017-06-30 Maciej W. Rozycki <macro@imgtec.com>
865 * NEWS: Mention microMIPS XPA support.
867 2017-06-30 Maciej W. Rozycki <macro@imgtec.com>
869 * NEWS: Mention microMIPS Release 5 ISA support.
871 2017-06-30 Maciej W. Rozycki <macro@imgtec.com>
873 * testsuite/binutils-all/mips/mips-xpa-virt-1.d: New test.
874 * testsuite/binutils-all/mips/mips-xpa-virt-2.d: New test.
875 * testsuite/binutils-all/mips/mips-xpa-virt-3.d: New test.
876 * testsuite/binutils-all/mips/mips-xpa-virt-4.d: New test.
877 * testsuite/binutils-all/mips/mips-xpa-virt.s: New test source.
878 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
880 2017-06-29 Anton Kolesov <Anton.Kolesov@synopsys.com>
882 * testsuite/binutils-all/arc/double_store.s: New file.
883 * testsuite/binutils-all/arc/objdump.exp: Tests for disassembler
885 (do_objfile): New function.
886 (check_assembly): Likewise.
888 2017-06-29 Andreas Arnez <arnez@linux.vnet.ibm.com>
890 * readelf.c (get_note_type): Add NT_S390_GS_CB and NT_S390_GS_BC.
892 2017-06-28 H.J. Lu <hongjiu.lu@intel.com>
894 * objdump.c (dump_relocs_in_section): Cast to ufile_ptr when
895 comparing against bfd_get_file_size return.
897 2017-06-28 Nick Clifton <nickc@redhat.com>
899 * objcopy.c (merge_gnu_build_notes): Add support for version 2 notes.
900 * readelf.c (print_gnu_build_attribute_name): Likewise.
902 2017-06-28 Maciej W. Rozycki <macro@imgtec.com>
903 Matthew Fortune <matthew.fortune@imgtec.com>
905 * readelf.c (get_machine_flags) <E_MIPS_MACH_IAMR2>: New case.
906 (print_mips_isa_ext) <AFL_EXT_INTERAPTIV_MR2>: Likewise.
907 * NEWS: Mention Imagination interAptiv MR2 processor support.
909 2017-06-26 Nick Clifton <nickc@redhat.com>
912 * objdump.c (disassemble_section): Skip any section that is bigger
913 than the entire file.
915 2017-06-26 Nick Clifton <nickc@redhat.com>
918 * bucomm.c (get_file_size): Explicitly warn if the file is a
921 2017-06-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
923 * readelf.c (arm_attr_tag_CPU_arch): Fill value for ARMv8-R.
925 2017-06-23 Nick Clifton <nickc@redhat.com>
928 * strings.c (strings_file): Warn about attempts to run strings on
931 2017-06-22 H.J. Lu <hongjiu.lu@intel.com>
933 * readelf.c (decode_x86_feature): Decode
934 GNU_PROPERTY_X86_FEATURE_1_SHSTK.
935 * testsuite/binutils-all/i386/shstk.d: New file.
936 * testsuite/binutils-all/i386/shstk.s: Likewise.
937 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
938 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
939 * testsuite/binutils-all/x86-64/shstk.s: Likewise.
941 2017-06-22 H.J. Lu <hongjiu.lu@intel.com>
943 * readelf.c (decode_x86_feature): New.
944 (print_gnu_property_note): Call decode_x86_feature on
945 GNU_PROPERTY_X86_FEATURE_1_AND.
946 * testsuite/binutils-all/i386/empty.d: New file.
947 * testsuite/binutils-all/i386/empty.s: Likewise.
948 * testsuite/binutils-all/i386/ibt.d: Likewise.
949 * testsuite/binutils-all/i386/ibt.s: Likewise.
950 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
951 * testsuite/binutils-all/x86-64/empty.d: Likewise.
952 * testsuite/binutils-all/x86-64/empty.s: Likewise.
953 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
954 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
955 * testsuite/binutils-all/x86-64/ibt.s: Likewise.
957 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
959 * dwarf.c (READ_ULEB): Use DWARF_VMA_FMT to report error.
960 (READ_SLEB): Likewise.
962 2017-06-21 Nick Clifton <nickc@redhat.com>
965 * dwarf.c (LEB): Rename to SKIP_ULEB and READ_ULEB. Add check for
966 reading a value that is too big for the containing variable.
967 (SLEB): Rename to SKIP_SLEB and READ_SLEB. Add similar check.
968 Replace uses of LEB and SLEB with appropriate new macro.
969 (display_debug_frames): Use an unsigned int for the 'reg'
970 variable. Use a signed long for the 'l' variable.
972 2017-06-20 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
974 * readelf.c (get_s390_segment_type): Add support for the new
975 segment type PT_S390_PGSTE.
976 (get_segment_type): Call get_s390_segment_type.
978 2017-06-19 Nick Clifton <nickc@redhat.com>
981 * objdump.c (disassemble_bytes): Check that there is sufficient
982 data available before attempting to display it.
984 2017-06-06 Simon Marchi <simon.marchi@ericsson.com>
986 * sysinfo.y: Free memory allocated by token NAME.
988 2017-05-30 Anton Kolesov <anton.kolesov@synopsys.com>
990 * doc/binutils.texi: Document new cpu=... disassembler options for ARC.
992 2017-05-30 H.J. Lu <hongjiu.lu@intel.com>
995 * objdump.c (dump_relocs_in_section): Replace get_file_size
996 with bfd_get_file_size to get archive element size.
997 * testsuite/binutils-all/objdump.exp (test_objdump_f): New
999 (test_objdump_h): Likewise.
1000 (test_objdump_t): Likewise.
1001 (test_objdump_r): Likewise.
1002 (test_objdump_s): Likewise.
1003 Add objdump tests on archive.
1005 2017-05-24 Yao Qi <yao.qi@linaro.org>
1007 * objdump.c (disassemble_data): Caller update.
1009 2017-05-19 Jose E. Marchesi <jose.marchesi@oracle.com>
1011 * objcopy.c (merge_gnu_build_notes): Remove workaround that
1012 prevented deleting relocations in duplicated notes in mips64 and
1015 2017-05-19 Maciej W. Rozycki <macro@imgtec.com>
1017 * testsuite/binutils-all/mips/mips-note-2.d: New test.
1018 * testsuite/binutils-all/mips/mips-note-2r.d: New test.
1019 * testsuite/binutils-all/mips/mips-note-2-n32.d: New test.
1020 * testsuite/binutils-all/mips/mips-note-2-n64.d: New test.
1021 * testsuite/binutils-all/mips/mips-note-2r-n32.d: New test.
1022 * testsuite/binutils-all/mips/mips-note-2r-n64.d: New test.
1023 * testsuite/binutils-all/mips/mips.exp: Define `has_newabi'.
1026 2017-05-19 Maciej W. Rozycki <macro@imgtec.com>
1028 * testsuite/lib/utils-lib.exp (run_dump_test): Handle the `dump'
1031 2017-05-19 Jose E. Marchesi <jose.marchesi@oracle.com>
1033 * NEWS: Mention the SPARC M8 support.
1035 2017-05-19 Maciej W. Rozycki <macro@imgtec.com>
1037 * testsuite/binutils-all/mips/mips.exp: Bail out right away if
1040 2017-05-18 Alan Modra <amodra@gmail.com>
1042 * strings.c: Don't compare boolean values against TRUE or FALSE.
1044 2017-05-15 Jeff Law <law@redhat.com>
1046 * readelf.c (display_arc_attribute): Avoid implicit fallthru.
1048 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1050 * testsuite/binutils-all/mips/mips16-undecoded.d: Add `-mips3'
1052 * testsuite/binutils-all/mips/mips16e2-undecoded.d: New test.
1053 * testsuite/binutils-all/mips/mips16e2-extend-insn.d: New test.
1054 * testsuite/binutils-all/mips/mips16-undecoded.s: Remove
1056 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
1058 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1060 * readelf.c (print_mips_ases): Handle MIPS16e2 ASE.
1061 * NEWS: Mention MIPS16e2 ASE support.
1063 2017-05-12 Maciej W. Rozycki <macro@imgtec.com>
1065 * testsuite/binutils-all/mips/mips16-extend-insn.d: Adjust BREAK
1066 and SDBBP disassembly.
1068 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
1070 * testsuite/binutils-all/mips/mips.exp: Define `tempfile' and
1071 `copyfile' variables.
1073 2017-05-10 Claudiu Zissulescu <claziss@synopsys.com>
1075 * readelf.c (decode_ARC_machine_flags): Recognize OSABI v4.
1076 (get_arc_section_type_name): New function.
1077 (get_section_type_name): Use the above function.
1078 (display_arc_attribute): New function.
1079 (process_arc_specific): Likewise.
1080 (process_arch_specific): Handle ARC specific information.
1082 2017-05-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1084 * MAINTAINERS (SH): Remove myself as SH maintainer.
1086 2017-05-02 H.J. Lu <hongjiu.lu@intel.com>
1088 * objcopy.c (merge_gnu_build_notes): Cast relcount to unsigned
1089 long when comparing with sec->reloc_count.
1091 2017-05-02 Nick Clifton <nickc@redhat.com>
1093 * objcopy.c (merge_gnu_build_notes): Disable merge if there are
1094 more internal relocs than external relocs.
1096 2017-05-02 Maciej W. Rozycki <macro@imgtec.com>
1098 * testsuite/binutils-all/mips/mips16-undecoded.d: Adjust the
1099 disassembly of PC-relative LA and LW synthetic instructions.
1101 2017-05-02 Nick Clifton <nickc@redhat.com>
1104 * objdump.c (dump_relocs_in_section): Check for an excessive
1105 number of relocs before attempting to dump them.
1107 2017-05-01 Alan Modra <amodra@gmail.com>
1109 * objcopy.c (merge_gnu_build_notes): Correct code deleting
1112 2017-04-28 Nick Clifton <nickc@redhat.com>
1115 * readelf.c (print_gnu_build_attribute_name): Allow for an empty
1118 2017-04-28 Nick Clifton <nickc@redhat.com>
1121 * readelf.c (process_version_sections): Check for underflow when
1122 computing the start address of the auxillary version data.
1124 2017-04-28 Nick Clifton <nickc@redhat.com>
1127 * dwarf.c (process_extended_line_op): Do not assume that the
1128 string extracted from the section is NUL terminated.
1129 (fetch_indirect_string): If the string retrieved from the section
1130 is not NUL terminated, return an error message.
1131 (fetch_indirect_line_string): Likewise.
1132 (fetch_indexed_string): Likewise.
1134 2017-04-26 Nick Clifton <nickc@redhat.com>
1137 * bucomm.c (get_file_size): Return -1 if file_name is NULL.
1138 * ar.c (main): Fail with usage() invocation if no file names are
1141 2017-04-26 Nick Clifton <nickc@redhat.com>
1143 * readelf.c (process_section_headers): Warn about overlarge
1145 (print_gnu_build_attribute_name): Print the number of unrecognised
1146 note types. Fix formatting in the presence of errors.
1147 (testsuite/binutils-all/note-2-32.s): Fix encoding of numeric notes.
1148 (testsuite/binutils-all/note-2-64.s): Likewise.
1150 2017-04-26 Maciej W. Rozycki <macro@imgtec.com>
1152 * readelf.c (process_mips_specific): Add static GOT support.
1154 2017-04-25 Maciej W. Rozycki <macro@imgtec.com>
1156 * readelf.c (process_mips_specific): Remove error reporting from
1159 2017-04-25 Maciej W. Rozycki <macro@imgtec.com>
1161 * readelf.c (process_mips_specific): Remove null GOT data check.
1163 2017-04-25 Maciej W. Rozycki <macro@imgtec.com>
1165 * testsuite/binutils-all/mips/mips16-alias.d: New test.
1166 * testsuite/binutils-all/mips/mips16-noalias.d: New test.
1167 * testsuite/binutils-all/mips/mips16-alias.s: New test source.
1168 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
1170 2017-04-23 Alan Modra <amodra@gmail.com>
1173 * ar.c (main): Check -a, -b, -i and -N args are given.
1175 2017-04-23 Alan Modra <amodra@gmail.com>
1178 * ar.c (main): Check that an archive file is given after options.
1180 2017-04-23 Alan Modra <amodra@gmail.com>
1183 * objdump.c (disassemble_section): Check bfd_get_section_contents
1186 2017-04-23 Alan Modra <amodra@gmail.com>
1189 * dwarf.c (display_debug_lines_decoded): Don't segfault on NULL
1192 2017-04-21 Nick Clifton <nickc@redhat.com>
1195 * readelf.c (print_gnu_build_attribute_name): Check for an
1196 overlarge name field.
1198 2017-04-13 Nick Clifton <nickc@redhat.com>
1201 * readelf.c (process_dynamic_section): Detect over large section
1202 offsets in the DT_SYMTAB entry.
1204 2017-04-13 Nick Clifton <nickc@redhat.com>
1207 * readelf.c (process_mips_specific): Catch an unfeasible memory
1208 allocation before it happens and print a suitable error message.
1210 2017-04-13 Nick Clifton <nickc@redhat.com>
1212 * objcopy.c: Add --no-merge-notes option to disable note merging.
1213 Add --[no-]merge-notes option to strip, and enable it by default.
1214 (num_bytes): New function.
1215 (merge_gnu_build_notes): Add code to merge stack size notes.
1216 * binutils.texi: Update strip and objcopy documentation.
1217 * readelf.c (print_gnu_build_attribute_name): Use defined
1218 constants for note types.
1220 2017-04-10 John Delsignor <john.delsignore@roguewave.com>
1223 * dwarf.c (display_gdb_index): Correct test for a corrupt address
1226 2017-04-05 Jiong Wang <jiong.wang@arm.com>
1228 * objcopy.c (struct redefine_node): Delete the field "next".
1229 (redefine_sym_list): Deleted.
1230 (redefine_specific_htab): New hash table.
1231 (redefine_specific_reverse_htab): Likewise.
1232 (eq_string_redefnode): New function.
1233 (htab_hash_redefnode): Likewise.
1234 (create_symbol2redef_htab): Likewise.
1235 (add_specific_symbol_node): Likewise.
1236 (create_symbol_htabs): Create redefine_specific_htab and
1237 redefine_specific_reverse_htab.
1238 (lookup_sym_redefinition): Use hash table instead of list.
1239 (redefine_list_append): Likewise, and rename to add_redefine_and_check.
1240 (copy_main): Use redefine_specific_htab instead of redefine_sym_list.
1243 2017-04-04 H.J. Lu <hongjiu.lu@intel.com>
1245 * NEWS: Mention support for ELF SHF_GNU_MBIND and
1247 * readelf.c (get_segment_type): Handle PT_GNU_MBIND_XXX.
1248 (get_elf_section_flags): Handle SHF_GNU_MBIND.
1249 (process_section_headers): Likewise.
1250 * testsuite/binutils-all/mbind1.s: New file.
1251 * testsuite/binutils-all/objcopy.exp: Run readelf test on
1254 2017-04-03 Nick Clifton <nickc@redhat.com>
1257 * readelf.c (get_program_headers): Check for there being too many
1258 program headers before attempting to allocate space for them.
1260 2017-04-03 Nick Clifton <nickc@redhat.com>
1263 * readelf.c (process_mips_specific): Check for an out of range GOT
1264 entry before reading the module pointer.
1266 2017-04-03 Nick Clifton <nickc@redhat.com>
1269 * readelf.c (get_unwind_section_word): Fix snafu checking for
1270 invalid word offsets in ARM unwind information.
1272 2017-03-31 Pip Cet <pipcet@gmail.com>
1274 * NEWS: Use "WebAssembly" consistently.
1275 * testsuite/binutils-all/wasm32/wasm32.exp: Fix copyright notice.
1277 2017-03-30 Pip Cet <pipcet@gmail.com>
1279 * readelf.c: Add support for wasm32 ELF format WebAssembly files.
1280 (guess_is_rela): Likewise.
1281 (dump_relocations): Likewise.
1282 (is_32bit_abs_reloc): Likewise.
1283 (is_none_reloc_): Likewise.
1284 * NEWS: Mention the new support.
1285 * testsuite/lib/binutils-common.exp (is_elf_format): Mark wasm32
1287 (supports_gnu_unique): Mark wasm32 as supporting STB_GNU_UNIQUE.
1288 * testsuite/binutils-all/nm.exp: Mark wasm32 as requiring .size annotations.
1289 * testsuite/binutils-all/wasm32: New directory.
1290 * testsuite/binutils-all/wasm32/create-wasm.d: New file.
1291 * testsuite/binutils-all/wasm32/create-wasm.s: Likewise.
1292 * testsuite/binutils-all/wasm32/custom-section.d: Likewise.
1293 * testsuite/binutils-all/wasm32/custom-section.s: Likewise.
1294 * testsuite/binutils-all/wasm32/invalid-wasm-1.d: Likewise.
1295 * testsuite/binutils-all/wasm32/invalid-wasm-1.s: Likewise.
1296 * testsuite/binutils-all/wasm32/long-sections.d: Likewise.
1297 * testsuite/binutils-all/wasm32/long-sections.s: Likewise.
1298 * testsuite/binutils-all/wasm32/parse-wasm.d: Likewise.
1299 * testsuite/binutils-all/wasm32/parse-wasm.s: Likewise.
1300 * testsuite/binutils-all/wasm32/parse-wasm-2.d: Likewise.
1301 * testsuite/binutils-all/wasm32/parse-wasm-2.s: Likewise.
1302 * testsuite/binutils-all/wasm32/prepared-section.d: Likewise.
1303 * testsuite/binutils-all/wasm32/prepared-section.s: Likewise.
1304 * testsuite/binutils-all/wasm32/wasm32.exp: New file, run tests.
1306 2017-03-29 Alan Modra <amodra@gmail.com>
1308 * doc/binutils.texi (objdump): Document PowerPC -M options.
1310 2017-03-21 Andi Kleen <ak@linux.intel.com>
1312 * objdump.c (unwind_inlines): Add.
1313 (option_values): Add OPTION_INLINES.
1314 (show_line): Unwind inlines if requested.
1315 (main): Parse OPTION_INLINES.
1316 (usage): Document --inlines.
1317 * doc/binutils.texi: Document --inlines.
1320 2017-03-21 Nick Clifton <nickc@redhat.com>
1322 * readelf.c (print_gnu_build_attribute_name): Allow stack
1323 protection notes to contain numeric values. Use a colon rather
1324 than a space to separate a string name from its values. Decode
1325 the numeric value of a stack protection note.
1326 * objcopy.c (merge_gnu_build_notes): Allow version notes to
1327 contain extra text after the protocol version number.
1329 2017-03-20 Mark Wielaard <mark@klomp.org>
1331 * readelf.c (process_program_headers): Move dynamic_addr check
1332 after .dynamic section cross check.
1334 2017-03-17 Nick Clifton <nickc@redhat.com>
1336 * readelf.c (print_gnu_build_attribute_name): Fix off by one error
1337 printing the value for a build note with an ascii name.
1339 2017-03-16 Nick Clifton <nickc@redhat.com>
1341 * readelf.c (print_gnu_build_attribute_name): Add support for
1342 GNU_BUILD_ATTRIBUTE_SHORT_ENUM.
1344 2017-03-14 Nick Clifton <nickc@redhat.com>
1346 * readelf.c (print_gnu_build_attribute_description): Move symbol
1348 (print_symbol_for_build_attribute): New function. ...here.
1349 Add to find the best symbol to associate with an OPEN note.
1350 Add code to cache the symbol table and string table, so that they
1351 are not loaded every time a note is displayed.
1352 * testsuite/binutils-all/note-2-32.s: Add a function symbol.
1353 * testsuite/binutils-all/note-2-64.s: Likewise.
1354 * testsuite/binutils-all/note-2-32.d: Update expected note output.
1355 * testsuite/binutils-all/note-2-64.d: Likewise.
1357 2017-03-13 Alan Modra <amodra@gmail.com>
1358 Taeung Song <treeze.taeung@gmail.com>
1360 * objdump.c (update_source_path): Add abfd param. Add struct
1361 stat var. Pass to try_print_file_open. Warn if source is more
1363 (try_print_file_open, slurp_file): Add struct stat param to
1365 (show_line): Call update_source_path with bfd.
1367 2017-03-10 Chia-Hao Lo <fcamel@gmail.com>
1370 * objdump.c (main): Set do_wide with --wide.
1372 2017-03-10 Nick Clifton <nickc@redhat.com>
1374 * readelf.c (get_machine_name): Rearrange switch table in order of
1375 increasing machine number. Add missing entries.
1377 2017-03-08 H.J. Lu <hongjiu.lu@intel.com>
1380 * readelf.c (decode_x86_isa): Change argument to unsigned int.
1381 (print_gnu_property_note): Retrieve property type and datasz as
1382 4-byte integer. Consolidate property datasz check. Check
1383 GNU_PROPERTY_LOPROC and GNU_PROPERTY_LOUSER.
1384 * testsuite/binutils-all/i386/pr21231a.d: New file.
1385 * testsuite/binutils-all/i386/pr21231a.s: Likewise.
1386 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
1387 * testsuite/binutils-all/i386/pr21231b.s: Likewise.
1388 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
1389 * testsuite/binutils-all/x86-64/pr21231a.s: Likewise.
1390 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
1391 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
1393 2017-03-06 Nick Clifton <nickc@redhat.com>
1395 * readelf.c (print_gnu_build_attribute_name): Read byte values
1396 from the name string as unsigned bytes.
1397 (process_notes_at): Use memcpy to copy an unterminated name
1400 2017-03-06 Sam Thursfield <sam.thursfield@codethink.co.uk>
1402 * configure.ac (AC_CHECK_DECLS): Add asprintf.
1403 * config.in: Regenerate.
1404 * configure: Regenerate.
1406 2017-03-02 Nick Clifton <nickc@redhat.com>
1408 * readelf.c (print_gnu_build_attribute_description): Use global
1409 symbols for OPEN attributes if at all possible.
1410 * objcopy.c (is_merged_note_section): Support build note sections
1411 without the SHF_GNU_BUILD_NOTE section flag set.
1413 2017-03-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1415 * dwarf.c (debug_displays_assert): New static assertion.
1417 2017-03-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1419 * dwarf.h (enum dwarf_section_display_enum): Add loclists and rnglists.
1421 2017-03-01 Nick Clifton <nickc@redhat.com>
1423 * readelf.c (get_note_type): Add support for GNU_BUILD_NOTEs.
1424 (get_gnu_elf_note_type): Add support for GNU_PROPERTY_NOTEs.
1425 (decode_x86_isa): New function.
1426 (print_gnu_property_note): New function.
1427 (print_gnu_note): Handle GNU_PROPERTY_NOTEs.
1428 (print_gnu_build_attribute_description): New function.
1429 (print_gnu_build_attribute_name): New function.
1430 (process_note): Add support for GNU_BUILD_NOTEs.
1431 * objcopy.c (--merge-notes): New command line option.
1432 (copy_options): Add merge-notes.
1433 (copy_usage): Likewise.
1434 (is_merge_note_section): New function.
1435 (merge_gnu_build_notes): New function.
1436 (copy_object): Merge note sections if asked to do so.
1437 (skip_section): Add skip_copy parameter. Add support for skipping
1438 merged note sections.
1439 (copy_relocations_in_section): Update call to skip_section.
1440 (copy_section): Likewise.
1441 (copy_main): Add support for merge-notes option.
1442 * doc/binutils.texi: Document the new option to objcopy.
1443 * NEWS: Mention the new feature.
1444 * testsuite/binutils-all/note-2-32.d: New test. Checks note
1445 merging on 32-bit targets.
1446 * testsuite/binutils-all/note-2-32.s: New test source file.
1447 * testsuite/binutils-all/note-2-64.d: New test. Like note-2-32.d
1448 but for 64-bit targets.
1449 * testsuite/binutils-all/note-2-64.s: New test source file.
1450 * testsuite/binutils-all/objcopy.exp: Run the new test.
1452 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
1454 * objdump.c (main): Use remove_whitespace_and_extra_commas.
1456 2017-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1458 Fix compilation with GCC 4.4.7.
1459 * dwarf.c (display_loclists_list, display_debug_rnglists_list):
1460 Initialize begin and end.
1462 2017-02-25 Alan Modra <amodra@gmail.com>
1464 * testsuite/binutils-all/dw5.S: Replace .string with .asciz.
1465 Support hpux .comm variant.
1466 * testsuite/binutils-all/readelf.exp: Define HPUX when assembling
1467 dw5 test for hppa64-hpux.
1469 2017-02-24 Nick Clifton <nickc@redhat.com>
1471 * readelf.c (show_name, do_dynamic, do_syms, do_dyn_syms,
1472 (do_reloc, do_sections, do_section_groups, do_section_details,
1473 (do_segments, do_unwind, do_using_dynamic, do_header, do_dump,
1474 (do_version, do_histogram, do_debugging, do_arch, do_notes,
1475 (do_archive_index, is_32bit_elf, decompress_dumps): Use
1477 (parse_args): Treat the do_* variables as booleans.
1478 (print_vma): Return an unsigned int.
1479 (print_symbol): Change width parameter to signed int.
1480 (is_ia64_vms): Change return type to bfd_boolean.
1481 (guess_is_rela): Likewise.
1482 (slurp_rela_relocs): Likewise.
1483 (slurp_rel_relocs): Likewise.
1484 (dump_relocations): Likewise.
1485 (process_file_header): Likewise.
1486 (get_program_headers): Likewise.
1487 (process_program_headers): Likewise.
1488 (process_section_headers): Likewise.
1489 (process_section_groups): Likewise.
1490 (dump_ia64_vms_dynamic_fixups): Likewise.
1491 (dump_ia64_vms_dynamic_relocs): Likewise.
1492 (process_ia64_vms_dynamic_relocs): Likewise.
1493 (process_relocs): Likewise.
1494 (dump_ia64_unwind): Likewise.
1495 (ia64_process_unwind): Likewise.
1496 (dump_hppa_unwind): Likewise.
1497 (slurp_hppa_unwind_table): Likewise.
1498 (hppa_process_unwind): Likewise.
1499 (decode_arm_unwind_bytecode): Likewise.
1500 (decode_tic6x_unwind_bytecode): Likewise.
1501 (decode_arm_unwind): Likewise.
1502 (dump_arm_unwind): Likewise.
1503 (arm_process_unwind): Likewise.
1504 (process_unwind): Likewise.
1505 (get_32bit_dynamic_section): Likewise.
1506 (get_64bit_dynamic_section): Likewise.
1507 (process_dynamic_section): Likewise.
1508 (process_version_sections): Likewise.
1509 (process_symbol_table): Likewise.
1510 (process_syminfo): Likewise.
1511 (apply_relocations): Likewise.
1512 (disassemble_section): Likewise.
1513 (dump_section_as_strings): Likewise.
1514 (dump_section_as_bytes): Likewise.
1515 (load_specific_debug_section): Likewise.
1516 (load_debug_section): Likewise.
1517 (display_debug_section): Likewise.
1518 (process_section_contents): Likewise.
1519 (process_attributes): Likewise.
1520 (process_nds32_specific): Likewise.
1521 (process_gnu_liblist): Likewise.
1522 (print_core_note): Likewise.
1523 (print_gnu_note): Likewise.
1524 (print_v850_note): Likewise.
1525 (process_netbsd_elf_note): Likewise.
1526 (print_stapsdt_note): Likewise.
1527 (print_ia64_vms_note): Likewise.
1528 (process_note): Likewise.
1529 (process_notes_at): Likewise.
1530 (process_corefile_note_segments): Likewise.
1531 (process_v850_notes): Likewise.
1532 (process_note_sections): Likewise.
1533 (process_notes): Likewise.
1534 (process_arch_specific): Likewise.
1535 (get_file_header): Likewise.
1536 (process_object): Likewise.
1537 (process_archive): Likewise.
1538 (process_file): Likewise.
1539 (section_subset): Make static.
1540 (get_mips_reg_size): Return a signed integer.
1541 (process_object): Reverse the logic of the return value.
1542 (process_archive): Likewise.
1543 (process_file): Likewise.
1544 (process_program_headers): Fix snafu - if the program headers are
1545 not available then this is not a cause to fail.
1546 (process_corefile_note_segments): Likewise.
1548 2017-02-24 Maciej W. Rozycki <macro@imgtec.com>
1550 * readelf.c (get_ver_flags): Tidy the formatting of the string
1553 2017-02-24 Maciej W. Rozycki <macro@imgtec.com>
1555 * readelf.c (process_version_sections) <SHT_GNU_verdef>: Make
1557 <SHT_GNU_verneed>: Likewise.
1559 2017-02-24 Maciej W. Rozycki <macro@imgtec.com>
1561 * readelf.c (process_version_sections) <SHT_GNU_verdef>: Limit
1562 the number of entries processed by the section size. Don't
1563 break out of the loop if `ent.vd_next' is 0.
1565 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1567 * testsuite/binutils-all/dw5.S: New file.
1568 * testsuite/binutils-all/dw5.W: New file.
1569 * testsuite/binutils-all/readelf.exp (readelf -wiaoRlL): New test.
1571 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1573 * dwarf.c (read_and_display_attr_value): Support DW_FORM_data16.
1575 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1577 * dwarf.c (display_debug_macro): Support DWARF-5. Rename
1580 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1582 * dwarf.c (decode_location_expression): Support DW_OP_implicit_pointer,
1583 DW_OP_const_type, DW_OP_regval_type, DW_OP_deref_type, DW_OP_convert
1584 and DW_OP_reinterpret.
1585 (read_and_display_attr_value): Support DW_AT_call_value,
1586 DW_AT_call_data_value, DW_AT_call_target and
1587 DW_AT_call_target_clobbered.
1589 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1591 * dwarf.c (fetch_indirect_line_string): New function.
1592 (abbrev_attr): New field implicit_const.
1593 (add_abbrev_attr): New parameter implicit_const.
1594 (process_abbrev_section): Support DW_FORM_implicit_const.
1595 (decode_location_expression): Support DW_OP_entry_value.
1596 (read_and_display_attr_value): Add parameter implicit_const. Support
1597 DW_FORM_line_strp and DW_FORM_implicit_const.
1598 (read_and_display_attr): Add parameter implicit_const.
1599 (process_debug_info): Support line_str and DWARF-5.
1600 (read_debug_line_header): Support DWARF-5.
1601 (display_formatted_table): New function.
1602 (display_debug_lines_raw): New parameter file. Support DWARF-5.
1603 (display_debug_lines_decoded): New parameter fileptr. Support DWARF-5.
1604 (display_debug_lines): Pass file parameter.
1605 (display_debug_macro): Update read_and_display_attr_value caller.
1606 (display_debug_abbrev): Support DW_FORM_implicit_const.
1607 (display_loclists_list): New function.
1608 (display_loc_list): Support .debug_loclists.
1609 (display_debug_ranges_list): New function from display_debug_ranges.
1610 (display_debug_rnglists_list): New function.
1611 (display_debug_ranges): Support .debug_rnglists.
1612 (debug_displays): Add .debug_line_str, .debug_loclists and
1614 * dwarf.h: Include dwarf2.h
1615 (DWARF2_Internal_LineInfo): Add li_offset_size.
1616 (DWARF2_Internal_CompUnit): Add cu_unit_type.
1617 (enum dwarf_section_display_enum): Add line_str.
1618 * readelf.c (process_section_headers): Add rnglists and loclists.
1620 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1622 * dwarf.c (display_block): Add parameter delimiter.
1623 (decode_location_expression): Update display_block callers.
1624 (read_and_display_attr_value): Add parameter delimiter.
1625 (read_and_display_attr, display_debug_macro): Update
1626 read_and_display_attr_value caller.
1628 2017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1630 * dwarf.c (display_loc_list): Use dwarf_vma for offset, base_address
1632 (display_loc_list_dwo): Use dwarf_vma for offset.
1633 (display_debug_loc): Use dwarf_vma for offset, base_address.
1634 (struct range_entry, range_entry_compar): Use dwarf_vma for
1636 (display_debug_ranges): Use dwarf_vma for ranges_offset, offset and
1639 2017-02-23 Nick Clifton <nickc@redhat.com>
1641 * readelf.c (display_tag_value): Use an explicit signed type for
1643 (display_gnu_attributes): Use an unsigned integer type for
1645 (display_power_gnu_attribute): Likewise.
1646 (display_s390_gnu_attribute): Likewise.
1647 (display_sparc_hwcaps): Likewise.
1648 (display_sparc_hwcaps2): Likewise.
1649 (display_sparc_gnu_attribute): Likewise.
1650 (display_mips_gnu_attribute): Likewise.
1651 (display_tic6x_attribute): Likewise.
1652 (display_raw_attribute): Likewise.
1653 (process_attributes): Likewise.
1654 (process_arm_specific): Delete redundant function.
1655 (process_power_specific): Likewise.
1656 (process_s390_specific): Likewise.
1657 (process_sparc_specific): Likewise.
1658 (process_tic6x_specific): Likewise.
1659 (process_msp430x_specific): Likewise.
1660 (display_public_gnu_attributes): New function. Displays known
1661 information about an unknown gnu attribute.
1662 (display_generic_attribute): New function. Calls
1663 display_tag_value for non-nul tags.
1664 (process_arch_specific): Call process_attributes even for
1665 architectures not known to specifically support gnu attributes.
1667 2017-02-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1669 * dwarf.c (decode_location_expression): Display also OP.
1671 2017-02-22 Maciej W. Rozycki <macro@imgtec.com>
1673 * readelf.c (process_version_sections) <SHT_GNU_verdef>: Print a
1674 new line between the heading and the first version definition
1677 2017-02-20 Nick Clifton <nickc@redhat.com>
1680 * dwarf.c (cu_tu_indexes_read): Move into...
1681 (load_cu_tu_indexes): ... here. Change the variable into
1682 tri-state. Change the function into boolean, returning
1683 false if the indicies could not be loaded.
1684 (find_cu_tu_set): Return NULL if the indicies could not be
1687 2017-02-17 Nick Clifton <nickc@redhat.com>
1690 * readelf.c (find_section_in_set): Test for invalid section
1693 2017-02-17 Nick Clifton <nickc@redhat.com>
1695 * readelf.c (get_section_type_name): Add decoding of GNU section
1698 2017-02-15 Nick Clifton <nickc@redhat.com>
1700 * MAINTAINERS: (MIPS, MN10300): Move Eric Christopher to Past
1701 Maintainers section.
1703 2017-02-14 Nick Clifton <nickc@redhat.com>
1706 * readelf.c (dump_section_as_strings): Reset the start address if
1707 no decompression is perfromed.
1708 (dump_section_as_bytes): Likewise.
1710 2017-02-14 Nick Clifton <nickc@redhat.com>
1713 * rddbg.c (read_symbol_stabs_debugging_info): Check for a null or
1716 2017-02-14 Nick Clifton <nickc@redhat.com>
1719 * stabs.c (parse_stab_enum_type): Check for corrupt NAME:VALUE
1721 (parse_number): Exit early if passed an empty string.
1723 2017-02-14 Nick Clifton <nickc@redhat.com>
1726 * readelf.c (IN_RANGE): New macro. Tests for an address + offset
1727 being within a given range.
1728 (target_specific_reloc_handling): Use macro to test for underflow
1729 as well as overflow of reloc offset.
1731 2017-02-13 Nick Clifton <nickc@redhat.com>
1734 * nm.c (file_symbol): Add test of string length before testing
1737 2017-02-13 Nick Clifton <nickc@redhat.com>
1740 * readelf.c (dump_section_as_bytes): Handle the case where
1741 uncompress_section_contents returns false.
1742 (dump_section_as_bytes, load_specific_debug_section): Likewise.
1744 2017-02-13 Nick Clifton <nickc@redhat.com>
1747 * readelf.c (get_compression_header): Add size parameter. Check
1748 size against sizeof compression header before attempting to
1750 (process_section_headers): Pass size to get_compression_header.
1751 (dump_section_as_strings): Likewise.
1752 (dump_section_as_bytes): Likewise.
1753 (load_specific_debug_section): Likewise.
1755 2017-02-13 Nick Clifton <nickc@redhat.com>
1758 * readelf.c (process_version_sections): Include size of auxillary
1759 version information when checking for buffer overflow.
1761 2017-02-13 Nick Clifton <nickc@redhat.com>
1764 * readelf.c (process_section_contents): Fix off by one error
1765 reporting un-dumped sections.
1767 2017-02-13 Nick Clifton <nickc@redhat.com>
1770 * readelf.c (target_specific_reloc_handling): Add num_syms
1771 parameter. Check for symbol table overflow before accessing
1772 symbol value. If reloc pointer is NULL, discard all saved state.
1773 (apply_relocations): Pass num_syms to target_specific_reloc_handling.
1774 Call target_specific_reloc_handling with a NULL reloc pointer
1775 after processing all of the relocs.
1777 2017-02-13 Nick Clifton <nickc@redhat.com>
1780 * readelf.c (target_specific_reloc_handling): Add end parameter.
1781 Check for buffer overflow before writing relocated values.
1782 (apply_relocations): Pass end to target_specific_reloc_handling.
1784 2017-01-27 Dilyan Palauzov <dilyan.palauzov@aegee.org>
1785 Nick Clifton <nickc@redhat.com>
1788 * doc/binutils.texi (ar): Extend documentation of the --plugin
1789 option. Include a description of where the plugins should be
1793 2017-01-23 Nick Clifton <nickc@redhat.com>
1795 * MAINTAINERS: Add Bernd to Past Maintainers section.
1796 (SCORE): Remove Mei Ligang as maintainer. Add to Past Maintainers
1799 2017-01-23 Bernd Schmidt <bschmidt@redhat.com>
1801 * MAINTAINERS (BFIN): Remove myself as Blackfin maintainer.
1803 2017-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
1805 * objdump.c (dump_section_header): Extract max section name length
1806 from data parameter, use this when formatting output.
1807 (find_longest_section_name): New function.
1808 (dump_headers): Calculate longest section name when in wide mode,
1809 reformat to unify printing of header line.
1811 2017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
1814 * arlex.l: Support processing with flex 2.6.3.
1815 * deflex.l: Likewise.
1817 2017-01-17 Dmitry Timoshkov <dmitry@baikal.ru>
1819 * resbin.c: Optional dialog control data immediately follows
1820 the control description without alignment.
1821 * testsuite/binutils-all/windres/controldata.rc: New test.
1823 * testsuite/binutils-all/windres/controldata.rsd: New test.
1825 2017-01-12 Nick Clifton <nickc@redhat.com>
1828 * NEWS: Mention the new feature.
1829 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
1830 New proc to test the location of separate debug info files using
1831 the build-id method.
1833 2017-01-10 Nick Clifton <nickc@redhat.com>
1836 * stabs.c (parse_stab_members): Fix thinko checking for g++
1837 version 1 stabs information.
1839 2017-01-09 Nick Clifton <nickc@redhat.com>
1841 * objdump.c (display_file): Add new parameter 'last_file'. If
1842 last_file is true, do not call bfd_close at the end of the
1844 (main): Set the value of the last_file parameter when calling
1847 2017-01-09 Alan Modra <amodra@gmail.com>
1849 * readelf.c (process_section_headers): Correct .rel.dyn/.rela.dyn
1852 2017-01-06 Nick Clifton <nickc@redhat.com>
1854 * MAINTAINERS: Move Paul Brook to the Past Maintainers section.
1856 2017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
1859 * syslex.l (option): Add noyywrap
1862 2017-01-02 Alan Modra <amodra@gmail.com>
1864 Update year range in copyright notice of all files.
1866 For older changes see ChangeLog-2016
1868 Copyright (C) 2017 Free Software Foundation, Inc.
1870 Copying and distribution of this file, with or without modification,
1871 are permitted in any medium without royalty provided the copyright
1872 notice and this notice are preserved.
1878 version-control: never