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