1 2015-07-22 Alan Modra <amodra@gmail.com>
3 * readelf.c (dump_relocations): Show MIN_INT addends as negative.
5 2015-07-20 Alan Modra <amodra@gmail.com>
7 * doc/Makefile.in: Regenerate.
9 2015-07-16 Alan Modra <amodra@gmail.com>
12 * readelf.c (get_32bit_dynamic_section): Correct buffer limit test.
13 (get_64bit_dynamic_section): Likewise.
15 2015-07-14 H.J. Lu <hongjiu.lu@intel.com>
17 * objcopy.c (copy_file): Set BFD_COMPRESS_GABI if not
19 * doc/binutils.texi: Change --compress-debug-sections and
20 --compress-debug-sections=zlib to zlib-gabi.
22 2015-07-10 H.J. Lu <hongjiu.lu@intel.com>
25 * objcopy.c (setup_section): Call bfd_convert_section_size
26 to get the output section size.
27 (copy_section): Get the section size from the output section
28 and call bfd_get_full_section_contents to convert section
31 2015-07-10 H.J. Lu <hongjiu.lu@intel.com>
33 * readelf.c (dump_section_as_strings): Warn unsupported compress
34 type and corrupted compressed section.
35 (dump_section_as_bytes): Likewise.
36 (load_specific_debug_section): Likewise.
38 2015-07-09 Catherine Moore <clm@codesourcery.com>
40 * readelf.c (print_mips_fp_abi_value): Handle
41 Val_GNU_MIPS_ABI_FP_NAN2008.
43 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
45 * readelf.c (get_mips_dynamic_type): Handle DT_MIPS_RLD_MAP_REL.
47 2015-06-22 Nick Clifton <nickc@redhat.com>
49 * objdump.c (disassemble_bytes): Set the stop_vma field in the
50 disassemble_info structure when disassembling code sections with
52 * doc/binutils.texi (objdump): Document the discrepancy between -d
55 2015-06-05 Nick Clifton <nickc@redhat.com>
57 * dwarf.c (read_debug_line_header): Use reloc_at to detect
58 incomplete .debug_line headers
60 2015-05-29 Roland McGrath <mcgrathr@google.com>
62 * readelf.c (print_gnu_note: NT_GNU_ABI_TAG): Recognize
63 GNU_ABI_TAG_SYLLABLE and GNU_ABI_TAG_NACL.
65 2015-05-29 Stephen Kitt <steve@sk2.org>
67 * dlltool.c (make_one_lib_file): Clear .idata$6 before use.
68 (main): Fail if the output file specified by the -z option cannot
71 2015-05-18 Nick Clifton <nickc@redhat.com>
74 * ia64-unwind.c (unw_decode): Add end parameter. Pass parameter
75 on to decode functions.
76 (unw_devode_p2_p5): Pass end paraemter to UNW_DEC_SPILL_MASK.
77 (UNW_DEC_SPILL_MASK): Add end parameter. Check that unw_rlen does
78 not take us beyond the end of the buffer.
79 * ia64-unwind.h (unw_decode): Update prototype.
80 * readelf.c (dump_ia64_unwind): Pass end pointer to unw_decode.
82 2015-05-15 H.J. Lu <hongjiu.lu@intel.com>
84 * readelf.c (dump_section_as_strings): Change pointers from
85 char * to unsigned char *.
87 2015-05-15 H.J. Lu <hongjiu.lu@intel.com>
90 * doc/binutils.texi: Document -Mamd64 and -Mintel64.
92 2015-05-15 Nick Clifton <nickc@redhat.com>
94 * readelf.c (options): Add "decompress".
95 (usage): Mention -z/--decompress.
96 (parse_args): Handle -z.
97 (uncompress_section_contents): Move to earlier in the file.
98 (dump_section_as_strings): If requested, decompress the section
100 (dump_section_as_bytes): Likewise.
101 * doc/binutils.texi: Document the new option.
103 2015-05-14 Peter Bergner <bergner@vnet.ibm.com>
105 * MAINTAINERS: Add myself as PPC maintainer.
107 2015-05-14 H.J. Lu <hongjiu.lu@intel.com>
109 * readelf.c (uncompress_section_contents): Add a parameter for
110 uncompressed size. Don't check the zlib header.
111 (load_specific_debug_section): Updated.
113 2015-05-15 Nick Clifton <nickc@redhat.com>
116 * dwarf.h (struct dwarf_section): Add reloc_info and num_relocs
118 (struct dwarf_section_display): Change bitfield to boolean.
119 (reloc_at): Add prototype.
120 * dwarf.c (display_loc_list): Ignore list terminators if there are
122 (display_debug_loc): Issue a warning if there are relocs against
123 the .debug_loc section.
124 (display_displays): Initialise reloc_info and num_relocs fields.
125 * objdump.c (load_specific_debug_section): Initialise reloc_info
126 and num_relocs fields.
127 (reloc_at): New function.
128 * readelf.c (is_32bit_abs_reloc): Add IA64's R_IA64_DIS32LSB
130 (reloc_at): New function.
131 (apply_relocations): Add relocs_return and num_relocs_return
132 parameters. Fill them in with the loaded relocs if non-NULL.
133 (dump_section_as_bytes): Update call to apply_relocations.
134 (load_specific_debug_section): Initialise reloc_info and
137 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
139 * elfedit.c (elf_class): Return ELF_CLASS_BOTH by default.
141 2015-05-13 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
143 * MAINTAINERS: Add myself as s390 and s390x maintainer.
145 2015-05-12 Stephen Kitt <steve@sk2.org>
147 * dlltool.c (main): Accept -t as an abbreviation for
150 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
152 * dwarf.c (dwarf_regnames_iamcu): New.
153 (init_dwarf_regnames_iamcu): Likewise.
154 (init_dwarf_regnames): Call init_dwarf_regnames_iamcu for EM_IAMCU.
155 * dwarf.h (init_dwarf_regnames_iamcu): New.
156 * objdump.c (dump_dwarf): Call init_dwarf_regnames_iamcu for
159 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
161 * elfedit.c (enum elfclass): New.
162 (input_elf_class): Change type to enum elfclass.
163 (output_elf_class): New.
164 (elf_class): Change return type to enum elfclass. Support EM_386
166 (update_elf_header): Check if input and output ELF classes match.
167 (elf_machine): Support EM_386 and EM_IAMCU.
168 (main): Update input_elf_class. Set output_elf_class.
169 * doc/binutils.texi: Update elfedit.
171 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
173 * dwarf.c (init_dwarf_regnames): Replace EM_486 with EM_IAMCU.
174 * readelf.c (guess_is_rela): Likewise.
175 (dump_relocations): Likewise.
176 (get_machine_name): Likewise.
177 (get_elf_section_flags): Likewise.
178 (process_section_headers): Likewise.
179 (is_32bit_abs_reloc): Likewise.
180 (is_32bit_pcrel_reloc): Likewise.
182 2015-04-30 Nick Clifton <nickc@redhat.com>
184 * readelf.c (get_machine_flags): Add description of MeP flags.
186 2015-04-27 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
188 * readelf.c (display_s390_gnu_attribute): New function.
189 (process_s390_specific): New function.
190 (process_arch_specific): Call process_s390_specific.
192 2015-04-24 Nick Clifton <nickc@redhat.com>
195 * ieee.c (ieee_read_cxx_class): Initialise the varargs variable.
196 * readelf.c (uncompress_section_contents): Zero initialise the
199 2015-04-23 H.J. Lu <hongjiu.lu@intel.com>
202 * objcopy.c (setup_section): Copy compress status.
204 2015-04-15 H.J. Lu <hongjiu.lu@intel.com>
207 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
209 2015-04-14 Nick Clifton <nickc@redhat.com>
211 * readelf.c (target_specific_reloc_handling): Add code to handle
214 2015-04-13 Doug Evans <dje@google.com>
217 * readelf.c (printable_section_name): Constify sec argument.
218 (apply_relocations): Ditto. New arg "size". All callers updated.
219 (load_specific_debug_section): Constify sec argument.
220 Remove side-effect of modifying sec->sh_size.
222 2015-04-09 H.J. Lu <hongjiu.lu@intel.com>
224 * objcopy.c (do_debug_sections): Use bit patterns.
225 (copy_object): Return FALSE for compress_zlib, compress_gnu_zlib
226 and compress_gabi_zlib on non-ELF input.
227 (copy_file): Don't check non-ELF input here.
229 2015-04-09 Nick Clifton <nickc@redhat.com>
231 * readelf.c (get_machine_flags): Report the setting of the string
234 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
236 * objcopy.c (do_debug_sections): Add compress_zlib,
237 compress_gnu_zlib and compress_gabi_zlib.
238 (copy_options): Use optional_argument on compress-debug-sections.
239 (copy_usage): Update --compress-debug-sections.
240 (copy_file): Handle compress_zlib, compress_gnu_zlib and
243 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
244 * doc/binutils.texi: Document
245 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
247 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
249 * objcopy.c (copy_usage): Replace "--interleave [<number>]" with
250 --interleave[=<number>].
252 2015-04-05 H.J. Lu <hongjiu.lu@intel.com>
254 * readelf.c (get_elf_section_flags): Support SHF_COMPRESSED.
255 (get_compression_header): New.
256 (process_section_headers): Dump compression header if needed.
257 (uncompress_section_contents): Don't free compressed_buffer here.
258 (load_specific_debug_section): Free the compressed buffer, update
259 the section buffer and the section size if uncompress is
262 2015-04-02 H.J. Lu <hongjiu.lu@intel.com>
264 * configure: Regenerated.
266 2015-04-02 Mike Frysinger <vapier@gentoo.org>
268 * MAINTAINERS: Update my e-mail address.
270 2015-04-01 H.J. Lu <hongjiu.lu@intel.com>
272 * configure: Regenerated.
274 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
276 * configure.ac: Revert the AM_ZLIB change.
277 * Makefile.in: Regenerated.
278 * aclocal.m4: Likewise.
279 * configure: Likewise.
281 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
283 * Makefile.am (ZLIB): New.
285 (AM_CFLAGS): Add $(ZLIBINC).
286 (readelf_LDADD): Add $(ZLIB).
287 * configure.ac (AM_ZLIB): Removed.
288 (zlibdir): New. AC_SUBST.
290 Add --with-system-zlib.
291 * Makefile.in: Regenerated.
292 * config.in: Likewise.
293 * configure: Likewise.
295 2015-03-19 Nick Clifton <nickc@redhat.com>
297 * readelf.c (get_machine_flags): Decode RL78's G13 and G14 flags.
299 2015-03-18 Jon Turney <jon.turney@dronecode.org.uk>
300 Nick Clifton <nickc@redhat.com>
303 * doc/binutils.texi: Note that when objcopy compresses debug
304 sections the compression is only performed if it makes the section
307 2015-03-10 H.J. Lu <hongjiu.lu@intel.com>
310 * readelf.c (parse_args): Move nothing to do warning to ...
313 2015-03-10 Nick Clifton <nickc@redhat.com>
316 * readelf.c (parse_args): Enhance check for nothing to do by
317 accounting for the --wide option.
320 * objcopy.c (copy_object): Avoid calling fatal as that does not
321 allow the parent to clean up temporary files.
323 2015-03-10 Yuri Gribov <y.gribov@samsung.arm>
326 * readelf.c: Remove support for ELF_ARM_HASENTRY.
328 2015-03-05 Nick Clifton <nickc@redhat.com>
331 * doc/binutils.texi (objcopy): Extend description of
332 --add-gnu-debuglink option to explain that the separate debug info
333 file must exist. Add a description of what to do if the debug
334 info file is built in one place but then installed into a separate
337 2015-03-05 Nick Clifton <nickc@redhat.com>
340 * dlltool.c (temp_file_to_remove): New local array.
341 (unlink_temp_files): New functions - unlinks any file in the
342 temp_file_to_remove array, unless dotdeltemps is set.
343 (gen_exp_file): Add temp files to array.
344 (make_head): Likewise.
345 (make_delay_head): Likewise.
346 (make_tail): Likewise.
347 (gen_lib_file): Call unlink_temp_files.
349 2015-02-28 Andrew Burgess <andrew.burgess@embecosm.com>
351 * objcopy.c (update_sections): New list.
352 (command_line_switch): Add OPTION_UPDATE_SECTION.
353 (copy_options): Add update-section.
354 (copy_usage): Document new option.
355 (is_update_section): New function.
356 (is_strip_section_1): Add check for attempt to update and remove
358 (copy_object): Update size and content of requested sections.
359 (skip_section): Don't copy for updated sections.
360 (copy_main): Handle --update-section.
361 * doc/binutils.texi (objcopy): Add description of --update-section
363 * NEWS: Mention --update-section option.
365 2015-02-26 Nick Clifton <nickc@redhat.com>
368 * coffgrok.c (do_type): Check for an out of range tag index.
369 Check for integer overflow computing array dimension.
370 (do_define): Likewise.
372 2015-02-26 Andrew Burgess <andrew.burgess@embecosm.com>
374 * objcopy.c (init_section_add): Rename optarg to arg in order to
375 avoid shadowing a global variable.
377 2015-02-26 Nick Clifton <nickc@redhat.com>
380 * resrc.c (write_rc_messagetable): Tighten check for invalid
383 * dwarf.c (display_debug_loc): Pacify the undefined behaviour
384 sanitizer by simplifying address difference calculation.
385 (struct Frame_Chunk): Change type of cfa_offset to dwarf_vma in
386 order to avoid arithmetic overflows.
387 (frame_display_row): Cast cfa_offset before printing it.
388 (display_debug_frames): Likewise.
389 Check for an unexpected segment size.
390 Chnage type of 'l' local to dwarf_vma and cast it back to an int
392 (process_cu_tu_index): Tighten check for an invalid ncols value.
393 * readelf.c (process_corefile_note_segment): Check for
394 inote.descdata extending beyond the end of the section.
395 (process_v850_notes): Likewise.
397 2015-02-26 Terry Guo <terry.guo@arm.com>
399 * readelf.c (arm_attr_tag_ABI_HardFP_use): Update how we
402 2015-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
404 * objcopy.c (init_section_add): New function.
405 (section_add_load_file): New function.
406 (copy_main): Make use of new functions.
408 2015-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
410 * od-elf32_avr.c: Add elf32-avr.h include.
411 (OPT_AVRPROP): Define.
412 (options[]): Add 'avr-prop' entry.
413 (elf32_avr_help): Add avr-prop help text.
414 (elf32_avr_dump_avr_prop): New function.
415 (elf32_avr_dump): Add check for avr-prop.
417 2015-02-24 Nick Clifton <nickc@redhat.com>
419 * readelf.c (get_machine_flags): Remove deprecated V850 machine
421 (get_v850_section_type_name): New function. Handles V850 special
423 (get_section_type_name): Add support for V850.
424 (get_v850_elf_note_type): New function. Returns the name of a
426 (print_v850_note): New function. Prints a V850 note.
427 (process_v850_notes): New function. Prints V850 notes.
428 (process_note_sections): Add support for V850.
430 2015-02-24 Mike Frysinger <vapier@gentoo.org>
433 * readelf.c (process_symbol_table): Declare chained. Increment it
434 in every loop. Abort when chained is larger than nchains. Move
435 error check outside of chain loop.
437 2015-02-24 Dmitry Antipov <dantipov@nvidia.com>
439 * readelf.c (find_symbol_for_address): Use a binary search to
440 speed up symbol location. Skip check for function symbol type.
441 (*_unw_aux_info): Add funtab and nfuns fields contains a sorted
442 list of function symbols.
443 (dump_ia64_unwind): Initialise the funtab and nfuns fields and
444 pass them to find_symbol_for_address.
445 (dump_hppa_unwind): Likewise.
446 (arm_print_vma_and_name): Pass funtab to find_symbol_for_address.
447 (dump_arm_unwind): Initialise the funtab and nfuns fields.
449 2015-02-24 Nick Clifton <nickc@redhat.com>
451 * objdump.c (dump_section): Extend the warning message displayed
452 when a section cannot be loaded.
454 2015-02-21 Mike Frysinger <vapier@gentoo.org>
456 * readelf.c (process_program_headers): Add newline to warning
459 2015-02-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
461 * readelf.c (get_note_type): Add NT_S390_VXRS_LOW and
464 2015-02-13 Nick Clifton <nickc@redhat.com>
467 * dwarf.c (read_leb128): Fix test for shift becoming too large.
469 * coffgrok.c (do_define): Add check for type size overflow.
470 * srconv.c (walk_tree_sfile): Check that enough sections are
471 available before parsing.
475 * dwarf.c (display_debug_aranges): Add check for an excessive
477 (process_cu_tu_index): Check for a row * columns sum being too
480 2015-02-13 Alan Modra <amodra@gmail.com>
482 * dwarf.c: Formatting, whitespace.
483 (process_debug_info): Style fix.
485 2015-02-11 Nick Clifton <nickc@redhat.com>
487 * rl78-decode.opc: Add 'a' attribute to instructions that support
489 * rl78-decode.c: Regenerate.
490 * rl78-dis.c (print_insn_rl78): Display the offset in [HL+0]
493 2015-02-11 Nick Clifton <nickc@redhat.com>
496 * dwarf.c (display_debug_pubnames_worker): Work around compiler
497 bug checking address ranges.
498 (display_debug_frames): Likewise.
499 (display_gdb_index): Likewise.
500 (process_cu_tu_index): Add range check on the ncols value.
502 2015-02-10 Nick Clifton <nickc@redhat.com>
505 * dwarf.c (eh_addr_size): Use an unsigned type.
506 (size_of_encoded_value): Return an unsigned type.
507 (read_leb128): Break if the shift becomes too big.
508 (process_extended_line_op): Do not read the address if the length
510 (read_cie): Warn and fail if the pointer size or segment size are
512 * dwarf.h (DWARF2_External_LineInfo): Delete unused and incorrect
513 structure definition.
514 (DWARF2_External_PubNames): Likewise.
515 (DWARF2_External_CompUnit): Likewise.
516 (DWARF2_External_ARange): Likewise.
517 (DWARF2_Internal_LineInfo): Use dwarf_vma type for
519 (eh_addr_size): Update prototype.
522 * dwarf.c (process_debug_info): Zero the debug information array
523 since correct initialisation cannot be relied upon.
524 (process_cu_tu_index): Improve range checks.
527 * dwarf.c (display_debug_pubnames_worker): Use dwarf_vma type for
529 * readelf.c (dump_relocations): Handle printing offsets which are
531 (process_corefile_note_segment): Add range check of the namesz
534 2015-02-09 Mark Wielaard <mjw@redhat.com>
536 * dwarf.c (read_and_display_attr_value): Handle DW_LANG_Fortran03
537 and DW_LANG_Fortran08.
539 2015-02-06 Nick Clifton <nickc@redhat.com>
542 * dwarf.c (display_debug_frames): Fix range checks to work on
543 32-bit binaries complied on a 64-bit host.
546 * dwarf.c (xcmalloc): Fail if the arguments are too big.
547 (xcrealloc): Likewise.
548 (xcalloc2): Likewise.
549 * readelf.c (process_mips_specific): Fail if an option has an
552 2015-02-05 Alan Modra <amodra@gmail.com>
555 * dwarf.c (dwarf_select_sections_by_letters): Don't refer to optarg.
557 2015-02-04 Nick Clifton <nickc@redhat.com>
560 * dwarf.c (read_and_display_attr_value): Test for a block length
561 being so long that it wraps around to before the start of the block.
562 (process_debug_info): Test for section_begin wrapping around to
563 before the start of the section.
564 (display_gdb_index): Test for num_cus being so large that the end
565 address wraps around to before the start of the section.
566 (process_cu_tu_index): Test for j being so large that the section
567 index pool wraps around to before the start of the section.
569 2015-02-03 Nick Clifton <nickc@redhat.com>
572 * dwarf.c (process_debug_info): Add range check.
573 (display_debug_pubnames_worker): Likewise.
574 (display_gdb_index): Fix range check.
575 (process_cu_tu_index): Add range check.
576 * readelf.c (get_data): Change parameter types from size_t to
577 bfd_size_type. Add checks for loss of accuracy when casting from
578 bfd_size_type to size_t.
579 (get_dynamic_data): Likewise.
580 (process_section_groups): Limit number of error messages.
582 2015-02-03 Nick Clifton <nickc@redhat.com>
585 * objdump.c (display_any_bfd): Fail if archives nest too deeply.
587 2015-01-28 James Bowman <james.bowman@ftdichip.com>
589 * readelf.c: Add FT32 support.
591 2015-01-27 Nick Clifton <nickc@redhat.com>
594 * dlltool.c (identify_search_archive): If the last archive was the
595 same as the current archive, terminate the loop.
597 * addr2line.c (slurp_symtab): If the symcount is zero, free the
598 symbol table pointer.
600 * rcparse.y: Add checks to avoid integer divide by zero.
601 * rescoff.c (read_coff_rsrc): Add check on the size of the
603 (read_coff_res_dir): Add check on the nesting level.
604 Check for resource names overrunning the buffer.
605 * resrc.c (write_rc_messagetable): Update formatting.
606 Add check of 'elen' being zero.
608 2015-01-23 Nick Clifton <nickc@redhat.com>
610 * nlmconv.c (powerpc_mangle_relocs): Fix build errors introduced
611 by recent delta, when compiling on for a 32-bit host.
613 2015-01-21 Nick Clifton <nickc@redhat.com>
616 * addr2line.c (main): Call bfd_set_error_program_name.
617 * ar.c (main): Likewise.
618 * coffdump.c (main): Likewise.
619 * cxxfilt.c (main): Likewise.
620 * dlltool.c (main): Likewise.
621 * nlmconv.c (main): Likewise.
622 * nm.c (main): Likewise.
623 * objdump.c (main): Likewise.
624 * size.c (main): Likewise.
625 * srconv.c (main): Likewise.
626 * strings.c (main): Likewise.
627 * sysdump.c (main): Likewise.
628 * windmc.c (main): Likewise.
629 * windres.c (main): Likewise.
630 * objcopy.c (main): Likewise.
631 (copy_relocations_in_section): Check for relocs without associated
634 2015-01-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
636 * MAINTAINERS: Add self to ARM maintainers list.
638 2015-01-21 Nick Clifton <nickc@redhat.com>
641 * coffgrok.c (do_type): Check that computed ref exists.
642 (doit): Add range checks when computing section for scope.
644 2015-01-12 H.J. Lu <hongjiu.lu@intel.com>
646 * dwarf.c (process_debug_info): Properly check abbrev size.
648 2015-01-12 Nick Clifton <nickc@redhat.com>
651 * dwarf.c (process_debug_info): Check for abbrev_base being larger
652 than the section size.
653 (process_cu_tu_index): Use xcalloc2 to allocate the CU and TU
655 (xcalloc2): New function. Like xcalloc, but checks for overflow.
656 (display_debug_addr): Use xcalloc to allocate the debug_addr_info
657 array. Check for an address_base that is too large.
659 * dwarf.h (xcalloc2): Prototype.
661 2015-01-12 Alan Modra <amodra@gmail.com>
663 * prdbg.c (print_debugging_info): Don't use void* for function
665 * budbg.h (print_debugging_info): Update prototype.
667 2015-01-08 Nick Clifton <nickc@redhat.com>
670 * ojcopy.c (copy_object): Free the symbol table if no symbols
672 (copy_file): Use bfd_close_all_done to close files that could not
675 * sysdump.c (getINT): Fail if reading off the end of the buffer.
676 Replace call to abort with a call to fatal.
677 (getCHARS): Prevetn reading off the end of the buffer.
679 * nlmconv.c (i386_mangle_relocs): Skip relocs without an
681 (powerpc_mangle_relocs): Skip unrecognised relocs. Check address
682 range before applying a reloc.
684 2015-01-07 Nick Clifton <nickc@redhat.com>
687 * dlltool.c (scan_obj_file): Break loop if the last archive
688 displayed matches the current archive.
690 * objdump.c (display_any_bfd): Add a depth limit to nested archive
691 display in order to avoid infinite loops.
692 * srconv.c: Replace calls to abort with calls to fatal with an
695 2015-01-06 Nick Clifton <nickc@redhat.com>
698 * coffdump.c (dump_coff_section): Check for a symbol being
699 available before printing its name.
700 (main): Check the return value from coff_grok.
701 * coffgrok.c: Reformat and tidy.
702 Add range checks to most functions.
703 (coff_grok): Return NULL if the input bfd is not in a COFF
705 * coffgrok.h: Reformat and tidy.
706 (struct coff_section): Change the nrelocs field to unsigned.
707 * srconv.c (main): Check the return value from coff_grok.
709 2015-01-05 Nick Clifton <nickc@redhat.com>
712 * nm.c (print_symbol): Add 'is_synthetic' parameter. Use it to
713 help initialize the info.elfinfo field.
714 (print_size_symbols): Add 'synth_count' parameter. Use it to set
715 the is_synthetic parameter when calling print_symbol.
716 (print_symbols): Likewise.
717 (display_rel_file): Pass synth_count to printing function.
718 (display_archive): Break loop if the last archive displayed
719 matches the current archive.
720 * size.c (display_archive): Likewise.
722 2015-01-05 Nick Clifton <nickc@redhat.com>
725 * dwarf.c (alloc_num_debug_info_entries): New variable.
726 (process_debug_info): Set it. Use it to avoid displaying
727 attributes for which there is no info.
728 (display_debug_abbrev): Check that the debug_info_entry index is
729 valid before using it.
730 (display_loc_list_dwo): Likewise.
731 (process_cu_tu_index): Add range check for an overlarge dw_sect
733 (free_debug_memory): Reset alloc_num_debug_info_entries.
734 * readelf.c (slurp_ia64_unwind_table): Warn if the reloc could not
736 (dynamic_section_mips_val): Warn if the timestamp is invalid.
737 (print_mips_got_entry): Add a data_end parameter. Warn if a read
738 would go beyond the end of the data, and return an error value.
739 (process_mips_specific): Do not read options from beyond the end
741 Correct code to display optional data at the end of an option.
742 Warn if there are too many GOT symbols.
743 Update calls to print_mips_got_entry, and handle error returns.
745 2015-01-05 Daniel Klauer <daniel.c.klauer@web.de>
748 * doc/binutils.texi (dlltool): Correct description of --kill-at
751 2015-01-01 Alan Modra <amodra@gmail.com>
753 * version.c (print_version): Just print current year.
755 2015-01-01 Alan Modra <amodra@gmail.com>
757 Update year range in copyright notice of all files.
759 For older changes see ChangeLog-2014
761 Copyright (C) 2015 Free Software Foundation, Inc.
763 Copying and distribution of this file, with or without modification,
764 are permitted in any medium without royalty provided the copyright
765 notice and this notice are preserved.
771 version-control: never