da764cbaafd277c57b4194843a34aeeb51ff8af4
[external/binutils.git] / binutils / ChangeLog
1 2011-04-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
2
3         * dwarf.c (display_gdb_index): Support version 5, warn on version 4.
4
5 2011-04-27  Tristan Gingold  <gingold@adacore.com>
6
7         * dwarf.c (process_extended_line_op): Handle
8         DW_LNE_HP_source_file_correlation.
9
10 2011-04-27  Nick Clifton  <nickc@redhat.com>
11
12         * po/da.po: Updated Danish translation.
13
14 2011-04-21  Tom Tromey  <tromey@redhat.com>
15
16         * readelf.c (print_stapsdt_note): New function.
17         (process_note): Use it.
18
19 2011-04-21  Tom Tromey  <tromey@redhat.com>
20
21         * readelf.c (get_stapsdt_note_type): New function.
22         (process_note): Recognize "stapsdt" notes.
23
24 2011-04-21  Tom Tromey  <tromey@redhat.com>
25
26         * readelf.c (process_corefile_note_segment): Change header field
27         widths.
28         (process_note): Change field widths.
29
30 2011-04-21  Tom Tromey  <tromey@redhat.com>
31
32         * readelf.c (print_gnu_note): New function.
33         (process_note): Use it.
34
35 2011-04-21  Jie Zhang  <jzhang918@gmail.com>
36
37         * MAINTAINERS: Update my email address.
38
39 2011-04-11  Kai Tietz  <ktietz@redhat.com>
40
41         * windres.c (usage): Add new --preprocessor-arg option.
42         (option_values): Add new OPTION_PREPROCESSOR_ARG enumerator.
43         (option long_options): Add preprocessor-arg option.
44         (main): Handle it.
45         * doc/binutils.texi: Add documentation for --preprocessor-arg
46         option.
47         * NEWS: Add line about new --preprocessor-arg option for windres.
48
49 2011-04-08  John Marino  <binutils@marino.st>
50
51         * arlex.l: Prevent redefinition of YY_NO_UNPUT.
52         * syslex.l: Likewise.
53
54 2011-04-07  Paul Brook  <paul@codesourcery.com>
55
56         * readelf.c (arm_section_get_word): Handle C6000 relocations.
57         (decode_tic6x_unwind_regmask, decode_arm_unwind_bytecode,
58         decode_tic6x_unwind_bytecode, expand_prel31): New functions.
59         (decode_arm_unwind): Split out common code from ARM specific bits.
60         (dump_arm_unwind): Use expand_prel31.
61         (arm_process_unwind): Handle SHT_C6000_UNWIND sections.
62         (process_unwind): Add SHT_C6000_UNWIND.
63
64 2011-04-06  Joseph Myers  <joseph@codesourcery.com>
65
66         * configure.in (thumb-*-pe*): Remove.
67         * configure: Regenerate.
68
69 2011-04-05  Sterling Augustine  <augustine.sterling@gmail.com>
70
71         * MAINTAINERS: Update my email address.
72
73 2011-04-03  H.J. Lu  <hongjiu.lu@intel.com>
74
75         PR binutils/12632
76         * objcopy.c (copy_unknown_object): Make the archive element
77         readable.
78
79 2011-04-03  David S. Miller  <davem@davemloft.net>
80
81         * objdump.c (dump_reloc_set): Output R_SPARC_OLO10 relocations
82         accurately, rather than how they are represented internally.
83
84 2011-03-31  Tristan Gingold  <gingold@adacore.com>
85
86         * makefile.vms (readelf.exe): New target.
87
88 2011-03-31  Tristan Gingold  <gingold@adacore.com>
89
90         * makefile.vms (DEBUG_OBJS): Add elfcomm.obj.
91
92 2011-03-31  Bernd Schmidt  <bernds@codesourcery.com>
93
94         * readelf.c (get_symbol_index_type): Handle SCOM for TIC6X.
95         (dump_relocations): Likewise.
96
97 2011-03-31  Tristan Gingold  <gingold@adacore.com>
98
99         * readelf.c (get_ia64_vms_note_type): New function.
100         (print_ia64_vms_note): Ditto.
101         (process_note): Recognize VMS/ia64 specific notes.
102         Display them.
103         (process_corefile_note_segment): Decode VMS notes.
104
105 2011-03-30  Catherine Moore  <clm@codesourcery.com>
106
107         * addr2line.c (translate_addresses): Sign extend the pc
108         if sign_extend_vma is enabled.
109
110 2011-03-30  Michael Snyder  <msnyder@msnyder-server.eng.vmware.com>
111
112         * readelf.c (process_gnu_liblist): Stop memory leak.
113
114 2011-03-29  Alan Modra  <amodra@gmail.com>
115
116         * coffdump.c: Include bfd_stdint.h
117
118 2011-03-28  Pierre Muller  <muller@ics.u-strasbg.fr>
119
120         * coffdump.c (coff_dump): Correct spelling error.
121         (show_usage): Replace SYSROFF by COFF.
122
123 2011-03-25  Pierre Muller  <muller@ics.u-strasbg.fr>
124
125         * coffdump.c (dump_coff_scope): Use double typecast for pointer P
126         to allow compilation for all targets.
127
128 2011-03-25  Pierre Muller  <muller@ics.u-strasbg.fr>
129
130         * dwarf.c (process_debug_info): Use offset_size to determine
131         the bit-size of the computation unit's offset.
132         (decode_location_expression): Use dwarf_vmatoa function to display
133         DW_OP_addr OP.
134         (process_debug_info): Use dwarf_vma type for local variables
135         length and type_offset.
136
137 2011-03-25  Michael Snyder  <msnyder@vmware.com>
138
139         * strings.c (print_strings): Plug memory leak.
140         * ar.c (move_members): Plug memory leak.
141         (delete_members): Plug memory leak.
142         (write_archive): Plug memory leak.
143         * ieee.c (ieee_add_bb11): Plug memory leak.
144         (ieee_function_type): Likewise.
145         (ieee_class_baseclass): Likewise.
146         * prdbg.c (pr_function_type): Close memory leaks.
147         (pr_method_type): Likewise.
148         (tg_class_static_member): Likewise.
149         (tg_class_method_variant): Likewise.
150         (tg_class_static_method_variant): Likewise.
151         * stabs.c (parse_stab_enum_type): Fix memory leaks.
152         (parse_stab_struct_type): Likewise.
153         (parse_stab_struct_fields): Likewise.
154         (parse_stab_one_struct_field): Likewise.
155         (parse_stab_members): Likewise.
156         (stab_demangle_qualified): Likewise.
157         * objdump.c (dump_reloc_set): Free malloced memory.
158         * bucomm.c (make_tempname): Stop memory leak.
159
160 2011-03-25  Pierre Muller  <muller@ics.u-strasbg.fr>
161
162         Replace bfd_vma type and analog types by dwarf_vma and analogs.
163         Use dwarf specific print functions to display these type values.
164         * dwarf.h (dwarf_signed_vma): New type;
165         (DWARF2_External_LineInfo): Replace bfd_vma by dwarf_vma.
166         (DWARF2_External_PubNames): Likewise.
167         (DWARF2_External_CompUnit): Likewise.
168         (DWARF2_External_ARange): Likewise.
169         (read_leb128): Change return type to dwarf_vma.
170         * dwarf.c (print_dwarf_vma): Use __MINGW32__ conditional and
171         check byte_size values.
172         (dwarf_vmatoa): Change parameter type to dwarf_vma.
173         (dwarf_svmatoa): New static function.
174         (read_leb128): Change return type to dwarf_vma.
175         (read_sleb128): New static function.
176         (struct State_Machine_Registers): Change address field type to
177         dwarf_vma.
178         (process_extended_line_op): Adapt to type changes.
179         (fetch_indirect_string): Likewise.
180         (idisplay_block): Likewise.
181         (decode_location_expression): Likewise.
182         (read_and_display_attr_value): Likewise.
183         (process_debug_info): Likewise.
184         (display_debug_lines_raw): Likewise.
185         (display_debug_lines_decoded): Likewise.
186         (SLEB macro): Use new read_sleb128 function.
187
188 2011-03-17  Alan Modra  <amodra@gmail.com>
189
190         PR 12590
191         * ar.c (ranlib_main): Init arg_index properly.
192         (usage): Describe --target.
193
194 2011-03-16  Jakub Jelinek  <jakub@redhat.com>
195
196         * dwarf.c (dw_TAG_name): Handle DW_TAG_GNU_call_site_parameter.
197         (read_and_display_attr_value): Handle DW_AT_GNU_call_site_data_value,
198         DW_AT_GNU_call_site_target and DW_AT_GNU_call_site_target_clobbered.
199         (get_AT_name): Handle DW_AT_GNU_call_site_value,
200         DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target,
201         DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call,
202         DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites and
203         DW_AT_GNU_all_source_call_sites.
204         (decode_location_expression) <case DW_OP_GNU_entry_value>: Adjust
205         handling.
206
207 2011-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
208
209         * dwarf.c (get_TAG_name): Handle DW_TAG_GNU_call_site.
210         (decode_location_expression): Handle DW_OP_GNU_entry_value.
211         (read_and_display_attr_value): Handle DW_AT_GNU_call_site_value.
212         (get_AT_name): Likewise.
213
214 2011-03-14  Michael Snyder  <msnyder@vmware.com>
215
216         * objcopy.c (set_pe_subsystem): Free subsystem.
217
218         * wrstabs.c (stab_start_struct_type): Close memory leak.
219
220         * readelf.c (process_version_sections): Free symbols.
221
222         * nm.c (display_rel_file): Free symsizes.
223
224 2011-03-10  Nick Clifton  <nickc@redhat.com>
225
226         * readelf.c (get_machine_name): Update EM_V850 entry.
227
228 2011-03-03  Mike Frysinger  <vapier@gentoo.org>
229
230         * objdump.c (usage): Fix single typo.
231         * po/bg.po, po/binutils.pot, po/da.po, po/es.po, po/fi.po,
232         po/fr.po, po/id.po, po/ja.po, po/ru.po, po/vi.po: Likewise.
233
234 2011-03-01  Akos Pasztory  <akos.pasztory@gmail.com>
235
236         PR binutils/12523
237         * readelf.c (process_object): Clear dynamic_info_DT_GNU_HASH.
238
239 2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
240
241         * debug.c (debug_start_source): Use filename_(n)cmp.
242         * ieee.c (ieee_finish_compilation_unit): Likewise.
243         (ieee_lineno): Likewise.
244         * nlmconv.c (main): Likewise.
245         * objcopy.c (strip_main): Likewise.
246         (copy_main): Likewise.
247         * objdump.c (show_line): Likewise.
248         (dump_reloc_set): Likewise.
249         * srconv.c (main): Likewise.
250         * wrstabs.c (stab_lineno): Likewise.
251
252 2011-02-24  Zachary T Welch  <zwelch@codesourcery.com>
253
254         * readelf.c (decode_arm_unwind): Implement decoding of remaining
255         ARM unwind instructions (i.e. VFP/NEON and Intel Wireless MMX).
256
257 2011-02-23  Kai Tietz  <kai.tietz@onevision.com>
258
259         * dwarf.c (read_leb128): Use bfd_vma instead of
260         long type.
261         (dwarf_vmatoa): New helper routine.
262         (process_extended_line_op): Use for adr bfd_vma
263         type and print those typed values via BFD_VMA_FMT
264         or via dwarf_vmatoa for localized prints.
265         (fetch_indirect_string): Adjust offset's type.
266         (decode_location_expression): Adjust argument types
267         and uvalue type.
268         (read_and_display_attr_value): Likewise.
269         (read_and_display_attr): Likewise.
270         (decode_location_expression): Adjust printf format.
271         (process_debug_info): Likewise.
272         (display_debug_lines_raw): Likewise.
273         (display_debug_lines_decoded): Likewise.
274         (display_debug_pubnames): Likewise.
275         (display_debug_loc): Likewise.
276         (display_debug_aranges): Likewise.
277         * dwarf.h (DWARF2_External_LineInfo,
278         DWARF2_Internal_LineInfo, DWARF2_External_PubNames,
279         DWARF2_Internal_PubNames, DWARF2_External_CompUnit,
280         DWARF2_Internal_CompUnit, DWARF2_External_ARange,
281         DWARF2_Internal_ARange): Added..
282         (read_leb128): Adjust return type.
283
284 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
285
286         * configure: Regenerate.
287
288 2011-02-08  Nick Clifton  <nickc@redhat.com>
289
290         PR binutils/12467
291         * readelf.c (process_program_headers): Issue a warning if there
292         are no program headers but the file header has a non-zero program
293         header offset.
294         (process_section_headers): Issue a warning if there are no section
295         headers but the file header has a non-zero section header offset.
296         (process_section_groups): Reword the no section message so that it
297         can be distinguished from the one issued by process_section_headers.
298
299 2011-01-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
300             Doug Evans  <dje@google.com>
301
302         * dwarf.c (display_gdb_index): Support version 4, warn on version 3.
303
304 2011-01-19  Maciej W. Rozycki  <macro@codesourcery.com>
305
306         * readelf.c (process_object): Free dynamic_section after use.
307
308 2011-01-18  H.J. Lu  <hongjiu.lu@intel.com>
309
310         PR binutils/12408
311         * readelf.c (process_archive): Free and reset dump_sects
312         after processing each archive member.
313
314 2011-01-11  Andreas Schwab  <schwab@redhat.com>
315
316         * readelf.c (print_symbol): Handle symbol characters as unsigned.
317         Whitespace fixes.
318
319 2011-01-10  Nick Clifton  <nickc@redhat.com>
320
321         * po/da.po: Updated Danish translation.
322
323 2011-01-06  Vladimir Siminov  <sv@sw.ru>
324
325         * bucomm.c (get_file_size): Check for negative sizes and issue a
326         warning message if encountered.
327
328 2011-01-01  H.J. Lu  <hongjiu.lu@intel.com>
329
330         * version.c (print_version): Update copyright to 2011.
331
332 For older changes see ChangeLog-2010
333 \f
334 Local Variables:
335 mode: change-log
336 left-margin: 8
337 fill-column: 74
338 version-control: never
339 End: