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