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