Commit | Line | Data |
---|---|---|
0e7f931f NC |
1 | 2015-02-11 Nick Clifton <nickc@redhat.com> |
2 | ||
3 | * rl78-decode.opc: Add 'a' attribute to instructions that support | |
4 | [HL+0] addressing. | |
5 | * rl78-decode.c: Regenerate. | |
6 | * rl78-dis.c (print_insn_rl78): Display the offset in [HL+0] | |
7 | addresses. | |
8 | ||
362beea4 NC |
9 | 2015-02-11 Nick Clifton <nickc@redhat.com> |
10 | ||
11 | PR binutils/17531 | |
12 | * dwarf.c (display_debug_pubnames_worker): Work around compiler | |
13 | bug checking address ranges. | |
14 | (display_debug_frames): Likewise. | |
15 | (display_gdb_index): Likewise. | |
16 | (process_cu_tu_index): Add range check on the ncols value. | |
17 | ||
77ef8654 NC |
18 | 2015-02-10 Nick Clifton <nickc@redhat.com> |
19 | ||
20 | PR binutils/17512 | |
21 | * dwarf.c (eh_addr_size): Use an unsigned type. | |
22 | (size_of_encoded_value): Return an unsigned type. | |
23 | (read_leb128): Break if the shift becomes too big. | |
24 | (process_extended_line_op): Do not read the address if the length | |
25 | is too long. | |
26 | (read_cie): Warn and fail if the pointer size or segment size are | |
27 | too big. | |
28 | * dwarf.h (DWARF2_External_LineInfo): Delete unused and incorrect | |
29 | structure definition. | |
30 | (DWARF2_External_PubNames): Likewise. | |
31 | (DWARF2_External_CompUnit): Likewise. | |
32 | (DWARF2_External_ARange): Likewise. | |
33 | (DWARF2_Internal_LineInfo): Use dwarf_vma type for | |
34 | li_prologue_length. | |
35 | (eh_addr_size): Update prototype. | |
36 | ||
03a91817 NC |
37 | PR binutils/17531 |
38 | * dwarf.c (process_debug_info): Zero the debug information array | |
39 | since correct initialisation cannot be relied upon. | |
40 | (process_cu_tu_index): Improve range checks. | |
41 | ||
834f871c NC |
42 | PR binutils/17531 |
43 | * dwarf.c (display_debug_pubnames_worker): Use dwarf_vma type for | |
44 | offset. | |
45 | * readelf.c (dump_relocations): Handle printing offsets which are | |
46 | MIN_INT. | |
47 | (process_corefile_note_segment): Add range check of the namesz | |
48 | field. | |
49 | ||
5a195044 MW |
50 | 2015-02-09 Mark Wielaard <mjw@redhat.com> |
51 | ||
52 | * dwarf.c (read_and_display_attr_value): Handle DW_LANG_Fortran03 | |
53 | and DW_LANG_Fortran08. | |
54 | ||
5929c344 NC |
55 | 2015-02-06 Nick Clifton <nickc@redhat.com> |
56 | ||
57 | PR binutils/17512 | |
58 | * dwarf.c (display_debug_frames): Fix range checks to work on | |
59 | 32-bit binaries complied on a 64-bit host. | |
60 | ||
8490fb40 NC |
61 | PR binutils/17531 |
62 | * dwarf.c (xcmalloc): Fail if the arguments are too big. | |
63 | (xcrealloc): Likewise. | |
64 | (xcalloc2): Likewise. | |
55325047 NC |
65 | * readelf.c (process_mips_specific): Fail if an option has an |
66 | invalid size. | |
8490fb40 | 67 | |
7cc78d07 AM |
68 | 2015-02-05 Alan Modra <amodra@gmail.com> |
69 | ||
70 | PR binutils/17926 | |
71 | * dwarf.c (dwarf_select_sections_by_letters): Don't refer to optarg. | |
72 | ||
f3853b34 NC |
73 | 2015-02-04 Nick Clifton <nickc@redhat.com> |
74 | ||
75 | PR binutils/17531 | |
76 | * dwarf.c (read_and_display_attr_value): Test for a block length | |
77 | being so long that it wraps around to before the start of the block. | |
78 | (process_debug_info): Test for section_begin wrapping around to | |
79 | before the start of the section. | |
80 | (display_gdb_index): Test for num_cus being so large that the end | |
81 | address wraps around to before the start of the section. | |
82 | (process_cu_tu_index): Test for j being so large that the section | |
83 | index pool wraps around to before the start of the section. | |
84 | ||
57028622 NC |
85 | 2015-02-03 Nick Clifton <nickc@redhat.com> |
86 | ||
87 | PR binutils/17531 | |
88 | * dwarf.c (process_debug_info): Add range check. | |
89 | (display_debug_pubnames_worker): Likewise. | |
90 | (display_gdb_index): Fix range check. | |
91 | (process_cu_tu_index): Add range check. | |
92 | * readelf.c (get_data): Change parameter types from size_t to | |
93 | bfd_size_type. Add checks for loss of accuracy when casting from | |
94 | bfd_size_type to size_t. | |
95 | (get_dynamic_data): Likewise. | |
96 | (process_section_groups): Limit number of error messages. | |
97 | ||
64d29018 NC |
98 | 2015-02-03 Nick Clifton <nickc@redhat.com> |
99 | ||
100 | PR binutils/17512 | |
101 | * objdump.c (display_any_bfd): Fail if archives nest too deeply. | |
102 | ||
3f8107ab AM |
103 | 2015-01-28 James Bowman <james.bowman@ftdichip.com> |
104 | ||
105 | * readelf.c: Add FT32 support. | |
106 | ||
37e3922e NC |
107 | 2015-01-27 Nick Clifton <nickc@redhat.com> |
108 | ||
109 | PR binutils/17512 | |
110 | * dlltool.c (identify_search_archive): If the last archive was the | |
111 | same as the current archive, terminate the loop. | |
112 | ||
877a8638 NC |
113 | * addr2line.c (slurp_symtab): If the symcount is zero, free the |
114 | symbol table pointer. | |
115 | ||
0897ec15 NC |
116 | * rcparse.y: Add checks to avoid integer divide by zero. |
117 | * rescoff.c (read_coff_rsrc): Add check on the size of the | |
118 | resource section. | |
119 | (read_coff_res_dir): Add check on the nesting level. | |
120 | Check for resource names overrunning the buffer. | |
121 | * resrc.c (write_rc_messagetable): Update formatting. | |
122 | Add check of 'elen' being zero. | |
123 | ||
bb97bdd7 NC |
124 | 2015-01-23 Nick Clifton <nickc@redhat.com> |
125 | ||
126 | * nlmconv.c (powerpc_mangle_relocs): Fix build errors introduced | |
127 | by recent delta, when compiling on for a 32-bit host. | |
128 | ||
86eafac0 NC |
129 | 2015-01-21 Nick Clifton <nickc@redhat.com> |
130 | ||
131 | PR binutils/17512 | |
132 | * addr2line.c (main): Call bfd_set_error_program_name. | |
133 | * ar.c (main): Likewise. | |
134 | * coffdump.c (main): Likewise. | |
135 | * cxxfilt.c (main): Likewise. | |
136 | * dlltool.c (main): Likewise. | |
137 | * nlmconv.c (main): Likewise. | |
138 | * nm.c (main): Likewise. | |
139 | * objdump.c (main): Likewise. | |
140 | * size.c (main): Likewise. | |
141 | * srconv.c (main): Likewise. | |
142 | * strings.c (main): Likewise. | |
143 | * sysdump.c (main): Likewise. | |
144 | * windmc.c (main): Likewise. | |
145 | * windres.c (main): Likewise. | |
146 | * objcopy.c (main): Likewise. | |
147 | (copy_relocations_in_section): Check for relocs without associated | |
148 | symbol pointers. | |
149 | ||
6c1965f9 RR |
150 | 2015-01-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
151 | ||
152 | * MAINTAINERS: Add self to ARM maintainers list. | |
153 | ||
5b7d6237 NC |
154 | 2015-01-21 Nick Clifton <nickc@redhat.com> |
155 | ||
156 | PR binutils/17512 | |
157 | * coffgrok.c (do_type): Check that computed ref exists. | |
158 | (doit): Add range checks when computing section for scope. | |
159 | ||
a0a3b04c L |
160 | 2015-01-12 H.J. Lu <hongjiu.lu@intel.com> |
161 | ||
162 | * dwarf.c (process_debug_info): Properly check abbrev size. | |
163 | ||
72c61a0d NC |
164 | 2015-01-12 Nick Clifton <nickc@redhat.com> |
165 | ||
166 | PR binutils/17531 | |
167 | * dwarf.c (process_debug_info): Check for abbrev_base being larger | |
168 | than the section size. | |
169 | (process_cu_tu_index): Use xcalloc2 to allocate the CU and TU | |
170 | arrays. | |
171 | (xcalloc2): New function. Like xcalloc, but checks for overflow. | |
1306a742 NC |
172 | (display_debug_addr): Use xcalloc to allocate the debug_addr_info |
173 | array. Check for an address_base that is too large. | |
174 | ||
72c61a0d NC |
175 | * dwarf.h (xcalloc2): Prototype. |
176 | ||
b38ead21 AM |
177 | 2015-01-12 Alan Modra <amodra@gmail.com> |
178 | ||
179 | * prdbg.c (print_debugging_info): Don't use void* for function | |
180 | pointer param. | |
181 | * budbg.h (print_debugging_info): Update prototype. | |
182 | ||
3565cf8f NC |
183 | 2015-01-08 Nick Clifton <nickc@redhat.com> |
184 | ||
185 | PR binutils/17512 | |
063bb025 NC |
186 | * ojcopy.c (copy_object): Free the symbol table if no symbols |
187 | could be loaded. | |
188 | (copy_file): Use bfd_close_all_done to close files that could not | |
189 | be copied. | |
190 | ||
848cde35 NC |
191 | * sysdump.c (getINT): Fail if reading off the end of the buffer. |
192 | Replace call to abort with a call to fatal. | |
193 | (getCHARS): Prevetn reading off the end of the buffer. | |
194 | ||
3565cf8f NC |
195 | * nlmconv.c (i386_mangle_relocs): Skip relocs without an |
196 | associated symbol. | |
197 | (powerpc_mangle_relocs): Skip unrecognised relocs. Check address | |
198 | range before applying a reloc. | |
199 | ||
c88f5b8e NC |
200 | 2015-01-07 Nick Clifton <nickc@redhat.com> |
201 | ||
202 | PR binutils/17512 | |
d7b24d29 NC |
203 | * dlltool.c (scan_obj_file): Break loop if the last archive |
204 | displayed matches the current archive. | |
205 | ||
c88f5b8e NC |
206 | * objdump.c (display_any_bfd): Add a depth limit to nested archive |
207 | display in order to avoid infinite loops. | |
208 | * srconv.c: Replace calls to abort with calls to fatal with an | |
209 | error message. | |
210 | ||
85880250 NC |
211 | 2015-01-06 Nick Clifton <nickc@redhat.com> |
212 | ||
213 | PR binutils/17512 | |
214 | * coffdump.c (dump_coff_section): Check for a symbol being | |
215 | available before printing its name. | |
216 | (main): Check the return value from coff_grok. | |
217 | * coffgrok.c: Reformat and tidy. | |
218 | Add range checks to most functions. | |
219 | (coff_grok): Return NULL if the input bfd is not in a COFF | |
220 | format. | |
221 | * coffgrok.h: Reformat and tidy. | |
222 | (struct coff_section): Change the nrelocs field to unsigned. | |
223 | * srconv.c (main): Check the return value from coff_grok. | |
224 | ||
896ca098 NC |
225 | 2015-01-05 Nick Clifton <nickc@redhat.com> |
226 | ||
227 | PR binutils/17512 | |
228 | * nm.c (print_symbol): Add 'is_synthetic' parameter. Use it to | |
229 | help initialize the info.elfinfo field. | |
230 | (print_size_symbols): Add 'synth_count' parameter. Use it to set | |
231 | the is_synthetic parameter when calling print_symbol. | |
232 | (print_symbols): Likewise. | |
233 | (display_rel_file): Pass synth_count to printing function. | |
234 | (display_archive): Break loop if the last archive displayed | |
235 | matches the current archive. | |
236 | * size.c (display_archive): Likewise. | |
237 | ||
82b1b41b NC |
238 | 2015-01-05 Nick Clifton <nickc@redhat.com> |
239 | ||
240 | PR binutils/17531 | |
241 | * dwarf.c (alloc_num_debug_info_entries): New variable. | |
242 | (process_debug_info): Set it. Use it to avoid displaying | |
243 | attributes for which there is no info. | |
244 | (display_debug_abbrev): Check that the debug_info_entry index is | |
245 | valid before using it. | |
246 | (display_loc_list_dwo): Likewise. | |
247 | (process_cu_tu_index): Add range check for an overlarge dw_sect | |
248 | value. | |
249 | (free_debug_memory): Reset alloc_num_debug_info_entries. | |
250 | * readelf.c (slurp_ia64_unwind_table): Warn if the reloc could not | |
251 | be indentified. | |
252 | (dynamic_section_mips_val): Warn if the timestamp is invalid. | |
253 | (print_mips_got_entry): Add a data_end parameter. Warn if a read | |
254 | would go beyond the end of the data, and return an error value. | |
255 | (process_mips_specific): Do not read options from beyond the end | |
256 | of the section. | |
257 | Correct code to display optional data at the end of an option. | |
258 | Warn if there are too many GOT symbols. | |
259 | Update calls to print_mips_got_entry, and handle error returns. | |
260 | ||
c1724c7f DK |
261 | 2015-01-05 Daniel Klauer <daniel.c.klauer@web.de> |
262 | ||
263 | PR binutils/17489 | |
264 | * doc/binutils.texi (dlltool): Correct description of --kill-at | |
265 | option. | |
266 | ||
efd321f9 AM |
267 | 2015-01-01 Alan Modra <amodra@gmail.com> |
268 | ||
269 | * version.c (print_version): Just print current year. | |
270 | ||
b90efa5b | 271 | 2015-01-01 Alan Modra <amodra@gmail.com> |
5c294fee | 272 | |
b90efa5b | 273 | Update year range in copyright notice of all files. |
5c294fee | 274 | |
b90efa5b | 275 | For older changes see ChangeLog-2014 |
252b5132 | 276 | \f |
b90efa5b | 277 | Copyright (C) 2015 Free Software Foundation, Inc. |
752937aa NC |
278 | |
279 | Copying and distribution of this file, with or without modification, | |
280 | are permitted in any medium without royalty provided the copyright | |
281 | notice and this notice are preserved. | |
282 | ||
252b5132 RH |
283 | Local Variables: |
284 | mode: change-log | |
285 | left-margin: 8 | |
286 | fill-column: 74 | |
287 | version-control: never | |
288 | End: |