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