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