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