1 2015-01-21 Nick Clifton <nickc@redhat.com>
4 * coffgrok.c (do_type): Check that computed ref exists.
5 (doit): Add range checks when computing section for scope.
7 2015-01-12 H.J. Lu <hongjiu.lu@intel.com>
9 * dwarf.c (process_debug_info): Properly check abbrev size.
11 2015-01-12 Nick Clifton <nickc@redhat.com>
14 * dwarf.c (process_debug_info): Check for abbrev_base being larger
15 than the section size.
16 (process_cu_tu_index): Use xcalloc2 to allocate the CU and TU
18 (xcalloc2): New function. Like xcalloc, but checks for overflow.
19 (display_debug_addr): Use xcalloc to allocate the debug_addr_info
20 array. Check for an address_base that is too large.
22 * dwarf.h (xcalloc2): Prototype.
24 2015-01-12 Alan Modra <amodra@gmail.com>
26 * prdbg.c (print_debugging_info): Don't use void* for function
28 * budbg.h (print_debugging_info): Update prototype.
30 2015-01-08 Nick Clifton <nickc@redhat.com>
33 * ojcopy.c (copy_object): Free the symbol table if no symbols
35 (copy_file): Use bfd_close_all_done to close files that could not
38 * sysdump.c (getINT): Fail if reading off the end of the buffer.
39 Replace call to abort with a call to fatal.
40 (getCHARS): Prevetn reading off the end of the buffer.
42 * nlmconv.c (i386_mangle_relocs): Skip relocs without an
44 (powerpc_mangle_relocs): Skip unrecognised relocs. Check address
45 range before applying a reloc.
47 2015-01-07 Nick Clifton <nickc@redhat.com>
50 * dlltool.c (scan_obj_file): Break loop if the last archive
51 displayed matches the current archive.
53 * objdump.c (display_any_bfd): Add a depth limit to nested archive
54 display in order to avoid infinite loops.
55 * srconv.c: Replace calls to abort with calls to fatal with an
58 2015-01-06 Nick Clifton <nickc@redhat.com>
61 * coffdump.c (dump_coff_section): Check for a symbol being
62 available before printing its name.
63 (main): Check the return value from coff_grok.
64 * coffgrok.c: Reformat and tidy.
65 Add range checks to most functions.
66 (coff_grok): Return NULL if the input bfd is not in a COFF
68 * coffgrok.h: Reformat and tidy.
69 (struct coff_section): Change the nrelocs field to unsigned.
70 * srconv.c (main): Check the return value from coff_grok.
72 2015-01-05 Nick Clifton <nickc@redhat.com>
75 * nm.c (print_symbol): Add 'is_synthetic' parameter. Use it to
76 help initialize the info.elfinfo field.
77 (print_size_symbols): Add 'synth_count' parameter. Use it to set
78 the is_synthetic parameter when calling print_symbol.
79 (print_symbols): Likewise.
80 (display_rel_file): Pass synth_count to printing function.
81 (display_archive): Break loop if the last archive displayed
82 matches the current archive.
83 * size.c (display_archive): Likewise.
85 2015-01-05 Nick Clifton <nickc@redhat.com>
88 * dwarf.c (alloc_num_debug_info_entries): New variable.
89 (process_debug_info): Set it. Use it to avoid displaying
90 attributes for which there is no info.
91 (display_debug_abbrev): Check that the debug_info_entry index is
92 valid before using it.
93 (display_loc_list_dwo): Likewise.
94 (process_cu_tu_index): Add range check for an overlarge dw_sect
96 (free_debug_memory): Reset alloc_num_debug_info_entries.
97 * readelf.c (slurp_ia64_unwind_table): Warn if the reloc could not
99 (dynamic_section_mips_val): Warn if the timestamp is invalid.
100 (print_mips_got_entry): Add a data_end parameter. Warn if a read
101 would go beyond the end of the data, and return an error value.
102 (process_mips_specific): Do not read options from beyond the end
104 Correct code to display optional data at the end of an option.
105 Warn if there are too many GOT symbols.
106 Update calls to print_mips_got_entry, and handle error returns.
108 2015-01-05 Daniel Klauer <daniel.c.klauer@web.de>
111 * doc/binutils.texi (dlltool): Correct description of --kill-at
114 2015-01-01 Alan Modra <amodra@gmail.com>
116 * version.c (print_version): Just print current year.
118 2015-01-01 Alan Modra <amodra@gmail.com>
120 Update year range in copyright notice of all files.
122 For older changes see ChangeLog-2014
124 Copyright (C) 2015 Free Software Foundation, Inc.
126 Copying and distribution of this file, with or without modification,
127 are permitted in any medium without royalty provided the copyright
128 notice and this notice are preserved.
134 version-control: never