* dwarf.c (decode_location_expression): Use dwarf_vmatoa
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
2
3 * dwarf.c (process_debug_info): Use offset_size to determine
4 the bit-size of the computation unit's offset.
5 (decode_location_expression): Use dwarf_vmatoa function to display
6 DW_OP_addr OP.
7 (process_debug_info): Use dwarf_vma type for local variables
8 length and type_offset.
9
10 2011-03-25 Michael Snyder <msnyder@vmware.com>
11
12 * strings.c (print_strings): Plug memory leak.
13 * ar.c (move_members): Plug memory leak.
14 (delete_members): Plug memory leak.
15 (write_archive): Plug memory leak.
16 * ieee.c (ieee_add_bb11): Plug memory leak.
17 (ieee_function_type): Likewise.
18 (ieee_class_baseclass): Likewise.
19 * prdbg.c (pr_function_type): Close memory leaks.
20 (pr_method_type): Likewise.
21 (tg_class_static_member): Likewise.
22 (tg_class_method_variant): Likewise.
23 (tg_class_static_method_variant): Likewise.
24 * stabs.c (parse_stab_enum_type): Fix memory leaks.
25 (parse_stab_struct_type): Likewise.
26 (parse_stab_struct_fields): Likewise.
27 (parse_stab_one_struct_field): Likewise.
28 (parse_stab_members): Likewise.
29 (stab_demangle_qualified): Likewise.
30 * objdump.c (dump_reloc_set): Free malloced memory.
31 * bucomm.c (make_tempname): Stop memory leak.
32
33 2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
34
35 Replace bfd_vma type and analog types by dwarf_vma and analogs.
36 Use dwarf specific print functions to display these type values.
37 * dwarf.h (dwarf_signed_vma): New type;
38 (DWARF2_External_LineInfo): Replace bfd_vma by dwarf_vma.
39 (DWARF2_External_PubNames): Likewise.
40 (DWARF2_External_CompUnit): Likewise.
41 (DWARF2_External_ARange): Likewise.
42 (read_leb128): Change return type to dwarf_vma.
43 * dwarf.c (print_dwarf_vma): Use __MINGW32__ conditional and
44 check byte_size values.
45 (dwarf_vmatoa): Change parameter type to dwarf_vma.
46 (dwarf_svmatoa): New static function.
47 (read_leb128): Change return type to dwarf_vma.
48 (read_sleb128): New static function.
49 (struct State_Machine_Registers): Change address field type to
50 dwarf_vma.
51 (process_extended_line_op): Adapt to type changes.
52 (fetch_indirect_string): Likewise.
53 (idisplay_block): Likewise.
54 (decode_location_expression): Likewise.
55 (read_and_display_attr_value): Likewise.
56 (process_debug_info): Likewise.
57 (display_debug_lines_raw): Likewise.
58 (display_debug_lines_decoded): Likewise.
59 (SLEB macro): Use new read_sleb128 function.
60
61 2011-03-17 Alan Modra <amodra@gmail.com>
62
63 PR 12590
64 * ar.c (ranlib_main): Init arg_index properly.
65 (usage): Describe --target.
66
67 2011-03-16 Jakub Jelinek <jakub@redhat.com>
68
69 * dwarf.c (dw_TAG_name): Handle DW_TAG_GNU_call_site_parameter.
70 (read_and_display_attr_value): Handle DW_AT_GNU_call_site_data_value,
71 DW_AT_GNU_call_site_target and DW_AT_GNU_call_site_target_clobbered.
72 (get_AT_name): Handle DW_AT_GNU_call_site_value,
73 DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target,
74 DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call,
75 DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites and
76 DW_AT_GNU_all_source_call_sites.
77 (decode_location_expression) <case DW_OP_GNU_entry_value>: Adjust
78 handling.
79
80 2011-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
81
82 * dwarf.c (get_TAG_name): Handle DW_TAG_GNU_call_site.
83 (decode_location_expression): Handle DW_OP_GNU_entry_value.
84 (read_and_display_attr_value): Handle DW_AT_GNU_call_site_value.
85 (get_AT_name): Likewise.
86
87 2011-03-14 Michael Snyder <msnyder@vmware.com>
88
89 * objcopy.c (set_pe_subsystem): Free subsystem.
90
91 * wrstabs.c (stab_start_struct_type): Close memory leak.
92
93 * readelf.c (process_version_sections): Free symbols.
94
95 * nm.c (display_rel_file): Free symsizes.
96
97 2011-03-10 Nick Clifton <nickc@redhat.com>
98
99 * readelf.c (get_machine_name): Update EM_V850 entry.
100
101 2011-03-03 Mike Frysinger <vapier@gentoo.org>
102
103 * objdump.c (usage): Fix single typo.
104 * po/bg.po, po/binutils.pot, po/da.po, po/es.po, po/fi.po,
105 po/fr.po, po/id.po, po/ja.po, po/ru.po, po/vi.po: Likewise.
106
107 2011-03-01 Akos Pasztory <akos.pasztory@gmail.com>
108
109 PR binutils/12523
110 * readelf.c (process_object): Clear dynamic_info_DT_GNU_HASH.
111
112 2011-02-28 Kai Tietz <kai.tietz@onevision.com>
113
114 * debug.c (debug_start_source): Use filename_(n)cmp.
115 * ieee.c (ieee_finish_compilation_unit): Likewise.
116 (ieee_lineno): Likewise.
117 * nlmconv.c (main): Likewise.
118 * objcopy.c (strip_main): Likewise.
119 (copy_main): Likewise.
120 * objdump.c (show_line): Likewise.
121 (dump_reloc_set): Likewise.
122 * srconv.c (main): Likewise.
123 * wrstabs.c (stab_lineno): Likewise.
124
125 2011-02-24 Zachary T Welch <zwelch@codesourcery.com>
126
127 * readelf.c (decode_arm_unwind): Implement decoding of remaining
128 ARM unwind instructions (i.e. VFP/NEON and Intel Wireless MMX).
129
130 2011-02-23 Kai Tietz <kai.tietz@onevision.com>
131
132 * dwarf.c (read_leb128): Use bfd_vma instead of
133 long type.
134 (dwarf_vmatoa): New helper routine.
135 (process_extended_line_op): Use for adr bfd_vma
136 type and print those typed values via BFD_VMA_FMT
137 or via dwarf_vmatoa for localized prints.
138 (fetch_indirect_string): Adjust offset's type.
139 (decode_location_expression): Adjust argument types
140 and uvalue type.
141 (read_and_display_attr_value): Likewise.
142 (read_and_display_attr): Likewise.
143 (decode_location_expression): Adjust printf format.
144 (process_debug_info): Likewise.
145 (display_debug_lines_raw): Likewise.
146 (display_debug_lines_decoded): Likewise.
147 (display_debug_pubnames): Likewise.
148 (display_debug_loc): Likewise.
149 (display_debug_aranges): Likewise.
150 * dwarf.h (DWARF2_External_LineInfo,
151 DWARF2_Internal_LineInfo, DWARF2_External_PubNames,
152 DWARF2_Internal_PubNames, DWARF2_External_CompUnit,
153 DWARF2_Internal_CompUnit, DWARF2_External_ARange,
154 DWARF2_Internal_ARange): Added..
155 (read_leb128): Adjust return type.
156
157 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
158
159 * configure: Regenerate.
160
161 2011-02-08 Nick Clifton <nickc@redhat.com>
162
163 PR binutils/12467
164 * readelf.c (process_program_headers): Issue a warning if there
165 are no program headers but the file header has a non-zero program
166 header offset.
167 (process_section_headers): Issue a warning if there are no section
168 headers but the file header has a non-zero section header offset.
169 (process_section_groups): Reword the no section message so that it
170 can be distinguished from the one issued by process_section_headers.
171
172 2011-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
173 Doug Evans <dje@google.com>
174
175 * dwarf.c (display_gdb_index): Support version 4, warn on version 3.
176
177 2011-01-19 Maciej W. Rozycki <macro@codesourcery.com>
178
179 * readelf.c (process_object): Free dynamic_section after use.
180
181 2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
182
183 PR binutils/12408
184 * readelf.c (process_archive): Free and reset dump_sects
185 after processing each archive member.
186
187 2011-01-11 Andreas Schwab <schwab@redhat.com>
188
189 * readelf.c (print_symbol): Handle symbol characters as unsigned.
190 Whitespace fixes.
191
192 2011-01-10 Nick Clifton <nickc@redhat.com>
193
194 * po/da.po: Updated Danish translation.
195
196 2011-01-06 Vladimir Siminov <sv@sw.ru>
197
198 * bucomm.c (get_file_size): Check for negative sizes and issue a
199 warning message if encountered.
200
201 2011-01-01 H.J. Lu <hongjiu.lu@intel.com>
202
203 * version.c (print_version): Update copyright to 2011.
204
205 For older changes see ChangeLog-2010
206 \f
207 Local Variables:
208 mode: change-log
209 left-margin: 8
210 fill-column: 74
211 version-control: never
212 End:
This page took 0.056548 seconds and 4 git commands to generate.