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