]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - binutils/ChangeLog
* MAINTAINERS: Add myself and Cary as gold maintainers.
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
1 2013-04-26 Ian Lance Taylor <iant@google.com>
2
3 * MAINTAINERS: Add myself and Cary as gold maintainers.
4
5 2013-04-08 Tom Tromey <tromey@redhat.com>
6
7 * dwarf.c (process_debug_info): Check dwarf_cutoff_level.
8
9 2013-04-08 Tom Tromey <tromey@redhat.com>
10
11 * dwarf-mode.el: Bump version number.
12 (dwarf-mode): Remove autoload.
13 (dwarf-die-reference): Relax regexp.
14
15 2013-04-05 Alan Modra <amodra@gmail.com>
16
17 PR binutils/15324
18 * configure.in: Add strnlen to AC_CHECK_DECLS, sort.
19 * dwarf.c (strnlen): Provide fallback decl.
20 * config.in: Regnerate.
21 * configure: Regenerate.
22
23 2013-03-29 H.J. Lu <hongjiu.lu@intel.com>
24
25 * dwarf.c (process_debug_info): Increment hdrptr by 8 after
26 SAFE_BYTE_GET64.
27
28 2013-03-27 Phil Krylov <phil.krylov@gmail.com>
29
30 PR binutils/13409
31 * winduni.c (codepages[]): Use UTF-16LE.
32 (wind_MultiByteToWideChar): Likewise.
33 (wind_WideCharToMultiByte): Likewise.
34
35 2013-03-27 Alan Modra <amodra@gmail.com>
36
37 PR binutils/15206
38 * dwarf.c (read_and_display_attr_value): Cast format '*' arg to int.
39
40 2013-03-26 Nick Clifton <nickc@redhat.com>
41
42 PR binutils/15206
43 * dwarf.c (SAFE_BYTE_GET): New macro - checks remaining buffer
44 space before calling byte_get.
45 (SAFE_BYTE_GET_AND_INC): New macro.
46 (SAFE_SIGNED_BYTE_GET): New macro.
47 (SAFE_SIGNED_BYTE_GET_AND_INC): New macro.
48 (SAFE_BYTE_GET64): New macro.
49 (process_extened_line_op): Use new macros. Use strnlen when
50 appropriate.
51 (fetch_indirect_string): Likewise.
52 (get_FORM_name): Likewise.
53 (decode_location_expression): Likewise.
54 (read_and_display_attr_value): Likewise.
55 (process_debug_info): Likewise.
56 (display_debug_lines_raw): Likewise.
57 (display_debug_lines_decoded): Likewise.
58 (display_debug_pubnames): Likewise.
59 (display_debug_macinfo): Likewise.
60 (get_line_filename_and_dirname): Likewise.
61 (display_debug_macro): Likewise.
62 (display_loc_list): Likewise.
63 (display_loc_list_dwo): Likewise.
64 (display_debug_aranges): Likewise.
65 (display_debug_ranges): Likewise.
66 (frame_display_row): Likewise.
67 (display_debug_frames): Likewise.
68
69 2013-03-25 Nick Clifton <nickc@redhat.com>
70
71 PR binutils/15202
72 * dwarf.c (read_leb128): Add END parameter. Do not read at or
73 beyond end.
74 (read_sleb128): Add END parameter.
75 (read_uleb128): New function.
76 (process_extended_line_op): Pass END to leb128 functions.
77 (process_abbrev_section): Likewise.
78 (decode_location_expression): Likewise.
79 (read_and_display_attr_value): Likewise.
80 (read_and_display_attr): Likewise.
81 (process_debug_info): Likewise.
82 (display_debug_lines_raw): Likewise.
83 (display_debug_lines_decoded): Likewise.
84 (display_debug_macinfo): Likewise.
85 (get_line_filename_and_dirname): Likewise.
86 (display_debug_macro): Likewise.
87 (display_loc_list_dwo): Likewise.
88 (display_debug_ranges): Likewise.
89 * dwarf.h (read_leb128): Update prototype.
90 * readelf.c (read_uleb128): Add END parameter.
91 (decode_arm_unwind_bytecode): Pass END to read_uleb128.
92 (decode_tic6x_unwind_bytecode): Likewise.
93 (display_tag_value): New function.
94 (display_arm_attribute): Add END parameter. Pass END to
95 read_uleb128. Use display_tag_value.
96 (display_gnu_attribute): Likewise.
97 (display_power_gnu_attribute): Likewise.
98 (display_sparc_gnu_attribute): Likewise.
99 (display_mips_gnu_attribute): Likewise.
100 (display_tic6x_attribute): Likewise.
101 (process_attributes): Likewise.
102 (display_raw_attribute): New function.
103
104 2013-03-22 Nick Clifton <nickc@redhat.com>
105
106 PR binutils/15201
107 * dwarf.c (display_debug_ranges): Add checks for reading beyond
108 the end of the section.
109
110 PR binutils/15157
111 * readelf.c (apply_relocations): Catch relocations with negative
112 offsets.
113
114 2013-03-15 Nick Clifton <nickc@redhat.com>
115
116 * addr2line.c (slurp_symtab): If canonicalization reveals that
117 there were no ordinary symbols, try loading the dynamic symbols
118 instead.
119
120 2013-03-14 Markos Chandras <markos.chandras@imgtec.com>
121
122 * MAINTAINERS: Add myself as Meta maintainer.
123
124 2013-03-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
125
126 * readelf.c (get_note_type): Add NT_S390_TDB.
127
128 2013-03-07 Alan Modra <amodra@gmail.com>
129
130 * strings.c (get_char): Dispense with buf[]. Instead shift
131 chars into big-endian value and byte-swap later if
132 little-endian. Don't EOF check value read from object.
133
134 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
135
136 * configure.in: Build DLL tools on x86_64-*-cygwin* as well.
137 * configure: Regenerate.
138
139 2013-03-04 Nick Clifton <nickc@redhat.com>
140
141 * elfcomm.c (error): Flush stdout before emitting the error
142 message.
143 (warn): Likewise.
144
145 2013-03-01 Cary Coutant <ccoutant@google.com>
146
147 * dwarf.c (cu_tu_indexes_read, shndx_pool, shndx_pool_size)
148 (shndx_pool_used): Move to top of file.
149 (struct cu_tu_set): New type.
150 (cu_count, tu_count, cu_sets, tu_sets): New file scope variables.
151 (fetch_indexed_string): Add "this_set" parameter. Update all callers.
152 (find_cu_tu_set_v2): New function.
153 (read_and_display_attr_value): Add "this_set" parameter.
154 (read_and_display_attr): Likewise.
155 (process_debug_info): Track base offsets for DWARF package files.
156 (load_debug_info): Call load_cu_tu_indexes.
157 (get_DW_SECT_short_name): New function.
158 (process_cu_tu_index): Add support for version 2 DWARF package files.
159
160 2013-02-27 Alan Modra <amodra@gmail.com>
161
162 PR binutils/15191
163 * readelf.c (offsetof): Define.
164 (CHECK_ENTSIZE_VALUES): Remove extraneous indefinite article.
165 (process_corefile_note_segment): Allow notes without name or
166 desc. Combine out-of-range checks. Disallow "negative"
167 notesz or descsz.
168
169 2013-02-26 Nick Clifton <nickc@redhat.com>
170
171 PR binutils/15191
172 * readelf.c (process_corefile_note_segment): Prevent attempts to
173 read beyond the end of the note buffer.
174
175 2013-02-15 Kai Tietz <ktietz@redhat.com>
176
177 * objcopy.c (copy_main): Initialize context variable.
178
179 2013-02-15 Nick Clifton <nickc@redhat.com>
180
181 PR binutils/15140
182 * ar.c (open_inarch): Fail on attempts to convert a normal archive
183 to a thin archive or vice versa.
184 * elfcomm.c (make_qualified_name): Handle corrupted thin
185 archives.
186 * readelf.c (process_archive): Likewise.
187 * doc/binutils.texi: Clarify documentation describing thin
188 archives.
189
190 2013-02-15 Nick Clifton <nickc@redhat.com>
191
192 PR binutils/15033
193 * objcopy.c (enum change_action): Delete.
194 (struct section_list): Delete remove, copy, change_vma, change_lma
195 and set_flags fields. Add context field.
196 (find_section_list): Add a context parameter. Add support for
197 wildcard characters in section names.
198 (is_strip_section): Check for sections being both copied and
199 removed.
200 (copy_object): Pass context to find_section_list.
201 (setup_section): Likewise.
202 (copy_section): Likewise.
203 (copy_main): Likewise.
204 * doc/binutils: Document the new behaviour.
205 * NEWS: Mention the new feature
206
207 2013-02-14 Nick Clifton <nickc@redhat.com>
208
209 PR binutils/15125
210 * objcopy.c (copy_object): Provide a helpful warning message when
211 adding a gnu_debuglink section to an object which already contains
212 one.
213
214 2013-02-07 Nick Clifton <nickc@redhat.com>
215
216 * elfcomm.c (get_archive_member_name): Prevent seg-fault if a
217 corrupt archive uses long names but has no long name table.
218
219 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
220 Andrew Jenner <andrew@codesourcery.com>
221
222 Based on patches from Altera Corporation.
223
224 * readelf.c: Include elf/nios2.h.
225 (dump_relocations): Add case for EM_ALTERA_NIOS2.
226 (get_nios2_dynamic_type): New.
227 (get_dynamic_type): Add case for EM_ALTERA_NIOS2.
228 (is_32bit_abs_reloc): Fix EM_ALTERA_NIOS2 case.
229 (is_16bit_abs_reloc): Likewise.
230 (is_none_reloc): Add EM_ALTERA_NIOS2 and EM_NIOS32 cases.
231 * NEWS: Note Altera Nios II support.
232 * MAINTAINERS: Add Nios II maintainers.
233
234 2013-01-29 Xi Wang <xi.wang@gmail.com>
235
236 * readelf.c (process_version_sections): Fix overflow checks to
237 avoid undefined behaviour.
238
239 2013-01-28 Doug Evans <dje@google.com>
240
241 * dwarf.c (display_gdb_index): Handle .gdb_index version 8.
242
243 2013-01-28 Robert Schiele <rschiele@gmail.com>
244
245 * objcopy.c (parse_flags): Add merge and strings section flags.
246
247 2013-01-25 Cary Coutant <ccoutant@google.com>
248
249 * dwarf.c (display_loc_list): Update offset for each line
250 printed.
251 (print_addr_index): New function.
252 (display_loc_list_dwo): Update offset for each line printed.
253 Fix problems displaying loclists in .dwo files. Add support
254 for type 4 entries.
255 (display_debug_loc): Remove custom header for .dwo files.
256 (display_debug_addr): Adjust formatting.
257
258 2013-01-25 Marco Atzeri <marco.atzeri@gmail.com>
259
260 * objcopy.c : Enable long section names for OPTION_ADD_GNU_DEBUGLINK.
261
262 2013-01-24 Doug Evans <dje@google.com>
263
264 * dwarf.c (display_debug_addr): Add missing parentheses to expression.
265
266 2013-01-24 Nick Clifton <nickc@redhat.com>
267
268 * readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH.
269
270 2013-01-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
271
272 * readelf.c: Add strings for NT_S390_LAST_BREAK and
273 NT_S390_SYSTEM_CALL.
274
275 2013-01-18 Nick Clifton <nickc@redhat.com>
276
277 PR binutils/15026
278 * addr2line.c (translate_addresses): When pretty printing, print
279 unknown function names on the same line as unknown symbol names.
280
281 2013-01-17 Nickolai Zeldovich <nickolai@csail.mit.edu>
282
283 * objdump.c (dump_target_specific): Fix NULL pointer test.
284
285 2013-01-16 Alan Modra <amodra@gmail.com>
286
287 PR binutils/15018
288 * stabs.c (parse_stab_members): Always set physname here to avoid
289 gcc warning..
290 (parse_stab_argtypes): ..and don't duplicate the init here.
291
292 2013-01-10 Will Newton <will.newton@imgtec.com>
293
294 * binutils/readelf.c: (guess_is_rela): Add EM_METAG.
295 (dump_relocations): Add EM_METAG.
296 (get_machine_name): Correct case for Meta.
297 (is_32bit_abs_reloc): Add support for Meta ADDR32 reloc.
298 (is_none_reloc): Add support for Meta NONE reloc.
299
300 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
301
302 * readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK
303 and NT_ARM_HW_WATCH.
304
305 2013-01-07 Roland McGrath <mcgrathr@google.com>
306
307 * objcopy.c (deterministic): Make int rather than bfd_boolean,
308 initialize to -1.
309 (strip_options, copy_options): Add -U/--disable-deterministic-archives.
310 (default_deterministic): New function.
311 (strip_main, copy_main): Handle -U. Call default_deterministic.
312 (copy_usage, strip_usage): Describe -U. Cite whether -D or -U is
313 the default based on DEFAULT_AR_DETERMINISTIC.
314 * doc/binutils.texi (objcopy, strip): Describe -U and effect of
315 configure options on -D.
316
317 * ar.c (default_deterministic): Comment fix.
318
319 2013-01-07 Patrice Dumas <pertusus@free.fr>
320
321 * doc/binutils.texi: Fix ordering of top level nodes.
322 Replace erroneous uses of @itemx with @item.
323
324 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
325
326 * doc/binutils.texi (elfedit): Fix use of @itemx in @table.
327
328 2013-01-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
329
330 * MAINTAINERS: Add myself as AArch64 co-maintainer.
331
332 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
333
334 * version.c (print_version): Update copyright year to 2013.
335
336 For older changes see ChangeLog-2012
337 \f
338 Copyright (C) 2013 Free Software Foundation, Inc.
339
340 Copying and distribution of this file, with or without modification,
341 are permitted in any medium without royalty provided the copyright
342 notice and this notice are preserved.
343
344 Local Variables:
345 mode: change-log
346 left-margin: 8
347 fill-column: 74
348 version-control: never
349 End: