Commit | Line | Data |
---|---|---|
137c83d6 AB |
1 | 2015-02-25 Andrew Burgess <andrew.burgess@embecosm.com> |
2 | ||
3 | * od-elf32_avr.c: Add elf32-avr.h include. | |
4 | (OPT_AVRPROP): Define. | |
5 | (options[]): Add 'avr-prop' entry. | |
6 | (elf32_avr_help): Add avr-prop help text. | |
7 | (elf32_avr_dump_avr_prop): New function. | |
8 | (elf32_avr_dump): Add check for avr-prop. | |
9 | ||
685080f2 NC |
10 | 2015-02-24 Nick Clifton <nickc@redhat.com> |
11 | ||
12 | * readelf.c (get_machine_flags): Remove deprecated V850 machine | |
13 | flags. | |
14 | (get_v850_section_type_name): New function. Handles V850 special | |
15 | sections. | |
16 | (get_section_type_name): Add support for V850. | |
17 | (get_v850_elf_note_type): New function. Returns the name of a | |
18 | V850 note. | |
19 | (print_v850_note): New function. Prints a V850 note. | |
20 | (process_v850_notes): New function. Prints V850 notes. | |
21 | (process_note_sections): Add support for V850. | |
22 | ||
94d15024 MF |
23 | 2015-02-24 Mike Frysinger <vapier@gentoo.org> |
24 | ||
25 | PR binutils/17531 | |
26 | * readelf.c (process_symbol_table): Declare chained. Increment it | |
27 | in every loop. Abort when chained is larger than nchains. Move | |
28 | error check outside of chain loop. | |
29 | ||
948f632f DA |
30 | 2015-02-24 Dmitry Antipov <dantipov@nvidia.com> |
31 | ||
32 | * readelf.c (find_symbol_for_address): Use a binary search to | |
33 | speed up symbol location. Skip check for function symbol type. | |
34 | (*_unw_aux_info): Add funtab and nfuns fields contains a sorted | |
35 | list of function symbols. | |
36 | (dump_ia64_unwind): Initialise the funtab and nfuns fields and | |
37 | pass them to find_symbol_for_address. | |
38 | (dump_hppa_unwind): Likewise. | |
39 | (arm_print_vma_and_name): Pass funtab to find_symbol_for_address. | |
40 | (dump_arm_unwind): Initialise the funtab and nfuns fields. | |
41 | ||
0821d5b1 NC |
42 | 2015-02-24 Nick Clifton <nickc@redhat.com> |
43 | ||
44 | * objdump.c (dump_section): Extend the warning message displayed | |
45 | when a section cannot be loaded. | |
46 | ||
9035ed51 MF |
47 | 2015-02-21 Mike Frysinger <vapier@gentoo.org> |
48 | ||
49 | * readelf.c (process_program_headers): Add newline to warning | |
50 | message. | |
51 | ||
4ef9f41a AA |
52 | 2015-02-20 Andreas Arnez <arnez@linux.vnet.ibm.com> |
53 | ||
54 | * readelf.c (get_note_type): Add NT_S390_VXRS_LOW and | |
55 | NT_S390_VXRS_HIGH. | |
56 | ||
951eaaec NC |
57 | 2015-02-13 Nick Clifton <nickc@redhat.com> |
58 | ||
59 | PR binutils/17512 | |
60 | * dwarf.c (read_leb128): Fix test for shift becoming too large. | |
61 | ||
62 | * coffgrok.c (do_define): Add check for type size overflow. | |
63 | * srconv.c (walk_tree_sfile): Check that enough sections are | |
64 | available before parsing. | |
65 | (prescan): Likewise. | |
66 | ||
ffc0f143 NC |
67 | PR binutils/17531 |
68 | * dwarf.c (display_debug_aranges): Add check for an excessive | |
69 | ar_length value. | |
70 | (process_cu_tu_index): Check for a row * columns sum being too | |
71 | large. | |
72 | ||
b4eb7656 AM |
73 | 2015-02-13 Alan Modra <amodra@gmail.com> |
74 | ||
75 | * dwarf.c: Formatting, whitespace. | |
76 | (process_debug_info): Style fix. | |
77 | ||
0e7f931f NC |
78 | 2015-02-11 Nick Clifton <nickc@redhat.com> |
79 | ||
80 | * rl78-decode.opc: Add 'a' attribute to instructions that support | |
81 | [HL+0] addressing. | |
82 | * rl78-decode.c: Regenerate. | |
83 | * rl78-dis.c (print_insn_rl78): Display the offset in [HL+0] | |
84 | addresses. | |
85 | ||
362beea4 NC |
86 | 2015-02-11 Nick Clifton <nickc@redhat.com> |
87 | ||
88 | PR binutils/17531 | |
89 | * dwarf.c (display_debug_pubnames_worker): Work around compiler | |
90 | bug checking address ranges. | |
91 | (display_debug_frames): Likewise. | |
92 | (display_gdb_index): Likewise. | |
93 | (process_cu_tu_index): Add range check on the ncols value. | |
94 | ||
77ef8654 NC |
95 | 2015-02-10 Nick Clifton <nickc@redhat.com> |
96 | ||
97 | PR binutils/17512 | |
98 | * dwarf.c (eh_addr_size): Use an unsigned type. | |
99 | (size_of_encoded_value): Return an unsigned type. | |
100 | (read_leb128): Break if the shift becomes too big. | |
101 | (process_extended_line_op): Do not read the address if the length | |
102 | is too long. | |
103 | (read_cie): Warn and fail if the pointer size or segment size are | |
104 | too big. | |
105 | * dwarf.h (DWARF2_External_LineInfo): Delete unused and incorrect | |
106 | structure definition. | |
107 | (DWARF2_External_PubNames): Likewise. | |
108 | (DWARF2_External_CompUnit): Likewise. | |
109 | (DWARF2_External_ARange): Likewise. | |
110 | (DWARF2_Internal_LineInfo): Use dwarf_vma type for | |
111 | li_prologue_length. | |
112 | (eh_addr_size): Update prototype. | |
113 | ||
03a91817 NC |
114 | PR binutils/17531 |
115 | * dwarf.c (process_debug_info): Zero the debug information array | |
116 | since correct initialisation cannot be relied upon. | |
117 | (process_cu_tu_index): Improve range checks. | |
118 | ||
834f871c NC |
119 | PR binutils/17531 |
120 | * dwarf.c (display_debug_pubnames_worker): Use dwarf_vma type for | |
121 | offset. | |
122 | * readelf.c (dump_relocations): Handle printing offsets which are | |
123 | MIN_INT. | |
124 | (process_corefile_note_segment): Add range check of the namesz | |
125 | field. | |
126 | ||
5a195044 MW |
127 | 2015-02-09 Mark Wielaard <mjw@redhat.com> |
128 | ||
129 | * dwarf.c (read_and_display_attr_value): Handle DW_LANG_Fortran03 | |
130 | and DW_LANG_Fortran08. | |
131 | ||
5929c344 NC |
132 | 2015-02-06 Nick Clifton <nickc@redhat.com> |
133 | ||
134 | PR binutils/17512 | |
135 | * dwarf.c (display_debug_frames): Fix range checks to work on | |
136 | 32-bit binaries complied on a 64-bit host. | |
137 | ||
8490fb40 NC |
138 | PR binutils/17531 |
139 | * dwarf.c (xcmalloc): Fail if the arguments are too big. | |
140 | (xcrealloc): Likewise. | |
141 | (xcalloc2): Likewise. | |
55325047 NC |
142 | * readelf.c (process_mips_specific): Fail if an option has an |
143 | invalid size. | |
8490fb40 | 144 | |
7cc78d07 AM |
145 | 2015-02-05 Alan Modra <amodra@gmail.com> |
146 | ||
147 | PR binutils/17926 | |
148 | * dwarf.c (dwarf_select_sections_by_letters): Don't refer to optarg. | |
149 | ||
f3853b34 NC |
150 | 2015-02-04 Nick Clifton <nickc@redhat.com> |
151 | ||
152 | PR binutils/17531 | |
153 | * dwarf.c (read_and_display_attr_value): Test for a block length | |
154 | being so long that it wraps around to before the start of the block. | |
155 | (process_debug_info): Test for section_begin wrapping around to | |
156 | before the start of the section. | |
157 | (display_gdb_index): Test for num_cus being so large that the end | |
158 | address wraps around to before the start of the section. | |
159 | (process_cu_tu_index): Test for j being so large that the section | |
160 | index pool wraps around to before the start of the section. | |
161 | ||
57028622 NC |
162 | 2015-02-03 Nick Clifton <nickc@redhat.com> |
163 | ||
164 | PR binutils/17531 | |
165 | * dwarf.c (process_debug_info): Add range check. | |
166 | (display_debug_pubnames_worker): Likewise. | |
167 | (display_gdb_index): Fix range check. | |
168 | (process_cu_tu_index): Add range check. | |
169 | * readelf.c (get_data): Change parameter types from size_t to | |
170 | bfd_size_type. Add checks for loss of accuracy when casting from | |
171 | bfd_size_type to size_t. | |
172 | (get_dynamic_data): Likewise. | |
173 | (process_section_groups): Limit number of error messages. | |
174 | ||
64d29018 NC |
175 | 2015-02-03 Nick Clifton <nickc@redhat.com> |
176 | ||
177 | PR binutils/17512 | |
178 | * objdump.c (display_any_bfd): Fail if archives nest too deeply. | |
179 | ||
3f8107ab AM |
180 | 2015-01-28 James Bowman <james.bowman@ftdichip.com> |
181 | ||
182 | * readelf.c: Add FT32 support. | |
183 | ||
37e3922e NC |
184 | 2015-01-27 Nick Clifton <nickc@redhat.com> |
185 | ||
186 | PR binutils/17512 | |
187 | * dlltool.c (identify_search_archive): If the last archive was the | |
188 | same as the current archive, terminate the loop. | |
189 | ||
877a8638 NC |
190 | * addr2line.c (slurp_symtab): If the symcount is zero, free the |
191 | symbol table pointer. | |
192 | ||
0897ec15 NC |
193 | * rcparse.y: Add checks to avoid integer divide by zero. |
194 | * rescoff.c (read_coff_rsrc): Add check on the size of the | |
195 | resource section. | |
196 | (read_coff_res_dir): Add check on the nesting level. | |
197 | Check for resource names overrunning the buffer. | |
198 | * resrc.c (write_rc_messagetable): Update formatting. | |
199 | Add check of 'elen' being zero. | |
200 | ||
bb97bdd7 NC |
201 | 2015-01-23 Nick Clifton <nickc@redhat.com> |
202 | ||
203 | * nlmconv.c (powerpc_mangle_relocs): Fix build errors introduced | |
204 | by recent delta, when compiling on for a 32-bit host. | |
205 | ||
86eafac0 NC |
206 | 2015-01-21 Nick Clifton <nickc@redhat.com> |
207 | ||
208 | PR binutils/17512 | |
209 | * addr2line.c (main): Call bfd_set_error_program_name. | |
210 | * ar.c (main): Likewise. | |
211 | * coffdump.c (main): Likewise. | |
212 | * cxxfilt.c (main): Likewise. | |
213 | * dlltool.c (main): Likewise. | |
214 | * nlmconv.c (main): Likewise. | |
215 | * nm.c (main): Likewise. | |
216 | * objdump.c (main): Likewise. | |
217 | * size.c (main): Likewise. | |
218 | * srconv.c (main): Likewise. | |
219 | * strings.c (main): Likewise. | |
220 | * sysdump.c (main): Likewise. | |
221 | * windmc.c (main): Likewise. | |
222 | * windres.c (main): Likewise. | |
223 | * objcopy.c (main): Likewise. | |
224 | (copy_relocations_in_section): Check for relocs without associated | |
225 | symbol pointers. | |
226 | ||
6c1965f9 RR |
227 | 2015-01-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
228 | ||
229 | * MAINTAINERS: Add self to ARM maintainers list. | |
230 | ||
5b7d6237 NC |
231 | 2015-01-21 Nick Clifton <nickc@redhat.com> |
232 | ||
233 | PR binutils/17512 | |
234 | * coffgrok.c (do_type): Check that computed ref exists. | |
235 | (doit): Add range checks when computing section for scope. | |
236 | ||
a0a3b04c L |
237 | 2015-01-12 H.J. Lu <hongjiu.lu@intel.com> |
238 | ||
239 | * dwarf.c (process_debug_info): Properly check abbrev size. | |
240 | ||
72c61a0d NC |
241 | 2015-01-12 Nick Clifton <nickc@redhat.com> |
242 | ||
243 | PR binutils/17531 | |
244 | * dwarf.c (process_debug_info): Check for abbrev_base being larger | |
245 | than the section size. | |
246 | (process_cu_tu_index): Use xcalloc2 to allocate the CU and TU | |
247 | arrays. | |
248 | (xcalloc2): New function. Like xcalloc, but checks for overflow. | |
1306a742 NC |
249 | (display_debug_addr): Use xcalloc to allocate the debug_addr_info |
250 | array. Check for an address_base that is too large. | |
251 | ||
72c61a0d NC |
252 | * dwarf.h (xcalloc2): Prototype. |
253 | ||
b38ead21 AM |
254 | 2015-01-12 Alan Modra <amodra@gmail.com> |
255 | ||
256 | * prdbg.c (print_debugging_info): Don't use void* for function | |
257 | pointer param. | |
258 | * budbg.h (print_debugging_info): Update prototype. | |
259 | ||
3565cf8f NC |
260 | 2015-01-08 Nick Clifton <nickc@redhat.com> |
261 | ||
262 | PR binutils/17512 | |
063bb025 NC |
263 | * ojcopy.c (copy_object): Free the symbol table if no symbols |
264 | could be loaded. | |
265 | (copy_file): Use bfd_close_all_done to close files that could not | |
266 | be copied. | |
267 | ||
848cde35 NC |
268 | * sysdump.c (getINT): Fail if reading off the end of the buffer. |
269 | Replace call to abort with a call to fatal. | |
270 | (getCHARS): Prevetn reading off the end of the buffer. | |
271 | ||
3565cf8f NC |
272 | * nlmconv.c (i386_mangle_relocs): Skip relocs without an |
273 | associated symbol. | |
274 | (powerpc_mangle_relocs): Skip unrecognised relocs. Check address | |
275 | range before applying a reloc. | |
276 | ||
c88f5b8e NC |
277 | 2015-01-07 Nick Clifton <nickc@redhat.com> |
278 | ||
279 | PR binutils/17512 | |
d7b24d29 NC |
280 | * dlltool.c (scan_obj_file): Break loop if the last archive |
281 | displayed matches the current archive. | |
282 | ||
c88f5b8e NC |
283 | * objdump.c (display_any_bfd): Add a depth limit to nested archive |
284 | display in order to avoid infinite loops. | |
285 | * srconv.c: Replace calls to abort with calls to fatal with an | |
286 | error message. | |
287 | ||
85880250 NC |
288 | 2015-01-06 Nick Clifton <nickc@redhat.com> |
289 | ||
290 | PR binutils/17512 | |
291 | * coffdump.c (dump_coff_section): Check for a symbol being | |
292 | available before printing its name. | |
293 | (main): Check the return value from coff_grok. | |
294 | * coffgrok.c: Reformat and tidy. | |
295 | Add range checks to most functions. | |
296 | (coff_grok): Return NULL if the input bfd is not in a COFF | |
297 | format. | |
298 | * coffgrok.h: Reformat and tidy. | |
299 | (struct coff_section): Change the nrelocs field to unsigned. | |
300 | * srconv.c (main): Check the return value from coff_grok. | |
301 | ||
896ca098 NC |
302 | 2015-01-05 Nick Clifton <nickc@redhat.com> |
303 | ||
304 | PR binutils/17512 | |
305 | * nm.c (print_symbol): Add 'is_synthetic' parameter. Use it to | |
306 | help initialize the info.elfinfo field. | |
307 | (print_size_symbols): Add 'synth_count' parameter. Use it to set | |
308 | the is_synthetic parameter when calling print_symbol. | |
309 | (print_symbols): Likewise. | |
310 | (display_rel_file): Pass synth_count to printing function. | |
311 | (display_archive): Break loop if the last archive displayed | |
312 | matches the current archive. | |
313 | * size.c (display_archive): Likewise. | |
314 | ||
82b1b41b NC |
315 | 2015-01-05 Nick Clifton <nickc@redhat.com> |
316 | ||
317 | PR binutils/17531 | |
318 | * dwarf.c (alloc_num_debug_info_entries): New variable. | |
319 | (process_debug_info): Set it. Use it to avoid displaying | |
320 | attributes for which there is no info. | |
321 | (display_debug_abbrev): Check that the debug_info_entry index is | |
322 | valid before using it. | |
323 | (display_loc_list_dwo): Likewise. | |
324 | (process_cu_tu_index): Add range check for an overlarge dw_sect | |
325 | value. | |
326 | (free_debug_memory): Reset alloc_num_debug_info_entries. | |
327 | * readelf.c (slurp_ia64_unwind_table): Warn if the reloc could not | |
328 | be indentified. | |
329 | (dynamic_section_mips_val): Warn if the timestamp is invalid. | |
330 | (print_mips_got_entry): Add a data_end parameter. Warn if a read | |
331 | would go beyond the end of the data, and return an error value. | |
332 | (process_mips_specific): Do not read options from beyond the end | |
333 | of the section. | |
334 | Correct code to display optional data at the end of an option. | |
335 | Warn if there are too many GOT symbols. | |
336 | Update calls to print_mips_got_entry, and handle error returns. | |
337 | ||
c1724c7f DK |
338 | 2015-01-05 Daniel Klauer <daniel.c.klauer@web.de> |
339 | ||
340 | PR binutils/17489 | |
341 | * doc/binutils.texi (dlltool): Correct description of --kill-at | |
342 | option. | |
343 | ||
efd321f9 AM |
344 | 2015-01-01 Alan Modra <amodra@gmail.com> |
345 | ||
346 | * version.c (print_version): Just print current year. | |
347 | ||
b90efa5b | 348 | 2015-01-01 Alan Modra <amodra@gmail.com> |
5c294fee | 349 | |
b90efa5b | 350 | Update year range in copyright notice of all files. |
5c294fee | 351 | |
b90efa5b | 352 | For older changes see ChangeLog-2014 |
252b5132 | 353 | \f |
b90efa5b | 354 | Copyright (C) 2015 Free Software Foundation, Inc. |
752937aa NC |
355 | |
356 | Copying and distribution of this file, with or without modification, | |
357 | are permitted in any medium without royalty provided the copyright | |
358 | notice and this notice are preserved. | |
359 | ||
252b5132 RH |
360 | Local Variables: |
361 | mode: change-log | |
362 | left-margin: 8 | |
363 | fill-column: 74 | |
364 | version-control: never | |
365 | End: |