1 2010-11-26 Alan Modra <amodra@gmail.com>
5 2010-11-25 Alan Modra <amodra@gmail.com>
12 * po/zh_CN.po: Update.
14 2010-11-21 H.J. Lu <hongjiu.lu@intel.com>
18 * elfcomm.h: Likewise.
20 * Makefile.am (HFILES): Add elfcomm.h.
21 (CFILES): Add elfcomm.c.
23 (readelf_SOURCES): Add $(ELFLIBS).
24 (elfedit_SOURCES): Likewise.
25 (objdump_SOURCES): Likewise.
26 * Makefile.in: Regenerated.
28 * dwarf.c: Include "elfcomm.h".
30 (byte_get_little_endian): Likewise.
31 (byte_get_big_endian): Likewise.
32 (byte_get_signed): Likewise.
36 * dwarf.h (dwarf_vma): Defined with HOST_WIDEST_INT.
37 (dwarf_size_type): Likewise.
39 (byte_get_signed): Likewise.
40 (byte_get_little_endian): Likewise.
41 (byte_get_big_endian): Likewise.
45 * elfedit.c: Include "elfcomm.h". Don't include "aout/ar.h".
46 Call error () instead of non_fatal ().
49 (const_strneq): Likewise.
50 (non_fatal): Likewise.
55 (byte_get_little_endian): Likewise.
56 (byte_get_big_endian): Likewise.
57 (byte_put_little_endian): Likewise.
58 (byte_put_big_endian): Likewise.
59 (adjust_relative_path): Likewise.
60 (archive_info): Likewise.
61 (setup_archive): Likewise.
62 (release_archive): Likewise.
63 (setup_nested_archive): Likewise.
64 (get_archive_member_name): Likewise.
65 (get_archive_member_name_at): Likewise.
66 (make_qualified_name): Likewise.
68 * objdump.c: Include "elfcomm.h".
70 * readelf.c: Include "elfcomm.h". Don't include "aout/ar.h".
72 (BYTE_GET_SIGNED): Removed.
75 (const_strneq): Likewise.
77 (byte_put_little_endian): Likewise.
78 (byte_put_big_endian): Likewise.
79 (adjust_relative_path): Likewise.
80 (archive_info): Likewise.
81 (setup_archive): Likewise.
82 (release_archive): Likewise.
83 (setup_nested_archive): Likewise.
84 (get_archive_member_name): Likewise.
85 (get_archive_member_name_at): Likewise.
86 (make_qualified_name): Likewise.
88 2010-11-18 Alan Modra <amodra@gmail.com>
91 * readelf.c (get_archive_member_name): Formatting. Properly
92 handle full size ar_name.
94 2010-11-17 Alan Modra <amodra@gmail.com>
96 * ar.c (print_contents): Don't internationalize strings without words.
97 * dwarf.c (process_extended_line_op): Likewise.
98 (process_debug_info): Likwise.
99 (display_debug_lines_raw): Likewise.
100 (display_debug_lines_decoded): Likewise.
101 (display_debug_abbrev): Likewise.
102 * readelf.c (process_file_header): Likewise.
104 (decode_arm_unwind): Likewise.
105 (process_mips_specific): Likewise.
106 * resrc.c (run_cmd): Likewise.
107 (rcparse_warning): Likewise.
108 * objdump.c (dump_headers): Don't print "Pg".
110 2010-11-16 Jorma Karvonen <karvonen.jorma@gmail.com>
112 * windmc.c: ,%s' -> `%s' in a number of strings.
114 2010-11-16 Jie Zhang <jie.zhang@analog.com>
116 * readelf.c (get_machine_flags): Deal with Blackfin specific flags.
118 2010-11-11 Mingming Sun <mingm.sun@gmail.com>
120 * readelf.c (get_machine_flags): Add loongson-3a.
122 2010-11-10 Nick Clifton <nickc@redhat.com>
124 * po/ja.po: Updated Japanese translation.
125 * po/fr.po: Updated French translation.
127 2010-11-08 Nick Clifton <nickc@redhat.com>
129 * po/ja.po: Updated Japanese translation.
131 2010-11-08 Alan Modra <amodra@gmail.com>
133 * objcopy.c (copy_main): No need to rename sections when compressing
136 2010-11-05 Alan Modra <amodra@gmail.com>
138 * bin2c.c: Remove internationalization and version report.
139 * Makefile.am: Update bin2c rule.
140 * Makefile.in: Regenerate.
142 2010-11-05 Tristan Gingold <gingold@adacore.com>
144 * po/binutils.pot: Regenerate
146 2010-11-05 Tristan Gingold <gingold@adacore.com>
148 * NEWS: Add marker for 2.21.
150 2010-11-02 H.J. Lu <hongjiu.lu@intel.com>
152 * objdump.c (dump_bfd_header): Don't display
153 BFD_FLAGS_FOR_BFD_USE_MASK bits in abfd->flags.
155 2010-11-02 Joseph Myers <joseph@codesourcery.com>
157 * readelf.c (display_tic6x_attribute): Handle more attributes.
159 2010-10-30 Kai Tietz <kai.tietz@onevision.com>
161 * dlltool.c (scan_drectve_symbols): Allow quoted strings for -export
164 2010-10-29 Joseph Myers <joseph@codesourcery.com>
166 * readelf.c (display_tic6x_attribute): Use Tag_ABI_compatibility
167 not hardcoded 32. Display name of this attribute.
169 2010-10-29 H.J. Lu <hongjiu.lu@intel.com>
171 * addr2line.c (process_file): Set BFD_DECOMPRESS.
173 * objcopy.c (do_debug_sections): New.
174 (OPTION_COMPRESS_DEBUG_SECTIONS): New.
175 (OPTION_DECOMPRESS_DEBUG_SECTIONS): Likewise.
176 (copy_options): Add OPTION_COMPRESS_DEBUG_SECTIONS and
177 OPTION_DECOMPRESS_DEBUG_SECTIONS.
178 (copy_usage): Add --compress-debug-sections and
179 --decompress-debug-sections.
180 (copy_file): Set BFD_COMPRESS or BFD_DECOMPRESS.
181 (copy_section): Replace bfd_get_section_contents with
182 bfd_get_full_section_contents.
183 (copy_main): Handle OPTION_COMPRESS_DEBUG_SECTIONS and
184 OPTION_DECOMPRESS_DEBUG_SECTIONS. Check do_debug_sections to
185 rename DWARF debug sections.
187 * objdump.c (load_specific_debug_section): Replace
188 bfd_get_section_contents with bfd_get_full_section_contents.
189 Remove bfd_uncompress_section_contents.
190 (dump_section): Replace bfd_get_section_contents with
191 bfd_get_full_section_contents.
192 (display_file): Set BFD_DECOMPRESS if needed.
194 * readelf.c (uncompress_section_contents): Set buffer to NULL
195 to indiate decompression failure.
196 (load_specific_debug_section): Always call
197 uncompress_section_contents.
199 * doc/binutils.texi: Document --compress-debug-sections and
200 --decompress-debug-sections.
202 2010-10-29 Nick Clifton <nickc@redhat.com>
205 * ar.c (usage): Revert previous change. Describe how 's' can be
206 used as a command letter.
207 * doc/binutils.texi (ar cmdline): Describe how 's' can be used as
210 2010-10-29 Bernd Schmidt <bernds@codesourcery.com>
211 Joseph Myers <joseph@codesourcery.com>
213 * readelf.c (display_tic6x_attribute): Handle Tag_ABI_DSBT.
215 2010-10-28 Nick Clifton <nickc@redhat.com>
218 * ar.c (usage): Remove spurious 's' from list of accepted command
221 2010-10-28 Alan Modra <amodra@gmail.com>
223 * readelf.c (is_32bit_abs_reloc): Support i960 and microblaze.
224 (is_32bit_pcrel_reloc): Support microblaze.
226 2010-10-26 Nick Clifton <nickc@redhat.com>
228 * po/ja.po: Updated Japanese transaltion.
230 2010-10-21 Joseph Myers <joseph@codesourcery.com>
232 * readelf.c (display_tic6x_attribute): Update for attribute
235 2010-10-08 H.J. Lu <hongjiu.lu@intel.com>
237 * dwarf.c (byte_get_signed): Make it extern.
239 * dwarf.h (byte_get_signed): New.
241 * readelf.c (BYTE_GET_SIGNED): New.
242 (slurp_rela_relocs): Use BYTE_GET_SIGNED on r_addend.
243 (dump_relocations): Properly dump r_addend.
245 2010-10-08 Joseph Myers <joseph@codesourcery.com>
247 * nm.c (value_format_64bit): Define appropriately for __MSVCRT__.
248 (set_print_radix): Update for __MSVCRT__ definition of
251 2010-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
253 Fix build with -DDEBUG=7
254 * nlmheader.y (DEBUG token): Rename to DEBUG_K.
256 2010-10-06 Alan Modra <amodra@gmail.com>
258 * bucomm.c (bfd_nonfatal, bfd_nonfatal_message): Don't clobber errno.
260 2010-10-05 Alan Modra <amodra@gmail.com>
262 * bucomm.c (bfd_nonfatal): Flush stdout before output to stderr.
263 (bfd_nonfatal_message, report, list_matching_formats): Likewise.
264 (list_supported_targets): Tidy.
265 * objdump.c (free_only_list): Formatting.
266 (slurp_dynamic_symtab): Non-zero exit status for "not a dynamic
268 (update_source_path): Delete redundant check for NULL filename.
269 (disassemble_bytes): Error if disassemble_fn returns a value
270 that won't increment address.
271 (disassemble_data): Don't capitalize error message.
272 (read_section_stabs): Likewise.
273 (main): Return non-zero exit status on bad options.
275 2010-10-03 H.J. Lu <hongjiu.lu@intel.com>
278 * nm.c (plugin_target): New.
279 (main): Set plugin_target to "plugin" for --plugin.
280 (display_file): Pass plugin_target to bfd_openr if target
283 2010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
285 * configure: Regenerate.
287 2010-09-22 Mike Frysinger <vapier@gentoo.org>
289 * MAINTAINERS: Add self as ADI Blackfin maintainer.
291 2010-09-17 H.J. Lu <hongjiu.lu@intel.com>
293 * emul_aix.c (ar_emul_aix_append): Add a target argument
294 and ignore it if it is set.
295 (ar_emul_aix5_append): Likewise.
296 (ar_emul_aix_replace): Likewise.
297 (ar_emul_aix5_replace): Likewise.
299 2010-09-15 H.J. Lu <hongjiu.lu@intel.com>
301 * ar.c (plugin_target): New.
302 (main): Set plugin_target to "plugin" for --plugin.
303 (open_inarch): Initialize target to plugin_target.
304 (replace_members): Pass plugin_target to ar_emul_replace
307 * binemul.h (ar_emul_append): Add a target argument.
308 (ar_emul_default_append): Likewise.
309 (ar_emul_replace): Likewise.
310 (ar_emul_default_replace): Likewise.
311 (bin_emulation_xfer_struct): Add a target argument to
312 ar_append and ar_replace.
314 * binemul.c (ar_emul_append): Updated. Pass target to bfd_openr.
315 (do_ar_emul_default_append): Likewise.
316 (ar_emul_default_append): Likewise.
317 (ar_emul_replace): Likewise.
318 (ar_emul_default_replace): Likewise.
320 2010-09-10 Ben Gardiner <bengardiner@nanometrics.ca>
322 * objcopy.c: Add --interleave-width option to allow interleaving
323 of more than one byte at a time.
324 (copy_width): New variable.
325 (copy_options): Add --interleave-width.
326 (copy_section): When interleaving copy in units of copy_width
328 (copy_main): Parse the new option.
329 * doc/binutils: Document the new option.
330 * NEWS: Mention the new feature.
332 2010-09-09 Jakub Jelinek <jakub@redhat.com>
334 * dwarf.c (decode_location_expression): Fix data adjustment
335 for DW_OP_GNU_implicit_pointer in v3+.
337 2010-09-09 Tristan Gingold <gingold@adacore.com>
339 * NEWS: Add entry to NEWS for hppa/som.
341 2010-09-09 Jakub Jelinek <jakub@redhat.com>
343 * dwarf.h (debug_info): Add offset_info and dwarf_version fields.
344 * dwarf.c (decode_location_expression): Add offset_size and
345 dwarf_version arguments. Prefix DIE offset with 0x for
346 DW_OP_call{2,4,_ref}. Fix up DW_OP_call_ref operand size,
347 complain if in frame info section. Handle
348 DW_OP_GNU_implicit_pointer.
349 (read_and_display_attr_value, display_debug_loc,
350 display_debug_frames): Adjust decode_location_expression callers.
351 (process_debug_info): Save offset_size and dwarf_version values
352 into debug_information array.
354 2010-09-07 Nick Clifton <nickc@redhat.com>
356 * readelf.c (process_section_headers): Mention meaning of 'l'
357 section flag for x86-64 targets.
359 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
360 Jakub Jelinek <jakub@redhat.com>
362 * dwarf.c (regname): New declaration.
363 (decode_location_expression): Print for registers also regname output.
365 2010-09-02 Richard Henderson <rth@redhat.com>
367 * dwarf.c (init_dwarf_regnames_i386, init_dwarf_regnames_x86_64): New.
368 (init_dwarf_regnames): Use them.
369 * dwarf.h: Declare them.
370 * objdump.c (dump_dwarf): Use bfd_get_arch + bfd_get_mach to set up
371 the regnames, rather than using elf_machine_code.
373 2010-09-02 Richard Henderson <rth@redhat.com>
375 * objdump.c (dump_dwarf): Use bfd_arch_bits_per_address.
377 2010-08-23 H.J. Lu <hongjiu.lu@intel.com>
379 * elfedit.c (input_elf_osabi): New.
380 (output_elf_osbi): Likewise.
382 (elf_osabi): Likewise.
383 (update_elf_header): Support updating ELF OSABI.
384 (make_qualified_name): Break long line.
385 (command_line_switch): Add OPTION_INPUT_OSABI and
388 (usage): Add --input-osabi and --output-osabi.
389 (main): Handle OPTION_INPUT_OSABI and OPTION_OUTPUT_OSABI.
391 * doc/binutils.texi: Document --input-osabi and --output-osabi
394 2010-08-23 Maciej W. Rozycki <macro@codesourcery.com>
396 * readelf.c (display_mips_gnu_attribute): Replace GCC options
397 with a textual description of a MIPS32r2 64-bit FPU.
399 2010-08-13 Dan Rosenberg <dan.j.rosenberg@gmail.com>
402 * readelf.c (get_32bit_elf_symbols): Check for a corrupt
404 (get_64bit_elf_symbols): Likewise.
405 (process_symbol_table): Likewise.
406 (process_section_groups): Check for corrupt headers.
407 (process_version_sections): Check for corrupt indicies.
408 (process_corefile_note_segment): Likewise.
410 2010-08-13 Nathan Sidwell <nathan@codesourcery.com>
412 * readelf.c (get_machine_flags): Detect CF ISA C and EMAC_B
415 2010-08-13 Tom Tromey <tromey@redhat.com>
417 * dwarf.c (process_debug_info): Don't subtract section address
418 when calculating location of cu abbrev within section.
420 2010-08-12 Michael Haubenwallner <haubi@gentoo.org>
423 * readelf.c (get_archive_member_name): Do not read beyond the end
424 of the ar_name field.
426 2010-08-03 Tristan Gingold <gingold@adacore.com>
428 * dwarf.c (display_debug_lines): Mark file argument unused.
429 Do not try to load .debug_info section.
431 2010-08-02 Alan Modra <amodra@gmail.com>
433 * readelf.c (apply_relocations): D30V is really REL.
435 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
436 Ina Pandit <ina.pandit@kpitcummins.com>
438 * binutils/readelf.c: Add support for V850E2 and V850E2V3.
440 2010-07-22 Alan Modra <amodra@gmail.com>
442 * readelf.c: Add Moxie support.
444 2010-07-20 Alan Modra <amodra@gmail.com>
446 * readelf.c (process_program_headers): Don't ignore all zero size
449 2010-07-19 Andreas Schwab <schwab@redhat.com>
451 * readelf.c (process_section_headers): Update key to flags.
453 2010-07-17 Dave Korn <dave.korn.cygwin@gmail.com>
455 * objcopy.c (copy_usage): Tweak previous typofix.
457 2010-07-17 H.J. Lu <hongjiu.lu@intel.com>
459 * objcopy.c (copy_usage): Fix a typo.
461 2010-07-15 Kai Tietz <kai.tietz@onevision.com>
463 * dllwrap.c (main): Make sure is_leading_underscore
464 gets initialized with correct default.
466 2010-07-05 Alan Modra <amodra@gmail.com>
468 * readelf.c (uncompress_section_contents): Avoid gcc-4.6 warning.
470 2010-07-03 Cary Coutant <ccoutant@google.com>
472 * objdump.c (load_specific_debug_section): Decompress section contents
473 before applying relocations.
474 * readelf.c (load_specific_debug_section): Update section size after
477 2010-06-29 Alan Modra <amodra@gmail.com>
480 * objcopy.c (is_strip_section): Revert 2006-09-05.
481 (setup_section): Make SHT_GROUP section nobits.
483 2010-06-29 Alan Modra <amodra@gmail.com>
485 * configure: Regenerate.
486 * po/POTFILES.in: Regenerate.
488 2010-06-27 Alan Modra <amodra@gmail.com>
490 * resbin.c (res_to_bin_accelerator): Delete set but unused variables.
492 2010-06-17 Nick Clifton <nickc@redhat.com>
495 * windres.c (enum option_values): New enum.
496 (long_options): Use separate option number for --include-dir
498 (main): Separate backwards compatibility check from code to
499 implement --include-dir. Check to see if directory exists and do
500 not complain if it does.
502 2010-06-15 Joseph Myers <joseph@codesourcery.com>
504 * readelf.c (display_tic6x_attribute, process_tic6x_specific):
506 (process_arch_specific): Call process_tic6x_specific for
509 2010-06-11 H.J. Lu <hongjiu.lu@intel.com>
511 * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long
514 2010-06-11 Tristan Gingold <gingold@adacore.com>
515 Doug Rupp <rupp@gnat.com>
517 * readelf.c (is_ia64_vms): New function.
518 (dump_relocations): Use it.
519 (get_machine_flags): Display IA-64 OpenVMS flags.
520 (process_program_headers): No error on OpenVMS if no .dynamic section.
521 (struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New
523 (dump_ia64_vms_dynamic_fixups): New function.
524 (dump_ia64_vms_dynamic_relocs): Ditto.
525 (process_ia64_vms_dynamic_relocs): Ditto.
526 (process_relocs): Handle IA-64 OpenVMS relocs.
527 (VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros.
528 (print_vms_time): New function.
529 (dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and
530 DT_IA_64_VMS_LNKFLAGS.
531 (get_ia64_symbol_other): New function.
532 (get_symbol_other): Handle EM_IA_64.
534 2010-06-11 Tristan Gingold <gingold@adacore.com>
536 * unwind-ia64.c (unw_print_abreg): Add const to special_reg.
537 (UNW_DEC_ABI): Ditto for abiname.
538 (unw_decode_table): Make it const.
540 2010-06-10 Tristan Gingold <gingold@adacore.com>
542 * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
545 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
546 Joseph Myers <joseph@codesourcery.com>
547 Andrew Stubbs <ams@codesourcery.com>
549 * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.
551 2010-05-25 Jay Krell <jay.krell@cornell.edu>
554 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
555 * Makefile.in: Regenerate.
557 2010-05-24 Tristan Gingold <gingold@adacore.com>
559 * readelf.c (usage): Add new trace sections for --debug-dump.
560 (process_section_headers): Handle dump of trace sections.
561 * objdump.c (usage): Add new trace sections for --dwarf.
562 * dwarf.h (do_trace_info, do_trace_abbrevs): New variables.
563 (do_trace_aranges): Ditto.
564 (enum dwarf_section_display_enum): Add trace_info, trace_abbrev
565 and trace_aranges literals.
566 * dwarf.c (do_trace_info, do_trace_abbrevs): New variables.
567 (do_trace_aranges): Ditto.
568 (process_debug_info): Add abbrev_sec argument and replace
569 abbrev with abbrev_sec.
570 (load_debug_info): Adjust call of process_debug_info.
571 (display_debug_info): Ditto.
572 (display_trace_info): New function.
573 (dwarf_select_sections_by_names): Add trace_info, trace_abbrevs
574 and trace_aranges sections name.
575 (dwarf_select_sections_all): Also select trace sections.
576 (debug_displays): Reindent. Add entries for the trace sections.
577 * doc/binutils.texi (readelf): Document new --dwarf parameters.
580 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
583 * readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a
586 2010-05-07 Tristan Gingold <gingold@adacore.com>
588 * Makefile.in: Regenerate with automake 1.11.1.
590 * doc/Makefile.in: Ditto.
592 2010-05-06 H.J. Lu <hongjiu.lu@intel.com>
594 * dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
595 * readelf.c (get_elf_section_flags): Likewise.
596 (process_section_headers): Likewise.
598 2010-05-05 Nick Clifton <nickc@redhat.com>
600 * po/es.po: Updated Spanish translation.
602 2010-04-27 Kai Tietz <kai.tietz@onevision.com>
604 * dlltool.c (main): Query for bfd's underscoring default for
607 2010-04-27 Nick Clifton <nickc@redhat.com>
609 * po/ru.po: Updated Russian translation.
611 2010-04-23 Alan Modra <amodra@gmail.com>
613 * readelf.c (process_program_headers): Replace use of
614 ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
616 2010-04-22 Nick Clifton <nickc@redhat.com>
618 * po/binutils.pot: Updated by the Translation project.
619 * po/fi.po: Updated Finnish translation.
620 * po/vi.po: Updated Vietnamese translation.
621 * po/bg.po: New Bulgarian translation.
622 * configure.in (ALL_LINGUAS): Add bg.
623 * configure: Regenerate.
625 2010-04-20 Nick Clifton <nickc@redhat.com>
627 * po/fr.po: Updated french translation.
629 2010-04-20 Nick Clifton <nickc@redhat.com>
631 * readelf.c: Add _() macros to constant strings that are
634 * readelf.c (display_mips_gnu_attribute): Replace GCC options
635 with a textual description of single and double precision float.
637 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
639 * readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
640 (arm_attr_tag_ABI_align8_needed): Remove.
641 (arm_attr_tag_ABI_align8_preserved): Remove.
642 (arm_attr_tag_ABI_HardFP_use): Update text strings.
643 (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
644 (display_arm_attribute): Add decoding of ABI v2.08 attributes.
646 2010-04-13 Nick Clifton <nickc@redhat.com>
649 * dwarf.c (process_debug_info): Initialise the signature array.
651 2010-04-09 Nick Clifton <nickc@redhat.com>
653 * dwarf.c (process_debug_info): Remove unused variable
654 cu_abbrev_offset_ptr.
655 (display_debug_lines_decoded): Remove unused variable prev_line.
656 * elfedit.c (process_archive): Remove unused variable
658 * ieee.c (ieee_start_compilation_unit): Remove unused variable
660 (ieee_set_type): Remove unused variables info, targetindx and
662 * objdump.c (disassmble_byte): Remove unused variable done_dot.
663 * rddbg.c (read_section_stabs_debugging_info): Remove unused
665 * readelf.c (dump_section_as_strings): Remove unused variable
667 (process_archive): Remove unused variable file_name_size.
668 * stabs.c (parse_stab_string): Mark desc parameter as unused.
669 Remove unused variable lineno.
670 (parse_stab_struct_type): Remove unused variable orig.
671 (stab_demangle_type): Remove unused variables constp, volatilep
674 2010-04-07 Alan Modra <amodra@gmail.com>
676 * configure: Regenerate.
678 2010-04-06 Nick Clifton <nickc@redhat.com>
680 * po/vi.po: Updated Vietnamese translation.
682 2010-04-05 Jakub Jelinek <jakub@redhat.com>
684 * dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
686 (display_debug_frames): Handle CIE version 4.
688 * dwarf.c (struct State_Machine_Registers): Add op_index field,
689 change end_sequence type to unsigned char.
690 (reset_state_machine): Clear op_index.
691 (process_extended_line_op): For DW_LNE_set_address clear op_index.
692 (display_debug_lines_raw): Initialize li_max_ops_per_insn.
693 Track op_index state machine register and print it if
694 li_max_ops_per_insn is != 1.
695 (display_debug_lines_decoded): Likewise.
697 2010-04-01 Jakub Jelinek <jakub@redhat.com>
699 * dwarf.c (read_and_display_attr_value): Don't reject
700 dwarf_version == 4. Handle DW_FORM_sec_offset, DW_FORM_flag_present
702 (process_debug_info): Handle cu_version == 4.
703 (display_debug_lines_raw, display_debug_lines_decoded): Handle
706 2010-03-30 Andreas Schwab <schwab@linux-m68k.org>
708 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
709 * Makefile.in: Regenerate.
711 2010-03-25 Joseph Myers <joseph@codesourcery.com>
713 * MAINTAINERS: Add self as TI C6X maintainer.
714 * NEWS: Add news entry for TI C6X support.
715 * readelf.c: Include elf/tic6x.h.
716 (guess_is_rela): Handle EM_TI_C6000.
717 (dump_relocations): Likewise.
718 (get_tic6x_dynamic_type): New.
719 (get_dynamic_type): Call it.
720 (get_machine_flags): Handle EF_C6000_REL.
721 (get_osabi_name): Handle machine-specific values only for relevant
722 machines. Handle C6X values.
723 (get_tic6x_segment_type): New.
724 (get_segment_type): Call it.
725 (get_tic6x_section_type_name): New.
726 (get_section_type_name): Call it.
727 (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
730 2010-03-25 Thomas Schwinge <thomas@codesourcery.com>
732 * doc/binutils.texi (readelf) <unwind information>: Mention support for
735 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
737 * readelf.c (decode_arm_unwind): Increase buf size to 9 byte.
739 2010-03-17 Alan Modra <amodra@gmail.com>
741 * readelf.c (dump_arm_unwind): Warning fix.
743 2010-03-16 Daniel Jacobowitz <dan@codesourcery.com>
745 * MAINTAINERS: Update my email address. List Tristan Gingold
746 as the release branch maintainer.
748 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
750 * readelf.c (get_ver_flags): Handle VER_FLG_INFO.
752 2010-03-02 Daniel Jacobowitz <dan@codesourcery.com>
754 * NEWS: Document .ARM.exidx / .ARM.extab support.
756 * dwarf.c (read_leb128): Make non-static.
757 * dwarf.h (read_leb128): Declare.
758 * readelf.c (REMOVE_ARCH_BITS): Define.
759 (find_section_by_address): New.
760 (read_uleb128): Move higher. Use read_leb128 from dwarf.c.
761 (find_symbol_for_address): Handle the Thumb bit for ARM, by
762 using REMOVE_ARCH_BITS.
763 (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name)
764 (arm_free_section, arm_section_get_word, decode_arm_unwind)
765 (dump_arm_unwind, arm_process_unwind): New.
766 (process_unwind): Handle ARM.
768 2010-02-26 Jie Zhang <jie@codesourcery.com>
770 * MAINTAINERS: Update my email address.
772 2010-02-23 Peter Breitenlohner <peb@mppmu.mpg.de>
775 * doc/binutils.texi (windmc): Fix synopsis and description of
778 2010-02-19 Alan Modra <amodra@gmail.com>
780 * readelf.c (get_group_flags): Return empty string when flags zero.
781 Add space in other returned values.
782 (process_section_groups): Adjust format string.
784 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
786 * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of
787 newly permitted attribute values.
788 (arm_attr_tag_Virtualization_use): Likewise.
789 (arm_attr_tag_DIV_use): Add description of new attribute.
790 (arm_attr_tag_MPextension_use_legacy): Likewise.
792 2010-02-15 Nick Clifton <nickc@redhat.com>
794 * po/vi.po: Updated Vietnamese translation.
796 2010-02-09 Michael Holzheu <holzheu@de.ibm.com>
798 * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
799 NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
801 2010-02-08 Jim Blandy <jimb@red-bean.com>
803 * dwarf.c (display_debug_frames): Skip the 'S' character in CFI
804 'z' augmentation strings.
806 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
808 * objdump.c (disassemble_bytes): Clear aux->reloc before printing
809 a new address, so as not to reuse a previous, non-related reloc.
811 2010-02-02 H.J. Lu <hongjiu.lu@intel.com>
813 * readelf.c (get_note_type): Handle NT_X86_XSTATE.
815 2010-02-01 Nathan Sidwell <nathan@codesourcery.com>
817 * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
820 2010-01-28 Nick Clifton <nickc@redhat.com>
823 * objdump.c (only): Replace with linked list.
824 (only_size, only_used): Replace with only_list.
825 (process_section_p): Set seen field on matches sections.
826 (add_only): New function.
827 (free_only_list): New function.
828 (disassemble_section): Check only_list.
829 (main): Use add_only and free_only_list.
831 2010-01-26 Tristan Gingold <gingold@adacore.com>
833 * Makefile.am (bin2c): Add libintl dependance and library.
834 * Makefile.in: Regenerate.
836 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
838 * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS.
840 2010-01-19 Ian Lance Taylor <iant@google.com>
842 * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
843 with non-ordinary files like /dev/null.
845 2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com>
846 Alan Modra <amodra@gmail.com>
848 * readelf.c (process_file_header): Handle e_phnum extension.
850 2010-01-14 Tristan Gingold <gingold@adacore.com>
852 * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
853 and DW_AT_GNAT_descriptive_type.
855 2010-01-13 Tristan Gingold <gingold@adacore.com>
857 * ar.c (main): Use lbasename.
859 * objdump.c (update_source_path): Ditto.
861 2010-01-12 Tristan Gingold <gingold@adacore.com>
863 * makefile.vms (CFLAGS): Turns warnings into informational messages.
865 2010-01-11 H.J. Lu <hongjiu.lu@intel.com>
868 * NEWS: Mention --dyn-syms for readelf.
870 * readelf.c (do_dyn_syms): New.
871 (OPTION_DYN_SYMS): Likewise.
872 (options): Add "dyn-syms".
873 (usage): Add --dyn-syms.
874 (parse_args): Handle OPTION_DYN_SYMS.
875 (process_symbol_table): Handle do_dyn_syms.
876 (process_object): Likewise.
877 (process_archive): Likewise.
879 * doc/binutils.texi: Document --dyn-syms for readelf. Mention
880 symbol hash tables for -D.
882 2010-01-11 Nick Clifton <nickc@redhat.com>
884 * NEWS: Mention addition of elfedit.
886 * po/fi.po: Updated Finnish translation.
888 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
890 * Makefile.in: Regenerate.
891 * configure: Regenerate.
892 * doc/Makefile.in: Regenerate.
894 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
896 * version.c (print_version): Change to "Copyright 2010".
898 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
900 * elfedit.c (input_elf_type): New.
901 (output_elf_type): Likewise.
902 (elf_type): Likewise.
903 (update_elf_header): Support updating ELF file type.
904 (command_line_switch): Add OPTION_INPUT_TYPE and
907 (usage): Add --input-type and --output-type.
908 (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE. Check
909 one of --output-mach and --output-type must be specified.
911 * doc/binutils.texi: Document --input-type and --output-type
914 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
916 * doc/binutils.texi: Fix a typo.
918 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
920 * elfedit.c (update_elf_header): Don't change input_elf_class
921 nor input_elf_machine if they are -1.
923 2010-01-08 Tristan Gingold <gingold@adacore.com>
925 * ar.c: Remove bfd_special_undocumented_glue prototype.
927 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
929 * elfedit.c (update_elf_header): Reformat.
931 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
933 * readelf.c (usage): Fix indent for --symbols.
935 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
937 * doc/binutils.texi: Replace -histogram with --histogram.
939 2010-01-06 H.J. Lu <hongjiu.lu@intel.com>
942 * Makefile.am (ELFEDIT_PROG): New.
943 (bin_PROGRAMS): Add $(ELFEDIT_PROG).
944 (CFILES): Add elfedit.c.
945 (elfedit_DEPENDENCIES): New.
946 (elfedit_SOURCES): Likewise.
947 (elfedit_LDADD): Likewise.
948 * Makefile.in: Regenerated.
952 * doc/binutils.texi: Document elfedit.
954 * doc/Makefile.am (man_MANS): Add elfedit.1.
956 * doc/Makefile.in: Regenerated.
958 2010-01-06 Tristan Gingold <gingold@adacore.com>
960 * nm.c (usage): Remove extra blanks.
962 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
964 * objcopy.c: Update copyright.
965 * readelf.c: Likewise.
967 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
970 * objcopy.c (copy_object): Remove "Warning: " from error
973 2010-01-04 Nick Clifton <nickc@redhat.com>
976 * readelf.c (dump_section_as_strings): Use two separate
977 invocations of printf() in order to work around bugs in
978 the Solaris 8 implementation.
980 2010-01-04 Nick Clifton <nickc@redhat.com>
982 * po/ru.po: Updated Russian translation.
984 For older changes see ChangeLog-2009
990 version-control: never