PR binutils/13421
[binutils.git] / binutils / ChangeLog
blobf17c2f1c949c4c1d1e25439d516ffc1ad55658ea
1 2011-11-28  Nick Clifton  <nickc@redhat.com>
3         PR binutils/13421
4         * readelf.c (arm_section_get_word): Add descriptive comments.
5         Initliase the rel_type field of the arm_sec structure.
6         (expand_prel31): Rename to arm_expand_prel31.
7         (dump_arm_unwind): Use new name.
8         Print the function name based on the function address entry.
10 2011-11-11  Andreas Schwab  <schwab@linux-m68k.org>
12         * readelf.c (process_program_headers): Fix typo printing p_memsz
13         field.
15 2011-11-01  DJ Delorie  <dj@redhat.com>
17         * readelf.c: Include elf/rl78.h
18         (guess_is_rela): Handle EM_RL78.
19         (dump_relocations): Likewise.
20         (get_machine_name): Likewise.
21         (is_32bit_abs_reloc): Likewise.
22         * NEWS: Mention addition of RL78 support.
23         * MAINTAINERS: Add myself as RL78 port maintainer.
25 2011-10-28  Ian Lance Taylor  <iant@google.com>
27         * dwarf.c (display_debug_frames): If do_debug_frames_interp,
28         DW_CFA_restore goes to DW_CFA_undefined, not DW_CFA_unreferenced.
30 2011-10-28  Walter Lee  <walt@tilera.com>
32         * NEWS: Mention addition of TILEPro and TILE-Gx support.
33         * MAINTAINERS: Add myself as TILEPro and TILE-Gx port maintainer.
35 2011-10-27  Joern Rennecke  <joern.rennecke@embecosm.com>
37         * MAINTAINERS: Add myself as EPIPHANY port maintainer.
39 2011-10-25  Mike Frysinger  <vapier@gentoo.org>
41         * Makefile.am (syslex.@OBJEXT@): Add -I$(srcdir).
42         * Makefile.in: Regen.
44 2011-10-25  Joern Rennecke  <joern.rennecke@embecosm.com>
46         * readelf.c: Include "elf/epiphany.h".
47         (guess_is_rela, dump_relocation): Handle EM_ADAPTEVA_EPIPHANY.
48         (get_machine_name, is_32bit_abs_reloc, is_32bit_pcrel_reloc): Likewise.
49         (is_16bit_abs_reloc, is_none_reloc): Likewise.
50         * po/binutils.pot: Regenerate.
52 2011-10-25  Kai Tietz  <ktietz@redhat.com>
54         * winduni.h (unicode_from_ascii_len): New prototype.
55         * winduni.c (unicode_from_ascii_len): New function.
56         * windres.h (define_stringtable): Add additional length argument.
57         * windres.c (define_stringtable): Add length argument for string.
58         * rcparse.y (res_unicode_sizedstring): New rule.
59         (res_unicode_sizedstring_concat): Likewise.
60         (string_data): Adjust rule.
62 2011-10-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
64         * dwarf.c (read_and_display_attr_value) <DW_AT_import>: Add CU_OFFSET
65         also for DW_FORM_ref_udata.
67 2011-10-24  Nick Clifton  <nickc@redhat.com>
69         * po/ja.po: Updated Japanese translation.
71 2011-10-16  H.J. Lu  <hongjiu.lu@intel.com>
73         PR binutils/13278
74         * ar.c (open_inarch): Set the target from the the first object
75         on the list only if it isn't set.
77 2011-10-13  Nick Clifton  <nickc@redhat.com>
79         Fixes to aid translation:
80         * addr2line.c (translate_address): Add comments describing context
81         of a couple of printf statements.
82         * ar.c (write_archive): Allow translation of error message.
83         * bucomm.c (endian_string): Allow translation of strings.
84         (display_target_list): Allow translation.
85         * coffdump.c (dump_coff_type): Allow translation of output.
86         (dump_coff_where): Likewise.
87         (dump_coff_symbol): Likewise.
88         (dump_coff_scope): Likewise.
89         (dump_coff_sfile): Likewise.
90         (dump_coff_section): Likewise.
91         (coff_dump): Likewise.
92         * dlltool (def_version): Allow translation of output.
93         (run): Likewise.
94         * dllwrap.c (run): Allow translation of output.
95         * dwarf.c (print_dwarf_vma): Allow translation of output.
96         (process_extended_line_op): Remove spurious translation.
97         Add translation for strings that can be translated.
98         (decode_location_exression): Allow translation of output.
99         (read_and_display_attr_value): Allow translation of output.
100         * readelf.c (slurp_rela_relocs): Add translation for error
101         messages when failing to get data.
102         (slurp_rel_relocs): Likewise.
103         (get_32bit_elf_symbols): Likewise.
104         (get_64bit_elf_symbols): Likewise.
105         (dump_ia64_vms_dynamic_relocs): Replace abbreviation with full
106         word.
107         (process_relocs): Remove spurious translation.
108         (decode_tic6x_unwind_bytecode): Likewise.
109         (process_version_section): Improve error messages.
110         (process_mips_specific): Likewise.
111         (print_gnu_note): Remove spurious translation.
112         (print_stapsdt_note): Likewise.
113         (get_ia64_vms_note_type): Likewise.
114         * sysdump.c (getCHARS): Allow translation.
115         (fillup): Allow translation of output.
116         (getone): Likewise.
117         (must): Likewise.
118         (derived_type): Likewise.
119         * doc/binutils.doc (addr2line): Extend description of command line
120         options.
121         * po/binutils.pot: Regenerate.
123 2011-10-13  Nick Clifton  <nickc@redhat.com>
125         PR binutils/13219
126         * readelf.c (GET_ELF_SYMBOLS): Add sym_count parameter.
127         (get_32bit_elf_symbols): Add num_syms_return argument.
128         Return the number of symbols loaded into the symbol table.
129         (get_64bit_elf_symbols): Likewise.
130         (process_section_headers): Use GET_ELF_SYMBOLS to initialise
131         symbol count.
132         (proces_relocs): Likewise.
133         (ia64_process_unwind): Likewise.
134         (hppa_process_unwind): Likewise.
135         (arm_process_unwind): Likewise.
136         (process_dynamic_section): Likewise.
137         (process_version_sections): Likewise.
138         (process_symbol_table): Likewise.
139         (process_section_groups): Likewise.
140         Add check before indexing into the symbol table.
141         (apply_relocations): Likewise.
143 2011-10-11  Chris  <player1@onet.eu>
145         PR binutils/13051
146         Fix a syntax error bug when compiling rc files with the VERSIONINFO resource
147         containing more than one language block inside a single StringFileInfo block.
149         * windint.h (rc_ver_stringtable): New structure definition.
150         (rc_ver_info): Use it.
151         * rcparse.y (verstringtable): New variable.
152         (verstringtables): New type.
153         (verstringtables:): New rule declaration.
154         (verblocks:): Use it.
155         * resrc.c (append_ver_stringtable): New function.
156         (append_ver_stringfileinfo): Update to use stringtables.
157         * windres.h (append_ver_stringfileinfo): Update declaration.
158         (append_ver_stringtable): New declaration.
159         * resrc.c (write_rc_versioninfo): Update to support multiple blocks.
160         * resbin.c (bin_to_res_version): Likewise.
161         (res_to_bin_versioninfo): Likewise.
163 2011-10-10  Nick Clifton  <nickc@redhat.com>
165         * po/bg.po: Updated Bulgarian translation.
166         * po/es.po: Updated Spansih translation.
167         * po/fi.po: Updated Finnish translation.
168         * po/fr.po: Updated French translation.
170 2011-10-05  DJ Delorie  <dj@redhat.com>
171             Nick Clifton  <nickc@redhat.com>
173         * readelf.c (get_machine_dlags): Add support for RX's PID mode.
175 2011-10-04  Paul Woegerer  <paul_woegerer@mentor.com>
176             Carlos O'Donell  <carlos@codesourcery.com>
178         * dwarf.c (display_debug_lines_decoded): Index directory_table with
179         directory_index from file_table entry.
181 2011-09-30  Cary Coutant  <ccoutant@google.com>
183         * binutils/dwarf.h (dwarf_section_display_enum): Add missing enum
184         constant.
186 2011-09-28  Tristan Gingold  <gingold@adacore.com>
188         * od-xcoff.c (dump_xcoff32_aout_header): Fix typo.
190 2011-09-27  Tristan Gingold  <gingold@adacore.com>
192         * od-xcoff.c (dump_xcoff32_aout_header): Remove some gettext macros.
193         (dump_xcoff32_sections_header): Likewise.
194         (dump_xcoff32_symbols, dump_xcoff32_relocs): Likewise.
195         (dump_xcoff32_lineno, dump_xcoff32_loader): Likewise.
196         (dump_xcoff32_except): Likewise.
197         (dump_xcoff32_typchk, dump_xcoff32_tbtags): Likewise.
199 2011-09-27  Tristan Gingold  <gingold@adacore.com>
201         * readelf.c (print_ia64_vms_note): Fix xgettext warnings.
203 2011-09-22  Tristan Gingold  <gingold@adacore.com>
205         * NEWS: Add marker for 2.22.
207 2011-09-21  David S. Miller  <davem@davemloft.net>
209         * MAINTAINER: Take over from Jakub Jalinek as SPARC maintainer.
211         * readelf.c (display_sparc_hwcaps): New.
212         (display_sparc_gnu_attribute): New.
213         (process_sparc_specific): New.
214         (process_arch_specific): When EM_SPARC, EM_SPARC32PLUS,
215         or EM_SPARCV9 invoke process_sparc_specific.
217 2011-09-18  H.J. Lu  <hongjiu.lu@intel.com>
219         PR binutils/13196
220         * dwarf.c (display_debug_aranges): Check zero address size.
222 2011-09-15  H.J. Lu  <hongjiu.lu@intel.com>
224         PR binutils/13180
225         * objcopy.c (is_strip_section_1): New.
226         (is_strip_section): Use it.  Remove the group section if all
227         members are removed.
229 2011-09-08  Nick Clifton  <nickc@redhat.com>
231         * po/ja.po: Updated Japanese translation.
233 2011-08-26  Nick Clifton  <nickc@redhat.com>
235         * po/es.po: Updated Spanish translation.
237 2011-08-08  Marcus Comstedt  <marcus@mc.pp.se>
239         PR binutils/12964
240         * Makefile.am (embedspu): Use awk rather than sed.
241         * Makefile.in: Regenerate.
243 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
245         * dwarf.c (read_and_display_attr_value): Recognize DW_FORM_data4 and
246         DW_FORM_data8 as location list pointers only for DWARF < 4.
248 2011-07-26  Jakub Jelinek  <jakub@redhat.com>
250         * NEWS: Mention .debug_macro support.
251         * dwarf.c (read_and_display_attr_value): Don't print a tab
252         if attribute is 0.
253         (get_AT_name): Handle DW_AT_GNU_macros.
254         (get_line_filename_and_dirname, display_debug_macro): New
255         functions.
256         (debug_displays): Add an entry for .debug_macro and .zdebug_macro.
257         * readelf.c (process_section_headers): With do_debug_macinfo
258         handle also .debug_macro sections.
259         * dwarf.h (dwarf_section_display_enum): Add macro.
261 2011-07-24  Chao-ying Fu  <fu@mips.com>
262             Maciej W. Rozycki  <macro@codesourcery.com>
264         * readelf.c (get_machine_flags): Handle microMIPS ASE.
265         (get_mips_symbol_other): Likewise.
267 2011-07-22  H.J. Lu  <hongjiu.lu@intel.com>
269         * dwarf.c (init_dwarf_regnames): Handle EM_K1OM.
271         * elfedit.c (elf_machine): Support EM_K1OM.
272         (elf_class): Likewise.
274         * readelf.c (guess_is_rela): Handle EM_K1OM.
275         (dump_relocations): Likewise.
276         (get_machine_name): Likewise.
277         (get_section_type_name): Likewise.
278         (get_elf_section_flags): Likewise.
279         (process_section_headers): Likewise.
280         (get_symbol_index_type): Likewise.
281         (is_32bit_abs_reloc): Likewise.
282         (is_32bit_pcrel_reloc): Likewise.
283         (is_64bit_abs_reloc): Likewise.
284         (is_64bit_pcrel_reloc): Likewise.
285         (is_none_reloc): Likewise.
287         * doc/binutils.texi: Mention K1OM for elfedit.
289 2011-07-11  Cary Coutant  <ccoutant@google.com>
291         PR 12983
292         * binutils/nm.c (display_file): Decompress debug sections when
293         printing line numbers.
295 2011-07-03  Samuel Thibault  <samuel.thibault@gnu.org>
296             Thomas Schwinge  <thomas@schwinge.name>
298         PR binutils/12913
299         * elfedit.c (osabis): Use ELFOSABI_GNU name instead of ELFOSABI_LINUX
300         alias and ELFOSABI_HURD.  Add GNU alias.
301         * readelf.c (get_osabi_name, get_symbol_binding, get_symbol_type):
302         Likewise.
303         * doc/binutils.texi <elfedit>: Update accordingly.
305 2011-07-01  Nick Clifton  <nickc@redhat.com>
307         PR binutils/12325
308         * doc/binutils.texi (ar cmdline): Document --target, --version and
309         --help command line options.
311 2011-06-30  Nick Clifton  <nickc@redhat.com>
313         PR binutils/12558
314         * ar.c (main): When asked to move members in an archive that is
315         being created, ignore the move request.
317 2011-06-29  Nick Clifton  <nickc@redhat.com>
319         * readelf.c (get_section_type_name): When displaying an unknown
320         section type display the hex value first on the assumption that
321         the full message will probably be truncated into a 15 character
322         field.
324 2011-06-22  Jakub Jelinek  <jakub@redhat.com>
326         * dwarf.c (decode_location_expression): For DW_OP_GNU_convert and
327         DW_OP_GNU_reinterpret, if uvalue is 0, don't add cu_offset.
328         Handle DW_OP_GNU_parameter_ref.
330 2011-06-16  Tom Tromey  <tromey@redhat.com>
332         * dwarf-mode.el (dwarf-do-insert-substructure): Call
333         expand-file-name.
334         (dwarf-do-refresh): Likewise.
336 2011-06-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
338         * readelf.c (get_note_type): Handle NT_ARM_VFP.
340 2011-06-13  Walter Lee  <walt@tilera.com>
342         * readelf.c: Include tilepro.h and tilegx.h.
343         (guess_is_rela): Handle EM_TILEGX and EM_TILEPRO.
344         (dump_relocations): Likewise.
345         (get_machine_name): Likewise.
346         (is_32bit_abs_reloc): Likewise.
347         (is_32bit_pcerel_reloc): Likewise.
348         (is_64bit_abs_reloc): Likewise.
349         (is_64bit_pcrel_reloc): Likewise.
351 2011-06-09  Tristan Gingold  <gingold@adacore.com>
353         * od-xcoff.c (xcoff32_read_symbols): Allow missing string table
354         length.
356 2011-06-08  Nick Clifton  <nickc@redhat.com>
358         PR binutils/12855
359         * readelf.c (process_version_sections): Handle binaries containing
360         corrupt version information.
361         (process_symbol_table): Stop processing a symbol's version
362         information if it could not be read in.
364         (get_data): Add comment describing the function.
365         (process_section_headers): Set dynamic_strings_length to 0 if the
366         dynamic strings could not be read in.
367         (process_dynamic_section): Likewise.
368         (process_section_groups): Stop processing the group information if
369         the data could not be read in.
370         (hppa_processs_unwind): Assert that there is only one string table
371         in the file.
372         (arm_process_unwind): Likewise.
373         (ia64_process_unwind): Likewise.
374         Set the size of the unwind auxillary information to 0 if the data
375         could not be read.
376         (load_specific_debug_section): Handle a failure to read in the
377         section.
378         (process_mips_specific): Stop display of the PLT GOT section if it
379         could not be read in.
381 2011-06-08  Tristan Gingold  <gingold@adacore.com>
383         * makefile.vms (DEFS): Define OBJDUMP_PRIVATE_VECTORS.
385 2011-06-07  Cary Coutant  <ccoutant@google.com>
387         * dwarf.c: Fix conversion to TU number.
389 2011-06-02  Nick Clifton  <nickc@redhat.com>
391         * resres.c: Fix spelling typo.
392         * windint.h: Likewise.
393         * windmc.c: Likewise.
394         * windres.c: Likewise.
395         * po/POTFILES.in: Regenerate.
396         * po/binutils.pot: Regenerate.
398 2011-06-01  Daniel Jacobowitz  <drow@false.org>
400         * MAINTAINERS: Update my email address.
402 2011-05-31  Matthias Klose  <doko@ubuntu.com>
404         * configure.in (BUILD_INSTALL_MISC): Only add embedspu once.
405         * configure: Regenerate.
407 2011-05-30  Alan Modra  <amodra@gmail.com>
409         PR binutils/12820
410         * Makefile.am (bin_PROGRAMS): Move BUILD_INSTALL_MISC to..
411         (bin_SCRIPTS): ..here.
412         (EXTRA_SCRIPTS): Define.
413         (EXTRA_DIST): Add embedspu.sh.
414         (DISTCLEANFILES): Add embedspu.
415         (embedspu): Depend on Makefile.  Replace sed "s" command with "c".
416         * Makefile.in: Regenerate.
418 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
420         * dwarf.c (loc_offsets): New variable.
421         (loc_offsets_compar): New routine.
422         (display_debug_loc): Handle loc_offsets not being in ascending order
423         and also a single .debug_loc entry being used multiple times.
425 2011-05-18  Nick Clifton  <nickc@redhat.com>
427         PR binutils/12753
428         * nm.c (filter_symbols): Treat unique symbols as global symbols.
429         * doc/binutils.texi (nm): Mention that some lowercase letters
430         actually indicate global symbols.
432 2011-05-15  Tristan Gingold  <gingold@adacore.com>
434         * od-xcoff.c: New file.
435         * objdump.h: New file.
436         * objdump.c: Include objdump.h
437         (dump_private_options, objdump_private_vectors): New variables.
438         (usage): Mention -P/--private.  Display handled options.
439         (long_options): Add -P/--private.
440         (dump_target_specific): New function.
441         (dump_bfd): Handle dump_private_options.
442         (main): Handle -P.
443         * doc/binutils.texi (objdump): Document -P/--private.
444         * configure.in (OBJDUMP_PRIVATE_VECTORS, OBJDUMP_PRIVATE_OFILES):
445         New variables, compute them.
446         (od_vectors): Add vectors for private dumpers. Make them uniq.
447         (OBJDUMP_DEFS): Add OBJDUMP_PRIVATE_VECTORS.
448         * Makefile.am (HFILES): Add objdump.h
449         (CFILES): Add od-xcoff.c
450         (OBJDUMP_PRIVATE_OFILES): New variable.
451         (objdump_DEPENDENCIES): Append OBJDUMP_PRIVATE_OFILES.
452         (objdump_LDADD): Ditto.
453         (EXTRA_objdump_SOURCES): Define.
454         * Makefile.in: Regenerate.
455         * configure: Regenerate.
457 2011-05-10  Tristan Gingold  <gingold@adacore.com>
459         * dwarf.c (process_extended_line_op): Dump unknown records.
461 2011-05-07  Alan Modra  <amodra@gmail.com>
463         PR binutils/12632
464         * objcopy.c (copy_archive): Check bfd_openw result in unknown object
465         case.  Rewrite without goto.
467 2011-05-03  Jakub Jelinek  <jakub@redhat.com>
469         * dwarf.c (decode_location_expression): Handle DW_OP_GNU_const_type,
470         DW_OP_GNU_regval_type, DW_OP_GNU_deref_type, DW_OP_GNU_convert
471         and DW_OP_GNU_reinterpret.
473         * MAINTAINERS: Add myself as DWARF2 maintainer.
475 2011-05-02  Alan Modra  <amodra@gmail.com>
477         PR binutils/12720
478         Revert the following change
479         Michael Snyder  <msnyder@vmware.com>
480         * ar.c (move_members): Plug memory leak.
481         (delete_members): Plug memory leak.
483 2011-04-28  Tom Tromey  <tromey@redhat.com>
485         * NEWS: Add note about --dwarf-depth, --dwarf-start, and
486         dwarf-mode.el.
487         * objdump.c (suppress_bfd_header): New global.
488         (usage): Update.
489         (OPTION_DWARF_DEPTH, OPTION_DWARF_START): New constants.
490         (options): Add dwarf-depth and dwarf-start entries.
491         (dump_bfd): Use suppress_bfd_header.
492         (main): Handle OPTION_DWARF_START, OPTION_DWARF_DEPTH.
493         * doc/binutils.texi (objcopy): Document --dwarf-depth and
494         --dwarf-start.
495         (readelf): Likewise.
496         * dwarf-mode.el: New file.
497         * dwarf.c (dwarf_cutoff_level, dwarf_start_die): New globals.
498         (read_and_display_attr_value): Also check debug_info_p.
499         (process_debug_info): Handle dwarf_start_die and
500         dwarf_cutoff_level.
501         * dwarf.h (dwarf_cutoff_level, dwarf_start_die): Declare.
502         * readelf.c (usage): Update.
503         (OPTION_DWARF_DEPTH): New macro.
504         (OPTION_DWARF_START): Likewise.
505         (options): Add dwarf-depth and dwarf-start entries.
506         (parse_args): Handle OPTION_DWARF_START and OPTION_DWARF_DEPTH.
508 2011-04-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
510         * dwarf.c (display_gdb_index): Support version 5, warn on version 4.
512 2011-04-27  Tristan Gingold  <gingold@adacore.com>
514         * dwarf.c (process_extended_line_op): Handle
515         DW_LNE_HP_source_file_correlation.
517 2011-04-27  Nick Clifton  <nickc@redhat.com>
519         * po/da.po: Updated Danish translation.
521 2011-04-21  Tom Tromey  <tromey@redhat.com>
523         * readelf.c (print_stapsdt_note): New function.
524         (process_note): Use it.
526 2011-04-21  Tom Tromey  <tromey@redhat.com>
528         * readelf.c (get_stapsdt_note_type): New function.
529         (process_note): Recognize "stapsdt" notes.
531 2011-04-21  Tom Tromey  <tromey@redhat.com>
533         * readelf.c (process_corefile_note_segment): Change header field
534         widths.
535         (process_note): Change field widths.
537 2011-04-21  Tom Tromey  <tromey@redhat.com>
539         * readelf.c (print_gnu_note): New function.
540         (process_note): Use it.
542 2011-04-21  Jie Zhang  <jzhang918@gmail.com>
544         * MAINTAINERS: Update my email address.
546 2011-04-11  Kai Tietz  <ktietz@redhat.com>
548         * windres.c (usage): Add new --preprocessor-arg option.
549         (option_values): Add new OPTION_PREPROCESSOR_ARG enumerator.
550         (option long_options): Add preprocessor-arg option.
551         (main): Handle it.
552         * doc/binutils.texi: Add documentation for --preprocessor-arg
553         option.
554         * NEWS: Add line about new --preprocessor-arg option for windres.
556 2011-04-08  John Marino  <binutils@marino.st>
558         * arlex.l: Prevent redefinition of YY_NO_UNPUT.
559         * syslex.l: Likewise.
561 2011-04-07  Paul Brook  <paul@codesourcery.com>
563         * readelf.c (arm_section_get_word): Handle C6000 relocations.
564         (decode_tic6x_unwind_regmask, decode_arm_unwind_bytecode,
565         decode_tic6x_unwind_bytecode, expand_prel31): New functions.
566         (decode_arm_unwind): Split out common code from ARM specific bits.
567         (dump_arm_unwind): Use expand_prel31.
568         (arm_process_unwind): Handle SHT_C6000_UNWIND sections.
569         (process_unwind): Add SHT_C6000_UNWIND.
571 2011-04-06  Joseph Myers  <joseph@codesourcery.com>
573         * configure.in (thumb-*-pe*): Remove.
574         * configure: Regenerate.
576 2011-04-05  Sterling Augustine  <augustine.sterling@gmail.com>
578         * MAINTAINERS: Update my email address.
580 2011-04-03  H.J. Lu  <hongjiu.lu@intel.com>
582         PR binutils/12632
583         * objcopy.c (copy_unknown_object): Make the archive element
584         readable.
586 2011-04-03  David S. Miller  <davem@davemloft.net>
588         * objdump.c (dump_reloc_set): Output R_SPARC_OLO10 relocations
589         accurately, rather than how they are represented internally.
591 2011-03-31  Tristan Gingold  <gingold@adacore.com>
593         * makefile.vms (readelf.exe): New target.
595 2011-03-31  Tristan Gingold  <gingold@adacore.com>
597         * makefile.vms (DEBUG_OBJS): Add elfcomm.obj.
599 2011-03-31  Bernd Schmidt  <bernds@codesourcery.com>
601         * readelf.c (get_symbol_index_type): Handle SCOM for TIC6X.
602         (dump_relocations): Likewise.
604 2011-03-31  Tristan Gingold  <gingold@adacore.com>
606         * readelf.c (get_ia64_vms_note_type): New function.
607         (print_ia64_vms_note): Ditto.
608         (process_note): Recognize VMS/ia64 specific notes.
609         Display them.
610         (process_corefile_note_segment): Decode VMS notes.
612 2011-03-30  Catherine Moore  <clm@codesourcery.com>
614         * addr2line.c (translate_addresses): Sign extend the pc
615         if sign_extend_vma is enabled.
617 2011-03-30  Michael Snyder  <msnyder@msnyder-server.eng.vmware.com>
619         * readelf.c (process_gnu_liblist): Stop memory leak.
621 2011-03-29  Alan Modra  <amodra@gmail.com>
623         * coffdump.c: Include bfd_stdint.h
625 2011-03-28  Pierre Muller  <muller@ics.u-strasbg.fr>
627         * coffdump.c (coff_dump): Correct spelling error.
628         (show_usage): Replace SYSROFF by COFF.
630 2011-03-25  Pierre Muller  <muller@ics.u-strasbg.fr>
632         * coffdump.c (dump_coff_scope): Use double typecast for pointer P
633         to allow compilation for all targets.
635 2011-03-25  Pierre Muller  <muller@ics.u-strasbg.fr>
637         * dwarf.c (process_debug_info): Use offset_size to determine
638         the bit-size of the computation unit's offset.
639         (decode_location_expression): Use dwarf_vmatoa function to display
640         DW_OP_addr OP.
641         (process_debug_info): Use dwarf_vma type for local variables
642         length and type_offset.
644 2011-03-25  Michael Snyder  <msnyder@vmware.com>
646         * strings.c (print_strings): Plug memory leak.
647         * ar.c (move_members): Plug memory leak.
648         (delete_members): Plug memory leak.
649         (write_archive): Plug memory leak.
650         * ieee.c (ieee_add_bb11): Plug memory leak.
651         (ieee_function_type): Likewise.
652         (ieee_class_baseclass): Likewise.
653         * prdbg.c (pr_function_type): Close memory leaks.
654         (pr_method_type): Likewise.
655         (tg_class_static_member): Likewise.
656         (tg_class_method_variant): Likewise.
657         (tg_class_static_method_variant): Likewise.
658         * stabs.c (parse_stab_enum_type): Fix memory leaks.
659         (parse_stab_struct_type): Likewise.
660         (parse_stab_struct_fields): Likewise.
661         (parse_stab_one_struct_field): Likewise.
662         (parse_stab_members): Likewise.
663         (stab_demangle_qualified): Likewise.
664         * objdump.c (dump_reloc_set): Free malloced memory.
665         * bucomm.c (make_tempname): Stop memory leak.
667 2011-03-25  Pierre Muller  <muller@ics.u-strasbg.fr>
669         Replace bfd_vma type and analog types by dwarf_vma and analogs.
670         Use dwarf specific print functions to display these type values.
671         * dwarf.h (dwarf_signed_vma): New type;
672         (DWARF2_External_LineInfo): Replace bfd_vma by dwarf_vma.
673         (DWARF2_External_PubNames): Likewise.
674         (DWARF2_External_CompUnit): Likewise.
675         (DWARF2_External_ARange): Likewise.
676         (read_leb128): Change return type to dwarf_vma.
677         * dwarf.c (print_dwarf_vma): Use __MINGW32__ conditional and
678         check byte_size values.
679         (dwarf_vmatoa): Change parameter type to dwarf_vma.
680         (dwarf_svmatoa): New static function.
681         (read_leb128): Change return type to dwarf_vma.
682         (read_sleb128): New static function.
683         (struct State_Machine_Registers): Change address field type to
684         dwarf_vma.
685         (process_extended_line_op): Adapt to type changes.
686         (fetch_indirect_string): Likewise.
687         (idisplay_block): Likewise.
688         (decode_location_expression): Likewise.
689         (read_and_display_attr_value): Likewise.
690         (process_debug_info): Likewise.
691         (display_debug_lines_raw): Likewise.
692         (display_debug_lines_decoded): Likewise.
693         (SLEB macro): Use new read_sleb128 function.
695 2011-03-17  Alan Modra  <amodra@gmail.com>
697         PR 12590
698         * ar.c (ranlib_main): Init arg_index properly.
699         (usage): Describe --target.
701 2011-03-16  Jakub Jelinek  <jakub@redhat.com>
703         * dwarf.c (dw_TAG_name): Handle DW_TAG_GNU_call_site_parameter.
704         (read_and_display_attr_value): Handle DW_AT_GNU_call_site_data_value,
705         DW_AT_GNU_call_site_target and DW_AT_GNU_call_site_target_clobbered.
706         (get_AT_name): Handle DW_AT_GNU_call_site_value,
707         DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target,
708         DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call,
709         DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites and
710         DW_AT_GNU_all_source_call_sites.
711         (decode_location_expression) <case DW_OP_GNU_entry_value>: Adjust
712         handling.
714 2011-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
716         * dwarf.c (get_TAG_name): Handle DW_TAG_GNU_call_site.
717         (decode_location_expression): Handle DW_OP_GNU_entry_value.
718         (read_and_display_attr_value): Handle DW_AT_GNU_call_site_value.
719         (get_AT_name): Likewise.
721 2011-03-14  Michael Snyder  <msnyder@vmware.com>
723         * objcopy.c (set_pe_subsystem): Free subsystem.
725         * wrstabs.c (stab_start_struct_type): Close memory leak.
727         * readelf.c (process_version_sections): Free symbols.
729         * nm.c (display_rel_file): Free symsizes.
731 2011-03-10  Nick Clifton  <nickc@redhat.com>
733         * readelf.c (get_machine_name): Update EM_V850 entry.
735 2011-03-03  Mike Frysinger  <vapier@gentoo.org>
737         * objdump.c (usage): Fix single typo.
738         * po/bg.po, po/binutils.pot, po/da.po, po/es.po, po/fi.po,
739         po/fr.po, po/id.po, po/ja.po, po/ru.po, po/vi.po: Likewise.
741 2011-03-01  Akos Pasztory  <akos.pasztory@gmail.com>
743         PR binutils/12523
744         * readelf.c (process_object): Clear dynamic_info_DT_GNU_HASH.
746 2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
748         * debug.c (debug_start_source): Use filename_(n)cmp.
749         * ieee.c (ieee_finish_compilation_unit): Likewise.
750         (ieee_lineno): Likewise.
751         * nlmconv.c (main): Likewise.
752         * objcopy.c (strip_main): Likewise.
753         (copy_main): Likewise.
754         * objdump.c (show_line): Likewise.
755         (dump_reloc_set): Likewise.
756         * srconv.c (main): Likewise.
757         * wrstabs.c (stab_lineno): Likewise.
759 2011-02-24  Zachary T Welch  <zwelch@codesourcery.com>
761         * readelf.c (decode_arm_unwind): Implement decoding of remaining
762         ARM unwind instructions (i.e. VFP/NEON and Intel Wireless MMX).
764 2011-02-23  Kai Tietz  <kai.tietz@onevision.com>
766         * dwarf.c (read_leb128): Use bfd_vma instead of
767         long type.
768         (dwarf_vmatoa): New helper routine.
769         (process_extended_line_op): Use for adr bfd_vma
770         type and print those typed values via BFD_VMA_FMT
771         or via dwarf_vmatoa for localized prints.
772         (fetch_indirect_string): Adjust offset's type.
773         (decode_location_expression): Adjust argument types
774         and uvalue type.
775         (read_and_display_attr_value): Likewise.
776         (read_and_display_attr): Likewise.
777         (decode_location_expression): Adjust printf format.
778         (process_debug_info): Likewise.
779         (display_debug_lines_raw): Likewise.
780         (display_debug_lines_decoded): Likewise.
781         (display_debug_pubnames): Likewise.
782         (display_debug_loc): Likewise.
783         (display_debug_aranges): Likewise.
784         * dwarf.h (DWARF2_External_LineInfo,
785         DWARF2_Internal_LineInfo, DWARF2_External_PubNames,
786         DWARF2_Internal_PubNames, DWARF2_External_CompUnit,
787         DWARF2_Internal_CompUnit, DWARF2_External_ARange,
788         DWARF2_Internal_ARange): Added..
789         (read_leb128): Adjust return type.
791 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
793         * configure: Regenerate.
795 2011-02-08  Nick Clifton  <nickc@redhat.com>
797         PR binutils/12467
798         * readelf.c (process_program_headers): Issue a warning if there
799         are no program headers but the file header has a non-zero program
800         header offset.
801         (process_section_headers): Issue a warning if there are no section
802         headers but the file header has a non-zero section header offset.
803         (process_section_groups): Reword the no section message so that it
804         can be distinguished from the one issued by process_section_headers.
806 2011-01-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
807             Doug Evans  <dje@google.com>
809         * dwarf.c (display_gdb_index): Support version 4, warn on version 3.
811 2011-01-19  Maciej W. Rozycki  <macro@codesourcery.com>
813         * readelf.c (process_object): Free dynamic_section after use.
815 2011-01-18  H.J. Lu  <hongjiu.lu@intel.com>
817         PR binutils/12408
818         * readelf.c (process_archive): Free and reset dump_sects
819         after processing each archive member.
821 2011-01-11  Andreas Schwab  <schwab@redhat.com>
823         * readelf.c (print_symbol): Handle symbol characters as unsigned.
824         Whitespace fixes.
826 2011-01-10  Nick Clifton  <nickc@redhat.com>
828         * po/da.po: Updated Danish translation.
830 2011-01-06  Vladimir Siminov  <sv@sw.ru>
832         * bucomm.c (get_file_size): Check for negative sizes and issue a
833         warning message if encountered.
835 2011-01-01  H.J. Lu  <hongjiu.lu@intel.com>
837         * version.c (print_version): Update copyright to 2011.
839 For older changes see ChangeLog-2010
841 Local Variables:
842 mode: change-log
843 left-margin: 8
844 fill-column: 74
845 version-control: never
846 End: