924f35c84c7cdbc84de8535eed1185fead95dd8d
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2015-01-27 Nick Clifton <nickc@redhat.com>
2
3 PR binutils/17512
4 * dlltool.c (identify_search_archive): If the last archive was the
5 same as the current archive, terminate the loop.
6
7 * addr2line.c (slurp_symtab): If the symcount is zero, free the
8 symbol table pointer.
9
10 * rcparse.y: Add checks to avoid integer divide by zero.
11 * rescoff.c (read_coff_rsrc): Add check on the size of the
12 resource section.
13 (read_coff_res_dir): Add check on the nesting level.
14 Check for resource names overrunning the buffer.
15 * resrc.c (write_rc_messagetable): Update formatting.
16 Add check of 'elen' being zero.
17
18 2015-01-23 Nick Clifton <nickc@redhat.com>
19
20 * nlmconv.c (powerpc_mangle_relocs): Fix build errors introduced
21 by recent delta, when compiling on for a 32-bit host.
22
23 2015-01-21 Nick Clifton <nickc@redhat.com>
24
25 PR binutils/17512
26 * addr2line.c (main): Call bfd_set_error_program_name.
27 * ar.c (main): Likewise.
28 * coffdump.c (main): Likewise.
29 * cxxfilt.c (main): Likewise.
30 * dlltool.c (main): Likewise.
31 * nlmconv.c (main): Likewise.
32 * nm.c (main): Likewise.
33 * objdump.c (main): Likewise.
34 * size.c (main): Likewise.
35 * srconv.c (main): Likewise.
36 * strings.c (main): Likewise.
37 * sysdump.c (main): Likewise.
38 * windmc.c (main): Likewise.
39 * windres.c (main): Likewise.
40 * objcopy.c (main): Likewise.
41 (copy_relocations_in_section): Check for relocs without associated
42 symbol pointers.
43
44 2015-01-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
45
46 * MAINTAINERS: Add self to ARM maintainers list.
47
48 2015-01-21 Nick Clifton <nickc@redhat.com>
49
50 PR binutils/17512
51 * coffgrok.c (do_type): Check that computed ref exists.
52 (doit): Add range checks when computing section for scope.
53
54 2015-01-12 H.J. Lu <hongjiu.lu@intel.com>
55
56 * dwarf.c (process_debug_info): Properly check abbrev size.
57
58 2015-01-12 Nick Clifton <nickc@redhat.com>
59
60 PR binutils/17531
61 * dwarf.c (process_debug_info): Check for abbrev_base being larger
62 than the section size.
63 (process_cu_tu_index): Use xcalloc2 to allocate the CU and TU
64 arrays.
65 (xcalloc2): New function. Like xcalloc, but checks for overflow.
66 (display_debug_addr): Use xcalloc to allocate the debug_addr_info
67 array. Check for an address_base that is too large.
68
69 * dwarf.h (xcalloc2): Prototype.
70
71 2015-01-12 Alan Modra <amodra@gmail.com>
72
73 * prdbg.c (print_debugging_info): Don't use void* for function
74 pointer param.
75 * budbg.h (print_debugging_info): Update prototype.
76
77 2015-01-08 Nick Clifton <nickc@redhat.com>
78
79 PR binutils/17512
80 * ojcopy.c (copy_object): Free the symbol table if no symbols
81 could be loaded.
82 (copy_file): Use bfd_close_all_done to close files that could not
83 be copied.
84
85 * sysdump.c (getINT): Fail if reading off the end of the buffer.
86 Replace call to abort with a call to fatal.
87 (getCHARS): Prevetn reading off the end of the buffer.
88
89 * nlmconv.c (i386_mangle_relocs): Skip relocs without an
90 associated symbol.
91 (powerpc_mangle_relocs): Skip unrecognised relocs. Check address
92 range before applying a reloc.
93
94 2015-01-07 Nick Clifton <nickc@redhat.com>
95
96 PR binutils/17512
97 * dlltool.c (scan_obj_file): Break loop if the last archive
98 displayed matches the current archive.
99
100 * objdump.c (display_any_bfd): Add a depth limit to nested archive
101 display in order to avoid infinite loops.
102 * srconv.c: Replace calls to abort with calls to fatal with an
103 error message.
104
105 2015-01-06 Nick Clifton <nickc@redhat.com>
106
107 PR binutils/17512
108 * coffdump.c (dump_coff_section): Check for a symbol being
109 available before printing its name.
110 (main): Check the return value from coff_grok.
111 * coffgrok.c: Reformat and tidy.
112 Add range checks to most functions.
113 (coff_grok): Return NULL if the input bfd is not in a COFF
114 format.
115 * coffgrok.h: Reformat and tidy.
116 (struct coff_section): Change the nrelocs field to unsigned.
117 * srconv.c (main): Check the return value from coff_grok.
118
119 2015-01-05 Nick Clifton <nickc@redhat.com>
120
121 PR binutils/17512
122 * nm.c (print_symbol): Add 'is_synthetic' parameter. Use it to
123 help initialize the info.elfinfo field.
124 (print_size_symbols): Add 'synth_count' parameter. Use it to set
125 the is_synthetic parameter when calling print_symbol.
126 (print_symbols): Likewise.
127 (display_rel_file): Pass synth_count to printing function.
128 (display_archive): Break loop if the last archive displayed
129 matches the current archive.
130 * size.c (display_archive): Likewise.
131
132 2015-01-05 Nick Clifton <nickc@redhat.com>
133
134 PR binutils/17531
135 * dwarf.c (alloc_num_debug_info_entries): New variable.
136 (process_debug_info): Set it. Use it to avoid displaying
137 attributes for which there is no info.
138 (display_debug_abbrev): Check that the debug_info_entry index is
139 valid before using it.
140 (display_loc_list_dwo): Likewise.
141 (process_cu_tu_index): Add range check for an overlarge dw_sect
142 value.
143 (free_debug_memory): Reset alloc_num_debug_info_entries.
144 * readelf.c (slurp_ia64_unwind_table): Warn if the reloc could not
145 be indentified.
146 (dynamic_section_mips_val): Warn if the timestamp is invalid.
147 (print_mips_got_entry): Add a data_end parameter. Warn if a read
148 would go beyond the end of the data, and return an error value.
149 (process_mips_specific): Do not read options from beyond the end
150 of the section.
151 Correct code to display optional data at the end of an option.
152 Warn if there are too many GOT symbols.
153 Update calls to print_mips_got_entry, and handle error returns.
154
155 2015-01-05 Daniel Klauer <daniel.c.klauer@web.de>
156
157 PR binutils/17489
158 * doc/binutils.texi (dlltool): Correct description of --kill-at
159 option.
160
161 2015-01-01 Alan Modra <amodra@gmail.com>
162
163 * version.c (print_version): Just print current year.
164
165 2015-01-01 Alan Modra <amodra@gmail.com>
166
167 Update year range in copyright notice of all files.
168
169 For older changes see ChangeLog-2014
170 \f
171 Copyright (C) 2015 Free Software Foundation, Inc.
172
173 Copying and distribution of this file, with or without modification,
174 are permitted in any medium without royalty provided the copyright
175 notice and this notice are preserved.
176
177 Local Variables:
178 mode: change-log
179 left-margin: 8
180 fill-column: 74
181 version-control: never
182 End:
This page took 0.033602 seconds and 3 git commands to generate.