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