OSDN Git Service

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