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