1 2011-10-25 Mike Frysinger <vapier@gentoo.org>
3 * Makefile.am (syslex.@OBJEXT@): Add -I$(srcdir).
6 2011-10-25 Joern Rennecke <joern.rennecke@embecosm.com>
8 * readelf.c: Include "elf/epiphany.h".
9 (guess_is_rela, dump_relocation): Handle EM_ADAPTEVA_EPIPHANY.
10 (get_machine_name, is_32bit_abs_reloc, is_32bit_pcrel_reloc): Likewise.
11 (is_16bit_abs_reloc, is_none_reloc): Likewise.
12 * po/binutils.pot: Regenerate.
14 2011-10-25 Kai Tietz <ktietz@redhat.com>
16 * winduni.h (unicode_from_ascii_len): New prototype.
17 * winduni.c (unicode_from_ascii_len): New function.
18 * windres.h (define_stringtable): Add additional length argument.
19 * windres.c (define_stringtable): Add length argument for string.
20 * rcparse.y (res_unicode_sizedstring): New rule.
21 (res_unicode_sizedstring_concat): Likewise.
22 (string_data): Adjust rule.
24 2011-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
26 * dwarf.c (read_and_display_attr_value) <DW_AT_import>: Add CU_OFFSET
27 also for DW_FORM_ref_udata.
29 2011-10-24 Nick Clifton <nickc@redhat.com>
31 * po/ja.po: Updated Japanese translation.
33 2011-10-16 H.J. Lu <hongjiu.lu@intel.com>
36 * ar.c (open_inarch): Set the target from the the first object
37 on the list only if it isn't set.
39 2011-10-13 Nick Clifton <nickc@redhat.com>
41 Fixes to aid translation:
42 * addr2line.c (translate_address): Add comments describing context
43 of a couple of printf statements.
44 * ar.c (write_archive): Allow translation of error message.
45 * bucomm.c (endian_string): Allow translation of strings.
46 (display_target_list): Allow translation.
47 * coffdump.c (dump_coff_type): Allow translation of output.
48 (dump_coff_where): Likewise.
49 (dump_coff_symbol): Likewise.
50 (dump_coff_scope): Likewise.
51 (dump_coff_sfile): Likewise.
52 (dump_coff_section): Likewise.
53 (coff_dump): Likewise.
54 * dlltool (def_version): Allow translation of output.
56 * dllwrap.c (run): Allow translation of output.
57 * dwarf.c (print_dwarf_vma): Allow translation of output.
58 (process_extended_line_op): Remove spurious translation.
59 Add translation for strings that can be translated.
60 (decode_location_exression): Allow translation of output.
61 (read_and_display_attr_value): Allow translation of output.
62 * readelf.c (slurp_rela_relocs): Add translation for error
63 messages when failing to get data.
64 (slurp_rel_relocs): Likewise.
65 (get_32bit_elf_symbols): Likewise.
66 (get_64bit_elf_symbols): Likewise.
67 (dump_ia64_vms_dynamic_relocs): Replace abbreviation with full
69 (process_relocs): Remove spurious translation.
70 (decode_tic6x_unwind_bytecode): Likewise.
71 (process_version_section): Improve error messages.
72 (process_mips_specific): Likewise.
73 (print_gnu_note): Remove spurious translation.
74 (print_stapsdt_note): Likewise.
75 (get_ia64_vms_note_type): Likewise.
76 * sysdump.c (getCHARS): Allow translation.
77 (fillup): Allow translation of output.
80 (derived_type): Likewise.
81 * doc/binutils.doc (addr2line): Extend description of command line
83 * po/binutils.pot: Regenerate.
85 2011-10-13 Nick Clifton <nickc@redhat.com>
88 * readelf.c (GET_ELF_SYMBOLS): Add sym_count parameter.
89 (get_32bit_elf_symbols): Add num_syms_return argument.
90 Return the number of symbols loaded into the symbol table.
91 (get_64bit_elf_symbols): Likewise.
92 (process_section_headers): Use GET_ELF_SYMBOLS to initialise
94 (proces_relocs): Likewise.
95 (ia64_process_unwind): Likewise.
96 (hppa_process_unwind): Likewise.
97 (arm_process_unwind): Likewise.
98 (process_dynamic_section): Likewise.
99 (process_version_sections): Likewise.
100 (process_symbol_table): Likewise.
101 (process_section_groups): Likewise.
102 Add check before indexing into the symbol table.
103 (apply_relocations): Likewise.
105 2011-10-11 Chris <player1@onet.eu>
108 Fix a syntax error bug when compiling rc files with the VERSIONINFO resource
109 containing more than one language block inside a single StringFileInfo block.
111 * windint.h (rc_ver_stringtable): New structure definition.
112 (rc_ver_info): Use it.
113 * rcparse.y (verstringtable): New variable.
114 (verstringtables): New type.
115 (verstringtables:): New rule declaration.
116 (verblocks:): Use it.
117 * resrc.c (append_ver_stringtable): New function.
118 (append_ver_stringfileinfo): Update to use stringtables.
119 * windres.h (append_ver_stringfileinfo): Update declaration.
120 (append_ver_stringtable): New declaration.
121 * resrc.c (write_rc_versioninfo): Update to support multiple blocks.
122 * resbin.c (bin_to_res_version): Likewise.
123 (res_to_bin_versioninfo): Likewise.
125 2011-10-10 Nick Clifton <nickc@redhat.com>
127 * po/bg.po: Updated Bulgarian translation.
128 * po/es.po: Updated Spansih translation.
129 * po/fi.po: Updated Finnish translation.
130 * po/fr.po: Updated French translation.
132 2011-10-05 DJ Delorie <dj@redhat.com>
133 Nick Clifton <nickc@redhat.com>
135 * readelf.c (get_machine_dlags): Add support for RX's PID mode.
137 2011-10-04 Paul Woegerer <paul_woegerer@mentor.com>
138 Carlos O'Donell <carlos@codesourcery.com>
140 * dwarf.c (display_debug_lines_decoded): Index directory_table with
141 directory_index from file_table entry.
143 2011-09-30 Cary Coutant <ccoutant@google.com>
145 * binutils/dwarf.h (dwarf_section_display_enum): Add missing enum
148 2011-09-28 Tristan Gingold <gingold@adacore.com>
150 * od-xcoff.c (dump_xcoff32_aout_header): Fix typo.
152 2011-09-27 Tristan Gingold <gingold@adacore.com>
154 * od-xcoff.c (dump_xcoff32_aout_header): Remove some gettext macros.
155 (dump_xcoff32_sections_header): Likewise.
156 (dump_xcoff32_symbols, dump_xcoff32_relocs): Likewise.
157 (dump_xcoff32_lineno, dump_xcoff32_loader): Likewise.
158 (dump_xcoff32_except): Likewise.
159 (dump_xcoff32_typchk, dump_xcoff32_tbtags): Likewise.
161 2011-09-27 Tristan Gingold <gingold@adacore.com>
163 * readelf.c (print_ia64_vms_note): Fix xgettext warnings.
165 2011-09-22 Tristan Gingold <gingold@adacore.com>
167 * NEWS: Add marker for 2.22.
169 2011-09-21 David S. Miller <davem@davemloft.net>
171 * MAINTAINER: Take over from Jakub Jalinek as SPARC maintainer.
173 * readelf.c (display_sparc_hwcaps): New.
174 (display_sparc_gnu_attribute): New.
175 (process_sparc_specific): New.
176 (process_arch_specific): When EM_SPARC, EM_SPARC32PLUS,
177 or EM_SPARCV9 invoke process_sparc_specific.
179 2011-09-18 H.J. Lu <hongjiu.lu@intel.com>
182 * dwarf.c (display_debug_aranges): Check zero address size.
184 2011-09-15 H.J. Lu <hongjiu.lu@intel.com>
187 * objcopy.c (is_strip_section_1): New.
188 (is_strip_section): Use it. Remove the group section if all
191 2011-09-08 Nick Clifton <nickc@redhat.com>
193 * po/ja.po: Updated Japanese translation.
195 2011-08-26 Nick Clifton <nickc@redhat.com>
197 * po/es.po: Updated Spanish translation.
199 2011-08-08 Marcus Comstedt <marcus@mc.pp.se>
202 * Makefile.am (embedspu): Use awk rather than sed.
203 * Makefile.in: Regenerate.
205 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
207 * dwarf.c (read_and_display_attr_value): Recognize DW_FORM_data4 and
208 DW_FORM_data8 as location list pointers only for DWARF < 4.
210 2011-07-26 Jakub Jelinek <jakub@redhat.com>
212 * NEWS: Mention .debug_macro support.
213 * dwarf.c (read_and_display_attr_value): Don't print a tab
215 (get_AT_name): Handle DW_AT_GNU_macros.
216 (get_line_filename_and_dirname, display_debug_macro): New
218 (debug_displays): Add an entry for .debug_macro and .zdebug_macro.
219 * readelf.c (process_section_headers): With do_debug_macinfo
220 handle also .debug_macro sections.
221 * dwarf.h (dwarf_section_display_enum): Add macro.
223 2011-07-24 Chao-ying Fu <fu@mips.com>
224 Maciej W. Rozycki <macro@codesourcery.com>
226 * readelf.c (get_machine_flags): Handle microMIPS ASE.
227 (get_mips_symbol_other): Likewise.
229 2011-07-22 H.J. Lu <hongjiu.lu@intel.com>
231 * dwarf.c (init_dwarf_regnames): Handle EM_K1OM.
233 * elfedit.c (elf_machine): Support EM_K1OM.
234 (elf_class): Likewise.
236 * readelf.c (guess_is_rela): Handle EM_K1OM.
237 (dump_relocations): Likewise.
238 (get_machine_name): Likewise.
239 (get_section_type_name): Likewise.
240 (get_elf_section_flags): Likewise.
241 (process_section_headers): Likewise.
242 (get_symbol_index_type): Likewise.
243 (is_32bit_abs_reloc): Likewise.
244 (is_32bit_pcrel_reloc): Likewise.
245 (is_64bit_abs_reloc): Likewise.
246 (is_64bit_pcrel_reloc): Likewise.
247 (is_none_reloc): Likewise.
249 * doc/binutils.texi: Mention K1OM for elfedit.
251 2011-07-11 Cary Coutant <ccoutant@google.com>
254 * binutils/nm.c (display_file): Decompress debug sections when
255 printing line numbers.
257 2011-07-03 Samuel Thibault <samuel.thibault@gnu.org>
258 Thomas Schwinge <thomas@schwinge.name>
261 * elfedit.c (osabis): Use ELFOSABI_GNU name instead of ELFOSABI_LINUX
262 alias and ELFOSABI_HURD. Add GNU alias.
263 * readelf.c (get_osabi_name, get_symbol_binding, get_symbol_type):
265 * doc/binutils.texi <elfedit>: Update accordingly.
267 2011-07-01 Nick Clifton <nickc@redhat.com>
270 * doc/binutils.texi (ar cmdline): Document --target, --version and
271 --help command line options.
273 2011-06-30 Nick Clifton <nickc@redhat.com>
276 * ar.c (main): When asked to move members in an archive that is
277 being created, ignore the move request.
279 2011-06-29 Nick Clifton <nickc@redhat.com>
281 * readelf.c (get_section_type_name): When displaying an unknown
282 section type display the hex value first on the assumption that
283 the full message will probably be truncated into a 15 character
286 2011-06-22 Jakub Jelinek <jakub@redhat.com>
288 * dwarf.c (decode_location_expression): For DW_OP_GNU_convert and
289 DW_OP_GNU_reinterpret, if uvalue is 0, don't add cu_offset.
290 Handle DW_OP_GNU_parameter_ref.
292 2011-06-16 Tom Tromey <tromey@redhat.com>
294 * dwarf-mode.el (dwarf-do-insert-substructure): Call
296 (dwarf-do-refresh): Likewise.
298 2011-06-15 Ulrich Weigand <ulrich.weigand@linaro.org>
300 * readelf.c (get_note_type): Handle NT_ARM_VFP.
302 2011-06-13 Walter Lee <walt@tilera.com>
304 * readelf.c: Include tilepro.h and tilegx.h.
305 (guess_is_rela): Handle EM_TILEGX and EM_TILEPRO.
306 (dump_relocations): Likewise.
307 (get_machine_name): Likewise.
308 (is_32bit_abs_reloc): Likewise.
309 (is_32bit_pcerel_reloc): Likewise.
310 (is_64bit_abs_reloc): Likewise.
311 (is_64bit_pcrel_reloc): Likewise.
313 2011-06-09 Tristan Gingold <gingold@adacore.com>
315 * od-xcoff.c (xcoff32_read_symbols): Allow missing string table
318 2011-06-08 Nick Clifton <nickc@redhat.com>
321 * readelf.c (process_version_sections): Handle binaries containing
322 corrupt version information.
323 (process_symbol_table): Stop processing a symbol's version
324 information if it could not be read in.
326 (get_data): Add comment describing the function.
327 (process_section_headers): Set dynamic_strings_length to 0 if the
328 dynamic strings could not be read in.
329 (process_dynamic_section): Likewise.
330 (process_section_groups): Stop processing the group information if
331 the data could not be read in.
332 (hppa_processs_unwind): Assert that there is only one string table
334 (arm_process_unwind): Likewise.
335 (ia64_process_unwind): Likewise.
336 Set the size of the unwind auxillary information to 0 if the data
338 (load_specific_debug_section): Handle a failure to read in the
340 (process_mips_specific): Stop display of the PLT GOT section if it
341 could not be read in.
343 2011-06-08 Tristan Gingold <gingold@adacore.com>
345 * makefile.vms (DEFS): Define OBJDUMP_PRIVATE_VECTORS.
347 2011-06-07 Cary Coutant <ccoutant@google.com>
349 * dwarf.c: Fix conversion to TU number.
351 2011-06-02 Nick Clifton <nickc@redhat.com>
353 * resres.c: Fix spelling typo.
354 * windint.h: Likewise.
355 * windmc.c: Likewise.
356 * windres.c: Likewise.
357 * po/POTFILES.in: Regenerate.
358 * po/binutils.pot: Regenerate.
360 2011-06-01 Daniel Jacobowitz <drow@false.org>
362 * MAINTAINERS: Update my email address.
364 2011-05-31 Matthias Klose <doko@ubuntu.com>
366 * configure.in (BUILD_INSTALL_MISC): Only add embedspu once.
367 * configure: Regenerate.
369 2011-05-30 Alan Modra <amodra@gmail.com>
372 * Makefile.am (bin_PROGRAMS): Move BUILD_INSTALL_MISC to..
373 (bin_SCRIPTS): ..here.
374 (EXTRA_SCRIPTS): Define.
375 (EXTRA_DIST): Add embedspu.sh.
376 (DISTCLEANFILES): Add embedspu.
377 (embedspu): Depend on Makefile. Replace sed "s" command with "c".
378 * Makefile.in: Regenerate.
380 2011-05-25 Jakub Jelinek <jakub@redhat.com>
382 * dwarf.c (loc_offsets): New variable.
383 (loc_offsets_compar): New routine.
384 (display_debug_loc): Handle loc_offsets not being in ascending order
385 and also a single .debug_loc entry being used multiple times.
387 2011-05-18 Nick Clifton <nickc@redhat.com>
390 * nm.c (filter_symbols): Treat unique symbols as global symbols.
391 * doc/binutils.texi (nm): Mention that some lowercase letters
392 actually indicate global symbols.
394 2011-05-15 Tristan Gingold <gingold@adacore.com>
396 * od-xcoff.c: New file.
397 * objdump.h: New file.
398 * objdump.c: Include objdump.h
399 (dump_private_options, objdump_private_vectors): New variables.
400 (usage): Mention -P/--private. Display handled options.
401 (long_options): Add -P/--private.
402 (dump_target_specific): New function.
403 (dump_bfd): Handle dump_private_options.
405 * doc/binutils.texi (objdump): Document -P/--private.
406 * configure.in (OBJDUMP_PRIVATE_VECTORS, OBJDUMP_PRIVATE_OFILES):
407 New variables, compute them.
408 (od_vectors): Add vectors for private dumpers. Make them uniq.
409 (OBJDUMP_DEFS): Add OBJDUMP_PRIVATE_VECTORS.
410 * Makefile.am (HFILES): Add objdump.h
411 (CFILES): Add od-xcoff.c
412 (OBJDUMP_PRIVATE_OFILES): New variable.
413 (objdump_DEPENDENCIES): Append OBJDUMP_PRIVATE_OFILES.
414 (objdump_LDADD): Ditto.
415 (EXTRA_objdump_SOURCES): Define.
416 * Makefile.in: Regenerate.
417 * configure: Regenerate.
419 2011-05-10 Tristan Gingold <gingold@adacore.com>
421 * dwarf.c (process_extended_line_op): Dump unknown records.
423 2011-05-07 Alan Modra <amodra@gmail.com>
426 * objcopy.c (copy_archive): Check bfd_openw result in unknown object
427 case. Rewrite without goto.
429 2011-05-03 Jakub Jelinek <jakub@redhat.com>
431 * dwarf.c (decode_location_expression): Handle DW_OP_GNU_const_type,
432 DW_OP_GNU_regval_type, DW_OP_GNU_deref_type, DW_OP_GNU_convert
433 and DW_OP_GNU_reinterpret.
435 * MAINTAINERS: Add myself as DWARF2 maintainer.
437 2011-05-02 Alan Modra <amodra@gmail.com>
440 Revert the following change
441 Michael Snyder <msnyder@vmware.com>
442 * ar.c (move_members): Plug memory leak.
443 (delete_members): Plug memory leak.
445 2011-04-28 Tom Tromey <tromey@redhat.com>
447 * NEWS: Add note about --dwarf-depth, --dwarf-start, and
449 * objdump.c (suppress_bfd_header): New global.
451 (OPTION_DWARF_DEPTH, OPTION_DWARF_START): New constants.
452 (options): Add dwarf-depth and dwarf-start entries.
453 (dump_bfd): Use suppress_bfd_header.
454 (main): Handle OPTION_DWARF_START, OPTION_DWARF_DEPTH.
455 * doc/binutils.texi (objcopy): Document --dwarf-depth and
458 * dwarf-mode.el: New file.
459 * dwarf.c (dwarf_cutoff_level, dwarf_start_die): New globals.
460 (read_and_display_attr_value): Also check debug_info_p.
461 (process_debug_info): Handle dwarf_start_die and
463 * dwarf.h (dwarf_cutoff_level, dwarf_start_die): Declare.
464 * readelf.c (usage): Update.
465 (OPTION_DWARF_DEPTH): New macro.
466 (OPTION_DWARF_START): Likewise.
467 (options): Add dwarf-depth and dwarf-start entries.
468 (parse_args): Handle OPTION_DWARF_START and OPTION_DWARF_DEPTH.
470 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
472 * dwarf.c (display_gdb_index): Support version 5, warn on version 4.
474 2011-04-27 Tristan Gingold <gingold@adacore.com>
476 * dwarf.c (process_extended_line_op): Handle
477 DW_LNE_HP_source_file_correlation.
479 2011-04-27 Nick Clifton <nickc@redhat.com>
481 * po/da.po: Updated Danish translation.
483 2011-04-21 Tom Tromey <tromey@redhat.com>
485 * readelf.c (print_stapsdt_note): New function.
486 (process_note): Use it.
488 2011-04-21 Tom Tromey <tromey@redhat.com>
490 * readelf.c (get_stapsdt_note_type): New function.
491 (process_note): Recognize "stapsdt" notes.
493 2011-04-21 Tom Tromey <tromey@redhat.com>
495 * readelf.c (process_corefile_note_segment): Change header field
497 (process_note): Change field widths.
499 2011-04-21 Tom Tromey <tromey@redhat.com>
501 * readelf.c (print_gnu_note): New function.
502 (process_note): Use it.
504 2011-04-21 Jie Zhang <jzhang918@gmail.com>
506 * MAINTAINERS: Update my email address.
508 2011-04-11 Kai Tietz <ktietz@redhat.com>
510 * windres.c (usage): Add new --preprocessor-arg option.
511 (option_values): Add new OPTION_PREPROCESSOR_ARG enumerator.
512 (option long_options): Add preprocessor-arg option.
514 * doc/binutils.texi: Add documentation for --preprocessor-arg
516 * NEWS: Add line about new --preprocessor-arg option for windres.
518 2011-04-08 John Marino <binutils@marino.st>
520 * arlex.l: Prevent redefinition of YY_NO_UNPUT.
521 * syslex.l: Likewise.
523 2011-04-07 Paul Brook <paul@codesourcery.com>
525 * readelf.c (arm_section_get_word): Handle C6000 relocations.
526 (decode_tic6x_unwind_regmask, decode_arm_unwind_bytecode,
527 decode_tic6x_unwind_bytecode, expand_prel31): New functions.
528 (decode_arm_unwind): Split out common code from ARM specific bits.
529 (dump_arm_unwind): Use expand_prel31.
530 (arm_process_unwind): Handle SHT_C6000_UNWIND sections.
531 (process_unwind): Add SHT_C6000_UNWIND.
533 2011-04-06 Joseph Myers <joseph@codesourcery.com>
535 * configure.in (thumb-*-pe*): Remove.
536 * configure: Regenerate.
538 2011-04-05 Sterling Augustine <augustine.sterling@gmail.com>
540 * MAINTAINERS: Update my email address.
542 2011-04-03 H.J. Lu <hongjiu.lu@intel.com>
545 * objcopy.c (copy_unknown_object): Make the archive element
548 2011-04-03 David S. Miller <davem@davemloft.net>
550 * objdump.c (dump_reloc_set): Output R_SPARC_OLO10 relocations
551 accurately, rather than how they are represented internally.
553 2011-03-31 Tristan Gingold <gingold@adacore.com>
555 * makefile.vms (readelf.exe): New target.
557 2011-03-31 Tristan Gingold <gingold@adacore.com>
559 * makefile.vms (DEBUG_OBJS): Add elfcomm.obj.
561 2011-03-31 Bernd Schmidt <bernds@codesourcery.com>
563 * readelf.c (get_symbol_index_type): Handle SCOM for TIC6X.
564 (dump_relocations): Likewise.
566 2011-03-31 Tristan Gingold <gingold@adacore.com>
568 * readelf.c (get_ia64_vms_note_type): New function.
569 (print_ia64_vms_note): Ditto.
570 (process_note): Recognize VMS/ia64 specific notes.
572 (process_corefile_note_segment): Decode VMS notes.
574 2011-03-30 Catherine Moore <clm@codesourcery.com>
576 * addr2line.c (translate_addresses): Sign extend the pc
577 if sign_extend_vma is enabled.
579 2011-03-30 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
581 * readelf.c (process_gnu_liblist): Stop memory leak.
583 2011-03-29 Alan Modra <amodra@gmail.com>
585 * coffdump.c: Include bfd_stdint.h
587 2011-03-28 Pierre Muller <muller@ics.u-strasbg.fr>
589 * coffdump.c (coff_dump): Correct spelling error.
590 (show_usage): Replace SYSROFF by COFF.
592 2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
594 * coffdump.c (dump_coff_scope): Use double typecast for pointer P
595 to allow compilation for all targets.
597 2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
599 * dwarf.c (process_debug_info): Use offset_size to determine
600 the bit-size of the computation unit's offset.
601 (decode_location_expression): Use dwarf_vmatoa function to display
603 (process_debug_info): Use dwarf_vma type for local variables
604 length and type_offset.
606 2011-03-25 Michael Snyder <msnyder@vmware.com>
608 * strings.c (print_strings): Plug memory leak.
609 * ar.c (move_members): Plug memory leak.
610 (delete_members): Plug memory leak.
611 (write_archive): Plug memory leak.
612 * ieee.c (ieee_add_bb11): Plug memory leak.
613 (ieee_function_type): Likewise.
614 (ieee_class_baseclass): Likewise.
615 * prdbg.c (pr_function_type): Close memory leaks.
616 (pr_method_type): Likewise.
617 (tg_class_static_member): Likewise.
618 (tg_class_method_variant): Likewise.
619 (tg_class_static_method_variant): Likewise.
620 * stabs.c (parse_stab_enum_type): Fix memory leaks.
621 (parse_stab_struct_type): Likewise.
622 (parse_stab_struct_fields): Likewise.
623 (parse_stab_one_struct_field): Likewise.
624 (parse_stab_members): Likewise.
625 (stab_demangle_qualified): Likewise.
626 * objdump.c (dump_reloc_set): Free malloced memory.
627 * bucomm.c (make_tempname): Stop memory leak.
629 2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
631 Replace bfd_vma type and analog types by dwarf_vma and analogs.
632 Use dwarf specific print functions to display these type values.
633 * dwarf.h (dwarf_signed_vma): New type;
634 (DWARF2_External_LineInfo): Replace bfd_vma by dwarf_vma.
635 (DWARF2_External_PubNames): Likewise.
636 (DWARF2_External_CompUnit): Likewise.
637 (DWARF2_External_ARange): Likewise.
638 (read_leb128): Change return type to dwarf_vma.
639 * dwarf.c (print_dwarf_vma): Use __MINGW32__ conditional and
640 check byte_size values.
641 (dwarf_vmatoa): Change parameter type to dwarf_vma.
642 (dwarf_svmatoa): New static function.
643 (read_leb128): Change return type to dwarf_vma.
644 (read_sleb128): New static function.
645 (struct State_Machine_Registers): Change address field type to
647 (process_extended_line_op): Adapt to type changes.
648 (fetch_indirect_string): Likewise.
649 (idisplay_block): Likewise.
650 (decode_location_expression): Likewise.
651 (read_and_display_attr_value): Likewise.
652 (process_debug_info): Likewise.
653 (display_debug_lines_raw): Likewise.
654 (display_debug_lines_decoded): Likewise.
655 (SLEB macro): Use new read_sleb128 function.
657 2011-03-17 Alan Modra <amodra@gmail.com>
660 * ar.c (ranlib_main): Init arg_index properly.
661 (usage): Describe --target.
663 2011-03-16 Jakub Jelinek <jakub@redhat.com>
665 * dwarf.c (dw_TAG_name): Handle DW_TAG_GNU_call_site_parameter.
666 (read_and_display_attr_value): Handle DW_AT_GNU_call_site_data_value,
667 DW_AT_GNU_call_site_target and DW_AT_GNU_call_site_target_clobbered.
668 (get_AT_name): Handle DW_AT_GNU_call_site_value,
669 DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target,
670 DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call,
671 DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites and
672 DW_AT_GNU_all_source_call_sites.
673 (decode_location_expression) <case DW_OP_GNU_entry_value>: Adjust
676 2011-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
678 * dwarf.c (get_TAG_name): Handle DW_TAG_GNU_call_site.
679 (decode_location_expression): Handle DW_OP_GNU_entry_value.
680 (read_and_display_attr_value): Handle DW_AT_GNU_call_site_value.
681 (get_AT_name): Likewise.
683 2011-03-14 Michael Snyder <msnyder@vmware.com>
685 * objcopy.c (set_pe_subsystem): Free subsystem.
687 * wrstabs.c (stab_start_struct_type): Close memory leak.
689 * readelf.c (process_version_sections): Free symbols.
691 * nm.c (display_rel_file): Free symsizes.
693 2011-03-10 Nick Clifton <nickc@redhat.com>
695 * readelf.c (get_machine_name): Update EM_V850 entry.
697 2011-03-03 Mike Frysinger <vapier@gentoo.org>
699 * objdump.c (usage): Fix single typo.
700 * po/bg.po, po/binutils.pot, po/da.po, po/es.po, po/fi.po,
701 po/fr.po, po/id.po, po/ja.po, po/ru.po, po/vi.po: Likewise.
703 2011-03-01 Akos Pasztory <akos.pasztory@gmail.com>
706 * readelf.c (process_object): Clear dynamic_info_DT_GNU_HASH.
708 2011-02-28 Kai Tietz <kai.tietz@onevision.com>
710 * debug.c (debug_start_source): Use filename_(n)cmp.
711 * ieee.c (ieee_finish_compilation_unit): Likewise.
712 (ieee_lineno): Likewise.
713 * nlmconv.c (main): Likewise.
714 * objcopy.c (strip_main): Likewise.
715 (copy_main): Likewise.
716 * objdump.c (show_line): Likewise.
717 (dump_reloc_set): Likewise.
718 * srconv.c (main): Likewise.
719 * wrstabs.c (stab_lineno): Likewise.
721 2011-02-24 Zachary T Welch <zwelch@codesourcery.com>
723 * readelf.c (decode_arm_unwind): Implement decoding of remaining
724 ARM unwind instructions (i.e. VFP/NEON and Intel Wireless MMX).
726 2011-02-23 Kai Tietz <kai.tietz@onevision.com>
728 * dwarf.c (read_leb128): Use bfd_vma instead of
730 (dwarf_vmatoa): New helper routine.
731 (process_extended_line_op): Use for adr bfd_vma
732 type and print those typed values via BFD_VMA_FMT
733 or via dwarf_vmatoa for localized prints.
734 (fetch_indirect_string): Adjust offset's type.
735 (decode_location_expression): Adjust argument types
737 (read_and_display_attr_value): Likewise.
738 (read_and_display_attr): Likewise.
739 (decode_location_expression): Adjust printf format.
740 (process_debug_info): Likewise.
741 (display_debug_lines_raw): Likewise.
742 (display_debug_lines_decoded): Likewise.
743 (display_debug_pubnames): Likewise.
744 (display_debug_loc): Likewise.
745 (display_debug_aranges): Likewise.
746 * dwarf.h (DWARF2_External_LineInfo,
747 DWARF2_Internal_LineInfo, DWARF2_External_PubNames,
748 DWARF2_Internal_PubNames, DWARF2_External_CompUnit,
749 DWARF2_Internal_CompUnit, DWARF2_External_ARange,
750 DWARF2_Internal_ARange): Added..
751 (read_leb128): Adjust return type.
753 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
755 * configure: Regenerate.
757 2011-02-08 Nick Clifton <nickc@redhat.com>
760 * readelf.c (process_program_headers): Issue a warning if there
761 are no program headers but the file header has a non-zero program
763 (process_section_headers): Issue a warning if there are no section
764 headers but the file header has a non-zero section header offset.
765 (process_section_groups): Reword the no section message so that it
766 can be distinguished from the one issued by process_section_headers.
768 2011-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
769 Doug Evans <dje@google.com>
771 * dwarf.c (display_gdb_index): Support version 4, warn on version 3.
773 2011-01-19 Maciej W. Rozycki <macro@codesourcery.com>
775 * readelf.c (process_object): Free dynamic_section after use.
777 2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
780 * readelf.c (process_archive): Free and reset dump_sects
781 after processing each archive member.
783 2011-01-11 Andreas Schwab <schwab@redhat.com>
785 * readelf.c (print_symbol): Handle symbol characters as unsigned.
788 2011-01-10 Nick Clifton <nickc@redhat.com>
790 * po/da.po: Updated Danish translation.
792 2011-01-06 Vladimir Siminov <sv@sw.ru>
794 * bucomm.c (get_file_size): Check for negative sizes and issue a
795 warning message if encountered.
797 2011-01-01 H.J. Lu <hongjiu.lu@intel.com>
799 * version.c (print_version): Update copyright to 2011.
801 For older changes see ChangeLog-2010
807 version-control: never