OSDN Git Service

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