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