1 2015-07-14 H.J. Lu <hongjiu.lu@intel.com>
3 * objcopy.c (copy_file): Set BFD_COMPRESS_GABI if not
5 * doc/binutils.texi: Change --compress-debug-sections and
6 --compress-debug-sections=zlib to zlib-gabi.
8 2015-07-10 H.J. Lu <hongjiu.lu@intel.com>
11 * objcopy.c (setup_section): Call bfd_convert_section_size
12 to get the output section size.
13 (copy_section): Get the section size from the output section
14 and call bfd_get_full_section_contents to convert section
17 2015-07-10 H.J. Lu <hongjiu.lu@intel.com>
19 * readelf.c (dump_section_as_strings): Warn unsupported compress
20 type and corrupted compressed section.
21 (dump_section_as_bytes): Likewise.
22 (load_specific_debug_section): Likewise.
24 2015-07-09 Catherine Moore <clm@codesourcery.com>
26 * readelf.c (print_mips_fp_abi_value): Handle
27 Val_GNU_MIPS_ABI_FP_NAN2008.
29 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
31 * readelf.c (get_mips_dynamic_type): Handle DT_MIPS_RLD_MAP_REL.
33 2015-06-22 Nick Clifton <nickc@redhat.com>
35 * objdump.c (disassemble_bytes): Set the stop_vma field in the
36 disassemble_info structure when disassembling code sections with
38 * doc/binutils.texi (objdump): Document the discrepancy between -d
41 2015-06-05 Nick Clifton <nickc@redhat.com>
43 * dwarf.c (read_debug_line_header): Use reloc_at to detect
44 incomplete .debug_line headers
46 2015-05-29 Roland McGrath <mcgrathr@google.com>
48 * readelf.c (print_gnu_note: NT_GNU_ABI_TAG): Recognize
49 GNU_ABI_TAG_SYLLABLE and GNU_ABI_TAG_NACL.
51 2015-05-29 Stephen Kitt <steve@sk2.org>
53 * dlltool.c (make_one_lib_file): Clear .idata$6 before use.
54 (main): Fail if the output file specified by the -z option cannot
57 2015-05-18 Nick Clifton <nickc@redhat.com>
60 * ia64-unwind.c (unw_decode): Add end parameter. Pass parameter
61 on to decode functions.
62 (unw_devode_p2_p5): Pass end paraemter to UNW_DEC_SPILL_MASK.
63 (UNW_DEC_SPILL_MASK): Add end parameter. Check that unw_rlen does
64 not take us beyond the end of the buffer.
65 * ia64-unwind.h (unw_decode): Update prototype.
66 * readelf.c (dump_ia64_unwind): Pass end pointer to unw_decode.
68 2015-05-15 H.J. Lu <hongjiu.lu@intel.com>
70 * readelf.c (dump_section_as_strings): Change pointers from
71 char * to unsigned char *.
73 2015-05-15 H.J. Lu <hongjiu.lu@intel.com>
76 * doc/binutils.texi: Document -Mamd64 and -Mintel64.
78 2015-05-15 Nick Clifton <nickc@redhat.com>
80 * readelf.c (options): Add "decompress".
81 (usage): Mention -z/--decompress.
82 (parse_args): Handle -z.
83 (uncompress_section_contents): Move to earlier in the file.
84 (dump_section_as_strings): If requested, decompress the section
86 (dump_section_as_bytes): Likewise.
87 * doc/binutils.texi: Document the new option.
89 2015-05-14 Peter Bergner <bergner@vnet.ibm.com>
91 * MAINTAINERS: Add myself as PPC maintainer.
93 2015-05-14 H.J. Lu <hongjiu.lu@intel.com>
95 * readelf.c (uncompress_section_contents): Add a parameter for
96 uncompressed size. Don't check the zlib header.
97 (load_specific_debug_section): Updated.
99 2015-05-15 Nick Clifton <nickc@redhat.com>
102 * dwarf.h (struct dwarf_section): Add reloc_info and num_relocs
104 (struct dwarf_section_display): Change bitfield to boolean.
105 (reloc_at): Add prototype.
106 * dwarf.c (display_loc_list): Ignore list terminators if there are
108 (display_debug_loc): Issue a warning if there are relocs against
109 the .debug_loc section.
110 (display_displays): Initialise reloc_info and num_relocs fields.
111 * objdump.c (load_specific_debug_section): Initialise reloc_info
112 and num_relocs fields.
113 (reloc_at): New function.
114 * readelf.c (is_32bit_abs_reloc): Add IA64's R_IA64_DIS32LSB
116 (reloc_at): New function.
117 (apply_relocations): Add relocs_return and num_relocs_return
118 parameters. Fill them in with the loaded relocs if non-NULL.
119 (dump_section_as_bytes): Update call to apply_relocations.
120 (load_specific_debug_section): Initialise reloc_info and
123 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
125 * elfedit.c (elf_class): Return ELF_CLASS_BOTH by default.
127 2015-05-13 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
129 * MAINTAINERS: Add myself as s390 and s390x maintainer.
131 2015-05-12 Stephen Kitt <steve@sk2.org>
133 * dlltool.c (main): Accept -t as an abbreviation for
136 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
138 * dwarf.c (dwarf_regnames_iamcu): New.
139 (init_dwarf_regnames_iamcu): Likewise.
140 (init_dwarf_regnames): Call init_dwarf_regnames_iamcu for EM_IAMCU.
141 * dwarf.h (init_dwarf_regnames_iamcu): New.
142 * objdump.c (dump_dwarf): Call init_dwarf_regnames_iamcu for
145 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
147 * elfedit.c (enum elfclass): New.
148 (input_elf_class): Change type to enum elfclass.
149 (output_elf_class): New.
150 (elf_class): Change return type to enum elfclass. Support EM_386
152 (update_elf_header): Check if input and output ELF classes match.
153 (elf_machine): Support EM_386 and EM_IAMCU.
154 (main): Update input_elf_class. Set output_elf_class.
155 * doc/binutils.texi: Update elfedit.
157 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
159 * dwarf.c (init_dwarf_regnames): Replace EM_486 with EM_IAMCU.
160 * readelf.c (guess_is_rela): Likewise.
161 (dump_relocations): Likewise.
162 (get_machine_name): Likewise.
163 (get_elf_section_flags): Likewise.
164 (process_section_headers): Likewise.
165 (is_32bit_abs_reloc): Likewise.
166 (is_32bit_pcrel_reloc): Likewise.
168 2015-04-30 Nick Clifton <nickc@redhat.com>
170 * readelf.c (get_machine_flags): Add description of MeP flags.
172 2015-04-27 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
174 * readelf.c (display_s390_gnu_attribute): New function.
175 (process_s390_specific): New function.
176 (process_arch_specific): Call process_s390_specific.
178 2015-04-24 Nick Clifton <nickc@redhat.com>
181 * ieee.c (ieee_read_cxx_class): Initialise the varargs variable.
182 * readelf.c (uncompress_section_contents): Zero initialise the
185 2015-04-23 H.J. Lu <hongjiu.lu@intel.com>
188 * objcopy.c (setup_section): Copy compress status.
190 2015-04-15 H.J. Lu <hongjiu.lu@intel.com>
193 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
195 2015-04-14 Nick Clifton <nickc@redhat.com>
197 * readelf.c (target_specific_reloc_handling): Add code to handle
200 2015-04-13 Doug Evans <dje@google.com>
203 * readelf.c (printable_section_name): Constify sec argument.
204 (apply_relocations): Ditto. New arg "size". All callers updated.
205 (load_specific_debug_section): Constify sec argument.
206 Remove side-effect of modifying sec->sh_size.
208 2015-04-09 H.J. Lu <hongjiu.lu@intel.com>
210 * objcopy.c (do_debug_sections): Use bit patterns.
211 (copy_object): Return FALSE for compress_zlib, compress_gnu_zlib
212 and compress_gabi_zlib on non-ELF input.
213 (copy_file): Don't check non-ELF input here.
215 2015-04-09 Nick Clifton <nickc@redhat.com>
217 * readelf.c (get_machine_flags): Report the setting of the string
220 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
222 * objcopy.c (do_debug_sections): Add compress_zlib,
223 compress_gnu_zlib and compress_gabi_zlib.
224 (copy_options): Use optional_argument on compress-debug-sections.
225 (copy_usage): Update --compress-debug-sections.
226 (copy_file): Handle compress_zlib, compress_gnu_zlib and
229 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
230 * doc/binutils.texi: Document
231 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
233 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
235 * objcopy.c (copy_usage): Replace "--interleave [<number>]" with
236 --interleave[=<number>].
238 2015-04-05 H.J. Lu <hongjiu.lu@intel.com>
240 * readelf.c (get_elf_section_flags): Support SHF_COMPRESSED.
241 (get_compression_header): New.
242 (process_section_headers): Dump compression header if needed.
243 (uncompress_section_contents): Don't free compressed_buffer here.
244 (load_specific_debug_section): Free the compressed buffer, update
245 the section buffer and the section size if uncompress is
248 2015-04-02 H.J. Lu <hongjiu.lu@intel.com>
250 * configure: Regenerated.
252 2015-04-02 Mike Frysinger <vapier@gentoo.org>
254 * MAINTAINERS: Update my e-mail address.
256 2015-04-01 H.J. Lu <hongjiu.lu@intel.com>
258 * configure: Regenerated.
260 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
262 * configure.ac: Revert the AM_ZLIB change.
263 * Makefile.in: Regenerated.
264 * aclocal.m4: Likewise.
265 * configure: Likewise.
267 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
269 * Makefile.am (ZLIB): New.
271 (AM_CFLAGS): Add $(ZLIBINC).
272 (readelf_LDADD): Add $(ZLIB).
273 * configure.ac (AM_ZLIB): Removed.
274 (zlibdir): New. AC_SUBST.
276 Add --with-system-zlib.
277 * Makefile.in: Regenerated.
278 * config.in: Likewise.
279 * configure: Likewise.
281 2015-03-19 Nick Clifton <nickc@redhat.com>
283 * readelf.c (get_machine_flags): Decode RL78's G13 and G14 flags.
285 2015-03-18 Jon Turney <jon.turney@dronecode.org.uk>
286 Nick Clifton <nickc@redhat.com>
289 * doc/binutils.texi: Note that when objcopy compresses debug
290 sections the compression is only performed if it makes the section
293 2015-03-10 H.J. Lu <hongjiu.lu@intel.com>
296 * readelf.c (parse_args): Move nothing to do warning to ...
299 2015-03-10 Nick Clifton <nickc@redhat.com>
302 * readelf.c (parse_args): Enhance check for nothing to do by
303 accounting for the --wide option.
306 * objcopy.c (copy_object): Avoid calling fatal as that does not
307 allow the parent to clean up temporary files.
309 2015-03-10 Yuri Gribov <y.gribov@samsung.arm>
312 * readelf.c: Remove support for ELF_ARM_HASENTRY.
314 2015-03-05 Nick Clifton <nickc@redhat.com>
317 * doc/binutils.texi (objcopy): Extend description of
318 --add-gnu-debuglink option to explain that the separate debug info
319 file must exist. Add a description of what to do if the debug
320 info file is built in one place but then installed into a separate
323 2015-03-05 Nick Clifton <nickc@redhat.com>
326 * dlltool.c (temp_file_to_remove): New local array.
327 (unlink_temp_files): New functions - unlinks any file in the
328 temp_file_to_remove array, unless dotdeltemps is set.
329 (gen_exp_file): Add temp files to array.
330 (make_head): Likewise.
331 (make_delay_head): Likewise.
332 (make_tail): Likewise.
333 (gen_lib_file): Call unlink_temp_files.
335 2015-02-28 Andrew Burgess <andrew.burgess@embecosm.com>
337 * objcopy.c (update_sections): New list.
338 (command_line_switch): Add OPTION_UPDATE_SECTION.
339 (copy_options): Add update-section.
340 (copy_usage): Document new option.
341 (is_update_section): New function.
342 (is_strip_section_1): Add check for attempt to update and remove
344 (copy_object): Update size and content of requested sections.
345 (skip_section): Don't copy for updated sections.
346 (copy_main): Handle --update-section.
347 * doc/binutils.texi (objcopy): Add description of --update-section
349 * NEWS: Mention --update-section option.
351 2015-02-26 Nick Clifton <nickc@redhat.com>
354 * coffgrok.c (do_type): Check for an out of range tag index.
355 Check for integer overflow computing array dimension.
356 (do_define): Likewise.
358 2015-02-26 Andrew Burgess <andrew.burgess@embecosm.com>
360 * objcopy.c (init_section_add): Rename optarg to arg in order to
361 avoid shadowing a global variable.
363 2015-02-26 Nick Clifton <nickc@redhat.com>
366 * resrc.c (write_rc_messagetable): Tighten check for invalid
369 * dwarf.c (display_debug_loc): Pacify the undefined behaviour
370 sanitizer by simplifying address difference calculation.
371 (struct Frame_Chunk): Change type of cfa_offset to dwarf_vma in
372 order to avoid arithmetic overflows.
373 (frame_display_row): Cast cfa_offset before printing it.
374 (display_debug_frames): Likewise.
375 Check for an unexpected segment size.
376 Chnage type of 'l' local to dwarf_vma and cast it back to an int
378 (process_cu_tu_index): Tighten check for an invalid ncols value.
379 * readelf.c (process_corefile_note_segment): Check for
380 inote.descdata extending beyond the end of the section.
381 (process_v850_notes): Likewise.
383 2015-02-26 Terry Guo <terry.guo@arm.com>
385 * readelf.c (arm_attr_tag_ABI_HardFP_use): Update how we
388 2015-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
390 * objcopy.c (init_section_add): New function.
391 (section_add_load_file): New function.
392 (copy_main): Make use of new functions.
394 2015-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
396 * od-elf32_avr.c: Add elf32-avr.h include.
397 (OPT_AVRPROP): Define.
398 (options[]): Add 'avr-prop' entry.
399 (elf32_avr_help): Add avr-prop help text.
400 (elf32_avr_dump_avr_prop): New function.
401 (elf32_avr_dump): Add check for avr-prop.
403 2015-02-24 Nick Clifton <nickc@redhat.com>
405 * readelf.c (get_machine_flags): Remove deprecated V850 machine
407 (get_v850_section_type_name): New function. Handles V850 special
409 (get_section_type_name): Add support for V850.
410 (get_v850_elf_note_type): New function. Returns the name of a
412 (print_v850_note): New function. Prints a V850 note.
413 (process_v850_notes): New function. Prints V850 notes.
414 (process_note_sections): Add support for V850.
416 2015-02-24 Mike Frysinger <vapier@gentoo.org>
419 * readelf.c (process_symbol_table): Declare chained. Increment it
420 in every loop. Abort when chained is larger than nchains. Move
421 error check outside of chain loop.
423 2015-02-24 Dmitry Antipov <dantipov@nvidia.com>
425 * readelf.c (find_symbol_for_address): Use a binary search to
426 speed up symbol location. Skip check for function symbol type.
427 (*_unw_aux_info): Add funtab and nfuns fields contains a sorted
428 list of function symbols.
429 (dump_ia64_unwind): Initialise the funtab and nfuns fields and
430 pass them to find_symbol_for_address.
431 (dump_hppa_unwind): Likewise.
432 (arm_print_vma_and_name): Pass funtab to find_symbol_for_address.
433 (dump_arm_unwind): Initialise the funtab and nfuns fields.
435 2015-02-24 Nick Clifton <nickc@redhat.com>
437 * objdump.c (dump_section): Extend the warning message displayed
438 when a section cannot be loaded.
440 2015-02-21 Mike Frysinger <vapier@gentoo.org>
442 * readelf.c (process_program_headers): Add newline to warning
445 2015-02-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
447 * readelf.c (get_note_type): Add NT_S390_VXRS_LOW and
450 2015-02-13 Nick Clifton <nickc@redhat.com>
453 * dwarf.c (read_leb128): Fix test for shift becoming too large.
455 * coffgrok.c (do_define): Add check for type size overflow.
456 * srconv.c (walk_tree_sfile): Check that enough sections are
457 available before parsing.
461 * dwarf.c (display_debug_aranges): Add check for an excessive
463 (process_cu_tu_index): Check for a row * columns sum being too
466 2015-02-13 Alan Modra <amodra@gmail.com>
468 * dwarf.c: Formatting, whitespace.
469 (process_debug_info): Style fix.
471 2015-02-11 Nick Clifton <nickc@redhat.com>
473 * rl78-decode.opc: Add 'a' attribute to instructions that support
475 * rl78-decode.c: Regenerate.
476 * rl78-dis.c (print_insn_rl78): Display the offset in [HL+0]
479 2015-02-11 Nick Clifton <nickc@redhat.com>
482 * dwarf.c (display_debug_pubnames_worker): Work around compiler
483 bug checking address ranges.
484 (display_debug_frames): Likewise.
485 (display_gdb_index): Likewise.
486 (process_cu_tu_index): Add range check on the ncols value.
488 2015-02-10 Nick Clifton <nickc@redhat.com>
491 * dwarf.c (eh_addr_size): Use an unsigned type.
492 (size_of_encoded_value): Return an unsigned type.
493 (read_leb128): Break if the shift becomes too big.
494 (process_extended_line_op): Do not read the address if the length
496 (read_cie): Warn and fail if the pointer size or segment size are
498 * dwarf.h (DWARF2_External_LineInfo): Delete unused and incorrect
499 structure definition.
500 (DWARF2_External_PubNames): Likewise.
501 (DWARF2_External_CompUnit): Likewise.
502 (DWARF2_External_ARange): Likewise.
503 (DWARF2_Internal_LineInfo): Use dwarf_vma type for
505 (eh_addr_size): Update prototype.
508 * dwarf.c (process_debug_info): Zero the debug information array
509 since correct initialisation cannot be relied upon.
510 (process_cu_tu_index): Improve range checks.
513 * dwarf.c (display_debug_pubnames_worker): Use dwarf_vma type for
515 * readelf.c (dump_relocations): Handle printing offsets which are
517 (process_corefile_note_segment): Add range check of the namesz
520 2015-02-09 Mark Wielaard <mjw@redhat.com>
522 * dwarf.c (read_and_display_attr_value): Handle DW_LANG_Fortran03
523 and DW_LANG_Fortran08.
525 2015-02-06 Nick Clifton <nickc@redhat.com>
528 * dwarf.c (display_debug_frames): Fix range checks to work on
529 32-bit binaries complied on a 64-bit host.
532 * dwarf.c (xcmalloc): Fail if the arguments are too big.
533 (xcrealloc): Likewise.
534 (xcalloc2): Likewise.
535 * readelf.c (process_mips_specific): Fail if an option has an
538 2015-02-05 Alan Modra <amodra@gmail.com>
541 * dwarf.c (dwarf_select_sections_by_letters): Don't refer to optarg.
543 2015-02-04 Nick Clifton <nickc@redhat.com>
546 * dwarf.c (read_and_display_attr_value): Test for a block length
547 being so long that it wraps around to before the start of the block.
548 (process_debug_info): Test for section_begin wrapping around to
549 before the start of the section.
550 (display_gdb_index): Test for num_cus being so large that the end
551 address wraps around to before the start of the section.
552 (process_cu_tu_index): Test for j being so large that the section
553 index pool wraps around to before the start of the section.
555 2015-02-03 Nick Clifton <nickc@redhat.com>
558 * dwarf.c (process_debug_info): Add range check.
559 (display_debug_pubnames_worker): Likewise.
560 (display_gdb_index): Fix range check.
561 (process_cu_tu_index): Add range check.
562 * readelf.c (get_data): Change parameter types from size_t to
563 bfd_size_type. Add checks for loss of accuracy when casting from
564 bfd_size_type to size_t.
565 (get_dynamic_data): Likewise.
566 (process_section_groups): Limit number of error messages.
568 2015-02-03 Nick Clifton <nickc@redhat.com>
571 * objdump.c (display_any_bfd): Fail if archives nest too deeply.
573 2015-01-28 James Bowman <james.bowman@ftdichip.com>
575 * readelf.c: Add FT32 support.
577 2015-01-27 Nick Clifton <nickc@redhat.com>
580 * dlltool.c (identify_search_archive): If the last archive was the
581 same as the current archive, terminate the loop.
583 * addr2line.c (slurp_symtab): If the symcount is zero, free the
584 symbol table pointer.
586 * rcparse.y: Add checks to avoid integer divide by zero.
587 * rescoff.c (read_coff_rsrc): Add check on the size of the
589 (read_coff_res_dir): Add check on the nesting level.
590 Check for resource names overrunning the buffer.
591 * resrc.c (write_rc_messagetable): Update formatting.
592 Add check of 'elen' being zero.
594 2015-01-23 Nick Clifton <nickc@redhat.com>
596 * nlmconv.c (powerpc_mangle_relocs): Fix build errors introduced
597 by recent delta, when compiling on for a 32-bit host.
599 2015-01-21 Nick Clifton <nickc@redhat.com>
602 * addr2line.c (main): Call bfd_set_error_program_name.
603 * ar.c (main): Likewise.
604 * coffdump.c (main): Likewise.
605 * cxxfilt.c (main): Likewise.
606 * dlltool.c (main): Likewise.
607 * nlmconv.c (main): Likewise.
608 * nm.c (main): Likewise.
609 * objdump.c (main): Likewise.
610 * size.c (main): Likewise.
611 * srconv.c (main): Likewise.
612 * strings.c (main): Likewise.
613 * sysdump.c (main): Likewise.
614 * windmc.c (main): Likewise.
615 * windres.c (main): Likewise.
616 * objcopy.c (main): Likewise.
617 (copy_relocations_in_section): Check for relocs without associated
620 2015-01-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
622 * MAINTAINERS: Add self to ARM maintainers list.
624 2015-01-21 Nick Clifton <nickc@redhat.com>
627 * coffgrok.c (do_type): Check that computed ref exists.
628 (doit): Add range checks when computing section for scope.
630 2015-01-12 H.J. Lu <hongjiu.lu@intel.com>
632 * dwarf.c (process_debug_info): Properly check abbrev size.
634 2015-01-12 Nick Clifton <nickc@redhat.com>
637 * dwarf.c (process_debug_info): Check for abbrev_base being larger
638 than the section size.
639 (process_cu_tu_index): Use xcalloc2 to allocate the CU and TU
641 (xcalloc2): New function. Like xcalloc, but checks for overflow.
642 (display_debug_addr): Use xcalloc to allocate the debug_addr_info
643 array. Check for an address_base that is too large.
645 * dwarf.h (xcalloc2): Prototype.
647 2015-01-12 Alan Modra <amodra@gmail.com>
649 * prdbg.c (print_debugging_info): Don't use void* for function
651 * budbg.h (print_debugging_info): Update prototype.
653 2015-01-08 Nick Clifton <nickc@redhat.com>
656 * ojcopy.c (copy_object): Free the symbol table if no symbols
658 (copy_file): Use bfd_close_all_done to close files that could not
661 * sysdump.c (getINT): Fail if reading off the end of the buffer.
662 Replace call to abort with a call to fatal.
663 (getCHARS): Prevetn reading off the end of the buffer.
665 * nlmconv.c (i386_mangle_relocs): Skip relocs without an
667 (powerpc_mangle_relocs): Skip unrecognised relocs. Check address
668 range before applying a reloc.
670 2015-01-07 Nick Clifton <nickc@redhat.com>
673 * dlltool.c (scan_obj_file): Break loop if the last archive
674 displayed matches the current archive.
676 * objdump.c (display_any_bfd): Add a depth limit to nested archive
677 display in order to avoid infinite loops.
678 * srconv.c: Replace calls to abort with calls to fatal with an
681 2015-01-06 Nick Clifton <nickc@redhat.com>
684 * coffdump.c (dump_coff_section): Check for a symbol being
685 available before printing its name.
686 (main): Check the return value from coff_grok.
687 * coffgrok.c: Reformat and tidy.
688 Add range checks to most functions.
689 (coff_grok): Return NULL if the input bfd is not in a COFF
691 * coffgrok.h: Reformat and tidy.
692 (struct coff_section): Change the nrelocs field to unsigned.
693 * srconv.c (main): Check the return value from coff_grok.
695 2015-01-05 Nick Clifton <nickc@redhat.com>
698 * nm.c (print_symbol): Add 'is_synthetic' parameter. Use it to
699 help initialize the info.elfinfo field.
700 (print_size_symbols): Add 'synth_count' parameter. Use it to set
701 the is_synthetic parameter when calling print_symbol.
702 (print_symbols): Likewise.
703 (display_rel_file): Pass synth_count to printing function.
704 (display_archive): Break loop if the last archive displayed
705 matches the current archive.
706 * size.c (display_archive): Likewise.
708 2015-01-05 Nick Clifton <nickc@redhat.com>
711 * dwarf.c (alloc_num_debug_info_entries): New variable.
712 (process_debug_info): Set it. Use it to avoid displaying
713 attributes for which there is no info.
714 (display_debug_abbrev): Check that the debug_info_entry index is
715 valid before using it.
716 (display_loc_list_dwo): Likewise.
717 (process_cu_tu_index): Add range check for an overlarge dw_sect
719 (free_debug_memory): Reset alloc_num_debug_info_entries.
720 * readelf.c (slurp_ia64_unwind_table): Warn if the reloc could not
722 (dynamic_section_mips_val): Warn if the timestamp is invalid.
723 (print_mips_got_entry): Add a data_end parameter. Warn if a read
724 would go beyond the end of the data, and return an error value.
725 (process_mips_specific): Do not read options from beyond the end
727 Correct code to display optional data at the end of an option.
728 Warn if there are too many GOT symbols.
729 Update calls to print_mips_got_entry, and handle error returns.
731 2015-01-05 Daniel Klauer <daniel.c.klauer@web.de>
734 * doc/binutils.texi (dlltool): Correct description of --kill-at
737 2015-01-01 Alan Modra <amodra@gmail.com>
739 * version.c (print_version): Just print current year.
741 2015-01-01 Alan Modra <amodra@gmail.com>
743 Update year range in copyright notice of all files.
745 For older changes see ChangeLog-2014
747 Copyright (C) 2015 Free Software Foundation, Inc.
749 Copying and distribution of this file, with or without modification,
750 are permitted in any medium without royalty provided the copyright
751 notice and this notice are preserved.
757 version-control: never