Fixes for memory access violations in the coffdump program.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2015-01-06 Nick Clifton <nickc@redhat.com>
2
3 PR binutils/17512
4 * coffdump.c (dump_coff_section): Check for a symbol being
5 available before printing its name.
6 (main): Check the return value from coff_grok.
7 * coffgrok.c: Reformat and tidy.
8 Add range checks to most functions.
9 (coff_grok): Return NULL if the input bfd is not in a COFF
10 format.
11 * coffgrok.h: Reformat and tidy.
12 (struct coff_section): Change the nrelocs field to unsigned.
13 * srconv.c (main): Check the return value from coff_grok.
14
15 2015-01-05 Nick Clifton <nickc@redhat.com>
16
17 PR binutils/17512
18 * nm.c (print_symbol): Add 'is_synthetic' parameter. Use it to
19 help initialize the info.elfinfo field.
20 (print_size_symbols): Add 'synth_count' parameter. Use it to set
21 the is_synthetic parameter when calling print_symbol.
22 (print_symbols): Likewise.
23 (display_rel_file): Pass synth_count to printing function.
24 (display_archive): Break loop if the last archive displayed
25 matches the current archive.
26 * size.c (display_archive): Likewise.
27
28 2015-01-05 Nick Clifton <nickc@redhat.com>
29
30 PR binutils/17531
31 * dwarf.c (alloc_num_debug_info_entries): New variable.
32 (process_debug_info): Set it. Use it to avoid displaying
33 attributes for which there is no info.
34 (display_debug_abbrev): Check that the debug_info_entry index is
35 valid before using it.
36 (display_loc_list_dwo): Likewise.
37 (process_cu_tu_index): Add range check for an overlarge dw_sect
38 value.
39 (free_debug_memory): Reset alloc_num_debug_info_entries.
40 * readelf.c (slurp_ia64_unwind_table): Warn if the reloc could not
41 be indentified.
42 (dynamic_section_mips_val): Warn if the timestamp is invalid.
43 (print_mips_got_entry): Add a data_end parameter. Warn if a read
44 would go beyond the end of the data, and return an error value.
45 (process_mips_specific): Do not read options from beyond the end
46 of the section.
47 Correct code to display optional data at the end of an option.
48 Warn if there are too many GOT symbols.
49 Update calls to print_mips_got_entry, and handle error returns.
50
51 2015-01-05 Daniel Klauer <daniel.c.klauer@web.de>
52
53 PR binutils/17489
54 * doc/binutils.texi (dlltool): Correct description of --kill-at
55 option.
56
57 2015-01-01 Alan Modra <amodra@gmail.com>
58
59 * version.c (print_version): Just print current year.
60
61 2015-01-01 Alan Modra <amodra@gmail.com>
62
63 Update year range in copyright notice of all files.
64
65 For older changes see ChangeLog-2014
66 \f
67 Copyright (C) 2015 Free Software Foundation, Inc.
68
69 Copying and distribution of this file, with or without modification,
70 are permitted in any medium without royalty provided the copyright
71 notice and this notice are preserved.
72
73 Local Variables:
74 mode: change-log
75 left-margin: 8
76 fill-column: 74
77 version-control: never
78 End:
This page took 0.039019 seconds and 4 git commands to generate.