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