OSDN Git Service

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