1 2015-01-27 Nick Clifton <nickc@redhat.com>
4 * dlltool.c (identify_search_archive): If the last archive was the
5 same as the current archive, terminate the loop.
7 * addr2line.c (slurp_symtab): If the symcount is zero, free the
10 * rcparse.y: Add checks to avoid integer divide by zero.
11 * rescoff.c (read_coff_rsrc): Add check on the size of the
13 (read_coff_res_dir): Add check on the nesting level.
14 Check for resource names overrunning the buffer.
15 * resrc.c (write_rc_messagetable): Update formatting.
16 Add check of 'elen' being zero.
18 2015-01-23 Nick Clifton <nickc@redhat.com>
20 * nlmconv.c (powerpc_mangle_relocs): Fix build errors introduced
21 by recent delta, when compiling on for a 32-bit host.
23 2015-01-21 Nick Clifton <nickc@redhat.com>
26 * addr2line.c (main): Call bfd_set_error_program_name.
27 * ar.c (main): Likewise.
28 * coffdump.c (main): Likewise.
29 * cxxfilt.c (main): Likewise.
30 * dlltool.c (main): Likewise.
31 * nlmconv.c (main): Likewise.
32 * nm.c (main): Likewise.
33 * objdump.c (main): Likewise.
34 * size.c (main): Likewise.
35 * srconv.c (main): Likewise.
36 * strings.c (main): Likewise.
37 * sysdump.c (main): Likewise.
38 * windmc.c (main): Likewise.
39 * windres.c (main): Likewise.
40 * objcopy.c (main): Likewise.
41 (copy_relocations_in_section): Check for relocs without associated
44 2015-01-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
46 * MAINTAINERS: Add self to ARM maintainers list.
48 2015-01-21 Nick Clifton <nickc@redhat.com>
51 * coffgrok.c (do_type): Check that computed ref exists.
52 (doit): Add range checks when computing section for scope.
54 2015-01-12 H.J. Lu <hongjiu.lu@intel.com>
56 * dwarf.c (process_debug_info): Properly check abbrev size.
58 2015-01-12 Nick Clifton <nickc@redhat.com>
61 * dwarf.c (process_debug_info): Check for abbrev_base being larger
62 than the section size.
63 (process_cu_tu_index): Use xcalloc2 to allocate the CU and TU
65 (xcalloc2): New function. Like xcalloc, but checks for overflow.
66 (display_debug_addr): Use xcalloc to allocate the debug_addr_info
67 array. Check for an address_base that is too large.
69 * dwarf.h (xcalloc2): Prototype.
71 2015-01-12 Alan Modra <amodra@gmail.com>
73 * prdbg.c (print_debugging_info): Don't use void* for function
75 * budbg.h (print_debugging_info): Update prototype.
77 2015-01-08 Nick Clifton <nickc@redhat.com>
80 * ojcopy.c (copy_object): Free the symbol table if no symbols
82 (copy_file): Use bfd_close_all_done to close files that could not
85 * sysdump.c (getINT): Fail if reading off the end of the buffer.
86 Replace call to abort with a call to fatal.
87 (getCHARS): Prevetn reading off the end of the buffer.
89 * nlmconv.c (i386_mangle_relocs): Skip relocs without an
91 (powerpc_mangle_relocs): Skip unrecognised relocs. Check address
92 range before applying a reloc.
94 2015-01-07 Nick Clifton <nickc@redhat.com>
97 * dlltool.c (scan_obj_file): Break loop if the last archive
98 displayed matches the current archive.
100 * objdump.c (display_any_bfd): Add a depth limit to nested archive
101 display in order to avoid infinite loops.
102 * srconv.c: Replace calls to abort with calls to fatal with an
105 2015-01-06 Nick Clifton <nickc@redhat.com>
108 * coffdump.c (dump_coff_section): Check for a symbol being
109 available before printing its name.
110 (main): Check the return value from coff_grok.
111 * coffgrok.c: Reformat and tidy.
112 Add range checks to most functions.
113 (coff_grok): Return NULL if the input bfd is not in a COFF
115 * coffgrok.h: Reformat and tidy.
116 (struct coff_section): Change the nrelocs field to unsigned.
117 * srconv.c (main): Check the return value from coff_grok.
119 2015-01-05 Nick Clifton <nickc@redhat.com>
122 * nm.c (print_symbol): Add 'is_synthetic' parameter. Use it to
123 help initialize the info.elfinfo field.
124 (print_size_symbols): Add 'synth_count' parameter. Use it to set
125 the is_synthetic parameter when calling print_symbol.
126 (print_symbols): Likewise.
127 (display_rel_file): Pass synth_count to printing function.
128 (display_archive): Break loop if the last archive displayed
129 matches the current archive.
130 * size.c (display_archive): Likewise.
132 2015-01-05 Nick Clifton <nickc@redhat.com>
135 * dwarf.c (alloc_num_debug_info_entries): New variable.
136 (process_debug_info): Set it. Use it to avoid displaying
137 attributes for which there is no info.
138 (display_debug_abbrev): Check that the debug_info_entry index is
139 valid before using it.
140 (display_loc_list_dwo): Likewise.
141 (process_cu_tu_index): Add range check for an overlarge dw_sect
143 (free_debug_memory): Reset alloc_num_debug_info_entries.
144 * readelf.c (slurp_ia64_unwind_table): Warn if the reloc could not
146 (dynamic_section_mips_val): Warn if the timestamp is invalid.
147 (print_mips_got_entry): Add a data_end parameter. Warn if a read
148 would go beyond the end of the data, and return an error value.
149 (process_mips_specific): Do not read options from beyond the end
151 Correct code to display optional data at the end of an option.
152 Warn if there are too many GOT symbols.
153 Update calls to print_mips_got_entry, and handle error returns.
155 2015-01-05 Daniel Klauer <daniel.c.klauer@web.de>
158 * doc/binutils.texi (dlltool): Correct description of --kill-at
161 2015-01-01 Alan Modra <amodra@gmail.com>
163 * version.c (print_version): Just print current year.
165 2015-01-01 Alan Modra <amodra@gmail.com>
167 Update year range in copyright notice of all files.
169 For older changes see ChangeLog-2014
171 Copyright (C) 2015 Free Software Foundation, Inc.
173 Copying and distribution of this file, with or without modification,
174 are permitted in any medium without royalty provided the copyright
175 notice and this notice are preserved.
181 version-control: never