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