Commit | Line | Data |
---|---|---|
de13ef81 NC |
1 | 2015-04-24 Nick Clifton <nickc@redhat.com> |
2 | ||
3 | PR 18313 | |
4 | * ieee.c (ieee_read_cxx_class): Initialise the varargs variable. | |
5 | * readelf.c (uncompress_section_contents): Zero initialise the | |
6 | zstream structure. | |
7 | ||
f6fe1ccd L |
8 | 2015-04-23 H.J. Lu <hongjiu.lu@intel.com> |
9 | ||
10 | PR binutils/18209 | |
11 | * objcopy.c (setup_section): Copy compress status. | |
12 | ||
ea556d25 L |
13 | 2015-04-15 H.J. Lu <hongjiu.lu@intel.com> |
14 | ||
15 | * NEWS: Mention | |
16 | --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi]. | |
17 | ||
6ff71e76 NC |
18 | 2015-04-14 Nick Clifton <nickc@redhat.com> |
19 | ||
20 | * readelf.c (target_specific_reloc_handling): Add code to handle | |
21 | RL78 complex relocs. | |
22 | ||
0d2a7a93 DE |
23 | 2015-04-13 Doug Evans <dje@google.com> |
24 | ||
25 | PR binutils/18218 | |
26 | * readelf.c (printable_section_name): Constify sec argument. | |
27 | (apply_relocations): Ditto. New arg "size". All callers updated. | |
28 | (load_specific_debug_section): Constify sec argument. | |
29 | Remove side-effect of modifying sec->sh_size. | |
30 | ||
cd6faa73 L |
31 | 2015-04-09 H.J. Lu <hongjiu.lu@intel.com> |
32 | ||
33 | * objcopy.c (do_debug_sections): Use bit patterns. | |
34 | (copy_object): Return FALSE for compress_zlib, compress_gnu_zlib | |
35 | and compress_gabi_zlib on non-ELF input. | |
36 | (copy_file): Don't check non-ELF input here. | |
37 | ||
3525236c NC |
38 | 2015-04-09 Nick Clifton <nickc@redhat.com> |
39 | ||
40 | * readelf.c (get_machine_flags): Report the setting of the string | |
41 | insn using bits. | |
42 | ||
151411f8 L |
43 | 2015-04-08 H.J. Lu <hongjiu.lu@intel.com> |
44 | ||
45 | * objcopy.c (do_debug_sections): Add compress_zlib, | |
46 | compress_gnu_zlib and compress_gabi_zlib. | |
47 | (copy_options): Use optional_argument on compress-debug-sections. | |
48 | (copy_usage): Update --compress-debug-sections. | |
49 | (copy_file): Handle compress_zlib, compress_gnu_zlib and | |
50 | compress_gabi_zlib. | |
51 | (copy_main): Handle | |
52 | --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}. | |
53 | * doc/binutils.texi: Document | |
54 | --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}. | |
55 | ||
bfcf0ccd L |
56 | 2015-04-08 H.J. Lu <hongjiu.lu@intel.com> |
57 | ||
58 | * objcopy.c (copy_usage): Replace "--interleave [<number>]" with | |
59 | --interleave[=<number>]. | |
60 | ||
77115a4a L |
61 | 2015-04-05 H.J. Lu <hongjiu.lu@intel.com> |
62 | ||
63 | * readelf.c (get_elf_section_flags): Support SHF_COMPRESSED. | |
64 | (get_compression_header): New. | |
65 | (process_section_headers): Dump compression header if needed. | |
66 | (uncompress_section_contents): Don't free compressed_buffer here. | |
67 | (load_specific_debug_section): Free the compressed buffer, update | |
68 | the section buffer and the section size if uncompress is | |
69 | successful. | |
70 | ||
39f3de7c L |
71 | 2015-04-02 H.J. Lu <hongjiu.lu@intel.com> |
72 | ||
73 | * configure: Regenerated. | |
74 | ||
3d5ff620 MF |
75 | 2015-04-02 Mike Frysinger <vapier@gentoo.org> |
76 | ||
77 | * MAINTAINERS: Update my e-mail address. | |
78 | ||
afa59b79 L |
79 | 2015-04-01 H.J. Lu <hongjiu.lu@intel.com> |
80 | ||
81 | * configure: Regenerated. | |
82 | ||
ed2b5077 L |
83 | 2015-03-31 H.J. Lu <hongjiu.lu@intel.com> |
84 | ||
85 | * configure.ac: Revert the AM_ZLIB change. | |
86 | * Makefile.in: Regenerated. | |
87 | * aclocal.m4: Likewise. | |
88 | * configure: Likewise. | |
89 | ||
0ee42ecd L |
90 | 2015-03-31 H.J. Lu <hongjiu.lu@intel.com> |
91 | ||
92 | * Makefile.am (ZLIB): New. | |
93 | (ZLIBINC): Likewise. | |
94 | (AM_CFLAGS): Add $(ZLIBINC). | |
95 | (readelf_LDADD): Add $(ZLIB). | |
96 | * configure.ac (AM_ZLIB): Removed. | |
97 | (zlibdir): New. AC_SUBST. | |
98 | (zlibinc): Likewise. | |
99 | Add --with-system-zlib. | |
100 | * Makefile.in: Regenerated. | |
101 | * config.in: Likewise. | |
102 | * configure: Likewise. | |
103 | ||
1740ba0c NC |
104 | 2015-03-19 Nick Clifton <nickc@redhat.com> |
105 | ||
106 | * readelf.c (get_machine_flags): Decode RL78's G13 and G14 flags. | |
107 | ||
273a4985 JT |
108 | 2015-03-18 Jon Turney <jon.turney@dronecode.org.uk> |
109 | Nick Clifton <nickc@redhat.com> | |
110 | ||
111 | PR binutils/18087 | |
112 | * doc/binutils.texi: Note that when objcopy compresses debug | |
113 | sections the compression is only performed if it makes the section | |
114 | smaller. | |
115 | ||
5656ba2c L |
116 | 2015-03-10 H.J. Lu <hongjiu.lu@intel.com> |
117 | ||
118 | PR binutils/18101 | |
119 | * readelf.c (parse_args): Move nothing to do warning to ... | |
120 | (main): Here. | |
121 | ||
cfad8730 NC |
122 | 2015-03-10 Nick Clifton <nickc@redhat.com> |
123 | ||
b6370efb NC |
124 | PR binutils/18101 |
125 | * readelf.c (parse_args): Enhance check for nothing to do by | |
126 | accounting for the --wide option. | |
127 | ||
cfad8730 NC |
128 | PR binutils/17636 |
129 | * objcopy.c (copy_object): Avoid calling fatal as that does not | |
130 | allow the parent to clean up temporary files. | |
131 | ||
a5721edd JW |
132 | 2015-03-10 Yuri Gribov <y.gribov@samsung.arm> |
133 | ||
134 | PR ld/16572 | |
135 | * readelf.c: Remove support for ELF_ARM_HASENTRY. | |
136 | ||
4fd77a3d NC |
137 | 2015-03-05 Nick Clifton <nickc@redhat.com> |
138 | ||
139 | PR binutils/18064 | |
140 | * doc/binutils.texi (objcopy): Extend description of | |
141 | --add-gnu-debuglink option to explain that the separate debug info | |
142 | file must exist. Add a description of what to do if the debug | |
143 | info file is built in one place but then installed into a separate | |
144 | location. | |
145 | ||
81fb971a NC |
146 | 2015-03-05 Nick Clifton <nickc@redhat.com> |
147 | ||
148 | PR binutils/17994 | |
149 | * dlltool.c (temp_file_to_remove): New local array. | |
150 | (unlink_temp_files): New functions - unlinks any file in the | |
151 | temp_file_to_remove array, unless dotdeltemps is set. | |
152 | (gen_exp_file): Add temp files to array. | |
153 | (make_head): Likewise. | |
154 | (make_delay_head): Likewise. | |
155 | (make_tail): Likewise. | |
156 | (gen_lib_file): Call unlink_temp_files. | |
157 | ||
acf1419f AB |
158 | 2015-02-28 Andrew Burgess <andrew.burgess@embecosm.com> |
159 | ||
160 | * objcopy.c (update_sections): New list. | |
161 | (command_line_switch): Add OPTION_UPDATE_SECTION. | |
162 | (copy_options): Add update-section. | |
163 | (copy_usage): Document new option. | |
164 | (is_update_section): New function. | |
165 | (is_strip_section_1): Add check for attempt to update and remove | |
166 | the same section. | |
167 | (copy_object): Update size and content of requested sections. | |
168 | (skip_section): Don't copy for updated sections. | |
169 | (copy_main): Handle --update-section. | |
170 | * doc/binutils.texi (objcopy): Add description of --update-section | |
171 | option. | |
172 | * NEWS: Mention --update-section option. | |
173 | ||
d93c7787 NC |
174 | 2015-02-26 Nick Clifton <nickc@redhat.com> |
175 | ||
176 | PR binutils/17512 | |
177 | * coffgrok.c (do_type): Check for an out of range tag index. | |
178 | Check for integer overflow computing array dimension. | |
179 | (do_define): Likewise. | |
180 | ||
06b73f41 AB |
181 | 2015-02-26 Andrew Burgess <andrew.burgess@embecosm.com> |
182 | ||
183 | * objcopy.c (init_section_add): Rename optarg to arg in order to | |
184 | avoid shadowing a global variable. | |
185 | ||
e3ee4005 NC |
186 | 2015-02-26 Nick Clifton <nickc@redhat.com> |
187 | ||
188 | PR binutils/17512 | |
189 | * resrc.c (write_rc_messagetable): Tighten check for invalid | |
190 | message lengths. | |
191 | ||
c8071705 NC |
192 | * dwarf.c (display_debug_loc): Pacify the undefined behaviour |
193 | sanitizer by simplifying address difference calculation. | |
194 | (struct Frame_Chunk): Change type of cfa_offset to dwarf_vma in | |
195 | order to avoid arithmetic overflows. | |
196 | (frame_display_row): Cast cfa_offset before printing it. | |
197 | (display_debug_frames): Likewise. | |
198 | Check for an unexpected segment size. | |
199 | Chnage type of 'l' local to dwarf_vma and cast it back to an int | |
200 | when printing. | |
201 | (process_cu_tu_index): Tighten check for an invalid ncols value. | |
202 | * readelf.c (process_corefile_note_segment): Check for | |
203 | inote.descdata extending beyond the end of the section. | |
204 | (process_v850_notes): Likewise. | |
205 | ||
99654aaf TG |
206 | 2015-02-26 Terry Guo <terry.guo@arm.com> |
207 | ||
208 | * readelf.c (arm_attr_tag_ABI_HardFP_use): Update how we | |
209 | display it. | |
210 | ||
7173b38a AB |
211 | 2015-02-25 Andrew Burgess <andrew.burgess@embecosm.com> |
212 | ||
213 | * objcopy.c (init_section_add): New function. | |
214 | (section_add_load_file): New function. | |
215 | (copy_main): Make use of new functions. | |
216 | ||
137c83d6 AB |
217 | 2015-02-25 Andrew Burgess <andrew.burgess@embecosm.com> |
218 | ||
219 | * od-elf32_avr.c: Add elf32-avr.h include. | |
220 | (OPT_AVRPROP): Define. | |
221 | (options[]): Add 'avr-prop' entry. | |
222 | (elf32_avr_help): Add avr-prop help text. | |
223 | (elf32_avr_dump_avr_prop): New function. | |
224 | (elf32_avr_dump): Add check for avr-prop. | |
225 | ||
685080f2 NC |
226 | 2015-02-24 Nick Clifton <nickc@redhat.com> |
227 | ||
228 | * readelf.c (get_machine_flags): Remove deprecated V850 machine | |
229 | flags. | |
230 | (get_v850_section_type_name): New function. Handles V850 special | |
231 | sections. | |
232 | (get_section_type_name): Add support for V850. | |
233 | (get_v850_elf_note_type): New function. Returns the name of a | |
234 | V850 note. | |
235 | (print_v850_note): New function. Prints a V850 note. | |
236 | (process_v850_notes): New function. Prints V850 notes. | |
237 | (process_note_sections): Add support for V850. | |
238 | ||
94d15024 MF |
239 | 2015-02-24 Mike Frysinger <vapier@gentoo.org> |
240 | ||
241 | PR binutils/17531 | |
242 | * readelf.c (process_symbol_table): Declare chained. Increment it | |
243 | in every loop. Abort when chained is larger than nchains. Move | |
244 | error check outside of chain loop. | |
245 | ||
948f632f DA |
246 | 2015-02-24 Dmitry Antipov <dantipov@nvidia.com> |
247 | ||
248 | * readelf.c (find_symbol_for_address): Use a binary search to | |
249 | speed up symbol location. Skip check for function symbol type. | |
250 | (*_unw_aux_info): Add funtab and nfuns fields contains a sorted | |
251 | list of function symbols. | |
252 | (dump_ia64_unwind): Initialise the funtab and nfuns fields and | |
253 | pass them to find_symbol_for_address. | |
254 | (dump_hppa_unwind): Likewise. | |
255 | (arm_print_vma_and_name): Pass funtab to find_symbol_for_address. | |
256 | (dump_arm_unwind): Initialise the funtab and nfuns fields. | |
257 | ||
0821d5b1 NC |
258 | 2015-02-24 Nick Clifton <nickc@redhat.com> |
259 | ||
260 | * objdump.c (dump_section): Extend the warning message displayed | |
261 | when a section cannot be loaded. | |
262 | ||
9035ed51 MF |
263 | 2015-02-21 Mike Frysinger <vapier@gentoo.org> |
264 | ||
265 | * readelf.c (process_program_headers): Add newline to warning | |
266 | message. | |
267 | ||
4ef9f41a AA |
268 | 2015-02-20 Andreas Arnez <arnez@linux.vnet.ibm.com> |
269 | ||
270 | * readelf.c (get_note_type): Add NT_S390_VXRS_LOW and | |
271 | NT_S390_VXRS_HIGH. | |
272 | ||
951eaaec NC |
273 | 2015-02-13 Nick Clifton <nickc@redhat.com> |
274 | ||
275 | PR binutils/17512 | |
276 | * dwarf.c (read_leb128): Fix test for shift becoming too large. | |
277 | ||
278 | * coffgrok.c (do_define): Add check for type size overflow. | |
279 | * srconv.c (walk_tree_sfile): Check that enough sections are | |
280 | available before parsing. | |
281 | (prescan): Likewise. | |
282 | ||
ffc0f143 NC |
283 | PR binutils/17531 |
284 | * dwarf.c (display_debug_aranges): Add check for an excessive | |
285 | ar_length value. | |
286 | (process_cu_tu_index): Check for a row * columns sum being too | |
287 | large. | |
288 | ||
b4eb7656 AM |
289 | 2015-02-13 Alan Modra <amodra@gmail.com> |
290 | ||
291 | * dwarf.c: Formatting, whitespace. | |
292 | (process_debug_info): Style fix. | |
293 | ||
0e7f931f NC |
294 | 2015-02-11 Nick Clifton <nickc@redhat.com> |
295 | ||
296 | * rl78-decode.opc: Add 'a' attribute to instructions that support | |
297 | [HL+0] addressing. | |
298 | * rl78-decode.c: Regenerate. | |
299 | * rl78-dis.c (print_insn_rl78): Display the offset in [HL+0] | |
300 | addresses. | |
301 | ||
362beea4 NC |
302 | 2015-02-11 Nick Clifton <nickc@redhat.com> |
303 | ||
304 | PR binutils/17531 | |
305 | * dwarf.c (display_debug_pubnames_worker): Work around compiler | |
306 | bug checking address ranges. | |
307 | (display_debug_frames): Likewise. | |
308 | (display_gdb_index): Likewise. | |
309 | (process_cu_tu_index): Add range check on the ncols value. | |
310 | ||
77ef8654 NC |
311 | 2015-02-10 Nick Clifton <nickc@redhat.com> |
312 | ||
313 | PR binutils/17512 | |
314 | * dwarf.c (eh_addr_size): Use an unsigned type. | |
315 | (size_of_encoded_value): Return an unsigned type. | |
316 | (read_leb128): Break if the shift becomes too big. | |
317 | (process_extended_line_op): Do not read the address if the length | |
318 | is too long. | |
319 | (read_cie): Warn and fail if the pointer size or segment size are | |
320 | too big. | |
321 | * dwarf.h (DWARF2_External_LineInfo): Delete unused and incorrect | |
322 | structure definition. | |
323 | (DWARF2_External_PubNames): Likewise. | |
324 | (DWARF2_External_CompUnit): Likewise. | |
325 | (DWARF2_External_ARange): Likewise. | |
326 | (DWARF2_Internal_LineInfo): Use dwarf_vma type for | |
327 | li_prologue_length. | |
328 | (eh_addr_size): Update prototype. | |
329 | ||
03a91817 NC |
330 | PR binutils/17531 |
331 | * dwarf.c (process_debug_info): Zero the debug information array | |
332 | since correct initialisation cannot be relied upon. | |
333 | (process_cu_tu_index): Improve range checks. | |
334 | ||
834f871c NC |
335 | PR binutils/17531 |
336 | * dwarf.c (display_debug_pubnames_worker): Use dwarf_vma type for | |
337 | offset. | |
338 | * readelf.c (dump_relocations): Handle printing offsets which are | |
339 | MIN_INT. | |
340 | (process_corefile_note_segment): Add range check of the namesz | |
341 | field. | |
342 | ||
5a195044 MW |
343 | 2015-02-09 Mark Wielaard <mjw@redhat.com> |
344 | ||
345 | * dwarf.c (read_and_display_attr_value): Handle DW_LANG_Fortran03 | |
346 | and DW_LANG_Fortran08. | |
347 | ||
5929c344 NC |
348 | 2015-02-06 Nick Clifton <nickc@redhat.com> |
349 | ||
350 | PR binutils/17512 | |
351 | * dwarf.c (display_debug_frames): Fix range checks to work on | |
352 | 32-bit binaries complied on a 64-bit host. | |
353 | ||
8490fb40 NC |
354 | PR binutils/17531 |
355 | * dwarf.c (xcmalloc): Fail if the arguments are too big. | |
356 | (xcrealloc): Likewise. | |
357 | (xcalloc2): Likewise. | |
55325047 NC |
358 | * readelf.c (process_mips_specific): Fail if an option has an |
359 | invalid size. | |
8490fb40 | 360 | |
7cc78d07 AM |
361 | 2015-02-05 Alan Modra <amodra@gmail.com> |
362 | ||
363 | PR binutils/17926 | |
364 | * dwarf.c (dwarf_select_sections_by_letters): Don't refer to optarg. | |
365 | ||
f3853b34 NC |
366 | 2015-02-04 Nick Clifton <nickc@redhat.com> |
367 | ||
368 | PR binutils/17531 | |
369 | * dwarf.c (read_and_display_attr_value): Test for a block length | |
370 | being so long that it wraps around to before the start of the block. | |
371 | (process_debug_info): Test for section_begin wrapping around to | |
372 | before the start of the section. | |
373 | (display_gdb_index): Test for num_cus being so large that the end | |
374 | address wraps around to before the start of the section. | |
375 | (process_cu_tu_index): Test for j being so large that the section | |
376 | index pool wraps around to before the start of the section. | |
377 | ||
57028622 NC |
378 | 2015-02-03 Nick Clifton <nickc@redhat.com> |
379 | ||
380 | PR binutils/17531 | |
381 | * dwarf.c (process_debug_info): Add range check. | |
382 | (display_debug_pubnames_worker): Likewise. | |
383 | (display_gdb_index): Fix range check. | |
384 | (process_cu_tu_index): Add range check. | |
385 | * readelf.c (get_data): Change parameter types from size_t to | |
386 | bfd_size_type. Add checks for loss of accuracy when casting from | |
387 | bfd_size_type to size_t. | |
388 | (get_dynamic_data): Likewise. | |
389 | (process_section_groups): Limit number of error messages. | |
390 | ||
64d29018 NC |
391 | 2015-02-03 Nick Clifton <nickc@redhat.com> |
392 | ||
393 | PR binutils/17512 | |
394 | * objdump.c (display_any_bfd): Fail if archives nest too deeply. | |
395 | ||
3f8107ab AM |
396 | 2015-01-28 James Bowman <james.bowman@ftdichip.com> |
397 | ||
398 | * readelf.c: Add FT32 support. | |
399 | ||
37e3922e NC |
400 | 2015-01-27 Nick Clifton <nickc@redhat.com> |
401 | ||
402 | PR binutils/17512 | |
403 | * dlltool.c (identify_search_archive): If the last archive was the | |
404 | same as the current archive, terminate the loop. | |
405 | ||
877a8638 NC |
406 | * addr2line.c (slurp_symtab): If the symcount is zero, free the |
407 | symbol table pointer. | |
408 | ||
0897ec15 NC |
409 | * rcparse.y: Add checks to avoid integer divide by zero. |
410 | * rescoff.c (read_coff_rsrc): Add check on the size of the | |
411 | resource section. | |
412 | (read_coff_res_dir): Add check on the nesting level. | |
413 | Check for resource names overrunning the buffer. | |
414 | * resrc.c (write_rc_messagetable): Update formatting. | |
415 | Add check of 'elen' being zero. | |
416 | ||
bb97bdd7 NC |
417 | 2015-01-23 Nick Clifton <nickc@redhat.com> |
418 | ||
419 | * nlmconv.c (powerpc_mangle_relocs): Fix build errors introduced | |
420 | by recent delta, when compiling on for a 32-bit host. | |
421 | ||
86eafac0 NC |
422 | 2015-01-21 Nick Clifton <nickc@redhat.com> |
423 | ||
424 | PR binutils/17512 | |
425 | * addr2line.c (main): Call bfd_set_error_program_name. | |
426 | * ar.c (main): Likewise. | |
427 | * coffdump.c (main): Likewise. | |
428 | * cxxfilt.c (main): Likewise. | |
429 | * dlltool.c (main): Likewise. | |
430 | * nlmconv.c (main): Likewise. | |
431 | * nm.c (main): Likewise. | |
432 | * objdump.c (main): Likewise. | |
433 | * size.c (main): Likewise. | |
434 | * srconv.c (main): Likewise. | |
435 | * strings.c (main): Likewise. | |
436 | * sysdump.c (main): Likewise. | |
437 | * windmc.c (main): Likewise. | |
438 | * windres.c (main): Likewise. | |
439 | * objcopy.c (main): Likewise. | |
440 | (copy_relocations_in_section): Check for relocs without associated | |
441 | symbol pointers. | |
442 | ||
6c1965f9 RR |
443 | 2015-01-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
444 | ||
445 | * MAINTAINERS: Add self to ARM maintainers list. | |
446 | ||
5b7d6237 NC |
447 | 2015-01-21 Nick Clifton <nickc@redhat.com> |
448 | ||
449 | PR binutils/17512 | |
450 | * coffgrok.c (do_type): Check that computed ref exists. | |
451 | (doit): Add range checks when computing section for scope. | |
452 | ||
a0a3b04c L |
453 | 2015-01-12 H.J. Lu <hongjiu.lu@intel.com> |
454 | ||
455 | * dwarf.c (process_debug_info): Properly check abbrev size. | |
456 | ||
72c61a0d NC |
457 | 2015-01-12 Nick Clifton <nickc@redhat.com> |
458 | ||
459 | PR binutils/17531 | |
460 | * dwarf.c (process_debug_info): Check for abbrev_base being larger | |
461 | than the section size. | |
462 | (process_cu_tu_index): Use xcalloc2 to allocate the CU and TU | |
463 | arrays. | |
464 | (xcalloc2): New function. Like xcalloc, but checks for overflow. | |
1306a742 NC |
465 | (display_debug_addr): Use xcalloc to allocate the debug_addr_info |
466 | array. Check for an address_base that is too large. | |
467 | ||
72c61a0d NC |
468 | * dwarf.h (xcalloc2): Prototype. |
469 | ||
b38ead21 AM |
470 | 2015-01-12 Alan Modra <amodra@gmail.com> |
471 | ||
472 | * prdbg.c (print_debugging_info): Don't use void* for function | |
473 | pointer param. | |
474 | * budbg.h (print_debugging_info): Update prototype. | |
475 | ||
3565cf8f NC |
476 | 2015-01-08 Nick Clifton <nickc@redhat.com> |
477 | ||
478 | PR binutils/17512 | |
063bb025 NC |
479 | * ojcopy.c (copy_object): Free the symbol table if no symbols |
480 | could be loaded. | |
481 | (copy_file): Use bfd_close_all_done to close files that could not | |
482 | be copied. | |
483 | ||
848cde35 NC |
484 | * sysdump.c (getINT): Fail if reading off the end of the buffer. |
485 | Replace call to abort with a call to fatal. | |
486 | (getCHARS): Prevetn reading off the end of the buffer. | |
487 | ||
3565cf8f NC |
488 | * nlmconv.c (i386_mangle_relocs): Skip relocs without an |
489 | associated symbol. | |
490 | (powerpc_mangle_relocs): Skip unrecognised relocs. Check address | |
491 | range before applying a reloc. | |
492 | ||
c88f5b8e NC |
493 | 2015-01-07 Nick Clifton <nickc@redhat.com> |
494 | ||
495 | PR binutils/17512 | |
d7b24d29 NC |
496 | * dlltool.c (scan_obj_file): Break loop if the last archive |
497 | displayed matches the current archive. | |
498 | ||
c88f5b8e NC |
499 | * objdump.c (display_any_bfd): Add a depth limit to nested archive |
500 | display in order to avoid infinite loops. | |
501 | * srconv.c: Replace calls to abort with calls to fatal with an | |
502 | error message. | |
503 | ||
85880250 NC |
504 | 2015-01-06 Nick Clifton <nickc@redhat.com> |
505 | ||
506 | PR binutils/17512 | |
507 | * coffdump.c (dump_coff_section): Check for a symbol being | |
508 | available before printing its name. | |
509 | (main): Check the return value from coff_grok. | |
510 | * coffgrok.c: Reformat and tidy. | |
511 | Add range checks to most functions. | |
512 | (coff_grok): Return NULL if the input bfd is not in a COFF | |
513 | format. | |
514 | * coffgrok.h: Reformat and tidy. | |
515 | (struct coff_section): Change the nrelocs field to unsigned. | |
516 | * srconv.c (main): Check the return value from coff_grok. | |
517 | ||
896ca098 NC |
518 | 2015-01-05 Nick Clifton <nickc@redhat.com> |
519 | ||
520 | PR binutils/17512 | |
521 | * nm.c (print_symbol): Add 'is_synthetic' parameter. Use it to | |
522 | help initialize the info.elfinfo field. | |
523 | (print_size_symbols): Add 'synth_count' parameter. Use it to set | |
524 | the is_synthetic parameter when calling print_symbol. | |
525 | (print_symbols): Likewise. | |
526 | (display_rel_file): Pass synth_count to printing function. | |
527 | (display_archive): Break loop if the last archive displayed | |
528 | matches the current archive. | |
529 | * size.c (display_archive): Likewise. | |
530 | ||
82b1b41b NC |
531 | 2015-01-05 Nick Clifton <nickc@redhat.com> |
532 | ||
533 | PR binutils/17531 | |
534 | * dwarf.c (alloc_num_debug_info_entries): New variable. | |
535 | (process_debug_info): Set it. Use it to avoid displaying | |
536 | attributes for which there is no info. | |
537 | (display_debug_abbrev): Check that the debug_info_entry index is | |
538 | valid before using it. | |
539 | (display_loc_list_dwo): Likewise. | |
540 | (process_cu_tu_index): Add range check for an overlarge dw_sect | |
541 | value. | |
542 | (free_debug_memory): Reset alloc_num_debug_info_entries. | |
543 | * readelf.c (slurp_ia64_unwind_table): Warn if the reloc could not | |
544 | be indentified. | |
545 | (dynamic_section_mips_val): Warn if the timestamp is invalid. | |
546 | (print_mips_got_entry): Add a data_end parameter. Warn if a read | |
547 | would go beyond the end of the data, and return an error value. | |
548 | (process_mips_specific): Do not read options from beyond the end | |
549 | of the section. | |
550 | Correct code to display optional data at the end of an option. | |
551 | Warn if there are too many GOT symbols. | |
552 | Update calls to print_mips_got_entry, and handle error returns. | |
553 | ||
c1724c7f DK |
554 | 2015-01-05 Daniel Klauer <daniel.c.klauer@web.de> |
555 | ||
556 | PR binutils/17489 | |
557 | * doc/binutils.texi (dlltool): Correct description of --kill-at | |
558 | option. | |
559 | ||
efd321f9 AM |
560 | 2015-01-01 Alan Modra <amodra@gmail.com> |
561 | ||
562 | * version.c (print_version): Just print current year. | |
563 | ||
b90efa5b | 564 | 2015-01-01 Alan Modra <amodra@gmail.com> |
5c294fee | 565 | |
b90efa5b | 566 | Update year range in copyright notice of all files. |
5c294fee | 567 | |
b90efa5b | 568 | For older changes see ChangeLog-2014 |
252b5132 | 569 | \f |
b90efa5b | 570 | Copyright (C) 2015 Free Software Foundation, Inc. |
752937aa NC |
571 | |
572 | Copying and distribution of this file, with or without modification, | |
573 | are permitted in any medium without royalty provided the copyright | |
574 | notice and this notice are preserved. | |
575 | ||
252b5132 RH |
576 | Local Variables: |
577 | mode: change-log | |
578 | left-margin: 8 | |
579 | fill-column: 74 | |
580 | version-control: never | |
581 | End: |