1 2015-09-03 Nick Clifton <nickc@redhat.com>
4 * readelf.c (get_unwind_section_word): Check for negative offsets
5 and very small sections.
6 (dump_arm_unwind): Warn if the table offset is too large.
8 2015-08-28 H.J. Lu <hongjiu.lu@intel.com>
10 * Makefile.am (TOOL_PROGS): Add readelf.
11 * Makefile.in: Regenerated.
13 2015-08-24 Yaakov Selkowitz <yselkowi@redhat.com>
15 * configure: Regenerate.
17 2015-08-17 Alan Modra <amodra@gmail.com>
19 * configure: Regenerate.
21 2015-08-07 Andrew Burgess <andrew.burgess@embecosm.com>
23 * objcopy.c (is_specified_symbol_predicate): Don't stop at first
24 match. Non-match rules set found to FALSE.
26 2015-08-06 Yaakov Selkowitz <yselkowi@redhat.com>
28 * configure: Regenerate.
30 2015-08-05 Nick Clifton <nickc@redhat.com>
32 * doc/binutils.texi: Document that the --only-keep-debug option
33 to strip and objcopy preserves the section headers of stripped
36 2015-08-04 Yuriy M. Kaminskiy" <yumkam@gmail.com>
37 Tyler Hicks <tyhicks@canonical.com>
40 * readelf.c (process_mips_specific): Fix incorrect escape
43 2015-08-04 Nick Clifton <nickc@redhat.com>
45 * ar.c (extract_file): Free cbuf if the path is invalid.
47 2015-07-27 H.J. Lu <hongjiu.lu@intel.com>
49 * configure: Regenerated.
51 2015-07-24 H.J. Lu <hongjiu.lu@intel.com>
53 * stabs.c (parse_stab_range_type): Use 0xffffffffffffffffLL.
55 2015-07-22 Alan Modra <amodra@gmail.com>
57 * readelf.c (dump_relocations): Show MIN_INT addends as negative.
59 2015-07-20 Alan Modra <amodra@gmail.com>
61 * doc/Makefile.in: Regenerate.
63 2015-07-16 Alan Modra <amodra@gmail.com>
66 * readelf.c (get_32bit_dynamic_section): Correct buffer limit test.
67 (get_64bit_dynamic_section): Likewise.
69 2015-07-14 H.J. Lu <hongjiu.lu@intel.com>
71 * objcopy.c (copy_file): Set BFD_COMPRESS_GABI if not
73 * doc/binutils.texi: Change --compress-debug-sections and
74 --compress-debug-sections=zlib to zlib-gabi.
76 2015-07-10 H.J. Lu <hongjiu.lu@intel.com>
79 * objcopy.c (setup_section): Call bfd_convert_section_size
80 to get the output section size.
81 (copy_section): Get the section size from the output section
82 and call bfd_get_full_section_contents to convert section
85 2015-07-10 H.J. Lu <hongjiu.lu@intel.com>
87 * readelf.c (dump_section_as_strings): Warn unsupported compress
88 type and corrupted compressed section.
89 (dump_section_as_bytes): Likewise.
90 (load_specific_debug_section): Likewise.
92 2015-07-09 Catherine Moore <clm@codesourcery.com>
94 * readelf.c (print_mips_fp_abi_value): Handle
95 Val_GNU_MIPS_ABI_FP_NAN2008.
97 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
99 * readelf.c (get_mips_dynamic_type): Handle DT_MIPS_RLD_MAP_REL.
101 2015-06-22 Nick Clifton <nickc@redhat.com>
103 * objdump.c (disassemble_bytes): Set the stop_vma field in the
104 disassemble_info structure when disassembling code sections with
106 * doc/binutils.texi (objdump): Document the discrepancy between -d
109 2015-06-05 Nick Clifton <nickc@redhat.com>
111 * dwarf.c (read_debug_line_header): Use reloc_at to detect
112 incomplete .debug_line headers
114 2015-05-29 Roland McGrath <mcgrathr@google.com>
116 * readelf.c (print_gnu_note: NT_GNU_ABI_TAG): Recognize
117 GNU_ABI_TAG_SYLLABLE and GNU_ABI_TAG_NACL.
119 2015-05-29 Stephen Kitt <steve@sk2.org>
121 * dlltool.c (make_one_lib_file): Clear .idata$6 before use.
122 (main): Fail if the output file specified by the -z option cannot
125 2015-05-18 Nick Clifton <nickc@redhat.com>
128 * ia64-unwind.c (unw_decode): Add end parameter. Pass parameter
129 on to decode functions.
130 (unw_devode_p2_p5): Pass end paraemter to UNW_DEC_SPILL_MASK.
131 (UNW_DEC_SPILL_MASK): Add end parameter. Check that unw_rlen does
132 not take us beyond the end of the buffer.
133 * ia64-unwind.h (unw_decode): Update prototype.
134 * readelf.c (dump_ia64_unwind): Pass end pointer to unw_decode.
136 2015-05-15 H.J. Lu <hongjiu.lu@intel.com>
138 * readelf.c (dump_section_as_strings): Change pointers from
139 char * to unsigned char *.
141 2015-05-15 H.J. Lu <hongjiu.lu@intel.com>
144 * doc/binutils.texi: Document -Mamd64 and -Mintel64.
146 2015-05-15 Nick Clifton <nickc@redhat.com>
148 * readelf.c (options): Add "decompress".
149 (usage): Mention -z/--decompress.
150 (parse_args): Handle -z.
151 (uncompress_section_contents): Move to earlier in the file.
152 (dump_section_as_strings): If requested, decompress the section
154 (dump_section_as_bytes): Likewise.
155 * doc/binutils.texi: Document the new option.
157 2015-05-14 Peter Bergner <bergner@vnet.ibm.com>
159 * MAINTAINERS: Add myself as PPC maintainer.
161 2015-05-14 H.J. Lu <hongjiu.lu@intel.com>
163 * readelf.c (uncompress_section_contents): Add a parameter for
164 uncompressed size. Don't check the zlib header.
165 (load_specific_debug_section): Updated.
167 2015-05-15 Nick Clifton <nickc@redhat.com>
170 * dwarf.h (struct dwarf_section): Add reloc_info and num_relocs
172 (struct dwarf_section_display): Change bitfield to boolean.
173 (reloc_at): Add prototype.
174 * dwarf.c (display_loc_list): Ignore list terminators if there are
176 (display_debug_loc): Issue a warning if there are relocs against
177 the .debug_loc section.
178 (display_displays): Initialise reloc_info and num_relocs fields.
179 * objdump.c (load_specific_debug_section): Initialise reloc_info
180 and num_relocs fields.
181 (reloc_at): New function.
182 * readelf.c (is_32bit_abs_reloc): Add IA64's R_IA64_DIS32LSB
184 (reloc_at): New function.
185 (apply_relocations): Add relocs_return and num_relocs_return
186 parameters. Fill them in with the loaded relocs if non-NULL.
187 (dump_section_as_bytes): Update call to apply_relocations.
188 (load_specific_debug_section): Initialise reloc_info and
191 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
193 * elfedit.c (elf_class): Return ELF_CLASS_BOTH by default.
195 2015-05-13 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
197 * MAINTAINERS: Add myself as s390 and s390x maintainer.
199 2015-05-12 Stephen Kitt <steve@sk2.org>
201 * dlltool.c (main): Accept -t as an abbreviation for
204 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
206 * dwarf.c (dwarf_regnames_iamcu): New.
207 (init_dwarf_regnames_iamcu): Likewise.
208 (init_dwarf_regnames): Call init_dwarf_regnames_iamcu for EM_IAMCU.
209 * dwarf.h (init_dwarf_regnames_iamcu): New.
210 * objdump.c (dump_dwarf): Call init_dwarf_regnames_iamcu for
213 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
215 * elfedit.c (enum elfclass): New.
216 (input_elf_class): Change type to enum elfclass.
217 (output_elf_class): New.
218 (elf_class): Change return type to enum elfclass. Support EM_386
220 (update_elf_header): Check if input and output ELF classes match.
221 (elf_machine): Support EM_386 and EM_IAMCU.
222 (main): Update input_elf_class. Set output_elf_class.
223 * doc/binutils.texi: Update elfedit.
225 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
227 * dwarf.c (init_dwarf_regnames): Replace EM_486 with EM_IAMCU.
228 * readelf.c (guess_is_rela): Likewise.
229 (dump_relocations): Likewise.
230 (get_machine_name): Likewise.
231 (get_elf_section_flags): Likewise.
232 (process_section_headers): Likewise.
233 (is_32bit_abs_reloc): Likewise.
234 (is_32bit_pcrel_reloc): Likewise.
236 2015-04-30 Nick Clifton <nickc@redhat.com>
238 * readelf.c (get_machine_flags): Add description of MeP flags.
240 2015-04-27 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
242 * readelf.c (display_s390_gnu_attribute): New function.
243 (process_s390_specific): New function.
244 (process_arch_specific): Call process_s390_specific.
246 2015-04-24 Nick Clifton <nickc@redhat.com>
249 * ieee.c (ieee_read_cxx_class): Initialise the varargs variable.
250 * readelf.c (uncompress_section_contents): Zero initialise the
253 2015-04-23 H.J. Lu <hongjiu.lu@intel.com>
256 * objcopy.c (setup_section): Copy compress status.
258 2015-04-15 H.J. Lu <hongjiu.lu@intel.com>
261 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
263 2015-04-14 Nick Clifton <nickc@redhat.com>
265 * readelf.c (target_specific_reloc_handling): Add code to handle
268 2015-04-13 Doug Evans <dje@google.com>
271 * readelf.c (printable_section_name): Constify sec argument.
272 (apply_relocations): Ditto. New arg "size". All callers updated.
273 (load_specific_debug_section): Constify sec argument.
274 Remove side-effect of modifying sec->sh_size.
276 2015-04-09 H.J. Lu <hongjiu.lu@intel.com>
278 * objcopy.c (do_debug_sections): Use bit patterns.
279 (copy_object): Return FALSE for compress_zlib, compress_gnu_zlib
280 and compress_gabi_zlib on non-ELF input.
281 (copy_file): Don't check non-ELF input here.
283 2015-04-09 Nick Clifton <nickc@redhat.com>
285 * readelf.c (get_machine_flags): Report the setting of the string
288 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
290 * objcopy.c (do_debug_sections): Add compress_zlib,
291 compress_gnu_zlib and compress_gabi_zlib.
292 (copy_options): Use optional_argument on compress-debug-sections.
293 (copy_usage): Update --compress-debug-sections.
294 (copy_file): Handle compress_zlib, compress_gnu_zlib and
297 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
298 * doc/binutils.texi: Document
299 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
301 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
303 * objcopy.c (copy_usage): Replace "--interleave [<number>]" with
304 --interleave[=<number>].
306 2015-04-05 H.J. Lu <hongjiu.lu@intel.com>
308 * readelf.c (get_elf_section_flags): Support SHF_COMPRESSED.
309 (get_compression_header): New.
310 (process_section_headers): Dump compression header if needed.
311 (uncompress_section_contents): Don't free compressed_buffer here.
312 (load_specific_debug_section): Free the compressed buffer, update
313 the section buffer and the section size if uncompress is
316 2015-04-02 H.J. Lu <hongjiu.lu@intel.com>
318 * configure: Regenerated.
320 2015-04-02 Mike Frysinger <vapier@gentoo.org>
322 * MAINTAINERS: Update my e-mail address.
324 2015-04-01 H.J. Lu <hongjiu.lu@intel.com>
326 * configure: Regenerated.
328 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
330 * configure.ac: Revert the AM_ZLIB change.
331 * Makefile.in: Regenerated.
332 * aclocal.m4: Likewise.
333 * configure: Likewise.
335 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
337 * Makefile.am (ZLIB): New.
339 (AM_CFLAGS): Add $(ZLIBINC).
340 (readelf_LDADD): Add $(ZLIB).
341 * configure.ac (AM_ZLIB): Removed.
342 (zlibdir): New. AC_SUBST.
344 Add --with-system-zlib.
345 * Makefile.in: Regenerated.
346 * config.in: Likewise.
347 * configure: Likewise.
349 2015-03-19 Nick Clifton <nickc@redhat.com>
351 * readelf.c (get_machine_flags): Decode RL78's G13 and G14 flags.
353 2015-03-18 Jon Turney <jon.turney@dronecode.org.uk>
354 Nick Clifton <nickc@redhat.com>
357 * doc/binutils.texi: Note that when objcopy compresses debug
358 sections the compression is only performed if it makes the section
361 2015-03-10 H.J. Lu <hongjiu.lu@intel.com>
364 * readelf.c (parse_args): Move nothing to do warning to ...
367 2015-03-10 Nick Clifton <nickc@redhat.com>
370 * readelf.c (parse_args): Enhance check for nothing to do by
371 accounting for the --wide option.
374 * objcopy.c (copy_object): Avoid calling fatal as that does not
375 allow the parent to clean up temporary files.
377 2015-03-10 Yuri Gribov <y.gribov@samsung.arm>
380 * readelf.c: Remove support for ELF_ARM_HASENTRY.
382 2015-03-05 Nick Clifton <nickc@redhat.com>
385 * doc/binutils.texi (objcopy): Extend description of
386 --add-gnu-debuglink option to explain that the separate debug info
387 file must exist. Add a description of what to do if the debug
388 info file is built in one place but then installed into a separate
391 2015-03-05 Nick Clifton <nickc@redhat.com>
394 * dlltool.c (temp_file_to_remove): New local array.
395 (unlink_temp_files): New functions - unlinks any file in the
396 temp_file_to_remove array, unless dotdeltemps is set.
397 (gen_exp_file): Add temp files to array.
398 (make_head): Likewise.
399 (make_delay_head): Likewise.
400 (make_tail): Likewise.
401 (gen_lib_file): Call unlink_temp_files.
403 2015-02-28 Andrew Burgess <andrew.burgess@embecosm.com>
405 * objcopy.c (update_sections): New list.
406 (command_line_switch): Add OPTION_UPDATE_SECTION.
407 (copy_options): Add update-section.
408 (copy_usage): Document new option.
409 (is_update_section): New function.
410 (is_strip_section_1): Add check for attempt to update and remove
412 (copy_object): Update size and content of requested sections.
413 (skip_section): Don't copy for updated sections.
414 (copy_main): Handle --update-section.
415 * doc/binutils.texi (objcopy): Add description of --update-section
417 * NEWS: Mention --update-section option.
419 2015-02-26 Nick Clifton <nickc@redhat.com>
422 * coffgrok.c (do_type): Check for an out of range tag index.
423 Check for integer overflow computing array dimension.
424 (do_define): Likewise.
426 2015-02-26 Andrew Burgess <andrew.burgess@embecosm.com>
428 * objcopy.c (init_section_add): Rename optarg to arg in order to
429 avoid shadowing a global variable.
431 2015-02-26 Nick Clifton <nickc@redhat.com>
434 * resrc.c (write_rc_messagetable): Tighten check for invalid
437 * dwarf.c (display_debug_loc): Pacify the undefined behaviour
438 sanitizer by simplifying address difference calculation.
439 (struct Frame_Chunk): Change type of cfa_offset to dwarf_vma in
440 order to avoid arithmetic overflows.
441 (frame_display_row): Cast cfa_offset before printing it.
442 (display_debug_frames): Likewise.
443 Check for an unexpected segment size.
444 Chnage type of 'l' local to dwarf_vma and cast it back to an int
446 (process_cu_tu_index): Tighten check for an invalid ncols value.
447 * readelf.c (process_corefile_note_segment): Check for
448 inote.descdata extending beyond the end of the section.
449 (process_v850_notes): Likewise.
451 2015-02-26 Terry Guo <terry.guo@arm.com>
453 * readelf.c (arm_attr_tag_ABI_HardFP_use): Update how we
456 2015-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
458 * objcopy.c (init_section_add): New function.
459 (section_add_load_file): New function.
460 (copy_main): Make use of new functions.
462 2015-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
464 * od-elf32_avr.c: Add elf32-avr.h include.
465 (OPT_AVRPROP): Define.
466 (options[]): Add 'avr-prop' entry.
467 (elf32_avr_help): Add avr-prop help text.
468 (elf32_avr_dump_avr_prop): New function.
469 (elf32_avr_dump): Add check for avr-prop.
471 2015-02-24 Nick Clifton <nickc@redhat.com>
473 * readelf.c (get_machine_flags): Remove deprecated V850 machine
475 (get_v850_section_type_name): New function. Handles V850 special
477 (get_section_type_name): Add support for V850.
478 (get_v850_elf_note_type): New function. Returns the name of a
480 (print_v850_note): New function. Prints a V850 note.
481 (process_v850_notes): New function. Prints V850 notes.
482 (process_note_sections): Add support for V850.
484 2015-02-24 Mike Frysinger <vapier@gentoo.org>
487 * readelf.c (process_symbol_table): Declare chained. Increment it
488 in every loop. Abort when chained is larger than nchains. Move
489 error check outside of chain loop.
491 2015-02-24 Dmitry Antipov <dantipov@nvidia.com>
493 * readelf.c (find_symbol_for_address): Use a binary search to
494 speed up symbol location. Skip check for function symbol type.
495 (*_unw_aux_info): Add funtab and nfuns fields contains a sorted
496 list of function symbols.
497 (dump_ia64_unwind): Initialise the funtab and nfuns fields and
498 pass them to find_symbol_for_address.
499 (dump_hppa_unwind): Likewise.
500 (arm_print_vma_and_name): Pass funtab to find_symbol_for_address.
501 (dump_arm_unwind): Initialise the funtab and nfuns fields.
503 2015-02-24 Nick Clifton <nickc@redhat.com>
505 * objdump.c (dump_section): Extend the warning message displayed
506 when a section cannot be loaded.
508 2015-02-21 Mike Frysinger <vapier@gentoo.org>
510 * readelf.c (process_program_headers): Add newline to warning
513 2015-02-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
515 * readelf.c (get_note_type): Add NT_S390_VXRS_LOW and
518 2015-02-13 Nick Clifton <nickc@redhat.com>
521 * dwarf.c (read_leb128): Fix test for shift becoming too large.
523 * coffgrok.c (do_define): Add check for type size overflow.
524 * srconv.c (walk_tree_sfile): Check that enough sections are
525 available before parsing.
529 * dwarf.c (display_debug_aranges): Add check for an excessive
531 (process_cu_tu_index): Check for a row * columns sum being too
534 2015-02-13 Alan Modra <amodra@gmail.com>
536 * dwarf.c: Formatting, whitespace.
537 (process_debug_info): Style fix.
539 2015-02-11 Nick Clifton <nickc@redhat.com>
541 * rl78-decode.opc: Add 'a' attribute to instructions that support
543 * rl78-decode.c: Regenerate.
544 * rl78-dis.c (print_insn_rl78): Display the offset in [HL+0]
547 2015-02-11 Nick Clifton <nickc@redhat.com>
550 * dwarf.c (display_debug_pubnames_worker): Work around compiler
551 bug checking address ranges.
552 (display_debug_frames): Likewise.
553 (display_gdb_index): Likewise.
554 (process_cu_tu_index): Add range check on the ncols value.
556 2015-02-10 Nick Clifton <nickc@redhat.com>
559 * dwarf.c (eh_addr_size): Use an unsigned type.
560 (size_of_encoded_value): Return an unsigned type.
561 (read_leb128): Break if the shift becomes too big.
562 (process_extended_line_op): Do not read the address if the length
564 (read_cie): Warn and fail if the pointer size or segment size are
566 * dwarf.h (DWARF2_External_LineInfo): Delete unused and incorrect
567 structure definition.
568 (DWARF2_External_PubNames): Likewise.
569 (DWARF2_External_CompUnit): Likewise.
570 (DWARF2_External_ARange): Likewise.
571 (DWARF2_Internal_LineInfo): Use dwarf_vma type for
573 (eh_addr_size): Update prototype.
576 * dwarf.c (process_debug_info): Zero the debug information array
577 since correct initialisation cannot be relied upon.
578 (process_cu_tu_index): Improve range checks.
581 * dwarf.c (display_debug_pubnames_worker): Use dwarf_vma type for
583 * readelf.c (dump_relocations): Handle printing offsets which are
585 (process_corefile_note_segment): Add range check of the namesz
588 2015-02-09 Mark Wielaard <mjw@redhat.com>
590 * dwarf.c (read_and_display_attr_value): Handle DW_LANG_Fortran03
591 and DW_LANG_Fortran08.
593 2015-02-06 Nick Clifton <nickc@redhat.com>
596 * dwarf.c (display_debug_frames): Fix range checks to work on
597 32-bit binaries complied on a 64-bit host.
600 * dwarf.c (xcmalloc): Fail if the arguments are too big.
601 (xcrealloc): Likewise.
602 (xcalloc2): Likewise.
603 * readelf.c (process_mips_specific): Fail if an option has an
606 2015-02-05 Alan Modra <amodra@gmail.com>
609 * dwarf.c (dwarf_select_sections_by_letters): Don't refer to optarg.
611 2015-02-04 Nick Clifton <nickc@redhat.com>
614 * dwarf.c (read_and_display_attr_value): Test for a block length
615 being so long that it wraps around to before the start of the block.
616 (process_debug_info): Test for section_begin wrapping around to
617 before the start of the section.
618 (display_gdb_index): Test for num_cus being so large that the end
619 address wraps around to before the start of the section.
620 (process_cu_tu_index): Test for j being so large that the section
621 index pool wraps around to before the start of the section.
623 2015-02-03 Nick Clifton <nickc@redhat.com>
626 * dwarf.c (process_debug_info): Add range check.
627 (display_debug_pubnames_worker): Likewise.
628 (display_gdb_index): Fix range check.
629 (process_cu_tu_index): Add range check.
630 * readelf.c (get_data): Change parameter types from size_t to
631 bfd_size_type. Add checks for loss of accuracy when casting from
632 bfd_size_type to size_t.
633 (get_dynamic_data): Likewise.
634 (process_section_groups): Limit number of error messages.
636 2015-02-03 Nick Clifton <nickc@redhat.com>
639 * objdump.c (display_any_bfd): Fail if archives nest too deeply.
641 2015-01-28 James Bowman <james.bowman@ftdichip.com>
643 * readelf.c: Add FT32 support.
645 2015-01-27 Nick Clifton <nickc@redhat.com>
648 * dlltool.c (identify_search_archive): If the last archive was the
649 same as the current archive, terminate the loop.
651 * addr2line.c (slurp_symtab): If the symcount is zero, free the
652 symbol table pointer.
654 * rcparse.y: Add checks to avoid integer divide by zero.
655 * rescoff.c (read_coff_rsrc): Add check on the size of the
657 (read_coff_res_dir): Add check on the nesting level.
658 Check for resource names overrunning the buffer.
659 * resrc.c (write_rc_messagetable): Update formatting.
660 Add check of 'elen' being zero.
662 2015-01-23 Nick Clifton <nickc@redhat.com>
664 * nlmconv.c (powerpc_mangle_relocs): Fix build errors introduced
665 by recent delta, when compiling on for a 32-bit host.
667 2015-01-21 Nick Clifton <nickc@redhat.com>
670 * addr2line.c (main): Call bfd_set_error_program_name.
671 * ar.c (main): Likewise.
672 * coffdump.c (main): Likewise.
673 * cxxfilt.c (main): Likewise.
674 * dlltool.c (main): Likewise.
675 * nlmconv.c (main): Likewise.
676 * nm.c (main): Likewise.
677 * objdump.c (main): Likewise.
678 * size.c (main): Likewise.
679 * srconv.c (main): Likewise.
680 * strings.c (main): Likewise.
681 * sysdump.c (main): Likewise.
682 * windmc.c (main): Likewise.
683 * windres.c (main): Likewise.
684 * objcopy.c (main): Likewise.
685 (copy_relocations_in_section): Check for relocs without associated
688 2015-01-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
690 * MAINTAINERS: Add self to ARM maintainers list.
692 2015-01-21 Nick Clifton <nickc@redhat.com>
695 * coffgrok.c (do_type): Check that computed ref exists.
696 (doit): Add range checks when computing section for scope.
698 2015-01-12 H.J. Lu <hongjiu.lu@intel.com>
700 * dwarf.c (process_debug_info): Properly check abbrev size.
702 2015-01-12 Nick Clifton <nickc@redhat.com>
705 * dwarf.c (process_debug_info): Check for abbrev_base being larger
706 than the section size.
707 (process_cu_tu_index): Use xcalloc2 to allocate the CU and TU
709 (xcalloc2): New function. Like xcalloc, but checks for overflow.
710 (display_debug_addr): Use xcalloc to allocate the debug_addr_info
711 array. Check for an address_base that is too large.
713 * dwarf.h (xcalloc2): Prototype.
715 2015-01-12 Alan Modra <amodra@gmail.com>
717 * prdbg.c (print_debugging_info): Don't use void* for function
719 * budbg.h (print_debugging_info): Update prototype.
721 2015-01-08 Nick Clifton <nickc@redhat.com>
724 * ojcopy.c (copy_object): Free the symbol table if no symbols
726 (copy_file): Use bfd_close_all_done to close files that could not
729 * sysdump.c (getINT): Fail if reading off the end of the buffer.
730 Replace call to abort with a call to fatal.
731 (getCHARS): Prevetn reading off the end of the buffer.
733 * nlmconv.c (i386_mangle_relocs): Skip relocs without an
735 (powerpc_mangle_relocs): Skip unrecognised relocs. Check address
736 range before applying a reloc.
738 2015-01-07 Nick Clifton <nickc@redhat.com>
741 * dlltool.c (scan_obj_file): Break loop if the last archive
742 displayed matches the current archive.
744 * objdump.c (display_any_bfd): Add a depth limit to nested archive
745 display in order to avoid infinite loops.
746 * srconv.c: Replace calls to abort with calls to fatal with an
749 2015-01-06 Nick Clifton <nickc@redhat.com>
752 * coffdump.c (dump_coff_section): Check for a symbol being
753 available before printing its name.
754 (main): Check the return value from coff_grok.
755 * coffgrok.c: Reformat and tidy.
756 Add range checks to most functions.
757 (coff_grok): Return NULL if the input bfd is not in a COFF
759 * coffgrok.h: Reformat and tidy.
760 (struct coff_section): Change the nrelocs field to unsigned.
761 * srconv.c (main): Check the return value from coff_grok.
763 2015-01-05 Nick Clifton <nickc@redhat.com>
766 * nm.c (print_symbol): Add 'is_synthetic' parameter. Use it to
767 help initialize the info.elfinfo field.
768 (print_size_symbols): Add 'synth_count' parameter. Use it to set
769 the is_synthetic parameter when calling print_symbol.
770 (print_symbols): Likewise.
771 (display_rel_file): Pass synth_count to printing function.
772 (display_archive): Break loop if the last archive displayed
773 matches the current archive.
774 * size.c (display_archive): Likewise.
776 2015-01-05 Nick Clifton <nickc@redhat.com>
779 * dwarf.c (alloc_num_debug_info_entries): New variable.
780 (process_debug_info): Set it. Use it to avoid displaying
781 attributes for which there is no info.
782 (display_debug_abbrev): Check that the debug_info_entry index is
783 valid before using it.
784 (display_loc_list_dwo): Likewise.
785 (process_cu_tu_index): Add range check for an overlarge dw_sect
787 (free_debug_memory): Reset alloc_num_debug_info_entries.
788 * readelf.c (slurp_ia64_unwind_table): Warn if the reloc could not
790 (dynamic_section_mips_val): Warn if the timestamp is invalid.
791 (print_mips_got_entry): Add a data_end parameter. Warn if a read
792 would go beyond the end of the data, and return an error value.
793 (process_mips_specific): Do not read options from beyond the end
795 Correct code to display optional data at the end of an option.
796 Warn if there are too many GOT symbols.
797 Update calls to print_mips_got_entry, and handle error returns.
799 2015-01-05 Daniel Klauer <daniel.c.klauer@web.de>
802 * doc/binutils.texi (dlltool): Correct description of --kill-at
805 2015-01-01 Alan Modra <amodra@gmail.com>
807 * version.c (print_version): Just print current year.
809 2015-01-01 Alan Modra <amodra@gmail.com>
811 Update year range in copyright notice of all files.
813 For older changes see ChangeLog-2014
815 Copyright (C) 2015 Free Software Foundation, Inc.
817 Copying and distribution of this file, with or without modification,
818 are permitted in any medium without royalty provided the copyright
819 notice and this notice are preserved.
825 version-control: never