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