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