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