Automatic date update in version.in
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2015-02-04 Nick Clifton <nickc@redhat.com>
2
3 PR binutils/17531
4 * dwarf.c (read_and_display_attr_value): Test for a block length
5 being so long that it wraps around to before the start of the block.
6 (process_debug_info): Test for section_begin wrapping around to
7 before the start of the section.
8 (display_gdb_index): Test for num_cus being so large that the end
9 address wraps around to before the start of the section.
10 (process_cu_tu_index): Test for j being so large that the section
11 index pool wraps around to before the start of the section.
12
13 2015-02-03 Nick Clifton <nickc@redhat.com>
14
15 PR binutils/17531
16 * dwarf.c (process_debug_info): Add range check.
17 (display_debug_pubnames_worker): Likewise.
18 (display_gdb_index): Fix range check.
19 (process_cu_tu_index): Add range check.
20 * readelf.c (get_data): Change parameter types from size_t to
21 bfd_size_type. Add checks for loss of accuracy when casting from
22 bfd_size_type to size_t.
23 (get_dynamic_data): Likewise.
24 (process_section_groups): Limit number of error messages.
25
26 2015-02-03 Nick Clifton <nickc@redhat.com>
27
28 PR binutils/17512
29 * objdump.c (display_any_bfd): Fail if archives nest too deeply.
30
31 2015-01-28 James Bowman <james.bowman@ftdichip.com>
32
33 * readelf.c: Add FT32 support.
34
35 2015-01-27 Nick Clifton <nickc@redhat.com>
36
37 PR binutils/17512
38 * dlltool.c (identify_search_archive): If the last archive was the
39 same as the current archive, terminate the loop.
40
41 * addr2line.c (slurp_symtab): If the symcount is zero, free the
42 symbol table pointer.
43
44 * rcparse.y: Add checks to avoid integer divide by zero.
45 * rescoff.c (read_coff_rsrc): Add check on the size of the
46 resource section.
47 (read_coff_res_dir): Add check on the nesting level.
48 Check for resource names overrunning the buffer.
49 * resrc.c (write_rc_messagetable): Update formatting.
50 Add check of 'elen' being zero.
51
52 2015-01-23 Nick Clifton <nickc@redhat.com>
53
54 * nlmconv.c (powerpc_mangle_relocs): Fix build errors introduced
55 by recent delta, when compiling on for a 32-bit host.
56
57 2015-01-21 Nick Clifton <nickc@redhat.com>
58
59 PR binutils/17512
60 * addr2line.c (main): Call bfd_set_error_program_name.
61 * ar.c (main): Likewise.
62 * coffdump.c (main): Likewise.
63 * cxxfilt.c (main): Likewise.
64 * dlltool.c (main): Likewise.
65 * nlmconv.c (main): Likewise.
66 * nm.c (main): Likewise.
67 * objdump.c (main): Likewise.
68 * size.c (main): Likewise.
69 * srconv.c (main): Likewise.
70 * strings.c (main): Likewise.
71 * sysdump.c (main): Likewise.
72 * windmc.c (main): Likewise.
73 * windres.c (main): Likewise.
74 * objcopy.c (main): Likewise.
75 (copy_relocations_in_section): Check for relocs without associated
76 symbol pointers.
77
78 2015-01-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
79
80 * MAINTAINERS: Add self to ARM maintainers list.
81
82 2015-01-21 Nick Clifton <nickc@redhat.com>
83
84 PR binutils/17512
85 * coffgrok.c (do_type): Check that computed ref exists.
86 (doit): Add range checks when computing section for scope.
87
88 2015-01-12 H.J. Lu <hongjiu.lu@intel.com>
89
90 * dwarf.c (process_debug_info): Properly check abbrev size.
91
92 2015-01-12 Nick Clifton <nickc@redhat.com>
93
94 PR binutils/17531
95 * dwarf.c (process_debug_info): Check for abbrev_base being larger
96 than the section size.
97 (process_cu_tu_index): Use xcalloc2 to allocate the CU and TU
98 arrays.
99 (xcalloc2): New function. Like xcalloc, but checks for overflow.
100 (display_debug_addr): Use xcalloc to allocate the debug_addr_info
101 array. Check for an address_base that is too large.
102
103 * dwarf.h (xcalloc2): Prototype.
104
105 2015-01-12 Alan Modra <amodra@gmail.com>
106
107 * prdbg.c (print_debugging_info): Don't use void* for function
108 pointer param.
109 * budbg.h (print_debugging_info): Update prototype.
110
111 2015-01-08 Nick Clifton <nickc@redhat.com>
112
113 PR binutils/17512
114 * ojcopy.c (copy_object): Free the symbol table if no symbols
115 could be loaded.
116 (copy_file): Use bfd_close_all_done to close files that could not
117 be copied.
118
119 * sysdump.c (getINT): Fail if reading off the end of the buffer.
120 Replace call to abort with a call to fatal.
121 (getCHARS): Prevetn reading off the end of the buffer.
122
123 * nlmconv.c (i386_mangle_relocs): Skip relocs without an
124 associated symbol.
125 (powerpc_mangle_relocs): Skip unrecognised relocs. Check address
126 range before applying a reloc.
127
128 2015-01-07 Nick Clifton <nickc@redhat.com>
129
130 PR binutils/17512
131 * dlltool.c (scan_obj_file): Break loop if the last archive
132 displayed matches the current archive.
133
134 * objdump.c (display_any_bfd): Add a depth limit to nested archive
135 display in order to avoid infinite loops.
136 * srconv.c: Replace calls to abort with calls to fatal with an
137 error message.
138
139 2015-01-06 Nick Clifton <nickc@redhat.com>
140
141 PR binutils/17512
142 * coffdump.c (dump_coff_section): Check for a symbol being
143 available before printing its name.
144 (main): Check the return value from coff_grok.
145 * coffgrok.c: Reformat and tidy.
146 Add range checks to most functions.
147 (coff_grok): Return NULL if the input bfd is not in a COFF
148 format.
149 * coffgrok.h: Reformat and tidy.
150 (struct coff_section): Change the nrelocs field to unsigned.
151 * srconv.c (main): Check the return value from coff_grok.
152
153 2015-01-05 Nick Clifton <nickc@redhat.com>
154
155 PR binutils/17512
156 * nm.c (print_symbol): Add 'is_synthetic' parameter. Use it to
157 help initialize the info.elfinfo field.
158 (print_size_symbols): Add 'synth_count' parameter. Use it to set
159 the is_synthetic parameter when calling print_symbol.
160 (print_symbols): Likewise.
161 (display_rel_file): Pass synth_count to printing function.
162 (display_archive): Break loop if the last archive displayed
163 matches the current archive.
164 * size.c (display_archive): Likewise.
165
166 2015-01-05 Nick Clifton <nickc@redhat.com>
167
168 PR binutils/17531
169 * dwarf.c (alloc_num_debug_info_entries): New variable.
170 (process_debug_info): Set it. Use it to avoid displaying
171 attributes for which there is no info.
172 (display_debug_abbrev): Check that the debug_info_entry index is
173 valid before using it.
174 (display_loc_list_dwo): Likewise.
175 (process_cu_tu_index): Add range check for an overlarge dw_sect
176 value.
177 (free_debug_memory): Reset alloc_num_debug_info_entries.
178 * readelf.c (slurp_ia64_unwind_table): Warn if the reloc could not
179 be indentified.
180 (dynamic_section_mips_val): Warn if the timestamp is invalid.
181 (print_mips_got_entry): Add a data_end parameter. Warn if a read
182 would go beyond the end of the data, and return an error value.
183 (process_mips_specific): Do not read options from beyond the end
184 of the section.
185 Correct code to display optional data at the end of an option.
186 Warn if there are too many GOT symbols.
187 Update calls to print_mips_got_entry, and handle error returns.
188
189 2015-01-05 Daniel Klauer <daniel.c.klauer@web.de>
190
191 PR binutils/17489
192 * doc/binutils.texi (dlltool): Correct description of --kill-at
193 option.
194
195 2015-01-01 Alan Modra <amodra@gmail.com>
196
197 * version.c (print_version): Just print current year.
198
199 2015-01-01 Alan Modra <amodra@gmail.com>
200
201 Update year range in copyright notice of all files.
202
203 For older changes see ChangeLog-2014
204 \f
205 Copyright (C) 2015 Free Software Foundation, Inc.
206
207 Copying and distribution of this file, with or without modification,
208 are permitted in any medium without royalty provided the copyright
209 notice and this notice are preserved.
210
211 Local Variables:
212 mode: change-log
213 left-margin: 8
214 fill-column: 74
215 version-control: never
216 End:
This page took 0.046793 seconds and 4 git commands to generate.