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