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