3 * dwarf.c (display_gdb_index): Fix printf types for
9 * doc/binutils.texi: Fix typos in elfedit documentation.
13 * binemul.h (do_ar_emul_append): Declare.
14 * binemul.c (any_ok): New function.
15 (do_ar_emul_append): Rename from do_ar_emul_default_append. Make
16 global, add check arg. Adjust callers.
17 (ar_emul_default_replace): Tidy.
18 * configure.tgt (powerpc-*-aix[5-9]*,rs6000-*-aix[5-9]*): Use
20 * emul_aix.c (bin_aix5_emulation, ar_emul_aix_internal): Delete.
21 (ar_emul_aix5_append, ar_emul_aix5_replace): Delete.
22 (check_aix): New function.
23 (ar_emul_aix_append, ar_emul_aix_replace): Rewrite.
27 * .gitignore: New file.
32 (usage): Correct help strings.
33 (decode_options): Correct getopt_long short options. Remove
34 duplicate non-handled option message.
35 (main): Don't handle -M specially.
39 * ar.c (long_options): Add target.
40 (decode_options): Handle the --target option.
41 (open_inarch): Check for plugin's target, default to --target
42 (replace_members): Use generic `target'.
44 * ar.c (operation): New global variable.
45 (show_version): Likewise.
46 (show_help): Likewise.
47 (long_options): Likewise.
48 (usage): Fix help string argument order.
49 (decode_options): New.
50 (ranlib_main): Use getopt_long.
51 (main): Use decode_options.
53 * ar.c (main): Split ranlib path.
59 * dwarf.c: #include "bfd_stdint.h".
60 (do_gdb_index): New global.
61 (display_gdb_index): New function.
62 (dwarf_select_sections_by_names) Add "gdb_index".
63 (dwarf_select_sections_all): Set do_gdb_index.
64 (debug_displays): Add .gdb_index.
65 * dwarf.h (do_gdb_index): Declare.
66 * objdump.c (usage): Add gdb_index.
67 * readelf.c (usage): Add gdb_index.
68 (process_section_headers): Process ".gdb_index".
69 * doc/binutils.texi (readelf): Document gdb_index dump.
75 * dlltool.c (dll_name_set_by_exp_name): New variable.
76 (def_name): Allow setting of dll_name by .def file.
77 (def_library): Likewise.
78 (main): Set dll_name_set_by_exp_name, if dll_name is
79 set indirect by exp_name.
83 * dwarf.c (decode_location_expression, display_debug_frames): Move
84 code handling DW_EH_PE_pcrel into..
85 (get_encoded_value): ..here.
98 * po/zh_CN.po: Update.
104 * elfcomm.h: Likewise.
106 * Makefile.am (HFILES): Add elfcomm.h.
107 (CFILES): Add elfcomm.c.
109 (readelf_SOURCES): Add $(ELFLIBS).
110 (elfedit_SOURCES): Likewise.
111 (objdump_SOURCES): Likewise.
112 * Makefile.in: Regenerated.
114 * dwarf.c: Include "elfcomm.h".
116 (byte_get_little_endian): Likewise.
117 (byte_get_big_endian): Likewise.
118 (byte_get_signed): Likewise.
122 * dwarf.h (dwarf_vma): Defined with HOST_WIDEST_INT.
123 (dwarf_size_type): Likewise.
125 (byte_get_signed): Likewise.
126 (byte_get_little_endian): Likewise.
127 (byte_get_big_endian): Likewise.
131 * elfedit.c: Include "elfcomm.h". Don't include "aout/ar.h".
132 Call error () instead of non_fatal ().
135 (const_strneq): Likewise.
136 (non_fatal): Likewise.
137 (BYTE_GET): Likewise.
138 (BYTE_PUT): Likewise.
139 (byte_get): Likewise.
140 (byte_put): Likewise.
141 (byte_get_little_endian): Likewise.
142 (byte_get_big_endian): Likewise.
143 (byte_put_little_endian): Likewise.
144 (byte_put_big_endian): Likewise.
145 (adjust_relative_path): Likewise.
146 (archive_info): Likewise.
147 (setup_archive): Likewise.
148 (release_archive): Likewise.
149 (setup_nested_archive): Likewise.
150 (get_archive_member_name): Likewise.
151 (get_archive_member_name_at): Likewise.
152 (make_qualified_name): Likewise.
154 * objdump.c: Include "elfcomm.h".
156 * readelf.c: Include "elfcomm.h". Don't include "aout/ar.h".
158 (BYTE_GET_SIGNED): Removed.
161 (const_strneq): Likewise.
162 (byte_put): Likewise.
163 (byte_put_little_endian): Likewise.
164 (byte_put_big_endian): Likewise.
165 (adjust_relative_path): Likewise.
166 (archive_info): Likewise.
167 (setup_archive): Likewise.
168 (release_archive): Likewise.
169 (setup_nested_archive): Likewise.
170 (get_archive_member_name): Likewise.
171 (get_archive_member_name_at): Likewise.
172 (make_qualified_name): Likewise.
177 * readelf.c (get_archive_member_name): Formatting. Properly
178 handle full size ar_name.
182 * ar.c (print_contents): Don't internationalize strings without words.
183 * dwarf.c (process_extended_line_op): Likewise.
184 (process_debug_info): Likwise.
185 (display_debug_lines_raw): Likewise.
186 (display_debug_lines_decoded): Likewise.
187 (display_debug_abbrev): Likewise.
188 * readelf.c (process_file_header): Likewise.
190 (decode_arm_unwind): Likewise.
191 (process_mips_specific): Likewise.
192 * resrc.c (run_cmd): Likewise.
193 (rcparse_warning): Likewise.
194 * objdump.c (dump_headers): Don't print "Pg".
198 * windmc.c: ,%s' -> `%s' in a number of strings.
202 * readelf.c (get_machine_flags): Deal with Blackfin specific flags.
206 * readelf.c (get_machine_flags): Add loongson-3a.
210 * po/ja.po: Updated Japanese translation.
211 * po/fr.po: Updated French translation.
215 * po/ja.po: Updated Japanese translation.
219 * objcopy.c (copy_main): No need to rename sections when compressing
224 * bin2c.c: Remove internationalization and version report.
225 * Makefile.am: Update bin2c rule.
226 * Makefile.in: Regenerate.
230 * po/binutils.pot: Regenerate
234 * NEWS: Add marker for 2.21.
238 * objdump.c (dump_bfd_header): Don't display
239 BFD_FLAGS_FOR_BFD_USE_MASK bits in abfd->flags.
243 * readelf.c (display_tic6x_attribute): Handle more attributes.
247 * dlltool.c (scan_drectve_symbols): Allow quoted strings for -export
252 * readelf.c (display_tic6x_attribute): Use Tag_ABI_compatibility
253 not hardcoded 32. Display name of this attribute.
257 * addr2line.c (process_file): Set BFD_DECOMPRESS.
259 * objcopy.c (do_debug_sections): New.
260 (OPTION_COMPRESS_DEBUG_SECTIONS): New.
261 (OPTION_DECOMPRESS_DEBUG_SECTIONS): Likewise.
262 (copy_options): Add OPTION_COMPRESS_DEBUG_SECTIONS and
263 OPTION_DECOMPRESS_DEBUG_SECTIONS.
264 (copy_usage): Add --compress-debug-sections and
265 --decompress-debug-sections.
266 (copy_file): Set BFD_COMPRESS or BFD_DECOMPRESS.
267 (copy_section): Replace bfd_get_section_contents with
268 bfd_get_full_section_contents.
269 (copy_main): Handle OPTION_COMPRESS_DEBUG_SECTIONS and
270 OPTION_DECOMPRESS_DEBUG_SECTIONS. Check do_debug_sections to
271 rename DWARF debug sections.
273 * objdump.c (load_specific_debug_section): Replace
274 bfd_get_section_contents with bfd_get_full_section_contents.
275 Remove bfd_uncompress_section_contents.
276 (dump_section): Replace bfd_get_section_contents with
277 bfd_get_full_section_contents.
278 (display_file): Set BFD_DECOMPRESS if needed.
280 * readelf.c (uncompress_section_contents): Set buffer to NULL
281 to indiate decompression failure.
282 (load_specific_debug_section): Always call
283 uncompress_section_contents.
285 * doc/binutils.texi: Document --compress-debug-sections and
286 --decompress-debug-sections.
291 * ar.c (usage): Revert previous change. Describe how 's' can be
292 used as a command letter.
293 * doc/binutils.texi (ar cmdline): Describe how 's' can be used as
299 * readelf.c (display_tic6x_attribute): Handle Tag_ABI_DSBT.
304 * ar.c (usage): Remove spurious 's' from list of accepted command
309 * readelf.c (is_32bit_abs_reloc): Support i960 and microblaze.
310 (is_32bit_pcrel_reloc): Support microblaze.
314 * po/ja.po: Updated Japanese transaltion.
318 * readelf.c (display_tic6x_attribute): Update for attribute
323 * dwarf.c (byte_get_signed): Make it extern.
325 * dwarf.h (byte_get_signed): New.
327 * readelf.c (BYTE_GET_SIGNED): New.
328 (slurp_rela_relocs): Use BYTE_GET_SIGNED on r_addend.
329 (dump_relocations): Properly dump r_addend.
333 * nm.c (value_format_64bit): Define appropriately for __MSVCRT__.
334 (set_print_radix): Update for __MSVCRT__ definition of
339 Fix build with -DDEBUG=7
340 * nlmheader.y (DEBUG token): Rename to DEBUG_K.
344 * bucomm.c (bfd_nonfatal, bfd_nonfatal_message): Don't clobber errno.
348 * bucomm.c (bfd_nonfatal): Flush stdout before output to stderr.
349 (bfd_nonfatal_message, report, list_matching_formats): Likewise.
350 (list_supported_targets): Tidy.
351 * objdump.c (free_only_list): Formatting.
352 (slurp_dynamic_symtab): Non-zero exit status for "not a dynamic
354 (update_source_path): Delete redundant check for NULL filename.
355 (disassemble_bytes): Error if disassemble_fn returns a value
356 that won't increment address.
357 (disassemble_data): Don't capitalize error message.
358 (read_section_stabs): Likewise.
359 (main): Return non-zero exit status on bad options.
364 * nm.c (plugin_target): New.
365 (main): Set plugin_target to "plugin" for --plugin.
366 (display_file): Pass plugin_target to bfd_openr if target
371 * configure: Regenerate.
375 * MAINTAINERS: Add self as ADI Blackfin maintainer.
379 * emul_aix.c (ar_emul_aix_append): Add a target argument
380 and ignore it if it is set.
381 (ar_emul_aix5_append): Likewise.
382 (ar_emul_aix_replace): Likewise.
383 (ar_emul_aix5_replace): Likewise.
387 * ar.c (plugin_target): New.
388 (main): Set plugin_target to "plugin" for --plugin.
389 (open_inarch): Initialize target to plugin_target.
390 (replace_members): Pass plugin_target to ar_emul_replace
393 * binemul.h (ar_emul_append): Add a target argument.
394 (ar_emul_default_append): Likewise.
395 (ar_emul_replace): Likewise.
396 (ar_emul_default_replace): Likewise.
397 (bin_emulation_xfer_struct): Add a target argument to
398 ar_append and ar_replace.
400 * binemul.c (ar_emul_append): Updated. Pass target to bfd_openr.
401 (do_ar_emul_default_append): Likewise.
402 (ar_emul_default_append): Likewise.
403 (ar_emul_replace): Likewise.
404 (ar_emul_default_replace): Likewise.
408 * objcopy.c: Add --interleave-width option to allow interleaving
409 of more than one byte at a time.
410 (copy_width): New variable.
411 (copy_options): Add --interleave-width.
412 (copy_section): When interleaving copy in units of copy_width
414 (copy_main): Parse the new option.
415 * doc/binutils: Document the new option.
416 * NEWS: Mention the new feature.
420 * dwarf.c (decode_location_expression): Fix data adjustment
421 for DW_OP_GNU_implicit_pointer in v3+.
425 * NEWS: Add entry to NEWS for hppa/som.
429 * dwarf.h (debug_info): Add offset_info and dwarf_version fields.
430 * dwarf.c (decode_location_expression): Add offset_size and
431 dwarf_version arguments. Prefix DIE offset with 0x for
432 DW_OP_call{2,4,_ref}. Fix up DW_OP_call_ref operand size,
433 complain if in frame info section. Handle
434 DW_OP_GNU_implicit_pointer.
435 (read_and_display_attr_value, display_debug_loc,
436 display_debug_frames): Adjust decode_location_expression callers.
437 (process_debug_info): Save offset_size and dwarf_version values
438 into debug_information array.
442 * readelf.c (process_section_headers): Mention meaning of 'l'
443 section flag for x86-64 targets.
448 * dwarf.c (regname): New declaration.
449 (decode_location_expression): Print for registers also regname output.
453 * dwarf.c (init_dwarf_regnames_i386, init_dwarf_regnames_x86_64): New.
454 (init_dwarf_regnames): Use them.
455 * dwarf.h: Declare them.
456 * objdump.c (dump_dwarf): Use bfd_get_arch + bfd_get_mach to set up
457 the regnames, rather than using elf_machine_code.
461 * objdump.c (dump_dwarf): Use bfd_arch_bits_per_address.
465 * elfedit.c (input_elf_osabi): New.
466 (output_elf_osbi): Likewise.
468 (elf_osabi): Likewise.
469 (update_elf_header): Support updating ELF OSABI.
470 (make_qualified_name): Break long line.
471 (command_line_switch): Add OPTION_INPUT_OSABI and
474 (usage): Add --input-osabi and --output-osabi.
475 (main): Handle OPTION_INPUT_OSABI and OPTION_OUTPUT_OSABI.
477 * doc/binutils.texi: Document --input-osabi and --output-osabi
482 * readelf.c (display_mips_gnu_attribute): Replace GCC options
483 with a textual description of a MIPS32r2 64-bit FPU.
488 * readelf.c (get_32bit_elf_symbols): Check for a corrupt
490 (get_64bit_elf_symbols): Likewise.
491 (process_symbol_table): Likewise.
492 (process_section_groups): Check for corrupt headers.
493 (process_version_sections): Check for corrupt indicies.
494 (process_corefile_note_segment): Likewise.
498 * readelf.c (get_machine_flags): Detect CF ISA C and EMAC_B
503 * dwarf.c (process_debug_info): Don't subtract section address
504 when calculating location of cu abbrev within section.
509 * readelf.c (get_archive_member_name): Do not read beyond the end
510 of the ar_name field.
514 * dwarf.c (display_debug_lines): Mark file argument unused.
515 Do not try to load .debug_info section.
519 * readelf.c (apply_relocations): D30V is really REL.
524 * binutils/readelf.c: Add support for V850E2 and V850E2V3.
528 * readelf.c: Add Moxie support.
532 * readelf.c (process_program_headers): Don't ignore all zero size
537 * readelf.c (process_section_headers): Update key to flags.
541 * objcopy.c (copy_usage): Tweak previous typofix.
545 * objcopy.c (copy_usage): Fix a typo.
549 * dllwrap.c (main): Make sure is_leading_underscore
550 gets initialized with correct default.
554 * readelf.c (uncompress_section_contents): Avoid gcc-4.6 warning.
558 * objdump.c (load_specific_debug_section): Decompress section contents
559 before applying relocations.
560 * readelf.c (load_specific_debug_section): Update section size after
566 * objcopy.c (is_strip_section): Revert 2006-09-05.
567 (setup_section): Make SHT_GROUP section nobits.
571 * configure: Regenerate.
572 * po/POTFILES.in: Regenerate.
576 * resbin.c (res_to_bin_accelerator): Delete set but unused variables.
581 * windres.c (enum option_values): New enum.
582 (long_options): Use separate option number for --include-dir
584 (main): Separate backwards compatibility check from code to
585 implement --include-dir. Check to see if directory exists and do
586 not complain if it does.
590 * readelf.c (display_tic6x_attribute, process_tic6x_specific):
592 (process_arch_specific): Call process_tic6x_specific for
597 * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long
603 * readelf.c (is_ia64_vms): New function.
604 (dump_relocations): Use it.
605 (get_machine_flags): Display IA-64 OpenVMS flags.
606 (process_program_headers): No error on OpenVMS if no .dynamic section.
607 (struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New
609 (dump_ia64_vms_dynamic_fixups): New function.
610 (dump_ia64_vms_dynamic_relocs): Ditto.
611 (process_ia64_vms_dynamic_relocs): Ditto.
612 (process_relocs): Handle IA-64 OpenVMS relocs.
613 (VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros.
614 (print_vms_time): New function.
615 (dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and
616 DT_IA_64_VMS_LNKFLAGS.
617 (get_ia64_symbol_other): New function.
618 (get_symbol_other): Handle EM_IA_64.
622 * unwind-ia64.c (unw_print_abreg): Add const to special_reg.
623 (UNW_DEC_ABI): Ditto for abiname.
624 (unw_decode_table): Make it const.
628 * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
635 * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.
640 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
641 * Makefile.in: Regenerate.
645 * readelf.c (usage): Add new trace sections for --debug-dump.
646 (process_section_headers): Handle dump of trace sections.
647 * objdump.c (usage): Add new trace sections for --dwarf.
648 * dwarf.h (do_trace_info, do_trace_abbrevs): New variables.
649 (do_trace_aranges): Ditto.
650 (enum dwarf_section_display_enum): Add trace_info, trace_abbrev
651 and trace_aranges literals.
652 * dwarf.c (do_trace_info, do_trace_abbrevs): New variables.
653 (do_trace_aranges): Ditto.
654 (process_debug_info): Add abbrev_sec argument and replace
655 abbrev with abbrev_sec.
656 (load_debug_info): Adjust call of process_debug_info.
657 (display_debug_info): Ditto.
658 (display_trace_info): New function.
659 (dwarf_select_sections_by_names): Add trace_info, trace_abbrevs
660 and trace_aranges sections name.
661 (dwarf_select_sections_all): Also select trace sections.
662 (debug_displays): Reindent. Add entries for the trace sections.
663 * doc/binutils.texi (readelf): Document new --dwarf parameters.
669 * readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a
674 * Makefile.in: Regenerate with automake 1.11.1.
676 * doc/Makefile.in: Ditto.
680 * dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
681 * readelf.c (get_elf_section_flags): Likewise.
682 (process_section_headers): Likewise.
686 * po/es.po: Updated Spanish translation.
690 * dlltool.c (main): Query for bfd's underscoring default for
695 * po/ru.po: Updated Russian translation.
699 * readelf.c (process_program_headers): Replace use of
700 ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
704 * po/binutils.pot: Updated by the Translation project.
705 * po/fi.po: Updated Finnish translation.
706 * po/vi.po: Updated Vietnamese translation.
707 * po/bg.po: New Bulgarian translation.
708 * configure.in (ALL_LINGUAS): Add bg.
709 * configure: Regenerate.
713 * po/fr.po: Updated french translation.
717 * readelf.c: Add _() macros to constant strings that are
720 * readelf.c (display_mips_gnu_attribute): Replace GCC options
721 with a textual description of single and double precision float.
725 * readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
726 (arm_attr_tag_ABI_align8_needed): Remove.
727 (arm_attr_tag_ABI_align8_preserved): Remove.
728 (arm_attr_tag_ABI_HardFP_use): Update text strings.
729 (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
730 (display_arm_attribute): Add decoding of ABI v2.08 attributes.
735 * dwarf.c (process_debug_info): Initialise the signature array.
739 * dwarf.c (process_debug_info): Remove unused variable
740 cu_abbrev_offset_ptr.
741 (display_debug_lines_decoded): Remove unused variable prev_line.
742 * elfedit.c (process_archive): Remove unused variable
744 * ieee.c (ieee_start_compilation_unit): Remove unused variable
746 (ieee_set_type): Remove unused variables info, targetindx and
748 * objdump.c (disassmble_byte): Remove unused variable done_dot.
749 * rddbg.c (read_section_stabs_debugging_info): Remove unused
751 * readelf.c (dump_section_as_strings): Remove unused variable
753 (process_archive): Remove unused variable file_name_size.
754 * stabs.c (parse_stab_string): Mark desc parameter as unused.
755 Remove unused variable lineno.
756 (parse_stab_struct_type): Remove unused variable orig.
757 (stab_demangle_type): Remove unused variables constp, volatilep
762 * configure: Regenerate.
766 * po/vi.po: Updated Vietnamese translation.
770 * dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
772 (display_debug_frames): Handle CIE version 4.
774 * dwarf.c (struct State_Machine_Registers): Add op_index field,
775 change end_sequence type to unsigned char.
776 (reset_state_machine): Clear op_index.
777 (process_extended_line_op): For DW_LNE_set_address clear op_index.
778 (display_debug_lines_raw): Initialize li_max_ops_per_insn.
779 Track op_index state machine register and print it if
780 li_max_ops_per_insn is != 1.
781 (display_debug_lines_decoded): Likewise.
785 * dwarf.c (read_and_display_attr_value): Don't reject
786 dwarf_version == 4. Handle DW_FORM_sec_offset, DW_FORM_flag_present
788 (process_debug_info): Handle cu_version == 4.
789 (display_debug_lines_raw, display_debug_lines_decoded): Handle
794 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
795 * Makefile.in: Regenerate.
799 * MAINTAINERS: Add self as TI C6X maintainer.
800 * NEWS: Add news entry for TI C6X support.
801 * readelf.c: Include elf/tic6x.h.
802 (guess_is_rela): Handle EM_TI_C6000.
803 (dump_relocations): Likewise.
804 (get_tic6x_dynamic_type): New.
805 (get_dynamic_type): Call it.
806 (get_machine_flags): Handle EF_C6000_REL.
807 (get_osabi_name): Handle machine-specific values only for relevant
808 machines. Handle C6X values.
809 (get_tic6x_segment_type): New.
810 (get_segment_type): Call it.
811 (get_tic6x_section_type_name): New.
812 (get_section_type_name): Call it.
813 (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
818 * doc/binutils.texi (readelf) <unwind information>: Mention support for
823 * readelf.c (decode_arm_unwind): Increase buf size to 9 byte.
827 * readelf.c (dump_arm_unwind): Warning fix.
831 * MAINTAINERS: Update my email address. List Tristan Gingold
832 as the release branch maintainer.
836 * readelf.c (get_ver_flags): Handle VER_FLG_INFO.
840 * NEWS: Document .ARM.exidx / .ARM.extab support.
842 * dwarf.c (read_leb128): Make non-static.
843 * dwarf.h (read_leb128): Declare.
844 * readelf.c (REMOVE_ARCH_BITS): Define.
845 (find_section_by_address): New.
846 (read_uleb128): Move higher. Use read_leb128 from dwarf.c.
847 (find_symbol_for_address): Handle the Thumb bit for ARM, by
848 using REMOVE_ARCH_BITS.
849 (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name)
850 (arm_free_section, arm_section_get_word, decode_arm_unwind)
851 (dump_arm_unwind, arm_process_unwind): New.
852 (process_unwind): Handle ARM.
856 * MAINTAINERS: Update my email address.
861 * doc/binutils.texi (windmc): Fix synopsis and description of
866 * readelf.c (get_group_flags): Return empty string when flags zero.
867 Add space in other returned values.
868 (process_section_groups): Adjust format string.
872 * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of
873 newly permitted attribute values.
874 (arm_attr_tag_Virtualization_use): Likewise.
875 (arm_attr_tag_DIV_use): Add description of new attribute.
876 (arm_attr_tag_MPextension_use_legacy): Likewise.
880 * po/vi.po: Updated Vietnamese translation.
884 * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
885 NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
889 * dwarf.c (display_debug_frames): Skip the 'S' character in CFI
890 'z' augmentation strings.
894 * objdump.c (disassemble_bytes): Clear aux->reloc before printing
895 a new address, so as not to reuse a previous, non-related reloc.
899 * readelf.c (get_note_type): Handle NT_X86_XSTATE.
903 * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
909 * objdump.c (only): Replace with linked list.
910 (only_size, only_used): Replace with only_list.
911 (process_section_p): Set seen field on matches sections.
912 (add_only): New function.
913 (free_only_list): New function.
914 (disassemble_section): Check only_list.
915 (main): Use add_only and free_only_list.
919 * Makefile.am (bin2c): Add libintl dependance and library.
920 * Makefile.in: Regenerate.
924 * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS.
928 * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
929 with non-ordinary files like /dev/null.
934 * readelf.c (process_file_header): Handle e_phnum extension.
938 * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
939 and DW_AT_GNAT_descriptive_type.
943 * ar.c (main): Use lbasename.
945 * objdump.c (update_source_path): Ditto.
949 * makefile.vms (CFLAGS): Turns warnings into informational messages.
954 * NEWS: Mention --dyn-syms for readelf.
956 * readelf.c (do_dyn_syms): New.
957 (OPTION_DYN_SYMS): Likewise.
958 (options): Add "dyn-syms".
959 (usage): Add --dyn-syms.
960 (parse_args): Handle OPTION_DYN_SYMS.
961 (process_symbol_table): Handle do_dyn_syms.
962 (process_object): Likewise.
963 (process_archive): Likewise.
965 * doc/binutils.texi: Document --dyn-syms for readelf. Mention
966 symbol hash tables for -D.
970 * NEWS: Mention addition of elfedit.
972 * po/fi.po: Updated Finnish translation.
976 * Makefile.in: Regenerate.
977 * configure: Regenerate.
978 * doc/Makefile.in: Regenerate.
982 * version.c (print_version): Change to "Copyright 2010".
986 * elfedit.c (input_elf_type): New.
987 (output_elf_type): Likewise.
988 (elf_type): Likewise.
989 (update_elf_header): Support updating ELF file type.
990 (command_line_switch): Add OPTION_INPUT_TYPE and
993 (usage): Add --input-type and --output-type.
994 (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE. Check
995 one of --output-mach and --output-type must be specified.
997 * doc/binutils.texi: Document --input-type and --output-type
1002 * doc/binutils.texi: Fix a typo.
1006 * elfedit.c (update_elf_header): Don't change input_elf_class
1007 nor input_elf_machine if they are -1.
1011 * ar.c: Remove bfd_special_undocumented_glue prototype.
1015 * elfedit.c (update_elf_header): Reformat.
1019 * readelf.c (usage): Fix indent for --symbols.
1023 * doc/binutils.texi: Replace -histogram with --histogram.
1028 * Makefile.am (ELFEDIT_PROG): New.
1029 (bin_PROGRAMS): Add $(ELFEDIT_PROG).
1030 (CFILES): Add elfedit.c.
1031 (elfedit_DEPENDENCIES): New.
1032 (elfedit_SOURCES): Likewise.
1033 (elfedit_LDADD): Likewise.
1034 * Makefile.in: Regenerated.
1038 * doc/binutils.texi: Document elfedit.
1040 * doc/Makefile.am (man_MANS): Add elfedit.1.
1042 * doc/Makefile.in: Regenerated.
1046 * nm.c (usage): Remove extra blanks.
1050 * objcopy.c: Update copyright.
1051 * readelf.c: Likewise.
1056 * objcopy.c (copy_object): Remove "Warning: " from error
1062 * readelf.c (dump_section_as_strings): Use two separate
1063 invocations of printf() in order to work around bugs in
1064 the Solaris 8 implementation.
1068 * po/ru.po: Updated Russian translation.
1070 For older changes see ChangeLog-2009
1072 Copyright (C) 2010 Free Software Foundation, Inc.
1074 Copying and distribution of this file, with or without modification,
1075 are permitted in any medium without royalty provided the copyright
1076 notice and this notice are preserved.
1082 version-control: never