diff options
-rw-r--r-- | bfd/ChangeLog | 5148 | ||||
-rw-r--r-- | bfd/ChangeLog-2009 | 5154 | ||||
-rw-r--r-- | bfd/xcofflink.c | 2 | ||||
-rw-r--r-- | binutils/ChangeLog | 1348 | ||||
-rw-r--r-- | binutils/ChangeLog-2009 | 1355 | ||||
-rw-r--r-- | gas/ChangeLog | 2905 | ||||
-rw-r--r-- | gas/ChangeLog-2009 | 2912 | ||||
-rw-r--r-- | gas/testsuite/ChangeLog | 1765 | ||||
-rw-r--r-- | gas/testsuite/ChangeLog-2009 | 1772 | ||||
-rw-r--r-- | gprof/ChangeLog | 209 | ||||
-rw-r--r-- | gprof/ChangeLog-2009 | 216 | ||||
-rw-r--r-- | ld/ChangeLog | 1636 | ||||
-rw-r--r-- | ld/ChangeLog-2009 | 1643 | ||||
-rw-r--r-- | ld/testsuite/ChangeLog | 1736 | ||||
-rw-r--r-- | ld/testsuite/ChangeLog-2009 | 1743 | ||||
-rw-r--r-- | opcodes/ChangeLog | 1794 | ||||
-rw-r--r-- | opcodes/ChangeLog-2009 | 1801 |
17 files changed, 16605 insertions, 16534 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 5d283c9..44e6334 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -3,5153 +3,7 @@ Fix -Wshadow warnings (seen on ppc-aix) * xcofflink.c: Replace finfo by flinfo throughout. -2009-12-31 Cary Coutant <ccoutant@google.com> - - * dwarf2.c (struct line_sequence): New struct. - (struct line_info_table): Add num_sequences, remove last_line, - add sequences. - (add_line_info): Add new sequences as necessary. - (compare_sequences): New function. - (sort_line_sequences): New function. - (decode_line_info): Initialize new fields in line table. - Call sort_line_sequences. - (lookup_address_in_line_info_table): Binary search for proper - sequence. - -2009-12-28 Daniel Gutson <dgutson@codesourcery.com> - - * elf32-arm.c (elf32_arm_final_link_relocate): limits - fixed. - -2009-12-28 Daniel Gutson <dgutson@codesourcery.com> - - * elf-attrs.c (_bfd_elf_merge_object_attributes): Error - message rephrased. - -2009-12-21 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c: Delete my email address. - -2009-12-18 Ulrich Weigand <uweigand@de.ibm.com> - - * elf.c (elfcore_grok_s390_high_gprs): New function. - (elfcore_grok_note): Handle NT_S390_HIGH_GPRS notes. - (elfcore_write_s390_high_gprs): New function. - (elfcore_write_register_note): Call it. - -2009-12-17 Alan Modra <amodra@bigpond.net.au> - - PR ld/11088 - * elf32-ppc.c (update_plt_info): Clear sec here when addend is - less than 32768.. - (ppc_elf_check_relocs): ..rather than doing so here. Ignore new - relax relocs. - (ppc_elf_gc_sweep_hook): Don't segfault when symbol hiding has - removed plt_entry records. - (ppc_elf_tls_setup): Handle PIE calls to __tls_get_addr correctly. - (ppc_elf_tls_optimize): Likewise. Also dec __tls_get_addr refcount - when optimizing code using new tlsgd and tlsld marker relocs. - (ppc_elf_relax_section): Differentiate relaxed PLTREL24 relocs - from ADDR24 relocs using plt or glink. Don't clear the addend - for R_PPC_RELAX_PLTREL24. - (ppc_elf_relocate_section): Correctly handle addends on relaxed - PLTREL24 relocs. - -2009-12-17 Alan Modra <amodra@bigpond.net.au> - - PR ld/11088 - * elf64-ppc.c (ppc64_elf_gc_sweep_hook): Don't abort if symbol - hiding has nulled out plt.plist. - -2009-12-15 H.J. Lu <hongjiu.lu@intel.com> - - * opncls.c (bfd_opnr_iovec): Replace _XXX with XXX_P in - parameters. - - * tekhex.c (pass_over): Replace eof with is_eof. - -2009-12-15 Tristan Gingold <gingold@adacore.com> - - * mach-o.h (bfd_mach_o_uuid_command): Remove section field. - * mach-o.c (bfd_mach_o_scan_read_uuid): Do not create a section - from this command. - -2009-12-15 Tristan Gingold <gingold@adacore.com> - - * mach-o.c (struct mach_o_section_name_xlat): Add flags field. - (dwarf_section_names_xlat): Add section flags. - (text_section_names_xlat): Ditto. - (data_section_names_xlat): Ditto. - (bfd_mach_o_convert_section_name_to_bfd): Now return name and section - flags by reference. - (bfd_mach_o_make_bfd_section): Use section flags when know, otherwise - try to guess. - -2009-12-14 Doug Kwan <dougkwan@google.com> - - * opncls.c (bfd_opnr_iovec): Rename parameters to avoid shawdowed - variable warnings. - * bfd-in2.h: Regnenerate. - -2009-12-12 Nick Clifton <nickc@redhat.com> - - * coff-arm.c (coff_arm_rtype_to_howto): Fix shadowed variable - warning. - -2009-12-11 Tristan Gingold <gingold@adacore.com> - - * som.c (bfd_som_set_subsection_attributes) - (bfd_section_from_som_symbol, som_reloc_queue_fix): Fix shadowed - variable warnings. - * cache.c (close_one): Likewise. - -2009-12-11 Nick Clifton <nickc@redhat.com> - - * warning.m4 (GCC_WARN_CFLAGS): Add -Wshadow. - * configure: Regenerate. - * Makefile.in: Regenerate. - * doc/Makefile.in: Regenerate. - * aout-arm.c: Fix shadowed variable warnings. - * aout-tic30.c: Likewise. - * aoutx.h: Likewise. - * archive.c: Likewise. - * coff-alpha.c: Likewise. - * coff-i386.c: Likewise. - * coff-x86_64.c: Likewise. - * coffgen.c: Likewise. - * dwarf2.c: Likewise. - * ecoff.c: Likewise. - * elf-eh-frame.c: Likewise. - * elf-m10300.c: Likewise. - * elf.c: Likewise. - * elf32-arm.c: Likewise. - * elf32-avr.c: Likewise. - * elf32-bfin.c: Likewise. - * elf32-cr16.c: Likewise. - * elf32-i386.c: Likewise. - * elf32-ip2k.c: Likewise. - * elf32-lm32.c: Likewise. - * elf32-m68hc1x.c: Likewise. - * elf32-microblaze.c: Likewise. - * elf32-ppc.c: Likewise. - * elf32-rx.c: Likewise. - * elf32-score.c: Likewise. - * elf32-score7.c: Likewise. - * elf32-sh.c: Likewise. - * elf32-spu.c: Likewise. - * elf32-v850.c: Likewise. - * elf32-xtensa.c: Likewise. - * elf64-hppa.c: Likewise. - * elf64-ppc.c: Likewise. - * elf64-x86-64.c: Likewise. - * elflink.c: Likewise. - * elfxx-ia64.c: Likewise. - * elfxx-mips.c: Likewise. - * elfxx-sparc.c: Likewise. - * hash.c: Likewise. - * ieee.c: Likewise. - * libbfd.c: Likewise. - * mach-o.c: Likewise. - * merge.c: Likewise. - * nlm32-sparc.c: Likewise. - * oasys.c: Likewise. - * opncls.c: Likewise. - * pdp11.c: Likewise. - * peXXigen.c: Likewise. - * pef.c: Likewise. - * versados.c: Likewise. - * vms-gsd.c: Likewise. - * vms-hdr.c: Likewise. - * vms-tir.c: Likewise. - * vms.c: Likewise. - * xcofflink.c: Likewise. - * xsym.c: Likewise. - * xtensa-isa.c: Likewise. - -2009-12-10 Maciej W. Rozycki <macro@codesourcery.com> - - * elfxx-mips.c (mips_elf_calculate_relocation): Correct handling - of undefined symbols. - -2009-12-09 Daniel Jacobowitz <dan@codesourcery.com> - - * elf32-arm.c (elf32_arm_next_input_section): Skip sections without - SEC_CODE. - -2009-12-08 Alan Modra <amodra@bigpond.net.au> - - * elf.c (write_zeros): New function. - (assign_file_positions_for_load_sections): Allocate file space for - NOBITS sections that are followed by PROGBITS sections in a segment. - -2009-12-03 Tristan Gingold <gingold@adacore.com> - - * mach-o.c (bfd_mach_o_make_bfd_section): Force debug flags for - all sections of the __DWARF segment. - -2009-12-03 Alan Modra <amodra@bigpond.net.au> - - PR ld/11047 - * elf32-ppc.c (ppc_elf_relocate_section): Delete __tls_get_addr - symbol reference from relocs belonging to calls that are - optimized away. - * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. - -2009-12-02 Jerker Bäck <jerker.back@gmail.com> - - PR binutils/11017 - * coff-i386.h (COFF_PAGE_SIZE): Definition moved to coff/i386.h - -2009-11-30 Joseph Myers <joseph@codesourcery.com> - - * configure: Regenerate. - -2009-11-26 Per Øyvind Karlsen <peroyvind@mandriva.org> - - * plugin.c (bfd_plugin_bfd_copy_link_hash_symbol_type): Define. - -2009-11-24 Joel Brobecker <brobecker@adacore.com> - - * acinclude.m4: Add include of ../config/zlib.m4. - * configure.in: AM_ZLIB to check for zlib support. - * configure: Regenerate. - -2009-11-23 Paul Brook <paul@codesourcery.com> - - * libbfd-in.h (_bfd_generic_copy_link_hash_symbol_type): Add - prototype. - * elf-bfd.h (_bfd_elf_copy_link_hash_symbol_type): Add prototype. - * linker.c (_bfd_generic_copy_link_hash_symbol_type): New function. - * elflink.c (_bfd_elf_copy_link_hash_symbol_type): New function. - * targets.c (BFD_JUMP_TABLE_LINK, struct bfd_target): Add - _copy_link_hash_symbol_type. - * coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Add - _bfd_generic_copy_link_hash_symbol_type. - * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Add - _bfd_generic_copy_link_hash_symbol_type. - * aout-adobe.c (aout_32_bfd_copy_link_hash_symbol_type): Define. - * aout-target.h (MY_bfd_copy_link_hash_symbol_type): Define. - * aout-tic30.c (MY_bfd_copy_link_hash_symbol_type): Define. - * binary.c (binary_bfd_copy_link_hash_symbol_type): Define. - * bout.c (b_out_bfd_copy_link_hash_symbol_type): Define. - * coffcode.h (coff_bfd_copy_link_hash_symbol_type): Define. - * elfxx-target.h (bfd_elfNN_bfd_copy_link_hash_symbol_type): Define. - * i386msdos.c (msdos_bfd_copy_link_hash_symbol_type): Define. - * i386os9k.c (os9k_bfd_copy_link_hash_symbol_type): Define. - * ieee.c (ieee_bfd_copy_link_hash_symbol_type): Define. - * ihex.c (ihex_bfd_copy_link_hash_symbol_type): Define. - * libecoff.h (_bfd_ecoff_bfd_copy_link_hash_symbol_type): Define. - * mach-o.c (bfd_mach_o_bfd_copy_link_hash_symbol_type): Define. - * mmo.c (mmo_bfd_copy_link_hash_symbol_type): Define. - * nlm-target.h (nlm_bfd_copy_link_hash_symbol_type): Define. - * oasys.c (oasys_bfd_copy_link_hash_symbol_type): Define. - * pef.c (bfd_pef_bfd_copy_link_hash_symbol_type): Define. - * ppcboot.c (ppcboot_bfd_copy_link_hash_symbol_type): Define. - * som.c (som_bfd_copy_link_hash_symbol_type): Define. - * srec.c (srec_bfd_copy_link_hash_symbol_type): Define. - * tekhex.c (tekhex_bfd_copy_link_hash_symbol_type): Define. - * versados.c (versados_bfd_copy_link_hash_symbol_type): Define. - * vms.c (vms_bfd_copy_link_hash_symbol_type): Define. - * xsym.c (bfd_sym_bfd_copy_link_hash_symbol_type): Define. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - -2009-11-19 Tristan Gingold <gingold@adacore.com> - - * coff-rs6000.c (rs6000coff_vec): Use generic routines instead of - hard-coded casts. - (pmac_xcoff_vec): Ditto. - * coff64-rs6000.c (rs6000coff64_vec): Ditto. - (aix5coff64_vec): Ditto. - -2009-11-18 Alan Modra <amodra@bigpond.net.au> - - * bfd-in.h (_bfd_elf_ppc_at_tls_transform): Declare. - * bfd-in2.h: Regenerate. - * elf64-ppc.c (ppc64_elf_relocate_section): Move code for R_PPC64_TLS - insn optimisation to.. - * elf32-ppc.c (_bfd_elf_ppc_at_tls_transform): ..here. New function. - (ppc_elf_relocate_section): Use it. - -2009-11-18 Alan Modra <amodra@bigpond.net.au> - - * targets.c: Don't include alloca-conf.h. - (bfd_get_target_info): Don't use alloca. - -2009-11-17 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/10955 - * elfxx-ia64.c (elfNN_ia64_update_short_info): Also skip ABS - sections. - -2009-11-17 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/10955 - * elfxx-ia64.c (elfNN_ia64_link_hash_table): Update comments. - (elfNN_ia64_update_short_info): Remove "->output_section" from - ia64_info->max_short_sec and ia64_info->min_short_sec. - (elfNN_ia64_choose_gp): Likewise. - (elfNN_ia64_relax_section): Pass tsec->output_section to - elfNN_ia64_update_short_info. - -2009-11-17 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/10955 - * elfxx-ia64.c (elfNN_ia64_link_hash_table): Add max_short_sec, - max_short_offset, min_short_sec and min_short_offset. - (elfNN_ia64_update_short_info): New. - (elfNN_ia64_relax_section): Update max_short_sec, - max_short_offset, min_short_sec and min_short_offset. - (elfNN_ia64_choose_gp): Use min_short_sec/max_short_sec if - they are set. - -2009-11-17 Paul Brook <paul@codesourcery.com> - Daniel Jacobowitz <dan@codesourcery.com> - - * elf32-arm.c (using_thumb_only, arch_has_arm_nop, - arch_has_thumb2_nop): Handle TAG_CPU_ARCH_V7E_M. - (tag_cpu_arch_combine): Ditto. Correct MAX_TAG_CPU_ARCH test. - -2009-11-17 Ulrich Weigand <uweigand@de.ibm.com> - - * elf32-spu.c (struct spu_link_hash_table): Remove overlay_fixed, - reserved, and extra_stack_space members. - (spu_elf_auto_overlay): Use auto_overlay_fixed, auto_overlay_reserved, - and extra_stack_space members of htab->params instead. - -2009-11-17 Tristan Gingold <gingold@adacore.com> - - * targets.c: Include alloca-conf.h - -2009-11-16 Kai Tietz <kai.tietz@onevision.com> - - * targets.c (bfd_get_target_info): New function. - (_bfd_find_arch_match): New function. - * bfd-in2.h: Regenerated. - -2009-11-12 Nick Clifton <nickc@redhat.com> - - * po/ru.po: Updates Russian translation. - -2009-11-11 Nick Clifton <nickc@redhat.com> - - * po/id.po: Updated Indonesian translation. - -2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com> - - * configure.in: Call ACX_LARGEFILE. Stop calling AC_PLUGINS, - AC_SYS_LARGEFILE and checking the Solaris largefile exception. - * aclocal.m4: Regenerate. - * configure: Regenerate. - -2009-11-09 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/10911 - * elflink.c (elf_link_output_extsym): Don't return on - STT_GNU_IFUNC symbol when stripping. - -2009-11-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * elf32-hppa.c (elf32_hppa_final_link): Don't sort unwind information - in a relocatable link. - * elf64-hppa.c (elf_hppa_final_link): Likewise. - -2009-11-05 Nick Clifton <nickc@redhat.com> - - * elflink.c (elf_link_add_object_symbols): Improve error - message generated when a symbol is left unresolved because a - --no-add-needed command line option has prevented the - inclusion of the DSO defining it. - -2009-11-03 Alan Modra <amodra@bigpond.net.au> - Ulrich Weigand <uweigand@de.ibm.com> - - * elf32-spu.c (mark_functions_via_relocs): Handle non-branch relocs - (jump tables or other references to code labels) as well. - -2009-11-02 Paul Brook <paul@codesourcery.com> - - * elf32-arm.c (elf32_arm_merge_eabi_attributes): Handle VFPv4 - attributes. - -2009-11-02 Alan Modra <amodra@bigpond.net.au> - - * elflink.c (elf_link_add_object_symbols): Don't force debug - symbols local. - -2009-10-29 Johan Kristell <johankri@axis.com> - - * elf32-cris.c (cris_elf_plt_sym_val): New function. - (elf_backend_plt_sym_val): Define. - -2009-10-27 Kai Tietz <kai.tietz@onevision.com> - - * peXXigen.c (bfdver.h): Add include. - (LINKER_VERSION): Do calculation based on BFD_VERSION. - -2009-10-25 Maciej W. Rozycki <macro@linux-mips.org> - - * elf32-vax.c (elf_vax_relocate_section): Correct assertion. - -2009-10-25 Maciej W. Rozycki <macro@linux-mips.org> - - * elf32-vax.c (elf_vax_plt_entry): Fix formatting. - -2009-10-25 Maciej W. Rozycki <macro@linux-mips.org> - - * elf32-vax.c (elf_vax_relocate_section): Fix a typo. - -2009-10-23 Kai Tietz <kai.tietz@onevision.com> - - * coff-x86_64.c (coff_amd64_rtype_to_howto): Subtract offset - of R_AMD64_PCRLONG_<X> relocations from addend. - -2009-10-23 Alan Modra <amodra@bigpond.net.au> - - * plugin.c: Produce empty object if not BFD_SUPPORTS_PLUGINS. - -2009-10-20 Alan Modra <amodra@bigpond.net.au> - - PR binutils/10802 - * opncls.c (_maybe_make_executable): Make DYNAMIC files executable. - -2009-10-19 Hans-Peter Nilsson <hp@axis.com> - - * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_DTPREL>: - Don't subtract the size of the TLS block for non-shared objects - from the relocation. - -2009-10-17 Arnold Metselaar <arnold.metselaar@planet.nl> - - * coff-z80.c (z80coff_vec): Allow sections to be of type - SEC_CODE or SEC_DATA - -2009-10-16 Alan Modra <amodra@bigpond.net.au> - - PR binutils/10785 - * coff-alpha.c (alpha_ecoff_get_elt_at_filepos): Don't bfd_alloc - bim and bim->buffer. bfd_malloc instead. - * peicode.h (pe_ILF_build_a_bfd): Similarly. - (ILF_DATA_SIZE): Don't include bim. - * opncls.c (bfd_close): Test bim->buffer non-NULL before freeing. - -2009-10-14 Alan Modra <amodra@bigpond.net.au> - - * aoutx.h (aout_link_check_ar_symbols): Typo fix. - -2009-10-13 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/10763 - * elf32-i386.c (elf_i386_finish_dynamic_symbol): Declare plt - earlier. - -2009-10-13 Alan Modra <amodra@bigpond.net.au> - - * elflink.c (_bfd_elf_merge_symbol): Revert previous patch. - -2009-10-12 Roland McGrath <roland@frob.com> - - * elflink.c (elf_link_add_object_symbols, _bfd_elf_merge_symbol): - Fix %s that should be %B in several message formats. - -2009-10-10 Alan Modra <amodra@bigpond.net.au> - - * cofflink.c (_bfd_coff_link_input_bfd): Skip section symbols for - excluded output sections. - -2009-10-09 Tristan Gingold <gingold@adacore.com> - - * mach-o.c (bfd_mach_o_read_command): Handle BFD_MACH_O_LC_RPATH. - (bfd_mach_o_bfd_print_private_bfd_data): Ditto. - -2009-10-09 Tristan Gingold <gingold@adacore.com> - - * mach-o.c (bfd_mach_o_scan_read_symtab_symbols): Rename to - bfd_mach_o_read_symtab_symbols. - (bfd_mach_o_scan_write_thread): Rename to bfd_mach_o_write_thread. - (bfd_mach_o_scan_write_relocs): Rename to bfd_mach_o_write_relocs. - (bfd_mach_o_scan_write_section_32): Rename to - bfd_mach_o_write_section_32. - (bfd_mach_o_scan_write_section_64): Rename to - bfd_mach_o_write_section_64. - (bfd_mach_o_scan_write_segment_32): Rename to - bfd_mach_o_write_segment_32. - (bfd_mach_o_scan_write_segment_64): Rename to - bfd_mach_o_write_segment_64. - (bfd_mach_o_scan_write_symtab): Rename to bfd_mach_o_write_symtab. - (bfd_mach_o_scan_read_section_32): Rename to - bfd_mach_o_read_section_32. - (bfd_mach_o_scan_read_section_64): Rename to - bfd_mach_o_read_section_64. - (bfd_mach_o_scan_read_section): Rename to bfd_mach_o_read_section. - (bfd_mach_o_scan_read_symtab_strtab): Rename to - bfd_mach_o_read_symtab_strtab. - (bfd_mach_o_scan_read_symtab_symbol): Rename to - bfd_mach_o_read_symtab_symbol. - (bfd_mach_o_scan_read_dysymtab_symbol): Rename to - bfd_mach_o_read_dysymtab_symbol. - (bfd_mach_o_scan_read_dylinker): Rename to bfd_mach_o_read_dylinker. - (bfd_mach_o_scan_read_dylib): Rename to bfd_mach_o_read_dylib. - (bfd_mach_o_scan_read_prebound_dylib): Rename to - bfd_mach_o_read_prebound_dylib. - (bfd_mach_o_scan_read_thread): Rename to bfd_mach_o_read_thread. - (bfd_mach_o_scan_read_dysymtab): Rename to bfd_mach_o_read_dysymtab. - (bfd_mach_o_scan_read_symtab): Rename to bfd_mach_o_read_symtab. - (bfd_mach_o_scan_read_uuid): Rename to bfd_mach_o_read_uuid. - (bfd_mach_o_scan_read_linkedit): Rename to bfd_mach_o_read_linkedit. - (bfd_mach_o_scan_read_str): Rename to bfd_mach_o_read_str. - (bfd_mach_o_scan_read_dyld_info): Rename to bfd_mach_o_read_dyld_info. - (bfd_mach_o_scan_read_segment): Rename to bfd_mach_o_read_segment. - (bfd_mach_o_scan_read_segment_32): Rename to - bfd_mach_o_read_segment_32. - (bfd_mach_o_scan_read_segment_64): Rename to - bfd_mach_o_read_segment_64. - (bfd_mach_o_scan_read_command): Rename to bfd_mach_o_read_command. - * mach-o.h (bfd_mach_o_scan_read_dysymtab_symbol): Rename to - bfd_mach_o_read_dysymtab_symbol. - -2009-10-09 Tristan Gingold <gingold@adacore.com> - - * mach-o.c (bfd_mach_o_section_get_entry_size): Moved. - (bfd_mach_o_section_get_nbr_indirect): Ditto. - (bfd_mach_o_get_synthetic_symtab): New function. - (bfd_mach_o_print_private_header): Print the number of commands - in decimal. - * mach-o.h (bfd_mach_o_get_synthetic_symtab): Add prototype. - * mach-o-target.c: Do not defined bfd_mach_o_get_synthetic_symtab. - -2009-10-08 Tristan Gingold <gingold@adacore.com> - - * config.bfd: Add bfd_mach_o_i386_vec in x86_64-darwin targ_selvecs. - -2009-10-06 H.J. Lu <hongjiu.lu@intel.com> - - * bfd-in2.h: Regenerated. - -2009-10-02 Alan Modra <amodra@bigpond.net.au> - - * aout-cris.c (N_SHARED_LIB): Don't define. - * hp300bsd.c (N_SHARED_LIB): Don't define. - * i386bsd.c (N_SHARED_LIB): Don't define. - * i386linux.c (N_SHARED_LIB): Don't define. - * i386lynx.c (N_SHARED_LIB): Don't define. - * m68klinux.c (N_SHARED_LIB): Don't define. - * m88kmach3.c (N_SHARED_LIB): Don't define. - * mipsbsd.c (N_SHARED_LIB): Don't define. - * newsos3.c (N_SHARED_LIB): Don't define. - * pc532-mach.c (N_SHARED_LIB): Don't define. - * pdp11.c (N_SHARED_LIB): Don't define. - * sparclinux.c (N_SHARED_LIB): Don't define. - * vaxbsd.c (N_SHARED_LIB): Don't define. - -2009-10-01 Dave Korn <dave.korn.cygwin@gmail.com> - - * cofflink.c (_bfd_coff_generic_relocate_section): Look for the aux - symbol for a weak undef in the auxbfd, not the input bfd. - -2009-10-01 Ulrich Weigand <uweigand@de.ibm.com> - - * elf32-spu.c (spu_elf_auto_overlay): Insert icache linker script - after .toe instead of before .text section. Set the LMA of all - overlay sections to their icache IA address. - (spu_elf_find_overlays): Determine icache set id without reference - to the LMA. - -2009-09-30 Tristan Gingold <gingold@adacore.com> - - * configure.com: Use hosts/alphavms.h on both alpha and ia64 VMS. - -2009-09-29 H.J. Lu <hongjiu.lu@intel.com> - - * elf64-x86-64.c (elf64_x86_64_append_rela): New. - (elf64_x86_64_relocate_section): Use it. - (elf64_x86_64_finish_dynamic_symbol): Likewise. - -2009-09-29 DJ Delorie <dj@redhat.com> - - * Makefile.am (ALL_MACHINES): Add cpu-rx.lo. - (ALL_MACHINES_CFILES): Add cpu-rx.c. - (BFD32_BACKENDS): Add elf32-rx.lo. - (BFD32_BACKENDS_CFILES): Add elf32-rx.c. - * archures.c (bfd_architecture): Add bfd_arch_rx and bfd_mach_rx. - Export bfd_rx_arch. - (bfd_archures_list): Add bfd_rx_arch. - * config.bfd: Add entry for rx-*-elf. - * configure.in: Add entries for bfd_elf32_rx_le_vec and - bfd_elf32_rx_be_vec. - * reloc.c: Add RX relocations. - * targets.c: Add RX target vectors. - * Makefile.in: Regenerate. - * bfd-in2.h: Regenerate. - * configure: Regenerate. - * libbfd.h: Regenerate. - * cpu-rx.c: New file. - * elf32-rx.c: New file. - -2009-09-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com> - - * elf32-cr16.c (elf32_cr16_relocate_section): Removed - info->relocatable to fix the ld/testsuites/ld-elf/linkonce1 test case. - -2009-09-28 Nick Clifton <nickc@redhat.com> - - PR 10478: Accepting Solaris binaries. - * elf.c (bfd_section_from_shdr): Allow SHN_BEFORE and SHN_AFTER - section link values in x86 binaries. - * elfcode.h (elf_object_p): Likewise. - -2009-09-28 Philippe De Muyter <phdm@macqel.be> - - * elf32-m68k.c (elf_m68k_final_write_processing): New function. - (elf_backend_final_write_processing): Macro defined as above function. - -2009-09-25 Martin Thuresson <martint@google.com> - - Update sources to make alpha and arm targets compile cleanly with - -Wc++-compat: - * ecoff.c: Add casts. - * ecofflink.c: Add casts. - * elf64-alpha.c: Add casts. - (struct alpha_elf_got_entry, struct alpha_elf_reloc_entry): Move - to top level. - (SKIP_HOWTO): Use enum name. - * elf32-arm.c: Add casts. - (elf32_arm_vxworks_bed): Update code to avoid multiple - declarations. - (struct map_stub): Move to top level. - -2009-09-24 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/10630 - * elflink.c (elf_link_output_extsym): Turn off visibility on - local symbol. - (bfd_elf_final_link): Turn off visibility on dynamic local - symbol. - -2009-09-24 Alan Modra <amodra@bigpond.net.au> - - PR binutils/10654 - * dwarf2.c (lookup_address_in_line_info_table): Remove workaround - for invalid location lists generated by gcc-2.95 and Intel 6.0 C++. - Remove "function" parm, adjust caller. - -2009-09-23 Matt Rice <ratmice@gmail.com> - - * bfd-in.h (bfd_elf_size_dynamic_sections): Add audit and depaudit - arguments. - * elflink.c (bfd_elf_size_dynamic_sections): Generate DT_AUDIT, - DT_DEPAUDIT from audit/depaudit arguments. - (elf_finalize_dynstr): Finalize DT_AUDIT and DT_DEPAUDIT strtab entries. - (elf_link_add_object_symbols): Set dt_audit target data when finding a - DT_AUDIT. - * bfd-in2.h: Regenerate. - * bfd-elf.h: Add dt_audit to elf_obj_tdata, and elf_dt_audit macro. - -2009-09-23 Jie Zhang <jie.zhang@analog.com> - - * elf32-bfin.c (_bfinfdpic_size_got_plt): Make sure empty - .rel.plt and .plt sections are removed. - (elf32_bfinfdpic_size_dynamic_sections): Remove empty .dynbss - section. Remove the duplicated removing of empty .rel.plt - section. - -2009-09-21 Richard Sandiford <rdsandiford@googlemail.com> - - * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Extend previous - patch to handle the new personality relaxation. - -2009-09-21 Richard Sandiford <rdsandiford@googlemail.com> - - * elf-eh-frame.c (make_pc_relative): New function. - (_bfd_elf_write_section_eh_frame): Use it. - -2009-09-21 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (TLS_GET_ADDR_GLINK_SIZE): Define. - (ADD_3_12_2, BEQLR, CMPWI_11_0, LWZ_11_3, LWZ_12_3): Define. - (MR_0_3, MR_3_0): Define. - (struct ppc_elf_link_hash_table): Add no_tls_get_addr_opt. - (ppc_elf_select_plt_layout): Save emit_stub_syms param earlier. - (ppc_elf_tls_setup): Add no_tls_get_addr_opt param and save to hash - table. Check for presense of __tls_get_addr_opt - (allocate_dynrelocs): Increase glink entry size for __tls_get_addr. - (ppc_elf_size_dynamic_sections): Add DT_PPC_TLS_OPT tag. - (write_glink_stub): Add param p. - (ppc_elf_relocate_section): Adjust write_glink_stub call. - (ppc_elf_finish_dynamic_symbol): Emit special glink call stub for - __tls_get_addr. - * elf32-ppc.h (ppc_elf_tls_setup): Update prototype. - * elf64-ppc.c (struct ppc_link_hash_table): Add no_tls_get_addr_opt. - (ppc64_elf_tls_setup): Add no_tls_get_addr_opt param and save to hash - table. Check for presense of __tls_get_addr_opt. - (ppc64_elf_size_dynamic_sections): Add DT_PPC64_TLS_OPT tag. - (LD_R11_0R3, LD_R12_0R3, MR_R0_R3, CMPDI_R11_0, ADD_R3_R12_R13, - BEQLR, MR_R3_R0, MFLR_R11, STD_R11_0R1, BCTRL, LD_R11_0R1, - LD_R2_0R1, MTLR_R11): Define. - (build_tls_get_addr_stub): New function. - (ppc_build_one_stub): Call it. - (ppc_size_one_stub): Add extra size for __tls_get_addr stub. - (ppc64_elf_relocate_section): Don't change nop to ld 2,40(1) for - __tls_get_addr plt call. - * elf64-ppc.h (ppc64_elf_tls_setup): Update prototype. - -2009-09-19 Richard Sandiford <rdsandiford@googlemail.com> - - * elf-bfd.h (eh_cie_fde): Add personality_offset and - make_per_encoding_relative to the CIE structure. Add a padding field. - * elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Use 0x70 - rather than 0xf0 when masking out the base address encoding - Record the offset of personality data from the start of the CIE. - Remove a repeated elf_backend_can_make_relative_eh_frame check. - (find_merged_cie): Take an info argument. If the personality - binds locally, try converting an absolute personality into - a local one. - (_bfd_elf_discard_section_eh_frame): Use 0x70 rather than 0xf0 - when masking out the base address encoding. Update the call to - find_merged_cie. - (_bfd_elf_eh_frame_section_offset): Discard relocations against - the personality data if we are converting into PC-relative form. - (_bfd_elf_write_section_eh_frame): Use 0x70 rather than 0xf0 - when masking out the base address encoding. Handle - make_per_encoding_relative. - -2009-09-18 Alan Modra <amodra@bigpond.net.au> - - PR ld/10406 - * elf32-ppc.c (ppc_elf_howto_raw): Make R_PPC_EMB_SDAI16 and - R_PPC_EMB_SDA2I16 complain_overflow_signed. - (create_sdata_sym): Pass info rather than htab. - Update all callers. Ensure symbols are hidden. - (ppc_elf_check_relocs): Allow SDAREL16 when shared. - (ppc_elf_size_dynamic_sections): When shared, equate _SDA_BASE_ to - _GLOBAL_OFFSET_TABLE_. - (elf_finish_pointer_linker_section): Don't assume that sdata base - symbol is always at 0x8000 offset. Don't subtract the addend here. - (is_static_defined): New function. - (ppc_elf_relocate_section): Verify symbol base used in SDA relocs - is statically defined. Clear addend for EMB_SDAI16 and EMB_SDA2I16 - relocs. Downgrade error on unexpected section for EMB_SDA2REL - reloc symbols to a warning. - -2009-09-18 Nick Clifton <nickc@redhat.com> - - * po/es.po: Updated Spanish translation. - * po/vi.po: Updated Vietnamese translation. - -2009-09-18 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (follow_link, elf_follow_link, ppc_follow_link): New - functions. Use throughout. - (ppc64_elf_copy_indirect_symbol): Set direct symbol "oh" field - from indirect symbol. - (lookup_fdh): Rename from get_fdh. Follow indirect sym links. - (add_symbol_adjust): Simplify. - (defined_code_entry, defined_func_desc): New functions. - (ppc64_elf_gc_keep): Follow indirect sym links. Use defined_code_entry. - (ppc64_elf_gc_mark_dynamic_ref): Use defined_func_desc and - defined_code_entry to follow indirect sym links. - (ppc64_elf_gc_mark_hook, func_desc_adjust): Likewise. - (ppc_type_of_stub): Follow indirect sym links. - (toc_adjusting_stub_needed): Likewise. - (ppc_build_one_stub): Likewise. Make undefined dot-symbols weak - rather than defining them at stub. - (ppc64_elf_relocate_section): Rewrite call test to avoid multiple - assignments in test. - -2009-09-16 Tristan Gingold <gingold@adacore.com> - - * mach-o.h (bfd_mach_o_filetype): Add new constants from darwin10. - Reindent. - * mach-o.c (bfd_mach_o_cpu_name): Reindent. - (bfd_mach_o_filetype_name): Complete with new constants. Reindent. - (bfd_mach_o_print_private_header): Use fputs instead of fprintf - when possible to avoid warnings. - (bfd_mach_o_print_section_map): Ditto. - (bfd_mach_o_section_get_entry_size): New function. - (bfd_mach_o_section_get_nbr_indirect): Simplify using the newly - added function. - (bfd_mach_o_print_dysymtab): Print address of indirect symbols. - -2009-09-14 Nick Clifton <nickc@redhat.com> - - * po/fi.po: Updated Finnish translation. - -2009-09-11 Nick Clifton <nickc@redhat.com> - - * po/bfd.pot: Updated by the Translation project. - -2009-09-11 Philippe De Muyter <phdm@macqel.be> - - * binary.c (binary_object_p): Remove bfd_external_binary_architecture - hack. objcopy `-B' (`--binary-architecture') option is now handled - in a generic way. - -2009-09-11 Nick Clifton <nickc@redhat.com> - - * rs6000-core.c (read_hdr): Fix typo in recent C++ compatibility - changes. - -2009-09-11 Jie Zhang <jie.zhang@analog.com> - - * elf32-bfin.c (bfinfdpic_relocs_info_find): Just return - NULL if `ht' is NULL. - -2009-09-09 Martin Thuresson <martin@mtme.org> - - Update sources to compile cleanly with -Wc++-compat: - * aoutx.h: Add casts. - * archive.c: Add casts. - * archive64.c: Add casts. - * archures.c: Add casts. - * bfd-in2.h: Regenerated. - * bfd.c: Add casts. (enum bfd_direction): Move out to top level. - * bfdio.c: Add casts. - * binary.c: Add casts. - * cache.c (cache_bseek,cache_bread_1,cache_bwrite): Updated - parameter to use enum value instead of int. - * coffcode.h: Add casts. - * coffgen.c: Add casts. - * cofflink.c: Add casts. - * compress.c: Add casts. - * dwarf1.c: Add casts. - * dwarf2.c: Add casts. (struct dwarf2_debug): Rename member bfd to - bfd_ptr. Update code to use new name. - * elf-attrs.c: Add casts. - * elf-bfd.h (elf_link_virtual_table_entry): Gives name to - anonymous struct. (union gotplt_union, struct - elf_link_virtual_table_entry): Move to top level. - * elf-eh-frame.c: Add casts. - * elf-strtab.c: Add casts. - * elf.c: Add casts. (_bfd_elm_make_Section_from_phdr): Change - argument name from typename to type_name. - * elf32-i386.c: Add casts. - * elf64-x86-64.c: Add casts. - * elfcode.h: Add casts. - * elfcore.h: Add casts. - * elflink.c: Add casts. - * format.c: Add casts. - * hash.c: Add casts. - * ihex.c: Add casts. - * libaout.h (enum aout_subformat, enum aout_magic): Move to top - level. - * libbfd.c: Add casts. - * linker.c: Add casts. - * merge.c: Add casts. - * opncls.c: Add casts. - * peXXigen.c: Add casts. - * peicode.h: Add casts. - * reloc.c: Add casts. - * section.c: Add casts. - * simple.c: Add casts. - * srec.c: Add casts. - * stabs.c: Add casts. - * syms.c: Add casts. - * targets.c: Add casts. - * tekhex.c: Add casts. - * verilog.c: Add casts. - -2009-09-09 Paolo Bonzini <bonzini@gnu.org> - - * configure: Regenerate. - -2009-09-09 Daniel Jacobowitz <dan@codesourcery.com> - - * elf32-arm.c (elf32_arm_final_link_relocate): Set sym_flags - for the mode of target PLT entries. - (allocate_dynrelocs): Only adjust symbol type if setting its - value. - -2009-09-09 Paolo Bonzini <bonzini@gnu.org> - - * configure: Regenerate. - -2009-09-09 Nick Clifton <nickc@redhat.com> - - PR 10478: - * elf.c (bfd_section_from_shdr): Do not reject sparc binaries with - section headers containing sh_link values of SHN_BEFORE or - SHN_AFTER. - * elfcode.h (elf_object_p): Likewise. - -2009-09-09 Tristan Gingold <gingold@adacore.com> - - Handle DYLD_INFO introduced by Darwin10. - * mach-o.h (bfd_mach_o_load_command_type): Add - BFD_MACH_O_LC_DYLD_INFO. - (bfd_mach_o_dyld_info_command): New type. - (bfd_mach_o_load_command): Add dyld_info field. - * mach-o.c (bfd_mach_o_scan_read_str): Reduce size of buf. - (bfd_mach_o_scan_read_dyld_info): New function. - (bfd_mach_o_scan_read_command): Handle BFD_MACH_O_LC_DYLD_INFO. - (bfd_mach_o_bfd_print_private_bfd_data): Ditto. - (bfd_mach_o_load_command_name): AddB FD_MACH_O_LC_DYLD_INFO. - (bfd_mach_o_print_dyld_info): New function. - -2009-09-09 M R Swami Reddy <MR.Swami.Reddy@nsc.com> - - * elf32-cr16.c (elf32_cr16_relocate_section): Add code to discard the - linkonce or linker script discarded section. - -2009-09-09 Alan Modra <amodra@bigpond.net.au> - - * elf32-xtensa.c (elf_xtensa_relax_section): Delete -r check. - -2009-09-07 Andreas Schwab <schwab@linux-m68k.org> - - * elf32-m68k.c (rtype_to_howto): If the reloc index is out of - range call the bfd error hander and use R_68K_NONE instead. - -2009-09-07 Tristan Gingold <gingold@adacore.com> - - * po/SRC-POTFILES.in: Regenerate. - * po/bfd.pot: Regenerate. - - * bfd.m4 (BFD_HAVE_TIME_TYPE_MEMBER, - BFD_HAVE_SYS_STAT_TYPE_MEMBER): Moved to gas/acinclude.m4 - * configure.in: Move tests for tm_gmtoff, st_mtim.tv_sec and - st_mtim.tv_nsec to gas/configure.in - (bfd_elf64_ia64_vms_vec): Remove vmsutil.lo - * configure: Regenerate. - * config.in: Regenerate. - * vmsutil.c: Moved to gas/config/te-vms.c - * vmsutil.h: Removed. - * Makefile.am (BFD32_BACKENDS_CFILES): Remove vmsutil.c - (BFD32_BACKENDS): Remove vmsutil.lo - * Makefile.in: Regenerate. - -2009-09-05 Eli Zaretskii <eliz@gnu.org> - - * coffcode.h: Include libiberty.h. - -2009-09-05 Martin Thuresson <martin@mtme.org> - - * coff-arm.c (coff_arm_relocate_section) - (record_thumb_to_arm_glue, bfd_arm_process_before_allocation): - Change member name class to symbol_class. - * coff-i960.c (coff_i960_relocate_section) Rename variable - class to class_val. Change member name class to symbol_class. - * coff-rs6000.c (_bfd_xcoff_swap_aux_in) - (_bfd_xcoff_swap_aux_out): Rename arguments class to in_class. - * coff-stgo32.c (adjust_aux_in_post) - (adjust_aux_out_pre, adjust_aux_out_post): Rename arguments class - to in_class. - * coff64-rs6000.c (_bfd_xcoff64_swap_aux_in) - (_bfd_xcoff64_swap_aux_out): Rename arguments class to in_class. - * coffcode.h (coff_pointerize_aux_hook): Rename variable class - to n_sclass. - * coffgen.c (coff_write_symbol, coff_pointerize_aux): Rename - variables named class to n_sclass. (coff_write_symbols): Rename - variable class to sym_class. (bfd_coff_set_symbol_class): Rename - argument class to symbol_class. - * cofflink.c (_bfd_coff_link_hash_newfunc) - (coff_link_add_symbols, _bfd_coff_link_input_bfd) - (_bfd_coff_write_global_sym, _bfd_coff_generic_relocate_section): - Update code to use renamed members. - * coffswap.h (coff_swap_aux_in, coff_swap_aux_out): Rename - argument class to in_class. - * libcoff-in.h (struct coff_link_hash_entry, struct - coff_debug_merge_type) Renamed members class to symbol_class and - type_class. - * libcoff.h Regenerated. - * peXXigen.c: (_bfd_XXi_swap_aux_in, _bfd_XXi_swap_aux_out): - Rename argument class to in_class. - * pef.c (bfd_pef_parse_imported_symbol): Update code to use - renamed members. - * pef.h (struct bfd_pef_imported_symbol): Changed name of - member class to symbol_class. - -2009-09-04 H.J. Lu <hongjiu.lu@intel.com> - - * configure: Regenerated. - -2009-09-04 Tristan Gingold <gingold@adacore.com> - - * configure.in: Bump version to 2.20.51 - -2009-09-04 Alan Modra <amodra@bigpond.net.au> - - * elf32-spu.c (spu_elf_relocate_section): Correct 2009-07-24 logic. - -2009-09-04 Jie Zhang <jie.zhang@analog.com> - - * elf32-bfin.c (elf32_bfinfdpic_create_dynamic_sections): Always - create .rela.bss. - (elf32_bfinfdpic_size_dynamic_sections): Set SEC_EXCLUDE flag - for empty .rela.bss and .rel.plt sections. - -2009-09-03 Adam Nemet <anemet@caviumnetworks.com> - - * elfxx-mips.c (mips_elf_calculate_relocation): Don't relocate - R_MIPS_JALR unless symbol resolves locally. - -2009-09-03 Adam Nemet <anemet@caviumnetworks.com> - - * elfxx-mips.c (_bfd_mips_elf_check_relocs): Don't set - has_static_relocs for R_MIPS_JALR. - -2009-09-03 Maciej W. Rozycki <macro@codesourcery.com> - - * elf64-mips.c (mips_elf64_howto_table_rela): Add support for - R_MIPS_TLS_DTPMOD64 and R_MIPS_TLS_TPREL64, replacing the - respective stubs. - -2009-09-01 H.J. Lu <hongjiu.lu@intel.com> - - * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Declare - plt earlier. - -2009-09-01 Tristan Gingold <gingold@adacore.com> - - * makefile.vms: Ported to Itanium VMS. Remove useless variable and - dependencies. Reindent. - * configure.com: Ported to Itanium VMS. Now generates a build.com - to build without make. Add messages but make edit silent. - * hosts/alphavms.h: Add a prototype for stpcpy. - * vms.c: Add a missing include for Alpha VMS. - * elfxx-ia64.c (ELF_OSABI): Define for OpenVMS. - -2009-08-31 Jan Beulich <jbeulich@novell.com> - - * elf-bfd.h (bfd_elf_get_default_section_type): Declare. - * elf.c (bfd_elf_get_default_section_type): New. - (elf_fake_sections): Use bfd_elf_get_default_section_type. - -2009-08-30 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c (elf_i386_finish_dynamic_symbol): Revert the - accidental checkin. - * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Likwise. - -2009-08-30 Alan Modra <amodra@bigpond.net.au> - - PR ld/10569 - * bfd.c (bfd_emul_get_maxpagesize): Don't abort. - (bfd_emul_get_commonpagesize): Likewise. - -2009-08-29 Martin Thuresson <martin@mtme.org> - - * elf32-arm.c (struct stub_def): Rename member template to - template_sequence. (arm_build_one_stub, - find_stub_size_and_template, arm_size_one_stub, arm_map_one_stub): - Rename variable template to template_sequence. - * elfxx-ia64.c (elfNN_ia64_relax_br, elfNN_ia64_relax_brl): - Rename variable template to template_val. - * aoutx.h (NAME (aout, make_empty_symbol)): Rename variable - new to new_symbol. - * coffgen.c (coff_make_empty_symbol) - (coff_bfd_make_debug_symbol): Rename variable new to new_symbol. - * cpu-ia64-opc.c (ext_reg, ins_imms_scaled): Rename variable - new to new_insn. - * ecoff.c (_bfd_ecoff_make_empty_symbol): Rename variable new - to new_symbol. - * elf32-m68k.c (elf_m68k_get_got_entry_type): Rename argument - new to new_reloc. - * hash.c (bfd_hash_lookup): Rename variable new to new_string. - * ieee.c (ieee_make_empty_symbol): Rename variable new to - new_symbol. - * linker.c (bfd_new_link_order): Rename variable new to - new_lo. - * mach-o.c (bfd_mach_o_sizeof_headers): Rename variable new to - symbol. - * oasys.c (oasys_make_empty_symbol): Rename variable new to - new_symbol_type. - * pdp11.c (NAME (aout, make_empty_symbol)): Rename variable - new to new_symbol_type. - * plugin.c (bfd_plugin_make_empty_symbol): Rename variable new - to new_symbol. - * rs6000-core.c (CoreHdr, VmInfo): Rename union member new to - new_dump. - (read_hdr, rs6000coff_core_p) - (rs6000coff_core_file_matches_executable_p) - (rs6000coff_core_file_failing_command) - (rs6000coff_core_file_failing_signal): Updated function to use new - union member name. - * som.c (som_make_empty_symbol): Rename variable new to - new_symbol_type. - * syms.c (_bfd_generic_make_empty_symbol): Rename variable new - to new_symbol. - * tekhex.c (first_phase, tekhex_make_empty_symbol): Rename - variable new to new_symbol. - -2009-08-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * acinclude.m4 (AM_INSTALL_LIBBFD): Call AM_SUBST_NOTMAKE for - bfdlibdir and bfdincludedir. - * Makefile.am (bfdlibdir, bfdincludedir): Move definition ... - [INSTALL_LIBBFD]: ... here, ... - [INSTALL_LIBBFD]: ... and empty overrides here. - [!INSTALL_LIBBFD]: (rpath_bfdlibdir): New variable. - [!INSTALL_LIBBFD] (libbfd_la_LDFLAGS): Use it. - * Makefile.in: Regenerate. - * configure: Regenerate. - -2009-08-26 Maxim Kuvyrkov <maxim@codesourcery.com> - - * elf32-m68k.c: Rewrite initialization of GOT entries for TLS - relocations. Rewrite output of dynamic TLS relocations. - (DTP_OFFSET, TP_OFFSET): New constants. - (dtpoff_base): Update. - (tpoff): Rename to tpoff_base, update. - (elf_m68k_init_got_entry_static, elf_m68k_init_got_entry_local_shared): - New functions. Move code from elf_m68k_relocate_section here. - (elf_m68k_relocate_section): Update. - (elf_m68k_finish_dynamic_symbol): Fix handling of local TLS symbols. - -2009-08-26 Maxim Kuvyrkov <maxim@codesourcery.com> - - * elf32-m68k.c (elf_m68k_copy_indirect_symbol): Propagate - non_got_ref value. - (elf_m68k_check_relocs): Handle dynamic TLS relocations. - Handle non_got_ref field. - (elf_m68k_adjust_dynamic_symbol): Handle non_got_ref field. - -2009-08-26 Alan Modra <amodra@bigpond.net.au> - - PR ld/10518 - * linker.c (bfd_find_version_for_sym): Revert warning. - -2009-08-26 Alan Modra <amodra@bigpond.net.au> - - PR ld/10518 - * linker.c (bfd_find_version_for_sym): Override a "*" match by any - other wildcard match. Warn on multiple wildcard matches. - -2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * Makefile.am (libbfd_la_LDFLAGS): Initialize early, to allow - appending. - [INSTALL_LIBBFD] (bfdlib_LTLIBRARIES, bfdinclude_HEADERS): Set - only in this condition. - [!INSTALL_LIBBFD] (noinst_LTLIBRARIES, libbfd_la_LDFLAGS): New, - to build but not install libbfd.la in this condition. - (install-bfdlibLTLIBRARIES, uninstall-bfdlibLTLIBRARIES) - (install_libbfd, install_libbfd): Remove. - * Makefile.in: Regenerate. - * doc/Makefile.am (AM_CPPFLAGS): Renamed from ... - (INCLUDES): ... this. - ($(MKDOC)): Adjust. - * doc/Makefile.in: Regenerate. - - * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, instead use - no-dist and foreign. - (EXTRA_libbfd_la_SOURCES): New, list $(CFILES) to allow - dependency tracking to work for them. - (targets.lo, archures.lo, dwarf.lo): Rewrite to - use automake dependency tracking mechanism. - (MKDEP, DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove. - (mkdep section): Remove. - (BUILT_SOURCES): New, list $(BUILD_HFILES). - * Makefile.in: Regenerate. - * po/SRC-POTFILES.in, po/bfd.pot: Regenerate. - - * Makefile.am (datarootdir, docdir, htmldor, pdfdir) - (install-pdf, install-pdf-recursive, install-html) - (install-html-recursive): Remove. - * Makefile.in: Regenerate. - - * Makefile.in: Regenerate. - * aclocal.m4: Likewise. - * config.in: Likewise. - * configure: Likewise. - -2009-08-21 Daniel Gutson <dgutson@codesourcery.com> - - * elf32-arm.c (arch_has_thumb2_nop): New function. - (arch_has_arm_nop): New function. - (elf32_arm_final_link_relocate): NOP opcodes changed. - -2009-08-16 Doug Evans <dje@google.com> - - * opncls.c (bfd_close): Until BFD_IN_MEMORY has an iovec, - at least don't leak memory. - -2009-08-13 DJ Delorie <dj@redhat.com> - - * elf32-m32c.c (m32c_elf_relax_delete_bytes): Adjust symbol sizes - if needed. - -2009-08-12 Nick Clifton <nickc@redhat.com> - - * po/fi.po: Updated Finnish translation. - -2009-08-11 Bernd Schmidt <bernd.schmidt@analog.com> - - Merge some FRV FDPIC changes into the Blackfin code. - * elf32-bfin.c (struct bfinfdpic_elf_link_hash_table): Add pointer to - summary reloc information. - (bfinfdpic_dynamic_got_plt_info): New. - (_bfin_create_got_section): Create the PLT section here. - (elf32_bfinfdpic_create_dynamic_sections): Not here. - (_bfinfdpic_count_nontls_entries): Move out of... - (_bfinfdpic_count_got_plt_entries): ... here. - (_bfinfdpic_count_relocs_fixups): Likewise. - (_bfinfdpic_reset_got_plt_entries): New. - (_bfinfdpic_size_got_plt): Move out of... - (elf32_bfinfdpic_size_dynamic_sections): ... here. - (bfinfdpic_relocate_section): Be careful not to call - _bfinfdpic_add_rofixup or _bfinfdpic_add_dyn_reloc for deleted relocs. - (bfinfdpic_check_discarded_relocs, bfinfdpic_elf_discard_info): - New functions. - (elf_backend_discard_info): Define for FD-PIC. - -2009-08-11 Alan Modra <amodra@bigpond.net.au> - - * elflink.c: Add FIXMEs for some places that require octets_per_byte - adjustments. - * elf-eh-frame.c: Likewise. - * merge.c: Likewise. - -2009-08-11 Alan Modra <amodra@bigpond.net.au> - - * configure.in: Remove elf-ifunc.lo from common ELF files. Add - to x86 and x86_64 configurations. - * configure: Regenerate. - -2009-08-10 Jan Kratochvil <jan.kratochvil@redhat.com> - - Stop using bfd_usrdata in libbfd. - * coff-stgo32.c (bfd_coff_go32stub): Remove. - (stub_bytes, comment): Replace STUBSIZE by GO32_STUBSIZE. - (adjust_filehdr_in_post): Declare the abfd parameter as unused. - Replace STUBSIZE by GO32_STUBSIZE. Save now the stub in - filehdr_dst->u.go32.stub. New comment with the reason. - (adjust_filehdr_out_pre): Replace STUBSIZE by GO32_STUBSIZE. - Substitute the removed macro bfd_coff_go32stub. - (adjust_filehdr_out_post, adjust_scnhdr_in_post, adjust_scnhdr_out_pre) - (adjust_scnhdr_out_post, adjust_aux_in_post, adjust_aux_out_pre) - (adjust_aux_out_post): Replace STUBSIZE by GO32_STUBSIZE. - (create_go32_stub, go32_stubbed_coff_bfd_copy_private_bfd_data): - Replace STUBSIZE by GO32_STUBSIZE. Substitute the removed macro - bfd_coff_go32stub. - * coffcode.h (coff_mkobject_hook): Initialize coff->go32stub. - * libcoff-in.h (coff_data_type): New field go32stub. - * libcoff.h: Regenerated. - -2009-08-10 Jan Kratochvil <jan.kratochvil@redhat.com> - - Fix go32 stub preservation by objcopy. - * coff-stgo32.c (adjust_filehdr_in_post): Use bfd_malloc. - (go32_stubbed_coff_bfd_copy_private_bfd_data): Optionally allocate OBFD - go32stub. - -2009-08-10 Nathan Sidwell <nathan@codesourcery.com> - - * elf32-arm.c (elf32_arm_size_stubs): Don't die on undefined local - symbols. - (elf32_arm_final_link_relocate): Treat local undefined symbols the - same as global undefined symbols. - (elf32_arm_relocate_section): Give an error for local undefined - non-weak symbols, unless the reloc will not use the symbol. - -2009-08-10 Nathan Sidwell <nathan@codesourcery.com> - - * elf32-ppc.c (shared_stub_entry, stub_entry): Use r12, not r11. - (ppc_elf_relax_section): Use symbol index to distinguish - relocatable stubs. - -2009-08-10 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (ppc_elf_relax_section): Ignore non-code sections. - -2009-08-10 Alan Modra <amodra@bigpond.net.au> - - * elflink.c (_bfd_elf_adjust_dynamic_symbol): Don't clear plt - info for STT_GNU_IFUNC. - * elf32-ppc.c (ppc_elf_check_relocs): Count a needed plt entry - on got refs in case the symbol turns out to be ifunc. - (ppc_elf_gc_sweep_hook): Similarly. - (ppc_elf_adjust_dynamic_symbol): Adjust assertion. - (allocate_dynrelocs): Don't specially allocate got relocs for ifunc. - (ppc_elf_size_dynamic_sections): Likewise. - (ppc_elf_relocate_section): Likewise. - -2009-08-09 Bernd Schmidt <bernd.schmidt@analog.com> - - From Mike Frysinger <michael.frysinger@analog.com> - * elf32-bfin.c (bfin_howto_table, bfin_reloc_map, bfin_check_relocs, - bfin_final_link_relocate, bfin_relocate_section, bfin_gc_sweep_hook, - _bfinfdpic_emit_got_relocs_plt_entries, bfinfdpic_relocate_section, - bfinfdpic_gc_sweep_hook, bfinfdpic_check_relocs, - bfin_finish_dynamic_symbol, bfd_bfin_elf32_create_embedded_relocs): - Adjust to match the renamed reloc definitions. - -2009-08-08 Alan Modra <amodra@bigpond.net.au> - - PR 10494 - * elf.c (_bfd_elf_make_section_from_shdr): When setting up section - LMAs, use ELF_IS_SECTION_IN_SEGMENT to match sections with headers. - -2009-08-07 Tom Tromey <tromey@redhat.com> - - * elf32-microblaze.c (microblaze_elf_check_relocs): Avoid strict - aliasing error. - -2009-08-06 Michael Eager <eager@eagercon.com> - - * Makefile.am: Add cpu-microblaze.{lo,c}, elf32-microblaze.{lo,c}. - * Makefile.in: Regenerate. - * archures.c: Add bfd_arch_microblaze. - * bfd-in2.h: Regenerate. - * config.bfd: Add microblaze target. - * configure.in: Add bfd_elf32_microblaze_vec target. - * configure: Regenerate. - * cpu-microblaze.c: New. - * elf32-microblaze.c: New. - * libbfd-in.h: Add prototype _bfd_dwarf2_fixup_section_debug_loc(). - * libbfd.h: Regenerate. - * reloc.c: Add MICROBLAZE relocations. - * section.c: Add struct relax_table and relax_count to section. - * targets.c: Add bfd_elf32_microblaze_vec. - -2009-08-06 Jakub Jelinek <jakub@redhat.com> - Alan Modra <amodra@bigpond.net.au> - - PR binutils/10492 - * elf.c (sym_is_global): Return true even for BSF_GNU_UNIQUE - symbols. - * elf32-mips.c (mips_elf_sym_is_global): Likewise. - * elfn32-mips.c (mips_elf_sym_is_global): Likewise. - -2009-08-06 Nathan Sidwell <nathan@codesourcery.com> - - * elf32-arm.c (elf32_arm_size_stubs): Call layout_sections_again - at least once when fixing cortex-a8. - -2009-08-05 Chao-ying Fu <fu@mips.com> - - * elf32-mips.c (mips_reloc_map): Add BFD_RELOC_MIPS_JALR. - * elfxx-mips.c (JAL_TO_BAL_P): New define to transform JAL to BAL - for CPUs. It is true for RM9000. - (JALR_TO_BAL_P): New define to transform JALR to BAL. It is true - for all CPUs. - (mips_elf_perform_relocation): Use JAL_TO_BAL_P and JALR_TO_BAL_P - to guard the transformation. - -2009-08-05 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com> - - * elf32-spu.h (spu_elf_params): Add member emit_fixups. - (spu_elf_size_sections): Declare prototype. - * elf32-spu.c (spu_link_hash_table): Add member sfixup. - (FIXUP_RECORD_SIZE, FIXUP_GET, FIXUP_PUT): New macros. - (spu_elf_emit_fixup): New function. - (spu_elf_relocate_section): Emit fixup for each SPU_ADDR32. - (spu_elf_size_sections): New function. - -2009-08-05 Nathan Sidwell <nathan@codesourcery.com> - - * elf32-arm.c (elf32_arm_stub_type): Add arm_stub_a8_veneer_lwm. - (arm_build_one_stub): Build a8 veneers as a separate pass. - (cortex_a8_erratum_scan): Add prev_num_a8_fixes and stub_changed_p - parameters. Use them to check if we create a different a8 fixup - than the previous pass. - (elf32_arm_size_stubs): Move scope of stub_changed and - prev_num_a8_fixes into main loop. - (elf32_arm_build_stubs): Build a8 veneers in a second pass. - -2009-08-04 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (ppc_elf_relax_section): Correct conditions under - which find_plt_ent is called. Delete redundant code. - -2009-08-03 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/10363 - * elf.c (bfd_elf_string_from_elf_section): Return NULL on - invalid string offset. - -2009-08-03 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/10433 - * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Set got - to htab->init_got_offset and plt to htab->init_plt_offset - when discarding space for dynamic relocations. - -2009-08-03 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (struct plt_entry): Revise comments. - (ppc_elf_check_relocs): Don't create needless plt_entry info - for non-pie executables. Don't test info->pie when info->shared - already covers that case. - (ppc_elf_gc_sweep_hook): Adjust for above change. - (add_stub_sym): Don't test info->pie when info->shared tested. - (allocate_dynrelocs, ppc_elf_size_dynamic_sections): Likewise. - (write_glink_stub, ppc_elf_finish_dynamic_symbol): Likewise. - (ppc_elf_relax_section): Adjust find_plt_ent arguments. - (ppc_elf_relocate_section): Likewise. - -2009-08-03 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (ppc_elf_check_relocs): Always add a plt ref count - for local ifunc symbols in non-pie executables, regardless of - reloc type. Don't specially create ifunc dyn relocs. Tidy ifunc - code so that it's obvious that we only do anything special for - local ifunc syms. - (ppc_elf_gc_sweep_hook): Adjust to suit check_relocs changes. - (allocate_dynrelocs): Correct comment for syms defined in plt. - Don't specially allocate ifunc dyn relocs. - (ppc_elf_relax_section): Relax branches to ifunc plt entries too. - (ppc_elf_relocate_section): Set "relocation" value for ifunc - syms in non-pie executables. No specially allocated dyn relocs - for ifunc to write. Allow for local sym on R_PPC_RELAX32_PLT. - (ppc_elf_finish_dynamic_symbol): Set value of ifunc symbols in - a non-pie executable. - -2009-08-02 H.J. Lu <hongjiu.lu@intel.com> - Jakub Jelinek <jakub@redhat.com> - - PR ld/6443 - * elf32-i386.c (elf_i386_tls_transition): Check executable - instead of shared for TLS when building PIE. - (elf_i386_check_relocs): Likewise. - (elf_i386_allocate_dynrelocs): Likewise. - (elf_i386_relocate_section): Likewise. - - * elf64-x86-64.c (elf64_x86_64_tls_transition): Check executable - instead of shared for TLS when building PIE. - (elf64_x86_64_check_relocs): Likewise. - (elf64_x86_64_allocate_dynrelocs): Likewise. - (elf64_x86_64_relocate_section): Likewise. - -2009-07-31 Anthony Green <green@moxielogic.com> - - * config.bfd (targ_cpu): Add moxie-uclinux support. - -2009-07-31 Hans-Peter Nilsson <hp@bitrange.com> - - * linker.c (fix_syms): Consider SEC_LOAD when choosing section. - -2009-07-30 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (ppc_elf_check_relocs): Always set up sections - used by indirect function support. Count dynamic relocs for - ifunc syms. - (ppc_elf_adjust_dynamic_symbol): Tweak for ifunc. - (allocate_dynrelocs): Allocate all non-dynamic ifunc plt entries - in iplt and their relocs in reliplt. Don't make ifunc syms - dynamic. Allocate got entry relocs for non-dynamic ifunc in - reliplt. Handle other dynamic relocs for ifunc. - (ppc_elf_size_dynamic_sections): Alloc dyn relocs for static - ifunc in reliplt, likewise relocs for got against local ifunc. - Typo fix on reliplt size adjust. - (ppc_elf_relocate_section): Don't use plt scheme of allocating - relocs 1-1 with entries for iplt, instead just add using - reloc_count. Write got relocs and dyn relocs for ifunc to reliplt. - Error on invalid ifunc dyn relocs. - (ppc_elf_finish_dynamic_symbol): Adjust for non-dynamic ifunc plt - in iplt/reliplt. - * elf64-ppc.c (ppc64_elf_howto_raw): Add R_PPC64_JMP_IREL, - R_PPC64_REL16, R_PPC64_REL16_LO, R_PPC64_REL16_HI, R_PPC64_REL16_HA. - (ppc64_elf_reloc_type_lookup): Handle new relocs. - (ppc64_elf_check_relocs): Likewise. Count dyn relocs for ifunc. - (allocate_dynrelocs): As for elf32-ppc.c above. - (ppc64_elf_size_dynamic_sections): Likewise. - (ppc_build_one_stub): Put non-dynamic ifunc plt call stubs in iplt, - and their relocs in reliplt. Use R_PPC64_JMP_IREL. - (ppc_size_one_stub): Similarly. - (ppc64_elf_relocate_section): As for elf32-ppc.c above. Handle new - relocs too. - (ppc64_elf_finish_dynamic_symbol): As for elf32-ppc.c above. - -2009-07-29 Hans-Peter Nilsson <hp@bitrange.com> - - * elf64-mmix.c (mmix_elf_relax_section): Revert 2009-05-27 - change. Add note to head comment. - -2009-07-28 Jan Beulich <jbeulich@novell.com> - - * archive.c (get_extended_arelt_filename): Remove redundant - range check on index. - -2009-07-27 Doug Kwan <dougkwan@google.com> - - * elf32-arm.c (stub_hash_newfunc): Initialize field output_name. - -2009-07-27 H.J. Lu <hongjiu.lu@intel.com> - - * archures.c bfd_*_arch): Sorted. - (bfd_archures_list): Likewise. - -2009-07-27 M R Swami Reddy <MR.Swami.Reddy@nsc.com> - - * elf32-cr16.c (elf_cr16_final_link_relocate): Add code to handle - to R_cr16_NUM32 relocation. - -2009-07-26 Michael Eager <eager@eagercon.com> - - * archures.c: Add bfd_mach_ppc_405 - * bfd-in2.h: Same. - -2009-07-25 H.J. Lu <hongjiu.lu@intel.com> - - * cpu-i386.c (bfd_x86_64_arch): Fix comment typos. - * cpu-l1om.c (bfd_l1om_arch): Likewise. - -2009-07-25 H.J. Lu <hongjiu.lu@intel.com> - - * archures.c (bfd_architecture): Add bfd_arch_l1om. - (bfd_l1om_arch): New. - (bfd_archures_list): Add &bfd_l1om_arch. - * bfd-in2.h: Regenerated. - - * config.bfd (targ64_selvecs): Add bfd_elf64_l1om_vec if - bfd_elf64_x86_64_vec is supported. Add bfd_elf64_l1om_freebsd_vec - if bfd_elf64_x86_64_freebsd_vec is supported. - (targ_selvecs): Likewise. - - * configure.in: Support bfd_elf64_l1om_vec and - bfd_elf64_l1om_freebsd_vec. - * configure: Regenerated. - - * cpu-l1om.c: New. - - * elf64-x86-64.c (elf64_l1om_elf_object_p): New. - (bfd_elf64_l1om_vec): Likewise. - (bfd_elf64_l1om_freebsd_vec): Likewise. - - * Makefile.am (ALL_MACHINES): Add cpu-l1om.lo. - (ALL_MACHINES_CFILES): Add cpu-l1om.c. - * Makefile.in: Regenerated. - - * targets.c (bfd_elf64_l1om_vec): New. - (bfd_elf64_l1om_freebsd_vec): Likewise. - (_bfd_target_vector): Add bfd_elf64_l1om_vec and - bfd_elf64_l1om_freebsd_vec. - -2009-07-24 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com> - Alan Modra <amodra@bigpond.net.au> - - * reloc.c (BFD_RELOC_SPU_ADD_PIC): Define. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - * elf32-spu.c (elf_howto_table): Add entries SPU_ADD_PIC. - (spu_elf_bfd_to_reloc_type): Handle SPU_ADD_PIC. - (spu_elf_relocate_section): Patch instructions marked by SPU_ADD_PIC. - -2009-07-23 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/10434 - * elf64-x86-64.c (elf64_x86_64_check_relocs): Check executable - instead of shared for R_X86_64_TPOFF32. - (elf64_x86_64_relocate_section): Likewise. - -2009-07-23 Ulrich Drepper <drepper@redhat.com> - - * elf-bfd.h (struct elf_link_hash_entry): Add unique_global field. - * elf.c (swap_out_syms): Set binding to STB_GNU_UNIQUE for symbols - with the BSF_GNU_UNIQUE flag bit set. - * elfcode.h (elf_slurp_symbol_table): Set the BSF_GNU_UNIQUE flag - for symbols with STB_GNU_UNIQUE binding. - * elflink.c (_bfd_elf_merge_symbol): Set unique_global for symbols - with the STB_GNU_UNIQUE binding. - (elf_link_add_object_symbols): Set the BSF_GNU_UNIQUE flag for - symbols with STB_GNU_UNIQUE binding. Set STB_GNU_UNIQUE for - symbols with the unique_global field set. - (elf_link_output_extsym): Set unique_global field for symbols with - the STB_GNU_UNIQUE binding. - * syms.c (struct bfd_symbol): Define BSF_GNU_UNIQUE flag bit. - (bfd_print_symbol_vandf): Print a 'u' character for BSF_GNU_UNIQUE - symbols. - (bfd_decode_symclass): Return a 'u' character for BSF_GNU_UNIQUE - symbols. - * bfd-in2.h: Regenerate. - -2009-07-22 H.J. Lu <hongjiu.lu@intel.com> - - * elflink.c (elf_link_output_extsym): Revert the last change. - -2009-07-22 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/10433 - * elflink.c (elf_link_output_extsym): Special case ifunc syms - when ref_regular, not def_regular. - -2009-07-21 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/10426 - * elflink.c (elf_link_add_object_symbols): Turn an IFUNC symbol - from a DSO into a normal FUNC symbol. - (elf_link_output_extsym): Turn an undefined IFUNC symbol into - a normal FUNC symbol. - -2009-07-17 Chao-ying Fu <fu@mips.com> - - * elfxx-mips.c (LOAD_INTERLOCKS_P): New define. - (_bfd_mips_elf_size_dynamic_sections): For CPUs without load - interlocking, the last PLT entry needs a nop in the branch delay slot. - (_bfd_mips_elf_finish_dynamic_symbol): For CPUs with load itnerlocking, - output the last two PLT entries in reverse order. - -2009-07-16 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c (elf_i386_relocate_section): Don't get local - STT_GNU_IFUNC symbol for relocatable link. - * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. - -2009-07-10 H.J. Lu <hongjiu.lu@intel.com> - - * bfdio.c (bfd_iovec): Add comments for bmmap. - * bfd-in2.h: Regenerated. - -2009-07-10 H.J. Lu <hongjiu.lu@intel.com> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerated. - -2009-07-10 Doug Kwan <dougkwan@google.com> - - * elf32-arm.c (stub_hash_newfunc): Initialize fields - target_addend and orig_insn. - -2009-07-10 Tom Tromey <tromey@redhat.com> - - * Makefile.am (dwarf2.lo): Use dwarf2.h, not elf/dwarf2.h. - (elf-eh-frame.lo): Likewise. - (elf32-bfin.lo): Likewise. - (elf32-frv.lo): Likewise. - (elf32-xc16x.lo): Likewise. - * Makefile.in: Rebuild. - * dwarf2.c: Included dwarf.h, not elf/dwarf2.h. - * elf-eh-frame.c: Likewise. - * elf32-bfin.c: Likewise. - * elf32-frv.c: Likewise. - * elf32-xc16x.c: Likewise. - -2009-07-10 Julian Brown <julian@codesourcery.com> - - * elf32-arm.c (arm_build_one_stub): Use the hash entry of the - symbol a stub entry is derived from, not the entry for the stub - itself, in call to elf32_arm_final_link_relocate. - -2009-07-10 H.J. Lu <hongjiu.lu@intel.com> - - * elf.c (_bfd_elf_get_synthetic_symtab): Remove leading zeros - when reporting addends. - -2009-07-10 Alan Modra <amodra@bigpond.net.au> - - * elf32-spu.c (spu_elf_size_stubs): Do set up soft-icache manager - data even when no stubs. - (spu_elf_place_overlay_data, spu_elf_build_stubs): Adjust. - -2009-07-10 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (ppc_elf_howto_raw): Add R_PPC_IRELATIVE. - (ppc_elf_get_synthetic_symtab): Report addend. - (PLT_IFUNC): Define. - (struct ppc_elf_link_hash_table): Add iplt and reliplt. - (ppc_elf_create_glink): New function. - (ppc_elf_create_dynamic_sections): Use it. - (ppc_elf_add_symbol_hook): Set has_ifunc_symbols. - (update_local_sym_info): Allocate space for local_plt array. - Don't bump local_got_refcounts for PLT_IFUNC. Return local_plt - entry pointer. - (is_branch_reloc): New function. - (ppc_elf_check_relocs): Handle STT_GNU_IFUNC symbols. - (ppc_elf_gc_sweep_hook): Likewise. - (ppc_elf_adjust_dynamic_symbol): Likewise. - (allocate_dynrelocs): Likewise. - (ppc_elf_size_dynamic_sections): Likewise. - (ppc_elf_relocate_section): Likewise. - (branch_reloc_hash_match): Use is_branch_reloc. - (ppc_elf_tls_optimize): Adjust for local_plt. - (write_glink_stub): New function, extracted from.. - (ppc_elf_finish_dynamic_symbol): ..here. Handle STT_GNU_IFUNC. - (ppc_elf_finish_dynamic_sections): Only write plt resolver and - branch table when dynamic. - (elf_backend_post_process_headers): Define. - * elf64-ppc.c (elf_backend_post_process_headers): Define. - (ppc64_elf_howto_raw): Add R_PPC64_IRELATIVE. - (ppc64_elf_get_synthetic_symtab): Report addend. - (struct ppc_stub_hash_entry): Add plt_ent. - (PLT_IFUNC): Define. - (struct ppc_link_hash_table): Add iplt and reliplt. - (create_linkage_sections): Make .iplt and .rela.iplt sections. - (ppc64_elf_add_symbol_hook): Set has_ifunc_symbols. - (update_local_sym_info): Allocate space for local_plt array. - Don't bump local_got_ents for PLT_IFUNC. Return local_plt - entry pointer. - (update_plt_info): Pass pointer to plt_entry rather than sym hash, - and don't change hash flags here. - (is_branch_reloc): New function. - (ppc64_elf_check_relocs): Handle STT_GNU_IFUNC. - (ppc64_elf_gc_sweep_hook): Likewise. - (ppc64_elf_adjust_dynamic_symbol): Likewise. - (allocate_dynrelocs): Likewise. - (ppc64_elf_size_dynamic_sections): Likewise. - (ppc_build_one_stub, ppc_size_one_stub): Likewise. - (ppc64_elf_size_stubs): Likewise. - (ppc64_elf_relocate_section): Likewise. - (get_sym_h): Adjust for local_plt. - (branch_reloc_hash_match): Use is_branch_reloc. - (ppc_type_of_stub): Pass plt_entry pointer and handle ifunc. - (ppc64_elf_toc): Ignore SEC_EXCLUDE sections. - -2009-07-10 Alan Modra <amodra@bigpond.net.au> - - * elf.c (_bfd_elf_get_synthetic_symtab): Report addends. - -2009-07-10 Alan Modra <amodra@bigpond.net.au> - - * elf-bfd.h (struct elf_link_hash_entry): Clarify ref_regular - and ref_regular_nonweak comment. - * elflink.c (elf_link_output_extsym): Special case ifunc syms - when def_regular, not ref_regular. - (elf_link_add_object_symbols): Don't set needs_plt on ifunc syms,.. - * elf32-i386.c (elf_i386_check_relocs): ..set it here instead.. - * elf64-x86-64.c (elf64_x86_64_check_relocs): ..and here. - -2009-07-09 Alan Modra <amodra@bigpond.net.au> - - * elf32-spu.c (mark_functions_via_relocs): Init broken_cycle field - of malloc'd struct call_info. - (pasted_function): Likewise, priority too. - -2009-07-07 Alan Modra <amodra@bigpond.net.au> - - * elf32-spu.c (spu_elf_auto_overlay): Take into account section - alignment when packing sections into overlays. - -2009-07-03 Cary Coutant <ccoutant@google.com> - - * dwarf2.c (decode_line_info): Ignore DW_LNE_set_discriminator. - -2009-07-03 Dave Korn <dave.korn.cygwin@gmail.com> - - * coffcode.h (sec_to_styp_flags): Partially revert (functional - changes only) earlier patch:- - -2009-06-25 Kai Tietz <kai.tietz@onevision.com> - - * coffcode.h (sec_to_styp_flags): Set discardable for .reloc and - give .debug and .reloc data characteristics. - (DOT_RELOC): New define for .reloc section string. - (coff_write_object_contents): Use DOT_RELOC instead of string. - -2009-07-02 Tom Tromey <tromey@redhat.com> - - * aoutx.h (aout_get_external_symbols): Declare 'amt' locally. - * bfdwin.c (bfd_free_window): Cast to unsigned long. - -2009-07-01 Nick Clifton <nickc@redhat.com> - - * elf-m10300.c: Remove trailing white space. - * reloc.c: Likewise. - -2009-07-01 Douglas B Rupp <rupp@gnat.com> - - * bfd.m4 (BFD_HAVE_TIME_TYPE_MEMBER, - BFD_HAVE_SYS_STAT_TYPE_MEMBER): New config functions. - * configure.in: Use them. - * configure: Regenerate. - * config.in: Regenerate. - * vmsutil.c: Include sysdep.h, remove ansidecl.h. - #define _BSD_SOURCE. Add comments. - (vms_file_stats_name): Calculate creation date based on available - runtime data. Return 1 for version instead of 0. - -2009-07-01 Nick Clifton <nickc@redhat.com> - - PR 10072 - * elf32-arm.c (elf32_arm_final_link_relocate): Add code to handle - to R_ARM_THM_PC8 relocation. - -2009-06-29 Nick Clifton <nickc@redhat.com> - - * elf-m10300.c (mn10300_elf_relax_section): Allow for the - different uses of the relocations addend when a symbol is in a - merged section. - -2009-06-27 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/10337 - * elf.c (bfd_section_from_shdr): Don't change sh_link for - SHT_REL/SHT_RELA sections on executable nor shared library. - Treat SHT_REL/SHT_RELA sections with sh_link set to SHN_UNDEF - as a normal section. - -2009-06-25 Nick Clifton <nickc@redhat.com> - - * elf-m10300.c (mn10300_elf_relax_section): Handle non-section - symbols with SEC_MERGE flag. - -2009-06-25 Kai Tietz <kai.tietz@onevision.com> - - * coffcode.h (sec_to_styp_flags): Set discardable for .reloc and - give .debug and .reloc data characteristics. - (DOT_RELOC): New define for .reloc section string. - (coff_write_object_contents): Use DOT_RELOC instead of string. - -2009-06-25 Tristan Gingold <gingold@adacore.com> - - * mach-o-target.c (bfd_mach_o_get_dynamic_symtab_upper_bound) - (bfd_mach_o_canonicalize_dynamic_symtab) - (bfd_mach_o_get_synthetic_symtab): Defines. - (TARGET_NAME_BACKEND): Add bfd_mach_o_print_thread entry. - (TARGET_NAME): Use Mach-O specific functions for dynamic. - - * mach-o-i386.c (bfd_mach_o_i386_swap_reloc_in): Fix howto indexes - for scattered relocations. - (bfd_mach_o_i386_print_thread): New function. - (bfd_mach_o_print_thread): Define. - - * mach-o.c (text_section_names_xlat): Add an entry for __const. - (bfd_mach_o_canonicalize_one_reloc, bfd_mach_o_canonicalize_relocs): - New functions extracted from ... - (bfd_mach_o_canonicalize_reloc): ... This. Simplified. - (bfd_mach_o_get_dynamic_reloc_upper_bound): New function. - (bfd_mach_o_canonicalize_dynamic_reloc): New function. - (bfd_mach_o_i386_flavour_string): Adjusted after enum renaming. - (bfd_mach_o_ppc_flavour_string): Reindentation. Add 64 bits cases. - (bfd_mach_o_scan_read_dylinker): Do not create a section anymore. - Set name_str field. - (bfd_mach_o_scan_read_dylib): Ditto. - (bfd_mach_o_scan_read_thread): Set mdata at declaration. Add comments, - reindent. - (bfd_mach_o_scan_read_dysymtab): Set mdata at declaration. Correctly - decode isym and flags on little endian targets. Set dysymtab field. - (bfd_mach_o_scan_start_address): Adjust for enum names. - (bfd_mach_o_lookup_section): Do not look for segments anymore. - (bfd_mach_o_print_section): Display bfd section name. - (bfd_mach_o_print_segment): Display none if no name. - (bfd_mach_o_print_dysymtab): Display next index for local, external - and undefined symbols. - (bfd_mach_o_bfd_print_private_bfd_data): Adjust code by using name_str. - Display dylinker name. Display thread and unixthread commands content. - (bfd_mach_o_print_thread): New macro. - - * mach-o.h (bfd_mach_o_mach_header_magic): Align numbers. - (bfd_mach_o_ppc_thread_flavour): Ditto. - (bfd_mach_o_i386_thread_flavour): Ditto. - (BFD_MACH_O_PPC_THREAD_STATE_NONE): New enum. - (BFD_MACH_O_x86_THREAD_STATE_NONE): Replaces - BFD_MACH_O_THREAD_STATE_NONE. - (bfd_mach_o_segment_command): Remove segment field. - (bfd_mach_o_thread_flavour): Field offset is now unsigned long. - (bfd_mach_o_dylinker_command): Remove section field, add name_str. - (bfd_mach_o_prebound_dylib_command): Ditto. - (bfd_mach_o_dylib_command): Ditto. - (bfd_mach_o_prebound_dylib_command): Remove section field. - (mach_o_data_struct): Add dysymtab field. - (bfd_mach_o_backend_data): Add _bfd_mach_o_print_thread field. - (bfd_mach_o_get_reloc_upper_bound, bfd_mach_o_canonicalize_reloc) - (bfd_mach_o_build_commands): Remove parameter names and attributes. - (bfd_mach_o_get_dynamic_reloc_upper_bound) - (bfd_mach_o_canonicalize_dynamic_reloc): New prototypes. - -2009-06-25 Rafael Avila de Espindola <espindola@google.com> - - * plugin.c (load_plugin): Use stat and S_ISREG instead of the d_type - field of struct dirent. - -2009-06-23 Tristan Gingold <gingold@adacore.com> - - * vms.c (vms_get_synthetic_symtab): Remove duplicate definition - of this macro. Fix indentation. - -2009-06-22 Christophe Lyon <christophe.lyon@st.com> - - * elf32-arm.c (elf32_arm_size_stubs): Use PLT address as - destination for defined dynamic symbols when deciding whether to - insert a stub or not. - (allocate_dynrelocs): Make sure functions are not marked as Thumb - when actually accessed through a PLT, even when generating a - shared lib. - -2009-06-22 Tristan Gingold <gingold@adacore.com> - - * mach-o.c (bfd_mach_o_canonicalize_reloc): Append a sentinel to - the relocs array. - -2009-06-22 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (ppc_elf_check_relocs): Handle R_PPC_RELAX* in switch. - * elf32-v850.c (v850_elf_relocate_section): Warning fix. - -2009-06-22 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (ppc64_elf_edit_opd): Avoid gcc warning. - -2009-06-19 H.J. Lu <hongjiu.lu@intel.com> - - * elflink.c (elf_link_add_object_symbols): Avoid warning - from -Wjump-misses-init in gcc 4.5.0. - -2009-06-19 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c (elf_i386_check_relocs): Properly check local - symbol on error. - * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise. - -2009-06-19 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c (elf_i386_tls_transition): Add a parameter, - r_symndx. Report local symbol name on error. - (elf_i386_check_relocs): Updated. Report local symbol name on - error. - (elf_i386_gc_sweep_hook): Updated. - (elf_i386_relocate_section): Likewise. - - * elf64-x86-64.c (elf64_x86_64_tls_transition): Add a parameter, - r_symndx. Report local symbol name on error. - (elf64_x86_64_check_relocs): Updated. Report local symbol name - on error. - (elf64_x86_64_gc_sweep_hook): Updated. - (elf64_x86_64_relocate_section): Likewise. - -2009-06-19 Tristan Gingold <gingold@adacore.com> - - * mach-o.c (bfd_mach_o_print_private_header): Fix format character. - -2009-06-19 Tristan Gingold <gingold@adacore.com> - - * mach-o.c (bfd_mach_o_scan_read_symtab_symbols): Add prototype. - (bfd_mach_o_version): Use bfd_mach_o_get_data instead of direct access. - (bfd_mach_o_valid): Ditto. - (bfd_mach_o_wide_p): Ditto. - (bfd_mach_o_canonicalize_reloc): Ditto. - (bfd_mach_o_build_commands): Ditto. - (bfd_mach_o_scan_read_thread): Ditto. - (bfd_mach_o_flatten_sections): Ditto. - (bfd_mach_o_scan_start_address): Ditto. - (bfd_mach_o_lookup_section): Ditto. - (bfd_mach_o_core_fetch_environment): Ditto. - (bfd_mach_o_write_contents): Ditto. Handle reexport_dylib. - (bfd_mach_o_scan_write_relocs): Adjust for bfd_mach_o_get_data. - (bfd_mach_o_scan_write_symtab): Ditto. - Use macros instead of hard-coded values. - (bfd_mach_o_scan_read_symtab_symbol): Make the function static. - Use bfd_mach_o_get_data instead of direct access. Use macros - instead of hard-coded values. - (bfd_mach_o_scan_read_symtab_strtab): Make the function static. - Remove sym argument and get section from mdata. - Move code into the else branch. - (bfd_mach_o_scan_read_symtab_symbols): Make the function static. - Remove sym argument and get section from mdata. Adjust code. - (bfd_mach_o_scan_read_dylib): Move assertion into the created - switch (which replaces consecutive if statements). - (bfd_mach_o_scan_read_dysymtab): Rename seg to cmd. Load - module table, table of content, indirect symbols and external - referenced symbols. - (bfd_mach_o_scan_read_symtab): Renames seg to symtab. Set symtab - field. - (bfd_mach_o_scan_read_linkedit): New function. - (bfd_mach_o_scan_read_str): Ditto. - (bfd_mach_o_count_symbols): Simplify the code by using the symtab - field of mdata. - (bfd_mach_o_get_symtab_upper_bound): Remove check as - bfd_mach_o_count_symbols never returns an error. - (bfd_mach_o_canonicalize_symtab): Simplify the code by using the - symtab field (there might be only one symtab). - (bfd_mach_o_scan_read_command): Handle reexported dylib. - Handle sub frameworks, sub umbrella, sub library and sub client. - Read code signature and segment split info commands. - (bfd_mach_o_scan): Reindent. - (bfd_mach_o_xlat_name): New type. - (bfd_mach_o_print_flags): New function. - (bfd_mach_o_get_name): Ditto. - (bfd_mach_o_cpu_name): New variable. - (bfd_mach_o_filetype_name, bfd_mach_o_header_flags_name) - (bfd_mach_o_section_type_name) - (bfd_mach_o_section_attribute_name) - (bfd_mach_o_load_command_name): New variables. - (bfd_mach_o_print_private_header): New function. - (bfd_mach_o_print_section_map): New function extracted from - bfd_mach_o_print_private_bfd_data. - (bfd_mach_o_print_section): Ditto. Print more infos. - (bfd_mach_o_print_segment): Ditto. - (bfd_mach_o_print_dysymtab): Ditto. - (bfd_mach_o_bfd_print_private_bfd_data): Reworked. Handle - load weak dylib, reexport dylib and id dylib. - Handle code signature and segment_split info. - Handle sub frameworks, sub umbrella, sub library and sub client. - (bfd_mach_o_section_get_nbr_indirect): New function. - - * mach-o.h (BFD_MACH_O_REFERENCE_MASK): New macro. Add comment. - (bfd_mach_o_header_flags): New enum to define header flags. - (bfd_mach_o_section_attribute): New enum to replace ... - (BFD_MACH_O_S_ATTR_LOC_RELOC, BFD_MACH_O_S_ATTR_EXT_RELOC, - BFD_MACH_O_S_ATTR_SOME_INSTRUCTIONS, BFD_MACH_O_S_ATTR_DEBUG, - BFD_MACH_O_S_SELF_MODIFYING_CODE, BFD_MACH_O_S_ATTR_LIVE_SUPPORT, - BFD_MACH_O_S_ATTR_NO_DEAD_STRIP, BFD_MACH_O_S_ATTR_STRIP_STATIC_SYMS, - BFD_MACH_O_S_ATTR_NO_TOC, BFD_MACH_O_S_ATTR_PURE_INSTRUCTIONS): ... - these removed macros. - (BFD_MACH_O_NLIST_SIZE, BFD_MACH_O_NLIST_64_SIZE): New macros. - (bfd_mach_o_dylib_module): New type. - (BFD_MACH_O_DYLIB_MODULE_SIZE, BFD_MACH_O_DYLIB_MODULE_64_SIZE): New - macros. - (bfd_mach_o_dylib_table_of_content): New type. - (BFD_MACH_O_TABLE_OF_CONTENT_SIZE): New macro. - (bfd_mach_o_dylib_reference): New type. - (BFD_MACH_O_REFERENCE_SIZE): New macro. - (bfd_mach_o_dysymtab_command): Add fields for loaded and decoded - modules, toc, references and indirect syms. - (BFD_MACH_O_INDIRECT_SYMBOL_SIZE): New macro. - (bfd_mach_o_dylinker_command): Remove cmd and cmdsize fields (were - unused). Add comment. - (bfd_mach_o_dylib_command): Ditto. - (bfd_mach_o_prebound_dylib_command): Ditto. - (bfd_mach_o_linkedit_command): New type. - (bfd_mach_o_str_command): New type. - (bfd_mach_o_load_command): Add linkedit and str fields. - (mach_o_data_struct): Add symtab field. - (bfd_get_mach_o_data): Renamed to ... - (bfd_mach_o_get_data): ... this new macro. - (bfd_mach_o_scan_read_symtab_symbol, - bfd_mach_o_scan_read_symtab_strtab, - bfd_mach_o_scan_read_symtab_symbols): Prototypes removed. - - * mach-o-i386.c (bfd_mach_o_i386_mkobject): Use bfd_mach_o_get_data - instead of direct access. - -2009-06-19 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (ppc_elf_check_relocs): Allow local symbols for - R_PPC_PLTREL24 relocs. - (ppc_elf_relocate_section): Likewise. - -2009-06-19 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (find_plt_ent): Pass pointer to plist rather than - pointer to sym hash. Update all uses. - (update_plt_info): Likewise. Don't check addend here. - -2009-06-18 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c (elf_i386_check_relocs): Remove isymbuf and use - bfd_sym_from_r_symndx. - * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise. - -2009-06-18 Alan Modra <amodra@bigpond.net.au> - - * elf-bfd.h (struct sym_sec_cache): Delete. - (struct sym_cache): New. - (bfd_section_from_r_symndx): Delete prototype. - (bfd_sym_from_r_symndx): Define prototype. - * elf.c (bfd_section_from_r_symndx): Delete, replace with.. - (bfd_sym_from_r_symndx): ..new function. - * elf32-arm.c: Update all uses of struct sym_sec_cache and - bfd_section_from_r_symndx to new struct and function. - * elf32-bfin.c: Likewise. - * elf32-hppa.c: Likewise. - * elf32-i386.c: Likewise. - * elf32-m32r.c: Likewise. - * elf32-m68hc1x.c: Likewise. - * elf32-m68hc1x.h: Likewise. - * elf32-m68k.c: Likewise. - * elf32-ppc.c: Likewise. - * elf32-s390.c: Likewise. - * elf32-sh.c: Likewise. - * elf64-ppc.c: Likewise. - * elf64-s390.c: Likewise. - * elf64-x86-64.c: Likewise. - * elfxx-sparc.c: Likewise. - * elfxx-sparc.h: Likewise. - -2009-06-18 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c (elf_i386_check_relocs): Cache or free isymbuf. - * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise. - -2009-06-18 Nick Clifton <nickc@redhat.com> - - * elflink.c (elf_link_sort_relocs): Return early if there are no - relocs to sort. - -2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com> - - Merge cegcc and mingw32ce target name changes from - CeGCC project: - - 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt> - - * config.bfd: Add arm*-*-cegcc* target. - - 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt> - - * config.bfd: Add arm-*-mingw32ce* target. - -2009-06-17 H.J. Lu <hongjiu.lu@intel.com> - - * elf-bfd.h (_bfd_elf_allocate_ifunc_dyn_relocs): New. - * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Likewise. - * elf32-i386.c (elf_i386_allocate_dynrelocs): Use it. - * elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Likewise. - -2009-06-17 H.J. Lu <hongjiu.lu@intel.com> - - * elf-bfd.h (_bfd_elf_create_ifunc_dyn_reloc): New. - * elf-ifunc.c (_bfd_elf_create_ifunc_dyn_reloc): Likewise. - * elf32-i386.c (elf_i386_check_relocs): Use it. - * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise. - -2009-06-17 H.J. Lu <hongjiu.lu@intel.com> - - * elf-bfd.h (elf_dyn_relocs): New. - - * elf32-i386.c (elf_i386_dyn_relocs): Removed. - (elf_i386_link_hash_entry): Replace elf_i386_dyn_relocs with - elf_dyn_relocs. - (elf_i386_copy_indirect_symbol): Likewise. - (elf_i386_check_relocs): Likewise. - (elf_i386_gc_sweep_hook): Likewise. - (elf_i386_allocate_dynrelocs): Likewise. - (elf_i386_readonly_dynrelocs): Likewise. - (elf_i386_size_dynamic_sections): Likewise. - - * elf64-x86-64.c (elf64_x86_64_dyn_relocs): Removed. - (elf64_x86_64_link_hash_entry): Replace elf64_x86_64_dyn_relocs - with elf_dyn_relocs. - (elf64_x86_64_copy_indirect_symbol): Updated. - (elf64_x86_64_check_relocs): Likewise. - (elf64_x86_64_gc_sweep_hook): Likewise. - (elf64_x86_64_adjust_dynamic_symbol): Likewise. - (elf64_x86_64_allocate_dynrelocs): Likewise. - (elf64_x86_64_readonly_dynrelocs): Likewise. - (elf64_x86_64_size_dynamic_sections): Likewise. - -2009-06-17 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-arm.c (create_got_section): Get existing .rela.got - section. - * elf32-hppa.c (elf32_hppa_create_dynamic_sections): Likewise. - * elf32-lm32.c (create_got_section): Likewise. - * elf32-m32r.c (create_got_section): Likewise. - * elf32-ppc.c (ppc_elf_create_got): Likewise. - * elf32-s390.c (create_got_section): Likewise. - * elf32-sh.c (create_got_section): Likewise. - * elf32-xtensa.c (elf_xtensa_create_dynamic_sections): Likewise. - * elf64-s390.c (create_got_section): Likewise. - * elfxx-sparc.c (create_got_section): Likewise. - - * elflink.c (_bfd_elf_create_got_section): Properly initialize - the GOT size. - -2009-06-16 H.J. Lu <hongjiu.lu@intel.com> - - * elf-bfd.h (ELF_LOCAL_SYMBOL_HASH): New. - - * elf32-i386.c (elf_i386_local_hash): Removed. - (elf_i386_local_htab_hash): Use ELF_LOCAL_SYMBOL_HASH. - (elf_i386_get_local_sym_hash): Likewise. - - * elf64-x86-64.c (elf64_x86_64_local_hash): Removed. - (elf64_x86_64_local_htab_hash): Use ELF_LOCAL_SYMBOL_HASH. - (elf64_x86_64_get_local_sym_hash): Likewise. - * elfxx-ia64.c (elfNN_ia64_local_htab_hash): Likewise. - (get_local_sym_hash): Likewise. - -2009-06-16 H.J. Lu <hongjiu.lu@intel.com> - - * elfxx-ia64.c (elfNN_ia64_link_hash_table): Remove got_sec, - rel_got_sec and plt_sec. - (elfNN_ia64_relax_section): Updated. - (elfNN_ia64_create_dynamic_sections): Likewise. - (get_got): Likewise. - (allocate_dynrel_entries): Likewise. - (elfNN_ia64_size_dynamic_sections): Likewise. - (set_got_entry): Likewise. - (elfNN_ia64_choose_gp): Likewise. - (elfNN_ia64_relocate_section): Likewise. - (elfNN_ia64_finish_dynamic_symbol): Likewise. - (elfNN_ia64_finish_dynamic_sections): Likewise. - -2009-06-16 Ulrich Weigand <uweigand@de.ibm.com> - - * elf32-spu.c (needs_ovl_stub): Respect .brinfo lrlive bits - also for calls. - -2009-06-16 H.J. Lu <hongjiu.lu@intel.com> - - * configure.in (elf): Add elf-ifunc.lo. - - * configure: Regenerated. - * Makefile.in: Likewise. - - * elf-bfd.h (elf_link_hash_table): Add sgot, sgotplt, - srelgot, splt, srelplt, igotplt, iplt, irelplt and irelifunc. - - * elf32-i386.c (elf_i386_link_hash_table): Remove sgot, - sgotplt, srelgot, splt, srelplt, igotplt, iplt, irelplt and - irelifunc. - (elf_i386_link_hash_table_create): Likewise. - (elf_i386_create_dynamic_sections): Likewise. - (elf_i386_check_relocs): Likewise. - (elf_i386_allocate_dynrelocs): Likewise. - (elf_i386_size_dynamic_sections): Likewise. - (elf_i386_relocate_section): Likewise. - (elf_i386_finish_dynamic_symbol): Likewise. - (elf_i386_finish_dynamic_sections): Likewise. - (elf_i386_create_got_section): Removed. - - * elf64-x86-64.c (elf64_x86_64_link_hash_table): Remove sgot, - sgotplt, srelgot, splt, srelplt, igotplt, iplt, irelplt and - irelifunc. - (elf64_x86_64_compute_jump_table_size): Updated. - (elf64_x86_64_link_hash_table_create): Likewise. - (elf64_x86_64_create_dynamic_sections): Likewise. - (elf64_x86_64_check_relocs): Likewise. - (elf64_x86_64_allocate_dynrelocs): Likewise. - (elf64_x86_64_size_dynamic_sections): Likewise. - (elf64_x86_64_relocate_section): Likewise. - (elf64_x86_64_finish_dynamic_symbol): Likewise. - (elf64_x86_64_finish_dynamic_sections): Likewise. - (elf64_x86_64_create_got_section): Removed. - - * elflink.c (_bfd_elf_create_got_section): Use log_file_align - for pointer alignment. Set up section pointers. - (_bfd_elf_create_dynamic_sections): Likewise. - (_bfd_elf_create_ifunc_sections): Moved to ... - * elf-ifunc.c: Here. New. - - * Makefile.am (BFD32_BACKENDS): Add elf-ifunc.lo. - (BFD32_BACKENDS_CFILES): Add elf-ifunc.c. - Run "make dep-am". - -2009-06-16 Doug Kwan <dougkwan@google.com> - - * elf32-arm.c (cortex_a8_erratum_scan): Change type of offset - to bfd_signed_vma. Cast constant operands which are used in - offset related expressions to bfd_signed_vma type as appropriate. - -2009-06-16 Maciej W. Rozycki <macro@linux-mips.org> - - * elf32-vax.c (elf_vax_plt_sym_val): New function. - (elf_backend_plt_sym_val): Define. - -2009-06-16 Maciej W. Rozycki <macro@linux-mips.org> - - * elf32-vax.c (elf_vax_reloc_type_class): New function. - (elf_backend_reloc_type_class): Define. - -2009-06-16 Maciej W. Rozycki <macro@linux-mips.org> - - * elf32-vax.c (elf_vax_relocate_section): For symbol references - from an executable to a shared library treat R_VAX_PC32 - relocations as R_VAX_PLT32 ones. - -2009-06-16 Maciej W. Rozycki <macro@linux-mips.org> - - * elf32-vax.c (elf_vax_instantiate_got_entries): Skip local - symbols in GOT space calculation. - (elf_vax_relocate_section): Adjust accordingly. - -2009-06-16 Maciej W. Rozycki <macro@linux-mips.org> - - * elf32-vax.c (elf_vax_plt_entry): Set the entry mask to - include <R11:R2>. - -2009-06-16 Maciej W. Rozycki <macro@linux-mips.org> - - * elf32-vax.c (elf_vax_check_relocs): Handle the visibility - attribute. - (elf_vax_relocate_section): Likewise. - -2009-06-15 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c (elf_i386_allocate_dynrelocs): Update comments. - * elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Likewise. - -2009-06-15 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c (elf_i386_check_relocs): Reformat. - * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise. - -2009-06-15 H.J. Lu <hongjiu.lu@intel.com> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerated. - -2009-06-15 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c (elf_i386_allocate_dynrelocs): Fix a typo. - * elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Likewise. - -2009-06-15 Nick Clifton <nickc@redhat.com> - - * po/ru.po: New Russian translation. - * configure.in (ALL_LINGUAS): Add ru. - * configure: Regenerate. - -2009-06-14 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c: Remove duplicated comments. - -2009-06-14 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/10270 - * elf32-i386.c (elf_i386_allocate_dynrelocs): Disallow - dynamic IFUNC pointer in non-shared object. Use .got.plt - for IFUNC definition in PIE. - (elf_i386_allocate_dynrelocs): Resolve IFUNC definition in - PIE locally. - - * elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Disallow - dynamic IFUNC pointer in non-shared object. Use .got.plt - for IFUNC definition in PIE. - (elf64_x86_64_relocate_section): Resolve IFUNC definition in - PIE locally. - -2009-06-13 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c (elf_i386_check_relocs): Properly report - local symbol for unhandled relocation against STT_GNU_IFUNC - symbol. - (elf_i386_relocate_section): Likewise. - * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise. - (elf64_x86_64_relocate_section): Likewise. - -2009-06-13 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/10269 - * elf32-i386.c: Include "objalloc.h" and "hashtab.h". - (elf_i386_link_hash_table): Add loc_hash_table and - loc_hash_memory. - (elf_i386_local_hash): New. - (elf_i386_local_htab_hash): Likewise. - (elf_i386_local_htab_eq): Likewise. - (elf_i386_get_local_sym_hash): Likewise. - (elf_i386_link_hash_table_free): Likewise. - (elf_i386_allocate_local_dynrelocs): Likewise. - (elf_i386_finish_local_dynamic_symbol): Likewise. - (bfd_elf64_bfd_link_hash_table_free): Likewise. - (elf_i386_link_hash_table_create): Create loc_hash_table and - loc_hash_memory. - (elf_i386_check_relocs): Handle local STT_GNU_IFUNC symbols. - (elf_i386_size_dynamic_sections): Likewise. - (elf_i386_relocate_section): Likewise. - (elf_i386_finish_dynamic_sections): Likewise. - (elf_i386_finish_dynamic_symbol): Check _DYNAMIC only if sym - isn't NULL. - - * elf64-x86-64.c: Include "objalloc.h" and "hashtab.h". - (elf64_x86_64_link_hash_table): Add loc_hash_table and - loc_hash_memory. - (elf64_x86_64_local_hash): New. - (elf64_x86_64_local_htab_hash): Likewise. - (elf64_x86_64_local_htab_eq): Likewise. - (elf64_x86_64_get_local_sym_hash): Likewise. - (elf64_x86_64_link_hash_table_free): Likewise. - (elf64_x86_64_allocate_local_dynrelocs): Likewise. - (elf64_x86_64_finish_local_dynamic_symbol): Likewise. - (bfd_elf64_bfd_link_hash_table_free): Likewise. - (elf64_x86_64_link_hash_table_create): Create loc_hash_table - and loc_hash_memory. - (elf64_x86_64_check_relocs): Handle local STT_GNU_IFUNC - symbols. - (elf64_x86_64_size_dynamic_sections): Likewise. - (elf64_x86_64_relocate_section): Likewise. - (elf64_x86_64_finish_dynamic_sections): Likewise. - (elf64_x86_64_finish_dynamic_symbol): Check _DYNAMIC only if - sym isn't NULL. - -2009-06-10 Philip Blundell <philb@gnu.org> - - * elf32-arm.c (elf32_arm_fix_exidx_coverage): Avoid crash if - elf_sec->this_hdr == NULL. - -2009-06-12 Tristan Gingold <gingold@adacore.com> - - * reloc.c: Add BFD_RELOC_MACH_O_SECTDIFF and BFD_RELOC_MACH_O_PAIR. - * bfd-in2.h: Regenerated. - * libbfd.h: Regenerated. - - * mach-o.c (FILE_ALIGN): New macro. - (bfd_mach_o_canonicalize_symtab): Adjust for bfd_mach_o_asymbol. - (bfd_mach_o_print_symbol): Ditto. - (bfd_mach_o_scan_write_thread): Adjust type of variable offset. - (bfd_mach_o_get_reloc_upper_bound): New function. - (bfd_mach_o_canonicalize_reloc): Ditto. - (bfd_mach_o_scan_write_relocs): Ditto. - (bfd_mach_o_scan_write_section_32): Remove offset argument. - (bfd_mach_o_scan_write_section_64): Ditto. - (bfd_mach_o_scan_write_segment_32): Write relocs. Fix size of data - written for load command. Do not compute section file offset. - (bfd_mach_o_scan_write_segment_64): Ditto. - (bfd_mach_o_scan_write_symtab): Compute file offset first. - Adjust for bfd_mach_o_asymbol. Move code to convert from BFD to - Mach-O to ... - (bfd_mach_o_mangle_symbols): ... this new function. - (bfd_mach_o_write_contents): Be sure to have load commands built. - Call bfd_mach_o_mangle_symbols. - (bfd_mach_o_build_commands): Adjust for filelen field. - Use FILE_ALIGN macro. Clear section file offset if section is empty. - Do not set symtab file offset anymore here. - (bfd_mach_o_make_empty_symbol): Allocate a bfd_mach_o_asymbol. - (bfd_mach_o_make_bfd_section): Set SEC_RELOC if has reloc. - Set reloc_count and rel_filepos section fields. - (bfd_mach_o_scan_read_section_32): Type of argument offset is now - unsigned int. - (bfd_mach_o_scan_read_section_64): Ditto. - (bfd_mach_o_scan_read_section): Ditto. - (bfd_mach_o_scan_read_symtab_symbol): Typr of argument s is now - bfd_mach_o_asymbol. Use unsigned int for file offset type. - (bfd_mach_o_scan_read_symtab_symbol): Adjust for bfd_mach_o_asymbol. - Handle weak-ref symbols. - (bfd_mach_o_scan_read_symtab_symbols): Adjust for bfd_mach_o_asymbol. - (bfd_mach_o_scan_read_dysymtab_symbol): Ditto. - (bfd_mach_o_scan): Remove assignment to removed field. - (bfd_mach_o_mkobject_init): Ditto. - (bfd_mach_o_bfd_print_private_bfd_data): Adjust printf formatter. - (bfd_mach_o_bfd_reloc_type_lookup): New macro. - (bfd_mach_o_bfd_reloc_name_lookup): Ditto. - (bfd_mach_o_swap_reloc_in): Ditto. - (bfd_mach_o_swap_reloc_out): Ditto. - - * mach-o.h (BFD_MACH_O_REFERENCE_FLAG_UNDEFINED_NON_LAZY) - (BFD_MACH_O_REFERENCE_FLAG_UNDEFINED_LAZY) - (BFD_MACH_O_REFERENCE_FLAG_DEFINED) - (BFD_MACH_O_REFERENCE_FLAG_PRIVATE_DEFINED) - (BFD_MACH_O_REFERENCE_FLAG_PRIVATE_UNDEFINED_NON_LAZY) - (BFD_MACH_O_REFERENCE_FLAG_PRIVATE_UNDEFINED_LAZY) - (BFD_MACH_O_REFERENCED_DYNAMICALLY, BFD_MACH_O_N_DESC_DISCARDED) - (BFD_MACH_O_N_NO_DEAD_STRIP, BFD_MACH_O_N_WEAK_REF) - (BFD_MACH_O_N_WEAK_DEF): New macros. - Add comments. - (bfd_mach_o_section_type): Add new enumeration values. - (BFD_MACH_O_S_SELF_MODIFYING_CODE) - (BFD_MACH_O_S_ATTR_LIVE_SUPPORT) - (BFD_MACH_O_S_ATTR_NO_DEAD_STRIP) - (BFD_MACH_O_S_ATTR_STRIP_STATIC_SYMS, BFD_MACH_O_S_ATTR_NO_TOC): New - macros. - (BFD_MACH_O_GENERIC_RELOC_VANILLA) - (BFD_MACH_O_GENERIC_RELOC_PAIR) - (BFD_MACH_O_GENERIC_RELOC_SECTDIFF) - (BFD_MACH_O_GENERIC_RELOC_PB_LA_PTR) - (BFD_MACH_O_GENERIC_RELOC_LOCAL_SECTDIFF): Ditto. - (BFD_MACH_O_RELENT_SIZE): Ditto. - (BFD_MACH_O_R_PCREL, BFD_MACH_O_GET_R_LENGTH) - (BFD_MACH_O_R_EXTERN, BFD_MACH_O_GET_R_TYPE) - (BFD_MACH_O_GET_R_SYMBOLNUM, BFD_MACH_O_SET_R_LENGTH) - (BFD_MACH_O_SET_R_TYPE, BFD_MACH_O_SET_R_SYMBOLNUM): Ditto. - (BFD_MACH_O_SR_SCATTERED, BFD_MACH_O_SR_PCREL) - (BFD_MACH_O_GET_SR_LENGTH, BFD_MACH_O_GET_SR_TYPE) - (BFD_MACH_O_GET_SR_ADDRESS, BFD_MACH_O_SET_SR_LENGTH) - (BFD_MACH_O_SET_SR_TYPE, BFD_MACH_O_SET_SR_ADDRESS): Ditto. - (bfd_mach_o_reloc_info): New struct. - (bfd_mach_o_asymbol): New struct. - (bfd_mach_o_symtab_command): The symbols field is now of type - bfd_mach_o_asymbol. - (bfd_mach_o_load_command): The offset and len fields are now of type - unsigned int. - (mach_o_data_struct): Remove symbols, nsymbols and ibfd fields. - Add a filelen field. Add comments. - (bfd_mach_o_backend_data): New struct. - (bfd_mach_o_get_backend_data): New macro. - (bfd_mach_o_scan_read_symtab_symbol): Parameter symbol now of type - bfd_mach_o_asymbol. - (bfd_mach_o_scan_read_dysymtab_symbol): Ditto. - (bfd_mach_o_get_reloc_upper_bound): New prototype. - (bfd_mach_o_canonicalize_reloc): Ditto. - - * mach-o-target.c (bfd_mach_o_bfd_is_local_label_name): Remove - duplicated macro. Now defined to _bfd_generic_is_local_label. - (TARGET_NAME_BACKEND): New macro... - (TARGET_NAME_BACKEND): ... used to name a new variable. - (TARGET_NAME): Define relocs table using bfd_mach_o, reference - Mach-O backend data. - - * mach-o-i386.c (i386_howto_table): New variable. - (bfd_mach_o_i386_swap_reloc_in): New function. - (bfd_mach_o_i386_swap_reloc_out): Ditto. - (bfd_mach_o_i386_bfd_reloc_type_lookup): Ditto. - (bfd_mach_o_i386_bfd_reloc_name_lookup): Ditto. - (bfd_mach_o_swap_reloc_in, bfd_mach_o_swap_reloc_out): New macros. - (bfd_mach_o_bfd_reloc_type_lookup) - (bfd_mach_o_bfd_reloc_name_lookup): Ditto. - -2009-06-11 Eric Paris <eparis@redhat.com> - Nick Clifton <nickc@redhat.com> - - * opncls.c (_maybe_make_executable): New function. Gives execute - permission to an executable bfd that was opened for writing - provided that it is a regular file. Replaces common code found in... - (bfd_close): here and ... - (bfd_close_all_done): here. - -2009-06-11 Anthony Green <green@moxielogic.com> - - * reloc.c: Add BFD_RELOC_MOXIE_10_PCREL. - * bfd-in2.h: Rebuilt. - * libbfd.h: Rebuilt. - * elf32-moxie.c (moxie_elf_howto_table): Add R_MOXIE_PCREL10 - relocation support. - (moxie_reloc_map): Ditto. - Clean up copyright notice. - -2009-06-10 Paul Pluzhnikov <ppluzhnikov@google.com> - - * bfd-in2.h: bfd_mmap prototype. - * bfdio.c (bfd_mmap): New function. - * libbfd.h (bfd_iovec): Add bmmap. - * cache.c (cache_bmmap): New function. - (cache_iovec): Initialize bmmap member. - * opencls.c (opncls_bmmap): New function. - (opncls_iovec): Initialize bmmap member. - -2009-06-09 Tristan Gingold <gingold@adacore.com> - - * mach-o.h (bfd_mach_o_symtab_command): Remove stabs_segment - and stabstr_segment fields. - (mach_o_be_vec, mach_o_le_vec): Removed - (bfd_mach_o_version): New prototype. - - * mach-o.c (bfd_mach_o_version): Make this function public. - (mach_o_wide_p): New function. - (bfd_mach_o_wide_p): Ditto. - (bfd_mach_o_convert_section_name_to_bfd): Add prefix only for - weird names. - (bfd_mach_o_convert_section_name_to_mach_o): Fix typo in comment. - Search in the list only if the name starts with a dot. - (bfd_mach_o_write_header): Use mach_o_wide_p instead of hard-coded - test. Check bfd_seek status. - (bfd_mach_o_scan_write_thread): Check bfd_seek status. - (bfd_mach_o_scan_write_section_32): Ditto. - (bfd_mach_o_scan_write_section_64): Ditto. - (bfd_mach_o_scan_write_section): Removed. - (bfd_mach_o_scan_write_segment): Split into ... - (bfd_mach_o_scan_write_segment_32): ... this and ... - (bfd_mach_o_scan_write_segment_64): ... this. Check bfd_seek status. - (bfd_mach_o_scan_write_symtab_symbols): Moved into ... - (bfd_mach_o_scan_write_symtab): ... this. Write symtab from BFD - symbol table. Now returns a boolean. - (bfd_mach_o_write_contents): Set filetype. Check bfd_seek status. - Adjust for status type. - (bfd_mach_o_build_commands): Use mach_o_wide_p instead of hard-coded - test. Write symbol table. Numbers the sections. - (bfd_mach_o_read_header): Check bfd_seek status. - Use mach_o_wide_p instead of hard-coded test. - (bfd_mach_o_scan_read_section_32): Check bfd_seek status. - (bfd_mach_o_scan_read_section_64): Ditto. - (bfd_mach_o_scan_read_symtab_symbol): Ditto. Check bfd_seek status. - Use BFD_MACH_O_N_TYPE instead of hard-coded value. Correctly - handled common symbols. - (bfd_mach_o_scan_read_symtab_strtab): Check bfd_seek status. - (bfd_mach_o_scan_read_dysymtab_symbol): Ditto. - (bfd_mach_o_scan_read_dylinker): Ditto. - (bfd_mach_o_scan_read_dylib): Ditto. - (bfd_mach_o_scan_read_thread): Ditto. - (bfd_mach_o_scan_read_symtab): Ditto. - Do not create a section for the stabs. - (bfd_mach_o_scan_read_uuid): Check bfd_seek status. - (bfd_mach_o_scan_read_segment): Ditto. - (bfd_mach_o_scan_read_command): Ditto. - (bfd_mach_o_scan_start_address): Ditto. - (bfd_mach_o_scan): Use mach_o_wide_p instead of hard-coded test. - (bfd_mach_o_archive_p): Check bfd_seek status. - (bfd_mach_o_core_fetch_environment): Ditto. - - * mach-o-i386.c (bfd_mach_o_i386_mkobject): Don't set filetype. - -2009-06-06 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c (elf_i386_link_hash_table): Add irelifunc. - (elf_i386_link_hash_table_create): Initialize irelifunc. - (elf_i386_check_relocs): Updated. Set up irelifunc for - shared objects. - (elf_i386_allocate_dynrelocs): Use irelifunc for dynamic - relocation for non-GOT reference of STT_GNU_IFUNC symbol in - shared objects. - (elf_i386_relocate_section): Likewise. - - * elf64-x86-64.c (elf64_x86_64_link_hash_table): Add irelifunc. - (elf64_x86_64_link_hash_table_create): Initialize irelifunc. - (elf64_x86_64_check_relocs): Updated. Set up irelifunc for - shared objects. - (elf64_x86_64_allocate_dynrelocs): Use irelifunc for dynamic - relocation for non-GOT reference of STT_GNU_IFUNC symbol in - shared objects. - (elf64_x86_64_relocate_section): Likewise. - - * elf-bfd.h (_bfd_elf_create_static_ifunc_sections): Renamed to - ... - (_bfd_elf_create_ifunc_sections): This. - - * elflink.c (_bfd_elf_create_static_ifunc_sections): Renamed to - ... - (_bfd_elf_create_ifunc_sections): This. Create .rel[a].ifunc - for shared objects. - -2009-06-06 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c (elf_i386_check_relocs): Make room for dynamic - relocation for R_386_32 against STT_GNU_IFUNC symbol when - building shared object. Check info->executable instead of - !info->shared when setting non_got_ref. - (elf_i386_allocate_dynrelocs): Allocate dynamic relocation - for non-GOT reference of STT_GNU_IFUNC symbol in shared - object. Allocate GOT relocation agsinst STT_GNU_IFUNC - symbol if needed. - (elf_i386_relocate_section): Output dynamic relocation for - R_386_32 against STT_GNU_IFUNC symbol to get the real - function address when building shared object. - (elf_i386_finish_dynamic_symbol): Output R_386_GLOB_DAT - relocation for STT_GNU_IFUNC symbol in shared object. - - * elf64-x86-64.c (elf64_x86_64_check_relocs): Make room for - dynamic relocation for R_X86_64_64 against STT_GNU_IFUNC - symbol when building shared object. Check info->executable - instead of !info->shared when setting non_got_ref. - (elf64_x86_64_allocate_dynrelocs): Allocate dynamic relocation - for non-GOT reference of STT_GNU_IFUNC symbol in shared - library. Allocate GOT relocation agsinst STT_GNU_IFUNC symbol - if needed. - (elf64_x86_64_relocate_section): Output dynamic relocation - for R_X86_64_64 against STT_GNU_IFUNC symbol to get the real - function address when building shared object. - (elf64_x86_64_finish_dynamic_symbol): Output R_X86_64_GLOB_DAT - relocation for STT_GNU_IFUNC symbol in shared object. - -2009-06-06 Jan Kratochvil <jan.kratochvil@redhat.com> - - * Makefile.am: Run "make dep-am". - (BFD32_BACKENDS): Add mach-o-i386.lo. - (BFD32_BACKENDS_CFILES): Add mach-o-i386.c. - * Makefile.in: Regenerate. - -2009-06-06 Alan Modra <amodra@bigpond.net.au> - - * elf32-spu.c (spu_elf_relocate_section): Match overlay number - when looking for soft-icache stubs. - -2009-06-05 Tristan Gingold <gingold@adacore.com> - - * mach-o.h: Update copyright year. - (bfd_mach_o_mach_header_magic): New enum. - (bfd_mach_o_cpu_subtype): Now an enum. - (BFD_MACH_O_HEADER_SIZE, BFD_MACH_O_HEADER_64_SIZE): New macros. - (BFD_MACH_O_SECTION_SIZE, BFD_MACH_O_SECTION_64_SIZE): Ditto. - (BFD_MACH_O_LC_SEGMENT_SIZE, BFD_MACH_O_LC_SEGMENT_64_SIZE): Ditto. - (bfd_mach_o_load_command): Field type_required is now a boolean. - Reindent prototypes. - (bfd_mach_o_object_p, bfd_mach_o_core_p): Remove. - (bfd_mach_o_bfd_copy_private_symbol_data): Add a prototype. - (bfd_mach_o_bfd_copy_private_section_data): Ditto. - (bfd_mach_o_bfd_copy_private_bfd_data): Ditto. - (bfd_mach_o_get_symtab_upper_bound): Ditto. - (bfd_mach_o_canonicalize_symtab): Ditto. - (bfd_mach_o_get_symbol_info): Ditto. - (bfd_mach_o_print_symbol): Ditto. - (bfd_mach_o_bfd_print_private_bfd_data): Ditto. - (bfd_mach_o_make_empty_symbol): Ditto. - (bfd_mach_o_write_contents): Ditto. - - * mach-o.c (bfd_mach_o_object_p, bfd_mach_o_core_p, - bfd_mach_o_mkobject): Defines. - (bfd_mach_o_valid): Returns FALSE/TRUE instead of 0/1. - Do not check with target vector but with flavour. - (struct mach_o_section_name_xlat): New declaration. - (dwarf_section_names_xlat): Ditto. - (text_section_names_xlat): Ditto. - (data_section_names_xlat): Ditto. - (struct mach_o_segment_name_xlat): Ditto. - (segsec_names_xlat): Ditto. - (bfd_mach_o_convert_section_name_to_bfd): New function. - (bfd_mach_o_convert_section_name_to_mach_o): Ditto. - (bfd_mach_o_bfd_copy_private_symbol_data): Make it public. - (bfd_mach_o_bfd_copy_private_section_data): Ditto. - (bfd_mach_o_bfd_copy_private_bfd_data): Ditto. - Accept any input and output flavour. Do not share private data - anymore. - (bfd_mach_o_count_symbols): Add a comment. - (bfd_mach_o_get_symtab_upper_bound): Make it public. - (bfd_mach_o_canonicalize_symtab): Ditto. - (bfd_mach_o_get_symbol_info): Ditto. - (bfd_mach_o_print_symbol): Ditto. - (bfd_mach_o_write_header): Now returns a boolean instead of an int. - Use constants instead of hard-coded values. - (bfd_mach_o_scan_write_section_32): Use constants instead of hard-coded - values. - (bfd_mach_o_scan_write_section_64): Ditto. - (bfd_mach_o_scan_write_segment): Ditto. - Do not copy sections anymore. - (bfd_mach_o_write_contents): Make it public. - Remove dead code. Rewrite typeflag assignment. - (bfd_mach_o_build_commands): New function. - (bfd_mach_o_set_section_contents): Ditto. - (bfd_mach_o_make_empty_symbol): Make it public. - (bfd_mach_o_read_header): Make it static. - Convert to bfd_boolean. - Use constants instead of hard-coded values. - (bfd_mach_o_make_bfd_section): Call - bfd_mach_o_convert_section_name_to_bfd to create name. - (bfd_mach_o_scan_read_section_32): Use constants instead of hard-coded - values. - (bfd_mach_o_scan_read_section_64): Ditto. - (bfd_mach_o_scan_read_segment): Do not create a bfd section for - a segment anymore. Use constants instead of hard-coded values. - (bfd_mach_o_scan_read_command): Fix style. - (bfd_mach_o_scan): Use constants instead of hard-coded values. - Get rid of BFD_IO_FUNCS. - (bfd_mach_o_mkobject_init): Renamed from bfd_mach_o_mkobject. - (bfd_mach_o_header_p): Created from bfd_mach_o_object_p. - (bfd_mach_o_gen_object_p): New function, replaces bfd_mach_o_object_p. - (bfd_mach_o_object_p): Removed. - (bfd_mach_o_gen_core_p): New function, replaces ... - (bfd_mach_o_core_p): ... deleted. - (bfd_mach_o_bfd_print_private_bfd_data): Make it public. - - * mach-o-i386.c: New file. - * config.bfd: Use mach_o_i386_vec as targ_defvec for ix86-darwin. - * configure.in (TDEFINES): Add mach_o_i386_vec. - * configure: Regenerated. - * targets.c: Add mach_o_i386_vec. - - * mach-o.c: Update copyright years. - (BFD_IO_FUNCS): Remove (was not used). - (bfd_mach_o_mkarchive, bfd_mach_o_read_ar_hdr, bfd_mach_o_slurp_armap - bfd_mach_o_slurp_extended_name_table, - bfd_mach_o_construct_extended_name_table, - bfd_mach_o_truncate_arname, bfd_mach_o_write_armap, - bfd_mach_o_get_elt_at_index, bfd_mach_o_generic_stat_arch_elt, - bfd_mach_o_update_armap_timestamp, bfd_mach_o_close_and_cleanup, - bfd_mach_o_bfd_free_cached_info, bfd_mach_o_new_section_hook, - bfd_mach_o_get_section_contents_in_window, - bfd_mach_o_bfd_is_local_label_name, - bfd_mach_o_bfd_is_target_special_symbol, - bfd_mach_o_bfd_is_local_label_name, bfd_mach_o_get_lineno, - bfd_mach_o_find_nearest_line, bfd_mach_o_find_inliner_info, - bfd_mach_o_bfd_make_debug_symbol, bfd_mach_o_read_minisymbols, - bfd_mach_o_minisymbol_to_symbol, - bfd_mach_o_bfd_get_relocated_section_contents, - bfd_mach_o_bfd_relax_section, bfd_mach_o_bfd_link_hash_table_create, - bfd_mach_o_bfd_link_hash_table_free, bfd_mach_o_bfd_link_add_symbols, - bfd_mach_o_bfd_link_just_syms, bfd_mach_o_bfd_final_link, - bfd_mach_o_bfd_link_split_section, bfd_mach_o_set_arch_mach, - bfd_mach_o_bfd_merge_private_bfd_data, - bfd_mach_o_bfd_set_private_flags, bfd_mach_o_get_section_contents, - bfd_mach_o_bfd_gc_sections, bfd_mach_o_bfd_merge_sections, - bfd_mach_o_bfd_is_group_section, bfd_mach_o_bfd_discard_group, - bfd_mach_o_section_already_linked, bfd_mach_o_bfd_define_common_symbol, - bfd_mach_o_bfd_copy_private_header_data, - bfd_mach_o_core_file_matches_executable_p): Move these defines ... - * mach-o-target.c: ... here. - Update copyright years. - -2009-06-04 Alan Modra <amodra@bigpond.net.au> - - * dep-in.sed: Don't use \n in replacement part of s command. - * Makefile.am (DEP1): LC_ALL for uniq. - Run "make dep-am". - * Makefile.in: Regenerate. - -2009-06-03 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c (elf_i386_allocate_dynrelocs): Remove check of - h->plt.refcount > 0 on STT_GNU_IFUNC symbol. - * elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Likewise. - -2009-06-03 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c (elf_i386_allocate_dynrelocs): Allocate - GOT entry for STT_GNU_IFUNC symbol with pointer equality. - (elf_i386_relocate_section): Adjust R_386_GOT32 relocation - against STT_GNU_IFUNC symbols for static executables. - (elf_i386_finish_dynamic_symbol): Load GOT entry with - PLT entry for STT_GNU_IFUNC symbol with pointer equality. - - * elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Allocate - GOT entry for STT_GNU_IFUNC symbol with pointer equality. - (elf64_x86_64_finish_dynamic_symbol): Load GOT entry with - PLT entry for STT_GNU_IFUNC symbol with pointer equality. - -2009-06-02 Richard Sandiford <r.sandiford@uk.ibm.com> - - * coff-rs6000.c (xcoff_ppc_relocate_section): Allow undefined - symbols to be left unimported when linking statically. - * xcofflink.c (xcoff_link_add_symbols): Ignore global linkage - code when linking statically. - -2009-06-02 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c (elf_i386_check_relocs): Increment - got.refcount for R_386_GOT32/R_386_GOTOFF relocations - against STT_GNU_IFUNC symbol. - (elf_i386_allocate_dynrelocs): Set got.refcount to 0 if - local STT_GNU_IFUNC definition is used. - (elf_i386_relocate_section): Handle got.offset != -1 for - R_386_GOT32/R_386_GOTOFF relocations against STT_GNU_IFUNC - symbol. - - * elf64-x86-64.c (elf64_x86_64_check_relocs): Increment - got.refcount for R_X86_64_GOTPCREL/R_X86_64_GOTPCREL64 - relocations against STT_GNU_IFUNC symbol. - (elf64_x86_64_allocate_dynrelocs): Set got.refcount to 0 if - local STT_GNU_IFUNC definition is used. - (elf64_x86_64_relocate_section): Handle got.offset != -1 - for R_X86_64_GOTPCREL/R_X86_64_GOTPCREL64 relocations against - STT_GNU_IFUNC symbol. - -2009-06-01 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/10205 - * elf32-i386.c (elf_howto_table): Add R_386_IRELATIVE. - (elf_i386_reloc_type_lookup): Likewise. - (R_386_tls): Removed. - (R_386_irelative): New. - (R_386_vt_offset): Updated. - (elf_i386_rtype_to_howto): Likewise. - (elf_i386_link_hash_table): Add igotplt, iplt and irelplt. - (elf_i386_link_hash_table_create): Initialize igotplt, - iplt and irelplt. - (elf_i386_check_relocs): Handle STT_GNU_IFUNC symbol first. - (elf_i386_adjust_dynamic_symbol): Likewise. - (elf_i386_allocate_dynrelocs): Likewise. - (elf_i386_relocate_section): Likewise. - (elf_i386_size_dynamic_sections): Set up .iplt and .igot.plt - sections. - (elf_i386_finish_dynamic_symbol): When building a static - executable, use .iplt, .igot.plt and .rel.iplt sections for - STT_GNU_IFUNC symbols. Generate R_386_IRELATIVE relocation for - locally defined STT_GNU_IFUNC symbol. - - * elf64-x86-64.c (x86_64_elf_howto): Add R_X86_64_IRELATIVE. - (x86_64_reloc_map): Likewise. - (R_X86_64_standard): Updated. - (elf64_x86_64_link_hash_table): Add igotplt, iplt and irelplt. - (elf64_x86_64_link_hash_table_create): Initialize igotplt, - iplt and irelplt. - (elf64_x86_64_check_relocs): Handle STT_GNU_IFUNC symbol first. - (elf64_x86_64_adjust_dynamic_symbol): Likewise. - (elf64_x86_64_allocate_dynrelocs): Likewise. - (elf64_x86_64_relocate_section): Likewise. - (elf64_x86_64_size_dynamic_sections): Set up .iplt and .igot.plt - sections. - (elf64_x86_64_finish_dynamic_symbol): When building a static - executable, use .iplt, .igot.plt and .rela.iplt sections for - STT_GNU_IFUNC symbols. Generate R_X86_64_IRELATIVE relocation - for locally defined STT_GNU_IFUNC symbol. - - * reloc.c (BFD_RELOC_386_IRELATIVE): New. - (BFD_RELOC_X86_64_IRELATIVE): Likewise. - - * bfd-in2.h: Regenerated. - * libbfd.h: Likewise. - -2009-06-01 H.J. Lu <hongjiu.lu@intel.com> - - * elf-bfd.h (struct bfd_elf_section_data): Remove indirect_relocs. - (_bfd_elf_make_ifunc_reloc_section): Removed. - (_bfd_elf_is_ifunc_symbol): Likewise. - (_bfd_elf_create_static_ifunc_sections): New. - - * elflink.c (_bfd_elf_adjust_dynamic_symbol): Move STT_GNU_IFUNC - symbol check to ... - (elf_link_add_object_symbols): Here. - (_bfd_elf_link_hash_hide_symbol): Don't clean plt on - STT_GNU_IFUNC symbol. - (elf_link_output_extsym): Call elf_backend_finish_dynamic_symbol - if a STT_GNU_IFUNC symbol is referenced in a non-shared object. - (IFUNC_INFIX): Removed. - (get_ifunc_reloc_section_name): Likewise. - (_bfd_elf_make_ifunc_reloc_section): Likewise. - (_bfd_elf_is_ifunc_symbol): Likewise. - (_bfd_elf_create_static_ifunc_sections): New. - -2009-05-29 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c (link_hash_newfunc): Add elf_i386_ prefix. - (create_got_section): Likewise. - (allocate_dynrelocs): Likewise. - (readonly_dynrelocs): Likewise. - (set_tls_module_base): Likewise. - (dtpoff_base): Likewise. - (tpoff): Likewise. - (elf_i386_link_hash_table_create): Updated. - (elf_i386_create_dynamic_sections): Likewise. - (elf_i386_check_relocs): Likewise. - (elf_i386_size_dynamic_sections): Likewise. - (elf_i386_relocate_section): Likewise. - - * elf64-x86-64.c (link_hash_newfunc): Add elf64_x86_64_ prefix. - (create_got_section): Likewise. - (allocate_dynrelocs): Likewise. - (readonly_dynrelocs): Likewise. - (set_tls_module_base): Likewise. - (dtpoff_base): Likewise. - (tpoff): Likewise. - (elf64_x86_64_link_hash_table_create): Updated. - (elf64_x86_64_create_dynamic_sections): Likewise. - (elf64_x86_64_check_relocs): Likewise. - (elf64_x86_64_size_dynamic_sections): Likewise. - (elf64_x86_64_relocate_section): Likewise. - -2009-05-28 Nick Clifton <nickc@redhat.com> - - * targets.c (_bfd_target_vector): Only include plugin target in - all-targets build if BFD_SUPPORTS_PLUGINS is non-zero. - -2009-05-28 Ulrich Weigand <uweigand@de.ibm.com> - - * elf32-spu.c (struct call_info): New member broken_cycle. - (remove_cycle): Instead of physically removing call_info structures - to break call graph cycles, mark them using the broken_cycle flag. - (mark_overlay_section): Respect broken_cycle flag. - (unmark_overlay_section): Likewise. - (collect_lib_sections): Likewise. - (collect_overlays): Likewise. - (sum_stack): Likewise. - -2009-05-28 Ulrich Weigand <uweigand@de.ibm.com> - - * elf32-spu.c (insert_callee): Accumulate incoming callee->count. - (mark_functions_via_relocs): Initialize callee->count to 1. - (pasted_function): Likewise. - (spu_elf_auto_overlay): Honor call counts when determining number - of stubs required in software i-cache mode. - -2009-05-27 Rafael Avila de Espindola <espindola@google.com> - - * plugin.c (program_name): Remove. - (plugin_program_name): New. - (bfd_plugin_set_program_name): New. - (try_load_plugin): Use plugin_program_name. - * plugin.h (bfd_plugin_set_program_name): New. - -2009-05-27 Rafael Avila de Espindola <espindola@google.com> - - * aclocal.m4: Include ../config/plugins.m4. - * configure.in: Use AC_PLUGINS. - * configure: Regenerate. - * Makefile.in: Regenerate. - * doc/Makefile.in: Regenerate. - -2009-05-27 Nathan Sidwell <nathan@codesourcery.com> - - * elf32-ppc.c (ppc_elf_relax_section): Work with a partial - link. - * bout.c (b_out_bfd_relax_section): Reject relocatable links. - * elf32-m10300.c (mn10300_elf_relax_section): Likewise. - * elf32-avr.c (elf32_avr_relax_section): Likewise. - * elf32-frv.c (elf32_avr_relax_section): Likewise. - * elf32-xtensa.c (elf_xtensa_relax_section): Likewise. - * elf64-mmix.c (mmix_elf_relax_section): Likewise. - * elfxx-ia64.c (elfNN_ia64_relax_section): Likewise. - * elfxx-sparc.c (_bfd_sparc_elf_relax_section): Likewise. - * reloc.c (bfd_generic_relax_section): Likewise. - * reloc16.c (bfd_coff_reloc16_relax_section): Likewise. - * vms.c (vms_bfd_relax_section): Likewise. - -2009-05-26 H.J. Lu <hongjiu.lu@intel.com> - - * elf-bfd.h (_bfd_elf_is_ifunc_symbol): New. - - * elf32-i386.c (is_indirect_symbol): Renamed to ... - * elflink.c (_bfd_elf_is_ifunc_symbol): This. - - * elf32-i386.c (allocate_dynrelocs): Updated. - (elf_i386_relocate_section): Likewise. - * elf64-x86-64.c (allocate_dynrelocs): Likewise. - (elf64_x86_64_relocate_section): Likewise. - - * elf64-x86-64.c (is_indirect_symbol): Removed. - -2009-05-26 Nick Clifton <nickc@redhat.com> - - * po/id.po: Updated Indonesian translation. - -2009-05-26 Rafael Avila de Espindola <espindola@google.com> - - * Makefile.am: Run "make dep-am". - (AM_CPPFLAGS): New. - (LIBDL): New. - (ALL_MACHINES): Add cpu-plugin.lo. - (ALL_MACHINES_CFILES): Add cpu-plugin.c. - (BFD32_BACKENDS): Add plugin.lo. - (BFD32_BACKENDS_CFILES): Add plugin.c. - (libbfd_la_LIBADD): Add LIBDL - * archures.c (bfd_architecture): Add bfd_arch_plugin. - (bfd_plugin_arch): Declare. - * bfd-in.h (BFD_SUPPORTS_PLUGINS): New. - * bfd.c (bfd): Add plugin_data. - * config.bfd: Handle the plugin target. - * configure.in: Check for --enable-plugins. - (LT_INIT): Use the dlopen option. - * cpu-plugin.c: New. - * plugin.c: New. - * plugin.h: New. - * targets.c (plugin_vec): Declare. - (_bfd_target_vector): Add plugin_vec. - * Makefile.in: Regenerate. - * bfd-in2.h: Regenerate. - * configure: Regenerate. - -2009-05-26 Alan Modra <amodra@bigpond.net.au> - - * dep-in.sed: Don't modify .o to .lo here. Output one filename - per line with all lines having continuation backslash. Prefix - first line with "A", following lines with "B". - * Makefile.am (DEP): Don't use dep.sed here. - (DEP1): Run $MKDEP on single files, modify .o to .lo here. Use - dep.sed here on dependencies, sort and uniq. - * Makefile.in: Regenerate. - -2009-05-25 Tristan Gingold <gingold@adacore.com> - - * makefile.vms: Add verilog.obj to object list OBJS. - -2009-05-24 Alan Modra <amodra@bigpond.net.au> - - * bfdio.c (bfd_seek): Formatting. Ensure newly allocated memory - for BFD_IN_MEMORY is cleared. - (bfd_bwrite): Zero excess memory allocated. - -2009-05-22 Julian Brown <julian@codesourcery.com> - - * elf32-arm.c (THUMB16_BCOND_INSN, THUMB32_INSN, THUMB32_B_INSN): New - macros. - (elf32_arm_stub_a8_veneer_b_cond, elf32_arm_stub_a8_veneer_b) - (elf32_arm_stub_a8_veneer_blx): New stub sequences. - (elf32_arm_stub_type): Add arm_stub_a8_veneer_b_cond, - arm_stub_a8_veneer_b and arm_stub_a8_veneer_blx. - (elf32_arm_stub_hash_entry): Add target_addend, orig_insn fields. - (a8_erratum_fix, a8_erratum_reloc): New structs. - (elf32_arm_link_hash_table): Add a8_erratum_fixes, - num_a8_erratum_fixes, fix_cortex_a8 fields. - (elf32_arm_link_hash_table_create): Zero fix_cortex_a8. - (elf32_arm_add_stub): Split into two parts, creating... - (elf32_arm_create_or_find_stub_sec): New function. - (elf32_arm_final_link_relocate): Add forward declaration. - (arm_build_one_stub): Add support for THUMB32_TYPE, Thumb-2 - relocations, multiple relocations per stub. - (find_stub_size_and_template): New (using parts of arm_size_one_stub). - (arm_size_one_stub): Use find_stub_size_and_template. - (a8_reloc_compare): New. - (find_thumb_glue): Add forward declaration. - (cortex_a8_erratum_scan): New. - (elf32_arm_size_stubs): Add Cortex-A8 erratum workaround support. - (bfd_elf32_arm_set_cortex_a8_fix): New. - (bfd_elf32_arm_set_target_relocs): Add fix_cortex_a8 argument. - (arm_map_one_stub): Add THUMB32_TYPE support. - (a8_branch_to_stub_data): New. - (make_branch_to_a8_stub): New. - (elf32_arm_write_section): Add Cortex-A8 erratum workaround support. - * bfd-in.h (bfd_elf32_arm_set_cortex_a8_fix): New. - (bfd_elf32_arm_set_target_relocs): Add argument for controlling - Cortex-A8 erratum workaround. - * bfd-in2.h: Regenerate. - -2009-05-22 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2009-05-21 Alan Modra <amodra@bigpond.net.au> - - * elflink.c (elf_link_input_bfd): Correct *pindex change in last - commit. - -2009-05-21 Alan Modra <amodra@bigpond.net.au> - - * elf-bfd.h (struct elf_backend_data - <elf_backend_link_output_symbol_hook>): Return an int. - * elf64-ppc.c (ppc64_elf_output_symbol_hook): Return 2 to drop - symbols on deleted .opd entries. - * elflink.c (elf_link_output_sym): Return without outputting sym - if output_symbol_hook returns 2. - (elf_link_output_extsym): Don't assign h->indx when symbol discarded. - Abort if we must not discard sym. - (elf_link_input_bfd): Similarly, don't set finfo->indices for - local syms. - (bfd_elf_final_link): Adjust elf_link_output_sym calls. - * elf-vxworks.c (elf_vxworks_link_output_symbol_hook): Adjust for - elf_backend_link_output_symbol_hook return type change. - * elf32-arm.c (output_arch_syminfo): Likewise. - (elf32_arm_output_map_sym, elf32_arm_output_stub_sym): Likewise. - (elf32_arm_output_arch_local_syms): Likewise. - * elf32-cr16c.c (elf32_cr16c_link_output_symbol_hook): Likewise. - * elf32-score.c (s3_bfd_score_elf_link_output_symbol_hook): Likewise. - (bfd_score_elf_link_output_symbol_hook): Likewise. - * elf32-score.h (s7_bfd_score_elf_link_output_symbol_hook): Likewise. - * elf32-score7.c (s7_bfd_score_elf_link_output_symbol_hook): Likewise. - * elf32-sh64.c (sh64_elf_link_output_symbol_hook): Likewise. - * elf32-spu.c (spu_elf_output_symbol_hook): Likewise. - * elf32-v850.c (v850_elf_link_output_symbol_hook): Likewise. - * elf64-hppa.c (elf64_hppa_link_output_symbol_hook): Likewise. - * elf64-mmix.c (mmix_elf_link_output_symbol_hook): Likewise. - * elf64-sh64.c (sh64_elf64_link_output_symbol_hook): Likewise. - * elf64-sparc.c (elf64_sparc_output_arch_syms): Likewise. - * elfxx-mips.c (_bfd_mips_elf_link_output_symbol_hook): Likewise. - * elfxx-mips.h (_bfd_mips_elf_link_output_symbol_hook): Likewise. - -2009-05-21 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Don't segfault on - out of range .opd symbols. - -2009-05-21 Dave Korn <dave.korn.cygwin@gmail.com> - - * coffgen.c (coff_print_symbol): Use bfd_fprintf_vma, not - fprintf_vma directly. - * peXXigen.c (pe_print_edata): Likewise. - (pe_print_pdata): Likewise. - (_bfd_XX_print_ce_compressed_pdata): Likewise. - (_bfd_XX_print_private_bfd_data_common): Likewise. - -2009-05-19 Dave Korn <dave.korn.cygwin@gmail.com> - - * cofflink.c (process_embedded_commands): Ignore "-aligncomm". - -2009-05-15 Andrew Stubbs <ams@codesourcery.com> - Paul Brook <paul@codesourcery.com> - - * elf32-arm.c (elf32_arm_fix_exidx_coverage): Don't attempt to - fix discarded sections. - -2009-05-14 Ulrich Weigand <uweigand@de.ibm.com> - - * elf32-spu.c (mark_overlay_section): Move .init and .fini - sections into the software icache. - -2009-05-14 Ulrich Weigand <uweigand@de.ibm.com> - - * elf32-spu.c (build_stub): Always build "compact" sofware - i-cache stubs. - -2009-05-14 Ulrich Weigand <uweigand@de.ibm.com> - - * elf32-spu.c (struct spu_link_hash_table): Add fromelem_size_log2. - (spu_elf_setup): Initialize it. - (spu_elf_size_stubs): Move .ovtab into .bss for software i-cache. - Update to new-sytle cache manager data structures. - (spu_elf_build_stubs): Generate new-style cache manager data - structures and symbols. - (spu_elf_auto_overlay): Update size computation. - -2009-05-14 Ulrich Weigand <uweigand@de.ibm.com> - - * elf32-spu.c (spu_elf_modify_segment_map): Move all PF_OVERLAY - segments first amongst the program headers. - -2009-05-14 Ulrich Weigand <uweigand@de.ibm.com> - - * elf32-spu.c (spu_elf_relocate_section): Only encode overlay index - into addresses for relocation types that look at high bits. Remove - special handling of relocation overflow warnings. - -2009-05-14 Ulrich Weigand <uweigand@de.ibm.com> - - * elf32-spu.c (mark_functions_via_relocs): Handle cycles in the - control flow graph between fragments of a function. - -2009-05-14 Ulrich Weigand <uweigand@de.ibm.com> - - * elf32-spu.c (spu_elf_size_stubs): Even in software i-cache mode, - generate only a 16-byte .toe section. - (spu_elf_build_stubs, spu_elf_auto_overlay): Likewise. - -2009-05-14 Alan Modra <amodra@bigpond.net.au> - - * elf32-spu.c (spu_elf_size_stubs): Split out section placement to.. - (spu_elf_place_overlay_data): ..here. New function. - * elf32-spu.h (spu_elf_place_overlay_data): Declare. - -2009-05-13 Andrew Jenner <andrew@codesourcery.com> - - * elf32-arm.c: Move sysdep.h to start of file. - -2009-05-11 Ulrich Weigand <uweigand@de.ibm.com> - - * elf32-spu.c (spu_elf_find_overlays): Don't use .ovl.init lma as - start of overlays. - (spu_elf_build_stubs): Don't define __icache_tagbase. Define - __icache_tag_array and __icache_tag_array_size. - -2009-05-11 Masaki Muranaka <monaka@monami-software.com> - - * elf32-bfin.c (bfin_bfd_reloc_type_lookup): Remove unnecessary - ATTRIBUTE_UNUSED. - (bfinfdpic_link_omit_section_dynsym): Likewise. - (elf32_bfinfdpic_finish_dynamic_sections): Likewise. - -2009-05-05 Paul Brook <paul@codesourcery.com> - - * bfd-in.h (elf32_arm_fix_exidx_coverage): Add prototype. - * bfd-in2.h: Regenerate. - * elf32-arm.c (arm_unwind_edit_type, arm_unwind_table_edit): Define. - (_arm_elf_section_data): Add text and exidx fields. - (add_unwind_table_edit, get_arm_elf_section_data, adjust_exidx_size, - insert_cantunwind_after, elf32_arm_fix_exidx_coverage, offset_prel31, - copy_exidx_entry): New functions. - (elf32_arm_write_section): Fixup .ARM.exidx contents. - -2009-05-05 Christophe lyon <christophe.lyon@st.com> - - * elf32-arm.c (DEF_STUBS): New helper define. - (DEF_STUB): Likewise. - (stub_def): New type. - (stub_definitions): New array, containing stub template pointers - and sizes. - (arm_size_one_stub): Make use of stub_definitions. - -2009-05-04 Dave Korn <dave.korn.cygwin@gmail.com> - - * elflink.c (find_version_for_sym): Remove from here, ... - * linker.c (bfd_find_version_for_sym): ... rename, replace - here, make public and update all callers. - * bfd-in2.h: Regenerate. - -2009-04-30 Nick Clifton <nickc@redhat.com> - - * elf-bfd.h (struct bfd_elf_section_data): Add indirect_relocs - section pointer. - (struct elf_obj_data): Add has_ifunc_symbols boolean. - * elf.c (swap_out_syms): Convert BSF_GNU_INDIRECT_FUNCTION flags - into a STT_GNU_IFUNC symbol type. - (_bfd_elf_is_function_type): Accept STT_GNU_IFUNC as a function - type. - (_bfd_elf_set_osabi): Set the osasbi field to ELFOSABI_LINUX if - the binary contains ifunc symbols. - * elfcode.h (elf_slurp_symbol_table): Translate the STT_GNU_IFUNC - symbol type into a BSF_GNU_INDIRECT_FUNCTION flag. - * elf32-i386.c (is_indirect_function): New function. - (elf_i386_check_relocs): Create an ifunc output section. - (allocate_dynrelocs): Create dynamic relocs in the ifunc output - section if necessary. - (elf_i386_relocate_section): Emit a reloc against an ifunc symbol - if necessary. - (elf_i386_add_symbol_hook): New function. Set the - has_ifunc_symbols field of the elf_obj_data structure if an ifunc - symbol is encountered. - (elf_backend_post_process_headers): Define. - (elf_backend_add_symbol_hook): Define. - (elf_i386_post_process_headers): Rename to - elf_i388_fbsd_post_process_headers. - * elf64-x86_64.c (IS_X86_64_PCREL_TYPE): New macro. - (is_indirect_function): New function. - (elf64_x86_64_check_relocs): Create an ifunc output section. - (allocate_dynrelocs): Create dynamic relocs in the ifunc output - section if necessary. - (elf64_x86_64_relocate_section): Emit a reloc against an ifunc - symbol if necessary. - (elf_i386_add_symbol_hook): Set the has_ifunc_symbols field of the - elf_obj_data structure if an ifunc symbol is encountered. - (elf_backend_post_process_headers): Define. - * elflink.c (_bfd_elf_adjust_dynamic_symbol): Always create a PLT - if we have ifunc symbols to handle. - (get_ifunc_reloc_section_name): New function. Computes the name - for an ifunc section. - (_bfd_elf_make_ifunc_reloc_section): New function. Creates a - section to hold ifunc relocs. - * syms.c (BSF_GNU_INDIRECT_FUNCTION): Define. - (bfd_print_symbol_vandf): Handle ifunc symbols. - (bfd_decode_symclass): Likewise. - * bfd-in2.h: Regenerate. - -2009-04-30 Joseph Myers <joseph@codesourcery.com> - - * elf32-arm.c (elf32_arm_check_relocs): Give errors for absolute - MOVW and MOVT relocations in a shared library link. - -2009-04-27 Anthony Green <green@moxielogic.com> - - * verilog.c: New file. - * Makefile.am (BFD32_LIBS): Add verilog.c. - (BFD32_LIBS_CFILES): Add verilog.c. - (verilog.lo): New build rule. - * Makefile.in: Rebuilt. - * targets.c: Add verilog support. - * bfd.c (tdata union): Add Verilog private data field. - * bfd-in2.h: Regenerate. - -2009-04-27 H.J. Lu <hongjiu.lu@intel.com> - - * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Don't - copy pe_opthdr. - -2009-04-23 Matthias Klose <doko@ubuntu.com> - - * peXXigen.c (_bfd_XXi_swap_sym_in): Initialize `name'. - -2009-04-22 Christophe Lyon <christophe.lyon@st.com> - - PR9743 - * elf32-arm.c (arm_type_of_stub): Handle R_ARM_THM_JUMP24, - R_ARM_JUMP24 and R_ARM_PLT32 relocations. - (elf32_arm_size_stubs): Likewise. - (record_thumb_to_arm_glue): Deleted unused function. - (bfd_elf32_arm_process_before_allocation): No longer handle - R_ARM_THM_JUMP24, R_ARM_JUMP24 and R_ARM_PLT32 relocations here. - (elf32_arm_final_link_relocate): Handle R_ARM_THM_JUMP24, - R_ARM_JUMP24 and R_ARM_PLT32 relocations. - -2009-04-21 Daniel Jacobowitz <dan@codesourcery.com> - - * elf32-arm.c (INTERWORK_FLAG): Check BFD_LINKER_CREATED. - (elf32_arm_write_section): Declare early. - (elf32_arm_size_stubs): Skip non-stub sections in the stub BFD. - (arm_allocate_glue_section_space): Exclude empty sections. - (ARM_GLUE_SECTION_FLAGS): Add SEC_LINKER_CREATED. - (bfd_elf32_arm_add_glue_sections_to_bfd): Do not skip the stub - BFD. - (elf32_arm_output_glue_section, elf32_arm_final_link): New. - (elf32_arm_merge_eabi_attributes): Skip the stub BFD. - (elf32_arm_size_dynamic_sections): Allocate interworking - sections here. - (bfd_elf32_bfd_final_link): Define. - -2009-04-21 H.J. Lu <hongjiu.lu@intel.com> - - * coff-ia64.c (COFF_PAGE_SIZE): Changed to 8K. - - * coffcode.h (coff_compute_section_file_positions): Clear - D_PAGED if PE section alignment is smaller than COFF_PAGE_SIZE. - - * libcoff-in.h (pe_tdata): Remove force_minimum_alignment and - force_minimum_alignment. - - * libcoff.h: Regenerated. - - * pei-ia64.c (PEI_TARGET_SUBSYSTEM): Removed. - (PEI_FORCE_MINIMUM_ALIGNMENT): Likewise. - - * peicode.h (pe_mkobject): Don't set force_minimum_alignment - nor target_subsystem. - - * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Don't check - force_minimum_alignment nor target_subsystem. - -2009-04-21 Kai Tietz <kai.tietz@onevision.com> - - * coff-x86_64.c (PEI_HEADERS): Protect includes. - (bfd_pe_print_pdata): Remove #ifdef PE variation. - * pei-x86_64.c (PEI_HEADERS): Define to prevent double - include in coff-x86_64.c of headers. - (PDATA_ROW_SIZE): New define. - (pex_regs[]): New static array. - (pex64_get_runtime_function): New static function. - (pex64_get_unwind_info): Likewise. - (pex64_get_scope_entry): Likewise. - (pex64_xdata_print_uwd_codes): Likewise. - (pex64_get_section_by_rva): Likewise. - (pex64_dump_xdata): Likewise. - (pex64_bfd_print_pdata): Likewise. - (bfd_pe_print_pdata): Define as pex64_bfd_print_pdata. - * peXXigen.c (_bfd_pex64_print_pdata): Removed implementation. - * libpei.h (_bfd_pex64_print_pdata): Removed declaration. - -2009-04-19 Peter O'Gorman <binutils@mlists.thewrittenword.com> - Alan Modra <amodra@bigpond.net.au> - Dave Korn <dave.korn.cygwin@gmail.com> - - * peXXigen.c (_bfd_XXi_swap_sym_in): Fix name handling w.r.t - long names and non-NUL-terminated strings. - -2009-04-17 H.J. Lu <hongjiu.lu@intel.com> - - * bfd-in2.h: Regenerated. - -2009-04-17 H.J. Lu <hongjiu.lu@intel.com> - - * peXXigen.c (_bfd_XX_print_private_bfd_data_common): Replace - IMAGE_SUBSYSTEM_EFI_ROM with IMAGE_SUBSYSTEM_SAL_RUNTIME_DRIVER. - -2009-04-17 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/10074 - * coffcode.h (bfd_pei_p): New. - - * config.bfd: Remove bfd_efi_bsdrv_ia32_vec, - bfd_efi_rtdrv_ia32_vec, bfd_efi_bsdrv_x86_64_vec, - bfd_efi_rtdrv_x86_64_vec, bfd_efi_bsdrv_ia64_vec and - bfd_efi_rtdrv_ia64_vec. Replace bfd_efi_app_ia32_vec, - bfd_efi_app_x86_64_vec and bfd_efi_app_ia64_vec with - i386pei_vec, x86_64pei_vec and bfd_pei_ia64_vec, respectively. - - * configure.in: Remove bfd_efi_bsdrv_ia32_vec, - bfd_efi_rtdrv_ia32_vec, bfd_efi_bsdrv_x86_64_vec, - bfd_efi_rtdrv_x86_64_vec, - bfd_efi_bsdrv_ia64_vec and bfd_efi_rtdrv_ia64_vec. Replace - bfd_efi_ia64_vec with bfd_pei_ia64_vec. - * targets.c: Likewise. - - * configure: Regenerated. - * libcoff.h: Likewise. - * Makefile.in: Likewise. - - * efi-app-ia32.c: Removed. - * efi-app-x86_64.c: Likewise. - * efi-bsdrv-ia32.c: Likewise. - * efi-bsdrv-ia64.c: Likewise. - * efi-bsdrv-x86_64.c: Likewise. - * efi-rtdrv-ia32.c: Likewise. - * efi-rtdrv-ia64.c: Likewise. - * efi-rtdrv-x86_64.c: Likewise. - * efi-rtdrv-ia32.c: Likewise. - - * efi-app-ia64.c: Moved to ... - * pei-ia64.c: This. - (TARGET_SYM): Set to bfd_pei_ia64_vec. - (TARGET_NAME): Set to pei-ia64. - - * libpei.h (bfd_target_pei_p): Removed. - (bfd_target_pei_arch): Likewise. - (bfd_target_efi_app_p): Likewise. - (bfd_target_efi_app_arch): Likewise. - (bfd_target_efi_bsdrv_p): Likewise. - (bfd_target_efi_bsdrv_arch): Likewise. - (bfd_target_efi_rtdrv_p): Likewise. - (bfd_target_efi_rtdrv_arch): Likewise. - (bfd_pe_executable_p): Likewise. - - * Makefile.am (BFD32_BACKENDS): Remove efi-app-ia32.lo, - efi-bsdrv-ia32.lo and efi-rtdrv-ia32.lo. - (BFD32_BACKENDS_CFILES): Remove efi-app-ia32.c, efi-bsdrv-ia32.c - and efi-rtdrv-ia32.c. - (BFD64_BACKENDS): Remove efi-app-ia64.lo, efi-bsdrv-ia64.lo, - efi-rtdrv-ia64.lo, efi-app-x86_64.lo, efi-bsdrv-x86_64.lo and - efi-rtdrv-x86_64.lo. Add pei-ia64.lo. - (BFD64_BACKENDS_CFILES): Remove efi-app-ia64.c, efi-bsdrv-ia64.c, - efi-rtdrv-ia64.c, efi-app-x86_64.c, efi-bsdrv-x86_64.c and - efi-rtdrv-x86_64.c. Add pei-ia64.c. - (efi-app-ia64.lo): Removed. - (efi-bsdrv-ia32.lo): Likewise. - (efi-rtdrv-ia32.lo): Likewise. - (efi-app-ia64.lo): Likewise. - (efi-bsdrv-ia64.lo): Likewise. - (efi-rtdrv-ia64.lo): Likewise. - (efi-app-x86_64.lo): Likewise. - (efi-bsdrv-x86_64.lo): Likewise. - (efi-rtdrv-x86_64.lo): Likewise. - (pei-ia64.lo): New. - - * peicode.h (coff_swap_scnhdr_in): Replace bfd_pe_executable_p - with bfd_pei_p. - (arch_type): Removed. - (pe_arch): Likewise. - (pe_bfd_object_p): Just return coff_object_p. - - * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Replace - bfd_pe_executable_p with bfd_pei_p. - -2009-04-17 Christophe Lyon <christophe.lyon@st.com> - - * elf32-arm.c (elf32_arm_size_stubs): Handle long branches through - PLT entries to an undefined symbol when generating a shared - library. - -2009-04-17 Nick Clifton <nickc@redhat.com> - - PR 9909 - * coffcode.h (handle_COMDAT): Allow for external COMDAT symbols. - -2009-04-16 Richard Sandiford <r.sandiford@uk.ibm.com> - - * aout-adobe.c (aout_32_bfd_define_common_symbol): Define. - * aout-target.h (MY_bfd_define_common_symbol): Likewise. - * aout-tic30.c (MY_bfd_define_common_symbol): Likewise. - * binary.c (binary_bfd_define_common_symbol): Likewise. - * bout.c (b_out_bfd_define_common_symbol): Likewise. - * coff-alpha.c (_bfd_ecoff_bfd_define_common_symbol): Likewise. - * coff-mips.c (_bfd_ecoff_bfd_define_common_symbol): Likewise. - * coffcode.h (coff_bfd_define_common_symbol): Likewise. - * elfxx-target.h (bfd_elfNN_bfd_define_common_symbol): Likewise. - * i386msdos.c (msdos_bfd_define_common_symbol): Likewise. - * i386os9k.c (os9k_bfd_define_common_symbol): Likewise. - * ieee.c (ieee_bfd_define_common_symbol): Likewise. - * ihex.c (ihex_bfd_define_common_symbol): Likewise. - * libbfd-in.h (_bfd_nolink_bfd_define_common_symbol): Likewise. - * mach-o.c (bfd_mach_o_bfd_define_common_symbol): Likewise. - * mmo.c (mmo_bfd_define_common_symbol): Likewise. - * nlm-target.h (nlm_bfd_define_common_symbol): Likewise. - * oasys.c (oasys_bfd_define_common_symbol): Likewise. - * pef.c (bfd_pef_bfd_define_common_symbol): Likewise. - * ppcboot.c (ppcboot_bfd_define_common_symbol): Likewise. - * som.c (som_bfd_define_common_symbol): Likewise. - * srec.c (srec_bfd_define_common_symbol): Likewise. - * tekhex.c (tekhex_bfd_define_common_symbol): Likewise. - * versados.c (versados_bfd_define_common_symbol): Likewise. - * vms.c (vms_bfd_define_common_symbol): Likewise. - * xcoff-target.h (_bfd_xcoff_bfd_define_common_symbol): Likewise. - * xsym.c (bfd_sym_bfd_define_common_symbol): Likewise. - * coff-rs6000.c (rs6000coff_vec): Add _bfd_xcoff_define_common_symbol. - (pmac_xcoff_vec): Likewise. - * coff64-rs6000.c (rs6000coff64_vec): Likewise. - (aix5coff64_vec): Likewise. - * linker.c (bfd_generic_define_common_symbol): New function. - * targets.c (BFD_JUMP_TABLE_LINK): Add NAME##_bfd_define_common_symbol. - (_bfd_define_common_symbol): New field. - * libcoff-in.h (_bfd_xcoff_define_common_symbol): Declare. - * xcofflink.c (_bfd_xcoff_define_common_symbol): New function. - (xcoff_build_ldsyms): Don't set XCOFF_DEF_REGULAR for common - symbols here. - * bfd-in2.h: Regenerate. - * libbfd.h: Likewise. - * libcoff.h: Likewise. - -2009-04-15 Anthony Green <green@moxielogic.com> - - * targets.c: Add moxie support. - * Makefile.am: Ditto. - * Makefile.in: Rebuilt. - * cpu-moxie.c, elf32-moxie.c: New files. - * archures.c: Add moxie support. - * configure.in: Add moxie support. - * configure: Rebuilt. - * config.bfd, archures.c: Add moxie support. - * bfd-in2.h: Rebuilt. - -2009-04-15 Christophe Lyon <christophe.lyon@st.com> - - * elf32-arm.c (elf32_arm_final_link_relocate): Don't convert ARM - branch to an undef weak symbol into a jump to next instruction if - a PLT entry will be created. - -2009-04-14 Dave Korn <dave.korn.cygwin@gmail.com> - - * coffgen.c (make_a_section_from_file): Set the backend long - section names enable if long section names found on input. - * coffcode.h: Extend long section names documentation to match. - -2009-04-08 H.J. Lu <hongjiu.lu@intel.com> - - * elflink.c (elf_link_add_object_symbols): Warn alternate ELF - machine code. - -2009-04-07 DJ Delorie <dj@redhat.com> - - * archures.c: Add bfd_mach_mep_c5. - * bfd-in2.h: Likewise. - * cpu-mep.c: Add bfd_c5_arch. - * elf32-mep.c: Support it. - -2009-04-07 H.J. Lu <hongjiu.lu@intel.com> - - * elflink.c (_bfd_elf_section_already_linked): Add `\n' for - info->callbacks->einfo. - * linker.c (_bfd_generic_section_already_linked): Likewise. - -2009-04-06 DJ Delorie <dj@redhat.com> - - * elf32-h8300.c (elf32_h8_relax_section): Relax MOVA opcodes. - -2009-04-06 H.J. Lu <hongjiu.lu@intel.com> - - * coff-x86_64.c (bfd_pe_print_pdata): Defined to - _bfd_pex64_print_pdata only if PE is defined. - - * libpei.h (_bfd_pep_print_x64_pdata): Renamed to ... - (_bfd_pex64_print_pdata): This. - - * peXXigen.c (_bfd_pep_print_x64_pdata): Renamed to ... - (_bfd_pex64_print_pdata): This. Defined only if COFF_WITH_pex64 - is defined. - -2009-04-05 Kai Tietz <kai.tietz@onevision.com> - - * coff-x86_64.c (bfd_pe_print_pdata): Define as - _bfd_pep_print_x64_pdata. - * libpei.h (_bfd_pep_print_x64_pdata): Add prototype. - * peXXigen.c (_bfd_pep_print_x64_pdata): New. - -2009-04-02 Sterling Augustine <sterling@jaw.hq.tensilica.com> - - * elf32-xtensa.c (relax_property_section): Always set r_offset - to zero. - -2009-04-02 Christophe Lyon <christophe.lyon@st.com> - - * elf32-arm.c (elf32_arm_stub_long_branch_v4t_thumb_thumb, - elf32_arm_stub_long_branch_v4t_thumb_thumb_pic): Two new long - branch stubs. - (elf32_arm_stub_type): New enum values for the two new stubs. - (arm_type_of_stub): Make use of the two new stubs. - (arm_size_one_stub): Handle the two new stubs. - -2009-04-01 Matt Thomas <matt@netbsd.org> - - * elf32-vax.c (elf_vax_check_relocs): Do not put relocations against - hidden symbols into the GOT or PLT.GOT. - (elf_vax_relocate_section): Do not emit a PCREL reloc - into a shared object if it is against a hidden symbol. - -2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com> - - * xcofflink.c (xcoff_archive_info): Add contains_shared_object_p - and know_contains_shared_object_p. - (xcoff_archive_contains_shared_object_p): Add an "info" parameter. - Cache the result in the archive_info table. - (xcoff_auto_export_p): Add an "info" parameter and update the - call to xcoff_archive_contains_shared_object_p. - (xcoff_mark_auto_exports): Update accordingly. - (xcoff_post_gc_symbol): Likewise. - -2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com> - - * xcofflink.c (bfd_link_input_bfd): Treat __rtinit as C_HIDEXT - rather than C_EXT. - -2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com> - - * coff-rs6000.c (member_layout): New structure. - (archive_iterator): Likewise. - (member_layout_init): New function. - (archive_iterator_begin): Likewise. - (archive_iterator_next): Likewise. - (xcoff_write_armap_old): Use the new iterator functions. - (do_shared_object_padding): Delete. - (xcoff_write_armap_big): Use the new iterator functions. Simplify - handling of arch_info. - (xcoff_write_archive_contents_old): Allocate arelt_data in the - first loop rather than the second. Allocate a member header if - there isn't one, then work out the stat information and length - in the first loop too. Use the new iterators for the second loop. - (xcoff_write_archive_contents_big): Likewise. - -2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com> - - * bfd-in.h (bfd_xcoff_split_import_path): Declare. - (bfd_xcoff_set_archive_import_path): Likewise. - * bfd-in2.h: Regenerate. - * xcofflink.c: Include libiberty.h. - (xcoff_archive_info): New structure. - (xcoff_archive_info_hash): New function. - (xcoff_archive_info_eq): Likewise. - (xcoff_get_archive_info): Likewise. - (_bfd_xcoff_bfd_link_hash_table_create): Initialize archive_info. - (bfd_xcoff_split_import_path): New function. - (bfd_xcoff_set_archive_import_path): Likewise. - (xcoff_set_import_path): Move earlier in file. - (xcoff_link_add_dynamic_symbols): Set the import path of a non-archive - object to the the directory part of the bfd's filename. Get the - import path and filename of an archive object from the archive's - xcoff_tdata, initializing it if necessary. Update use of - import_file_id. - (bfd_link_input_bfd): Update use of import_file_id. - (xcoff_write_global_symbol): Likewise. - -2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com> - - * xcofflink.c (xcoff_link_hash_table): Moved from include/coff/xcoff.h. - -2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com> - - * xcofflink.c (xcoff_link_create_extra_sections): Don't create - a .loader section for relocatable links. - (xcoff_need_ldrel_p): New function. - (xcoff_mark): Use it. - (bfd_xcoff_link_count_reloc): Only count loader relocs if there's - a loader section. - (xcoff_build_ldsym): New function, split out from... - (xcoff_build_ldsyms): ...here. Rename to... - (xcoff_post_gc_symbol): ...this. Only export symbols, and only - call xcoff_build_ldsym, if there's a loader section. - (xcoff_build_loader_section): New function, extracted verbatim from... - (bfd_xcoff_size_dynamic_sections): ...here. Only call it if - there's a loader section. Only add an __rtinit loader symbol - if there's a loader section. Update after above name change. - (xcoff_symbol_section, xcoff_create_ldrel): New functions. - (bfd_link_input_bfd): Use xcoff_need_ldrel_p, xcoff_symbol_section - and xcoff_create_ldrel. - (xcoff_write_global_symbol): Use xcoff_create_ldrel. - (xcoff_reloc_link_order): Likewise, but only call it if there's - a loader section. Use xcoff_symbol_section. - (_bfd_xcoff_bfd_final_link): Only use fdinfo.ldrel and fdinfo.ldsym - if there's a loader section. - -2009-04-01 Richard Sandiford <rdsandiford@googlemail.com> - - * xcofflink.c (bfd_link_input_bfd): Fix buffer overrun. - -2009-04-01 Christophe Lyon <christophe.lyon@st.com> - - * elf32-arm.c (group_sections): Rewrite loops for better - readability. - -2009-03-30 DJ Delorie <dj@redhat.com> - - * elflink.c (elf_link_input_bfd): Don't try to resolve complex - relocs when doing a relocatable link. - -2009-03-28 Mark Mitchell <mark@codesourcery.com> - - * coff-arm.c (coff_arm_merge_private_bfd_data): Use "error:", not - "ERROR:", in error messages. - * cpu-arm.c (bfd_arm_merge_machines): Likewise. - * elf-attrs.c (_bfd_elf_merge_object_attributes): Likewise. - * elf32-arm.c (tag_cpu_arch_combine): Likewise. - (elf32_arm_merge_eabi_attributes): Likewise. - (elf32_arm_merge_private_bfd_data): Likewise. - -2009-03-27 Nick Clifton <nickc@redhat.com> - - * section.c (bfd_get_section_contents): Detect and handle the case - where a section has the SEC_IN_MEMORY flag set but no actual - contents allocated. - -2009-03-26 Alan Modra <amodra@bigpond.net.au> - - PR 6494 - * elf.c (copy_elf_program_header): Do not check that PT_GNU_RELRO - p_filesz and p_memsz are equal. Use p_memsz as the segment size. - (assign_file_positions_for_non_load_sections): Zap PT_GNU_RELRO - if we don't find matching PT_LOAD when copying. - -2009-03-25 M R Swami Reddy <MR.Swami.Reddy@nsc.com> - - * elf32-crx.c (crx_elf_howto_table): Zero the src_mask field of - the reloc descriptions. - -2009-03-25 Hans-Peter Nilsson <hp@axis.com> - - * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD> - <R_CRIS_16_GOT_GD, case R_CRIS_32_GOT_GD>: Handle COMMON symbols. - <case R_CRIS_16_TPREL, R_CRIS_32_TPREL>: Ditto. - -2009-03-24 H.J. Lu <hongjiu.lu@intel.com> - - * cpu-i386.c (bfd_x86_64_arch_intel_syntax): Make it static. - (bfd_i386_arch_intel_syntax): Likewise. - (i8086_arch): Likewise. - (bfd_x86_64_arch): Likewise. - -2009-03-24 Hans-Peter Nilsson <hp@axis.com> - - * elf32-cris.c (cris_elf_relocate_section): <case - R_CRIS_16_DTPREL, R_CRIS_32_DTPREL>: Allow use of non-local - symbols for non-allocated sections. Don't check whether to - generate R_CRIS_DTPMOD for non-allocated sections. - (cris_elf_gc_sweep_hook) <case R_CRIS_32_DTPREL>: Don't - handle relocation GC:ing if applied to non-allocated section. - (cris_elf_check_relocs): Similar. - - * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD> - <R_CRIS_16_GOT_GD, R_CRIS_32_GOT_GD>: Don't include the TLS size - when emitting a known TP offset in the GOT. - -2009-03-23 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (synthetic_opd): Delete. - (compare_symbols): Look for .opd name rather than section match. - (ppc64_elf_get_synthetic_symtab): Likewise. - -2009-03-21 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (is_pic_glink_stub): Delete. - (is_nonpic_glink_stub): New function. - (ppc_elf_get_synthetic_symtab): Check for last non-pic stub rather - than first pic one. - (struct ppc_elf_link_hash_table <glink_pltresolve>): Comment fix. - -2009-03-20 Martin Schwidefsky <schwidefsky@de.ibm.com> - Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * elf32-s390.c (elf_s390_check_relocs): Use the SYMBOL_* - macros for visibilty and locality checks. - (elf_s390_adjust_dynamic_symbol): Likewise. - (allocate_dynrelocs): Likewise. - (elf_s390_relocate_section): Likewise. - (elf_s390_finish_dynamic_symbol): Likewise. - * elf64-s390.c (elf_s390_check_relocs): Likewise. - (elf_s390_adjust_dynamic_symbol): Likewise. - (allocate_dynrelocs): Likewise. - (elf_s390_relocate_section): Likewise. - (elf_s390_finish_dynamic_symbol): Likewise. - -2009-03-19 Kai Tietz <kai.tietz@onevision.com> - - * bfd-in2.h: Regenerated. - * coffcode.h (sec_to_styp_flags): For pe-coff add SEC_READONLY - for debugging sections and map memory read/write dependent on - SEC_COFF_NOREAD. - (styp_to_sec_flags): Set SEC_COFF_NOREAD for sections - without memory read flags set. - * section.c: Add SEC_COFF_NOREAD to section flags. - -2009-03-19 Andreas Schwab <schwab@linux-m68k.org> - - * elf32-hppa.c (final_link_relocate): Cast bfd_vma values to long - for format string. - -2009-03-19 Alan Modra <amodra@bigpond.net.au> - - * elf32-spu.c (spu_elf_find_overlays): Separate error return from - "no overlays" return. If there are overlays, create overlay - manager entry symbols here, so that.. - (spu_elf_build_stubs): ..we don't need to set them up here. - Simplify entry symbol tests. - * elf32-spu.h (spu_elf_find_overlays): Update prototype. - -2009-03-18 Mark Kettenis <kettenis@gnu.org> - - * elf.c (elfcore_grok_openbsd_procinfo) - (elfcore_grok_openbsd_note): New functions. - (elf_parse_notes): Handle notes from OpenBSD ELF core files. - -2009-03-18 Alan Modra <amodra@bigpond.net.au> - - * vms-hdr.c: Don't include alloca.h. - * elf32-m68hc1x.c: Include alloca-conf.h. - * xsym.c: Likewise. - * elf64-hppa.c: Likewise. Remove existing #if's handling alloca. - * som.c: Likewise. - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2009-03-17 Daniel Jacobowitz <dan@codesourcery.com> - - * elf32-arm.c (elf32_arm_check_relocs): Correct symbian_p test. - -2009-03-17 Alan Modra <amodra@bigpond.net.au> - - * elf32-spu.h (struct spu_elf_params): ovly_flavour now only 1 bit. - Add compact_stub. - (emum _ovly_flavour): Delete ovly_compact, ovly_none. - * elf32-spu.c (struct spu_link_hash_table): Replace ovly_load and - ovly_return fields with ovly_entry[2]. Adjust all users. - (spu_elf_find_overlays): Set ovly_entry[1] from __icache_call_handler - when soft-icache. - (spu_elf_build_stubs): Likewise. - (ovl_stub_size): Change arg to spu_elf_params pointer. Adjust for - ovly_flavour changes. Update all callers. - (ovl_stub_size_log2): New function. - (build_stub): Handle compact icache stubs. Use different manager - entry point for stubs in non-icache area. - (spu_elf_size_stubs): Don't allocate space for indirect branch - descriptors. - (spu_elf_build_stubs): And don't built them. - -2009-03-16 Andrew Stubbs <ams@codesourcery.com> - - * dwarf2.c (read_section): Always use rawsize, if available. - -2009-03-16 Alan Modra <amodra@bigpond.net.au> - - * simple.c (bfd_simple_get_relocated_section_contents): Use larger - of rawsize and size for buffer. - -2009-03-15 Ulrich Weigand <uweigand@de.ibm.com> - - * elf32-spu.c (spu_elf_check_vma): Do not reset auto_overlay - parameter just because fixed sections fit into local store. - (spu_elf_auto_overlay): Do not declare as "noreturn". Skip - generating overlays if fixed sections plus reserved stack - and heap space fit into local store. - -2009-03-15 Alan Modra <amodra@bigpond.net.au> - - * elf32-spu.c (build_stub): Correct icache set_id. - (spu_elf_relocate_section): Likewise. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * xcofflink.c (xcoff_link_check_archive_element): Only free the - symbol table if it was created by the current call. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * xcofflink.c (xcoff_build_ldsyms): Give imported descriptors - class XMC_DS rather than XMC_UA. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * bfd-in.h (bfd_xcoff_size_dynamic_sections): Replace the - bfd_boolean export_defineds parameter with an unsigned int - auto_export_flags parameter. - * bfd-in2.h: Regenerate. - * xcofflink.c (xcoff_archive_contains_shared_object_p): New function, - split out from xcoff_build_ldsyms. - (xcoff_covered_by_expall_p): New function. - (xcoff_auto_export_p): New function, split out from xcoff_build_ldsyms - but with extra code to handle -bexpfull and -bexpall. - (xcoff_mark_auto_exports): New function. - (xcoff_build_ldsyms): Use xcoff_auto_export_p to decide whether - a function should be automatically exported. - (bfd_xcoff_size_dynamic_sections): Replace the export_defineds - parameter with an auto_export_flags parameter. Update ldinfo - accordingly. Use xcoff_mark_auto_exports to mark all automatically- - exported symbols. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * xcofflink.c (xcoff_mark_symbol_by_name): New function. - (bfd_xcoff_size_dynamic_sections): Use it to mark the entry, - init and fini functions. Do garbage collection for objects - without an entry point too. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * coffcode.h (coff_pointerize_aux_hook): Update CSECT_SYM_P to - check whether a symbol has csect information. - (coff_print_aux): Likewise. - * coff-rs6000.c (_bfd_xcoff_swap_aux_in): Handle auxillary csect - information for C_AIX_WEAKEXT too. - (_bfd_xcoff_swap_aux_out): Likewise. - (xcoff_reloc_type_br): Handle defweak symbols too. - * coff64-rs6000.c (_bfd_xcoff64_swap_aux_in): Handle auxillary csect - information for C_AIX_WEAKEXT too. - (_bfd_xcoff64_swap_aux_out): Likewise. - (xcoff64_reloc_type_br): Handle defweak symbols too. - * coffgen.c (coff_print_symbol): Handle auxillary function - information for C_AIX_WEAKEXT too. - * xcofflink.c (_bfd_xcoff_canonicalize_dynamic_symtab): Set BSF_WEAK - instead of BSF_GLOBAL if the L_WEAK flag is set. - (xcoff_dynamic_definition_p): New function. - (xcoff_link_add_dynamic_symbols): Use it to decide whether ldsym - defines h. Don't change h if ldsym isn't the definition. Otherwise, - always take the symbol class from the ldsym. Use weak bfd symbol - types for weak ldsyms. - (xcoff_link_add_symbols): Use CSECT_SYM_P and EXTERN_SYM_P. - Fix the check for whether a definition is from a shared object. - Allow redefinitions of weak symbols. - (xcoff_link_check_ar_symbols): Use EXTERN_SYM_P. - (xcoff_keep_symbol_p): Likewise. - (bfd_xcoff_size_dynamic_sections): Use CSECT_SYM_P. - (xcoff_link_input_bfd): Use CSECT_SYM_P and EXTERN_SYM_P. - Add .loader entries for C_AIX_WEAKEXT as well as C_EXT symbols, - but mark them as L_WEAK. - (xcoff_write_global_symbol): Treat weak symbols as C_AIX_WEAKEXT - instead of C_EXT if C_AIX_WEAKEXT == C_WEAKEXT. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * xcofflink.c (xcoff_mark): When walking the relocations, - only mark the target symbol or the target section, not both. - (xcoff_final_definition_p): New function. - (xcoff_keep_symbol_p): Use it to check whether an external XCOFF - symbol is a valid definition of the associated output symbol. - Use XCOFF_ALLOCATED to stop the same hash table entry having - two output symbols. - (bfd_xcoff_size_dynamic_sections): Set XCOFF_ALLOCATED when - keeping a symbol. - (xcoff_link_input_bfd): Use xcoff_final_definition_p. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * xcofflink.c (bfd_xcoff_import_symbol): Treat imported absolute - symbols as XMC_XO. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * libcoff-in.h (xcoff_tdata): Add a lineno_counts field. - * libcoff.h: Regenerate. - * xcofflink.c (xcoff_link_add_symbols): Record per-symbol - line-number counts in the bfd's lineno_counts field. - Don't keep per-csect line-number counts. - (xcoff_sweep): Don't update per-csect line-number counts. - (bfd_xcoff_size_dynamic_sections): Count the number of line-number - entries in each output section. - (xcoff_link_input_bfd): Get the number of line numbers from - the bfd's lineno_counts field, rather than recalculating it - from scratch. Fix the range check when updating C_BINCL and - C_EINCL symbols. - (_bfd_xcoff_bfd_final_link): Don't count the output line numbers - here. Don't expect csects to have line-number counts. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * libcoff-in.h (xcoff_tdata): Change debug_indices to a signed long. - * libcoff.h: Regenerate. - * xcofflink.c (xcoff_keep_symbol_p): New function, using the - "skip" logic from xcoff_link_input_bfd. - (bfd_xcoff_size_dynamic_sections): Explicitly skip dynamic - objects in a dynamic link, rather than checking whether csectpp - is null. Always allocate debug_index for other objects, - and always go through the loop. Update the type of debug_index - after the change above. Read the auxillary csect information - and use xcoff_keep_symbol_p to decide whether a symbol should - be kept. Set its debug_index to -2 if not. - (xcoff_link_input_bfd): Update the type of debug_index after - the change above and always expect it to be nonnull. Use it to - test whether a symbol should be stripped, rather than making the - decision here. Postpone all symbol creation to the second pass. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * xcofflink.c: (xcoff_mark_symbol): Mark the TOC section when - creating a descriptor. - (xcoff_sweep): Don't mark toc_section unless it's needed. - (bfd_xcoff_size_dynamic_sections): Skip the toc_section - when marking every bfd. - (xcoff_link_input_bfd): Skip all TOC anchors. - (xcoff_toc_section_p, xcoff_find_tc0): New functions. - (_bfd_xcoff_bfd_final_link): Don't set the output bfd's TOC anchor - to -1; call xcoff_find_tc0 instead. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * libcoff-in.h (xcoff_section_tdata): Update commentary. - * libcoff.h: Regenerate. - * xcofflink.c (xcoff_link_add_symbols): Set the csect of XTY_ER - symbols to bfd_und_section_ptr or bfd_abs_section_ptr, rather than - the previous symbol's csect. Treat last_symndx as an inclusive value - and simplify its handling. - (xcoff_mark): Treat last_symndx as an inclusive value. Only mark - symbols with the right csect. Don't mark rsec when processing - relocations against undefined or absolute sections. - (bfd_xcoff_size_dynamic_sections): Don't check the SEC_MARK flag - of bfd_und_section_ptr. - (xcoff_link_input_bfd): Likewise. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * coff-rs6000.c (xcoff_ppc_relocate_section): Report relocations - against undefined symbols if the symbol's XCOFF_WAS_UNDEFINED - flag is set. Assert that all undefined symbols are either - imported or defined by a dynamic object. - * coff64-rs6000.c (xcoff64_ppc_relocate_section): Likewise. - * xcofflink.c (xcoff_link_add_symbols): Extend function-symbol - handling to all relocations. Only set XCOFF_CALLED for function - symbols. - (xcoff_find_function): New function, split out from... - (bfd_xcoff_export_symbol) ...here. - (xcoff_set_import_path): New function, split out from... - (bfd_xcoff_import_symbol): ...here. Remove assertion for old - meaning of XCOFF_CALLED. - (xcoff_mark_symbol): If we mark an undefined and unimported - symbol, find some way of defining it. If the symbol is a function - descriptor, fill in its definition automatically. If the symbol - is a function, mark its descriptor and allocate room for global - linkage code. Otherwise mark the symbol as implicitly imported. - Move the code for creating function descriptors from... - (xcoff_build_ldsyms): ...here. Use XCOFF_WAS_UNDEFINED to - check for symbols that were implicitly defined. - (xcoff_mark): Don't count any dynamic relocations against - function symbols. - (bfd_xcoff_size_dynamic_sections): Save the rtld parameter - in the xcoff link info. - (xcoff_link_input_bfd): Remove handling of undefined and - unexported symbols. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * coff-rs6000.c (xcoff_reloc_type_br): Make the branch absolute - if the target is absolute. Fix comment typo. - (xcoff_ppc_relocate_section): Remove FIXME. - * coff64-rs6000.c (xcoff64_reloc_type_br): Make the branch absolute - if the target is absolute. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * xcofflink.c (xcoff_mark, xcoff_link_input_bfd): Don't copy - R_POS and R_NEG relocations against absolute symbols to the - .loader section. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * coff64-rs6000.c (xcoff64_write_object_contents): Set the cputype - to 2 for bfd_mach_ppc_620. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * config.bfd: Treat AIX 6+ in the same way as AIX 5. - * configure.in: Likewise. - * configure: Regenerate. - -2009-03-13 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/9945 - * elf.c (assign_section_numbers): Generate symbol table if there - is any relocation in output. - (_bfd_elf_compute_section_file_positions): Likewise. - -2009-03-13 Nick Clifton <nickc@redhat.com> - - PR 9934 - * elf-bfd.h (NUM_SHDR_ENTRIES): Cope with an empty section. - * elflink.c (elf_link_read_relocs_from_section): Use - NUM_SHDR_ENTRIES. Gracefully handle the case where there are - relocs but no symbol table. - * elf32-arm.c (elf32_arm_check_relocs): Likewise. - -2009-03-12 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/9938 - * elf32-i386.c (elf_i386_check_tls_transition): Use strncmp - to check ___tls_get_addr. - - * elf64-x86-64.c (elf64_x86_64_check_tls_transition): Use - strncmp to check __tls_get_addr. - -2009-03-12 Andrew Stubbs <ams@codesourcery.com> - - * dwarf2.c (read_section): Always check the offset, even when the - section has been read before. - -2009-03-11 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c (elf_i386_check_tls_transition): Fix a typo in - comments. - -2009-03-11 Chris Demetriou <cgd@google.com> - - * bfd.c (BFD_DETERMINISTIC_OUTPUT): New flag. - * bfd-in2.h: Regenerate. - * archive.c (bfd_ar_hdr_from_filesystem): If BFD_DETERMINISTIC_OUTPUT - flag is set, use 0 for uid, gid, and timestamp, and use 0644 for file - mode. - (bsd_write_armap): Likewise. - (_bfd_archive_bsd_update_armap_timestamp): If BFD_DETERMINISTIC_OUTPUT - flag is set, do nothing. - (coff_write_armap): If BFD_DETERMINISTIC_OUTPUT flag is set, use 0 - for timestamp. - -2009-03-11 Ulrich Weigand <uweigand@de.ibm.com> - - * elf32-spu.c (find_function_stack_adjust): Handle sf instruction - used to update stack pointer. - -2009-03-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - PR binutils/9921 - * som.c (som_bfd_derive_misc_symbol_info): Set symbol type ST_ABSOLUTE - for unknown symbols in absolute section. - -2009-03-06 Nick Clifton <nickc@redhat.com> - - * po/es.po: Updated Spanish translation. - -2009-03-05 Christophe Lyon <christophe.lyon@st.com> - - * elf32-arm.c (group_sections): Take next section size into - account before accepting to group it. - -2009-03-05 Christophe Lyon <christophe.lyon@st.com> - - * elf32-arm.c (arm_type_of_stub): Handle long branches targetting - PLT entries. - (elf32_arm_final_link_relocate): Likewise. - -2009-03-05 Moritz Kroll <Moritz.Kroll@gmx.de> - - PR 9923 - * peXXigen.c (_bfd_XXi_final_link_postscript): Check h->root.type. - -2009-03-04 Alan Modra <amodra@bigpond.net.au> - - * reloc.c (BFD_RELOC_PPC_TLSGD, BFD_RELOC_PPC_TLSLD): New. - * section.c (struct bfd_section): Add has_tls_get_addr_call. - (BFD_FAKE_SECTION): Init new flag. - * ecoff.c (bfd_debug_section): Likewise. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - * elf32-ppc.c (ppc_elf_howto_raw): Add R_PPC_TLSGD and R_PPC_TLSLD. - (ppc_elf_reloc_type_lookup): Handle new relocs. - (ppc_elf_check_relocs): Set has_tls_get_addr_call on finding such - without marker relocs. - (ppc_elf_tls_optimize): Allow out-of-order __tls_get_addr relocs - if section has no old-style calls. - (ppc_elf_relocate_section): Set tls_mask for non-tls relocs too. - Don't try to optimize new-style __tls_get_addr call when handling - arg setup relocs. Instead do so for R_PPC_TLSGD and R_PPC_TLSLD - relocs. - * elf64-ppc.c (ppc64_elf_howto_raw): Add R_PPC64_TLSGD, R_PPC64_TLSLD. - (ppc64_elf_reloc_type_lookup): Handle new relocs. - (ppc64_elf_check_relocs): Set has_tls_get_addr_call on finding such - without marker relocs. - (ppc64_elf_tls_optimize): Allow out-of-order __tls_get_addr relocs - if section has no old-style calls. Set toc_ref for new relocs as - appropriate. - (ppc64_elf_relocate_section): Set tls_mask for non-tls relocs too. - Don't try to optimize new-style __tls_get_addr call when handling - arg setup relocs. Instead do so for R_PPC_TLSGD and R_PPC_TLSLD - relocs. - -2009-03-04 Alan Modra <amodra@bigpond.net.au> - - PR 6768 - * configure.in: Test for ld --as-needed support. Link shared - libbfd against libm. - * configure: Regenerate. - -2009-03-03 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2009-03-02 Qinwei <qinwei@sunnorth.com.cn> - - * elf32-score7.c: New file. - * elf32-score.h: New file. - * elf32-score.c: Add code to support score 7. Set score7 as the - default. - * cpu-score.c: Add score7 architecure. - (compatibile): New function. - * Makefile.am: Add rules for building elf32-score7 object. - * Makefile.in: Regenerate. - * configure.in: Add elf32-score7 object to score vectors. - * configure: Regenerate. - * reloc.c: Add score7 relocs. - * archures.c: Add score3 and score7 machine numbers. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - -2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure: Regenerate. - -2009-03-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * elf32-hppa.c (hppa32_elf_local_refcounts): New function. - (elf32_hppa_check_relocs): Use it. - - * elf_hppa_add_symbol_hook (elf_hppa_add_symbol_hook): Move to - elf64-hppa.c. - (elf_hppa_unmark_useless_dynamic_symbols): Likewise. - (elf_hppa_remark_useless_dynamic_symbols): Likewise. - (elf_hppa_is_dynamic_loader_symbol): Likewise. - (elf_hppa_record_segment_addrs): Likewise. - (elf_hppa_final_link): Likewise. - (elf_hppa_relocate_insn): Likewise. - (elf_hppa_final_link_relocate): Likewise. - (elf64_hppa_relocate_section): Likewise. - * elf64-hppa.c: Insert above. - -2009-02-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * elf-hppa.h (elf_hppa_final_link): Use elf_hppa_final_link. - (elf_hppa_final_link_relocate ): Rewrite eliminating dynamic hash table. - (elf_hppa_relocate_section): Likewise. - * elf64-hppa.c (struct elf64_hppa_link_hash_entry): Change to derive - from struct elf_link_hash_entry. Add count field. - (struct elf64_hppa_dyn_hash_table): Delete. - (struct elf64_hppa_link_hash_table): Delete dyn_hash_table field. - (elf64_hppa_hash_table): Rename to hppa_link_hash_table. - (hppa_elf_hash_entry, eh_name): Define. - (elf64_hppa_new_dyn_hash_entry): Delete. - (elf64_hppa_dyn_hash_lookup): Delete. - (elf64_hppa_dyn_hash_traverse): Delete. - (get_dyn_name): Delete. - (elf64_hppa_finalize_opd): Use struct elf_link_hash_entry * instead - of struct elf64_hppa_dyn_hash_entry *. - (elf64_hppa_finalize_dlt, llocate_global_data_dlt, - allocate_global_data_plt, allocate_global_data_stub, - allocate_global_data_opd, count_dyn_reloc, allocate_dynrel_entries): - Likewise. - (hppa64_link_hash_newfunc): New. - (elf64_hppa_hash_table_create): Rework. - (count_dyn_reloc): Likewise. - (hppa64_elf_local_refcounts): New. - (elf64_hppa_check_relocs): Rework using standard technique for recording - local DLT, PLT and OPD reference counts. - (elf64_hppa_dynamic_symbol_p): Revise using "eh" for struct - elf_link_hash_entry *. - (elf64_hppa_mark_exported_functions, allocate_global_data_dlt, - allocate_global_data_plt, allocate_global_data_stub, - allocate_global_data_opd, allocate_dynrel_entries, - elf64_hppa_adjust_dynamic_symbol, - elf64_hppa_mark_milli_and_exported_functions): Likewise. - (elf64_hppa_create_dynamic_sections, elf64_hppa_size_dynamic_sections): - Use hppa_link_hash_table. Rework. - (elf64_hppa_link_output_symbol_hook): Rework. - (elf64_hppa_finish_dynamic_symbol, elf64_hppa_finalize_opd, - elf64_hppa_finalize_dlt, elf64_hppa_finalize_dynreloc, - elf64_hppa_finish_dynamic_sections): Likewise. - -2009-02-26 Christophe Lyon <christophe.lyon@st.com> - - * elf32-arm.c (stub_reloc_type): Removed. - (insn_sequence): Renamed reloc_type field to r_type. - (elf32_arm_stub_long_branch_v4t_arm_thumb_pic): New stub. - (elf32_arm_stub_long_branch_v4t_thumb_arm_pic): Likewise. - (elf32_arm_stub_long_branch_thumb_only_pic): Likewise. - (elf32_arm_stub_type): Add new enum entries for the new stubs. - (arm_stub_is_thumb): Catch new stubs. - (arm_type_of_stub): Handle new stubs. - (arm_size_one_stub): Use ARRAY_SIZE. Handle new stubs. - (bfd_elf32_arm_process_before_allocation): Remove useless - condition. - -2009-02-25 H.J. Lu <hongjiu.lu@intel.com> - - * elf.c (elf_find_function): Use is_function_type to check - function symbol. - -2009-02-24 Sterling Augustine <sterling@jaw.hq.tensilica.com> - - * xtensa-modules.c: Revert to previous version 1.11 due - to inadvertant commit. - -2009-02-24 Sterling Augustine <sterling@tensilica.com> - - * elf32-xtensa.c (text_action_add): Separate test for action - type. Break if saved action is ta_widen_insn at same offset. - -2009-02-24 Daniel Jacobowitz <dan@codesourcery.com> - - * elf32-arm.c (elf32_arm_stub_long_branch_any_any_pic): Rename - to elf32_arm_stub_long_branch_any_arm_pic. - (elf32_arm_stub_long_branch_any_thumb_pic): New. - (enum elf32_arm_stub_type, arm_type_of_stub) - (arm_size_one_stub): Handle any to ARM PIC and any to Thumb PIC - separately. - -2009-02-24 Joseph Myers <joseph@codesourcery.com> - - * elf32-arm.c (PREV_SEC): Update comment. - (group_sections): Rename argument to stubs_always_after_branch. - Reverse the list and place stubs at the end of input sections. - Undefine NEXT_SEC. - (elf32_arm_size_stubs): Update to use stubs_always_after_branch. - -2009-02-23 Daniel Jacobowitz <dan@codesourcery.com> - - * elf32-arm.c (arm_build_one_stub): Initialize stub_reloc_offset. - Fix formatting. - (arm_size_one_stub): Remove unnecessary break. - (arm_map_one_stub): Fix formatting. Return after BFD_FAIL. - -2009-02-23 Christophe Lyon <christophe.lyon@st.com> - - * elf32-arm.c (stub_insn_type): New type. - (stub_reloc_type): Likewise. - (insn_sequence): Likewise. - (elf32_arm_stub_long_branch_any_any): Encode using insn_sequence. - (elf32_arm_stub_long_branch_v4t_arm_thumb): Likewise. - (elf32_arm_stub_long_branch_thumb_only): Likewise. - (elf32_arm_stub_long_branch_v4t_thumb_arm): Likewise. - (elf32_arm_stub_short_branch_v4t_thumb_arm): Likewise. - (elf32_arm_stub_long_branch_any_any_pic): Likewise. - (elf32_arm_stub_hash_entry): Add new helper fields. - (stub_hash_newfunc): Initialize these new fields. - (arm_build_one_stub): Encode Arm and Thumb instructions separately - to take endianness into account. - (arm_size_one_stub): Compute size of stubs using insn_sequence. - (arm_map_one_stub): Code is now more generic, thanks to - insn_sequence. - -2009-02-23 Christophe Lyon <christophe.lyon@st.com> - - * elf32-arm.c (elf32_arm_stub_long_branch_thumb_only): Fix stub - code. - (elf32_arm_stub_long_branch_v4t_thumb_arm): Likewise. - (arm_type_of_stub): Use Thumb-only long branch stub (non-PIC) when - BLX is not available. Fix typo in warning message. Add comments - and improve formatting. - (arm_build_one_stub): Adjust to new - elf32_arm_stub_long_branch_v4t_thumb_arm stub. - (arm_map_one_stub): Likewise. - -2009-02-23 Tristan Gingold <gingold@adacore.com> - Eric Botcazou <ebotcazou@adacore.com> - Douglas B Rupp <rupp@gnat.com> - - * vms.h: Update copyright year, fix comments, reorder declarations. - (_bfd_save_vms_section): Remove the prototype. - (EGPS_S_V_NO_SHIFT): New constant. - (bfd_vms_set_section_flags): New prototype. - (EGPS_S_B_ALIGN, EGPS_S_W_FLAGS, EGPS_S_L_ALLOC, EGPS_S_B_NAMLNG): New - constants. - (EGSY_S_W_FLAGS): Ditto. - (EGSY_S_V_QUAD_VAL): Ditto. - (ESDF_S_L_VALUE, ESDF_S_L_PSINDX, ESDF_S_B_NAMLNG): Ditto. - (EGST_S_W_FLAGS, EGST_S_Q_LP_1, EGST_S_Q_LP_2, EGST_S_L_PSINDX, - EGST_S_B_NAMLNG): Ditto. - (ESRF_S_B_NAMLNG): Ditto. - (ETIR_S_C_HEADER_SIZE): Ditto. - (EGPS_S_V_ALLOC_64BIT): Ditto. - (DST_S_C_EPILOG): Ditto. - (DST_S_C_SRC_SETLNUM_L, DST_S_C_SRC_SETLNUM_W) : Ditto. - (DST_S_C_SRC_INCRLNUM_B): Ditto. - (DST_S_B_PCLINE_UNSBYTE, DST_S_W_PCLINE_UNSWORD): Ditto. - (DST_S_L_PCLINE_UNSLONG): Ditto. - (DST_S_B_MODBEG_NAME, DST_S_L_RTNBEG_ADDRESS) : Ditto - (DST_S_B_RTNBEG_NAME, DST_S_L_RTNEND_SIZE): Ditto - (DST_S_C_SOURCE_HEADER_SIZE): Ditto. - (DST_S_B_SRC_DF_LENGTH, DST_S_W_SRC_DF_FILEID): Ditto. - (DST_S_B_SRC_DF_FILENAME, DST_S_B_SRC_UNSBYTE): Ditto. - (DST_S_B_SRC_UNSBYTE): Ditto. - (DST_S_W_SRC_UNSWORD, DST_S_L_SRC_UNSLONG): Ditto. - Add prototypes. - (vms_section, vms_reloc): Remove types. - (hdr_struc): Replaced by ... - (hdr_struct): ... new type. - (EMH_S_W_HDRTYP, EMH_S_B_STRLVL, EMH_S_L_ARCH1): New constants. - (EMH_S_L_ARCH2, EMH_S_L_RECSIZ, EMH_S_B_NAMLNG): Ditto. - (EMH_DATE_LENGTH): Ditto. - (eom_struc): Replaced by ... - (eom_struct): ... new type. - (EEOM_S_L_TOTAL_LPS, EEOM_S_W_COMCOD, EEOM_S_B_TFRFLG): New constants. - (EEOM_S_L_PSINDX, EEOM_S_L_TFRADR): Ditto. - (EIHD_S_K_MAJORID, EIHD_S_K_MINORID, EIHD_S_K_EXE): Ditto. - (EIHD_S_L_SIZE, EIHD_S_L_ISDOFF, EIHD_S_L_SYMDBGOFF): Ditto. - (EIHD_S_Q_SYMVVA, EIHD_S_L_IMGTYPE): Ditto. - (EISD_S_L_EISDSIZE, EISD_S_L_SECSIZE, EISD_S_Q_VIR_ADDR): Ditto. - (EISD_S_L_FLAGS, EISD_S_L_VBN, EISD_S_R_CONTROL): Ditto. - (EISD_S_L_IDENT, EISD_S_T_GBLNAM): Ditto. - (EISD_S_M_GBL, EISD_S_M_CRF, EISD_S_M_DZRO, EISD_S_M_WRT): Ditto. - (EISD_S_M_INITALCODE, EISD_S_M_BASED, EISD_S_M_FIXUPVEC): Ditto. - (EISD_S_M_RESIDENT, EISD_S_M_VECTOR, EISD_S_M_PROTECT): Ditto. - (EISD_S_M_LASTCLU, EISD_S_M_EXE, EISD_S_M_NONSHRADR): Ditto. - (EISD_S_M_QUAD_LENGTH, EISD_S_M_ALLOC_64BIT): Ditto. - (EIHS_S_L_DSTVBN, EIHS_S_L_DSTSIZE, EIHS_S_L_GSTVBN): Ditto. - (EIHS_S_L_GSTSIZE, EIHS_S_L_DMTVBN, EIHS_S_L_DMTBYTES): Ditto. - (DBG_S_L_DMT_MODBEG, DBG_S_L_DST_SIZE): Ditto. - (DBG_S_W_DMT_PSECT_COUNT, DBG_S_C_DMT_HEADER_SIZE): Ditto. - (DBG_S_L_DMT_PSECT_START, DBG_S_L_DMT_PSECT_LENGTH) - (DBG_S_C_DMT_PSECT_SIZE): Ditto. - (enum file_type_enum): New type. - (struct location_struct): Removed. - (struct fileinfo, struct srecinfo, struct lineinfo): New types. - (struct funcinfo, struct module): Ditto. - (struct vms_private_data_struct): Update fields. - (struct vms_section_data_struct): New type. - - * vms.c: Update copyright year, fix comments, - Fix includes for DECC, add prototypes. - (vms_initialize): Use bfd_alloc instead of bfd_zalloc and remove - some initializers. - Use flavour to set is_vax, location_stack is removed. - (struct pair): Declare. - (fill_section_ptr): Initialize variables at declaration. - Add guard to set SECTION_SYM flag, handlde und section. - (vms_fixup_sections): Use struct pair for fill_section_ptr argument. - (_bfd_vms_slurp_object_records): New function, replaces previous - vms_object_p. - (vms_slurp_module): New function. - (vms_slurp_image): Ditto. - (vms_object_p): Complete rewrite. - (vms_mkobject): Use is_vax field to slect architecture. - (free_reloc_stream): New function. - (vms_convert_to_var): Ditto. - (vms_convert_to_var_1): Ditto. - (vms_convert_to_var_unix_filename): Ditto. - (vms_close_and_cleanup): Call free_reloc_stream, convert file to - VAR format on VMS. - (vms_new_section_hook): Set alignment to 0, allocate private data. - (vms_get_section_contents): Load content. - (vms_get_symbol_info): Handle undefined section. - (vms_find_nearest_line): Handle. - (alloc_reloc_stream): New function. - (vms_slurp_reloc_table): Ditto. - (vms_get_reloc_upper_bound): Make it real. - (vms_canonicalize_reloc): Do the real work. - (alpha_howto_table): Add ALPHA_R_NOP, ALPHA_R_BSR, ALPHA_R_LDA, - ALPHA_R_BOH. - (vms_bfd_reloc_type_lookup): Handle NOP, BSR, LDA and BOH. - (vms_set_arch_mach): Check arch. - (vms_set_section_contents): Copy the content after allocation. - (vms_alpha_vec): Update object flags. - - * vms-tir.c: Update copyright year, fix comments, - add prototypes for new functions. - (dst_define_location): New function. - (dst_restore_location): New function. - (dst_retrieve_location): New function. - (dst_check_allocation): New function. - (image_dump): Call dst_check_allocation. - (image_write_b): Ditto. - (image_write_w): Ditto. - (image_write_l): Ditto. - (image_write_q): Ditto. - (cmd_name): Handle STA_LW, STA_QW, STO_OFF, STO_IMM, STO_IMMR, STO_LW, - STO_QW, OPR_ADD, CTL_SETRB, STC_LP_PSB, CTL_DFLOC, CTL_STLOC, - CTL_STKDL. - Call error handler instead of abort if name is not known. - (etir_sta): Add quarter_relocs argument and set it. - Fix cast. - (etir_sto): Ditto. - (etir_opr): Ditto, return FALSE in case of error. - (etir_ctl): Add quarter_relocs argument and set it, fix cast. - Fix CTL_DFLOC, CTL_STLOC, CTL_STKDL. - (etir_stc): Add quarter_relocs argument and set it, fix cast. - Fix STC_LP, STC_LP_PSB, STC_GBL and STC_CGA. - Handle STC_LP_PSB, STC_BSR_GBL, STC_LDA_GBL, STC_BOH_GBL. - Move STC_NOP_PS, STC_BSR_PS, STC_LDA_PS, STC_BOH_PS, STC_NBH_PS. - Return FALSE in case of error. - (tir_sta): Change sign of psect. - (tir_ctl): Ditto. - (tir_cmd): Fix cast. Makes tir_table static const. - (etir_cmd): Add quarter_relocs argument, makes etir_table const, - add argument to explain. - (analyze_etir): Initialize maxptr, add quarter_relocs - declaration, move some declarations into inner scopes. - Handle quarter_relocs and STO_IMM. - (_bfd_vms_slurp_tir): Use constant instead of hard-coded values. - (_bfd_vms_slurp_relocs): New function. - (_bfd_vms_decode_relocs): New function. - (sto_imm): Rewritten. - (start_first_etbt_record): New function. - (start_another_etbt_record): Ditto. - (etir_output_check): Ditto. - (defer_reloc_p): Ditto. - (_bfd_vms_write_tir): Remove nextoffset, convert a while-loop to - a for-loop. Correctly deals with contents, deals with .vmsdebug, - rewritte relocations handling. - (_bfd_vms_write_tbt): Removed. - (_bfd_vms_write_dbg): Ditto. - - * vms-misc.c: Update copyright year, Fix comments. - (_bfd_vms_get_header_values): Use 'size' instead of 'length'. - (maybe_adjust_record_pointer_for_object): New function. - (_bfd_vms_get_first_record): New function, replaces ... - (_bfd_vms_get_record): .. removed. - (_bfd_vms_get_object_record): New function. - (_bfd_vms_get_object_record): New function. - (vms_get_remaining_object_record): New function, replaces ... - (_bfd_vms_get_next_record): ... removed. - (add_new_contents): Removed. - (_bfd_save_vms_section): Removed. - (_bfd_get_vms_section): Removed. - (_bfd_vms_output_flush): Write in VAR format. - (new_symbol): Don't make UND section. - - * vms-hdr.c: Update copyright year, update list of record handled. - (_bfd_vms_slurp_hdr): rec_length renamed to rec_size. - (_bfd_vms_write_hdr): Strip vms and unix patches, - add comments, truncate module name at 31 characters, - use constants instead of hard-coded value, - write BFD version instead of a fixed string. - (_bfd_vms_slurp_ihd): New function. - (_bfd_vms_slurp_isd): Ditto. - (_bfd_vms_slurp_ihs): Ditto. - (new_module): Ditto. - (parse_module): Ditto - (build_module_list): Ditto. - (module_find_nearest_line): Ditto. - (_bfd_vms_find_nearest_dst_line): Ditto. - (vms_slurp_debug): Ditto. - (_bfd_vms_slurp_dbg): Ditto. - (_bfd_vms_slurp_tbt): Ditto. - (_bfd_vms_write_dbg): Ditto. - (_bfd_vms_write_tbt): Ditto. - - * vms-gsd.c: Update copyright year, update list of records handled. - (EVAX_LITERALS_NAME): New macro. - (evax_section_flags): Add an entry for EVAX_LITERALS_NAME. - (gpsflagdesc, gsyflagdesc): Moved out of _bfd_vms_slurp_gsd. - (register_universal_symbol): New function and prototype. - (_bfd_vms_slurp_gsd): Fix indentations and casts, - improve debug messages, - use constants instead of hard-coded value, - fix missing endianness conversion, - handle global symbol (SYMG). - (bfd_vms_set_section_flags): New function. - (_bfd_vms_write_gsd): Don't write .vmsdebug section, - handle section literals, - fix indentation, - handle section bfd and vms flags, - don't output LIB$INITIALIZE symbol, - fix handling of weak symbols, - fix evax vs vax procedure descriptor, - handle absolute symbols. - - * reloc.c (BFD_RELOC_ALPHA_NOP, BFD_RELOC_ALPHA_BSR, - BFD_RELOC_ALPHA_LDA, BFD_RELOC_ALPHA_BOH): New relocations. - - * makefile.vms (DEFS): Fix flags for VMS. - - * bfdio.c (real_fopen): Handle multiple VMS fopen attributes. - - * bfd-in2.h: Regenerated. - * libbfd.h: Regenerated. - -2009-02-20 Cary Coutant <ccoutant@google.com> - - * vmsutil.c (vms_file_stats_name): Fix incorrect use of st_mtime - in struct stat. - -2009-18-02 Dave Korn <dave.korn.cygwin@gmail.com> - - PR gas/7059 - * coffcode.h (coff_write_object_contents): Don't let the string - table offset overflow the s_name field when using long section names. - -2009-18-02 Dave Korn <dave.korn.cygwin@gmail.com> - - * coff-alpha.c (alpha_ecoff_backend_data): Initialise fields which - control long section name handling with ECOFF_NO_LONG_SECTION_NAMES. - * coff-mips.c (mips_ecoff_backend_data): Likewise. - * coff-rs6000.c (bfd_xcoff_backend_data): Initialise fields which - control long section name handling with XCOFF_NO_LONG_SECTION_NAMES. - (bfd_pmac_xcoff_backend_data): Likewise. - * coff64-rs6000.c (bfd_xcoff_backend_data): Likewise. - (bfd_xcoff_aix5_backend_data): Likewise. - (xcoff64_write_object_contents): Delete unused long_section_names - local variable. - * coff-sh.c (bfd_coff_small_swap_table): Initialise long section - name members using COFF_DEFAULT_LONG_SECTION_NAMES and make entire - struct non-const. - * coffcode.h (documentation): Update to describe long section names. - (COFFLONGSECTIONCATHELPER): New helper macro. - (BLANKOR1TOODD): Likewise. - (COFF_ENABLE_LONG_SECTION_NAMES): Likewise. - (COFF_LONG_SECTION_NAMES_SETTER): Likewise. - (COFF_DEFAULT_LONG_SECTION_NAMES): Likewise. - (bfd_coff_set_long_section_names_allowed): New function. - (bfd_coff_set_long_section_names_disallowed): Likewise. - (struct bfd_coff_backend_data): Add new backend hook function - pointer _bfd_coff_set_long_section_names. - (bfd_coff_set_long_section_names): New backend hook. - (coff_write_object_contents): Only generate long section names if - bfd_coff_long_section_names() indicates they are currently enabled. - (bfd_coff_std_swap_table): Make non-const, and initialise long - section name fields using COFF_DEFAULT_LONG_SECTION_NAMES. - (ticoff0_swap_table): Likewise to both. - (ticoff1_swap_table): Again, likewise to both. - * coffgen.c (make_a_section_from_file): Allow long section names - as inputs even if not currently allowed for outputs. - * ecoff.c (_bfd_ecoff_no_long_sections): New function. - * efi-app-ia32.c (COFF_LONG_SECTION_NAMES): Define to 0, not blank. - * efi-app-ia64.c (COFF_LONG_SECTION_NAMES): Likewise. - * efi-app-x86_64.c (COFF_LONG_SECTION_NAMES): Likewise. - * efi-bsdrv-ia32.c (COFF_LONG_SECTION_NAMES): Likewise. - * efi-bsdrv-ia64.c (COFF_LONG_SECTION_NAMES): Likewise. - * efi-bsdrv-x86_64.c (COFF_LONG_SECTION_NAMES): Likewise. - * efi-rtdrv-ia32.c (COFF_LONG_SECTION_NAMES): Likewise. - * efi-rtdrv-ia64.c (COFF_LONG_SECTION_NAMES): Likewise. - * efi-rtdrv-x86_64.c (COFF_LONG_SECTION_NAMES): Likewise. - * pei-arm.c (COFF_LONG_SECTION_NAMES): Likewise. - * pei-i386.c (COFF_LONG_SECTION_NAMES): Likewise. - * pei-mcore.c (COFF_LONG_SECTION_NAMES): Likewise. - * pei-mips.c (COFF_LONG_SECTION_NAMES): Likewise. - * pei-ppc.c (COFF_LONG_SECTION_NAMES): Likewise. - * pei-sh.c (COFF_LONG_SECTION_NAMES): Likewise. - * pei-x86_64.c (COFF_LONG_SECTION_NAMES): Likewise. - * libcoff-in.h: Update copyright year to cause updated copyright - year in generated libcoff.h, and fix typo. - * libcoff.h: Regenerated. - * libecoff.h (ECOFF_NO_LONG_SECTION_NAMES): New macro. - (_bfd_ecoff_no_long_sections): Add prototype. - * libxcoff.h (XCOFF_NO_LONG_SECTION_NAMES): New macro. - * pe-mips.c (COFF_LONG_SECTION_NAMES): Define empty if not already - defined by an including .c file. - * ticoff.h (ticoff0_swap_table): Make non-const, and initialise - long section name fields using COFF_DEFAULT_LONG_SECTION_NAMES. - (ticoff1_swap_table): Likewise to both. - -2009-02-18 Christophe Lyon <christophe.lyon@st.com> - - * elf32-arm.c (arm_build_one_stub): Fix relocation target for pic - stub. Catch default case error. - (arm_map_one_stub): Add missing Thumb mapping symbol. - -2009-02-18 Bjoern Haase <bjoern.m.haase@web.de> - - PR 9841 - * elf32-avr.c: Handle case where no local symbos exist correctly. - -2009-02-16 Christophe Lyon <christophe.lyon@st.com> - - bfd/ - * elf32-arm.c (arm_long_branch_stub, - arm_thumb_v4t_long_branch_stub, - arm_thumb_thumb_long_branch_stub, - arm_thumb_arm_v4t_long_branch_stub, - arm_thumb_arm_v4t_short_branch_stub, - arm_pic_long_branch_stub): - Renamed to elf32_arm_stub_long_branch_any_any, - elf32_arm_stub_long_branch_v4t_arm_thumb, - elf32_arm_stub_long_branch_thumb_only, - elf32_arm_stub_long_branch_v4t_thumb_arm, - elf32_arm_stub_short_branch_v4t_thumb_arm, - elf32_arm_stub_long_branch_any_any_pic. - (arm_stub_long_branch, arm_thumb_v4t_stub_long_branch, - arm_thumb_thumb_stub_long_branch, - arm_thumb_arm_v4t_stub_long_branch, - arm_thumb_arm_v4t_stub_short_branch, arm_stub_pic_long_branch): - Renamed to arm_stub_long_branch_any_any, - arm_stub_long_branch_v4t_arm_thumb, - arm_stub_long_branch_thumb_only, - arm_stub_long_branch_v4t_thumb_arm, - arm_stub_short_branch_v4t_thumb_arm, - arm_stub_long_branch_any_any_pic. - -2009-02-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * elf-hppa.h (elf_hppa_final_link_relocate): Correct addend value used - in branch offset check. - -2009-02-15 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (struct _ppc64_elf_section_data): Delete t_symndx, - add toc.symndx and toc.add. - (ppc64_elf_check_relocs): Don't set htab->tls_get_addr here. - Set up toc.add. - (get_tls_mask): Add toc_addend param, set from toc.add. Adjust all - callers. - (ppc64_elf_tls_setup): Set htab->tls_get_addr and tls_get_addr_fd. - (branch_reloc_hash_match): New function, extracted from.. - (ppc64_elf_tls_optimize): ..here. - (ppc64_elf_relocate_section): Properly set addends when optimizing - tls sequences. Avoid unnecessary reading and writing of insns. - Only redo reloc when symbol changed. Bypass symbol checks when - using tlsld_got. - * elf32-ppc.c (ppc_elf_tls_setup): Correct comment. - (branch_reloc_hash_match): New function, extracted from.. - (ppc_elf_tls_optimize): ..here. - (ppc_elf_relocate_section): Avoid unnecessary reading of insns. - Don't clear addend on zapped __tls_get_addr reloc. - -2009-02-12 Nick Clifton <nickc@redhat.com> - - PR 9827 - * elflink.c (bfd_elf_final_link): When counting the relocations, - if the header size has not been set yet then assume that it will - match the output section's reloc type. - -2009-02-12 Nathan Sidwell <nathan@codesourcery.com> - - * elf32-mips.c (mips_elf_final_gp): Don't add 0x4000 offset for - relocatable link. - -2009-02-09 Alan Modra <amodra@bigpond.net.au> - - * elf32-spu.c (spu_elf_find_overlays): Call bfd_set_error on errors. - (find_function): Likewise. - (pasted_function): Don't error if no prior function found. - (discover_functions): Revert 2008-12-10 change. Extend first - function range to start of section. - -2009-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * elf64-hppa.c: Remove PARAMS macro. Replace PTR with void *. Convert - functions to C90. - * elf64-hppa.h: Likewise. - -2009-02-06 Joseph Myers <joseph@codesourcery.com> - - * elfxx-mips.c (_bfd_mips_elf_section_processing): Remove special - .sbss handling. - -2009-02-04 Alan Modra <amodra@bigpond.net.au> - - * elf32-spu.c (spu_elf_build_stubs): Define __icache_neg_log2_linesize. - Define __icache_ptr_handler*, not __icache_ptr___icache_bi_handler*. - -2009-02-03 Sandip Matte <sandip@rmicorp.com> - - * aoutx.h (NAME (aout, machine_type)): Handle bfd_mach_mips_xlr. - * archures.c (bfd_mach_mips_xlr): Define. - * bfd-in2.h: Regenerate. - * cpu-mips.c (I_xlr): Define. - (arch_info_struct): Add XLR entry. - * elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_XLR. - (mips_set_isa_flags): Handle bfd_mach_mips_xlr - (mips_mach_extensions): Add XLR entry. - -2009-02-03 Eric B. Weddington <eric.weddington@atmel.com> - - * elf32-avr.c (avr_final_link_relocate): Allow avr25 to wraparound. - -2009-02-03 Carlos O'Donell <carlos@codesourcery.com> - - * configure.in: AC_SUBST pdfdir. - * Makefile.am: Add install-pdf, install-pdf-am - and install-pdf-recursive targets. Define pdfdir. - * doc/Makefile.am: Define pdf__strip_dir. Add - install-pdf and install-pdf-am targets. - * po/Make-in: Add install-pdf target. - * configure: Regenerate. - * Makefile.in: Regenerate - * doc/Makefile.in: Regenerate. - -2009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com> - - * bfd-in2.h: Regenerate. - * elf32-m68k.c: Handle 2-slot GOT entries. Rename variables and - fields from n_entries to n_slots where appropriate, update comments. - (HOWTO): Add TLS relocations. - (reloc_map): Map BFD_RELOC_68K_TLS_* to R_68K_TLS_*. - (enum elf_m68k_got_offset_size): New enum. - (struct elf_m68k_got_entry.type): Move field to ... - (struct elf_m68k_got_entry_key): ... here. Update all uses. - (elf_m68k_reloc_got_type, elf_m68k_reloc_got_offset_size): New static - functions. - (elf_m68k_reloc_got_n_entries, elf_m68k_reloc_tls_p): New static - functions. - (struct elf_m68k_got): merge rel_8o_n_entries and rel_8o_16o_n_entries - fields into n_entries array. Update comments. - (elf_m68k_init_got): Simplify, update all uses. - (elf_m68k_init_got_entry_key): Handle R_68K_TLS_LDM32 reloc, update. - (ELF_M68K_REL_8O_MAX_N_ENTRIES_IN_GOT): Adjust to handle 2-slot - GOT entries; update name, update all uses. - (ELF_M68K_REL_8O_16O_MAX_N_ENTRIES_IN_GOT): Ditto. - (elf_m68k_get_got_entry): Update. - (elf_m68k_update_got_entry_type): Rewrite to handle TLS GOT entries, - simplify. - (elf_m68k_remove_got_entry_type): Simplify. - (elf_m68k_add_entry_to_got, elf_m68k_can_merge_gots_1): Update. - (elf_m68k_can_merge_gots): Update. - (elf_m68k_merge_gots_1, elf_m68k_merge_gots): Update. - (struct elf_m68k_finalize_got_offsets_arg): Rewrite to handle 2-slot - GOT entries, simplify. - (elf_m68k_finalize_got_offsets_1, elf_m68k_finalize_got_offsets): Same. - (struct elf_m68k_partition_multi_got_arg): Add slots_relas_diff - field, remove obsoleted local_n_entries field. - (elf_m68k_partition_multi_got_2): New static function. - (elf_m68k_partition_multi_got_1, elf_m68k_partition_multi_got): Use it; - update. - (elf_m68k_remove_got_entry_type): Update. - (elf_m68k_install_rela, dtpoff_base, tpoff): New static functions. - (elf_m68k_check_relocs): Handle TLS relocations. Remove unnecessary - update of sgot->size and srelgot->size. - (elf_m68k_gc_sweep_hook): Update. - (elf_m68k_install_rela, dtpoff_base, tpoff): New static functions. - (elf_m68k_relocate_section, elf_m68k_finish_dynamic_symbol): Handle - TLS relocations. - * reloc.c (BFD_RELOC_68K_TLS_*): Declare TLS relocations. - * libbfd.h (bfd_reloc_code_real_names): Add BFD_RELOC_68K_TLS_*. - -2009-02-02 DJ Delorie <dj@redhat.com> - - * elf32-mep.c (config_names): Regenerate configuration. - -2009-02-02 Alan Modra <amodra@bigpond.net.au> - - * elf-bfd.h (bfd_elf_get_str_section): Don't declare. - (bfd_elf_find_section, _sh_elf_set_mach_from_flags): Likewise. - * elf.c (bfd_elf_get_str_section): Make static. - (bfd_elf_find_section): Delete. - * libbfd.h: Regenerate. - -2009-02-01 Jan Kratochvil <jan.kratochvil@redhat.com> - - * elf-eh-frame.c (REQUIRE_CLEARED_RELOCS) Remove. - (_bfd_elf_parse_eh_frame): Do not check relocations for removed FDEs. - -2009-01-31 Alan Modra <amodra@bigpond.net.au> - - * elflink.c (on_needed_list): New function. - (elf_link_add_object_symbols): Link in --as-needed libs if they - satisfy undefined symbols in other libs. - -2009-01-30 Julian Brown <julian@codesourcery.com> - - * elf32-arm.c (bfd_elf32_arm_vfp11_erratum_scan): Skip BFDs with - EXEC_P or DYNAMIC flags, and skip sections which are being linked - with --just-symbols (-R). - -2009-01-29 Adam Nemet <anemet@caviumnetworks.com> - - * dwarf2.c (read_rangelist): Use read_address to read low_pc and - high_pc in order to properly sign-extend VMAs. - -2009-01-29 Daniel Jacobowitz <dan@codesourcery.com> - Mark Shinwell <shinwell@codesourcery.com> - Catherine Moore <clm@codesourcery.com> - - * elf-attrs.c, elflink.c, elfxx-mips.c: Correct typos in comments. - -2009-01-28 Catherine Moore <clm@codesourcery.com> - - * elf32-arm.c (elf32_arm_check_relocs): Set SEC_ALLOC and - SEC_LOAD for dynamic relocation sections. - -2009-01-27 Hans-Peter Nilsson <hp@axis.com> - - * elf32-cris.c (cris_elf_relocate_section): Use elf_hash_table - (info)->tls_size, not elf_hash_table (info)->tls_sec->size for - the size of local TLS data. - -2009-01-27 Andreas Schwab <schwab@suse.de> - - * mach-o.c (bfd_mach_o_archive_p): Restrict the number of - architectures in the archive. - -2009-01-27 Hans-Peter Nilsson <hp@axis.com> - - * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_DTPREL> - <R_CRIS_32_DTPREL>: Correct relocation value. - - * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_8> - <R_CRIS_16, R_CRIS_32>: Don't call BFD_ASSERT for weak undefined - symbols with non-default visibility. - -2009-01-26 Nathan Sidwell <nathan@codesourcery.com> - - * elf32-ppc.c (ppc_elf_relax_section): Add space for relocs - describing the trampolines. - (ppc_elf_relocate_section): Update relocs to describe the - trampolines. - -2009-01-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * elf-hppa.h (elf_hppa_final_link_relocate): Add check to ensure that - branch targets can be reached for R_PARISC_PCREL22F, R_PARISC_PCREL17F - and R_PARISC_PCREL12F relocations. - -2009-01-24 Alan Modra <amodra@bigpond.net.au> - - PR 6022 - * elflink.c (find_version_for_sym): New function split out from, - but without export_dynamic test, .. - (_bfd_elf_link_assign_sym_version): ..here. - (_bfd_elf_export_symbol): Use it. - -2009-01-23 Alan Modra <amodra@bigpond.net.au> - - * elf-bfd.h (struct elf_assign_sym_version_info): Delete. - (struct elf_info_failed, struct elf_find_verdep_info): Move to.. - * elflink.c: ..here, somewhat modified. - * elf-bfd.h (_bfd_elf_add_default_symbol, _bfd_elf_export_symbol, - _bfd_elf_link_find_version_dependencies, - _bfd_elf_link_assign_sym_version, _bfd_elf_link_size_reloc_section, - _bfd_elf_fix_symbol_flags, _bfd_elf_adjust_dynamic_symbol, - _bfd_elf_link_sec_merge_syms, bfd_elf_link_mark_dynamic_symbol): Don't - declare.. - * elflink.c: ..and make static here. - (_bfd_elf_link_find_version_dependencies): Adjust for removal - of output_bfd from struct elf_find_verdep_info. - (_bfd_elf_link_assign_sym_version): Similarly adjust to use - struct elf_info_failed. - (bfd_elf_size_dynamic_sections): Adjust. - -2009-01-22 Alan Modra <amodra@bigpond.net.au> - - PR 6832 - * dwarf2.c (find_line): Don't update stash->sec_info_ptr until - after comp_unit_find_line call. - -2009-01-21 Nick Clifton <nickc@redhat.com> - - PR 9769 - * vmsutil.c (vms_file_stats_name): Remove use of unsupported - tm_gmtoff field in struct tm. - -2009-01-21 Alan Modra <amodra@bigpond.net.au> - - * elf32-spu.h (struct spu_elf_params): Add non_ia_text. - * elf32-spu.c (mark_overlay_section): Only include .text.ia.* - sections in soft-icache lines unless non_ia_text. Don't add - rodata if doing so would exceed line size. - -2009-01-19 Hans-Peter Nilsson <hp@axis.com> - - * elf32-cris.c (elf_cris_copy_indirect_symbol): For other symbol - types than bfd_link_hash_indirect, before early return, call - _bfd_elf_link_hash_copy_indirect. - -2009-01-19 Andrew Stubbs <ams@codesourcery.com> - - * elf-attrs.c (vendor_set_obj_attr_contents): Support tag ordering. - * elf-bfd.h (elf_backend_data): Add obj_attrs_order. - * elf32-arm.c (elf32_arm_obj_attrs_order): New function. - (elf_backend_obj_attrs_order): New define. - * elfxx-target.h (elf_backend_obj_attrs_order): New define. - (elfNN_bed): Add elf_backend_obj_attrs_order. - -2009-01-19 Andrew Stubbs <ams@codesourcery.com> - - * elf-attrs.c (is_default_attr): Substitute magic numbers with macros. - (obj_attr_size): Likewise. - (write_obj_attribute): Likewise. - (_bfd_elf_copy_obj_attributes): Likewise. - (_bfd_elf_parse_attributes): Likewise. - * elf-bfd.h (ATTR_TYPE_FLAG_INT_VAL): New define. - (ATTR_TYPE_FLAG_STR_VAL, ATTR_TYPE_FLAG_NO_DEFAULT): New defines. - (ATTR_TYPE_HAS_INT_VAL, ATTR_TYPE_HAS_STR_VAL): New defines. - (ATTR_TYPE_HAS_NO_DEFAULT): New define. - * elf32-arm.c (elf32_arm_obj_attrs_arg_type): Replace magic numbers - with macros. - -2009-01-19 Andrew Stubbs <ams@codesourcery.com> - - * elf-attrs.c (is_default_attr): Support defaultless attributes. - (bfd_elf_add_obj_attr_int): Get type from _bfd_elf_obj_attrs_arg_type. - (bfd_elf_add_obj_attr_string): Likewise. - (bfd_elf_add_obj_attr_int_string): Likewise. - (_bfd_elf_parse_attributes): Allow for unknown flag bits in type. - * elf-bfd.h (struct obj_attribute): Document new flag bit. - * elf32-arm.c (elf32_arm_obj_attrs_arg_type): Specify that - Tag_nodefaults has no default value. - (elf32_arm_merge_eabi_attributes): Modify the Tag_nodefaults - comment to reflect the new state. - -2009-01-19 Alan Modra <amodra@bigpond.net.au> - - PR 9695 - * pdp11.c (N_BADMAG): True for anything but OMAGIC, NMAGIC, ZMAGIC. - (some_aout_object_p): Delete dead code handling QMAGIC and BMAGIC. - (adjust_z_magix): Delete dead code handling QMAGIC. - -2009-01-16 Kai Tietz <kai.tietz@onevision.com> - - * coffcode.h (styp_to_sec_flags): Correct interpretation of - IMAGE_SCN_MEM_DISCARDABLE. - -2009-01-16 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am (libbfd_la_LIBADD, libbfd_la_LDFLAGS): Substitute - SHARED_LIBADD and SHARED_LDFLAGS rather than WIN32LIBADD, WIN32LDFLAGS. - * configure.in (commonbfdlib): Delete. - (SHARED_LDFLAGS): Rename from WIN32LDFLAGS/ - (SHARED_LIBADD): Rename from WIN32LIBADD. Add pic libiberty if such - is available, not just for linux. - * po/SRC-POTFILES.in: Regenerate. - * Makefile.in: Regenerate. - * configure: Regenerate. - -2009-01-15 Andrew Stubbs <ams@codesourcery.com> - Julian Brown <julian@codesourcery.com> - - * elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 71 to include all known - ARM attributes in ABI 2.07. - * elf32-arm.c (get_secondary_compatible_arch): New function. - (set_secondary_compatible_arch): New function. - (tag_cpu_arch_combine): New function. - (elf32_arm_copy_one_eabi_other_attribute): Delete function. - (elf32_arm_copy_eabi_other_attribute_list): Delete function. - (elf32_arm_merge_eabi_attributes): Rename order_312 to order_021 to - make it fit with order_01243. - Add support for Tag_also_compatible_with, - Tag_CPU_unaligned_access, Tag_T2EE_use, Tag_Virtualization_use, - Tag_MPextension_use, Tag_nodefaults and Tag_conformance. - Improve/tidy up support for Tag_CPU_raw_name, Tag_CPU_name, - Tag_CPU_arch, Tag_ABI_HardFP_use, Tag_VFP_HP_extension, - Tag_ABI_FP_denormal, Tag_ABI_PCS_GOT_use, Tag_ABI_align8_needed, - Tag_VFP_arch and Tag_ABI_FP_16bit_format. - Rework the way unknown attributes are handled. - Defer errors until all attributes have been processed. - -2009-01-15 Andrew Stubbs <ams@codesourcery.com> - - * elf-attrs.c (bfd_elf_add_obj_attr_compat): Rename to - bfd_elf_add_obj_attr_int_string. - Read Tag_compatibility from its new location in the attribute array, - rather than the attribute list. - (_bfd_elf_copy_obj_attributes): bfd_elf_add_obj_attr_compat -> - bfd_elf_add_obj_attr_int_string. - (_bfd_elf_parse_attributes): Likewise. - (_bfd_elf_merge_object_attributes): There's now only one - Tag_compatibility, and it's in the array, not the list. - * elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 33 to include - Tag_compatibility. - (bfd_elf_add_obj_attr_compat): Rename to - bfd_elf_add_obj_attr_int_string. - (bfd_elf_add_proc_attr_compat): Rename to - bfd_elf_add_proc_attr_int_string. - * elf32-arm.c (elf32_arm_merge_eabi_attributes): Explicitly don't handle - Tag_compatibility. - -2009-01-15 Douglas B Rupp <rupp@gnat.com> - - * Makefile.am (BFD32_BACKENDS): Add new object vmsutil.lo - (BFD32_BACKENDS_CFILES): Add new file vmsutil.c - (vmsutil.lo): Add dependency rule. - * Makefile.in: Regenerate. - * config.bfd (ia64*-*-*vms*): Add case. - * configure.in (bfd_elf64_ia64_vms_vec): Add case. - * configure: Regenerate. - * vmsutil.c: New file. - * vmsutil.h: New file. - * elf-bfd.h (struct bfd_elf_special_section): Change type of - attr to bfd_vma. - * elfxx-ia64.c (elfNN_vms_post_process_headers, - elfNN_vms_section_processing, elfNN_vms_final_write_processing, - elfNN_vms_close_and_cleanup, elfNN_vms_section_from_shdr, - elfNN_vms_object_p): New functions - * targets.c (bfd_elf64_ia64_vms_vec): New target. - -2009-01-14 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/9727 - * elflink.c (elf_gc_sweep): Exclude the group section if the - first member of the section group is excluded. - -2009-01-14 Alan Modra <amodra@bigpond.net.au> - - PR 9735 - * syms.c (_bfd_stab_section_find_nearest_line): Don't free - saved filename, use bfd_alloc rather than bfd_malloc for it. - -2009-01-13 Alan Modra <amodra@bigpond.net.au> - - * elf32-spu.c (spu_elf_build_stubs): Make __icache_base absolute. - -2009-01-13 Alan Modra <amodra@bigpond.net.au> - - * elf32-spu.c (remove_cycles): Always set call->max_depth. - -2009-01-12 Alan Modra <amodra@bigpond.net.au> - - * elf32-spu.c (spu_elf_auto_overlay): Correct vma mask. - -2009-01-12 Alan Modra <amodra@bigpond.net.au> - - * elf32-spu.c (struct spu_link_hash_table): Add init, line_size_log2, - num_lines_log2. - (struct got_entry): Add br_addr. - (struct call_info): Add priority. - (struct function_info): Add lr_store and sp_adjust. - (spu_elf_setup): Init line_size_log2 and num_lines_log2. - (spu_elf_find_overlays): For soft-icache, mark any section within cache - area as an overlay, and check that no other overlays exist. Look up - icache overlay manager entry sym. - (BRA_STUBS, BRA, BRASL): Define. - (enum _stub_type): Replace ovl_stub with call_ovl_stub and br*_ovl_stub. - (needs_ovl_stub): Adjust for soft-icache. Return priority encoded - in branch insn. - (count_stub, build_stub): Support soft-icache. - (build_spuear_stubs, process_stubs): Adjust build_stub call. - (spu_elf_size_stubs): Size soft-icache stubs. - (overlay_index): New function. - (spu_elf_build_stubs): Make static. Support soft-icache. - (spu_elf_check_vma): Don't turn off auto_overlay if soft-icache. - (find_function_stack_adjust): Save lr store and stack adjust insn - offsets. - (maybe_insert_function): Adjust find_function_stack_adjust call. - (mark_functions_via_relocs): Retrieve priority. - (remove_cycles): Only warn about pruned arcs when stack_analysis. - (sort_calls): Sort by priority first. - (mark_overlay_section): Ignore .ovl.init. - (sum_stack): Only print when stack_analysis. - (print_one_overlay_section): New function, extracted from.. - (spu_elf_auto_overlay): ..here. Support soft-icache overlays. - (spu_elf_stack_analysis): Only print when htab->stack_analysis. - (spu_elf_final_link): Call spu_elf_stack_analysis for lrlive - analysis. Call spu_elf_build_stubs. - (spu_elf_relocate_section): For soft-icache encode overlay index - into addresses. - (spu_elf_output_symbol_hook): Support soft-icache. - (spu_elf_modify_program_headers: Likewise. - - * elf32-spu.h (struct spu_elf_params): Add lrlive_analysis. Rename - num_regions to num_lines. Add line_size and max_branch. - (enum _ovly_flavour): Add ovly_soft_icache. - (spu_elf_build_stubs): Delete. - -2009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com> - - * elflink.c (_bfd_elf_section_already_linked): Handle g++-3.4 - relocations in `.gnu.linkonce.r.*' referencing its `.gnu.linkonce.t.*'. - -2009-01-07 Hans-Peter Nilsson <hp@axis.com> - - * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD> - <case R_CRIS_16_GOT_GD, R_CRIS_32_GOT_GD>: For a symbol defined in - the program, the known offset starts at the negative size of the - TLS section. - <case R_CRIS_32_IE, R_CRIS_32_GOT_TPREL, R_CRIS_16_GOT_TPREL>: - Similar. - -2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com> - - * config.bfd: Add lm32-*-rtems*. - -2009-01-03 H.J. Lu <hongjiu.lu@intel.com> - - * coff-ppc.c: Add 2009 to Copyright. - * elf32-cris.c: Likewise. - * elflink.c: Likewise. - -2009-01-03 Hans-Peter Nilsson <hp@axis.com> - - * elf32-cris.c (elf_cris_finish_dynamic_symbol): Rename - gotplt_index to rela_plt_index. Adjust for R_CRIS_DTPMOD entry. - -2009-01-02 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/9679 - * elflink.c (elf_merge_st_other): New. - (_bfd_elf_merge_symbol): Use it on skipped weak definitions and - hide them if needed. - (elf_link_add_object_symbols): Updated. - -2009-01-02 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/9676 - * elflink.c (elf_link_add_object_symbols): Update def_dynamic, - ref_dynamic and dynamic_def fields when setting def_regular - to 1. - -2009-01-02 Curtis Mackie <curtmackevo@gmail.com> - - PR 9682 - * coff-ppc.c (dump_toc): Fix up calls to fprintf without a string - literal. - -For older changes see ChangeLog-2008 +For older changes see ChangeLog-2009 Local Variables: mode: change-log diff --git a/bfd/ChangeLog-2009 b/bfd/ChangeLog-2009 new file mode 100644 index 0000000..cc33261 --- /dev/null +++ b/bfd/ChangeLog-2009 @@ -0,0 +1,5154 @@ +2009-12-31 Cary Coutant <ccoutant@google.com> + + * dwarf2.c (struct line_sequence): New struct. + (struct line_info_table): Add num_sequences, remove last_line, + add sequences. + (add_line_info): Add new sequences as necessary. + (compare_sequences): New function. + (sort_line_sequences): New function. + (decode_line_info): Initialize new fields in line table. + Call sort_line_sequences. + (lookup_address_in_line_info_table): Binary search for proper + sequence. + +2009-12-28 Daniel Gutson <dgutson@codesourcery.com> + + * elf32-arm.c (elf32_arm_final_link_relocate): limits + fixed. + +2009-12-28 Daniel Gutson <dgutson@codesourcery.com> + + * elf-attrs.c (_bfd_elf_merge_object_attributes): Error + message rephrased. + +2009-12-21 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c: Delete my email address. + +2009-12-18 Ulrich Weigand <uweigand@de.ibm.com> + + * elf.c (elfcore_grok_s390_high_gprs): New function. + (elfcore_grok_note): Handle NT_S390_HIGH_GPRS notes. + (elfcore_write_s390_high_gprs): New function. + (elfcore_write_register_note): Call it. + +2009-12-17 Alan Modra <amodra@bigpond.net.au> + + PR ld/11088 + * elf32-ppc.c (update_plt_info): Clear sec here when addend is + less than 32768.. + (ppc_elf_check_relocs): ..rather than doing so here. Ignore new + relax relocs. + (ppc_elf_gc_sweep_hook): Don't segfault when symbol hiding has + removed plt_entry records. + (ppc_elf_tls_setup): Handle PIE calls to __tls_get_addr correctly. + (ppc_elf_tls_optimize): Likewise. Also dec __tls_get_addr refcount + when optimizing code using new tlsgd and tlsld marker relocs. + (ppc_elf_relax_section): Differentiate relaxed PLTREL24 relocs + from ADDR24 relocs using plt or glink. Don't clear the addend + for R_PPC_RELAX_PLTREL24. + (ppc_elf_relocate_section): Correctly handle addends on relaxed + PLTREL24 relocs. + +2009-12-17 Alan Modra <amodra@bigpond.net.au> + + PR ld/11088 + * elf64-ppc.c (ppc64_elf_gc_sweep_hook): Don't abort if symbol + hiding has nulled out plt.plist. + +2009-12-15 H.J. Lu <hongjiu.lu@intel.com> + + * opncls.c (bfd_opnr_iovec): Replace _XXX with XXX_P in + parameters. + + * tekhex.c (pass_over): Replace eof with is_eof. + +2009-12-15 Tristan Gingold <gingold@adacore.com> + + * mach-o.h (bfd_mach_o_uuid_command): Remove section field. + * mach-o.c (bfd_mach_o_scan_read_uuid): Do not create a section + from this command. + +2009-12-15 Tristan Gingold <gingold@adacore.com> + + * mach-o.c (struct mach_o_section_name_xlat): Add flags field. + (dwarf_section_names_xlat): Add section flags. + (text_section_names_xlat): Ditto. + (data_section_names_xlat): Ditto. + (bfd_mach_o_convert_section_name_to_bfd): Now return name and section + flags by reference. + (bfd_mach_o_make_bfd_section): Use section flags when know, otherwise + try to guess. + +2009-12-14 Doug Kwan <dougkwan@google.com> + + * opncls.c (bfd_opnr_iovec): Rename parameters to avoid shawdowed + variable warnings. + * bfd-in2.h: Regnenerate. + +2009-12-12 Nick Clifton <nickc@redhat.com> + + * coff-arm.c (coff_arm_rtype_to_howto): Fix shadowed variable + warning. + +2009-12-11 Tristan Gingold <gingold@adacore.com> + + * som.c (bfd_som_set_subsection_attributes) + (bfd_section_from_som_symbol, som_reloc_queue_fix): Fix shadowed + variable warnings. + * cache.c (close_one): Likewise. + +2009-12-11 Nick Clifton <nickc@redhat.com> + + * warning.m4 (GCC_WARN_CFLAGS): Add -Wshadow. + * configure: Regenerate. + * Makefile.in: Regenerate. + * doc/Makefile.in: Regenerate. + * aout-arm.c: Fix shadowed variable warnings. + * aout-tic30.c: Likewise. + * aoutx.h: Likewise. + * archive.c: Likewise. + * coff-alpha.c: Likewise. + * coff-i386.c: Likewise. + * coff-x86_64.c: Likewise. + * coffgen.c: Likewise. + * dwarf2.c: Likewise. + * ecoff.c: Likewise. + * elf-eh-frame.c: Likewise. + * elf-m10300.c: Likewise. + * elf.c: Likewise. + * elf32-arm.c: Likewise. + * elf32-avr.c: Likewise. + * elf32-bfin.c: Likewise. + * elf32-cr16.c: Likewise. + * elf32-i386.c: Likewise. + * elf32-ip2k.c: Likewise. + * elf32-lm32.c: Likewise. + * elf32-m68hc1x.c: Likewise. + * elf32-microblaze.c: Likewise. + * elf32-ppc.c: Likewise. + * elf32-rx.c: Likewise. + * elf32-score.c: Likewise. + * elf32-score7.c: Likewise. + * elf32-sh.c: Likewise. + * elf32-spu.c: Likewise. + * elf32-v850.c: Likewise. + * elf32-xtensa.c: Likewise. + * elf64-hppa.c: Likewise. + * elf64-ppc.c: Likewise. + * elf64-x86-64.c: Likewise. + * elflink.c: Likewise. + * elfxx-ia64.c: Likewise. + * elfxx-mips.c: Likewise. + * elfxx-sparc.c: Likewise. + * hash.c: Likewise. + * ieee.c: Likewise. + * libbfd.c: Likewise. + * mach-o.c: Likewise. + * merge.c: Likewise. + * nlm32-sparc.c: Likewise. + * oasys.c: Likewise. + * opncls.c: Likewise. + * pdp11.c: Likewise. + * peXXigen.c: Likewise. + * pef.c: Likewise. + * versados.c: Likewise. + * vms-gsd.c: Likewise. + * vms-hdr.c: Likewise. + * vms-tir.c: Likewise. + * vms.c: Likewise. + * xcofflink.c: Likewise. + * xsym.c: Likewise. + * xtensa-isa.c: Likewise. + +2009-12-10 Maciej W. Rozycki <macro@codesourcery.com> + + * elfxx-mips.c (mips_elf_calculate_relocation): Correct handling + of undefined symbols. + +2009-12-09 Daniel Jacobowitz <dan@codesourcery.com> + + * elf32-arm.c (elf32_arm_next_input_section): Skip sections without + SEC_CODE. + +2009-12-08 Alan Modra <amodra@bigpond.net.au> + + * elf.c (write_zeros): New function. + (assign_file_positions_for_load_sections): Allocate file space for + NOBITS sections that are followed by PROGBITS sections in a segment. + +2009-12-03 Tristan Gingold <gingold@adacore.com> + + * mach-o.c (bfd_mach_o_make_bfd_section): Force debug flags for + all sections of the __DWARF segment. + +2009-12-03 Alan Modra <amodra@bigpond.net.au> + + PR ld/11047 + * elf32-ppc.c (ppc_elf_relocate_section): Delete __tls_get_addr + symbol reference from relocs belonging to calls that are + optimized away. + * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. + +2009-12-02 Jerker Bäck <jerker.back@gmail.com> + + PR binutils/11017 + * coff-i386.h (COFF_PAGE_SIZE): Definition moved to coff/i386.h + +2009-11-30 Joseph Myers <joseph@codesourcery.com> + + * configure: Regenerate. + +2009-11-26 Per Øyvind Karlsen <peroyvind@mandriva.org> + + * plugin.c (bfd_plugin_bfd_copy_link_hash_symbol_type): Define. + +2009-11-24 Joel Brobecker <brobecker@adacore.com> + + * acinclude.m4: Add include of ../config/zlib.m4. + * configure.in: AM_ZLIB to check for zlib support. + * configure: Regenerate. + +2009-11-23 Paul Brook <paul@codesourcery.com> + + * libbfd-in.h (_bfd_generic_copy_link_hash_symbol_type): Add + prototype. + * elf-bfd.h (_bfd_elf_copy_link_hash_symbol_type): Add prototype. + * linker.c (_bfd_generic_copy_link_hash_symbol_type): New function. + * elflink.c (_bfd_elf_copy_link_hash_symbol_type): New function. + * targets.c (BFD_JUMP_TABLE_LINK, struct bfd_target): Add + _copy_link_hash_symbol_type. + * coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Add + _bfd_generic_copy_link_hash_symbol_type. + * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Add + _bfd_generic_copy_link_hash_symbol_type. + * aout-adobe.c (aout_32_bfd_copy_link_hash_symbol_type): Define. + * aout-target.h (MY_bfd_copy_link_hash_symbol_type): Define. + * aout-tic30.c (MY_bfd_copy_link_hash_symbol_type): Define. + * binary.c (binary_bfd_copy_link_hash_symbol_type): Define. + * bout.c (b_out_bfd_copy_link_hash_symbol_type): Define. + * coffcode.h (coff_bfd_copy_link_hash_symbol_type): Define. + * elfxx-target.h (bfd_elfNN_bfd_copy_link_hash_symbol_type): Define. + * i386msdos.c (msdos_bfd_copy_link_hash_symbol_type): Define. + * i386os9k.c (os9k_bfd_copy_link_hash_symbol_type): Define. + * ieee.c (ieee_bfd_copy_link_hash_symbol_type): Define. + * ihex.c (ihex_bfd_copy_link_hash_symbol_type): Define. + * libecoff.h (_bfd_ecoff_bfd_copy_link_hash_symbol_type): Define. + * mach-o.c (bfd_mach_o_bfd_copy_link_hash_symbol_type): Define. + * mmo.c (mmo_bfd_copy_link_hash_symbol_type): Define. + * nlm-target.h (nlm_bfd_copy_link_hash_symbol_type): Define. + * oasys.c (oasys_bfd_copy_link_hash_symbol_type): Define. + * pef.c (bfd_pef_bfd_copy_link_hash_symbol_type): Define. + * ppcboot.c (ppcboot_bfd_copy_link_hash_symbol_type): Define. + * som.c (som_bfd_copy_link_hash_symbol_type): Define. + * srec.c (srec_bfd_copy_link_hash_symbol_type): Define. + * tekhex.c (tekhex_bfd_copy_link_hash_symbol_type): Define. + * versados.c (versados_bfd_copy_link_hash_symbol_type): Define. + * vms.c (vms_bfd_copy_link_hash_symbol_type): Define. + * xsym.c (bfd_sym_bfd_copy_link_hash_symbol_type): Define. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + +2009-11-19 Tristan Gingold <gingold@adacore.com> + + * coff-rs6000.c (rs6000coff_vec): Use generic routines instead of + hard-coded casts. + (pmac_xcoff_vec): Ditto. + * coff64-rs6000.c (rs6000coff64_vec): Ditto. + (aix5coff64_vec): Ditto. + +2009-11-18 Alan Modra <amodra@bigpond.net.au> + + * bfd-in.h (_bfd_elf_ppc_at_tls_transform): Declare. + * bfd-in2.h: Regenerate. + * elf64-ppc.c (ppc64_elf_relocate_section): Move code for R_PPC64_TLS + insn optimisation to.. + * elf32-ppc.c (_bfd_elf_ppc_at_tls_transform): ..here. New function. + (ppc_elf_relocate_section): Use it. + +2009-11-18 Alan Modra <amodra@bigpond.net.au> + + * targets.c: Don't include alloca-conf.h. + (bfd_get_target_info): Don't use alloca. + +2009-11-17 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/10955 + * elfxx-ia64.c (elfNN_ia64_update_short_info): Also skip ABS + sections. + +2009-11-17 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/10955 + * elfxx-ia64.c (elfNN_ia64_link_hash_table): Update comments. + (elfNN_ia64_update_short_info): Remove "->output_section" from + ia64_info->max_short_sec and ia64_info->min_short_sec. + (elfNN_ia64_choose_gp): Likewise. + (elfNN_ia64_relax_section): Pass tsec->output_section to + elfNN_ia64_update_short_info. + +2009-11-17 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/10955 + * elfxx-ia64.c (elfNN_ia64_link_hash_table): Add max_short_sec, + max_short_offset, min_short_sec and min_short_offset. + (elfNN_ia64_update_short_info): New. + (elfNN_ia64_relax_section): Update max_short_sec, + max_short_offset, min_short_sec and min_short_offset. + (elfNN_ia64_choose_gp): Use min_short_sec/max_short_sec if + they are set. + +2009-11-17 Paul Brook <paul@codesourcery.com> + Daniel Jacobowitz <dan@codesourcery.com> + + * elf32-arm.c (using_thumb_only, arch_has_arm_nop, + arch_has_thumb2_nop): Handle TAG_CPU_ARCH_V7E_M. + (tag_cpu_arch_combine): Ditto. Correct MAX_TAG_CPU_ARCH test. + +2009-11-17 Ulrich Weigand <uweigand@de.ibm.com> + + * elf32-spu.c (struct spu_link_hash_table): Remove overlay_fixed, + reserved, and extra_stack_space members. + (spu_elf_auto_overlay): Use auto_overlay_fixed, auto_overlay_reserved, + and extra_stack_space members of htab->params instead. + +2009-11-17 Tristan Gingold <gingold@adacore.com> + + * targets.c: Include alloca-conf.h + +2009-11-16 Kai Tietz <kai.tietz@onevision.com> + + * targets.c (bfd_get_target_info): New function. + (_bfd_find_arch_match): New function. + * bfd-in2.h: Regenerated. + +2009-11-12 Nick Clifton <nickc@redhat.com> + + * po/ru.po: Updates Russian translation. + +2009-11-11 Nick Clifton <nickc@redhat.com> + + * po/id.po: Updated Indonesian translation. + +2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com> + + * configure.in: Call ACX_LARGEFILE. Stop calling AC_PLUGINS, + AC_SYS_LARGEFILE and checking the Solaris largefile exception. + * aclocal.m4: Regenerate. + * configure: Regenerate. + +2009-11-09 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/10911 + * elflink.c (elf_link_output_extsym): Don't return on + STT_GNU_IFUNC symbol when stripping. + +2009-11-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * elf32-hppa.c (elf32_hppa_final_link): Don't sort unwind information + in a relocatable link. + * elf64-hppa.c (elf_hppa_final_link): Likewise. + +2009-11-05 Nick Clifton <nickc@redhat.com> + + * elflink.c (elf_link_add_object_symbols): Improve error + message generated when a symbol is left unresolved because a + --no-add-needed command line option has prevented the + inclusion of the DSO defining it. + +2009-11-03 Alan Modra <amodra@bigpond.net.au> + Ulrich Weigand <uweigand@de.ibm.com> + + * elf32-spu.c (mark_functions_via_relocs): Handle non-branch relocs + (jump tables or other references to code labels) as well. + +2009-11-02 Paul Brook <paul@codesourcery.com> + + * elf32-arm.c (elf32_arm_merge_eabi_attributes): Handle VFPv4 + attributes. + +2009-11-02 Alan Modra <amodra@bigpond.net.au> + + * elflink.c (elf_link_add_object_symbols): Don't force debug + symbols local. + +2009-10-29 Johan Kristell <johankri@axis.com> + + * elf32-cris.c (cris_elf_plt_sym_val): New function. + (elf_backend_plt_sym_val): Define. + +2009-10-27 Kai Tietz <kai.tietz@onevision.com> + + * peXXigen.c (bfdver.h): Add include. + (LINKER_VERSION): Do calculation based on BFD_VERSION. + +2009-10-25 Maciej W. Rozycki <macro@linux-mips.org> + + * elf32-vax.c (elf_vax_relocate_section): Correct assertion. + +2009-10-25 Maciej W. Rozycki <macro@linux-mips.org> + + * elf32-vax.c (elf_vax_plt_entry): Fix formatting. + +2009-10-25 Maciej W. Rozycki <macro@linux-mips.org> + + * elf32-vax.c (elf_vax_relocate_section): Fix a typo. + +2009-10-23 Kai Tietz <kai.tietz@onevision.com> + + * coff-x86_64.c (coff_amd64_rtype_to_howto): Subtract offset + of R_AMD64_PCRLONG_<X> relocations from addend. + +2009-10-23 Alan Modra <amodra@bigpond.net.au> + + * plugin.c: Produce empty object if not BFD_SUPPORTS_PLUGINS. + +2009-10-20 Alan Modra <amodra@bigpond.net.au> + + PR binutils/10802 + * opncls.c (_maybe_make_executable): Make DYNAMIC files executable. + +2009-10-19 Hans-Peter Nilsson <hp@axis.com> + + * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_DTPREL>: + Don't subtract the size of the TLS block for non-shared objects + from the relocation. + +2009-10-17 Arnold Metselaar <arnold.metselaar@planet.nl> + + * coff-z80.c (z80coff_vec): Allow sections to be of type + SEC_CODE or SEC_DATA + +2009-10-16 Alan Modra <amodra@bigpond.net.au> + + PR binutils/10785 + * coff-alpha.c (alpha_ecoff_get_elt_at_filepos): Don't bfd_alloc + bim and bim->buffer. bfd_malloc instead. + * peicode.h (pe_ILF_build_a_bfd): Similarly. + (ILF_DATA_SIZE): Don't include bim. + * opncls.c (bfd_close): Test bim->buffer non-NULL before freeing. + +2009-10-14 Alan Modra <amodra@bigpond.net.au> + + * aoutx.h (aout_link_check_ar_symbols): Typo fix. + +2009-10-13 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/10763 + * elf32-i386.c (elf_i386_finish_dynamic_symbol): Declare plt + earlier. + +2009-10-13 Alan Modra <amodra@bigpond.net.au> + + * elflink.c (_bfd_elf_merge_symbol): Revert previous patch. + +2009-10-12 Roland McGrath <roland@frob.com> + + * elflink.c (elf_link_add_object_symbols, _bfd_elf_merge_symbol): + Fix %s that should be %B in several message formats. + +2009-10-10 Alan Modra <amodra@bigpond.net.au> + + * cofflink.c (_bfd_coff_link_input_bfd): Skip section symbols for + excluded output sections. + +2009-10-09 Tristan Gingold <gingold@adacore.com> + + * mach-o.c (bfd_mach_o_read_command): Handle BFD_MACH_O_LC_RPATH. + (bfd_mach_o_bfd_print_private_bfd_data): Ditto. + +2009-10-09 Tristan Gingold <gingold@adacore.com> + + * mach-o.c (bfd_mach_o_scan_read_symtab_symbols): Rename to + bfd_mach_o_read_symtab_symbols. + (bfd_mach_o_scan_write_thread): Rename to bfd_mach_o_write_thread. + (bfd_mach_o_scan_write_relocs): Rename to bfd_mach_o_write_relocs. + (bfd_mach_o_scan_write_section_32): Rename to + bfd_mach_o_write_section_32. + (bfd_mach_o_scan_write_section_64): Rename to + bfd_mach_o_write_section_64. + (bfd_mach_o_scan_write_segment_32): Rename to + bfd_mach_o_write_segment_32. + (bfd_mach_o_scan_write_segment_64): Rename to + bfd_mach_o_write_segment_64. + (bfd_mach_o_scan_write_symtab): Rename to bfd_mach_o_write_symtab. + (bfd_mach_o_scan_read_section_32): Rename to + bfd_mach_o_read_section_32. + (bfd_mach_o_scan_read_section_64): Rename to + bfd_mach_o_read_section_64. + (bfd_mach_o_scan_read_section): Rename to bfd_mach_o_read_section. + (bfd_mach_o_scan_read_symtab_strtab): Rename to + bfd_mach_o_read_symtab_strtab. + (bfd_mach_o_scan_read_symtab_symbol): Rename to + bfd_mach_o_read_symtab_symbol. + (bfd_mach_o_scan_read_dysymtab_symbol): Rename to + bfd_mach_o_read_dysymtab_symbol. + (bfd_mach_o_scan_read_dylinker): Rename to bfd_mach_o_read_dylinker. + (bfd_mach_o_scan_read_dylib): Rename to bfd_mach_o_read_dylib. + (bfd_mach_o_scan_read_prebound_dylib): Rename to + bfd_mach_o_read_prebound_dylib. + (bfd_mach_o_scan_read_thread): Rename to bfd_mach_o_read_thread. + (bfd_mach_o_scan_read_dysymtab): Rename to bfd_mach_o_read_dysymtab. + (bfd_mach_o_scan_read_symtab): Rename to bfd_mach_o_read_symtab. + (bfd_mach_o_scan_read_uuid): Rename to bfd_mach_o_read_uuid. + (bfd_mach_o_scan_read_linkedit): Rename to bfd_mach_o_read_linkedit. + (bfd_mach_o_scan_read_str): Rename to bfd_mach_o_read_str. + (bfd_mach_o_scan_read_dyld_info): Rename to bfd_mach_o_read_dyld_info. + (bfd_mach_o_scan_read_segment): Rename to bfd_mach_o_read_segment. + (bfd_mach_o_scan_read_segment_32): Rename to + bfd_mach_o_read_segment_32. + (bfd_mach_o_scan_read_segment_64): Rename to + bfd_mach_o_read_segment_64. + (bfd_mach_o_scan_read_command): Rename to bfd_mach_o_read_command. + * mach-o.h (bfd_mach_o_scan_read_dysymtab_symbol): Rename to + bfd_mach_o_read_dysymtab_symbol. + +2009-10-09 Tristan Gingold <gingold@adacore.com> + + * mach-o.c (bfd_mach_o_section_get_entry_size): Moved. + (bfd_mach_o_section_get_nbr_indirect): Ditto. + (bfd_mach_o_get_synthetic_symtab): New function. + (bfd_mach_o_print_private_header): Print the number of commands + in decimal. + * mach-o.h (bfd_mach_o_get_synthetic_symtab): Add prototype. + * mach-o-target.c: Do not defined bfd_mach_o_get_synthetic_symtab. + +2009-10-08 Tristan Gingold <gingold@adacore.com> + + * config.bfd: Add bfd_mach_o_i386_vec in x86_64-darwin targ_selvecs. + +2009-10-06 H.J. Lu <hongjiu.lu@intel.com> + + * bfd-in2.h: Regenerated. + +2009-10-02 Alan Modra <amodra@bigpond.net.au> + + * aout-cris.c (N_SHARED_LIB): Don't define. + * hp300bsd.c (N_SHARED_LIB): Don't define. + * i386bsd.c (N_SHARED_LIB): Don't define. + * i386linux.c (N_SHARED_LIB): Don't define. + * i386lynx.c (N_SHARED_LIB): Don't define. + * m68klinux.c (N_SHARED_LIB): Don't define. + * m88kmach3.c (N_SHARED_LIB): Don't define. + * mipsbsd.c (N_SHARED_LIB): Don't define. + * newsos3.c (N_SHARED_LIB): Don't define. + * pc532-mach.c (N_SHARED_LIB): Don't define. + * pdp11.c (N_SHARED_LIB): Don't define. + * sparclinux.c (N_SHARED_LIB): Don't define. + * vaxbsd.c (N_SHARED_LIB): Don't define. + +2009-10-01 Dave Korn <dave.korn.cygwin@gmail.com> + + * cofflink.c (_bfd_coff_generic_relocate_section): Look for the aux + symbol for a weak undef in the auxbfd, not the input bfd. + +2009-10-01 Ulrich Weigand <uweigand@de.ibm.com> + + * elf32-spu.c (spu_elf_auto_overlay): Insert icache linker script + after .toe instead of before .text section. Set the LMA of all + overlay sections to their icache IA address. + (spu_elf_find_overlays): Determine icache set id without reference + to the LMA. + +2009-09-30 Tristan Gingold <gingold@adacore.com> + + * configure.com: Use hosts/alphavms.h on both alpha and ia64 VMS. + +2009-09-29 H.J. Lu <hongjiu.lu@intel.com> + + * elf64-x86-64.c (elf64_x86_64_append_rela): New. + (elf64_x86_64_relocate_section): Use it. + (elf64_x86_64_finish_dynamic_symbol): Likewise. + +2009-09-29 DJ Delorie <dj@redhat.com> + + * Makefile.am (ALL_MACHINES): Add cpu-rx.lo. + (ALL_MACHINES_CFILES): Add cpu-rx.c. + (BFD32_BACKENDS): Add elf32-rx.lo. + (BFD32_BACKENDS_CFILES): Add elf32-rx.c. + * archures.c (bfd_architecture): Add bfd_arch_rx and bfd_mach_rx. + Export bfd_rx_arch. + (bfd_archures_list): Add bfd_rx_arch. + * config.bfd: Add entry for rx-*-elf. + * configure.in: Add entries for bfd_elf32_rx_le_vec and + bfd_elf32_rx_be_vec. + * reloc.c: Add RX relocations. + * targets.c: Add RX target vectors. + * Makefile.in: Regenerate. + * bfd-in2.h: Regenerate. + * configure: Regenerate. + * libbfd.h: Regenerate. + * cpu-rx.c: New file. + * elf32-rx.c: New file. + +2009-09-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com> + + * elf32-cr16.c (elf32_cr16_relocate_section): Removed + info->relocatable to fix the ld/testsuites/ld-elf/linkonce1 test case. + +2009-09-28 Nick Clifton <nickc@redhat.com> + + PR 10478: Accepting Solaris binaries. + * elf.c (bfd_section_from_shdr): Allow SHN_BEFORE and SHN_AFTER + section link values in x86 binaries. + * elfcode.h (elf_object_p): Likewise. + +2009-09-28 Philippe De Muyter <phdm@macqel.be> + + * elf32-m68k.c (elf_m68k_final_write_processing): New function. + (elf_backend_final_write_processing): Macro defined as above function. + +2009-09-25 Martin Thuresson <martint@google.com> + + Update sources to make alpha and arm targets compile cleanly with + -Wc++-compat: + * ecoff.c: Add casts. + * ecofflink.c: Add casts. + * elf64-alpha.c: Add casts. + (struct alpha_elf_got_entry, struct alpha_elf_reloc_entry): Move + to top level. + (SKIP_HOWTO): Use enum name. + * elf32-arm.c: Add casts. + (elf32_arm_vxworks_bed): Update code to avoid multiple + declarations. + (struct map_stub): Move to top level. + +2009-09-24 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/10630 + * elflink.c (elf_link_output_extsym): Turn off visibility on + local symbol. + (bfd_elf_final_link): Turn off visibility on dynamic local + symbol. + +2009-09-24 Alan Modra <amodra@bigpond.net.au> + + PR binutils/10654 + * dwarf2.c (lookup_address_in_line_info_table): Remove workaround + for invalid location lists generated by gcc-2.95 and Intel 6.0 C++. + Remove "function" parm, adjust caller. + +2009-09-23 Matt Rice <ratmice@gmail.com> + + * bfd-in.h (bfd_elf_size_dynamic_sections): Add audit and depaudit + arguments. + * elflink.c (bfd_elf_size_dynamic_sections): Generate DT_AUDIT, + DT_DEPAUDIT from audit/depaudit arguments. + (elf_finalize_dynstr): Finalize DT_AUDIT and DT_DEPAUDIT strtab entries. + (elf_link_add_object_symbols): Set dt_audit target data when finding a + DT_AUDIT. + * bfd-in2.h: Regenerate. + * bfd-elf.h: Add dt_audit to elf_obj_tdata, and elf_dt_audit macro. + +2009-09-23 Jie Zhang <jie.zhang@analog.com> + + * elf32-bfin.c (_bfinfdpic_size_got_plt): Make sure empty + .rel.plt and .plt sections are removed. + (elf32_bfinfdpic_size_dynamic_sections): Remove empty .dynbss + section. Remove the duplicated removing of empty .rel.plt + section. + +2009-09-21 Richard Sandiford <rdsandiford@googlemail.com> + + * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Extend previous + patch to handle the new personality relaxation. + +2009-09-21 Richard Sandiford <rdsandiford@googlemail.com> + + * elf-eh-frame.c (make_pc_relative): New function. + (_bfd_elf_write_section_eh_frame): Use it. + +2009-09-21 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (TLS_GET_ADDR_GLINK_SIZE): Define. + (ADD_3_12_2, BEQLR, CMPWI_11_0, LWZ_11_3, LWZ_12_3): Define. + (MR_0_3, MR_3_0): Define. + (struct ppc_elf_link_hash_table): Add no_tls_get_addr_opt. + (ppc_elf_select_plt_layout): Save emit_stub_syms param earlier. + (ppc_elf_tls_setup): Add no_tls_get_addr_opt param and save to hash + table. Check for presense of __tls_get_addr_opt + (allocate_dynrelocs): Increase glink entry size for __tls_get_addr. + (ppc_elf_size_dynamic_sections): Add DT_PPC_TLS_OPT tag. + (write_glink_stub): Add param p. + (ppc_elf_relocate_section): Adjust write_glink_stub call. + (ppc_elf_finish_dynamic_symbol): Emit special glink call stub for + __tls_get_addr. + * elf32-ppc.h (ppc_elf_tls_setup): Update prototype. + * elf64-ppc.c (struct ppc_link_hash_table): Add no_tls_get_addr_opt. + (ppc64_elf_tls_setup): Add no_tls_get_addr_opt param and save to hash + table. Check for presense of __tls_get_addr_opt. + (ppc64_elf_size_dynamic_sections): Add DT_PPC64_TLS_OPT tag. + (LD_R11_0R3, LD_R12_0R3, MR_R0_R3, CMPDI_R11_0, ADD_R3_R12_R13, + BEQLR, MR_R3_R0, MFLR_R11, STD_R11_0R1, BCTRL, LD_R11_0R1, + LD_R2_0R1, MTLR_R11): Define. + (build_tls_get_addr_stub): New function. + (ppc_build_one_stub): Call it. + (ppc_size_one_stub): Add extra size for __tls_get_addr stub. + (ppc64_elf_relocate_section): Don't change nop to ld 2,40(1) for + __tls_get_addr plt call. + * elf64-ppc.h (ppc64_elf_tls_setup): Update prototype. + +2009-09-19 Richard Sandiford <rdsandiford@googlemail.com> + + * elf-bfd.h (eh_cie_fde): Add personality_offset and + make_per_encoding_relative to the CIE structure. Add a padding field. + * elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Use 0x70 + rather than 0xf0 when masking out the base address encoding + Record the offset of personality data from the start of the CIE. + Remove a repeated elf_backend_can_make_relative_eh_frame check. + (find_merged_cie): Take an info argument. If the personality + binds locally, try converting an absolute personality into + a local one. + (_bfd_elf_discard_section_eh_frame): Use 0x70 rather than 0xf0 + when masking out the base address encoding. Update the call to + find_merged_cie. + (_bfd_elf_eh_frame_section_offset): Discard relocations against + the personality data if we are converting into PC-relative form. + (_bfd_elf_write_section_eh_frame): Use 0x70 rather than 0xf0 + when masking out the base address encoding. Handle + make_per_encoding_relative. + +2009-09-18 Alan Modra <amodra@bigpond.net.au> + + PR ld/10406 + * elf32-ppc.c (ppc_elf_howto_raw): Make R_PPC_EMB_SDAI16 and + R_PPC_EMB_SDA2I16 complain_overflow_signed. + (create_sdata_sym): Pass info rather than htab. + Update all callers. Ensure symbols are hidden. + (ppc_elf_check_relocs): Allow SDAREL16 when shared. + (ppc_elf_size_dynamic_sections): When shared, equate _SDA_BASE_ to + _GLOBAL_OFFSET_TABLE_. + (elf_finish_pointer_linker_section): Don't assume that sdata base + symbol is always at 0x8000 offset. Don't subtract the addend here. + (is_static_defined): New function. + (ppc_elf_relocate_section): Verify symbol base used in SDA relocs + is statically defined. Clear addend for EMB_SDAI16 and EMB_SDA2I16 + relocs. Downgrade error on unexpected section for EMB_SDA2REL + reloc symbols to a warning. + +2009-09-18 Nick Clifton <nickc@redhat.com> + + * po/es.po: Updated Spanish translation. + * po/vi.po: Updated Vietnamese translation. + +2009-09-18 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (follow_link, elf_follow_link, ppc_follow_link): New + functions. Use throughout. + (ppc64_elf_copy_indirect_symbol): Set direct symbol "oh" field + from indirect symbol. + (lookup_fdh): Rename from get_fdh. Follow indirect sym links. + (add_symbol_adjust): Simplify. + (defined_code_entry, defined_func_desc): New functions. + (ppc64_elf_gc_keep): Follow indirect sym links. Use defined_code_entry. + (ppc64_elf_gc_mark_dynamic_ref): Use defined_func_desc and + defined_code_entry to follow indirect sym links. + (ppc64_elf_gc_mark_hook, func_desc_adjust): Likewise. + (ppc_type_of_stub): Follow indirect sym links. + (toc_adjusting_stub_needed): Likewise. + (ppc_build_one_stub): Likewise. Make undefined dot-symbols weak + rather than defining them at stub. + (ppc64_elf_relocate_section): Rewrite call test to avoid multiple + assignments in test. + +2009-09-16 Tristan Gingold <gingold@adacore.com> + + * mach-o.h (bfd_mach_o_filetype): Add new constants from darwin10. + Reindent. + * mach-o.c (bfd_mach_o_cpu_name): Reindent. + (bfd_mach_o_filetype_name): Complete with new constants. Reindent. + (bfd_mach_o_print_private_header): Use fputs instead of fprintf + when possible to avoid warnings. + (bfd_mach_o_print_section_map): Ditto. + (bfd_mach_o_section_get_entry_size): New function. + (bfd_mach_o_section_get_nbr_indirect): Simplify using the newly + added function. + (bfd_mach_o_print_dysymtab): Print address of indirect symbols. + +2009-09-14 Nick Clifton <nickc@redhat.com> + + * po/fi.po: Updated Finnish translation. + +2009-09-11 Nick Clifton <nickc@redhat.com> + + * po/bfd.pot: Updated by the Translation project. + +2009-09-11 Philippe De Muyter <phdm@macqel.be> + + * binary.c (binary_object_p): Remove bfd_external_binary_architecture + hack. objcopy `-B' (`--binary-architecture') option is now handled + in a generic way. + +2009-09-11 Nick Clifton <nickc@redhat.com> + + * rs6000-core.c (read_hdr): Fix typo in recent C++ compatibility + changes. + +2009-09-11 Jie Zhang <jie.zhang@analog.com> + + * elf32-bfin.c (bfinfdpic_relocs_info_find): Just return + NULL if `ht' is NULL. + +2009-09-09 Martin Thuresson <martin@mtme.org> + + Update sources to compile cleanly with -Wc++-compat: + * aoutx.h: Add casts. + * archive.c: Add casts. + * archive64.c: Add casts. + * archures.c: Add casts. + * bfd-in2.h: Regenerated. + * bfd.c: Add casts. (enum bfd_direction): Move out to top level. + * bfdio.c: Add casts. + * binary.c: Add casts. + * cache.c (cache_bseek,cache_bread_1,cache_bwrite): Updated + parameter to use enum value instead of int. + * coffcode.h: Add casts. + * coffgen.c: Add casts. + * cofflink.c: Add casts. + * compress.c: Add casts. + * dwarf1.c: Add casts. + * dwarf2.c: Add casts. (struct dwarf2_debug): Rename member bfd to + bfd_ptr. Update code to use new name. + * elf-attrs.c: Add casts. + * elf-bfd.h (elf_link_virtual_table_entry): Gives name to + anonymous struct. (union gotplt_union, struct + elf_link_virtual_table_entry): Move to top level. + * elf-eh-frame.c: Add casts. + * elf-strtab.c: Add casts. + * elf.c: Add casts. (_bfd_elm_make_Section_from_phdr): Change + argument name from typename to type_name. + * elf32-i386.c: Add casts. + * elf64-x86-64.c: Add casts. + * elfcode.h: Add casts. + * elfcore.h: Add casts. + * elflink.c: Add casts. + * format.c: Add casts. + * hash.c: Add casts. + * ihex.c: Add casts. + * libaout.h (enum aout_subformat, enum aout_magic): Move to top + level. + * libbfd.c: Add casts. + * linker.c: Add casts. + * merge.c: Add casts. + * opncls.c: Add casts. + * peXXigen.c: Add casts. + * peicode.h: Add casts. + * reloc.c: Add casts. + * section.c: Add casts. + * simple.c: Add casts. + * srec.c: Add casts. + * stabs.c: Add casts. + * syms.c: Add casts. + * targets.c: Add casts. + * tekhex.c: Add casts. + * verilog.c: Add casts. + +2009-09-09 Paolo Bonzini <bonzini@gnu.org> + + * configure: Regenerate. + +2009-09-09 Daniel Jacobowitz <dan@codesourcery.com> + + * elf32-arm.c (elf32_arm_final_link_relocate): Set sym_flags + for the mode of target PLT entries. + (allocate_dynrelocs): Only adjust symbol type if setting its + value. + +2009-09-09 Paolo Bonzini <bonzini@gnu.org> + + * configure: Regenerate. + +2009-09-09 Nick Clifton <nickc@redhat.com> + + PR 10478: + * elf.c (bfd_section_from_shdr): Do not reject sparc binaries with + section headers containing sh_link values of SHN_BEFORE or + SHN_AFTER. + * elfcode.h (elf_object_p): Likewise. + +2009-09-09 Tristan Gingold <gingold@adacore.com> + + Handle DYLD_INFO introduced by Darwin10. + * mach-o.h (bfd_mach_o_load_command_type): Add + BFD_MACH_O_LC_DYLD_INFO. + (bfd_mach_o_dyld_info_command): New type. + (bfd_mach_o_load_command): Add dyld_info field. + * mach-o.c (bfd_mach_o_scan_read_str): Reduce size of buf. + (bfd_mach_o_scan_read_dyld_info): New function. + (bfd_mach_o_scan_read_command): Handle BFD_MACH_O_LC_DYLD_INFO. + (bfd_mach_o_bfd_print_private_bfd_data): Ditto. + (bfd_mach_o_load_command_name): AddB FD_MACH_O_LC_DYLD_INFO. + (bfd_mach_o_print_dyld_info): New function. + +2009-09-09 M R Swami Reddy <MR.Swami.Reddy@nsc.com> + + * elf32-cr16.c (elf32_cr16_relocate_section): Add code to discard the + linkonce or linker script discarded section. + +2009-09-09 Alan Modra <amodra@bigpond.net.au> + + * elf32-xtensa.c (elf_xtensa_relax_section): Delete -r check. + +2009-09-07 Andreas Schwab <schwab@linux-m68k.org> + + * elf32-m68k.c (rtype_to_howto): If the reloc index is out of + range call the bfd error hander and use R_68K_NONE instead. + +2009-09-07 Tristan Gingold <gingold@adacore.com> + + * po/SRC-POTFILES.in: Regenerate. + * po/bfd.pot: Regenerate. + + * bfd.m4 (BFD_HAVE_TIME_TYPE_MEMBER, + BFD_HAVE_SYS_STAT_TYPE_MEMBER): Moved to gas/acinclude.m4 + * configure.in: Move tests for tm_gmtoff, st_mtim.tv_sec and + st_mtim.tv_nsec to gas/configure.in + (bfd_elf64_ia64_vms_vec): Remove vmsutil.lo + * configure: Regenerate. + * config.in: Regenerate. + * vmsutil.c: Moved to gas/config/te-vms.c + * vmsutil.h: Removed. + * Makefile.am (BFD32_BACKENDS_CFILES): Remove vmsutil.c + (BFD32_BACKENDS): Remove vmsutil.lo + * Makefile.in: Regenerate. + +2009-09-05 Eli Zaretskii <eliz@gnu.org> + + * coffcode.h: Include libiberty.h. + +2009-09-05 Martin Thuresson <martin@mtme.org> + + * coff-arm.c (coff_arm_relocate_section) + (record_thumb_to_arm_glue, bfd_arm_process_before_allocation): + Change member name class to symbol_class. + * coff-i960.c (coff_i960_relocate_section) Rename variable + class to class_val. Change member name class to symbol_class. + * coff-rs6000.c (_bfd_xcoff_swap_aux_in) + (_bfd_xcoff_swap_aux_out): Rename arguments class to in_class. + * coff-stgo32.c (adjust_aux_in_post) + (adjust_aux_out_pre, adjust_aux_out_post): Rename arguments class + to in_class. + * coff64-rs6000.c (_bfd_xcoff64_swap_aux_in) + (_bfd_xcoff64_swap_aux_out): Rename arguments class to in_class. + * coffcode.h (coff_pointerize_aux_hook): Rename variable class + to n_sclass. + * coffgen.c (coff_write_symbol, coff_pointerize_aux): Rename + variables named class to n_sclass. (coff_write_symbols): Rename + variable class to sym_class. (bfd_coff_set_symbol_class): Rename + argument class to symbol_class. + * cofflink.c (_bfd_coff_link_hash_newfunc) + (coff_link_add_symbols, _bfd_coff_link_input_bfd) + (_bfd_coff_write_global_sym, _bfd_coff_generic_relocate_section): + Update code to use renamed members. + * coffswap.h (coff_swap_aux_in, coff_swap_aux_out): Rename + argument class to in_class. + * libcoff-in.h (struct coff_link_hash_entry, struct + coff_debug_merge_type) Renamed members class to symbol_class and + type_class. + * libcoff.h Regenerated. + * peXXigen.c: (_bfd_XXi_swap_aux_in, _bfd_XXi_swap_aux_out): + Rename argument class to in_class. + * pef.c (bfd_pef_parse_imported_symbol): Update code to use + renamed members. + * pef.h (struct bfd_pef_imported_symbol): Changed name of + member class to symbol_class. + +2009-09-04 H.J. Lu <hongjiu.lu@intel.com> + + * configure: Regenerated. + +2009-09-04 Tristan Gingold <gingold@adacore.com> + + * configure.in: Bump version to 2.20.51 + +2009-09-04 Alan Modra <amodra@bigpond.net.au> + + * elf32-spu.c (spu_elf_relocate_section): Correct 2009-07-24 logic. + +2009-09-04 Jie Zhang <jie.zhang@analog.com> + + * elf32-bfin.c (elf32_bfinfdpic_create_dynamic_sections): Always + create .rela.bss. + (elf32_bfinfdpic_size_dynamic_sections): Set SEC_EXCLUDE flag + for empty .rela.bss and .rel.plt sections. + +2009-09-03 Adam Nemet <anemet@caviumnetworks.com> + + * elfxx-mips.c (mips_elf_calculate_relocation): Don't relocate + R_MIPS_JALR unless symbol resolves locally. + +2009-09-03 Adam Nemet <anemet@caviumnetworks.com> + + * elfxx-mips.c (_bfd_mips_elf_check_relocs): Don't set + has_static_relocs for R_MIPS_JALR. + +2009-09-03 Maciej W. Rozycki <macro@codesourcery.com> + + * elf64-mips.c (mips_elf64_howto_table_rela): Add support for + R_MIPS_TLS_DTPMOD64 and R_MIPS_TLS_TPREL64, replacing the + respective stubs. + +2009-09-01 H.J. Lu <hongjiu.lu@intel.com> + + * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Declare + plt earlier. + +2009-09-01 Tristan Gingold <gingold@adacore.com> + + * makefile.vms: Ported to Itanium VMS. Remove useless variable and + dependencies. Reindent. + * configure.com: Ported to Itanium VMS. Now generates a build.com + to build without make. Add messages but make edit silent. + * hosts/alphavms.h: Add a prototype for stpcpy. + * vms.c: Add a missing include for Alpha VMS. + * elfxx-ia64.c (ELF_OSABI): Define for OpenVMS. + +2009-08-31 Jan Beulich <jbeulich@novell.com> + + * elf-bfd.h (bfd_elf_get_default_section_type): Declare. + * elf.c (bfd_elf_get_default_section_type): New. + (elf_fake_sections): Use bfd_elf_get_default_section_type. + +2009-08-30 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c (elf_i386_finish_dynamic_symbol): Revert the + accidental checkin. + * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Likwise. + +2009-08-30 Alan Modra <amodra@bigpond.net.au> + + PR ld/10569 + * bfd.c (bfd_emul_get_maxpagesize): Don't abort. + (bfd_emul_get_commonpagesize): Likewise. + +2009-08-29 Martin Thuresson <martin@mtme.org> + + * elf32-arm.c (struct stub_def): Rename member template to + template_sequence. (arm_build_one_stub, + find_stub_size_and_template, arm_size_one_stub, arm_map_one_stub): + Rename variable template to template_sequence. + * elfxx-ia64.c (elfNN_ia64_relax_br, elfNN_ia64_relax_brl): + Rename variable template to template_val. + * aoutx.h (NAME (aout, make_empty_symbol)): Rename variable + new to new_symbol. + * coffgen.c (coff_make_empty_symbol) + (coff_bfd_make_debug_symbol): Rename variable new to new_symbol. + * cpu-ia64-opc.c (ext_reg, ins_imms_scaled): Rename variable + new to new_insn. + * ecoff.c (_bfd_ecoff_make_empty_symbol): Rename variable new + to new_symbol. + * elf32-m68k.c (elf_m68k_get_got_entry_type): Rename argument + new to new_reloc. + * hash.c (bfd_hash_lookup): Rename variable new to new_string. + * ieee.c (ieee_make_empty_symbol): Rename variable new to + new_symbol. + * linker.c (bfd_new_link_order): Rename variable new to + new_lo. + * mach-o.c (bfd_mach_o_sizeof_headers): Rename variable new to + symbol. + * oasys.c (oasys_make_empty_symbol): Rename variable new to + new_symbol_type. + * pdp11.c (NAME (aout, make_empty_symbol)): Rename variable + new to new_symbol_type. + * plugin.c (bfd_plugin_make_empty_symbol): Rename variable new + to new_symbol. + * rs6000-core.c (CoreHdr, VmInfo): Rename union member new to + new_dump. + (read_hdr, rs6000coff_core_p) + (rs6000coff_core_file_matches_executable_p) + (rs6000coff_core_file_failing_command) + (rs6000coff_core_file_failing_signal): Updated function to use new + union member name. + * som.c (som_make_empty_symbol): Rename variable new to + new_symbol_type. + * syms.c (_bfd_generic_make_empty_symbol): Rename variable new + to new_symbol. + * tekhex.c (first_phase, tekhex_make_empty_symbol): Rename + variable new to new_symbol. + +2009-08-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * acinclude.m4 (AM_INSTALL_LIBBFD): Call AM_SUBST_NOTMAKE for + bfdlibdir and bfdincludedir. + * Makefile.am (bfdlibdir, bfdincludedir): Move definition ... + [INSTALL_LIBBFD]: ... here, ... + [INSTALL_LIBBFD]: ... and empty overrides here. + [!INSTALL_LIBBFD]: (rpath_bfdlibdir): New variable. + [!INSTALL_LIBBFD] (libbfd_la_LDFLAGS): Use it. + * Makefile.in: Regenerate. + * configure: Regenerate. + +2009-08-26 Maxim Kuvyrkov <maxim@codesourcery.com> + + * elf32-m68k.c: Rewrite initialization of GOT entries for TLS + relocations. Rewrite output of dynamic TLS relocations. + (DTP_OFFSET, TP_OFFSET): New constants. + (dtpoff_base): Update. + (tpoff): Rename to tpoff_base, update. + (elf_m68k_init_got_entry_static, elf_m68k_init_got_entry_local_shared): + New functions. Move code from elf_m68k_relocate_section here. + (elf_m68k_relocate_section): Update. + (elf_m68k_finish_dynamic_symbol): Fix handling of local TLS symbols. + +2009-08-26 Maxim Kuvyrkov <maxim@codesourcery.com> + + * elf32-m68k.c (elf_m68k_copy_indirect_symbol): Propagate + non_got_ref value. + (elf_m68k_check_relocs): Handle dynamic TLS relocations. + Handle non_got_ref field. + (elf_m68k_adjust_dynamic_symbol): Handle non_got_ref field. + +2009-08-26 Alan Modra <amodra@bigpond.net.au> + + PR ld/10518 + * linker.c (bfd_find_version_for_sym): Revert warning. + +2009-08-26 Alan Modra <amodra@bigpond.net.au> + + PR ld/10518 + * linker.c (bfd_find_version_for_sym): Override a "*" match by any + other wildcard match. Warn on multiple wildcard matches. + +2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * Makefile.am (libbfd_la_LDFLAGS): Initialize early, to allow + appending. + [INSTALL_LIBBFD] (bfdlib_LTLIBRARIES, bfdinclude_HEADERS): Set + only in this condition. + [!INSTALL_LIBBFD] (noinst_LTLIBRARIES, libbfd_la_LDFLAGS): New, + to build but not install libbfd.la in this condition. + (install-bfdlibLTLIBRARIES, uninstall-bfdlibLTLIBRARIES) + (install_libbfd, install_libbfd): Remove. + * Makefile.in: Regenerate. + * doc/Makefile.am (AM_CPPFLAGS): Renamed from ... + (INCLUDES): ... this. + ($(MKDOC)): Adjust. + * doc/Makefile.in: Regenerate. + + * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, instead use + no-dist and foreign. + (EXTRA_libbfd_la_SOURCES): New, list $(CFILES) to allow + dependency tracking to work for them. + (targets.lo, archures.lo, dwarf.lo): Rewrite to + use automake dependency tracking mechanism. + (MKDEP, DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove. + (mkdep section): Remove. + (BUILT_SOURCES): New, list $(BUILD_HFILES). + * Makefile.in: Regenerate. + * po/SRC-POTFILES.in, po/bfd.pot: Regenerate. + + * Makefile.am (datarootdir, docdir, htmldor, pdfdir) + (install-pdf, install-pdf-recursive, install-html) + (install-html-recursive): Remove. + * Makefile.in: Regenerate. + + * Makefile.in: Regenerate. + * aclocal.m4: Likewise. + * config.in: Likewise. + * configure: Likewise. + +2009-08-21 Daniel Gutson <dgutson@codesourcery.com> + + * elf32-arm.c (arch_has_thumb2_nop): New function. + (arch_has_arm_nop): New function. + (elf32_arm_final_link_relocate): NOP opcodes changed. + +2009-08-16 Doug Evans <dje@google.com> + + * opncls.c (bfd_close): Until BFD_IN_MEMORY has an iovec, + at least don't leak memory. + +2009-08-13 DJ Delorie <dj@redhat.com> + + * elf32-m32c.c (m32c_elf_relax_delete_bytes): Adjust symbol sizes + if needed. + +2009-08-12 Nick Clifton <nickc@redhat.com> + + * po/fi.po: Updated Finnish translation. + +2009-08-11 Bernd Schmidt <bernd.schmidt@analog.com> + + Merge some FRV FDPIC changes into the Blackfin code. + * elf32-bfin.c (struct bfinfdpic_elf_link_hash_table): Add pointer to + summary reloc information. + (bfinfdpic_dynamic_got_plt_info): New. + (_bfin_create_got_section): Create the PLT section here. + (elf32_bfinfdpic_create_dynamic_sections): Not here. + (_bfinfdpic_count_nontls_entries): Move out of... + (_bfinfdpic_count_got_plt_entries): ... here. + (_bfinfdpic_count_relocs_fixups): Likewise. + (_bfinfdpic_reset_got_plt_entries): New. + (_bfinfdpic_size_got_plt): Move out of... + (elf32_bfinfdpic_size_dynamic_sections): ... here. + (bfinfdpic_relocate_section): Be careful not to call + _bfinfdpic_add_rofixup or _bfinfdpic_add_dyn_reloc for deleted relocs. + (bfinfdpic_check_discarded_relocs, bfinfdpic_elf_discard_info): + New functions. + (elf_backend_discard_info): Define for FD-PIC. + +2009-08-11 Alan Modra <amodra@bigpond.net.au> + + * elflink.c: Add FIXMEs for some places that require octets_per_byte + adjustments. + * elf-eh-frame.c: Likewise. + * merge.c: Likewise. + +2009-08-11 Alan Modra <amodra@bigpond.net.au> + + * configure.in: Remove elf-ifunc.lo from common ELF files. Add + to x86 and x86_64 configurations. + * configure: Regenerate. + +2009-08-10 Jan Kratochvil <jan.kratochvil@redhat.com> + + Stop using bfd_usrdata in libbfd. + * coff-stgo32.c (bfd_coff_go32stub): Remove. + (stub_bytes, comment): Replace STUBSIZE by GO32_STUBSIZE. + (adjust_filehdr_in_post): Declare the abfd parameter as unused. + Replace STUBSIZE by GO32_STUBSIZE. Save now the stub in + filehdr_dst->u.go32.stub. New comment with the reason. + (adjust_filehdr_out_pre): Replace STUBSIZE by GO32_STUBSIZE. + Substitute the removed macro bfd_coff_go32stub. + (adjust_filehdr_out_post, adjust_scnhdr_in_post, adjust_scnhdr_out_pre) + (adjust_scnhdr_out_post, adjust_aux_in_post, adjust_aux_out_pre) + (adjust_aux_out_post): Replace STUBSIZE by GO32_STUBSIZE. + (create_go32_stub, go32_stubbed_coff_bfd_copy_private_bfd_data): + Replace STUBSIZE by GO32_STUBSIZE. Substitute the removed macro + bfd_coff_go32stub. + * coffcode.h (coff_mkobject_hook): Initialize coff->go32stub. + * libcoff-in.h (coff_data_type): New field go32stub. + * libcoff.h: Regenerated. + +2009-08-10 Jan Kratochvil <jan.kratochvil@redhat.com> + + Fix go32 stub preservation by objcopy. + * coff-stgo32.c (adjust_filehdr_in_post): Use bfd_malloc. + (go32_stubbed_coff_bfd_copy_private_bfd_data): Optionally allocate OBFD + go32stub. + +2009-08-10 Nathan Sidwell <nathan@codesourcery.com> + + * elf32-arm.c (elf32_arm_size_stubs): Don't die on undefined local + symbols. + (elf32_arm_final_link_relocate): Treat local undefined symbols the + same as global undefined symbols. + (elf32_arm_relocate_section): Give an error for local undefined + non-weak symbols, unless the reloc will not use the symbol. + +2009-08-10 Nathan Sidwell <nathan@codesourcery.com> + + * elf32-ppc.c (shared_stub_entry, stub_entry): Use r12, not r11. + (ppc_elf_relax_section): Use symbol index to distinguish + relocatable stubs. + +2009-08-10 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (ppc_elf_relax_section): Ignore non-code sections. + +2009-08-10 Alan Modra <amodra@bigpond.net.au> + + * elflink.c (_bfd_elf_adjust_dynamic_symbol): Don't clear plt + info for STT_GNU_IFUNC. + * elf32-ppc.c (ppc_elf_check_relocs): Count a needed plt entry + on got refs in case the symbol turns out to be ifunc. + (ppc_elf_gc_sweep_hook): Similarly. + (ppc_elf_adjust_dynamic_symbol): Adjust assertion. + (allocate_dynrelocs): Don't specially allocate got relocs for ifunc. + (ppc_elf_size_dynamic_sections): Likewise. + (ppc_elf_relocate_section): Likewise. + +2009-08-09 Bernd Schmidt <bernd.schmidt@analog.com> + + From Mike Frysinger <michael.frysinger@analog.com> + * elf32-bfin.c (bfin_howto_table, bfin_reloc_map, bfin_check_relocs, + bfin_final_link_relocate, bfin_relocate_section, bfin_gc_sweep_hook, + _bfinfdpic_emit_got_relocs_plt_entries, bfinfdpic_relocate_section, + bfinfdpic_gc_sweep_hook, bfinfdpic_check_relocs, + bfin_finish_dynamic_symbol, bfd_bfin_elf32_create_embedded_relocs): + Adjust to match the renamed reloc definitions. + +2009-08-08 Alan Modra <amodra@bigpond.net.au> + + PR 10494 + * elf.c (_bfd_elf_make_section_from_shdr): When setting up section + LMAs, use ELF_IS_SECTION_IN_SEGMENT to match sections with headers. + +2009-08-07 Tom Tromey <tromey@redhat.com> + + * elf32-microblaze.c (microblaze_elf_check_relocs): Avoid strict + aliasing error. + +2009-08-06 Michael Eager <eager@eagercon.com> + + * Makefile.am: Add cpu-microblaze.{lo,c}, elf32-microblaze.{lo,c}. + * Makefile.in: Regenerate. + * archures.c: Add bfd_arch_microblaze. + * bfd-in2.h: Regenerate. + * config.bfd: Add microblaze target. + * configure.in: Add bfd_elf32_microblaze_vec target. + * configure: Regenerate. + * cpu-microblaze.c: New. + * elf32-microblaze.c: New. + * libbfd-in.h: Add prototype _bfd_dwarf2_fixup_section_debug_loc(). + * libbfd.h: Regenerate. + * reloc.c: Add MICROBLAZE relocations. + * section.c: Add struct relax_table and relax_count to section. + * targets.c: Add bfd_elf32_microblaze_vec. + +2009-08-06 Jakub Jelinek <jakub@redhat.com> + Alan Modra <amodra@bigpond.net.au> + + PR binutils/10492 + * elf.c (sym_is_global): Return true even for BSF_GNU_UNIQUE + symbols. + * elf32-mips.c (mips_elf_sym_is_global): Likewise. + * elfn32-mips.c (mips_elf_sym_is_global): Likewise. + +2009-08-06 Nathan Sidwell <nathan@codesourcery.com> + + * elf32-arm.c (elf32_arm_size_stubs): Call layout_sections_again + at least once when fixing cortex-a8. + +2009-08-05 Chao-ying Fu <fu@mips.com> + + * elf32-mips.c (mips_reloc_map): Add BFD_RELOC_MIPS_JALR. + * elfxx-mips.c (JAL_TO_BAL_P): New define to transform JAL to BAL + for CPUs. It is true for RM9000. + (JALR_TO_BAL_P): New define to transform JALR to BAL. It is true + for all CPUs. + (mips_elf_perform_relocation): Use JAL_TO_BAL_P and JALR_TO_BAL_P + to guard the transformation. + +2009-08-05 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com> + + * elf32-spu.h (spu_elf_params): Add member emit_fixups. + (spu_elf_size_sections): Declare prototype. + * elf32-spu.c (spu_link_hash_table): Add member sfixup. + (FIXUP_RECORD_SIZE, FIXUP_GET, FIXUP_PUT): New macros. + (spu_elf_emit_fixup): New function. + (spu_elf_relocate_section): Emit fixup for each SPU_ADDR32. + (spu_elf_size_sections): New function. + +2009-08-05 Nathan Sidwell <nathan@codesourcery.com> + + * elf32-arm.c (elf32_arm_stub_type): Add arm_stub_a8_veneer_lwm. + (arm_build_one_stub): Build a8 veneers as a separate pass. + (cortex_a8_erratum_scan): Add prev_num_a8_fixes and stub_changed_p + parameters. Use them to check if we create a different a8 fixup + than the previous pass. + (elf32_arm_size_stubs): Move scope of stub_changed and + prev_num_a8_fixes into main loop. + (elf32_arm_build_stubs): Build a8 veneers in a second pass. + +2009-08-04 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (ppc_elf_relax_section): Correct conditions under + which find_plt_ent is called. Delete redundant code. + +2009-08-03 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/10363 + * elf.c (bfd_elf_string_from_elf_section): Return NULL on + invalid string offset. + +2009-08-03 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/10433 + * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Set got + to htab->init_got_offset and plt to htab->init_plt_offset + when discarding space for dynamic relocations. + +2009-08-03 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (struct plt_entry): Revise comments. + (ppc_elf_check_relocs): Don't create needless plt_entry info + for non-pie executables. Don't test info->pie when info->shared + already covers that case. + (ppc_elf_gc_sweep_hook): Adjust for above change. + (add_stub_sym): Don't test info->pie when info->shared tested. + (allocate_dynrelocs, ppc_elf_size_dynamic_sections): Likewise. + (write_glink_stub, ppc_elf_finish_dynamic_symbol): Likewise. + (ppc_elf_relax_section): Adjust find_plt_ent arguments. + (ppc_elf_relocate_section): Likewise. + +2009-08-03 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (ppc_elf_check_relocs): Always add a plt ref count + for local ifunc symbols in non-pie executables, regardless of + reloc type. Don't specially create ifunc dyn relocs. Tidy ifunc + code so that it's obvious that we only do anything special for + local ifunc syms. + (ppc_elf_gc_sweep_hook): Adjust to suit check_relocs changes. + (allocate_dynrelocs): Correct comment for syms defined in plt. + Don't specially allocate ifunc dyn relocs. + (ppc_elf_relax_section): Relax branches to ifunc plt entries too. + (ppc_elf_relocate_section): Set "relocation" value for ifunc + syms in non-pie executables. No specially allocated dyn relocs + for ifunc to write. Allow for local sym on R_PPC_RELAX32_PLT. + (ppc_elf_finish_dynamic_symbol): Set value of ifunc symbols in + a non-pie executable. + +2009-08-02 H.J. Lu <hongjiu.lu@intel.com> + Jakub Jelinek <jakub@redhat.com> + + PR ld/6443 + * elf32-i386.c (elf_i386_tls_transition): Check executable + instead of shared for TLS when building PIE. + (elf_i386_check_relocs): Likewise. + (elf_i386_allocate_dynrelocs): Likewise. + (elf_i386_relocate_section): Likewise. + + * elf64-x86-64.c (elf64_x86_64_tls_transition): Check executable + instead of shared for TLS when building PIE. + (elf64_x86_64_check_relocs): Likewise. + (elf64_x86_64_allocate_dynrelocs): Likewise. + (elf64_x86_64_relocate_section): Likewise. + +2009-07-31 Anthony Green <green@moxielogic.com> + + * config.bfd (targ_cpu): Add moxie-uclinux support. + +2009-07-31 Hans-Peter Nilsson <hp@bitrange.com> + + * linker.c (fix_syms): Consider SEC_LOAD when choosing section. + +2009-07-30 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (ppc_elf_check_relocs): Always set up sections + used by indirect function support. Count dynamic relocs for + ifunc syms. + (ppc_elf_adjust_dynamic_symbol): Tweak for ifunc. + (allocate_dynrelocs): Allocate all non-dynamic ifunc plt entries + in iplt and their relocs in reliplt. Don't make ifunc syms + dynamic. Allocate got entry relocs for non-dynamic ifunc in + reliplt. Handle other dynamic relocs for ifunc. + (ppc_elf_size_dynamic_sections): Alloc dyn relocs for static + ifunc in reliplt, likewise relocs for got against local ifunc. + Typo fix on reliplt size adjust. + (ppc_elf_relocate_section): Don't use plt scheme of allocating + relocs 1-1 with entries for iplt, instead just add using + reloc_count. Write got relocs and dyn relocs for ifunc to reliplt. + Error on invalid ifunc dyn relocs. + (ppc_elf_finish_dynamic_symbol): Adjust for non-dynamic ifunc plt + in iplt/reliplt. + * elf64-ppc.c (ppc64_elf_howto_raw): Add R_PPC64_JMP_IREL, + R_PPC64_REL16, R_PPC64_REL16_LO, R_PPC64_REL16_HI, R_PPC64_REL16_HA. + (ppc64_elf_reloc_type_lookup): Handle new relocs. + (ppc64_elf_check_relocs): Likewise. Count dyn relocs for ifunc. + (allocate_dynrelocs): As for elf32-ppc.c above. + (ppc64_elf_size_dynamic_sections): Likewise. + (ppc_build_one_stub): Put non-dynamic ifunc plt call stubs in iplt, + and their relocs in reliplt. Use R_PPC64_JMP_IREL. + (ppc_size_one_stub): Similarly. + (ppc64_elf_relocate_section): As for elf32-ppc.c above. Handle new + relocs too. + (ppc64_elf_finish_dynamic_symbol): As for elf32-ppc.c above. + +2009-07-29 Hans-Peter Nilsson <hp@bitrange.com> + + * elf64-mmix.c (mmix_elf_relax_section): Revert 2009-05-27 + change. Add note to head comment. + +2009-07-28 Jan Beulich <jbeulich@novell.com> + + * archive.c (get_extended_arelt_filename): Remove redundant + range check on index. + +2009-07-27 Doug Kwan <dougkwan@google.com> + + * elf32-arm.c (stub_hash_newfunc): Initialize field output_name. + +2009-07-27 H.J. Lu <hongjiu.lu@intel.com> + + * archures.c bfd_*_arch): Sorted. + (bfd_archures_list): Likewise. + +2009-07-27 M R Swami Reddy <MR.Swami.Reddy@nsc.com> + + * elf32-cr16.c (elf_cr16_final_link_relocate): Add code to handle + to R_cr16_NUM32 relocation. + +2009-07-26 Michael Eager <eager@eagercon.com> + + * archures.c: Add bfd_mach_ppc_405 + * bfd-in2.h: Same. + +2009-07-25 H.J. Lu <hongjiu.lu@intel.com> + + * cpu-i386.c (bfd_x86_64_arch): Fix comment typos. + * cpu-l1om.c (bfd_l1om_arch): Likewise. + +2009-07-25 H.J. Lu <hongjiu.lu@intel.com> + + * archures.c (bfd_architecture): Add bfd_arch_l1om. + (bfd_l1om_arch): New. + (bfd_archures_list): Add &bfd_l1om_arch. + * bfd-in2.h: Regenerated. + + * config.bfd (targ64_selvecs): Add bfd_elf64_l1om_vec if + bfd_elf64_x86_64_vec is supported. Add bfd_elf64_l1om_freebsd_vec + if bfd_elf64_x86_64_freebsd_vec is supported. + (targ_selvecs): Likewise. + + * configure.in: Support bfd_elf64_l1om_vec and + bfd_elf64_l1om_freebsd_vec. + * configure: Regenerated. + + * cpu-l1om.c: New. + + * elf64-x86-64.c (elf64_l1om_elf_object_p): New. + (bfd_elf64_l1om_vec): Likewise. + (bfd_elf64_l1om_freebsd_vec): Likewise. + + * Makefile.am (ALL_MACHINES): Add cpu-l1om.lo. + (ALL_MACHINES_CFILES): Add cpu-l1om.c. + * Makefile.in: Regenerated. + + * targets.c (bfd_elf64_l1om_vec): New. + (bfd_elf64_l1om_freebsd_vec): Likewise. + (_bfd_target_vector): Add bfd_elf64_l1om_vec and + bfd_elf64_l1om_freebsd_vec. + +2009-07-24 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com> + Alan Modra <amodra@bigpond.net.au> + + * reloc.c (BFD_RELOC_SPU_ADD_PIC): Define. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + * elf32-spu.c (elf_howto_table): Add entries SPU_ADD_PIC. + (spu_elf_bfd_to_reloc_type): Handle SPU_ADD_PIC. + (spu_elf_relocate_section): Patch instructions marked by SPU_ADD_PIC. + +2009-07-23 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/10434 + * elf64-x86-64.c (elf64_x86_64_check_relocs): Check executable + instead of shared for R_X86_64_TPOFF32. + (elf64_x86_64_relocate_section): Likewise. + +2009-07-23 Ulrich Drepper <drepper@redhat.com> + + * elf-bfd.h (struct elf_link_hash_entry): Add unique_global field. + * elf.c (swap_out_syms): Set binding to STB_GNU_UNIQUE for symbols + with the BSF_GNU_UNIQUE flag bit set. + * elfcode.h (elf_slurp_symbol_table): Set the BSF_GNU_UNIQUE flag + for symbols with STB_GNU_UNIQUE binding. + * elflink.c (_bfd_elf_merge_symbol): Set unique_global for symbols + with the STB_GNU_UNIQUE binding. + (elf_link_add_object_symbols): Set the BSF_GNU_UNIQUE flag for + symbols with STB_GNU_UNIQUE binding. Set STB_GNU_UNIQUE for + symbols with the unique_global field set. + (elf_link_output_extsym): Set unique_global field for symbols with + the STB_GNU_UNIQUE binding. + * syms.c (struct bfd_symbol): Define BSF_GNU_UNIQUE flag bit. + (bfd_print_symbol_vandf): Print a 'u' character for BSF_GNU_UNIQUE + symbols. + (bfd_decode_symclass): Return a 'u' character for BSF_GNU_UNIQUE + symbols. + * bfd-in2.h: Regenerate. + +2009-07-22 H.J. Lu <hongjiu.lu@intel.com> + + * elflink.c (elf_link_output_extsym): Revert the last change. + +2009-07-22 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/10433 + * elflink.c (elf_link_output_extsym): Special case ifunc syms + when ref_regular, not def_regular. + +2009-07-21 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/10426 + * elflink.c (elf_link_add_object_symbols): Turn an IFUNC symbol + from a DSO into a normal FUNC symbol. + (elf_link_output_extsym): Turn an undefined IFUNC symbol into + a normal FUNC symbol. + +2009-07-17 Chao-ying Fu <fu@mips.com> + + * elfxx-mips.c (LOAD_INTERLOCKS_P): New define. + (_bfd_mips_elf_size_dynamic_sections): For CPUs without load + interlocking, the last PLT entry needs a nop in the branch delay slot. + (_bfd_mips_elf_finish_dynamic_symbol): For CPUs with load itnerlocking, + output the last two PLT entries in reverse order. + +2009-07-16 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c (elf_i386_relocate_section): Don't get local + STT_GNU_IFUNC symbol for relocatable link. + * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. + +2009-07-10 H.J. Lu <hongjiu.lu@intel.com> + + * bfdio.c (bfd_iovec): Add comments for bmmap. + * bfd-in2.h: Regenerated. + +2009-07-10 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerated. + +2009-07-10 Doug Kwan <dougkwan@google.com> + + * elf32-arm.c (stub_hash_newfunc): Initialize fields + target_addend and orig_insn. + +2009-07-10 Tom Tromey <tromey@redhat.com> + + * Makefile.am (dwarf2.lo): Use dwarf2.h, not elf/dwarf2.h. + (elf-eh-frame.lo): Likewise. + (elf32-bfin.lo): Likewise. + (elf32-frv.lo): Likewise. + (elf32-xc16x.lo): Likewise. + * Makefile.in: Rebuild. + * dwarf2.c: Included dwarf.h, not elf/dwarf2.h. + * elf-eh-frame.c: Likewise. + * elf32-bfin.c: Likewise. + * elf32-frv.c: Likewise. + * elf32-xc16x.c: Likewise. + +2009-07-10 Julian Brown <julian@codesourcery.com> + + * elf32-arm.c (arm_build_one_stub): Use the hash entry of the + symbol a stub entry is derived from, not the entry for the stub + itself, in call to elf32_arm_final_link_relocate. + +2009-07-10 H.J. Lu <hongjiu.lu@intel.com> + + * elf.c (_bfd_elf_get_synthetic_symtab): Remove leading zeros + when reporting addends. + +2009-07-10 Alan Modra <amodra@bigpond.net.au> + + * elf32-spu.c (spu_elf_size_stubs): Do set up soft-icache manager + data even when no stubs. + (spu_elf_place_overlay_data, spu_elf_build_stubs): Adjust. + +2009-07-10 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (ppc_elf_howto_raw): Add R_PPC_IRELATIVE. + (ppc_elf_get_synthetic_symtab): Report addend. + (PLT_IFUNC): Define. + (struct ppc_elf_link_hash_table): Add iplt and reliplt. + (ppc_elf_create_glink): New function. + (ppc_elf_create_dynamic_sections): Use it. + (ppc_elf_add_symbol_hook): Set has_ifunc_symbols. + (update_local_sym_info): Allocate space for local_plt array. + Don't bump local_got_refcounts for PLT_IFUNC. Return local_plt + entry pointer. + (is_branch_reloc): New function. + (ppc_elf_check_relocs): Handle STT_GNU_IFUNC symbols. + (ppc_elf_gc_sweep_hook): Likewise. + (ppc_elf_adjust_dynamic_symbol): Likewise. + (allocate_dynrelocs): Likewise. + (ppc_elf_size_dynamic_sections): Likewise. + (ppc_elf_relocate_section): Likewise. + (branch_reloc_hash_match): Use is_branch_reloc. + (ppc_elf_tls_optimize): Adjust for local_plt. + (write_glink_stub): New function, extracted from.. + (ppc_elf_finish_dynamic_symbol): ..here. Handle STT_GNU_IFUNC. + (ppc_elf_finish_dynamic_sections): Only write plt resolver and + branch table when dynamic. + (elf_backend_post_process_headers): Define. + * elf64-ppc.c (elf_backend_post_process_headers): Define. + (ppc64_elf_howto_raw): Add R_PPC64_IRELATIVE. + (ppc64_elf_get_synthetic_symtab): Report addend. + (struct ppc_stub_hash_entry): Add plt_ent. + (PLT_IFUNC): Define. + (struct ppc_link_hash_table): Add iplt and reliplt. + (create_linkage_sections): Make .iplt and .rela.iplt sections. + (ppc64_elf_add_symbol_hook): Set has_ifunc_symbols. + (update_local_sym_info): Allocate space for local_plt array. + Don't bump local_got_ents for PLT_IFUNC. Return local_plt + entry pointer. + (update_plt_info): Pass pointer to plt_entry rather than sym hash, + and don't change hash flags here. + (is_branch_reloc): New function. + (ppc64_elf_check_relocs): Handle STT_GNU_IFUNC. + (ppc64_elf_gc_sweep_hook): Likewise. + (ppc64_elf_adjust_dynamic_symbol): Likewise. + (allocate_dynrelocs): Likewise. + (ppc64_elf_size_dynamic_sections): Likewise. + (ppc_build_one_stub, ppc_size_one_stub): Likewise. + (ppc64_elf_size_stubs): Likewise. + (ppc64_elf_relocate_section): Likewise. + (get_sym_h): Adjust for local_plt. + (branch_reloc_hash_match): Use is_branch_reloc. + (ppc_type_of_stub): Pass plt_entry pointer and handle ifunc. + (ppc64_elf_toc): Ignore SEC_EXCLUDE sections. + +2009-07-10 Alan Modra <amodra@bigpond.net.au> + + * elf.c (_bfd_elf_get_synthetic_symtab): Report addends. + +2009-07-10 Alan Modra <amodra@bigpond.net.au> + + * elf-bfd.h (struct elf_link_hash_entry): Clarify ref_regular + and ref_regular_nonweak comment. + * elflink.c (elf_link_output_extsym): Special case ifunc syms + when def_regular, not ref_regular. + (elf_link_add_object_symbols): Don't set needs_plt on ifunc syms,.. + * elf32-i386.c (elf_i386_check_relocs): ..set it here instead.. + * elf64-x86-64.c (elf64_x86_64_check_relocs): ..and here. + +2009-07-09 Alan Modra <amodra@bigpond.net.au> + + * elf32-spu.c (mark_functions_via_relocs): Init broken_cycle field + of malloc'd struct call_info. + (pasted_function): Likewise, priority too. + +2009-07-07 Alan Modra <amodra@bigpond.net.au> + + * elf32-spu.c (spu_elf_auto_overlay): Take into account section + alignment when packing sections into overlays. + +2009-07-03 Cary Coutant <ccoutant@google.com> + + * dwarf2.c (decode_line_info): Ignore DW_LNE_set_discriminator. + +2009-07-03 Dave Korn <dave.korn.cygwin@gmail.com> + + * coffcode.h (sec_to_styp_flags): Partially revert (functional + changes only) earlier patch:- + +2009-06-25 Kai Tietz <kai.tietz@onevision.com> + + * coffcode.h (sec_to_styp_flags): Set discardable for .reloc and + give .debug and .reloc data characteristics. + (DOT_RELOC): New define for .reloc section string. + (coff_write_object_contents): Use DOT_RELOC instead of string. + +2009-07-02 Tom Tromey <tromey@redhat.com> + + * aoutx.h (aout_get_external_symbols): Declare 'amt' locally. + * bfdwin.c (bfd_free_window): Cast to unsigned long. + +2009-07-01 Nick Clifton <nickc@redhat.com> + + * elf-m10300.c: Remove trailing white space. + * reloc.c: Likewise. + +2009-07-01 Douglas B Rupp <rupp@gnat.com> + + * bfd.m4 (BFD_HAVE_TIME_TYPE_MEMBER, + BFD_HAVE_SYS_STAT_TYPE_MEMBER): New config functions. + * configure.in: Use them. + * configure: Regenerate. + * config.in: Regenerate. + * vmsutil.c: Include sysdep.h, remove ansidecl.h. + #define _BSD_SOURCE. Add comments. + (vms_file_stats_name): Calculate creation date based on available + runtime data. Return 1 for version instead of 0. + +2009-07-01 Nick Clifton <nickc@redhat.com> + + PR 10072 + * elf32-arm.c (elf32_arm_final_link_relocate): Add code to handle + to R_ARM_THM_PC8 relocation. + +2009-06-29 Nick Clifton <nickc@redhat.com> + + * elf-m10300.c (mn10300_elf_relax_section): Allow for the + different uses of the relocations addend when a symbol is in a + merged section. + +2009-06-27 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/10337 + * elf.c (bfd_section_from_shdr): Don't change sh_link for + SHT_REL/SHT_RELA sections on executable nor shared library. + Treat SHT_REL/SHT_RELA sections with sh_link set to SHN_UNDEF + as a normal section. + +2009-06-25 Nick Clifton <nickc@redhat.com> + + * elf-m10300.c (mn10300_elf_relax_section): Handle non-section + symbols with SEC_MERGE flag. + +2009-06-25 Kai Tietz <kai.tietz@onevision.com> + + * coffcode.h (sec_to_styp_flags): Set discardable for .reloc and + give .debug and .reloc data characteristics. + (DOT_RELOC): New define for .reloc section string. + (coff_write_object_contents): Use DOT_RELOC instead of string. + +2009-06-25 Tristan Gingold <gingold@adacore.com> + + * mach-o-target.c (bfd_mach_o_get_dynamic_symtab_upper_bound) + (bfd_mach_o_canonicalize_dynamic_symtab) + (bfd_mach_o_get_synthetic_symtab): Defines. + (TARGET_NAME_BACKEND): Add bfd_mach_o_print_thread entry. + (TARGET_NAME): Use Mach-O specific functions for dynamic. + + * mach-o-i386.c (bfd_mach_o_i386_swap_reloc_in): Fix howto indexes + for scattered relocations. + (bfd_mach_o_i386_print_thread): New function. + (bfd_mach_o_print_thread): Define. + + * mach-o.c (text_section_names_xlat): Add an entry for __const. + (bfd_mach_o_canonicalize_one_reloc, bfd_mach_o_canonicalize_relocs): + New functions extracted from ... + (bfd_mach_o_canonicalize_reloc): ... This. Simplified. + (bfd_mach_o_get_dynamic_reloc_upper_bound): New function. + (bfd_mach_o_canonicalize_dynamic_reloc): New function. + (bfd_mach_o_i386_flavour_string): Adjusted after enum renaming. + (bfd_mach_o_ppc_flavour_string): Reindentation. Add 64 bits cases. + (bfd_mach_o_scan_read_dylinker): Do not create a section anymore. + Set name_str field. + (bfd_mach_o_scan_read_dylib): Ditto. + (bfd_mach_o_scan_read_thread): Set mdata at declaration. Add comments, + reindent. + (bfd_mach_o_scan_read_dysymtab): Set mdata at declaration. Correctly + decode isym and flags on little endian targets. Set dysymtab field. + (bfd_mach_o_scan_start_address): Adjust for enum names. + (bfd_mach_o_lookup_section): Do not look for segments anymore. + (bfd_mach_o_print_section): Display bfd section name. + (bfd_mach_o_print_segment): Display none if no name. + (bfd_mach_o_print_dysymtab): Display next index for local, external + and undefined symbols. + (bfd_mach_o_bfd_print_private_bfd_data): Adjust code by using name_str. + Display dylinker name. Display thread and unixthread commands content. + (bfd_mach_o_print_thread): New macro. + + * mach-o.h (bfd_mach_o_mach_header_magic): Align numbers. + (bfd_mach_o_ppc_thread_flavour): Ditto. + (bfd_mach_o_i386_thread_flavour): Ditto. + (BFD_MACH_O_PPC_THREAD_STATE_NONE): New enum. + (BFD_MACH_O_x86_THREAD_STATE_NONE): Replaces + BFD_MACH_O_THREAD_STATE_NONE. + (bfd_mach_o_segment_command): Remove segment field. + (bfd_mach_o_thread_flavour): Field offset is now unsigned long. + (bfd_mach_o_dylinker_command): Remove section field, add name_str. + (bfd_mach_o_prebound_dylib_command): Ditto. + (bfd_mach_o_dylib_command): Ditto. + (bfd_mach_o_prebound_dylib_command): Remove section field. + (mach_o_data_struct): Add dysymtab field. + (bfd_mach_o_backend_data): Add _bfd_mach_o_print_thread field. + (bfd_mach_o_get_reloc_upper_bound, bfd_mach_o_canonicalize_reloc) + (bfd_mach_o_build_commands): Remove parameter names and attributes. + (bfd_mach_o_get_dynamic_reloc_upper_bound) + (bfd_mach_o_canonicalize_dynamic_reloc): New prototypes. + +2009-06-25 Rafael Avila de Espindola <espindola@google.com> + + * plugin.c (load_plugin): Use stat and S_ISREG instead of the d_type + field of struct dirent. + +2009-06-23 Tristan Gingold <gingold@adacore.com> + + * vms.c (vms_get_synthetic_symtab): Remove duplicate definition + of this macro. Fix indentation. + +2009-06-22 Christophe Lyon <christophe.lyon@st.com> + + * elf32-arm.c (elf32_arm_size_stubs): Use PLT address as + destination for defined dynamic symbols when deciding whether to + insert a stub or not. + (allocate_dynrelocs): Make sure functions are not marked as Thumb + when actually accessed through a PLT, even when generating a + shared lib. + +2009-06-22 Tristan Gingold <gingold@adacore.com> + + * mach-o.c (bfd_mach_o_canonicalize_reloc): Append a sentinel to + the relocs array. + +2009-06-22 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (ppc_elf_check_relocs): Handle R_PPC_RELAX* in switch. + * elf32-v850.c (v850_elf_relocate_section): Warning fix. + +2009-06-22 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (ppc64_elf_edit_opd): Avoid gcc warning. + +2009-06-19 H.J. Lu <hongjiu.lu@intel.com> + + * elflink.c (elf_link_add_object_symbols): Avoid warning + from -Wjump-misses-init in gcc 4.5.0. + +2009-06-19 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c (elf_i386_check_relocs): Properly check local + symbol on error. + * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise. + +2009-06-19 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c (elf_i386_tls_transition): Add a parameter, + r_symndx. Report local symbol name on error. + (elf_i386_check_relocs): Updated. Report local symbol name on + error. + (elf_i386_gc_sweep_hook): Updated. + (elf_i386_relocate_section): Likewise. + + * elf64-x86-64.c (elf64_x86_64_tls_transition): Add a parameter, + r_symndx. Report local symbol name on error. + (elf64_x86_64_check_relocs): Updated. Report local symbol name + on error. + (elf64_x86_64_gc_sweep_hook): Updated. + (elf64_x86_64_relocate_section): Likewise. + +2009-06-19 Tristan Gingold <gingold@adacore.com> + + * mach-o.c (bfd_mach_o_print_private_header): Fix format character. + +2009-06-19 Tristan Gingold <gingold@adacore.com> + + * mach-o.c (bfd_mach_o_scan_read_symtab_symbols): Add prototype. + (bfd_mach_o_version): Use bfd_mach_o_get_data instead of direct access. + (bfd_mach_o_valid): Ditto. + (bfd_mach_o_wide_p): Ditto. + (bfd_mach_o_canonicalize_reloc): Ditto. + (bfd_mach_o_build_commands): Ditto. + (bfd_mach_o_scan_read_thread): Ditto. + (bfd_mach_o_flatten_sections): Ditto. + (bfd_mach_o_scan_start_address): Ditto. + (bfd_mach_o_lookup_section): Ditto. + (bfd_mach_o_core_fetch_environment): Ditto. + (bfd_mach_o_write_contents): Ditto. Handle reexport_dylib. + (bfd_mach_o_scan_write_relocs): Adjust for bfd_mach_o_get_data. + (bfd_mach_o_scan_write_symtab): Ditto. + Use macros instead of hard-coded values. + (bfd_mach_o_scan_read_symtab_symbol): Make the function static. + Use bfd_mach_o_get_data instead of direct access. Use macros + instead of hard-coded values. + (bfd_mach_o_scan_read_symtab_strtab): Make the function static. + Remove sym argument and get section from mdata. + Move code into the else branch. + (bfd_mach_o_scan_read_symtab_symbols): Make the function static. + Remove sym argument and get section from mdata. Adjust code. + (bfd_mach_o_scan_read_dylib): Move assertion into the created + switch (which replaces consecutive if statements). + (bfd_mach_o_scan_read_dysymtab): Rename seg to cmd. Load + module table, table of content, indirect symbols and external + referenced symbols. + (bfd_mach_o_scan_read_symtab): Renames seg to symtab. Set symtab + field. + (bfd_mach_o_scan_read_linkedit): New function. + (bfd_mach_o_scan_read_str): Ditto. + (bfd_mach_o_count_symbols): Simplify the code by using the symtab + field of mdata. + (bfd_mach_o_get_symtab_upper_bound): Remove check as + bfd_mach_o_count_symbols never returns an error. + (bfd_mach_o_canonicalize_symtab): Simplify the code by using the + symtab field (there might be only one symtab). + (bfd_mach_o_scan_read_command): Handle reexported dylib. + Handle sub frameworks, sub umbrella, sub library and sub client. + Read code signature and segment split info commands. + (bfd_mach_o_scan): Reindent. + (bfd_mach_o_xlat_name): New type. + (bfd_mach_o_print_flags): New function. + (bfd_mach_o_get_name): Ditto. + (bfd_mach_o_cpu_name): New variable. + (bfd_mach_o_filetype_name, bfd_mach_o_header_flags_name) + (bfd_mach_o_section_type_name) + (bfd_mach_o_section_attribute_name) + (bfd_mach_o_load_command_name): New variables. + (bfd_mach_o_print_private_header): New function. + (bfd_mach_o_print_section_map): New function extracted from + bfd_mach_o_print_private_bfd_data. + (bfd_mach_o_print_section): Ditto. Print more infos. + (bfd_mach_o_print_segment): Ditto. + (bfd_mach_o_print_dysymtab): Ditto. + (bfd_mach_o_bfd_print_private_bfd_data): Reworked. Handle + load weak dylib, reexport dylib and id dylib. + Handle code signature and segment_split info. + Handle sub frameworks, sub umbrella, sub library and sub client. + (bfd_mach_o_section_get_nbr_indirect): New function. + + * mach-o.h (BFD_MACH_O_REFERENCE_MASK): New macro. Add comment. + (bfd_mach_o_header_flags): New enum to define header flags. + (bfd_mach_o_section_attribute): New enum to replace ... + (BFD_MACH_O_S_ATTR_LOC_RELOC, BFD_MACH_O_S_ATTR_EXT_RELOC, + BFD_MACH_O_S_ATTR_SOME_INSTRUCTIONS, BFD_MACH_O_S_ATTR_DEBUG, + BFD_MACH_O_S_SELF_MODIFYING_CODE, BFD_MACH_O_S_ATTR_LIVE_SUPPORT, + BFD_MACH_O_S_ATTR_NO_DEAD_STRIP, BFD_MACH_O_S_ATTR_STRIP_STATIC_SYMS, + BFD_MACH_O_S_ATTR_NO_TOC, BFD_MACH_O_S_ATTR_PURE_INSTRUCTIONS): ... + these removed macros. + (BFD_MACH_O_NLIST_SIZE, BFD_MACH_O_NLIST_64_SIZE): New macros. + (bfd_mach_o_dylib_module): New type. + (BFD_MACH_O_DYLIB_MODULE_SIZE, BFD_MACH_O_DYLIB_MODULE_64_SIZE): New + macros. + (bfd_mach_o_dylib_table_of_content): New type. + (BFD_MACH_O_TABLE_OF_CONTENT_SIZE): New macro. + (bfd_mach_o_dylib_reference): New type. + (BFD_MACH_O_REFERENCE_SIZE): New macro. + (bfd_mach_o_dysymtab_command): Add fields for loaded and decoded + modules, toc, references and indirect syms. + (BFD_MACH_O_INDIRECT_SYMBOL_SIZE): New macro. + (bfd_mach_o_dylinker_command): Remove cmd and cmdsize fields (were + unused). Add comment. + (bfd_mach_o_dylib_command): Ditto. + (bfd_mach_o_prebound_dylib_command): Ditto. + (bfd_mach_o_linkedit_command): New type. + (bfd_mach_o_str_command): New type. + (bfd_mach_o_load_command): Add linkedit and str fields. + (mach_o_data_struct): Add symtab field. + (bfd_get_mach_o_data): Renamed to ... + (bfd_mach_o_get_data): ... this new macro. + (bfd_mach_o_scan_read_symtab_symbol, + bfd_mach_o_scan_read_symtab_strtab, + bfd_mach_o_scan_read_symtab_symbols): Prototypes removed. + + * mach-o-i386.c (bfd_mach_o_i386_mkobject): Use bfd_mach_o_get_data + instead of direct access. + +2009-06-19 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (ppc_elf_check_relocs): Allow local symbols for + R_PPC_PLTREL24 relocs. + (ppc_elf_relocate_section): Likewise. + +2009-06-19 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (find_plt_ent): Pass pointer to plist rather than + pointer to sym hash. Update all uses. + (update_plt_info): Likewise. Don't check addend here. + +2009-06-18 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c (elf_i386_check_relocs): Remove isymbuf and use + bfd_sym_from_r_symndx. + * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise. + +2009-06-18 Alan Modra <amodra@bigpond.net.au> + + * elf-bfd.h (struct sym_sec_cache): Delete. + (struct sym_cache): New. + (bfd_section_from_r_symndx): Delete prototype. + (bfd_sym_from_r_symndx): Define prototype. + * elf.c (bfd_section_from_r_symndx): Delete, replace with.. + (bfd_sym_from_r_symndx): ..new function. + * elf32-arm.c: Update all uses of struct sym_sec_cache and + bfd_section_from_r_symndx to new struct and function. + * elf32-bfin.c: Likewise. + * elf32-hppa.c: Likewise. + * elf32-i386.c: Likewise. + * elf32-m32r.c: Likewise. + * elf32-m68hc1x.c: Likewise. + * elf32-m68hc1x.h: Likewise. + * elf32-m68k.c: Likewise. + * elf32-ppc.c: Likewise. + * elf32-s390.c: Likewise. + * elf32-sh.c: Likewise. + * elf64-ppc.c: Likewise. + * elf64-s390.c: Likewise. + * elf64-x86-64.c: Likewise. + * elfxx-sparc.c: Likewise. + * elfxx-sparc.h: Likewise. + +2009-06-18 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c (elf_i386_check_relocs): Cache or free isymbuf. + * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise. + +2009-06-18 Nick Clifton <nickc@redhat.com> + + * elflink.c (elf_link_sort_relocs): Return early if there are no + relocs to sort. + +2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com> + + Merge cegcc and mingw32ce target name changes from + CeGCC project: + + 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt> + + * config.bfd: Add arm*-*-cegcc* target. + + 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt> + + * config.bfd: Add arm-*-mingw32ce* target. + +2009-06-17 H.J. Lu <hongjiu.lu@intel.com> + + * elf-bfd.h (_bfd_elf_allocate_ifunc_dyn_relocs): New. + * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Likewise. + * elf32-i386.c (elf_i386_allocate_dynrelocs): Use it. + * elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Likewise. + +2009-06-17 H.J. Lu <hongjiu.lu@intel.com> + + * elf-bfd.h (_bfd_elf_create_ifunc_dyn_reloc): New. + * elf-ifunc.c (_bfd_elf_create_ifunc_dyn_reloc): Likewise. + * elf32-i386.c (elf_i386_check_relocs): Use it. + * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise. + +2009-06-17 H.J. Lu <hongjiu.lu@intel.com> + + * elf-bfd.h (elf_dyn_relocs): New. + + * elf32-i386.c (elf_i386_dyn_relocs): Removed. + (elf_i386_link_hash_entry): Replace elf_i386_dyn_relocs with + elf_dyn_relocs. + (elf_i386_copy_indirect_symbol): Likewise. + (elf_i386_check_relocs): Likewise. + (elf_i386_gc_sweep_hook): Likewise. + (elf_i386_allocate_dynrelocs): Likewise. + (elf_i386_readonly_dynrelocs): Likewise. + (elf_i386_size_dynamic_sections): Likewise. + + * elf64-x86-64.c (elf64_x86_64_dyn_relocs): Removed. + (elf64_x86_64_link_hash_entry): Replace elf64_x86_64_dyn_relocs + with elf_dyn_relocs. + (elf64_x86_64_copy_indirect_symbol): Updated. + (elf64_x86_64_check_relocs): Likewise. + (elf64_x86_64_gc_sweep_hook): Likewise. + (elf64_x86_64_adjust_dynamic_symbol): Likewise. + (elf64_x86_64_allocate_dynrelocs): Likewise. + (elf64_x86_64_readonly_dynrelocs): Likewise. + (elf64_x86_64_size_dynamic_sections): Likewise. + +2009-06-17 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-arm.c (create_got_section): Get existing .rela.got + section. + * elf32-hppa.c (elf32_hppa_create_dynamic_sections): Likewise. + * elf32-lm32.c (create_got_section): Likewise. + * elf32-m32r.c (create_got_section): Likewise. + * elf32-ppc.c (ppc_elf_create_got): Likewise. + * elf32-s390.c (create_got_section): Likewise. + * elf32-sh.c (create_got_section): Likewise. + * elf32-xtensa.c (elf_xtensa_create_dynamic_sections): Likewise. + * elf64-s390.c (create_got_section): Likewise. + * elfxx-sparc.c (create_got_section): Likewise. + + * elflink.c (_bfd_elf_create_got_section): Properly initialize + the GOT size. + +2009-06-16 H.J. Lu <hongjiu.lu@intel.com> + + * elf-bfd.h (ELF_LOCAL_SYMBOL_HASH): New. + + * elf32-i386.c (elf_i386_local_hash): Removed. + (elf_i386_local_htab_hash): Use ELF_LOCAL_SYMBOL_HASH. + (elf_i386_get_local_sym_hash): Likewise. + + * elf64-x86-64.c (elf64_x86_64_local_hash): Removed. + (elf64_x86_64_local_htab_hash): Use ELF_LOCAL_SYMBOL_HASH. + (elf64_x86_64_get_local_sym_hash): Likewise. + * elfxx-ia64.c (elfNN_ia64_local_htab_hash): Likewise. + (get_local_sym_hash): Likewise. + +2009-06-16 H.J. Lu <hongjiu.lu@intel.com> + + * elfxx-ia64.c (elfNN_ia64_link_hash_table): Remove got_sec, + rel_got_sec and plt_sec. + (elfNN_ia64_relax_section): Updated. + (elfNN_ia64_create_dynamic_sections): Likewise. + (get_got): Likewise. + (allocate_dynrel_entries): Likewise. + (elfNN_ia64_size_dynamic_sections): Likewise. + (set_got_entry): Likewise. + (elfNN_ia64_choose_gp): Likewise. + (elfNN_ia64_relocate_section): Likewise. + (elfNN_ia64_finish_dynamic_symbol): Likewise. + (elfNN_ia64_finish_dynamic_sections): Likewise. + +2009-06-16 Ulrich Weigand <uweigand@de.ibm.com> + + * elf32-spu.c (needs_ovl_stub): Respect .brinfo lrlive bits + also for calls. + +2009-06-16 H.J. Lu <hongjiu.lu@intel.com> + + * configure.in (elf): Add elf-ifunc.lo. + + * configure: Regenerated. + * Makefile.in: Likewise. + + * elf-bfd.h (elf_link_hash_table): Add sgot, sgotplt, + srelgot, splt, srelplt, igotplt, iplt, irelplt and irelifunc. + + * elf32-i386.c (elf_i386_link_hash_table): Remove sgot, + sgotplt, srelgot, splt, srelplt, igotplt, iplt, irelplt and + irelifunc. + (elf_i386_link_hash_table_create): Likewise. + (elf_i386_create_dynamic_sections): Likewise. + (elf_i386_check_relocs): Likewise. + (elf_i386_allocate_dynrelocs): Likewise. + (elf_i386_size_dynamic_sections): Likewise. + (elf_i386_relocate_section): Likewise. + (elf_i386_finish_dynamic_symbol): Likewise. + (elf_i386_finish_dynamic_sections): Likewise. + (elf_i386_create_got_section): Removed. + + * elf64-x86-64.c (elf64_x86_64_link_hash_table): Remove sgot, + sgotplt, srelgot, splt, srelplt, igotplt, iplt, irelplt and + irelifunc. + (elf64_x86_64_compute_jump_table_size): Updated. + (elf64_x86_64_link_hash_table_create): Likewise. + (elf64_x86_64_create_dynamic_sections): Likewise. + (elf64_x86_64_check_relocs): Likewise. + (elf64_x86_64_allocate_dynrelocs): Likewise. + (elf64_x86_64_size_dynamic_sections): Likewise. + (elf64_x86_64_relocate_section): Likewise. + (elf64_x86_64_finish_dynamic_symbol): Likewise. + (elf64_x86_64_finish_dynamic_sections): Likewise. + (elf64_x86_64_create_got_section): Removed. + + * elflink.c (_bfd_elf_create_got_section): Use log_file_align + for pointer alignment. Set up section pointers. + (_bfd_elf_create_dynamic_sections): Likewise. + (_bfd_elf_create_ifunc_sections): Moved to ... + * elf-ifunc.c: Here. New. + + * Makefile.am (BFD32_BACKENDS): Add elf-ifunc.lo. + (BFD32_BACKENDS_CFILES): Add elf-ifunc.c. + Run "make dep-am". + +2009-06-16 Doug Kwan <dougkwan@google.com> + + * elf32-arm.c (cortex_a8_erratum_scan): Change type of offset + to bfd_signed_vma. Cast constant operands which are used in + offset related expressions to bfd_signed_vma type as appropriate. + +2009-06-16 Maciej W. Rozycki <macro@linux-mips.org> + + * elf32-vax.c (elf_vax_plt_sym_val): New function. + (elf_backend_plt_sym_val): Define. + +2009-06-16 Maciej W. Rozycki <macro@linux-mips.org> + + * elf32-vax.c (elf_vax_reloc_type_class): New function. + (elf_backend_reloc_type_class): Define. + +2009-06-16 Maciej W. Rozycki <macro@linux-mips.org> + + * elf32-vax.c (elf_vax_relocate_section): For symbol references + from an executable to a shared library treat R_VAX_PC32 + relocations as R_VAX_PLT32 ones. + +2009-06-16 Maciej W. Rozycki <macro@linux-mips.org> + + * elf32-vax.c (elf_vax_instantiate_got_entries): Skip local + symbols in GOT space calculation. + (elf_vax_relocate_section): Adjust accordingly. + +2009-06-16 Maciej W. Rozycki <macro@linux-mips.org> + + * elf32-vax.c (elf_vax_plt_entry): Set the entry mask to + include <R11:R2>. + +2009-06-16 Maciej W. Rozycki <macro@linux-mips.org> + + * elf32-vax.c (elf_vax_check_relocs): Handle the visibility + attribute. + (elf_vax_relocate_section): Likewise. + +2009-06-15 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c (elf_i386_allocate_dynrelocs): Update comments. + * elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Likewise. + +2009-06-15 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c (elf_i386_check_relocs): Reformat. + * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise. + +2009-06-15 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerated. + +2009-06-15 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c (elf_i386_allocate_dynrelocs): Fix a typo. + * elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Likewise. + +2009-06-15 Nick Clifton <nickc@redhat.com> + + * po/ru.po: New Russian translation. + * configure.in (ALL_LINGUAS): Add ru. + * configure: Regenerate. + +2009-06-14 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c: Remove duplicated comments. + +2009-06-14 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/10270 + * elf32-i386.c (elf_i386_allocate_dynrelocs): Disallow + dynamic IFUNC pointer in non-shared object. Use .got.plt + for IFUNC definition in PIE. + (elf_i386_allocate_dynrelocs): Resolve IFUNC definition in + PIE locally. + + * elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Disallow + dynamic IFUNC pointer in non-shared object. Use .got.plt + for IFUNC definition in PIE. + (elf64_x86_64_relocate_section): Resolve IFUNC definition in + PIE locally. + +2009-06-13 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c (elf_i386_check_relocs): Properly report + local symbol for unhandled relocation against STT_GNU_IFUNC + symbol. + (elf_i386_relocate_section): Likewise. + * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise. + (elf64_x86_64_relocate_section): Likewise. + +2009-06-13 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/10269 + * elf32-i386.c: Include "objalloc.h" and "hashtab.h". + (elf_i386_link_hash_table): Add loc_hash_table and + loc_hash_memory. + (elf_i386_local_hash): New. + (elf_i386_local_htab_hash): Likewise. + (elf_i386_local_htab_eq): Likewise. + (elf_i386_get_local_sym_hash): Likewise. + (elf_i386_link_hash_table_free): Likewise. + (elf_i386_allocate_local_dynrelocs): Likewise. + (elf_i386_finish_local_dynamic_symbol): Likewise. + (bfd_elf64_bfd_link_hash_table_free): Likewise. + (elf_i386_link_hash_table_create): Create loc_hash_table and + loc_hash_memory. + (elf_i386_check_relocs): Handle local STT_GNU_IFUNC symbols. + (elf_i386_size_dynamic_sections): Likewise. + (elf_i386_relocate_section): Likewise. + (elf_i386_finish_dynamic_sections): Likewise. + (elf_i386_finish_dynamic_symbol): Check _DYNAMIC only if sym + isn't NULL. + + * elf64-x86-64.c: Include "objalloc.h" and "hashtab.h". + (elf64_x86_64_link_hash_table): Add loc_hash_table and + loc_hash_memory. + (elf64_x86_64_local_hash): New. + (elf64_x86_64_local_htab_hash): Likewise. + (elf64_x86_64_local_htab_eq): Likewise. + (elf64_x86_64_get_local_sym_hash): Likewise. + (elf64_x86_64_link_hash_table_free): Likewise. + (elf64_x86_64_allocate_local_dynrelocs): Likewise. + (elf64_x86_64_finish_local_dynamic_symbol): Likewise. + (bfd_elf64_bfd_link_hash_table_free): Likewise. + (elf64_x86_64_link_hash_table_create): Create loc_hash_table + and loc_hash_memory. + (elf64_x86_64_check_relocs): Handle local STT_GNU_IFUNC + symbols. + (elf64_x86_64_size_dynamic_sections): Likewise. + (elf64_x86_64_relocate_section): Likewise. + (elf64_x86_64_finish_dynamic_sections): Likewise. + (elf64_x86_64_finish_dynamic_symbol): Check _DYNAMIC only if + sym isn't NULL. + +2009-06-10 Philip Blundell <philb@gnu.org> + + * elf32-arm.c (elf32_arm_fix_exidx_coverage): Avoid crash if + elf_sec->this_hdr == NULL. + +2009-06-12 Tristan Gingold <gingold@adacore.com> + + * reloc.c: Add BFD_RELOC_MACH_O_SECTDIFF and BFD_RELOC_MACH_O_PAIR. + * bfd-in2.h: Regenerated. + * libbfd.h: Regenerated. + + * mach-o.c (FILE_ALIGN): New macro. + (bfd_mach_o_canonicalize_symtab): Adjust for bfd_mach_o_asymbol. + (bfd_mach_o_print_symbol): Ditto. + (bfd_mach_o_scan_write_thread): Adjust type of variable offset. + (bfd_mach_o_get_reloc_upper_bound): New function. + (bfd_mach_o_canonicalize_reloc): Ditto. + (bfd_mach_o_scan_write_relocs): Ditto. + (bfd_mach_o_scan_write_section_32): Remove offset argument. + (bfd_mach_o_scan_write_section_64): Ditto. + (bfd_mach_o_scan_write_segment_32): Write relocs. Fix size of data + written for load command. Do not compute section file offset. + (bfd_mach_o_scan_write_segment_64): Ditto. + (bfd_mach_o_scan_write_symtab): Compute file offset first. + Adjust for bfd_mach_o_asymbol. Move code to convert from BFD to + Mach-O to ... + (bfd_mach_o_mangle_symbols): ... this new function. + (bfd_mach_o_write_contents): Be sure to have load commands built. + Call bfd_mach_o_mangle_symbols. + (bfd_mach_o_build_commands): Adjust for filelen field. + Use FILE_ALIGN macro. Clear section file offset if section is empty. + Do not set symtab file offset anymore here. + (bfd_mach_o_make_empty_symbol): Allocate a bfd_mach_o_asymbol. + (bfd_mach_o_make_bfd_section): Set SEC_RELOC if has reloc. + Set reloc_count and rel_filepos section fields. + (bfd_mach_o_scan_read_section_32): Type of argument offset is now + unsigned int. + (bfd_mach_o_scan_read_section_64): Ditto. + (bfd_mach_o_scan_read_section): Ditto. + (bfd_mach_o_scan_read_symtab_symbol): Typr of argument s is now + bfd_mach_o_asymbol. Use unsigned int for file offset type. + (bfd_mach_o_scan_read_symtab_symbol): Adjust for bfd_mach_o_asymbol. + Handle weak-ref symbols. + (bfd_mach_o_scan_read_symtab_symbols): Adjust for bfd_mach_o_asymbol. + (bfd_mach_o_scan_read_dysymtab_symbol): Ditto. + (bfd_mach_o_scan): Remove assignment to removed field. + (bfd_mach_o_mkobject_init): Ditto. + (bfd_mach_o_bfd_print_private_bfd_data): Adjust printf formatter. + (bfd_mach_o_bfd_reloc_type_lookup): New macro. + (bfd_mach_o_bfd_reloc_name_lookup): Ditto. + (bfd_mach_o_swap_reloc_in): Ditto. + (bfd_mach_o_swap_reloc_out): Ditto. + + * mach-o.h (BFD_MACH_O_REFERENCE_FLAG_UNDEFINED_NON_LAZY) + (BFD_MACH_O_REFERENCE_FLAG_UNDEFINED_LAZY) + (BFD_MACH_O_REFERENCE_FLAG_DEFINED) + (BFD_MACH_O_REFERENCE_FLAG_PRIVATE_DEFINED) + (BFD_MACH_O_REFERENCE_FLAG_PRIVATE_UNDEFINED_NON_LAZY) + (BFD_MACH_O_REFERENCE_FLAG_PRIVATE_UNDEFINED_LAZY) + (BFD_MACH_O_REFERENCED_DYNAMICALLY, BFD_MACH_O_N_DESC_DISCARDED) + (BFD_MACH_O_N_NO_DEAD_STRIP, BFD_MACH_O_N_WEAK_REF) + (BFD_MACH_O_N_WEAK_DEF): New macros. + Add comments. + (bfd_mach_o_section_type): Add new enumeration values. + (BFD_MACH_O_S_SELF_MODIFYING_CODE) + (BFD_MACH_O_S_ATTR_LIVE_SUPPORT) + (BFD_MACH_O_S_ATTR_NO_DEAD_STRIP) + (BFD_MACH_O_S_ATTR_STRIP_STATIC_SYMS, BFD_MACH_O_S_ATTR_NO_TOC): New + macros. + (BFD_MACH_O_GENERIC_RELOC_VANILLA) + (BFD_MACH_O_GENERIC_RELOC_PAIR) + (BFD_MACH_O_GENERIC_RELOC_SECTDIFF) + (BFD_MACH_O_GENERIC_RELOC_PB_LA_PTR) + (BFD_MACH_O_GENERIC_RELOC_LOCAL_SECTDIFF): Ditto. + (BFD_MACH_O_RELENT_SIZE): Ditto. + (BFD_MACH_O_R_PCREL, BFD_MACH_O_GET_R_LENGTH) + (BFD_MACH_O_R_EXTERN, BFD_MACH_O_GET_R_TYPE) + (BFD_MACH_O_GET_R_SYMBOLNUM, BFD_MACH_O_SET_R_LENGTH) + (BFD_MACH_O_SET_R_TYPE, BFD_MACH_O_SET_R_SYMBOLNUM): Ditto. + (BFD_MACH_O_SR_SCATTERED, BFD_MACH_O_SR_PCREL) + (BFD_MACH_O_GET_SR_LENGTH, BFD_MACH_O_GET_SR_TYPE) + (BFD_MACH_O_GET_SR_ADDRESS, BFD_MACH_O_SET_SR_LENGTH) + (BFD_MACH_O_SET_SR_TYPE, BFD_MACH_O_SET_SR_ADDRESS): Ditto. + (bfd_mach_o_reloc_info): New struct. + (bfd_mach_o_asymbol): New struct. + (bfd_mach_o_symtab_command): The symbols field is now of type + bfd_mach_o_asymbol. + (bfd_mach_o_load_command): The offset and len fields are now of type + unsigned int. + (mach_o_data_struct): Remove symbols, nsymbols and ibfd fields. + Add a filelen field. Add comments. + (bfd_mach_o_backend_data): New struct. + (bfd_mach_o_get_backend_data): New macro. + (bfd_mach_o_scan_read_symtab_symbol): Parameter symbol now of type + bfd_mach_o_asymbol. + (bfd_mach_o_scan_read_dysymtab_symbol): Ditto. + (bfd_mach_o_get_reloc_upper_bound): New prototype. + (bfd_mach_o_canonicalize_reloc): Ditto. + + * mach-o-target.c (bfd_mach_o_bfd_is_local_label_name): Remove + duplicated macro. Now defined to _bfd_generic_is_local_label. + (TARGET_NAME_BACKEND): New macro... + (TARGET_NAME_BACKEND): ... used to name a new variable. + (TARGET_NAME): Define relocs table using bfd_mach_o, reference + Mach-O backend data. + + * mach-o-i386.c (i386_howto_table): New variable. + (bfd_mach_o_i386_swap_reloc_in): New function. + (bfd_mach_o_i386_swap_reloc_out): Ditto. + (bfd_mach_o_i386_bfd_reloc_type_lookup): Ditto. + (bfd_mach_o_i386_bfd_reloc_name_lookup): Ditto. + (bfd_mach_o_swap_reloc_in, bfd_mach_o_swap_reloc_out): New macros. + (bfd_mach_o_bfd_reloc_type_lookup) + (bfd_mach_o_bfd_reloc_name_lookup): Ditto. + +2009-06-11 Eric Paris <eparis@redhat.com> + Nick Clifton <nickc@redhat.com> + + * opncls.c (_maybe_make_executable): New function. Gives execute + permission to an executable bfd that was opened for writing + provided that it is a regular file. Replaces common code found in... + (bfd_close): here and ... + (bfd_close_all_done): here. + +2009-06-11 Anthony Green <green@moxielogic.com> + + * reloc.c: Add BFD_RELOC_MOXIE_10_PCREL. + * bfd-in2.h: Rebuilt. + * libbfd.h: Rebuilt. + * elf32-moxie.c (moxie_elf_howto_table): Add R_MOXIE_PCREL10 + relocation support. + (moxie_reloc_map): Ditto. + Clean up copyright notice. + +2009-06-10 Paul Pluzhnikov <ppluzhnikov@google.com> + + * bfd-in2.h: bfd_mmap prototype. + * bfdio.c (bfd_mmap): New function. + * libbfd.h (bfd_iovec): Add bmmap. + * cache.c (cache_bmmap): New function. + (cache_iovec): Initialize bmmap member. + * opencls.c (opncls_bmmap): New function. + (opncls_iovec): Initialize bmmap member. + +2009-06-09 Tristan Gingold <gingold@adacore.com> + + * mach-o.h (bfd_mach_o_symtab_command): Remove stabs_segment + and stabstr_segment fields. + (mach_o_be_vec, mach_o_le_vec): Removed + (bfd_mach_o_version): New prototype. + + * mach-o.c (bfd_mach_o_version): Make this function public. + (mach_o_wide_p): New function. + (bfd_mach_o_wide_p): Ditto. + (bfd_mach_o_convert_section_name_to_bfd): Add prefix only for + weird names. + (bfd_mach_o_convert_section_name_to_mach_o): Fix typo in comment. + Search in the list only if the name starts with a dot. + (bfd_mach_o_write_header): Use mach_o_wide_p instead of hard-coded + test. Check bfd_seek status. + (bfd_mach_o_scan_write_thread): Check bfd_seek status. + (bfd_mach_o_scan_write_section_32): Ditto. + (bfd_mach_o_scan_write_section_64): Ditto. + (bfd_mach_o_scan_write_section): Removed. + (bfd_mach_o_scan_write_segment): Split into ... + (bfd_mach_o_scan_write_segment_32): ... this and ... + (bfd_mach_o_scan_write_segment_64): ... this. Check bfd_seek status. + (bfd_mach_o_scan_write_symtab_symbols): Moved into ... + (bfd_mach_o_scan_write_symtab): ... this. Write symtab from BFD + symbol table. Now returns a boolean. + (bfd_mach_o_write_contents): Set filetype. Check bfd_seek status. + Adjust for status type. + (bfd_mach_o_build_commands): Use mach_o_wide_p instead of hard-coded + test. Write symbol table. Numbers the sections. + (bfd_mach_o_read_header): Check bfd_seek status. + Use mach_o_wide_p instead of hard-coded test. + (bfd_mach_o_scan_read_section_32): Check bfd_seek status. + (bfd_mach_o_scan_read_section_64): Ditto. + (bfd_mach_o_scan_read_symtab_symbol): Ditto. Check bfd_seek status. + Use BFD_MACH_O_N_TYPE instead of hard-coded value. Correctly + handled common symbols. + (bfd_mach_o_scan_read_symtab_strtab): Check bfd_seek status. + (bfd_mach_o_scan_read_dysymtab_symbol): Ditto. + (bfd_mach_o_scan_read_dylinker): Ditto. + (bfd_mach_o_scan_read_dylib): Ditto. + (bfd_mach_o_scan_read_thread): Ditto. + (bfd_mach_o_scan_read_symtab): Ditto. + Do not create a section for the stabs. + (bfd_mach_o_scan_read_uuid): Check bfd_seek status. + (bfd_mach_o_scan_read_segment): Ditto. + (bfd_mach_o_scan_read_command): Ditto. + (bfd_mach_o_scan_start_address): Ditto. + (bfd_mach_o_scan): Use mach_o_wide_p instead of hard-coded test. + (bfd_mach_o_archive_p): Check bfd_seek status. + (bfd_mach_o_core_fetch_environment): Ditto. + + * mach-o-i386.c (bfd_mach_o_i386_mkobject): Don't set filetype. + +2009-06-06 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c (elf_i386_link_hash_table): Add irelifunc. + (elf_i386_link_hash_table_create): Initialize irelifunc. + (elf_i386_check_relocs): Updated. Set up irelifunc for + shared objects. + (elf_i386_allocate_dynrelocs): Use irelifunc for dynamic + relocation for non-GOT reference of STT_GNU_IFUNC symbol in + shared objects. + (elf_i386_relocate_section): Likewise. + + * elf64-x86-64.c (elf64_x86_64_link_hash_table): Add irelifunc. + (elf64_x86_64_link_hash_table_create): Initialize irelifunc. + (elf64_x86_64_check_relocs): Updated. Set up irelifunc for + shared objects. + (elf64_x86_64_allocate_dynrelocs): Use irelifunc for dynamic + relocation for non-GOT reference of STT_GNU_IFUNC symbol in + shared objects. + (elf64_x86_64_relocate_section): Likewise. + + * elf-bfd.h (_bfd_elf_create_static_ifunc_sections): Renamed to + ... + (_bfd_elf_create_ifunc_sections): This. + + * elflink.c (_bfd_elf_create_static_ifunc_sections): Renamed to + ... + (_bfd_elf_create_ifunc_sections): This. Create .rel[a].ifunc + for shared objects. + +2009-06-06 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c (elf_i386_check_relocs): Make room for dynamic + relocation for R_386_32 against STT_GNU_IFUNC symbol when + building shared object. Check info->executable instead of + !info->shared when setting non_got_ref. + (elf_i386_allocate_dynrelocs): Allocate dynamic relocation + for non-GOT reference of STT_GNU_IFUNC symbol in shared + object. Allocate GOT relocation agsinst STT_GNU_IFUNC + symbol if needed. + (elf_i386_relocate_section): Output dynamic relocation for + R_386_32 against STT_GNU_IFUNC symbol to get the real + function address when building shared object. + (elf_i386_finish_dynamic_symbol): Output R_386_GLOB_DAT + relocation for STT_GNU_IFUNC symbol in shared object. + + * elf64-x86-64.c (elf64_x86_64_check_relocs): Make room for + dynamic relocation for R_X86_64_64 against STT_GNU_IFUNC + symbol when building shared object. Check info->executable + instead of !info->shared when setting non_got_ref. + (elf64_x86_64_allocate_dynrelocs): Allocate dynamic relocation + for non-GOT reference of STT_GNU_IFUNC symbol in shared + library. Allocate GOT relocation agsinst STT_GNU_IFUNC symbol + if needed. + (elf64_x86_64_relocate_section): Output dynamic relocation + for R_X86_64_64 against STT_GNU_IFUNC symbol to get the real + function address when building shared object. + (elf64_x86_64_finish_dynamic_symbol): Output R_X86_64_GLOB_DAT + relocation for STT_GNU_IFUNC symbol in shared object. + +2009-06-06 Jan Kratochvil <jan.kratochvil@redhat.com> + + * Makefile.am: Run "make dep-am". + (BFD32_BACKENDS): Add mach-o-i386.lo. + (BFD32_BACKENDS_CFILES): Add mach-o-i386.c. + * Makefile.in: Regenerate. + +2009-06-06 Alan Modra <amodra@bigpond.net.au> + + * elf32-spu.c (spu_elf_relocate_section): Match overlay number + when looking for soft-icache stubs. + +2009-06-05 Tristan Gingold <gingold@adacore.com> + + * mach-o.h: Update copyright year. + (bfd_mach_o_mach_header_magic): New enum. + (bfd_mach_o_cpu_subtype): Now an enum. + (BFD_MACH_O_HEADER_SIZE, BFD_MACH_O_HEADER_64_SIZE): New macros. + (BFD_MACH_O_SECTION_SIZE, BFD_MACH_O_SECTION_64_SIZE): Ditto. + (BFD_MACH_O_LC_SEGMENT_SIZE, BFD_MACH_O_LC_SEGMENT_64_SIZE): Ditto. + (bfd_mach_o_load_command): Field type_required is now a boolean. + Reindent prototypes. + (bfd_mach_o_object_p, bfd_mach_o_core_p): Remove. + (bfd_mach_o_bfd_copy_private_symbol_data): Add a prototype. + (bfd_mach_o_bfd_copy_private_section_data): Ditto. + (bfd_mach_o_bfd_copy_private_bfd_data): Ditto. + (bfd_mach_o_get_symtab_upper_bound): Ditto. + (bfd_mach_o_canonicalize_symtab): Ditto. + (bfd_mach_o_get_symbol_info): Ditto. + (bfd_mach_o_print_symbol): Ditto. + (bfd_mach_o_bfd_print_private_bfd_data): Ditto. + (bfd_mach_o_make_empty_symbol): Ditto. + (bfd_mach_o_write_contents): Ditto. + + * mach-o.c (bfd_mach_o_object_p, bfd_mach_o_core_p, + bfd_mach_o_mkobject): Defines. + (bfd_mach_o_valid): Returns FALSE/TRUE instead of 0/1. + Do not check with target vector but with flavour. + (struct mach_o_section_name_xlat): New declaration. + (dwarf_section_names_xlat): Ditto. + (text_section_names_xlat): Ditto. + (data_section_names_xlat): Ditto. + (struct mach_o_segment_name_xlat): Ditto. + (segsec_names_xlat): Ditto. + (bfd_mach_o_convert_section_name_to_bfd): New function. + (bfd_mach_o_convert_section_name_to_mach_o): Ditto. + (bfd_mach_o_bfd_copy_private_symbol_data): Make it public. + (bfd_mach_o_bfd_copy_private_section_data): Ditto. + (bfd_mach_o_bfd_copy_private_bfd_data): Ditto. + Accept any input and output flavour. Do not share private data + anymore. + (bfd_mach_o_count_symbols): Add a comment. + (bfd_mach_o_get_symtab_upper_bound): Make it public. + (bfd_mach_o_canonicalize_symtab): Ditto. + (bfd_mach_o_get_symbol_info): Ditto. + (bfd_mach_o_print_symbol): Ditto. + (bfd_mach_o_write_header): Now returns a boolean instead of an int. + Use constants instead of hard-coded values. + (bfd_mach_o_scan_write_section_32): Use constants instead of hard-coded + values. + (bfd_mach_o_scan_write_section_64): Ditto. + (bfd_mach_o_scan_write_segment): Ditto. + Do not copy sections anymore. + (bfd_mach_o_write_contents): Make it public. + Remove dead code. Rewrite typeflag assignment. + (bfd_mach_o_build_commands): New function. + (bfd_mach_o_set_section_contents): Ditto. + (bfd_mach_o_make_empty_symbol): Make it public. + (bfd_mach_o_read_header): Make it static. + Convert to bfd_boolean. + Use constants instead of hard-coded values. + (bfd_mach_o_make_bfd_section): Call + bfd_mach_o_convert_section_name_to_bfd to create name. + (bfd_mach_o_scan_read_section_32): Use constants instead of hard-coded + values. + (bfd_mach_o_scan_read_section_64): Ditto. + (bfd_mach_o_scan_read_segment): Do not create a bfd section for + a segment anymore. Use constants instead of hard-coded values. + (bfd_mach_o_scan_read_command): Fix style. + (bfd_mach_o_scan): Use constants instead of hard-coded values. + Get rid of BFD_IO_FUNCS. + (bfd_mach_o_mkobject_init): Renamed from bfd_mach_o_mkobject. + (bfd_mach_o_header_p): Created from bfd_mach_o_object_p. + (bfd_mach_o_gen_object_p): New function, replaces bfd_mach_o_object_p. + (bfd_mach_o_object_p): Removed. + (bfd_mach_o_gen_core_p): New function, replaces ... + (bfd_mach_o_core_p): ... deleted. + (bfd_mach_o_bfd_print_private_bfd_data): Make it public. + + * mach-o-i386.c: New file. + * config.bfd: Use mach_o_i386_vec as targ_defvec for ix86-darwin. + * configure.in (TDEFINES): Add mach_o_i386_vec. + * configure: Regenerated. + * targets.c: Add mach_o_i386_vec. + + * mach-o.c: Update copyright years. + (BFD_IO_FUNCS): Remove (was not used). + (bfd_mach_o_mkarchive, bfd_mach_o_read_ar_hdr, bfd_mach_o_slurp_armap + bfd_mach_o_slurp_extended_name_table, + bfd_mach_o_construct_extended_name_table, + bfd_mach_o_truncate_arname, bfd_mach_o_write_armap, + bfd_mach_o_get_elt_at_index, bfd_mach_o_generic_stat_arch_elt, + bfd_mach_o_update_armap_timestamp, bfd_mach_o_close_and_cleanup, + bfd_mach_o_bfd_free_cached_info, bfd_mach_o_new_section_hook, + bfd_mach_o_get_section_contents_in_window, + bfd_mach_o_bfd_is_local_label_name, + bfd_mach_o_bfd_is_target_special_symbol, + bfd_mach_o_bfd_is_local_label_name, bfd_mach_o_get_lineno, + bfd_mach_o_find_nearest_line, bfd_mach_o_find_inliner_info, + bfd_mach_o_bfd_make_debug_symbol, bfd_mach_o_read_minisymbols, + bfd_mach_o_minisymbol_to_symbol, + bfd_mach_o_bfd_get_relocated_section_contents, + bfd_mach_o_bfd_relax_section, bfd_mach_o_bfd_link_hash_table_create, + bfd_mach_o_bfd_link_hash_table_free, bfd_mach_o_bfd_link_add_symbols, + bfd_mach_o_bfd_link_just_syms, bfd_mach_o_bfd_final_link, + bfd_mach_o_bfd_link_split_section, bfd_mach_o_set_arch_mach, + bfd_mach_o_bfd_merge_private_bfd_data, + bfd_mach_o_bfd_set_private_flags, bfd_mach_o_get_section_contents, + bfd_mach_o_bfd_gc_sections, bfd_mach_o_bfd_merge_sections, + bfd_mach_o_bfd_is_group_section, bfd_mach_o_bfd_discard_group, + bfd_mach_o_section_already_linked, bfd_mach_o_bfd_define_common_symbol, + bfd_mach_o_bfd_copy_private_header_data, + bfd_mach_o_core_file_matches_executable_p): Move these defines ... + * mach-o-target.c: ... here. + Update copyright years. + +2009-06-04 Alan Modra <amodra@bigpond.net.au> + + * dep-in.sed: Don't use \n in replacement part of s command. + * Makefile.am (DEP1): LC_ALL for uniq. + Run "make dep-am". + * Makefile.in: Regenerate. + +2009-06-03 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c (elf_i386_allocate_dynrelocs): Remove check of + h->plt.refcount > 0 on STT_GNU_IFUNC symbol. + * elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Likewise. + +2009-06-03 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c (elf_i386_allocate_dynrelocs): Allocate + GOT entry for STT_GNU_IFUNC symbol with pointer equality. + (elf_i386_relocate_section): Adjust R_386_GOT32 relocation + against STT_GNU_IFUNC symbols for static executables. + (elf_i386_finish_dynamic_symbol): Load GOT entry with + PLT entry for STT_GNU_IFUNC symbol with pointer equality. + + * elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Allocate + GOT entry for STT_GNU_IFUNC symbol with pointer equality. + (elf64_x86_64_finish_dynamic_symbol): Load GOT entry with + PLT entry for STT_GNU_IFUNC symbol with pointer equality. + +2009-06-02 Richard Sandiford <r.sandiford@uk.ibm.com> + + * coff-rs6000.c (xcoff_ppc_relocate_section): Allow undefined + symbols to be left unimported when linking statically. + * xcofflink.c (xcoff_link_add_symbols): Ignore global linkage + code when linking statically. + +2009-06-02 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c (elf_i386_check_relocs): Increment + got.refcount for R_386_GOT32/R_386_GOTOFF relocations + against STT_GNU_IFUNC symbol. + (elf_i386_allocate_dynrelocs): Set got.refcount to 0 if + local STT_GNU_IFUNC definition is used. + (elf_i386_relocate_section): Handle got.offset != -1 for + R_386_GOT32/R_386_GOTOFF relocations against STT_GNU_IFUNC + symbol. + + * elf64-x86-64.c (elf64_x86_64_check_relocs): Increment + got.refcount for R_X86_64_GOTPCREL/R_X86_64_GOTPCREL64 + relocations against STT_GNU_IFUNC symbol. + (elf64_x86_64_allocate_dynrelocs): Set got.refcount to 0 if + local STT_GNU_IFUNC definition is used. + (elf64_x86_64_relocate_section): Handle got.offset != -1 + for R_X86_64_GOTPCREL/R_X86_64_GOTPCREL64 relocations against + STT_GNU_IFUNC symbol. + +2009-06-01 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/10205 + * elf32-i386.c (elf_howto_table): Add R_386_IRELATIVE. + (elf_i386_reloc_type_lookup): Likewise. + (R_386_tls): Removed. + (R_386_irelative): New. + (R_386_vt_offset): Updated. + (elf_i386_rtype_to_howto): Likewise. + (elf_i386_link_hash_table): Add igotplt, iplt and irelplt. + (elf_i386_link_hash_table_create): Initialize igotplt, + iplt and irelplt. + (elf_i386_check_relocs): Handle STT_GNU_IFUNC symbol first. + (elf_i386_adjust_dynamic_symbol): Likewise. + (elf_i386_allocate_dynrelocs): Likewise. + (elf_i386_relocate_section): Likewise. + (elf_i386_size_dynamic_sections): Set up .iplt and .igot.plt + sections. + (elf_i386_finish_dynamic_symbol): When building a static + executable, use .iplt, .igot.plt and .rel.iplt sections for + STT_GNU_IFUNC symbols. Generate R_386_IRELATIVE relocation for + locally defined STT_GNU_IFUNC symbol. + + * elf64-x86-64.c (x86_64_elf_howto): Add R_X86_64_IRELATIVE. + (x86_64_reloc_map): Likewise. + (R_X86_64_standard): Updated. + (elf64_x86_64_link_hash_table): Add igotplt, iplt and irelplt. + (elf64_x86_64_link_hash_table_create): Initialize igotplt, + iplt and irelplt. + (elf64_x86_64_check_relocs): Handle STT_GNU_IFUNC symbol first. + (elf64_x86_64_adjust_dynamic_symbol): Likewise. + (elf64_x86_64_allocate_dynrelocs): Likewise. + (elf64_x86_64_relocate_section): Likewise. + (elf64_x86_64_size_dynamic_sections): Set up .iplt and .igot.plt + sections. + (elf64_x86_64_finish_dynamic_symbol): When building a static + executable, use .iplt, .igot.plt and .rela.iplt sections for + STT_GNU_IFUNC symbols. Generate R_X86_64_IRELATIVE relocation + for locally defined STT_GNU_IFUNC symbol. + + * reloc.c (BFD_RELOC_386_IRELATIVE): New. + (BFD_RELOC_X86_64_IRELATIVE): Likewise. + + * bfd-in2.h: Regenerated. + * libbfd.h: Likewise. + +2009-06-01 H.J. Lu <hongjiu.lu@intel.com> + + * elf-bfd.h (struct bfd_elf_section_data): Remove indirect_relocs. + (_bfd_elf_make_ifunc_reloc_section): Removed. + (_bfd_elf_is_ifunc_symbol): Likewise. + (_bfd_elf_create_static_ifunc_sections): New. + + * elflink.c (_bfd_elf_adjust_dynamic_symbol): Move STT_GNU_IFUNC + symbol check to ... + (elf_link_add_object_symbols): Here. + (_bfd_elf_link_hash_hide_symbol): Don't clean plt on + STT_GNU_IFUNC symbol. + (elf_link_output_extsym): Call elf_backend_finish_dynamic_symbol + if a STT_GNU_IFUNC symbol is referenced in a non-shared object. + (IFUNC_INFIX): Removed. + (get_ifunc_reloc_section_name): Likewise. + (_bfd_elf_make_ifunc_reloc_section): Likewise. + (_bfd_elf_is_ifunc_symbol): Likewise. + (_bfd_elf_create_static_ifunc_sections): New. + +2009-05-29 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c (link_hash_newfunc): Add elf_i386_ prefix. + (create_got_section): Likewise. + (allocate_dynrelocs): Likewise. + (readonly_dynrelocs): Likewise. + (set_tls_module_base): Likewise. + (dtpoff_base): Likewise. + (tpoff): Likewise. + (elf_i386_link_hash_table_create): Updated. + (elf_i386_create_dynamic_sections): Likewise. + (elf_i386_check_relocs): Likewise. + (elf_i386_size_dynamic_sections): Likewise. + (elf_i386_relocate_section): Likewise. + + * elf64-x86-64.c (link_hash_newfunc): Add elf64_x86_64_ prefix. + (create_got_section): Likewise. + (allocate_dynrelocs): Likewise. + (readonly_dynrelocs): Likewise. + (set_tls_module_base): Likewise. + (dtpoff_base): Likewise. + (tpoff): Likewise. + (elf64_x86_64_link_hash_table_create): Updated. + (elf64_x86_64_create_dynamic_sections): Likewise. + (elf64_x86_64_check_relocs): Likewise. + (elf64_x86_64_size_dynamic_sections): Likewise. + (elf64_x86_64_relocate_section): Likewise. + +2009-05-28 Nick Clifton <nickc@redhat.com> + + * targets.c (_bfd_target_vector): Only include plugin target in + all-targets build if BFD_SUPPORTS_PLUGINS is non-zero. + +2009-05-28 Ulrich Weigand <uweigand@de.ibm.com> + + * elf32-spu.c (struct call_info): New member broken_cycle. + (remove_cycle): Instead of physically removing call_info structures + to break call graph cycles, mark them using the broken_cycle flag. + (mark_overlay_section): Respect broken_cycle flag. + (unmark_overlay_section): Likewise. + (collect_lib_sections): Likewise. + (collect_overlays): Likewise. + (sum_stack): Likewise. + +2009-05-28 Ulrich Weigand <uweigand@de.ibm.com> + + * elf32-spu.c (insert_callee): Accumulate incoming callee->count. + (mark_functions_via_relocs): Initialize callee->count to 1. + (pasted_function): Likewise. + (spu_elf_auto_overlay): Honor call counts when determining number + of stubs required in software i-cache mode. + +2009-05-27 Rafael Avila de Espindola <espindola@google.com> + + * plugin.c (program_name): Remove. + (plugin_program_name): New. + (bfd_plugin_set_program_name): New. + (try_load_plugin): Use plugin_program_name. + * plugin.h (bfd_plugin_set_program_name): New. + +2009-05-27 Rafael Avila de Espindola <espindola@google.com> + + * aclocal.m4: Include ../config/plugins.m4. + * configure.in: Use AC_PLUGINS. + * configure: Regenerate. + * Makefile.in: Regenerate. + * doc/Makefile.in: Regenerate. + +2009-05-27 Nathan Sidwell <nathan@codesourcery.com> + + * elf32-ppc.c (ppc_elf_relax_section): Work with a partial + link. + * bout.c (b_out_bfd_relax_section): Reject relocatable links. + * elf32-m10300.c (mn10300_elf_relax_section): Likewise. + * elf32-avr.c (elf32_avr_relax_section): Likewise. + * elf32-frv.c (elf32_avr_relax_section): Likewise. + * elf32-xtensa.c (elf_xtensa_relax_section): Likewise. + * elf64-mmix.c (mmix_elf_relax_section): Likewise. + * elfxx-ia64.c (elfNN_ia64_relax_section): Likewise. + * elfxx-sparc.c (_bfd_sparc_elf_relax_section): Likewise. + * reloc.c (bfd_generic_relax_section): Likewise. + * reloc16.c (bfd_coff_reloc16_relax_section): Likewise. + * vms.c (vms_bfd_relax_section): Likewise. + +2009-05-26 H.J. Lu <hongjiu.lu@intel.com> + + * elf-bfd.h (_bfd_elf_is_ifunc_symbol): New. + + * elf32-i386.c (is_indirect_symbol): Renamed to ... + * elflink.c (_bfd_elf_is_ifunc_symbol): This. + + * elf32-i386.c (allocate_dynrelocs): Updated. + (elf_i386_relocate_section): Likewise. + * elf64-x86-64.c (allocate_dynrelocs): Likewise. + (elf64_x86_64_relocate_section): Likewise. + + * elf64-x86-64.c (is_indirect_symbol): Removed. + +2009-05-26 Nick Clifton <nickc@redhat.com> + + * po/id.po: Updated Indonesian translation. + +2009-05-26 Rafael Avila de Espindola <espindola@google.com> + + * Makefile.am: Run "make dep-am". + (AM_CPPFLAGS): New. + (LIBDL): New. + (ALL_MACHINES): Add cpu-plugin.lo. + (ALL_MACHINES_CFILES): Add cpu-plugin.c. + (BFD32_BACKENDS): Add plugin.lo. + (BFD32_BACKENDS_CFILES): Add plugin.c. + (libbfd_la_LIBADD): Add LIBDL + * archures.c (bfd_architecture): Add bfd_arch_plugin. + (bfd_plugin_arch): Declare. + * bfd-in.h (BFD_SUPPORTS_PLUGINS): New. + * bfd.c (bfd): Add plugin_data. + * config.bfd: Handle the plugin target. + * configure.in: Check for --enable-plugins. + (LT_INIT): Use the dlopen option. + * cpu-plugin.c: New. + * plugin.c: New. + * plugin.h: New. + * targets.c (plugin_vec): Declare. + (_bfd_target_vector): Add plugin_vec. + * Makefile.in: Regenerate. + * bfd-in2.h: Regenerate. + * configure: Regenerate. + +2009-05-26 Alan Modra <amodra@bigpond.net.au> + + * dep-in.sed: Don't modify .o to .lo here. Output one filename + per line with all lines having continuation backslash. Prefix + first line with "A", following lines with "B". + * Makefile.am (DEP): Don't use dep.sed here. + (DEP1): Run $MKDEP on single files, modify .o to .lo here. Use + dep.sed here on dependencies, sort and uniq. + * Makefile.in: Regenerate. + +2009-05-25 Tristan Gingold <gingold@adacore.com> + + * makefile.vms: Add verilog.obj to object list OBJS. + +2009-05-24 Alan Modra <amodra@bigpond.net.au> + + * bfdio.c (bfd_seek): Formatting. Ensure newly allocated memory + for BFD_IN_MEMORY is cleared. + (bfd_bwrite): Zero excess memory allocated. + +2009-05-22 Julian Brown <julian@codesourcery.com> + + * elf32-arm.c (THUMB16_BCOND_INSN, THUMB32_INSN, THUMB32_B_INSN): New + macros. + (elf32_arm_stub_a8_veneer_b_cond, elf32_arm_stub_a8_veneer_b) + (elf32_arm_stub_a8_veneer_blx): New stub sequences. + (elf32_arm_stub_type): Add arm_stub_a8_veneer_b_cond, + arm_stub_a8_veneer_b and arm_stub_a8_veneer_blx. + (elf32_arm_stub_hash_entry): Add target_addend, orig_insn fields. + (a8_erratum_fix, a8_erratum_reloc): New structs. + (elf32_arm_link_hash_table): Add a8_erratum_fixes, + num_a8_erratum_fixes, fix_cortex_a8 fields. + (elf32_arm_link_hash_table_create): Zero fix_cortex_a8. + (elf32_arm_add_stub): Split into two parts, creating... + (elf32_arm_create_or_find_stub_sec): New function. + (elf32_arm_final_link_relocate): Add forward declaration. + (arm_build_one_stub): Add support for THUMB32_TYPE, Thumb-2 + relocations, multiple relocations per stub. + (find_stub_size_and_template): New (using parts of arm_size_one_stub). + (arm_size_one_stub): Use find_stub_size_and_template. + (a8_reloc_compare): New. + (find_thumb_glue): Add forward declaration. + (cortex_a8_erratum_scan): New. + (elf32_arm_size_stubs): Add Cortex-A8 erratum workaround support. + (bfd_elf32_arm_set_cortex_a8_fix): New. + (bfd_elf32_arm_set_target_relocs): Add fix_cortex_a8 argument. + (arm_map_one_stub): Add THUMB32_TYPE support. + (a8_branch_to_stub_data): New. + (make_branch_to_a8_stub): New. + (elf32_arm_write_section): Add Cortex-A8 erratum workaround support. + * bfd-in.h (bfd_elf32_arm_set_cortex_a8_fix): New. + (bfd_elf32_arm_set_target_relocs): Add argument for controlling + Cortex-A8 erratum workaround. + * bfd-in2.h: Regenerate. + +2009-05-22 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2009-05-21 Alan Modra <amodra@bigpond.net.au> + + * elflink.c (elf_link_input_bfd): Correct *pindex change in last + commit. + +2009-05-21 Alan Modra <amodra@bigpond.net.au> + + * elf-bfd.h (struct elf_backend_data + <elf_backend_link_output_symbol_hook>): Return an int. + * elf64-ppc.c (ppc64_elf_output_symbol_hook): Return 2 to drop + symbols on deleted .opd entries. + * elflink.c (elf_link_output_sym): Return without outputting sym + if output_symbol_hook returns 2. + (elf_link_output_extsym): Don't assign h->indx when symbol discarded. + Abort if we must not discard sym. + (elf_link_input_bfd): Similarly, don't set finfo->indices for + local syms. + (bfd_elf_final_link): Adjust elf_link_output_sym calls. + * elf-vxworks.c (elf_vxworks_link_output_symbol_hook): Adjust for + elf_backend_link_output_symbol_hook return type change. + * elf32-arm.c (output_arch_syminfo): Likewise. + (elf32_arm_output_map_sym, elf32_arm_output_stub_sym): Likewise. + (elf32_arm_output_arch_local_syms): Likewise. + * elf32-cr16c.c (elf32_cr16c_link_output_symbol_hook): Likewise. + * elf32-score.c (s3_bfd_score_elf_link_output_symbol_hook): Likewise. + (bfd_score_elf_link_output_symbol_hook): Likewise. + * elf32-score.h (s7_bfd_score_elf_link_output_symbol_hook): Likewise. + * elf32-score7.c (s7_bfd_score_elf_link_output_symbol_hook): Likewise. + * elf32-sh64.c (sh64_elf_link_output_symbol_hook): Likewise. + * elf32-spu.c (spu_elf_output_symbol_hook): Likewise. + * elf32-v850.c (v850_elf_link_output_symbol_hook): Likewise. + * elf64-hppa.c (elf64_hppa_link_output_symbol_hook): Likewise. + * elf64-mmix.c (mmix_elf_link_output_symbol_hook): Likewise. + * elf64-sh64.c (sh64_elf64_link_output_symbol_hook): Likewise. + * elf64-sparc.c (elf64_sparc_output_arch_syms): Likewise. + * elfxx-mips.c (_bfd_mips_elf_link_output_symbol_hook): Likewise. + * elfxx-mips.h (_bfd_mips_elf_link_output_symbol_hook): Likewise. + +2009-05-21 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Don't segfault on + out of range .opd symbols. + +2009-05-21 Dave Korn <dave.korn.cygwin@gmail.com> + + * coffgen.c (coff_print_symbol): Use bfd_fprintf_vma, not + fprintf_vma directly. + * peXXigen.c (pe_print_edata): Likewise. + (pe_print_pdata): Likewise. + (_bfd_XX_print_ce_compressed_pdata): Likewise. + (_bfd_XX_print_private_bfd_data_common): Likewise. + +2009-05-19 Dave Korn <dave.korn.cygwin@gmail.com> + + * cofflink.c (process_embedded_commands): Ignore "-aligncomm". + +2009-05-15 Andrew Stubbs <ams@codesourcery.com> + Paul Brook <paul@codesourcery.com> + + * elf32-arm.c (elf32_arm_fix_exidx_coverage): Don't attempt to + fix discarded sections. + +2009-05-14 Ulrich Weigand <uweigand@de.ibm.com> + + * elf32-spu.c (mark_overlay_section): Move .init and .fini + sections into the software icache. + +2009-05-14 Ulrich Weigand <uweigand@de.ibm.com> + + * elf32-spu.c (build_stub): Always build "compact" sofware + i-cache stubs. + +2009-05-14 Ulrich Weigand <uweigand@de.ibm.com> + + * elf32-spu.c (struct spu_link_hash_table): Add fromelem_size_log2. + (spu_elf_setup): Initialize it. + (spu_elf_size_stubs): Move .ovtab into .bss for software i-cache. + Update to new-sytle cache manager data structures. + (spu_elf_build_stubs): Generate new-style cache manager data + structures and symbols. + (spu_elf_auto_overlay): Update size computation. + +2009-05-14 Ulrich Weigand <uweigand@de.ibm.com> + + * elf32-spu.c (spu_elf_modify_segment_map): Move all PF_OVERLAY + segments first amongst the program headers. + +2009-05-14 Ulrich Weigand <uweigand@de.ibm.com> + + * elf32-spu.c (spu_elf_relocate_section): Only encode overlay index + into addresses for relocation types that look at high bits. Remove + special handling of relocation overflow warnings. + +2009-05-14 Ulrich Weigand <uweigand@de.ibm.com> + + * elf32-spu.c (mark_functions_via_relocs): Handle cycles in the + control flow graph between fragments of a function. + +2009-05-14 Ulrich Weigand <uweigand@de.ibm.com> + + * elf32-spu.c (spu_elf_size_stubs): Even in software i-cache mode, + generate only a 16-byte .toe section. + (spu_elf_build_stubs, spu_elf_auto_overlay): Likewise. + +2009-05-14 Alan Modra <amodra@bigpond.net.au> + + * elf32-spu.c (spu_elf_size_stubs): Split out section placement to.. + (spu_elf_place_overlay_data): ..here. New function. + * elf32-spu.h (spu_elf_place_overlay_data): Declare. + +2009-05-13 Andrew Jenner <andrew@codesourcery.com> + + * elf32-arm.c: Move sysdep.h to start of file. + +2009-05-11 Ulrich Weigand <uweigand@de.ibm.com> + + * elf32-spu.c (spu_elf_find_overlays): Don't use .ovl.init lma as + start of overlays. + (spu_elf_build_stubs): Don't define __icache_tagbase. Define + __icache_tag_array and __icache_tag_array_size. + +2009-05-11 Masaki Muranaka <monaka@monami-software.com> + + * elf32-bfin.c (bfin_bfd_reloc_type_lookup): Remove unnecessary + ATTRIBUTE_UNUSED. + (bfinfdpic_link_omit_section_dynsym): Likewise. + (elf32_bfinfdpic_finish_dynamic_sections): Likewise. + +2009-05-05 Paul Brook <paul@codesourcery.com> + + * bfd-in.h (elf32_arm_fix_exidx_coverage): Add prototype. + * bfd-in2.h: Regenerate. + * elf32-arm.c (arm_unwind_edit_type, arm_unwind_table_edit): Define. + (_arm_elf_section_data): Add text and exidx fields. + (add_unwind_table_edit, get_arm_elf_section_data, adjust_exidx_size, + insert_cantunwind_after, elf32_arm_fix_exidx_coverage, offset_prel31, + copy_exidx_entry): New functions. + (elf32_arm_write_section): Fixup .ARM.exidx contents. + +2009-05-05 Christophe lyon <christophe.lyon@st.com> + + * elf32-arm.c (DEF_STUBS): New helper define. + (DEF_STUB): Likewise. + (stub_def): New type. + (stub_definitions): New array, containing stub template pointers + and sizes. + (arm_size_one_stub): Make use of stub_definitions. + +2009-05-04 Dave Korn <dave.korn.cygwin@gmail.com> + + * elflink.c (find_version_for_sym): Remove from here, ... + * linker.c (bfd_find_version_for_sym): ... rename, replace + here, make public and update all callers. + * bfd-in2.h: Regenerate. + +2009-04-30 Nick Clifton <nickc@redhat.com> + + * elf-bfd.h (struct bfd_elf_section_data): Add indirect_relocs + section pointer. + (struct elf_obj_data): Add has_ifunc_symbols boolean. + * elf.c (swap_out_syms): Convert BSF_GNU_INDIRECT_FUNCTION flags + into a STT_GNU_IFUNC symbol type. + (_bfd_elf_is_function_type): Accept STT_GNU_IFUNC as a function + type. + (_bfd_elf_set_osabi): Set the osasbi field to ELFOSABI_LINUX if + the binary contains ifunc symbols. + * elfcode.h (elf_slurp_symbol_table): Translate the STT_GNU_IFUNC + symbol type into a BSF_GNU_INDIRECT_FUNCTION flag. + * elf32-i386.c (is_indirect_function): New function. + (elf_i386_check_relocs): Create an ifunc output section. + (allocate_dynrelocs): Create dynamic relocs in the ifunc output + section if necessary. + (elf_i386_relocate_section): Emit a reloc against an ifunc symbol + if necessary. + (elf_i386_add_symbol_hook): New function. Set the + has_ifunc_symbols field of the elf_obj_data structure if an ifunc + symbol is encountered. + (elf_backend_post_process_headers): Define. + (elf_backend_add_symbol_hook): Define. + (elf_i386_post_process_headers): Rename to + elf_i388_fbsd_post_process_headers. + * elf64-x86_64.c (IS_X86_64_PCREL_TYPE): New macro. + (is_indirect_function): New function. + (elf64_x86_64_check_relocs): Create an ifunc output section. + (allocate_dynrelocs): Create dynamic relocs in the ifunc output + section if necessary. + (elf64_x86_64_relocate_section): Emit a reloc against an ifunc + symbol if necessary. + (elf_i386_add_symbol_hook): Set the has_ifunc_symbols field of the + elf_obj_data structure if an ifunc symbol is encountered. + (elf_backend_post_process_headers): Define. + * elflink.c (_bfd_elf_adjust_dynamic_symbol): Always create a PLT + if we have ifunc symbols to handle. + (get_ifunc_reloc_section_name): New function. Computes the name + for an ifunc section. + (_bfd_elf_make_ifunc_reloc_section): New function. Creates a + section to hold ifunc relocs. + * syms.c (BSF_GNU_INDIRECT_FUNCTION): Define. + (bfd_print_symbol_vandf): Handle ifunc symbols. + (bfd_decode_symclass): Likewise. + * bfd-in2.h: Regenerate. + +2009-04-30 Joseph Myers <joseph@codesourcery.com> + + * elf32-arm.c (elf32_arm_check_relocs): Give errors for absolute + MOVW and MOVT relocations in a shared library link. + +2009-04-27 Anthony Green <green@moxielogic.com> + + * verilog.c: New file. + * Makefile.am (BFD32_LIBS): Add verilog.c. + (BFD32_LIBS_CFILES): Add verilog.c. + (verilog.lo): New build rule. + * Makefile.in: Rebuilt. + * targets.c: Add verilog support. + * bfd.c (tdata union): Add Verilog private data field. + * bfd-in2.h: Regenerate. + +2009-04-27 H.J. Lu <hongjiu.lu@intel.com> + + * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Don't + copy pe_opthdr. + +2009-04-23 Matthias Klose <doko@ubuntu.com> + + * peXXigen.c (_bfd_XXi_swap_sym_in): Initialize `name'. + +2009-04-22 Christophe Lyon <christophe.lyon@st.com> + + PR9743 + * elf32-arm.c (arm_type_of_stub): Handle R_ARM_THM_JUMP24, + R_ARM_JUMP24 and R_ARM_PLT32 relocations. + (elf32_arm_size_stubs): Likewise. + (record_thumb_to_arm_glue): Deleted unused function. + (bfd_elf32_arm_process_before_allocation): No longer handle + R_ARM_THM_JUMP24, R_ARM_JUMP24 and R_ARM_PLT32 relocations here. + (elf32_arm_final_link_relocate): Handle R_ARM_THM_JUMP24, + R_ARM_JUMP24 and R_ARM_PLT32 relocations. + +2009-04-21 Daniel Jacobowitz <dan@codesourcery.com> + + * elf32-arm.c (INTERWORK_FLAG): Check BFD_LINKER_CREATED. + (elf32_arm_write_section): Declare early. + (elf32_arm_size_stubs): Skip non-stub sections in the stub BFD. + (arm_allocate_glue_section_space): Exclude empty sections. + (ARM_GLUE_SECTION_FLAGS): Add SEC_LINKER_CREATED. + (bfd_elf32_arm_add_glue_sections_to_bfd): Do not skip the stub + BFD. + (elf32_arm_output_glue_section, elf32_arm_final_link): New. + (elf32_arm_merge_eabi_attributes): Skip the stub BFD. + (elf32_arm_size_dynamic_sections): Allocate interworking + sections here. + (bfd_elf32_bfd_final_link): Define. + +2009-04-21 H.J. Lu <hongjiu.lu@intel.com> + + * coff-ia64.c (COFF_PAGE_SIZE): Changed to 8K. + + * coffcode.h (coff_compute_section_file_positions): Clear + D_PAGED if PE section alignment is smaller than COFF_PAGE_SIZE. + + * libcoff-in.h (pe_tdata): Remove force_minimum_alignment and + force_minimum_alignment. + + * libcoff.h: Regenerated. + + * pei-ia64.c (PEI_TARGET_SUBSYSTEM): Removed. + (PEI_FORCE_MINIMUM_ALIGNMENT): Likewise. + + * peicode.h (pe_mkobject): Don't set force_minimum_alignment + nor target_subsystem. + + * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Don't check + force_minimum_alignment nor target_subsystem. + +2009-04-21 Kai Tietz <kai.tietz@onevision.com> + + * coff-x86_64.c (PEI_HEADERS): Protect includes. + (bfd_pe_print_pdata): Remove #ifdef PE variation. + * pei-x86_64.c (PEI_HEADERS): Define to prevent double + include in coff-x86_64.c of headers. + (PDATA_ROW_SIZE): New define. + (pex_regs[]): New static array. + (pex64_get_runtime_function): New static function. + (pex64_get_unwind_info): Likewise. + (pex64_get_scope_entry): Likewise. + (pex64_xdata_print_uwd_codes): Likewise. + (pex64_get_section_by_rva): Likewise. + (pex64_dump_xdata): Likewise. + (pex64_bfd_print_pdata): Likewise. + (bfd_pe_print_pdata): Define as pex64_bfd_print_pdata. + * peXXigen.c (_bfd_pex64_print_pdata): Removed implementation. + * libpei.h (_bfd_pex64_print_pdata): Removed declaration. + +2009-04-19 Peter O'Gorman <binutils@mlists.thewrittenword.com> + Alan Modra <amodra@bigpond.net.au> + Dave Korn <dave.korn.cygwin@gmail.com> + + * peXXigen.c (_bfd_XXi_swap_sym_in): Fix name handling w.r.t + long names and non-NUL-terminated strings. + +2009-04-17 H.J. Lu <hongjiu.lu@intel.com> + + * bfd-in2.h: Regenerated. + +2009-04-17 H.J. Lu <hongjiu.lu@intel.com> + + * peXXigen.c (_bfd_XX_print_private_bfd_data_common): Replace + IMAGE_SUBSYSTEM_EFI_ROM with IMAGE_SUBSYSTEM_SAL_RUNTIME_DRIVER. + +2009-04-17 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/10074 + * coffcode.h (bfd_pei_p): New. + + * config.bfd: Remove bfd_efi_bsdrv_ia32_vec, + bfd_efi_rtdrv_ia32_vec, bfd_efi_bsdrv_x86_64_vec, + bfd_efi_rtdrv_x86_64_vec, bfd_efi_bsdrv_ia64_vec and + bfd_efi_rtdrv_ia64_vec. Replace bfd_efi_app_ia32_vec, + bfd_efi_app_x86_64_vec and bfd_efi_app_ia64_vec with + i386pei_vec, x86_64pei_vec and bfd_pei_ia64_vec, respectively. + + * configure.in: Remove bfd_efi_bsdrv_ia32_vec, + bfd_efi_rtdrv_ia32_vec, bfd_efi_bsdrv_x86_64_vec, + bfd_efi_rtdrv_x86_64_vec, + bfd_efi_bsdrv_ia64_vec and bfd_efi_rtdrv_ia64_vec. Replace + bfd_efi_ia64_vec with bfd_pei_ia64_vec. + * targets.c: Likewise. + + * configure: Regenerated. + * libcoff.h: Likewise. + * Makefile.in: Likewise. + + * efi-app-ia32.c: Removed. + * efi-app-x86_64.c: Likewise. + * efi-bsdrv-ia32.c: Likewise. + * efi-bsdrv-ia64.c: Likewise. + * efi-bsdrv-x86_64.c: Likewise. + * efi-rtdrv-ia32.c: Likewise. + * efi-rtdrv-ia64.c: Likewise. + * efi-rtdrv-x86_64.c: Likewise. + * efi-rtdrv-ia32.c: Likewise. + + * efi-app-ia64.c: Moved to ... + * pei-ia64.c: This. + (TARGET_SYM): Set to bfd_pei_ia64_vec. + (TARGET_NAME): Set to pei-ia64. + + * libpei.h (bfd_target_pei_p): Removed. + (bfd_target_pei_arch): Likewise. + (bfd_target_efi_app_p): Likewise. + (bfd_target_efi_app_arch): Likewise. + (bfd_target_efi_bsdrv_p): Likewise. + (bfd_target_efi_bsdrv_arch): Likewise. + (bfd_target_efi_rtdrv_p): Likewise. + (bfd_target_efi_rtdrv_arch): Likewise. + (bfd_pe_executable_p): Likewise. + + * Makefile.am (BFD32_BACKENDS): Remove efi-app-ia32.lo, + efi-bsdrv-ia32.lo and efi-rtdrv-ia32.lo. + (BFD32_BACKENDS_CFILES): Remove efi-app-ia32.c, efi-bsdrv-ia32.c + and efi-rtdrv-ia32.c. + (BFD64_BACKENDS): Remove efi-app-ia64.lo, efi-bsdrv-ia64.lo, + efi-rtdrv-ia64.lo, efi-app-x86_64.lo, efi-bsdrv-x86_64.lo and + efi-rtdrv-x86_64.lo. Add pei-ia64.lo. + (BFD64_BACKENDS_CFILES): Remove efi-app-ia64.c, efi-bsdrv-ia64.c, + efi-rtdrv-ia64.c, efi-app-x86_64.c, efi-bsdrv-x86_64.c and + efi-rtdrv-x86_64.c. Add pei-ia64.c. + (efi-app-ia64.lo): Removed. + (efi-bsdrv-ia32.lo): Likewise. + (efi-rtdrv-ia32.lo): Likewise. + (efi-app-ia64.lo): Likewise. + (efi-bsdrv-ia64.lo): Likewise. + (efi-rtdrv-ia64.lo): Likewise. + (efi-app-x86_64.lo): Likewise. + (efi-bsdrv-x86_64.lo): Likewise. + (efi-rtdrv-x86_64.lo): Likewise. + (pei-ia64.lo): New. + + * peicode.h (coff_swap_scnhdr_in): Replace bfd_pe_executable_p + with bfd_pei_p. + (arch_type): Removed. + (pe_arch): Likewise. + (pe_bfd_object_p): Just return coff_object_p. + + * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Replace + bfd_pe_executable_p with bfd_pei_p. + +2009-04-17 Christophe Lyon <christophe.lyon@st.com> + + * elf32-arm.c (elf32_arm_size_stubs): Handle long branches through + PLT entries to an undefined symbol when generating a shared + library. + +2009-04-17 Nick Clifton <nickc@redhat.com> + + PR 9909 + * coffcode.h (handle_COMDAT): Allow for external COMDAT symbols. + +2009-04-16 Richard Sandiford <r.sandiford@uk.ibm.com> + + * aout-adobe.c (aout_32_bfd_define_common_symbol): Define. + * aout-target.h (MY_bfd_define_common_symbol): Likewise. + * aout-tic30.c (MY_bfd_define_common_symbol): Likewise. + * binary.c (binary_bfd_define_common_symbol): Likewise. + * bout.c (b_out_bfd_define_common_symbol): Likewise. + * coff-alpha.c (_bfd_ecoff_bfd_define_common_symbol): Likewise. + * coff-mips.c (_bfd_ecoff_bfd_define_common_symbol): Likewise. + * coffcode.h (coff_bfd_define_common_symbol): Likewise. + * elfxx-target.h (bfd_elfNN_bfd_define_common_symbol): Likewise. + * i386msdos.c (msdos_bfd_define_common_symbol): Likewise. + * i386os9k.c (os9k_bfd_define_common_symbol): Likewise. + * ieee.c (ieee_bfd_define_common_symbol): Likewise. + * ihex.c (ihex_bfd_define_common_symbol): Likewise. + * libbfd-in.h (_bfd_nolink_bfd_define_common_symbol): Likewise. + * mach-o.c (bfd_mach_o_bfd_define_common_symbol): Likewise. + * mmo.c (mmo_bfd_define_common_symbol): Likewise. + * nlm-target.h (nlm_bfd_define_common_symbol): Likewise. + * oasys.c (oasys_bfd_define_common_symbol): Likewise. + * pef.c (bfd_pef_bfd_define_common_symbol): Likewise. + * ppcboot.c (ppcboot_bfd_define_common_symbol): Likewise. + * som.c (som_bfd_define_common_symbol): Likewise. + * srec.c (srec_bfd_define_common_symbol): Likewise. + * tekhex.c (tekhex_bfd_define_common_symbol): Likewise. + * versados.c (versados_bfd_define_common_symbol): Likewise. + * vms.c (vms_bfd_define_common_symbol): Likewise. + * xcoff-target.h (_bfd_xcoff_bfd_define_common_symbol): Likewise. + * xsym.c (bfd_sym_bfd_define_common_symbol): Likewise. + * coff-rs6000.c (rs6000coff_vec): Add _bfd_xcoff_define_common_symbol. + (pmac_xcoff_vec): Likewise. + * coff64-rs6000.c (rs6000coff64_vec): Likewise. + (aix5coff64_vec): Likewise. + * linker.c (bfd_generic_define_common_symbol): New function. + * targets.c (BFD_JUMP_TABLE_LINK): Add NAME##_bfd_define_common_symbol. + (_bfd_define_common_symbol): New field. + * libcoff-in.h (_bfd_xcoff_define_common_symbol): Declare. + * xcofflink.c (_bfd_xcoff_define_common_symbol): New function. + (xcoff_build_ldsyms): Don't set XCOFF_DEF_REGULAR for common + symbols here. + * bfd-in2.h: Regenerate. + * libbfd.h: Likewise. + * libcoff.h: Likewise. + +2009-04-15 Anthony Green <green@moxielogic.com> + + * targets.c: Add moxie support. + * Makefile.am: Ditto. + * Makefile.in: Rebuilt. + * cpu-moxie.c, elf32-moxie.c: New files. + * archures.c: Add moxie support. + * configure.in: Add moxie support. + * configure: Rebuilt. + * config.bfd, archures.c: Add moxie support. + * bfd-in2.h: Rebuilt. + +2009-04-15 Christophe Lyon <christophe.lyon@st.com> + + * elf32-arm.c (elf32_arm_final_link_relocate): Don't convert ARM + branch to an undef weak symbol into a jump to next instruction if + a PLT entry will be created. + +2009-04-14 Dave Korn <dave.korn.cygwin@gmail.com> + + * coffgen.c (make_a_section_from_file): Set the backend long + section names enable if long section names found on input. + * coffcode.h: Extend long section names documentation to match. + +2009-04-08 H.J. Lu <hongjiu.lu@intel.com> + + * elflink.c (elf_link_add_object_symbols): Warn alternate ELF + machine code. + +2009-04-07 DJ Delorie <dj@redhat.com> + + * archures.c: Add bfd_mach_mep_c5. + * bfd-in2.h: Likewise. + * cpu-mep.c: Add bfd_c5_arch. + * elf32-mep.c: Support it. + +2009-04-07 H.J. Lu <hongjiu.lu@intel.com> + + * elflink.c (_bfd_elf_section_already_linked): Add `\n' for + info->callbacks->einfo. + * linker.c (_bfd_generic_section_already_linked): Likewise. + +2009-04-06 DJ Delorie <dj@redhat.com> + + * elf32-h8300.c (elf32_h8_relax_section): Relax MOVA opcodes. + +2009-04-06 H.J. Lu <hongjiu.lu@intel.com> + + * coff-x86_64.c (bfd_pe_print_pdata): Defined to + _bfd_pex64_print_pdata only if PE is defined. + + * libpei.h (_bfd_pep_print_x64_pdata): Renamed to ... + (_bfd_pex64_print_pdata): This. + + * peXXigen.c (_bfd_pep_print_x64_pdata): Renamed to ... + (_bfd_pex64_print_pdata): This. Defined only if COFF_WITH_pex64 + is defined. + +2009-04-05 Kai Tietz <kai.tietz@onevision.com> + + * coff-x86_64.c (bfd_pe_print_pdata): Define as + _bfd_pep_print_x64_pdata. + * libpei.h (_bfd_pep_print_x64_pdata): Add prototype. + * peXXigen.c (_bfd_pep_print_x64_pdata): New. + +2009-04-02 Sterling Augustine <sterling@jaw.hq.tensilica.com> + + * elf32-xtensa.c (relax_property_section): Always set r_offset + to zero. + +2009-04-02 Christophe Lyon <christophe.lyon@st.com> + + * elf32-arm.c (elf32_arm_stub_long_branch_v4t_thumb_thumb, + elf32_arm_stub_long_branch_v4t_thumb_thumb_pic): Two new long + branch stubs. + (elf32_arm_stub_type): New enum values for the two new stubs. + (arm_type_of_stub): Make use of the two new stubs. + (arm_size_one_stub): Handle the two new stubs. + +2009-04-01 Matt Thomas <matt@netbsd.org> + + * elf32-vax.c (elf_vax_check_relocs): Do not put relocations against + hidden symbols into the GOT or PLT.GOT. + (elf_vax_relocate_section): Do not emit a PCREL reloc + into a shared object if it is against a hidden symbol. + +2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com> + + * xcofflink.c (xcoff_archive_info): Add contains_shared_object_p + and know_contains_shared_object_p. + (xcoff_archive_contains_shared_object_p): Add an "info" parameter. + Cache the result in the archive_info table. + (xcoff_auto_export_p): Add an "info" parameter and update the + call to xcoff_archive_contains_shared_object_p. + (xcoff_mark_auto_exports): Update accordingly. + (xcoff_post_gc_symbol): Likewise. + +2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com> + + * xcofflink.c (bfd_link_input_bfd): Treat __rtinit as C_HIDEXT + rather than C_EXT. + +2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com> + + * coff-rs6000.c (member_layout): New structure. + (archive_iterator): Likewise. + (member_layout_init): New function. + (archive_iterator_begin): Likewise. + (archive_iterator_next): Likewise. + (xcoff_write_armap_old): Use the new iterator functions. + (do_shared_object_padding): Delete. + (xcoff_write_armap_big): Use the new iterator functions. Simplify + handling of arch_info. + (xcoff_write_archive_contents_old): Allocate arelt_data in the + first loop rather than the second. Allocate a member header if + there isn't one, then work out the stat information and length + in the first loop too. Use the new iterators for the second loop. + (xcoff_write_archive_contents_big): Likewise. + +2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com> + + * bfd-in.h (bfd_xcoff_split_import_path): Declare. + (bfd_xcoff_set_archive_import_path): Likewise. + * bfd-in2.h: Regenerate. + * xcofflink.c: Include libiberty.h. + (xcoff_archive_info): New structure. + (xcoff_archive_info_hash): New function. + (xcoff_archive_info_eq): Likewise. + (xcoff_get_archive_info): Likewise. + (_bfd_xcoff_bfd_link_hash_table_create): Initialize archive_info. + (bfd_xcoff_split_import_path): New function. + (bfd_xcoff_set_archive_import_path): Likewise. + (xcoff_set_import_path): Move earlier in file. + (xcoff_link_add_dynamic_symbols): Set the import path of a non-archive + object to the the directory part of the bfd's filename. Get the + import path and filename of an archive object from the archive's + xcoff_tdata, initializing it if necessary. Update use of + import_file_id. + (bfd_link_input_bfd): Update use of import_file_id. + (xcoff_write_global_symbol): Likewise. + +2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com> + + * xcofflink.c (xcoff_link_hash_table): Moved from include/coff/xcoff.h. + +2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com> + + * xcofflink.c (xcoff_link_create_extra_sections): Don't create + a .loader section for relocatable links. + (xcoff_need_ldrel_p): New function. + (xcoff_mark): Use it. + (bfd_xcoff_link_count_reloc): Only count loader relocs if there's + a loader section. + (xcoff_build_ldsym): New function, split out from... + (xcoff_build_ldsyms): ...here. Rename to... + (xcoff_post_gc_symbol): ...this. Only export symbols, and only + call xcoff_build_ldsym, if there's a loader section. + (xcoff_build_loader_section): New function, extracted verbatim from... + (bfd_xcoff_size_dynamic_sections): ...here. Only call it if + there's a loader section. Only add an __rtinit loader symbol + if there's a loader section. Update after above name change. + (xcoff_symbol_section, xcoff_create_ldrel): New functions. + (bfd_link_input_bfd): Use xcoff_need_ldrel_p, xcoff_symbol_section + and xcoff_create_ldrel. + (xcoff_write_global_symbol): Use xcoff_create_ldrel. + (xcoff_reloc_link_order): Likewise, but only call it if there's + a loader section. Use xcoff_symbol_section. + (_bfd_xcoff_bfd_final_link): Only use fdinfo.ldrel and fdinfo.ldsym + if there's a loader section. + +2009-04-01 Richard Sandiford <rdsandiford@googlemail.com> + + * xcofflink.c (bfd_link_input_bfd): Fix buffer overrun. + +2009-04-01 Christophe Lyon <christophe.lyon@st.com> + + * elf32-arm.c (group_sections): Rewrite loops for better + readability. + +2009-03-30 DJ Delorie <dj@redhat.com> + + * elflink.c (elf_link_input_bfd): Don't try to resolve complex + relocs when doing a relocatable link. + +2009-03-28 Mark Mitchell <mark@codesourcery.com> + + * coff-arm.c (coff_arm_merge_private_bfd_data): Use "error:", not + "ERROR:", in error messages. + * cpu-arm.c (bfd_arm_merge_machines): Likewise. + * elf-attrs.c (_bfd_elf_merge_object_attributes): Likewise. + * elf32-arm.c (tag_cpu_arch_combine): Likewise. + (elf32_arm_merge_eabi_attributes): Likewise. + (elf32_arm_merge_private_bfd_data): Likewise. + +2009-03-27 Nick Clifton <nickc@redhat.com> + + * section.c (bfd_get_section_contents): Detect and handle the case + where a section has the SEC_IN_MEMORY flag set but no actual + contents allocated. + +2009-03-26 Alan Modra <amodra@bigpond.net.au> + + PR 6494 + * elf.c (copy_elf_program_header): Do not check that PT_GNU_RELRO + p_filesz and p_memsz are equal. Use p_memsz as the segment size. + (assign_file_positions_for_non_load_sections): Zap PT_GNU_RELRO + if we don't find matching PT_LOAD when copying. + +2009-03-25 M R Swami Reddy <MR.Swami.Reddy@nsc.com> + + * elf32-crx.c (crx_elf_howto_table): Zero the src_mask field of + the reloc descriptions. + +2009-03-25 Hans-Peter Nilsson <hp@axis.com> + + * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD> + <R_CRIS_16_GOT_GD, case R_CRIS_32_GOT_GD>: Handle COMMON symbols. + <case R_CRIS_16_TPREL, R_CRIS_32_TPREL>: Ditto. + +2009-03-24 H.J. Lu <hongjiu.lu@intel.com> + + * cpu-i386.c (bfd_x86_64_arch_intel_syntax): Make it static. + (bfd_i386_arch_intel_syntax): Likewise. + (i8086_arch): Likewise. + (bfd_x86_64_arch): Likewise. + +2009-03-24 Hans-Peter Nilsson <hp@axis.com> + + * elf32-cris.c (cris_elf_relocate_section): <case + R_CRIS_16_DTPREL, R_CRIS_32_DTPREL>: Allow use of non-local + symbols for non-allocated sections. Don't check whether to + generate R_CRIS_DTPMOD for non-allocated sections. + (cris_elf_gc_sweep_hook) <case R_CRIS_32_DTPREL>: Don't + handle relocation GC:ing if applied to non-allocated section. + (cris_elf_check_relocs): Similar. + + * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD> + <R_CRIS_16_GOT_GD, R_CRIS_32_GOT_GD>: Don't include the TLS size + when emitting a known TP offset in the GOT. + +2009-03-23 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (synthetic_opd): Delete. + (compare_symbols): Look for .opd name rather than section match. + (ppc64_elf_get_synthetic_symtab): Likewise. + +2009-03-21 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (is_pic_glink_stub): Delete. + (is_nonpic_glink_stub): New function. + (ppc_elf_get_synthetic_symtab): Check for last non-pic stub rather + than first pic one. + (struct ppc_elf_link_hash_table <glink_pltresolve>): Comment fix. + +2009-03-20 Martin Schwidefsky <schwidefsky@de.ibm.com> + Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * elf32-s390.c (elf_s390_check_relocs): Use the SYMBOL_* + macros for visibilty and locality checks. + (elf_s390_adjust_dynamic_symbol): Likewise. + (allocate_dynrelocs): Likewise. + (elf_s390_relocate_section): Likewise. + (elf_s390_finish_dynamic_symbol): Likewise. + * elf64-s390.c (elf_s390_check_relocs): Likewise. + (elf_s390_adjust_dynamic_symbol): Likewise. + (allocate_dynrelocs): Likewise. + (elf_s390_relocate_section): Likewise. + (elf_s390_finish_dynamic_symbol): Likewise. + +2009-03-19 Kai Tietz <kai.tietz@onevision.com> + + * bfd-in2.h: Regenerated. + * coffcode.h (sec_to_styp_flags): For pe-coff add SEC_READONLY + for debugging sections and map memory read/write dependent on + SEC_COFF_NOREAD. + (styp_to_sec_flags): Set SEC_COFF_NOREAD for sections + without memory read flags set. + * section.c: Add SEC_COFF_NOREAD to section flags. + +2009-03-19 Andreas Schwab <schwab@linux-m68k.org> + + * elf32-hppa.c (final_link_relocate): Cast bfd_vma values to long + for format string. + +2009-03-19 Alan Modra <amodra@bigpond.net.au> + + * elf32-spu.c (spu_elf_find_overlays): Separate error return from + "no overlays" return. If there are overlays, create overlay + manager entry symbols here, so that.. + (spu_elf_build_stubs): ..we don't need to set them up here. + Simplify entry symbol tests. + * elf32-spu.h (spu_elf_find_overlays): Update prototype. + +2009-03-18 Mark Kettenis <kettenis@gnu.org> + + * elf.c (elfcore_grok_openbsd_procinfo) + (elfcore_grok_openbsd_note): New functions. + (elf_parse_notes): Handle notes from OpenBSD ELF core files. + +2009-03-18 Alan Modra <amodra@bigpond.net.au> + + * vms-hdr.c: Don't include alloca.h. + * elf32-m68hc1x.c: Include alloca-conf.h. + * xsym.c: Likewise. + * elf64-hppa.c: Likewise. Remove existing #if's handling alloca. + * som.c: Likewise. + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2009-03-17 Daniel Jacobowitz <dan@codesourcery.com> + + * elf32-arm.c (elf32_arm_check_relocs): Correct symbian_p test. + +2009-03-17 Alan Modra <amodra@bigpond.net.au> + + * elf32-spu.h (struct spu_elf_params): ovly_flavour now only 1 bit. + Add compact_stub. + (emum _ovly_flavour): Delete ovly_compact, ovly_none. + * elf32-spu.c (struct spu_link_hash_table): Replace ovly_load and + ovly_return fields with ovly_entry[2]. Adjust all users. + (spu_elf_find_overlays): Set ovly_entry[1] from __icache_call_handler + when soft-icache. + (spu_elf_build_stubs): Likewise. + (ovl_stub_size): Change arg to spu_elf_params pointer. Adjust for + ovly_flavour changes. Update all callers. + (ovl_stub_size_log2): New function. + (build_stub): Handle compact icache stubs. Use different manager + entry point for stubs in non-icache area. + (spu_elf_size_stubs): Don't allocate space for indirect branch + descriptors. + (spu_elf_build_stubs): And don't built them. + +2009-03-16 Andrew Stubbs <ams@codesourcery.com> + + * dwarf2.c (read_section): Always use rawsize, if available. + +2009-03-16 Alan Modra <amodra@bigpond.net.au> + + * simple.c (bfd_simple_get_relocated_section_contents): Use larger + of rawsize and size for buffer. + +2009-03-15 Ulrich Weigand <uweigand@de.ibm.com> + + * elf32-spu.c (spu_elf_check_vma): Do not reset auto_overlay + parameter just because fixed sections fit into local store. + (spu_elf_auto_overlay): Do not declare as "noreturn". Skip + generating overlays if fixed sections plus reserved stack + and heap space fit into local store. + +2009-03-15 Alan Modra <amodra@bigpond.net.au> + + * elf32-spu.c (build_stub): Correct icache set_id. + (spu_elf_relocate_section): Likewise. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * xcofflink.c (xcoff_link_check_archive_element): Only free the + symbol table if it was created by the current call. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * xcofflink.c (xcoff_build_ldsyms): Give imported descriptors + class XMC_DS rather than XMC_UA. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * bfd-in.h (bfd_xcoff_size_dynamic_sections): Replace the + bfd_boolean export_defineds parameter with an unsigned int + auto_export_flags parameter. + * bfd-in2.h: Regenerate. + * xcofflink.c (xcoff_archive_contains_shared_object_p): New function, + split out from xcoff_build_ldsyms. + (xcoff_covered_by_expall_p): New function. + (xcoff_auto_export_p): New function, split out from xcoff_build_ldsyms + but with extra code to handle -bexpfull and -bexpall. + (xcoff_mark_auto_exports): New function. + (xcoff_build_ldsyms): Use xcoff_auto_export_p to decide whether + a function should be automatically exported. + (bfd_xcoff_size_dynamic_sections): Replace the export_defineds + parameter with an auto_export_flags parameter. Update ldinfo + accordingly. Use xcoff_mark_auto_exports to mark all automatically- + exported symbols. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * xcofflink.c (xcoff_mark_symbol_by_name): New function. + (bfd_xcoff_size_dynamic_sections): Use it to mark the entry, + init and fini functions. Do garbage collection for objects + without an entry point too. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * coffcode.h (coff_pointerize_aux_hook): Update CSECT_SYM_P to + check whether a symbol has csect information. + (coff_print_aux): Likewise. + * coff-rs6000.c (_bfd_xcoff_swap_aux_in): Handle auxillary csect + information for C_AIX_WEAKEXT too. + (_bfd_xcoff_swap_aux_out): Likewise. + (xcoff_reloc_type_br): Handle defweak symbols too. + * coff64-rs6000.c (_bfd_xcoff64_swap_aux_in): Handle auxillary csect + information for C_AIX_WEAKEXT too. + (_bfd_xcoff64_swap_aux_out): Likewise. + (xcoff64_reloc_type_br): Handle defweak symbols too. + * coffgen.c (coff_print_symbol): Handle auxillary function + information for C_AIX_WEAKEXT too. + * xcofflink.c (_bfd_xcoff_canonicalize_dynamic_symtab): Set BSF_WEAK + instead of BSF_GLOBAL if the L_WEAK flag is set. + (xcoff_dynamic_definition_p): New function. + (xcoff_link_add_dynamic_symbols): Use it to decide whether ldsym + defines h. Don't change h if ldsym isn't the definition. Otherwise, + always take the symbol class from the ldsym. Use weak bfd symbol + types for weak ldsyms. + (xcoff_link_add_symbols): Use CSECT_SYM_P and EXTERN_SYM_P. + Fix the check for whether a definition is from a shared object. + Allow redefinitions of weak symbols. + (xcoff_link_check_ar_symbols): Use EXTERN_SYM_P. + (xcoff_keep_symbol_p): Likewise. + (bfd_xcoff_size_dynamic_sections): Use CSECT_SYM_P. + (xcoff_link_input_bfd): Use CSECT_SYM_P and EXTERN_SYM_P. + Add .loader entries for C_AIX_WEAKEXT as well as C_EXT symbols, + but mark them as L_WEAK. + (xcoff_write_global_symbol): Treat weak symbols as C_AIX_WEAKEXT + instead of C_EXT if C_AIX_WEAKEXT == C_WEAKEXT. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * xcofflink.c (xcoff_mark): When walking the relocations, + only mark the target symbol or the target section, not both. + (xcoff_final_definition_p): New function. + (xcoff_keep_symbol_p): Use it to check whether an external XCOFF + symbol is a valid definition of the associated output symbol. + Use XCOFF_ALLOCATED to stop the same hash table entry having + two output symbols. + (bfd_xcoff_size_dynamic_sections): Set XCOFF_ALLOCATED when + keeping a symbol. + (xcoff_link_input_bfd): Use xcoff_final_definition_p. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * xcofflink.c (bfd_xcoff_import_symbol): Treat imported absolute + symbols as XMC_XO. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * libcoff-in.h (xcoff_tdata): Add a lineno_counts field. + * libcoff.h: Regenerate. + * xcofflink.c (xcoff_link_add_symbols): Record per-symbol + line-number counts in the bfd's lineno_counts field. + Don't keep per-csect line-number counts. + (xcoff_sweep): Don't update per-csect line-number counts. + (bfd_xcoff_size_dynamic_sections): Count the number of line-number + entries in each output section. + (xcoff_link_input_bfd): Get the number of line numbers from + the bfd's lineno_counts field, rather than recalculating it + from scratch. Fix the range check when updating C_BINCL and + C_EINCL symbols. + (_bfd_xcoff_bfd_final_link): Don't count the output line numbers + here. Don't expect csects to have line-number counts. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * libcoff-in.h (xcoff_tdata): Change debug_indices to a signed long. + * libcoff.h: Regenerate. + * xcofflink.c (xcoff_keep_symbol_p): New function, using the + "skip" logic from xcoff_link_input_bfd. + (bfd_xcoff_size_dynamic_sections): Explicitly skip dynamic + objects in a dynamic link, rather than checking whether csectpp + is null. Always allocate debug_index for other objects, + and always go through the loop. Update the type of debug_index + after the change above. Read the auxillary csect information + and use xcoff_keep_symbol_p to decide whether a symbol should + be kept. Set its debug_index to -2 if not. + (xcoff_link_input_bfd): Update the type of debug_index after + the change above and always expect it to be nonnull. Use it to + test whether a symbol should be stripped, rather than making the + decision here. Postpone all symbol creation to the second pass. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * xcofflink.c: (xcoff_mark_symbol): Mark the TOC section when + creating a descriptor. + (xcoff_sweep): Don't mark toc_section unless it's needed. + (bfd_xcoff_size_dynamic_sections): Skip the toc_section + when marking every bfd. + (xcoff_link_input_bfd): Skip all TOC anchors. + (xcoff_toc_section_p, xcoff_find_tc0): New functions. + (_bfd_xcoff_bfd_final_link): Don't set the output bfd's TOC anchor + to -1; call xcoff_find_tc0 instead. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * libcoff-in.h (xcoff_section_tdata): Update commentary. + * libcoff.h: Regenerate. + * xcofflink.c (xcoff_link_add_symbols): Set the csect of XTY_ER + symbols to bfd_und_section_ptr or bfd_abs_section_ptr, rather than + the previous symbol's csect. Treat last_symndx as an inclusive value + and simplify its handling. + (xcoff_mark): Treat last_symndx as an inclusive value. Only mark + symbols with the right csect. Don't mark rsec when processing + relocations against undefined or absolute sections. + (bfd_xcoff_size_dynamic_sections): Don't check the SEC_MARK flag + of bfd_und_section_ptr. + (xcoff_link_input_bfd): Likewise. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * coff-rs6000.c (xcoff_ppc_relocate_section): Report relocations + against undefined symbols if the symbol's XCOFF_WAS_UNDEFINED + flag is set. Assert that all undefined symbols are either + imported or defined by a dynamic object. + * coff64-rs6000.c (xcoff64_ppc_relocate_section): Likewise. + * xcofflink.c (xcoff_link_add_symbols): Extend function-symbol + handling to all relocations. Only set XCOFF_CALLED for function + symbols. + (xcoff_find_function): New function, split out from... + (bfd_xcoff_export_symbol) ...here. + (xcoff_set_import_path): New function, split out from... + (bfd_xcoff_import_symbol): ...here. Remove assertion for old + meaning of XCOFF_CALLED. + (xcoff_mark_symbol): If we mark an undefined and unimported + symbol, find some way of defining it. If the symbol is a function + descriptor, fill in its definition automatically. If the symbol + is a function, mark its descriptor and allocate room for global + linkage code. Otherwise mark the symbol as implicitly imported. + Move the code for creating function descriptors from... + (xcoff_build_ldsyms): ...here. Use XCOFF_WAS_UNDEFINED to + check for symbols that were implicitly defined. + (xcoff_mark): Don't count any dynamic relocations against + function symbols. + (bfd_xcoff_size_dynamic_sections): Save the rtld parameter + in the xcoff link info. + (xcoff_link_input_bfd): Remove handling of undefined and + unexported symbols. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * coff-rs6000.c (xcoff_reloc_type_br): Make the branch absolute + if the target is absolute. Fix comment typo. + (xcoff_ppc_relocate_section): Remove FIXME. + * coff64-rs6000.c (xcoff64_reloc_type_br): Make the branch absolute + if the target is absolute. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * xcofflink.c (xcoff_mark, xcoff_link_input_bfd): Don't copy + R_POS and R_NEG relocations against absolute symbols to the + .loader section. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * coff64-rs6000.c (xcoff64_write_object_contents): Set the cputype + to 2 for bfd_mach_ppc_620. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * config.bfd: Treat AIX 6+ in the same way as AIX 5. + * configure.in: Likewise. + * configure: Regenerate. + +2009-03-13 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/9945 + * elf.c (assign_section_numbers): Generate symbol table if there + is any relocation in output. + (_bfd_elf_compute_section_file_positions): Likewise. + +2009-03-13 Nick Clifton <nickc@redhat.com> + + PR 9934 + * elf-bfd.h (NUM_SHDR_ENTRIES): Cope with an empty section. + * elflink.c (elf_link_read_relocs_from_section): Use + NUM_SHDR_ENTRIES. Gracefully handle the case where there are + relocs but no symbol table. + * elf32-arm.c (elf32_arm_check_relocs): Likewise. + +2009-03-12 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/9938 + * elf32-i386.c (elf_i386_check_tls_transition): Use strncmp + to check ___tls_get_addr. + + * elf64-x86-64.c (elf64_x86_64_check_tls_transition): Use + strncmp to check __tls_get_addr. + +2009-03-12 Andrew Stubbs <ams@codesourcery.com> + + * dwarf2.c (read_section): Always check the offset, even when the + section has been read before. + +2009-03-11 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c (elf_i386_check_tls_transition): Fix a typo in + comments. + +2009-03-11 Chris Demetriou <cgd@google.com> + + * bfd.c (BFD_DETERMINISTIC_OUTPUT): New flag. + * bfd-in2.h: Regenerate. + * archive.c (bfd_ar_hdr_from_filesystem): If BFD_DETERMINISTIC_OUTPUT + flag is set, use 0 for uid, gid, and timestamp, and use 0644 for file + mode. + (bsd_write_armap): Likewise. + (_bfd_archive_bsd_update_armap_timestamp): If BFD_DETERMINISTIC_OUTPUT + flag is set, do nothing. + (coff_write_armap): If BFD_DETERMINISTIC_OUTPUT flag is set, use 0 + for timestamp. + +2009-03-11 Ulrich Weigand <uweigand@de.ibm.com> + + * elf32-spu.c (find_function_stack_adjust): Handle sf instruction + used to update stack pointer. + +2009-03-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + PR binutils/9921 + * som.c (som_bfd_derive_misc_symbol_info): Set symbol type ST_ABSOLUTE + for unknown symbols in absolute section. + +2009-03-06 Nick Clifton <nickc@redhat.com> + + * po/es.po: Updated Spanish translation. + +2009-03-05 Christophe Lyon <christophe.lyon@st.com> + + * elf32-arm.c (group_sections): Take next section size into + account before accepting to group it. + +2009-03-05 Christophe Lyon <christophe.lyon@st.com> + + * elf32-arm.c (arm_type_of_stub): Handle long branches targetting + PLT entries. + (elf32_arm_final_link_relocate): Likewise. + +2009-03-05 Moritz Kroll <Moritz.Kroll@gmx.de> + + PR 9923 + * peXXigen.c (_bfd_XXi_final_link_postscript): Check h->root.type. + +2009-03-04 Alan Modra <amodra@bigpond.net.au> + + * reloc.c (BFD_RELOC_PPC_TLSGD, BFD_RELOC_PPC_TLSLD): New. + * section.c (struct bfd_section): Add has_tls_get_addr_call. + (BFD_FAKE_SECTION): Init new flag. + * ecoff.c (bfd_debug_section): Likewise. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + * elf32-ppc.c (ppc_elf_howto_raw): Add R_PPC_TLSGD and R_PPC_TLSLD. + (ppc_elf_reloc_type_lookup): Handle new relocs. + (ppc_elf_check_relocs): Set has_tls_get_addr_call on finding such + without marker relocs. + (ppc_elf_tls_optimize): Allow out-of-order __tls_get_addr relocs + if section has no old-style calls. + (ppc_elf_relocate_section): Set tls_mask for non-tls relocs too. + Don't try to optimize new-style __tls_get_addr call when handling + arg setup relocs. Instead do so for R_PPC_TLSGD and R_PPC_TLSLD + relocs. + * elf64-ppc.c (ppc64_elf_howto_raw): Add R_PPC64_TLSGD, R_PPC64_TLSLD. + (ppc64_elf_reloc_type_lookup): Handle new relocs. + (ppc64_elf_check_relocs): Set has_tls_get_addr_call on finding such + without marker relocs. + (ppc64_elf_tls_optimize): Allow out-of-order __tls_get_addr relocs + if section has no old-style calls. Set toc_ref for new relocs as + appropriate. + (ppc64_elf_relocate_section): Set tls_mask for non-tls relocs too. + Don't try to optimize new-style __tls_get_addr call when handling + arg setup relocs. Instead do so for R_PPC_TLSGD and R_PPC_TLSLD + relocs. + +2009-03-04 Alan Modra <amodra@bigpond.net.au> + + PR 6768 + * configure.in: Test for ld --as-needed support. Link shared + libbfd against libm. + * configure: Regenerate. + +2009-03-03 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2009-03-02 Qinwei <qinwei@sunnorth.com.cn> + + * elf32-score7.c: New file. + * elf32-score.h: New file. + * elf32-score.c: Add code to support score 7. Set score7 as the + default. + * cpu-score.c: Add score7 architecure. + (compatibile): New function. + * Makefile.am: Add rules for building elf32-score7 object. + * Makefile.in: Regenerate. + * configure.in: Add elf32-score7 object to score vectors. + * configure: Regenerate. + * reloc.c: Add score7 relocs. + * archures.c: Add score3 and score7 machine numbers. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + +2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * configure: Regenerate. + +2009-03-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * elf32-hppa.c (hppa32_elf_local_refcounts): New function. + (elf32_hppa_check_relocs): Use it. + + * elf_hppa_add_symbol_hook (elf_hppa_add_symbol_hook): Move to + elf64-hppa.c. + (elf_hppa_unmark_useless_dynamic_symbols): Likewise. + (elf_hppa_remark_useless_dynamic_symbols): Likewise. + (elf_hppa_is_dynamic_loader_symbol): Likewise. + (elf_hppa_record_segment_addrs): Likewise. + (elf_hppa_final_link): Likewise. + (elf_hppa_relocate_insn): Likewise. + (elf_hppa_final_link_relocate): Likewise. + (elf64_hppa_relocate_section): Likewise. + * elf64-hppa.c: Insert above. + +2009-02-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * elf-hppa.h (elf_hppa_final_link): Use elf_hppa_final_link. + (elf_hppa_final_link_relocate ): Rewrite eliminating dynamic hash table. + (elf_hppa_relocate_section): Likewise. + * elf64-hppa.c (struct elf64_hppa_link_hash_entry): Change to derive + from struct elf_link_hash_entry. Add count field. + (struct elf64_hppa_dyn_hash_table): Delete. + (struct elf64_hppa_link_hash_table): Delete dyn_hash_table field. + (elf64_hppa_hash_table): Rename to hppa_link_hash_table. + (hppa_elf_hash_entry, eh_name): Define. + (elf64_hppa_new_dyn_hash_entry): Delete. + (elf64_hppa_dyn_hash_lookup): Delete. + (elf64_hppa_dyn_hash_traverse): Delete. + (get_dyn_name): Delete. + (elf64_hppa_finalize_opd): Use struct elf_link_hash_entry * instead + of struct elf64_hppa_dyn_hash_entry *. + (elf64_hppa_finalize_dlt, llocate_global_data_dlt, + allocate_global_data_plt, allocate_global_data_stub, + allocate_global_data_opd, count_dyn_reloc, allocate_dynrel_entries): + Likewise. + (hppa64_link_hash_newfunc): New. + (elf64_hppa_hash_table_create): Rework. + (count_dyn_reloc): Likewise. + (hppa64_elf_local_refcounts): New. + (elf64_hppa_check_relocs): Rework using standard technique for recording + local DLT, PLT and OPD reference counts. + (elf64_hppa_dynamic_symbol_p): Revise using "eh" for struct + elf_link_hash_entry *. + (elf64_hppa_mark_exported_functions, allocate_global_data_dlt, + allocate_global_data_plt, allocate_global_data_stub, + allocate_global_data_opd, allocate_dynrel_entries, + elf64_hppa_adjust_dynamic_symbol, + elf64_hppa_mark_milli_and_exported_functions): Likewise. + (elf64_hppa_create_dynamic_sections, elf64_hppa_size_dynamic_sections): + Use hppa_link_hash_table. Rework. + (elf64_hppa_link_output_symbol_hook): Rework. + (elf64_hppa_finish_dynamic_symbol, elf64_hppa_finalize_opd, + elf64_hppa_finalize_dlt, elf64_hppa_finalize_dynreloc, + elf64_hppa_finish_dynamic_sections): Likewise. + +2009-02-26 Christophe Lyon <christophe.lyon@st.com> + + * elf32-arm.c (stub_reloc_type): Removed. + (insn_sequence): Renamed reloc_type field to r_type. + (elf32_arm_stub_long_branch_v4t_arm_thumb_pic): New stub. + (elf32_arm_stub_long_branch_v4t_thumb_arm_pic): Likewise. + (elf32_arm_stub_long_branch_thumb_only_pic): Likewise. + (elf32_arm_stub_type): Add new enum entries for the new stubs. + (arm_stub_is_thumb): Catch new stubs. + (arm_type_of_stub): Handle new stubs. + (arm_size_one_stub): Use ARRAY_SIZE. Handle new stubs. + (bfd_elf32_arm_process_before_allocation): Remove useless + condition. + +2009-02-25 H.J. Lu <hongjiu.lu@intel.com> + + * elf.c (elf_find_function): Use is_function_type to check + function symbol. + +2009-02-24 Sterling Augustine <sterling@jaw.hq.tensilica.com> + + * xtensa-modules.c: Revert to previous version 1.11 due + to inadvertant commit. + +2009-02-24 Sterling Augustine <sterling@tensilica.com> + + * elf32-xtensa.c (text_action_add): Separate test for action + type. Break if saved action is ta_widen_insn at same offset. + +2009-02-24 Daniel Jacobowitz <dan@codesourcery.com> + + * elf32-arm.c (elf32_arm_stub_long_branch_any_any_pic): Rename + to elf32_arm_stub_long_branch_any_arm_pic. + (elf32_arm_stub_long_branch_any_thumb_pic): New. + (enum elf32_arm_stub_type, arm_type_of_stub) + (arm_size_one_stub): Handle any to ARM PIC and any to Thumb PIC + separately. + +2009-02-24 Joseph Myers <joseph@codesourcery.com> + + * elf32-arm.c (PREV_SEC): Update comment. + (group_sections): Rename argument to stubs_always_after_branch. + Reverse the list and place stubs at the end of input sections. + Undefine NEXT_SEC. + (elf32_arm_size_stubs): Update to use stubs_always_after_branch. + +2009-02-23 Daniel Jacobowitz <dan@codesourcery.com> + + * elf32-arm.c (arm_build_one_stub): Initialize stub_reloc_offset. + Fix formatting. + (arm_size_one_stub): Remove unnecessary break. + (arm_map_one_stub): Fix formatting. Return after BFD_FAIL. + +2009-02-23 Christophe Lyon <christophe.lyon@st.com> + + * elf32-arm.c (stub_insn_type): New type. + (stub_reloc_type): Likewise. + (insn_sequence): Likewise. + (elf32_arm_stub_long_branch_any_any): Encode using insn_sequence. + (elf32_arm_stub_long_branch_v4t_arm_thumb): Likewise. + (elf32_arm_stub_long_branch_thumb_only): Likewise. + (elf32_arm_stub_long_branch_v4t_thumb_arm): Likewise. + (elf32_arm_stub_short_branch_v4t_thumb_arm): Likewise. + (elf32_arm_stub_long_branch_any_any_pic): Likewise. + (elf32_arm_stub_hash_entry): Add new helper fields. + (stub_hash_newfunc): Initialize these new fields. + (arm_build_one_stub): Encode Arm and Thumb instructions separately + to take endianness into account. + (arm_size_one_stub): Compute size of stubs using insn_sequence. + (arm_map_one_stub): Code is now more generic, thanks to + insn_sequence. + +2009-02-23 Christophe Lyon <christophe.lyon@st.com> + + * elf32-arm.c (elf32_arm_stub_long_branch_thumb_only): Fix stub + code. + (elf32_arm_stub_long_branch_v4t_thumb_arm): Likewise. + (arm_type_of_stub): Use Thumb-only long branch stub (non-PIC) when + BLX is not available. Fix typo in warning message. Add comments + and improve formatting. + (arm_build_one_stub): Adjust to new + elf32_arm_stub_long_branch_v4t_thumb_arm stub. + (arm_map_one_stub): Likewise. + +2009-02-23 Tristan Gingold <gingold@adacore.com> + Eric Botcazou <ebotcazou@adacore.com> + Douglas B Rupp <rupp@gnat.com> + + * vms.h: Update copyright year, fix comments, reorder declarations. + (_bfd_save_vms_section): Remove the prototype. + (EGPS_S_V_NO_SHIFT): New constant. + (bfd_vms_set_section_flags): New prototype. + (EGPS_S_B_ALIGN, EGPS_S_W_FLAGS, EGPS_S_L_ALLOC, EGPS_S_B_NAMLNG): New + constants. + (EGSY_S_W_FLAGS): Ditto. + (EGSY_S_V_QUAD_VAL): Ditto. + (ESDF_S_L_VALUE, ESDF_S_L_PSINDX, ESDF_S_B_NAMLNG): Ditto. + (EGST_S_W_FLAGS, EGST_S_Q_LP_1, EGST_S_Q_LP_2, EGST_S_L_PSINDX, + EGST_S_B_NAMLNG): Ditto. + (ESRF_S_B_NAMLNG): Ditto. + (ETIR_S_C_HEADER_SIZE): Ditto. + (EGPS_S_V_ALLOC_64BIT): Ditto. + (DST_S_C_EPILOG): Ditto. + (DST_S_C_SRC_SETLNUM_L, DST_S_C_SRC_SETLNUM_W) : Ditto. + (DST_S_C_SRC_INCRLNUM_B): Ditto. + (DST_S_B_PCLINE_UNSBYTE, DST_S_W_PCLINE_UNSWORD): Ditto. + (DST_S_L_PCLINE_UNSLONG): Ditto. + (DST_S_B_MODBEG_NAME, DST_S_L_RTNBEG_ADDRESS) : Ditto + (DST_S_B_RTNBEG_NAME, DST_S_L_RTNEND_SIZE): Ditto + (DST_S_C_SOURCE_HEADER_SIZE): Ditto. + (DST_S_B_SRC_DF_LENGTH, DST_S_W_SRC_DF_FILEID): Ditto. + (DST_S_B_SRC_DF_FILENAME, DST_S_B_SRC_UNSBYTE): Ditto. + (DST_S_B_SRC_UNSBYTE): Ditto. + (DST_S_W_SRC_UNSWORD, DST_S_L_SRC_UNSLONG): Ditto. + Add prototypes. + (vms_section, vms_reloc): Remove types. + (hdr_struc): Replaced by ... + (hdr_struct): ... new type. + (EMH_S_W_HDRTYP, EMH_S_B_STRLVL, EMH_S_L_ARCH1): New constants. + (EMH_S_L_ARCH2, EMH_S_L_RECSIZ, EMH_S_B_NAMLNG): Ditto. + (EMH_DATE_LENGTH): Ditto. + (eom_struc): Replaced by ... + (eom_struct): ... new type. + (EEOM_S_L_TOTAL_LPS, EEOM_S_W_COMCOD, EEOM_S_B_TFRFLG): New constants. + (EEOM_S_L_PSINDX, EEOM_S_L_TFRADR): Ditto. + (EIHD_S_K_MAJORID, EIHD_S_K_MINORID, EIHD_S_K_EXE): Ditto. + (EIHD_S_L_SIZE, EIHD_S_L_ISDOFF, EIHD_S_L_SYMDBGOFF): Ditto. + (EIHD_S_Q_SYMVVA, EIHD_S_L_IMGTYPE): Ditto. + (EISD_S_L_EISDSIZE, EISD_S_L_SECSIZE, EISD_S_Q_VIR_ADDR): Ditto. + (EISD_S_L_FLAGS, EISD_S_L_VBN, EISD_S_R_CONTROL): Ditto. + (EISD_S_L_IDENT, EISD_S_T_GBLNAM): Ditto. + (EISD_S_M_GBL, EISD_S_M_CRF, EISD_S_M_DZRO, EISD_S_M_WRT): Ditto. + (EISD_S_M_INITALCODE, EISD_S_M_BASED, EISD_S_M_FIXUPVEC): Ditto. + (EISD_S_M_RESIDENT, EISD_S_M_VECTOR, EISD_S_M_PROTECT): Ditto. + (EISD_S_M_LASTCLU, EISD_S_M_EXE, EISD_S_M_NONSHRADR): Ditto. + (EISD_S_M_QUAD_LENGTH, EISD_S_M_ALLOC_64BIT): Ditto. + (EIHS_S_L_DSTVBN, EIHS_S_L_DSTSIZE, EIHS_S_L_GSTVBN): Ditto. + (EIHS_S_L_GSTSIZE, EIHS_S_L_DMTVBN, EIHS_S_L_DMTBYTES): Ditto. + (DBG_S_L_DMT_MODBEG, DBG_S_L_DST_SIZE): Ditto. + (DBG_S_W_DMT_PSECT_COUNT, DBG_S_C_DMT_HEADER_SIZE): Ditto. + (DBG_S_L_DMT_PSECT_START, DBG_S_L_DMT_PSECT_LENGTH) + (DBG_S_C_DMT_PSECT_SIZE): Ditto. + (enum file_type_enum): New type. + (struct location_struct): Removed. + (struct fileinfo, struct srecinfo, struct lineinfo): New types. + (struct funcinfo, struct module): Ditto. + (struct vms_private_data_struct): Update fields. + (struct vms_section_data_struct): New type. + + * vms.c: Update copyright year, fix comments, + Fix includes for DECC, add prototypes. + (vms_initialize): Use bfd_alloc instead of bfd_zalloc and remove + some initializers. + Use flavour to set is_vax, location_stack is removed. + (struct pair): Declare. + (fill_section_ptr): Initialize variables at declaration. + Add guard to set SECTION_SYM flag, handlde und section. + (vms_fixup_sections): Use struct pair for fill_section_ptr argument. + (_bfd_vms_slurp_object_records): New function, replaces previous + vms_object_p. + (vms_slurp_module): New function. + (vms_slurp_image): Ditto. + (vms_object_p): Complete rewrite. + (vms_mkobject): Use is_vax field to slect architecture. + (free_reloc_stream): New function. + (vms_convert_to_var): Ditto. + (vms_convert_to_var_1): Ditto. + (vms_convert_to_var_unix_filename): Ditto. + (vms_close_and_cleanup): Call free_reloc_stream, convert file to + VAR format on VMS. + (vms_new_section_hook): Set alignment to 0, allocate private data. + (vms_get_section_contents): Load content. + (vms_get_symbol_info): Handle undefined section. + (vms_find_nearest_line): Handle. + (alloc_reloc_stream): New function. + (vms_slurp_reloc_table): Ditto. + (vms_get_reloc_upper_bound): Make it real. + (vms_canonicalize_reloc): Do the real work. + (alpha_howto_table): Add ALPHA_R_NOP, ALPHA_R_BSR, ALPHA_R_LDA, + ALPHA_R_BOH. + (vms_bfd_reloc_type_lookup): Handle NOP, BSR, LDA and BOH. + (vms_set_arch_mach): Check arch. + (vms_set_section_contents): Copy the content after allocation. + (vms_alpha_vec): Update object flags. + + * vms-tir.c: Update copyright year, fix comments, + add prototypes for new functions. + (dst_define_location): New function. + (dst_restore_location): New function. + (dst_retrieve_location): New function. + (dst_check_allocation): New function. + (image_dump): Call dst_check_allocation. + (image_write_b): Ditto. + (image_write_w): Ditto. + (image_write_l): Ditto. + (image_write_q): Ditto. + (cmd_name): Handle STA_LW, STA_QW, STO_OFF, STO_IMM, STO_IMMR, STO_LW, + STO_QW, OPR_ADD, CTL_SETRB, STC_LP_PSB, CTL_DFLOC, CTL_STLOC, + CTL_STKDL. + Call error handler instead of abort if name is not known. + (etir_sta): Add quarter_relocs argument and set it. + Fix cast. + (etir_sto): Ditto. + (etir_opr): Ditto, return FALSE in case of error. + (etir_ctl): Add quarter_relocs argument and set it, fix cast. + Fix CTL_DFLOC, CTL_STLOC, CTL_STKDL. + (etir_stc): Add quarter_relocs argument and set it, fix cast. + Fix STC_LP, STC_LP_PSB, STC_GBL and STC_CGA. + Handle STC_LP_PSB, STC_BSR_GBL, STC_LDA_GBL, STC_BOH_GBL. + Move STC_NOP_PS, STC_BSR_PS, STC_LDA_PS, STC_BOH_PS, STC_NBH_PS. + Return FALSE in case of error. + (tir_sta): Change sign of psect. + (tir_ctl): Ditto. + (tir_cmd): Fix cast. Makes tir_table static const. + (etir_cmd): Add quarter_relocs argument, makes etir_table const, + add argument to explain. + (analyze_etir): Initialize maxptr, add quarter_relocs + declaration, move some declarations into inner scopes. + Handle quarter_relocs and STO_IMM. + (_bfd_vms_slurp_tir): Use constant instead of hard-coded values. + (_bfd_vms_slurp_relocs): New function. + (_bfd_vms_decode_relocs): New function. + (sto_imm): Rewritten. + (start_first_etbt_record): New function. + (start_another_etbt_record): Ditto. + (etir_output_check): Ditto. + (defer_reloc_p): Ditto. + (_bfd_vms_write_tir): Remove nextoffset, convert a while-loop to + a for-loop. Correctly deals with contents, deals with .vmsdebug, + rewritte relocations handling. + (_bfd_vms_write_tbt): Removed. + (_bfd_vms_write_dbg): Ditto. + + * vms-misc.c: Update copyright year, Fix comments. + (_bfd_vms_get_header_values): Use 'size' instead of 'length'. + (maybe_adjust_record_pointer_for_object): New function. + (_bfd_vms_get_first_record): New function, replaces ... + (_bfd_vms_get_record): .. removed. + (_bfd_vms_get_object_record): New function. + (_bfd_vms_get_object_record): New function. + (vms_get_remaining_object_record): New function, replaces ... + (_bfd_vms_get_next_record): ... removed. + (add_new_contents): Removed. + (_bfd_save_vms_section): Removed. + (_bfd_get_vms_section): Removed. + (_bfd_vms_output_flush): Write in VAR format. + (new_symbol): Don't make UND section. + + * vms-hdr.c: Update copyright year, update list of record handled. + (_bfd_vms_slurp_hdr): rec_length renamed to rec_size. + (_bfd_vms_write_hdr): Strip vms and unix patches, + add comments, truncate module name at 31 characters, + use constants instead of hard-coded value, + write BFD version instead of a fixed string. + (_bfd_vms_slurp_ihd): New function. + (_bfd_vms_slurp_isd): Ditto. + (_bfd_vms_slurp_ihs): Ditto. + (new_module): Ditto. + (parse_module): Ditto + (build_module_list): Ditto. + (module_find_nearest_line): Ditto. + (_bfd_vms_find_nearest_dst_line): Ditto. + (vms_slurp_debug): Ditto. + (_bfd_vms_slurp_dbg): Ditto. + (_bfd_vms_slurp_tbt): Ditto. + (_bfd_vms_write_dbg): Ditto. + (_bfd_vms_write_tbt): Ditto. + + * vms-gsd.c: Update copyright year, update list of records handled. + (EVAX_LITERALS_NAME): New macro. + (evax_section_flags): Add an entry for EVAX_LITERALS_NAME. + (gpsflagdesc, gsyflagdesc): Moved out of _bfd_vms_slurp_gsd. + (register_universal_symbol): New function and prototype. + (_bfd_vms_slurp_gsd): Fix indentations and casts, + improve debug messages, + use constants instead of hard-coded value, + fix missing endianness conversion, + handle global symbol (SYMG). + (bfd_vms_set_section_flags): New function. + (_bfd_vms_write_gsd): Don't write .vmsdebug section, + handle section literals, + fix indentation, + handle section bfd and vms flags, + don't output LIB$INITIALIZE symbol, + fix handling of weak symbols, + fix evax vs vax procedure descriptor, + handle absolute symbols. + + * reloc.c (BFD_RELOC_ALPHA_NOP, BFD_RELOC_ALPHA_BSR, + BFD_RELOC_ALPHA_LDA, BFD_RELOC_ALPHA_BOH): New relocations. + + * makefile.vms (DEFS): Fix flags for VMS. + + * bfdio.c (real_fopen): Handle multiple VMS fopen attributes. + + * bfd-in2.h: Regenerated. + * libbfd.h: Regenerated. + +2009-02-20 Cary Coutant <ccoutant@google.com> + + * vmsutil.c (vms_file_stats_name): Fix incorrect use of st_mtime + in struct stat. + +2009-18-02 Dave Korn <dave.korn.cygwin@gmail.com> + + PR gas/7059 + * coffcode.h (coff_write_object_contents): Don't let the string + table offset overflow the s_name field when using long section names. + +2009-18-02 Dave Korn <dave.korn.cygwin@gmail.com> + + * coff-alpha.c (alpha_ecoff_backend_data): Initialise fields which + control long section name handling with ECOFF_NO_LONG_SECTION_NAMES. + * coff-mips.c (mips_ecoff_backend_data): Likewise. + * coff-rs6000.c (bfd_xcoff_backend_data): Initialise fields which + control long section name handling with XCOFF_NO_LONG_SECTION_NAMES. + (bfd_pmac_xcoff_backend_data): Likewise. + * coff64-rs6000.c (bfd_xcoff_backend_data): Likewise. + (bfd_xcoff_aix5_backend_data): Likewise. + (xcoff64_write_object_contents): Delete unused long_section_names + local variable. + * coff-sh.c (bfd_coff_small_swap_table): Initialise long section + name members using COFF_DEFAULT_LONG_SECTION_NAMES and make entire + struct non-const. + * coffcode.h (documentation): Update to describe long section names. + (COFFLONGSECTIONCATHELPER): New helper macro. + (BLANKOR1TOODD): Likewise. + (COFF_ENABLE_LONG_SECTION_NAMES): Likewise. + (COFF_LONG_SECTION_NAMES_SETTER): Likewise. + (COFF_DEFAULT_LONG_SECTION_NAMES): Likewise. + (bfd_coff_set_long_section_names_allowed): New function. + (bfd_coff_set_long_section_names_disallowed): Likewise. + (struct bfd_coff_backend_data): Add new backend hook function + pointer _bfd_coff_set_long_section_names. + (bfd_coff_set_long_section_names): New backend hook. + (coff_write_object_contents): Only generate long section names if + bfd_coff_long_section_names() indicates they are currently enabled. + (bfd_coff_std_swap_table): Make non-const, and initialise long + section name fields using COFF_DEFAULT_LONG_SECTION_NAMES. + (ticoff0_swap_table): Likewise to both. + (ticoff1_swap_table): Again, likewise to both. + * coffgen.c (make_a_section_from_file): Allow long section names + as inputs even if not currently allowed for outputs. + * ecoff.c (_bfd_ecoff_no_long_sections): New function. + * efi-app-ia32.c (COFF_LONG_SECTION_NAMES): Define to 0, not blank. + * efi-app-ia64.c (COFF_LONG_SECTION_NAMES): Likewise. + * efi-app-x86_64.c (COFF_LONG_SECTION_NAMES): Likewise. + * efi-bsdrv-ia32.c (COFF_LONG_SECTION_NAMES): Likewise. + * efi-bsdrv-ia64.c (COFF_LONG_SECTION_NAMES): Likewise. + * efi-bsdrv-x86_64.c (COFF_LONG_SECTION_NAMES): Likewise. + * efi-rtdrv-ia32.c (COFF_LONG_SECTION_NAMES): Likewise. + * efi-rtdrv-ia64.c (COFF_LONG_SECTION_NAMES): Likewise. + * efi-rtdrv-x86_64.c (COFF_LONG_SECTION_NAMES): Likewise. + * pei-arm.c (COFF_LONG_SECTION_NAMES): Likewise. + * pei-i386.c (COFF_LONG_SECTION_NAMES): Likewise. + * pei-mcore.c (COFF_LONG_SECTION_NAMES): Likewise. + * pei-mips.c (COFF_LONG_SECTION_NAMES): Likewise. + * pei-ppc.c (COFF_LONG_SECTION_NAMES): Likewise. + * pei-sh.c (COFF_LONG_SECTION_NAMES): Likewise. + * pei-x86_64.c (COFF_LONG_SECTION_NAMES): Likewise. + * libcoff-in.h: Update copyright year to cause updated copyright + year in generated libcoff.h, and fix typo. + * libcoff.h: Regenerated. + * libecoff.h (ECOFF_NO_LONG_SECTION_NAMES): New macro. + (_bfd_ecoff_no_long_sections): Add prototype. + * libxcoff.h (XCOFF_NO_LONG_SECTION_NAMES): New macro. + * pe-mips.c (COFF_LONG_SECTION_NAMES): Define empty if not already + defined by an including .c file. + * ticoff.h (ticoff0_swap_table): Make non-const, and initialise + long section name fields using COFF_DEFAULT_LONG_SECTION_NAMES. + (ticoff1_swap_table): Likewise to both. + +2009-02-18 Christophe Lyon <christophe.lyon@st.com> + + * elf32-arm.c (arm_build_one_stub): Fix relocation target for pic + stub. Catch default case error. + (arm_map_one_stub): Add missing Thumb mapping symbol. + +2009-02-18 Bjoern Haase <bjoern.m.haase@web.de> + + PR 9841 + * elf32-avr.c: Handle case where no local symbos exist correctly. + +2009-02-16 Christophe Lyon <christophe.lyon@st.com> + + bfd/ + * elf32-arm.c (arm_long_branch_stub, + arm_thumb_v4t_long_branch_stub, + arm_thumb_thumb_long_branch_stub, + arm_thumb_arm_v4t_long_branch_stub, + arm_thumb_arm_v4t_short_branch_stub, + arm_pic_long_branch_stub): + Renamed to elf32_arm_stub_long_branch_any_any, + elf32_arm_stub_long_branch_v4t_arm_thumb, + elf32_arm_stub_long_branch_thumb_only, + elf32_arm_stub_long_branch_v4t_thumb_arm, + elf32_arm_stub_short_branch_v4t_thumb_arm, + elf32_arm_stub_long_branch_any_any_pic. + (arm_stub_long_branch, arm_thumb_v4t_stub_long_branch, + arm_thumb_thumb_stub_long_branch, + arm_thumb_arm_v4t_stub_long_branch, + arm_thumb_arm_v4t_stub_short_branch, arm_stub_pic_long_branch): + Renamed to arm_stub_long_branch_any_any, + arm_stub_long_branch_v4t_arm_thumb, + arm_stub_long_branch_thumb_only, + arm_stub_long_branch_v4t_thumb_arm, + arm_stub_short_branch_v4t_thumb_arm, + arm_stub_long_branch_any_any_pic. + +2009-02-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * elf-hppa.h (elf_hppa_final_link_relocate): Correct addend value used + in branch offset check. + +2009-02-15 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (struct _ppc64_elf_section_data): Delete t_symndx, + add toc.symndx and toc.add. + (ppc64_elf_check_relocs): Don't set htab->tls_get_addr here. + Set up toc.add. + (get_tls_mask): Add toc_addend param, set from toc.add. Adjust all + callers. + (ppc64_elf_tls_setup): Set htab->tls_get_addr and tls_get_addr_fd. + (branch_reloc_hash_match): New function, extracted from.. + (ppc64_elf_tls_optimize): ..here. + (ppc64_elf_relocate_section): Properly set addends when optimizing + tls sequences. Avoid unnecessary reading and writing of insns. + Only redo reloc when symbol changed. Bypass symbol checks when + using tlsld_got. + * elf32-ppc.c (ppc_elf_tls_setup): Correct comment. + (branch_reloc_hash_match): New function, extracted from.. + (ppc_elf_tls_optimize): ..here. + (ppc_elf_relocate_section): Avoid unnecessary reading of insns. + Don't clear addend on zapped __tls_get_addr reloc. + +2009-02-12 Nick Clifton <nickc@redhat.com> + + PR 9827 + * elflink.c (bfd_elf_final_link): When counting the relocations, + if the header size has not been set yet then assume that it will + match the output section's reloc type. + +2009-02-12 Nathan Sidwell <nathan@codesourcery.com> + + * elf32-mips.c (mips_elf_final_gp): Don't add 0x4000 offset for + relocatable link. + +2009-02-09 Alan Modra <amodra@bigpond.net.au> + + * elf32-spu.c (spu_elf_find_overlays): Call bfd_set_error on errors. + (find_function): Likewise. + (pasted_function): Don't error if no prior function found. + (discover_functions): Revert 2008-12-10 change. Extend first + function range to start of section. + +2009-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * elf64-hppa.c: Remove PARAMS macro. Replace PTR with void *. Convert + functions to C90. + * elf64-hppa.h: Likewise. + +2009-02-06 Joseph Myers <joseph@codesourcery.com> + + * elfxx-mips.c (_bfd_mips_elf_section_processing): Remove special + .sbss handling. + +2009-02-04 Alan Modra <amodra@bigpond.net.au> + + * elf32-spu.c (spu_elf_build_stubs): Define __icache_neg_log2_linesize. + Define __icache_ptr_handler*, not __icache_ptr___icache_bi_handler*. + +2009-02-03 Sandip Matte <sandip@rmicorp.com> + + * aoutx.h (NAME (aout, machine_type)): Handle bfd_mach_mips_xlr. + * archures.c (bfd_mach_mips_xlr): Define. + * bfd-in2.h: Regenerate. + * cpu-mips.c (I_xlr): Define. + (arch_info_struct): Add XLR entry. + * elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_XLR. + (mips_set_isa_flags): Handle bfd_mach_mips_xlr + (mips_mach_extensions): Add XLR entry. + +2009-02-03 Eric B. Weddington <eric.weddington@atmel.com> + + * elf32-avr.c (avr_final_link_relocate): Allow avr25 to wraparound. + +2009-02-03 Carlos O'Donell <carlos@codesourcery.com> + + * configure.in: AC_SUBST pdfdir. + * Makefile.am: Add install-pdf, install-pdf-am + and install-pdf-recursive targets. Define pdfdir. + * doc/Makefile.am: Define pdf__strip_dir. Add + install-pdf and install-pdf-am targets. + * po/Make-in: Add install-pdf target. + * configure: Regenerate. + * Makefile.in: Regenerate + * doc/Makefile.in: Regenerate. + +2009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com> + + * bfd-in2.h: Regenerate. + * elf32-m68k.c: Handle 2-slot GOT entries. Rename variables and + fields from n_entries to n_slots where appropriate, update comments. + (HOWTO): Add TLS relocations. + (reloc_map): Map BFD_RELOC_68K_TLS_* to R_68K_TLS_*. + (enum elf_m68k_got_offset_size): New enum. + (struct elf_m68k_got_entry.type): Move field to ... + (struct elf_m68k_got_entry_key): ... here. Update all uses. + (elf_m68k_reloc_got_type, elf_m68k_reloc_got_offset_size): New static + functions. + (elf_m68k_reloc_got_n_entries, elf_m68k_reloc_tls_p): New static + functions. + (struct elf_m68k_got): merge rel_8o_n_entries and rel_8o_16o_n_entries + fields into n_entries array. Update comments. + (elf_m68k_init_got): Simplify, update all uses. + (elf_m68k_init_got_entry_key): Handle R_68K_TLS_LDM32 reloc, update. + (ELF_M68K_REL_8O_MAX_N_ENTRIES_IN_GOT): Adjust to handle 2-slot + GOT entries; update name, update all uses. + (ELF_M68K_REL_8O_16O_MAX_N_ENTRIES_IN_GOT): Ditto. + (elf_m68k_get_got_entry): Update. + (elf_m68k_update_got_entry_type): Rewrite to handle TLS GOT entries, + simplify. + (elf_m68k_remove_got_entry_type): Simplify. + (elf_m68k_add_entry_to_got, elf_m68k_can_merge_gots_1): Update. + (elf_m68k_can_merge_gots): Update. + (elf_m68k_merge_gots_1, elf_m68k_merge_gots): Update. + (struct elf_m68k_finalize_got_offsets_arg): Rewrite to handle 2-slot + GOT entries, simplify. + (elf_m68k_finalize_got_offsets_1, elf_m68k_finalize_got_offsets): Same. + (struct elf_m68k_partition_multi_got_arg): Add slots_relas_diff + field, remove obsoleted local_n_entries field. + (elf_m68k_partition_multi_got_2): New static function. + (elf_m68k_partition_multi_got_1, elf_m68k_partition_multi_got): Use it; + update. + (elf_m68k_remove_got_entry_type): Update. + (elf_m68k_install_rela, dtpoff_base, tpoff): New static functions. + (elf_m68k_check_relocs): Handle TLS relocations. Remove unnecessary + update of sgot->size and srelgot->size. + (elf_m68k_gc_sweep_hook): Update. + (elf_m68k_install_rela, dtpoff_base, tpoff): New static functions. + (elf_m68k_relocate_section, elf_m68k_finish_dynamic_symbol): Handle + TLS relocations. + * reloc.c (BFD_RELOC_68K_TLS_*): Declare TLS relocations. + * libbfd.h (bfd_reloc_code_real_names): Add BFD_RELOC_68K_TLS_*. + +2009-02-02 DJ Delorie <dj@redhat.com> + + * elf32-mep.c (config_names): Regenerate configuration. + +2009-02-02 Alan Modra <amodra@bigpond.net.au> + + * elf-bfd.h (bfd_elf_get_str_section): Don't declare. + (bfd_elf_find_section, _sh_elf_set_mach_from_flags): Likewise. + * elf.c (bfd_elf_get_str_section): Make static. + (bfd_elf_find_section): Delete. + * libbfd.h: Regenerate. + +2009-02-01 Jan Kratochvil <jan.kratochvil@redhat.com> + + * elf-eh-frame.c (REQUIRE_CLEARED_RELOCS) Remove. + (_bfd_elf_parse_eh_frame): Do not check relocations for removed FDEs. + +2009-01-31 Alan Modra <amodra@bigpond.net.au> + + * elflink.c (on_needed_list): New function. + (elf_link_add_object_symbols): Link in --as-needed libs if they + satisfy undefined symbols in other libs. + +2009-01-30 Julian Brown <julian@codesourcery.com> + + * elf32-arm.c (bfd_elf32_arm_vfp11_erratum_scan): Skip BFDs with + EXEC_P or DYNAMIC flags, and skip sections which are being linked + with --just-symbols (-R). + +2009-01-29 Adam Nemet <anemet@caviumnetworks.com> + + * dwarf2.c (read_rangelist): Use read_address to read low_pc and + high_pc in order to properly sign-extend VMAs. + +2009-01-29 Daniel Jacobowitz <dan@codesourcery.com> + Mark Shinwell <shinwell@codesourcery.com> + Catherine Moore <clm@codesourcery.com> + + * elf-attrs.c, elflink.c, elfxx-mips.c: Correct typos in comments. + +2009-01-28 Catherine Moore <clm@codesourcery.com> + + * elf32-arm.c (elf32_arm_check_relocs): Set SEC_ALLOC and + SEC_LOAD for dynamic relocation sections. + +2009-01-27 Hans-Peter Nilsson <hp@axis.com> + + * elf32-cris.c (cris_elf_relocate_section): Use elf_hash_table + (info)->tls_size, not elf_hash_table (info)->tls_sec->size for + the size of local TLS data. + +2009-01-27 Andreas Schwab <schwab@suse.de> + + * mach-o.c (bfd_mach_o_archive_p): Restrict the number of + architectures in the archive. + +2009-01-27 Hans-Peter Nilsson <hp@axis.com> + + * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_DTPREL> + <R_CRIS_32_DTPREL>: Correct relocation value. + + * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_8> + <R_CRIS_16, R_CRIS_32>: Don't call BFD_ASSERT for weak undefined + symbols with non-default visibility. + +2009-01-26 Nathan Sidwell <nathan@codesourcery.com> + + * elf32-ppc.c (ppc_elf_relax_section): Add space for relocs + describing the trampolines. + (ppc_elf_relocate_section): Update relocs to describe the + trampolines. + +2009-01-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * elf-hppa.h (elf_hppa_final_link_relocate): Add check to ensure that + branch targets can be reached for R_PARISC_PCREL22F, R_PARISC_PCREL17F + and R_PARISC_PCREL12F relocations. + +2009-01-24 Alan Modra <amodra@bigpond.net.au> + + PR 6022 + * elflink.c (find_version_for_sym): New function split out from, + but without export_dynamic test, .. + (_bfd_elf_link_assign_sym_version): ..here. + (_bfd_elf_export_symbol): Use it. + +2009-01-23 Alan Modra <amodra@bigpond.net.au> + + * elf-bfd.h (struct elf_assign_sym_version_info): Delete. + (struct elf_info_failed, struct elf_find_verdep_info): Move to.. + * elflink.c: ..here, somewhat modified. + * elf-bfd.h (_bfd_elf_add_default_symbol, _bfd_elf_export_symbol, + _bfd_elf_link_find_version_dependencies, + _bfd_elf_link_assign_sym_version, _bfd_elf_link_size_reloc_section, + _bfd_elf_fix_symbol_flags, _bfd_elf_adjust_dynamic_symbol, + _bfd_elf_link_sec_merge_syms, bfd_elf_link_mark_dynamic_symbol): Don't + declare.. + * elflink.c: ..and make static here. + (_bfd_elf_link_find_version_dependencies): Adjust for removal + of output_bfd from struct elf_find_verdep_info. + (_bfd_elf_link_assign_sym_version): Similarly adjust to use + struct elf_info_failed. + (bfd_elf_size_dynamic_sections): Adjust. + +2009-01-22 Alan Modra <amodra@bigpond.net.au> + + PR 6832 + * dwarf2.c (find_line): Don't update stash->sec_info_ptr until + after comp_unit_find_line call. + +2009-01-21 Nick Clifton <nickc@redhat.com> + + PR 9769 + * vmsutil.c (vms_file_stats_name): Remove use of unsupported + tm_gmtoff field in struct tm. + +2009-01-21 Alan Modra <amodra@bigpond.net.au> + + * elf32-spu.h (struct spu_elf_params): Add non_ia_text. + * elf32-spu.c (mark_overlay_section): Only include .text.ia.* + sections in soft-icache lines unless non_ia_text. Don't add + rodata if doing so would exceed line size. + +2009-01-19 Hans-Peter Nilsson <hp@axis.com> + + * elf32-cris.c (elf_cris_copy_indirect_symbol): For other symbol + types than bfd_link_hash_indirect, before early return, call + _bfd_elf_link_hash_copy_indirect. + +2009-01-19 Andrew Stubbs <ams@codesourcery.com> + + * elf-attrs.c (vendor_set_obj_attr_contents): Support tag ordering. + * elf-bfd.h (elf_backend_data): Add obj_attrs_order. + * elf32-arm.c (elf32_arm_obj_attrs_order): New function. + (elf_backend_obj_attrs_order): New define. + * elfxx-target.h (elf_backend_obj_attrs_order): New define. + (elfNN_bed): Add elf_backend_obj_attrs_order. + +2009-01-19 Andrew Stubbs <ams@codesourcery.com> + + * elf-attrs.c (is_default_attr): Substitute magic numbers with macros. + (obj_attr_size): Likewise. + (write_obj_attribute): Likewise. + (_bfd_elf_copy_obj_attributes): Likewise. + (_bfd_elf_parse_attributes): Likewise. + * elf-bfd.h (ATTR_TYPE_FLAG_INT_VAL): New define. + (ATTR_TYPE_FLAG_STR_VAL, ATTR_TYPE_FLAG_NO_DEFAULT): New defines. + (ATTR_TYPE_HAS_INT_VAL, ATTR_TYPE_HAS_STR_VAL): New defines. + (ATTR_TYPE_HAS_NO_DEFAULT): New define. + * elf32-arm.c (elf32_arm_obj_attrs_arg_type): Replace magic numbers + with macros. + +2009-01-19 Andrew Stubbs <ams@codesourcery.com> + + * elf-attrs.c (is_default_attr): Support defaultless attributes. + (bfd_elf_add_obj_attr_int): Get type from _bfd_elf_obj_attrs_arg_type. + (bfd_elf_add_obj_attr_string): Likewise. + (bfd_elf_add_obj_attr_int_string): Likewise. + (_bfd_elf_parse_attributes): Allow for unknown flag bits in type. + * elf-bfd.h (struct obj_attribute): Document new flag bit. + * elf32-arm.c (elf32_arm_obj_attrs_arg_type): Specify that + Tag_nodefaults has no default value. + (elf32_arm_merge_eabi_attributes): Modify the Tag_nodefaults + comment to reflect the new state. + +2009-01-19 Alan Modra <amodra@bigpond.net.au> + + PR 9695 + * pdp11.c (N_BADMAG): True for anything but OMAGIC, NMAGIC, ZMAGIC. + (some_aout_object_p): Delete dead code handling QMAGIC and BMAGIC. + (adjust_z_magix): Delete dead code handling QMAGIC. + +2009-01-16 Kai Tietz <kai.tietz@onevision.com> + + * coffcode.h (styp_to_sec_flags): Correct interpretation of + IMAGE_SCN_MEM_DISCARDABLE. + +2009-01-16 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am (libbfd_la_LIBADD, libbfd_la_LDFLAGS): Substitute + SHARED_LIBADD and SHARED_LDFLAGS rather than WIN32LIBADD, WIN32LDFLAGS. + * configure.in (commonbfdlib): Delete. + (SHARED_LDFLAGS): Rename from WIN32LDFLAGS/ + (SHARED_LIBADD): Rename from WIN32LIBADD. Add pic libiberty if such + is available, not just for linux. + * po/SRC-POTFILES.in: Regenerate. + * Makefile.in: Regenerate. + * configure: Regenerate. + +2009-01-15 Andrew Stubbs <ams@codesourcery.com> + Julian Brown <julian@codesourcery.com> + + * elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 71 to include all known + ARM attributes in ABI 2.07. + * elf32-arm.c (get_secondary_compatible_arch): New function. + (set_secondary_compatible_arch): New function. + (tag_cpu_arch_combine): New function. + (elf32_arm_copy_one_eabi_other_attribute): Delete function. + (elf32_arm_copy_eabi_other_attribute_list): Delete function. + (elf32_arm_merge_eabi_attributes): Rename order_312 to order_021 to + make it fit with order_01243. + Add support for Tag_also_compatible_with, + Tag_CPU_unaligned_access, Tag_T2EE_use, Tag_Virtualization_use, + Tag_MPextension_use, Tag_nodefaults and Tag_conformance. + Improve/tidy up support for Tag_CPU_raw_name, Tag_CPU_name, + Tag_CPU_arch, Tag_ABI_HardFP_use, Tag_VFP_HP_extension, + Tag_ABI_FP_denormal, Tag_ABI_PCS_GOT_use, Tag_ABI_align8_needed, + Tag_VFP_arch and Tag_ABI_FP_16bit_format. + Rework the way unknown attributes are handled. + Defer errors until all attributes have been processed. + +2009-01-15 Andrew Stubbs <ams@codesourcery.com> + + * elf-attrs.c (bfd_elf_add_obj_attr_compat): Rename to + bfd_elf_add_obj_attr_int_string. + Read Tag_compatibility from its new location in the attribute array, + rather than the attribute list. + (_bfd_elf_copy_obj_attributes): bfd_elf_add_obj_attr_compat -> + bfd_elf_add_obj_attr_int_string. + (_bfd_elf_parse_attributes): Likewise. + (_bfd_elf_merge_object_attributes): There's now only one + Tag_compatibility, and it's in the array, not the list. + * elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 33 to include + Tag_compatibility. + (bfd_elf_add_obj_attr_compat): Rename to + bfd_elf_add_obj_attr_int_string. + (bfd_elf_add_proc_attr_compat): Rename to + bfd_elf_add_proc_attr_int_string. + * elf32-arm.c (elf32_arm_merge_eabi_attributes): Explicitly don't handle + Tag_compatibility. + +2009-01-15 Douglas B Rupp <rupp@gnat.com> + + * Makefile.am (BFD32_BACKENDS): Add new object vmsutil.lo + (BFD32_BACKENDS_CFILES): Add new file vmsutil.c + (vmsutil.lo): Add dependency rule. + * Makefile.in: Regenerate. + * config.bfd (ia64*-*-*vms*): Add case. + * configure.in (bfd_elf64_ia64_vms_vec): Add case. + * configure: Regenerate. + * vmsutil.c: New file. + * vmsutil.h: New file. + * elf-bfd.h (struct bfd_elf_special_section): Change type of + attr to bfd_vma. + * elfxx-ia64.c (elfNN_vms_post_process_headers, + elfNN_vms_section_processing, elfNN_vms_final_write_processing, + elfNN_vms_close_and_cleanup, elfNN_vms_section_from_shdr, + elfNN_vms_object_p): New functions + * targets.c (bfd_elf64_ia64_vms_vec): New target. + +2009-01-14 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/9727 + * elflink.c (elf_gc_sweep): Exclude the group section if the + first member of the section group is excluded. + +2009-01-14 Alan Modra <amodra@bigpond.net.au> + + PR 9735 + * syms.c (_bfd_stab_section_find_nearest_line): Don't free + saved filename, use bfd_alloc rather than bfd_malloc for it. + +2009-01-13 Alan Modra <amodra@bigpond.net.au> + + * elf32-spu.c (spu_elf_build_stubs): Make __icache_base absolute. + +2009-01-13 Alan Modra <amodra@bigpond.net.au> + + * elf32-spu.c (remove_cycles): Always set call->max_depth. + +2009-01-12 Alan Modra <amodra@bigpond.net.au> + + * elf32-spu.c (spu_elf_auto_overlay): Correct vma mask. + +2009-01-12 Alan Modra <amodra@bigpond.net.au> + + * elf32-spu.c (struct spu_link_hash_table): Add init, line_size_log2, + num_lines_log2. + (struct got_entry): Add br_addr. + (struct call_info): Add priority. + (struct function_info): Add lr_store and sp_adjust. + (spu_elf_setup): Init line_size_log2 and num_lines_log2. + (spu_elf_find_overlays): For soft-icache, mark any section within cache + area as an overlay, and check that no other overlays exist. Look up + icache overlay manager entry sym. + (BRA_STUBS, BRA, BRASL): Define. + (enum _stub_type): Replace ovl_stub with call_ovl_stub and br*_ovl_stub. + (needs_ovl_stub): Adjust for soft-icache. Return priority encoded + in branch insn. + (count_stub, build_stub): Support soft-icache. + (build_spuear_stubs, process_stubs): Adjust build_stub call. + (spu_elf_size_stubs): Size soft-icache stubs. + (overlay_index): New function. + (spu_elf_build_stubs): Make static. Support soft-icache. + (spu_elf_check_vma): Don't turn off auto_overlay if soft-icache. + (find_function_stack_adjust): Save lr store and stack adjust insn + offsets. + (maybe_insert_function): Adjust find_function_stack_adjust call. + (mark_functions_via_relocs): Retrieve priority. + (remove_cycles): Only warn about pruned arcs when stack_analysis. + (sort_calls): Sort by priority first. + (mark_overlay_section): Ignore .ovl.init. + (sum_stack): Only print when stack_analysis. + (print_one_overlay_section): New function, extracted from.. + (spu_elf_auto_overlay): ..here. Support soft-icache overlays. + (spu_elf_stack_analysis): Only print when htab->stack_analysis. + (spu_elf_final_link): Call spu_elf_stack_analysis for lrlive + analysis. Call spu_elf_build_stubs. + (spu_elf_relocate_section): For soft-icache encode overlay index + into addresses. + (spu_elf_output_symbol_hook): Support soft-icache. + (spu_elf_modify_program_headers: Likewise. + + * elf32-spu.h (struct spu_elf_params): Add lrlive_analysis. Rename + num_regions to num_lines. Add line_size and max_branch. + (enum _ovly_flavour): Add ovly_soft_icache. + (spu_elf_build_stubs): Delete. + +2009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com> + + * elflink.c (_bfd_elf_section_already_linked): Handle g++-3.4 + relocations in `.gnu.linkonce.r.*' referencing its `.gnu.linkonce.t.*'. + +2009-01-07 Hans-Peter Nilsson <hp@axis.com> + + * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD> + <case R_CRIS_16_GOT_GD, R_CRIS_32_GOT_GD>: For a symbol defined in + the program, the known offset starts at the negative size of the + TLS section. + <case R_CRIS_32_IE, R_CRIS_32_GOT_TPREL, R_CRIS_16_GOT_TPREL>: + Similar. + +2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com> + + * config.bfd: Add lm32-*-rtems*. + +2009-01-03 H.J. Lu <hongjiu.lu@intel.com> + + * coff-ppc.c: Add 2009 to Copyright. + * elf32-cris.c: Likewise. + * elflink.c: Likewise. + +2009-01-03 Hans-Peter Nilsson <hp@axis.com> + + * elf32-cris.c (elf_cris_finish_dynamic_symbol): Rename + gotplt_index to rela_plt_index. Adjust for R_CRIS_DTPMOD entry. + +2009-01-02 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/9679 + * elflink.c (elf_merge_st_other): New. + (_bfd_elf_merge_symbol): Use it on skipped weak definitions and + hide them if needed. + (elf_link_add_object_symbols): Updated. + +2009-01-02 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/9676 + * elflink.c (elf_link_add_object_symbols): Update def_dynamic, + ref_dynamic and dynamic_def fields when setting def_regular + to 1. + +2009-01-02 Curtis Mackie <curtmackevo@gmail.com> + + PR 9682 + * coff-ppc.c (dump_toc): Fix up calls to fprintf without a string + literal. + +For older changes see ChangeLog-2008 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/bfd/xcofflink.c b/bfd/xcofflink.c index 58f5f44..118fcf2 100644 --- a/bfd/xcofflink.c +++ b/bfd/xcofflink.c @@ -1,6 +1,6 @@ /* POWER/PowerPC XCOFF linker support. Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. + 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. Written by Ian Lance Taylor <ian@cygnus.com>, Cygnus Support. This file is part of BFD, the Binary File Descriptor library. diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 2dfa3b9..4a2a6da 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,1351 +1,5 @@ -2009-12-31 Eirik Byrkjeflot Anonsen <eirik@opera.com> - Nick Clifton <nickc@redhat.com> - * objcopy.c (add_redefine_syms_file): Avoid symbol buffer - overrun. - -2009-12-21 Alan Modra <amodra@gmail.com> - - * MAINTAINERS: Update my email address. - -2009-12-18 Ulrich Weigand <uweigand@de.ibm.com> - - * readelf.c (get_note_type): Handle NT_S390_HIGH_GPRS notes. - -2009-12-11 Nick Clifton <nickc@redhat.com> - - * Makefile.in: Regenerate. - * doc/Makefile.in: Regenerate. - * ar.c: Fix shadowed variable warnings. - * bucomm.c: Likewise. - * coffgrok.c: Likewise. - * configure: Likewise. - * dlltool.c: Likewise. - * dllwrap.c: Likewise. - * dwarf.c: Likewise. - * ieee.c: Likewise. - * nlmconv.c: Likewise. - * nm.c: Likewise. - * objcopy.c: Likewise. - * objdump.c: Likewise. - * prdbg.c: Likewise. - * readelf.c: Likewise. - * resbin.c: Likewise. - * resrc.c: Likewise. - * resres.c: Likewise. - * srconv.c: Likewise. - * stabs.c: Likewise. - * sysdump.c: Likewise. - * sysinfo.y: Likewise. - * wrstabs.c: Likewise. - -2009-12-10 Tristan Gingold <gingold@adacore.com> - - * addr2line.c (pretty_print): New variable. - (long_options): Add an entry for -p/--pretty-print. - (usage): Document -p/--pretty-print. - (translate_addresses): Handle pretty_print. Reindent. - (main): Handle option -p. - * doc/binutils.texi (addr2line): Document -p/--pretty-print. - * NEWS: Mention new feature. - -2009-12-09 Tristan Gingold <gingold@adacore.com> - - * addr2line.c (translate_addresses): Display addresses - if option -a is used. - (with_addresses): New variable. - (long_options): Add option '-a'. - (usage): Add usage for option '-a'. - (main): Handle option '-a'. - * doc/binutils.texi (addr2line): Document option '-a'. - * NEWS: Mention new feature. - -2009-12-08 Cary Coutant <ccoutant@google.com> - - * dwarf.c (dwarf_select_sections_by_names): Handle pubtypes correctly. - (debug_displays): Remove duplicate entry for debug_pubtypes. - -2009-12-03 David Daney <ddaney@caviumnetworks.com> - Adam Nemet <adambnemet@gmail.com> - - * readelf.c (get_machine_flags): Handle E_MIPS_MACH_OCTEON2 case. - -2009-12-03 Nick Clifton <nickc@redhat.com> - - PR binutils/11045 - * dwarf.c (do_debug_pubtypes): New variable. - (dwarf_select_sections_by_names): Handle .debug_pubtypes. - (dwarf_select_sections_by_letters): Add 't' for .debug_pubtype. - (dwarf_select_sections_all): Set do_debug_pubtypes. - (debug_displays): Add support for .debug_pubtypes. - * dwarf.h (do_debug_pubtypes): Export. - * objdump.c (usage): Add -wt or --dwarf=pubtypes. - * readelf.c (usage): Likewise. - (process_section_headers): Enable debug display if - do_debug_pubtypes is set. - * doc/binutils.texi: Document -wt/--dwarf=pubtypes option. - -2009-12-02 Jerker Bäck <jerker.back@gmail.com> - - PR binutils/11017 - * dlltool.c (PAGE_SIZE): Delete. - (PAGE_MASK): Provide default definition based on COFF_PAGE_SIZE. - Check for DLLTOOL_DEFAULT_MX86_64 and DLLTOOL_DEFAULT_I386. - -2009-12-01 Joseph Myers <joseph@codesourcery.com> - - * readelf.c (get_machine_name, get_osabi_name): Handle more - allocated values. - -2009-11-30 Joseph Myers <joseph@codesourcery.com> - - * configure: Regenerate. - -2009-11-20 Nick Clifton <nickc@redhat.com> - - * readelf.c: Include xc16x.h. - (dump_relocations): Handle relocations for the xc16x target. - (get_machine_name): Accept EM_C166 for xc16x targets. - (is_32bit_abs_reloc): Add support for xc16c 32-bit absolute reloc. - (is_16bit_abs_reloc): Add support for xc16c 16-bit absolute reloc. - (is_none_reloc): Add support for xc16c null reloc. - -2009-11-20 Ben Elliston <bje@au.ibm.com> - - * Makefile.am (syslex.o): Use $(NO_WERROR) not -Wno-error. - (sysinfo.o): Likewise. - * Makefile.in: Regenerate. - -2009-11-19 Ben Elliston <bje@au.ibm.com> - - * arlex.l: Enable noinput, nounput flex options. - * syslex.l: Likewise. - -2009-11-17 Paul Brook <paul@codesourcery.com> - Daniel Jacobowitz <dan@codesourcery.com> - - * readelf.c (arm_attr_tag_CPU_arch): Add v7E-M. - -2009-11-16 Kai Tietz <kai.tietz@onevision.com> - - * windmc.c (set_endianess): Use bfd_get_target_info. - * windres.c (set_endianess): Likewise. - (find_arch_match): Removed. - -2009-11-11 Nick Clifton <nickc@redhat.com> - - * po/id.po: Updated Indonesian translation. - -2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com> - - * configure.in: Stop checking for fopen64 and stat64. - * strings.c (file_off, file_open, statbuf, file_stat): Remove. - (strings_file): Change file_off to file_ptr, file_open to fopen, - statbuf to struct stat and file_stat to stat. - (get_char): Change parameter type file_off * to file_ptr *. - (print_strings): Change parameter and variable `start' type file_off to - file_ptr. - * configure: Regenerate. - * config.in: Regenerate. - -2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com> - - * configure.in: Call ACX_LARGEFILE. Stop calling AC_PLUGINS, - AC_SYS_LARGEFILE and checking the Solaris largefile exception. - * aclocal.m4: Regenerate. - * configure: Regenerate. - -2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com> - - * bucomm.c (get_file_size): Update comment for the error return value. - -2009-11-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * readelf.c (slurp_hppa_unwind_table): Don't relocate address twice. - -2009-11-05 Kai Tietz <kai.tietz@onevision.com> - - * dllwrap.c (is_leading_underscore): New variable. - (cpu_type): New enum type. - (which_cpu): New variable. - (usage): Add new options --no-leading-underscore - and --leading-underscore. - (long_options): Likewise. - (OPTION_NO_LEADING_UNDERSCORE): New define. - (OPTION_LEADING_UNDERSCORE): Likewise. - (main): Initialize which_host, pass new options - to dlltool, do underscoring dependent on - is_leading_underscore, and do '@12' decoration - only for x86. - -2009-11-02 Paul Brook <paul@codesourcery.com> - - * readelf.c (arm_attr_tag_VFP_arch): Add VFPv4 and VFPv4-D16. - -2009-10-28 Kai Tietz <kai.tietz@onevision.com> - - * dlltool.c (leading_underscore): New local variable. - (asm_prefix): Interpret leading_underscore. - (xlate): Likewise. - (add_excludes): Use leading_underscore for making - symbol name. - (gen_exp_file): Use leading_underscore for internal - _imp_ symbols. - (usage): Add display of --no-leading-underscore and - --leading-underscore option. - (OPTION_NO_LEADING_UNDERSCORE): New. - (OPTION_LEADING_UNDERSCORE): New. - (long_options): Add --no-leading-underscore and - --leading-underscore option. - (main): Handle new options. - * doc/binutils.text: Add documentation of the options - --no-leading-underscore and --leading-underscore. - -2009-10-23 Kai Tietz <kai.tietz@onevision.com> - - * deflex.l: Allow '<' and '>' in ID names. - - * defparse.y (EQUAL): New token constant. - (opt_import_name): New rule for emptry or '==' ID. - (expline): Add opt_import_name as last line element. - (impline): Likewise. - * dlltool.c (ifunct): New member its_name. - (export): Likewise. - (append_import): Add its_name argument. - (defexports): Likewise. - (defimport): Likewise. - (scan_drectve_symbols): Adjust calls to def_exports. - (dump_def_info): Print new optinal import/export table - symbol name. - (generate_idata_ofile): Use its_name member. - (make_one_lib_file): Likewise. - (nfunc): Take its_name in account on sort. - * dlltool.h (def_exports): Add its_name as argument. - (def_import): Likewise. - * doc/binutils.texi: Add new def file syntax extension. - * deflex.l (EQUAL): Add rule for '=='. - * NEWS: Mention new feature. - -2009-10-23 Thomas Cougnard <thomas.cougnard@gmail.com> - - * readelf.c (dynamic_info): Correct size of array. - -2009-10-21 Ben Elliston <bje@gnu.org> - - * MAINTAINERS (BUILD SYSTEM, TESTSUITES): Remove myself. - -2009-10-19 Jerker Bäck <jerker.back@gmail.com> - - PR binutils/10793 - * prdbg.c (tg_end_struct_type): Warning fix. - - PR binutils/10792 - * dlltool.c (dll_name_list_append): Declare variable at start - of block. - (dll_name_list_count, dll_name-list_print): Likewise. - -2009-10-16 Doug Evans <dje@sebabeach.org> - - * MAINTAINERS: Add myself as m32r maintainer. - -2009-10-16 Jerker Bäck <jerker.back@gmail.com> - - PR 10764 - * Makefile.am (sysinfo.o, syslex.o): Place source file after all - command line switches. - * Makefile.in: Regenerate. - -2009-10-16 Yann Droneaud <yann@droneaud.fr> - - PR 10768 - * dlltool.c (bfd_get_errmsg): New macro. - (scan_obj_file): Use it. - (make_one_lib_file): Use it. - (make_head): Use it. - (make_delay_head): Use it. - (make_tail): Use it. - (gen_lib_file): Use it. - (identify_dll_for_implib): Use it. - (identify_search_archive): Use it. - -2009-10-16 Nick Clifton <nickc@redhat.com> - - * readelf.c (usage): Add mention of --debug-dump=frames-interp. - Wrap output to 80 columns. - * objdump.c (usage): Likewise. - * doc/binutils.texi (readelf): Add note about =frames-interp. - -2009-10-01 Alan Modra <amodra@bigpond.net.au> - - * addr2line.c (slurp_symtab): Don't use bfd_read_minisymbols. - -2009-09-29 Nick Clifton <nickc@redhat.com> - - * doc/binutils.texi (c++filt): Remove spurious description of - nonexistent --java command line switch for cxxfilt. - -2009-09-29 DJ Delorie <dj@redhat.com> - - * readelf.c: Add support for RX target. - * MAINTAINERS: Add DJ and NickC as maintainers for RX. - -2009-09-28 Alan Modra <amodra@bigpond.net.au> - - * configure.in: Don't invoke configure.tgt on $enable_targets. - * configure: Regenerate. - -2009-09-28 Nick Clifton <nickc@redhat.com> - - PR 10478 - * readelf.c (get_elf_section_flags): Allow SHN_BEFORE and - SHN_AFTER section link values in x86 binaries. - (process_section_headers): Likewise. - -2009-09-25 Dmitry Gorbachev <d.g.gorbachev@gmail.com> - - PR 10656 - * readelf.c: Remove duplicate declaration of variable do_wide. - * dwarf.h: Add export of do_wide. - -2009-09-24 Cary Coutant <ccoutant@google.com> - - * dwarf.c (get_TAG_name): Add missing DWARF-3 and new DWARF-4 tags. - (get_FORM_name): Add new DWARF-4 forms. - (read_and_display_attr_value): Add DW_FORM_ref_sig8, DW_LANG_Python. - (get_AT_name): Add new DWARF-4 and GNU-specific attributes. - (process_debug_info): Add do_types parameter; change all callers. - Add support for .debug_types sections. - (display_debug_types): New function. - (debug_displays): Add .debug_types section. - * readelf.c (process_section_headers): Add .debug_types section. - (display_debug_section): Simplify call to streq. - -2009-09-25 Alan Modra <amodra@bigpond.net.au> - - * readelf.c (print_dynamic_symbol): Format entries as for - normal symbol table. - (process_symbol_table): Use -7s format string for visibility. - -2009-09-22 Richard Sandiford <rdsandiford@googlemail.com> - - * objdump.c (disassemble_section): Use bfd_get_arch_size - instead of assuming that the address size is 32 bits. - -2009-09-21 Alan Modra <amodra@bigpond.net.au> - - * readelf.c (get_ppc_dynamic_type): Add TLSOPT. - (get_ppc64_dynamic_type): Likewise. - -2009-09-18 Nick Clifton <nickc@redhat.com> - - * po/es.po: Updated Spanish translation. - * po/vi.po: Updated Vietnamese translation. - -2009-09-11 Paul Pluzhnikov <ppluzhnikov@google.com> - - * readelf.c (process_version_sections, process_symbol_table): - Use symbolic constants. - -2009-09-11 Nick Clifton <nickc@redhat.com> - - * po/binutils.pot: Updated by the Translation project. - -2009-09-11 Philippe De Muyter <phdm@macqel.be> - - * obcopy.c (copy_object): New parameter `input_arch', architecture - of input file, if not specified in input file itself; all callers - updated; `binary_architecture' hack removed. - (copy_archive, copy_file): New parameter `input_arch', for - `copy_object' usage. - (copy_main): Accept `-B' (`--binary-architecture') option also - for any arch-less input ifile format, not only `binary'; remove - bfd_external_binary_architecture hack; instead, add `input_arch' - to calls to `copy_file'. - * windres.c, windmc.c : Obsolete and useless external references - to `bfd_external_binary_architecture' or `bfd_external_machine' - removed. - * doc/binutils.texi: Mention that -B parameter can be used for any - input file type which does not have its own architecture. - -2009-09-10 Martin Thuresson <martin@mtme.org> - - Update sources to compile cleanly with -Wc++-compat: - * addr2line.c (slurp_symtab): Fix casts. Introduce variable - minisyms to avoid aliasing varning. - * ar.c: Add casts. - (normalize): Use name del instead of delete. - (display_target_list,display_info_table): Change loop counter - variable a to int. - * bucomm.c: Add casts. - * debug.c: Update function to use new names. - (struct debug_baseclass): Rename member from virtual to - is_virtual. - (struct debug_type_s, struct debug_field_s, struct - debug_baseclass_s, struct debug_method_s, struct - debug_method_variant_s, struct debug_type_s): Rename struct from - avoid name collision. - * debug.h: Use new struct names. - * dwarf.c: Add casts. - (free_debug_memory): Change loop counter variable a to int. - * ieee.c: Add casts. - (enum ieee_var_kind): Move to top level. - (ieee_class_baseclass): Rename parameter virtual to is_virtual. - (ieee_class_method_var): Rename variable virtual to is_virtual. - * nm.c: Add casts. - * objcopy.c: Add casts. - (copy_archive): Rename variable delete to del. - * objdump.c: Add casts. - (dump_dwarf_section): Change loop counter variable i to int. - * prdbg.c: Add casts. - (pr_class_baseclass,tg_class_baseclass): Rename parameters virtual - to is_virtual. - * readelf.c: Add casts. - (struct ia64_unw_table_entry,struct hppa_unw_table_entry): Move to - top level. - * size.c: Add casts. - * stabs.c (parse_stab_type, parse_stab_range_type, - (parse_stab_cpp_abbrev): Rename parameter from typename to - type_name. - (parse_stab_baseclasses): Rename variable virtual to is_virtual. - * strings.c: Add casts. - * wrstabs.c (stab_class_baseclass): Rename parameter virtual to - is_virtual. - -2009-09-09 Nick Clifton <nickc@redhat.com> - - PR 10478: - readelf.c (get_elf_section_flags): Add support for SHF_EXCLUDE and - SHF_ORDERED. - (process_section_headers): Warn about out of range sh_link - values. When displaying detailed section header information - annote the SHN_BEFORE and SHN_AFTER values. - -2009-09-08 Alan Modra <amodra@bigpond.net.au> - - * dwarf.c (byte_get_little_endian): Handle size of 3. - (byte_get_big_endian): Likewise. - * readelf.c (byte_put_little_endian): Likewise. - (byte_put_big_endian): Likewise. - (is_24bit_abs_reloc): New function. - (is_none_reloc): Formatting. - (apply_relocations): Use is_24bit_abs_reloc. Handle pj and xtensa - reloc peculiarity. - -2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com> - - * readelf.c (is_none_reloc <EM_XTENSA_OLD>, is_none_reloc <EM_XTENSA>): - New. - -2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com> - - * dwarf.c (process_debug_info): Support section padding abbrev codes. - -2009-09-07 Tristan Gingold <gingold@adacore.com> - - * po/binutils.pot: Regenerate. - -2009-09-05 Jan Kratochvil <jan.kratochvil@redhat.com> - - * Makefile.am (sysdump.o): Depend on sysroff.c. - * Makefile.in: Regenerate. - -2009-09-05 Martin Thuresson <martin@mtme.org> - - * ieee.c (ieee_read_cxx_misc, ieee_read_cxx_class, - ieee_read_reference): Rename variables named class to cxxclass. - -2009-09-04 Tristan Gingold <gingold@adacore.com> - - * BRANCHES: Add binutils-2_20-branch. - -2009-09-04 Tristan Gingold <gingold@adacore.com> - - * NEWS: Add marker for 2.20. - -2009-09-04 Timo Kreuzer <timo.kreuzer@web.de> - - * dlltool.c (delayimp_name): Add new global variable - (usage, long_options, main): Add new option "-y" / "--output-delaylib" - (struct mac): Add fields how_dljtab_size, how_dljtab_roff1, - how_dljtab_roff2, how_dljtab, trampoline. - (i386_dljtab): Add binary stub for x86 delay import. - (i386_trampoline): Add text assembly stub for x86 delay import. - (mtable): Add delay import data for M386 and MX86 only. - (make_delay_head): New function. - (make_one_lib_file): New arg delay creates delay-load import stub. - (gen_lib_file): New arg delay likewise. - (HOW_JTAB, HOW_JTAB_SIZE, HOW_JTAB_ROFF): New arg delay likewise. - (HOW_JTAB_ROFF2, HOW_JTAB_ROFF3): New macros for delay import. - (make_tail): Convert hard TABS embedded in strings to "\t" escapes. - * NEWS: Mention new feature. Also fix whitespace. - * doc/binutils.texi: Updated dlltool documentation. - -2009-09-02 Tristan Gingold <gingold@adacore.com> - - * configure.com: Do not copy makefile.vms-in to makefile.vms - * makefile.vms-in: Renamed to... - * makefile.vms: ... this usual name as it is not processed anymore. - Remove WRITE_DEBUG_OBJS (unused) and reorder object files for - objdump.exe. - -2009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * Makefile.am (arparse.o, arlex.o, sysroff.o, defparse.o) - (deflex.o, nlmheaders.o, rcparse.o, mcparse.o): Supply correct - source file name for generated files which may be in $(srcdir). - * Makefile.in: Regenerate. - -2009-09-01 H.J. Lu <hongjiu.lu@intel.com> - - * version.c (print_version): Change to "Copyright 2009". - -2009-09-01 Tristan Gingold <gingold@adacore.com> - - * makefile.vms-in: Remove unused VERSION variable. Remove unused - dependencies. - * configure.com: Ported to Itanium VMS. Create build.com DCL script. - -2009-08-29 Martin Thuresson <martin@mtme.org> - - * nlmconv.c (main): Rename variable new to new_name. - -2009-08-28 H.J. Lu <hongjiu.lu@intel.com> - - * Makefile.am (sysinfo$(EXEEXT_FOR_BUILD)): Replace - CFLAGS/LDFLAGS with CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD. - (syslex.o): Likewise. - (sysinfo.o): Likewise. - (bin2c$(EXEEXT_FOR_BUILD)): Likewise. - * Makefile.in: Regenerated. - -2009-08-27 Dave Korn <dave.korn.cygwin@gmail.com> - - * doc/binutils.texi (--only-keep-debug): Relocate stray para here ... - (--subsystem): ... from here. - -2009-08-24 Cary Coutant <ccoutant@google.com> - - * objdump.c (find_symbol_for_address): Avoid costly call to - bfd_octets_per_byte. - -2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * Makefile.am (am__skiplex, am__skipyacc): New. - * Makefile.in: Regenerate. - -2009-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * Makefile.am (syslex.o): Depend on sysinfo.h config.h. - * Makefile.in: Regenerate. - -2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * Makefile.am (AM_CPPFLAGS): Renamed from ... - (INCLUDES): ... this. - (bin2c$(EXEEXT_FOR_BUILD): Adjust rule. - (installcheck-local): Renamed from ... - (installcheck): ... this. - * Makefile.in: Regenerate. - - * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add no-dist and - foreign. - (MKDEP, CLEANFILES): Remove now-unneeded variables. - (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove. - (mkdep section): Remove. - (BUILT_SOURCES): New variable, list $(GENERATED_HFILES). - (EXTRA_ar_SOURCES): New, list $(CFILES). - (syslex.o): Depend on syslex.c. - (sysinfo.o): Depend on sysinfo.c. - (arparse.h, defparse.h, nlmheaders.h rcparse.h mcparse.h): - Remove dependencies, now tracked by automake. - (srconv.o): Depend on sysroff.c. - (objdump.o, arparse.o, arlex.o, sysroff.o, defparse.o, deflex.o) - (nlmheader.o, rcparse.o, mcparse.o, rclex.o, mclex.o, dlltool.o) - (rescoff.o, nlmconv.o): Rewrite using automake-style dependency - tracking rules; only list the dependency upon the primary source - file, but no included headers. - * Makefile.in: Regenerate. - - * Makefile.am (install-pdf, install-pdf-recursive, install-html) - (install-html-recursive): Remove. - * Makefile.in: Regenerate. - * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am) - (html__strip_dir, install-html, install-html-am): Remove. - * doc/Makefile.in: Regenerate. - - * Makefile.in: Regenerate. - * aclocal.m4: Likewise. - * config.in: Likewise. - * configure: Likewise. - * doc/Makefile.in: Likewise. - -2009-08-17 Nick Clifton <nickc@redhat.com> - - * readelf.c (is_32bit_abs_reloc): Treat R_PARISC_SECREL32 as a - 32-bit absolute reloc for the purposes of processing debug - sections. - -2009-08-10 Daniel Gutson <dgutson@codesourcery.com> - - * readelf.c (get_arm_section_type_name): Added support for - new sections headers. - -2009-08-03 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/10364 - * objcopy.c (strip_main): Check return from smart_rename. - (copy_main): Likewise. - -2009-07-27 Nick Clifton <nickc@redhat.com> - - PR 10413 - * objdump.c (dump_section_header): Skip sections that we are - ignoring. - -2009-07-25 H.J. Lu <hongjiu.lu@intel.com> - - * readelf.c (guess_is_rela): Handle EM_L1OM. - (dump_relocations): Likewise. - (get_machine_name): Likewise. - (get_section_type_name): Likewise. - (get_elf_section_flags): Likewise. - (get_symbol_index_type): Likewise. - (is_32bit_abs_reloc): Likewise. - (is_32bit_pcrel_reloc): Likewise. - (is_64bit_abs_reloc): Likewise. - (is_64bit_pcrel_reloc): Likewise. - (is_none_reloc): Likewise. - -2009-07-23 Ulrich Drepper <drepper@redhat.com> - - * readelf.c (get_symbol_binding): For Linux targeted files return - UNIQUE for symbols with the STB_GNU_UNIQUE binding. - * doc/binutils.texi: Document the meaning of the 'u' symbol - binding in the output of nm and objdump --syms. - -2009-07-20 H.J. Lu <hongjiu.lu@intel.com> - - * NEWS: Mention --insn-width. - - * objdump.c (insn_width): New. - (usage): Display --insn-width. - (option_values): Add OPTION_INSN_WIDTH. - (long_options): Add --insn-width. - (disassemble_bytes): Handle insn_width. - (main): Handle OPTION_INSN_WIDTH. - - * doc/binutils.texi: Document --insn-width. - -2009-07-17 Nick Clifton <nickc@redhat.com> - - * dwarf.c (display_debug_lines): If do_debug_lines has not been - set then default to displaying raw .debug_line section contents. - -2009-07-14 Jan Kratochvil <jan.kratochvil@redhat.com> - - Support unordered .debug_info references to .debug_ranges. - * dwarf.c (struct range_entry, range_entry_compar): New. - (display_debug_ranges): Remove variables last_offset, first, j, - seen_first_offset, use_debug_info and next. New variables - range_entries and range_entry_fill. Create the sorted copy - range_entries. Remove the FIXME error on detected unordered references. - * dwarf.h (debug_info <range_lists>): New comment. - -2009-07-14 Nick Clifton <nickc@redhat.com> - - PR 10380 - * README: Document use of LDFLAGS="--static". - -2009-07-10 H.J. Lu <hongjiu.lu@intel.com> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerated. - -2009-07-10 Tom Tromey <tromey@redhat.com> - - * Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h. - * Makefile.in: Rebuild. - * dwarf.c: Include dwarf2.h, not elf/dwarf2.h. - -2009-07-06 Tristan Gingold <gingold@adacore.com> - - * objdump.c (dump_dwarf_section): Handle .eh_frame like other dwarf - sections. - * dwarf.h (struct dwarf_section_display): Remove eh_frame field. - * dwarf.c (debug_displays): Adjust for removed field. - -2009-07-03 Jakub Jelinek <jakub@redhat.com> - - * dwarf.c (decode_location_expression): Handle DW_OP_stack_value - and DW_OP_implicit_value. - -2009-07-01 Nick Clifton <nickc@redhat.com> - - PR 6714 - * rclex.c (handle_quotes): Do not complain about whitespace - separating quoted strings. - (rclex_string): Ignore whitespace when looking for a new opening - quote following a closing quote. - -2009-06-27 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/10321 - * bucomm.c (get_file_size): Return -1 on error. - - * objcopy.c (copy_file): Report empty file. - -2009-06-23 Nick Clifton <nickc@redhat.com> - - * dwarf.c (display_debug_lines_raw): Include the name of the - section in warning message. - (struct debug_display): Enable reloc processing for .debug_line - and .debug_ranges sections. - - * readelf.c: Add --relocated-dump command line option to dump the - relocated contents of a specified section. - (request_dump): New function. - (parse_args): Use it. - (dump_section_as_bytes): Add parameter to indicate whether the - contents should be relocated. - (target_specific_reloc_handling): Add code for a R_MN10300_16 - reloc found after a R_MN10300_SYM_DIFF reloc. - (debug_apply_relocations): Rename to apply_relocations. - (get_section_contents): New function. Replaces common code found - in dump_section_as_strings and dump_section_as_bytes. - * doc/binutils.texi: Document new command line option. - * NEWS: Mention the new feature. - -2009-06-22 Nick Clifton <nickc@redhat.com> - - * readelf.c (target_specific_reloc_handling): New function: - Processes relocs in a target specific manner. - (debug_apply_relocations): Use the new function. - * dwarf.c (display_debug_loc): End the dump with a blank line. - (struct debug_display): Enable reloc processing for .debug_aranges - and .debug_loc sections. - -2009-06-19 Nick Clifton <nickc@redhat.com> - - * ar.c (usage): Do not use #ifdef inside _("...). - * nm.c (usage): Likewise. - -2009-06-18 Nick Clifton <nickc@redhat.com> - - PR 10288 - * objdump.c (disassemble_bytes): Set the - USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure - if the user has invoked the -m switch. - * doc/binutils.texi: Document the additional behaviour of - objdump's -m switch for ARM targets. - -2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com> - - * configure.in: Merge cegcc and mingw32ce target name changes from - CeGCC project. - -2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt> - - * configure.in: Add arm*-*-cegcc* and arm*-*-mingw32ce* targets. - * configure: Regenerate. - -2009-06-15 Nick Clifton <nickc@redhat.com> - - PR 10263 - * objdump.c (disassemble_bytes): Set the DISASSEMBLE_DATA bit in - the flags field of the disassemble_info structure if the -D switch - is in operation. - -2009-06-12 Homer Xing <homer.xing@yahoo.com> - - * NEWS: Mention new feature added to gprof. - -2009-06-12 John Reiser <jreiser@BitWagon.com> - - * readelf.c (process_symbol_table): Set gnubuckets to NULL after - freeing it and before returning. - -2009-06-12 Jakub Jelinek <jakub@redhat.com> - - * readelf.c (process_symbol_table): Don't return early if - .hash/.gnu.hash is empty/unusable and not -D. - -2009-06-09 Tom Bramer <tjb@postpro.net> - - PR 10165 - * winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED - to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types. - -2009-06-04 Alan Modra <amodra@bigpond.net.au> - - * strings.c (main): Delay parsing of decimal digits. - -2009-06-04 Alan Modra <amodra@bigpond.net.au> - - * dep-in.sed: Don't use \n in replacement part of s command. - * Makefile.am (DEP1): LC_ALL for uniq. - Run "make dep-am". - * Makefile.in: Regenerate. - -2009-06-03 Tristan Gingold <gingold@adacore.com> - - * MAINTAINERS: Add myself as Mach-O maintainer. - -2009-06-01 Alan Modra <amodra@bigpond.net.au> - - PR 10199 - * doc/binutils.texi (nm): Correct -S description. - -2009-05-28 Nick Clifton <nickc@redhat.com> - - * po/da.po: Updated Danish translation. - -2009-05-28 Nick Clifton <nickc@redhat.com> - - * readelf.c (display_debug_section): Do not display debug sections - with the NOBITS section type. - -2009-05-27 Rafael Avila de Espindola <espindola@google.com> - - * aclocal.m4: Include ../config/plugins.m4. - * configure.in: Use AC_PLUGINS. - * configure: Regenerate. - * Makefile.in: Regenerate. - * doc/Makefile.in: Regenerate. - -2009-05-27 Rafael Avila de Espindola <espindola@google.com> - - * ar.c (main): Call bfd_plugin_set_program_name. - * nm.c (main): Call bfd_plugin_set_program_name. - -2009-05-27 Nathan Sidwell <nathan@codesourcery.com> - - * sysdump.c (tab): Use puts rather than two printfs. - -2009-05-26 Nick Clifton <nickc@redhat.com> - - * po/id.po: Updated Indonesian translation. - * po/binutils.pot: Updated template file. - -2009-05-26 Rafael Avila de Espindola <espindola@google.com> - - * ar.c: Include plugin.h. - (main): Handle the --plugin option. - * nm.c: Include plugin.h. - (OPTION_PLUGIN): New. - (long_options): Add plugin. - (main): Handle OPTION_PLUGIN. - * NEWS: Mention the new feature. - * doc/binutils: Documement the new command line options. - * configure.in: Check for --enable-plugins. - * configure: Regenerate. - -2009-05-26 Alan Modra <amodra@bigpond.net.au> - - * dep-in.sed: Output one filename per line with all lines having - continuation backslash. Prefix first line with "A", following - lines with "B". - * Makefile.am (DEP): Don't use dep.sed here. - (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies, - sort and uniq. - * Makefile.in: Regenerate. - -2009-05-25 Tristan Gingold <gingold@adacore.com> - - * makefile.vms-in: Fix CFLAGS, add addr2line.exe target. - - * configure.com: Fix it: handle alloca and define TARGET in config.h. - -2009-05-22 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2009-05-12 Alan Modra <amodra@bigpond.net.au> - - * objcopy.c (set_long_section_mode): Check input_bfd is coff - before accessing coff specific fields of bfd. - -2009-05-09 Dave Korn <dave.korn.cygwin@gmail.com> - - * MAINTAINERS: Add myself as PE/COFF co-maintainer. - -2009-05-08 Kai Tietz <kai.tietz@onevision.com> - - * winduni.c (iconv_onechar): Only define when HAVE_ICONV - is defined, but not when __CYGWIN__ or _WIN32 are defined. - See wind_iconv_cp for call logic of this local funtion. - -2009-05-05 Guillaume Duhamel <guillaume.duhamel@gmail.com> - - PR 10109 - * winduni.c: Replace test of HAVE_ICONV_H with a test of - HAVE_ICONV. - (iconv_onechar): Use ICONV_CONST instead of "const". - (wind_MultiByteToWideChar): Initialise local strings. - -2009-04-30 Nick Clifton <nickc@redhat.com> - - * readelf.c (dump_relocations): Display a relocation against an - ifunc symbol as if it were a function invocation. - (get_symbol_type): Handle STT_GNU_IFUNC. - -2009-04-29 Anthony Green <green@moxielogic.com> - - * NEWS: Tweak verilog support description. - -2009-04-29 Alan Modra <amodra@bigpond.net.au> - Denis Scherbakov <denis_scherbakov@yahoo.com> - - * readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table - read, and merge with 32-bit case. - -2009-04-27 Anthony Green <green@moxielogic.com> - - * NEWS: Mention verilog support added to bfd. - -2009-04-27 H.J. Lu <hongjiu.lu@intel.com> - - * objcopy.c (copy_object): Copy pe_opthdr before changing PE - parameters. - -2009-04-24 Cary Coutant <ccoutant@google.com> - - * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator. - Add missing newlines to HP extensions. - -2009-04-17 H.J. Lu <hongjiu.lu@intel.com> - - * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd. - * doc/binutils.texi: Likewise. - -2009-04-17 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/10074 - * objcopy.c: Include coff/i386.h and coff/pe.h. - (pe_file_alignment): New. - (pe_heap_commit): Likewise. - (pe_heap_reserve): Likewise. - (pe_image_base): Likewise. - (pe_section_alignment): Likewise. - (pe_stack_commit): Likewise. - (pe_stack_reserve): Likewise. - (pe_subsystem): Likewise. - (pe_major_subsystem_version): Likewise. - (pe_minor_subsystem_version): Likewise. - (set_pe_subsystem): Likewise. - (convert_efi_target): Likewise. - (command_line_switch): Add OPTION_FILE_ALIGNMENT, - OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT, - OPTION_STACK and OPTION_SUBSYSTEM. - (copy_options): Likewise. - (copy_usage): Add --file-alignment, --heap, --image-base, - --section-alignment, --stack and --subsystem. - (copy_object): Set up PE parameters. - (copy_main): Process Add OPTION_FILE_ALIGNMENT, - OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT, - OPTION_STACK and OPTION_SUBSYSTEM. Convert EFI target to - PEI target. - - * NEWS: Mention --file-alignment, --heap, --image-base, - --section-alignment, --stack and --subsystem command line - options for objcopy. - - * doc/binutils.texi: Document --file-alignment, --heap, - --image-base, --section-alignment, --stack and --subsystem - command line options for objcopy. - -2009-04-15 Anthony Green <green@moxielogic.com> - - * MAINTAINERS: Add myself as Moxie port maintainer. - -2009-04-14 Dave Korn <dave.korn.cygwin@gmail.com> - - * objcopy.c (enum long_section_name_handling): New enum type. - (enum command_line_switch): Add OPTION_LONG_SECTION_NAMES. - (copy_options[]): Add entry for --long-section-names option. - (copy_usage): Document it. - (set_long_section_mode): New subroutine. - (copy_file): Call it. - (copy_main): Accept OPTION_LONG_SECTION_NAMES and parse arg. - * doc/binutils.texi: Update objcopy documentation with details - of new option. - -2009-04-01 Dave Korn <dave.korn.cygwin@gmail.com> - - * dlltool.c (set_dll_name_from_def): Accept new second arg that - indicates if we are building DLL or EXE, and use it to add a - default suffix to the output filename when none is already present. - (def_name): Indicate we are building an EXE when calling it. - (def_library): Indicate we are building a DLL when calling it. - -2009-04-01 Jari Aalto <jari.aalto@cante.net> - - PR 9972 - * doc/binutils.texi (strings): Document the -V alias for the - --version option. - * strings.c (usage): Likewise. - -2009-03-31 Nick Clifton <nickc@redhat.com> - - PR 9992 - * configure.in: Import Solaris specific largefile test from - bfd/configure.in. - * configure: Regenerate. - -2009-03-30 Richard Sandiford <rdsandiford@googlemail.com> - - * MAINTAINERS: Add self. - -2009-03-27 Nick Clifton <nickc@redhat.com> - - * dwarf.c (display_debug_ranges): Add the base address to the - displayed values for 'Begin' and 'End'. - -2009-03-25 Ryan Mansfield <rmansfield@qnx.com> - - * readelf.c (process_file_header): Don't report a corrupt string - table index if it is zero. - -2009-03-19 H.J. Lu <hongjiu.lu@intel.com> - - * dwarf.c (dwarf_regnames): Moved before frame_need_space. - (dwarf_regnames_count): Likewise. - (frame_need_space): Return int. - (display_debug_frames): Check invalid registers. - -2009-03-19 H.J. Lu <hongjiu.lu@intel.com> - - * readelf.c (debug_apply_relocations): Check relocations - against STT_SECTION symbol. - -2009-03-18 H.J. Lu <hongjiu.lu@intel.com> - - * readelf.c (debug_apply_relocations): Allow relocations - against function symbols. - -2009-03-18 Alan Modra <amodra@bigpond.net.au> - - * sysdep.h: Include alloca-conf.h instead of config.h and remove - existing #if's handling alloca. - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * configure.tgt: Extend AIX 5 behavior to AIX 6 and above. - * configure.in: Likewise. - * configure: Regenerate. - -2009-03-13 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/9945 - * objcopy.c (copy_object): Clear HAS_RELOC when stripping all. - -2009-03-11 Chris Demetriou <cgd@google.com> - - * ar.c (deterministic): New global variable. - (main): Recognize new 'D' option, which enables 'deterministic mode'. - (usage): Document new 'D' option. - (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's - flags if deterministic mode was requested. - * doc/binutils.texi (ar): Document deterministic mode ('D' option). - -2009-03-09 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/9933 - * objcopy.c (filter_symbols): Properly handle common symbols - in relocatable file. - -2009-03-06 Nick Clifton <nickc@redhat.com> - - * po/es.po: Updated Spanish translation. - -2009-03-05 Nick Clifton <nickc@redhat.com> - - * objdump.c (disassemble_section): If the computed next offset is - not beyond the current offset then just continue to the end. - -2009-03-04 Tristan Gingold <gingold@adacore.com> - - * MAINTAINERS: Add myself as VMS maintainer. - -2009-03-03 Nick Clifton <nickc@redhat.com> - - * readelf.c: Update formatting. - -2009-03-03 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2009-03-03 Alan Modra <amodra@bigpond.net.au> - - * objdump.c (disassemble_section): Mask address before sign extending. - -2009-03-02 Sebastian Biallas <sb@biallas.net> - - * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type. - (parse_ieee_bb): Set the filename if it has not already been - discovered. - -2009-03-02 Cary Coutant <ccoutant@google.com> - - * readelf.c (adjust_relative_path): New function. - (struct archive_info): New type. - (setup_archive): New function. - (release_archive): New function. - (setup_nested_archive): New function. - (get_archive_member_name): New function. - (get_archive_member_name_at): New function. - (make_qualified_name): New function. - (process_archive): Factor out code for reading archive index and - long filename table to setup_archive. Add support for thin archives. - -2009-03-02 Nick Clifton <nickc@redhat.com> - - * po/sk.po: Updated Slovak translation. - -2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure: Regenerate. - -2009-02-23 Cary Coutant <ccoutant@google.com> - - * objdump.c (load_specific_debug_section): New function, from - load_debug_section. - (load_debug_section): Use load_specific_debug_section. - (dump_dwarf_section): Likewise. - -2009-02-23 Cary Coutant <ccoutant@google.com> - - * readelf.c (parse_args): Select all sections explicitly for -w. - -2009-02-09 Kai Tietz <kai.tietz@onevision.com> - - * windres.c (set_endianess): Copy name without leading '-'. - -2009-02-09 Tristan Gingold <gingold@adacore.com> - - * NEWS: Mention feature match between objdump and readelf for dumping - dwarf info. - - * doc/binutils.texi (objdump): Document -W/--dwarf improvments to - objdump. - - * objdump.c (usage): Update documentation for -W/--dwarf. - (enum option_values): Add OPTION_DWARF. - (long_options): --dwarf can accept arguments. - (dump_dwarf_section): Also check enabled field. - (main): Option -W can accept arguments, code moved to - dwarf.c and call dwarf_select_sections_all instead. - * readelf.c (process_section_headers): Remove do_debug_lines_decoded. - (parse_args): Move code to... - * dwarf.c (dwarf_select_sections_by_letters, - dwarf_select_sections_by_names): : ...here (new functions). - (do_debug_lines_decoded): Remove and replaced by ... - (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros. - (display_debug_lines): Adjust for previous change. - (dwarf_select_sections_all): New function. - (debug_displays): Add initializer for enabled field. - * dwarf.h (do_debug_lines_decoded): Remove. - Add prototypes for the new functions. - (struct dwarf_section_display): Add enabled field. - -2009-02-06 Nick Clifton <nickc@redhat.com> - - * po/vi.po: Updated Vietnamese translation. - -2009-02-03 Sandip Matte <sandip@rmicorp.com> - - * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR. - -2009-02-03 H.J. Lu <hongjiu.lu@intel.com> - - * NEWS: Move --as-needed change to ... - * ../ld/NEWS: Here. - -2009-02-03 Carlos O'Donell <carlos@codesourcery.com> - - * configure.in: AC_SUBST pdfdir. - * Makefile.am: Add install-pdf, install-pdf-am, - and install-pdf-recursive targets. - * doc/Makefile.am: Define pdf__strip_dir. Add - install-pdf and install-pdf-am targets. - * po/Make-in: Add install-pdf target. - * configure: Regenerate. - * Makefile.in: Regenerate. - * doc/Makefile.in: Regenerate. - -2009-02-03 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/9784 - * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL. - - * doc/binutils.texi: Document --prefix=PREFIX and - --prefix-strip=LEVEL. - - * objdump.c: Include "filenames.h". - (prefix): New. - (prefix_strip): Likewise. - (prefix_length): Likewise. - (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL. - (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP. - (long_options): Likewise. - (show_line): Handle prefix and prefix_strip. - (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP. - - * readelf.c (PATH_MAX): Moved to ... - * sysdep.h: Here. - -2009-01-31 Alan Modra <amodra@bigpond.net.au> - - * NEWS: Mention --as-needed change. - -2009-01-29 Alan Modra <amodra@bigpond.net.au> - - PR 9798 - * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename. - (bfd_get_archive_filename): Constify param. - * bucomm.h (bfd_get_archive_filename): Update prototype. - * objcopy.c (RETURN_NONFATAL): Delete. - (copy_unknown_object): Don't call bfd_get_archive_filename for - bfd_nonfatal_message filename, instead just pass bfd. - (copy_object): Likewise. - (copy_archive, copy_file): Likewise. Expand RETURN_NONFATAL. On - bfd_close errors, do not pass the bfd to bfd_nonfatal_message. - (setup_bfd_headers): Fix error message. - -2009-01-27 Nick Clifton <nickc@redhat.com> - - PR 9774 - * objdump.c (disassemble_section): When the target uses signed - addresses make sure that we compute signed values. - -2009-01-27 Nick Clifton <nickc@redhat.com> - - * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS - maintainers. - -2009-01-26 Nick Clifton <nickc@redhat.com> - - PR 9766 - * dlltool.c (xlate): When strip text after the @ sign, look for - the last one not the first one. - -2009-01-16 Alan Modra <amodra@bigpond.net.au> - - * configure.in (commonbfdlib): Delete. - * configure: Regenerate. - -2008-01-14 Charles Wilson <cygwin@cwilson.fastmail.fm> - - Cleanup code related to --identify option. - - * dlltool.c (file scope): Removed globals identify_ms, - identify_member_contains_symname_result, - identify_dll_name_list_head, and identify_dll_name_list_tail. - Renamed existing typedef dll_name_list_type to - dll_name_list_node_type. - Added new typedefs dll_name_list_type, symname_search_data_type, - and identify_data_type. - (identify_append_dll_name_to_list): Renamed to... - (dll_name_list_append): ...here. Changed signature to accept list - argument rather than use global. - (identify_count_dll_name_list): Renamed to... - (dll_name_list_count): ...here. Changed signature to accept list - argument rather than use global. - (identify_print_dll_name_list): Renamed to... - (dll_name_list_print): ...here. Changed signature to accept list - argument rather than use global. - (identify_free_dll_name_list): Renamed to... - (dll_name_list_free_contents): ...here. - (dll_name_list_free): New function. - (dll_name_list_create): New function. - (identify_process_section_p): Changed signature to accept - ms_style_implib argument rather than use global. - (identify_member_contains_symname): Expect incoming void * data to - be symname_search_data_type. - (identify_dll_for_implib): Use new functions dll_name_list_create - and dll_name_list_free. Use new types symname_search_data_type - and identify_data_type to communicate with search routines. - (identify_search_section): Expect incoming void * data to be - identify_data_type. Use its contents rather than global - variables. - -2009-01-13 Charles Wilson <cygwin@cwilson.fastmail.fm> - - Add --identify-strict option. Handle ms-style implibs: - - * dlltool.c (file scope): Added new globals identify_ms and - identify_strict. New typedef dll_name_list_type, and globals - identify_dll_name_list_head and identify_dll_name_list_tail. Added - new global identify_member_contains_symname_result. - (identify_append_dll_name_to_list): New function. - (identify_count_dll_name_list): New function. - (identify_print_dll_name_list): New function. - (identify_free_dll_name_list): New function. - (identify_search_archive): Changed signature to take function - pointer to operation to apply to each member, and data to pass on - to that function. - (identify_search_member): Changed signature to accept user data - from caller. - (identify_member_contains_symname): New function. - (identify_dll_for_implib): Rewrite. Now determines whether implib - is ms- or binutils- style, before searching sections for - dllname. Allows multiple dllnames. - (identify_process_section_p): Search alternate section for dllname - when implib is ms-style. - (identify_search_section): Add additional conditions to excludes - candidate sections from consideration. - (usage): Added --identify-strict. - (long_options): Added --identify-strict. - (main): Handle --identify-strict option. - * doc/binutils.texi: Document --identify-strict option. - * NEWS: Document --identify and --identify-strict options. - -2009-01-13 Alan Modra <amodra@bigpond.net.au> - - PR 7034 - * doc/binutils.texi (objdump -R): Note effect of -d or -D. - -2009-01-13 Alan Modra <amodra@bigpond.net.au> - - * objdump.c (disassemble_section): Don't assume non-instruction - data if object symbol at given address is in different section. - -2009-01-12 Kai Tietz <kai.tietz@onevision.com> - - * dlltool.c (create_for_pep): New. - (flush_page): Use create_for_pep instead of using - macro DLLTOOL_MX86_64 clause. - (generate_idata_ofile): Likewise. - (make_one_lib_file): Likewise. - (make_head): Likewise. - (make_tail): Likewise. - (main): Initialize create_for_pep. - -2009-01-08 Kai Tietz <kai.tietz@onevision.com> - - * dlltool.c (use_nul_prefixed_import_tables): New. - (make_head): Make prefix leading zero prefix element for - idata$4 and idata$5 dependent to new flag. - (usage): Add new option --use-nul-prefixed-import-tables. - (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New. - (long_options): Add --use-nul-prefixed-import-tables. - (main): Likewise. - * doc/binutils.texi: Add new option documentation for - --use-nul-prefixed-import-tables. - * NEWS: Add new option. - -2009-01-06 Kai Tietz <kai.tietz@onevision.com> - - * windres.c (set_endianess): Get architecture name - for internal target names like "pe-arm-wince-little". - (find_arch_match): New helper. - * ChangeLog: Reset it. - * ChangeLog-2008: Moved old ChangeLog. - -For older changes see ChangeLog-2008 +For older changes see ChangeLog-2009 Local Variables: mode: change-log diff --git a/binutils/ChangeLog-2009 b/binutils/ChangeLog-2009 new file mode 100644 index 0000000..2dfa3b9 --- /dev/null +++ b/binutils/ChangeLog-2009 @@ -0,0 +1,1355 @@ +2009-12-31 Eirik Byrkjeflot Anonsen <eirik@opera.com> + Nick Clifton <nickc@redhat.com> + + * objcopy.c (add_redefine_syms_file): Avoid symbol buffer + overrun. + +2009-12-21 Alan Modra <amodra@gmail.com> + + * MAINTAINERS: Update my email address. + +2009-12-18 Ulrich Weigand <uweigand@de.ibm.com> + + * readelf.c (get_note_type): Handle NT_S390_HIGH_GPRS notes. + +2009-12-11 Nick Clifton <nickc@redhat.com> + + * Makefile.in: Regenerate. + * doc/Makefile.in: Regenerate. + * ar.c: Fix shadowed variable warnings. + * bucomm.c: Likewise. + * coffgrok.c: Likewise. + * configure: Likewise. + * dlltool.c: Likewise. + * dllwrap.c: Likewise. + * dwarf.c: Likewise. + * ieee.c: Likewise. + * nlmconv.c: Likewise. + * nm.c: Likewise. + * objcopy.c: Likewise. + * objdump.c: Likewise. + * prdbg.c: Likewise. + * readelf.c: Likewise. + * resbin.c: Likewise. + * resrc.c: Likewise. + * resres.c: Likewise. + * srconv.c: Likewise. + * stabs.c: Likewise. + * sysdump.c: Likewise. + * sysinfo.y: Likewise. + * wrstabs.c: Likewise. + +2009-12-10 Tristan Gingold <gingold@adacore.com> + + * addr2line.c (pretty_print): New variable. + (long_options): Add an entry for -p/--pretty-print. + (usage): Document -p/--pretty-print. + (translate_addresses): Handle pretty_print. Reindent. + (main): Handle option -p. + * doc/binutils.texi (addr2line): Document -p/--pretty-print. + * NEWS: Mention new feature. + +2009-12-09 Tristan Gingold <gingold@adacore.com> + + * addr2line.c (translate_addresses): Display addresses + if option -a is used. + (with_addresses): New variable. + (long_options): Add option '-a'. + (usage): Add usage for option '-a'. + (main): Handle option '-a'. + * doc/binutils.texi (addr2line): Document option '-a'. + * NEWS: Mention new feature. + +2009-12-08 Cary Coutant <ccoutant@google.com> + + * dwarf.c (dwarf_select_sections_by_names): Handle pubtypes correctly. + (debug_displays): Remove duplicate entry for debug_pubtypes. + +2009-12-03 David Daney <ddaney@caviumnetworks.com> + Adam Nemet <adambnemet@gmail.com> + + * readelf.c (get_machine_flags): Handle E_MIPS_MACH_OCTEON2 case. + +2009-12-03 Nick Clifton <nickc@redhat.com> + + PR binutils/11045 + * dwarf.c (do_debug_pubtypes): New variable. + (dwarf_select_sections_by_names): Handle .debug_pubtypes. + (dwarf_select_sections_by_letters): Add 't' for .debug_pubtype. + (dwarf_select_sections_all): Set do_debug_pubtypes. + (debug_displays): Add support for .debug_pubtypes. + * dwarf.h (do_debug_pubtypes): Export. + * objdump.c (usage): Add -wt or --dwarf=pubtypes. + * readelf.c (usage): Likewise. + (process_section_headers): Enable debug display if + do_debug_pubtypes is set. + * doc/binutils.texi: Document -wt/--dwarf=pubtypes option. + +2009-12-02 Jerker Bäck <jerker.back@gmail.com> + + PR binutils/11017 + * dlltool.c (PAGE_SIZE): Delete. + (PAGE_MASK): Provide default definition based on COFF_PAGE_SIZE. + Check for DLLTOOL_DEFAULT_MX86_64 and DLLTOOL_DEFAULT_I386. + +2009-12-01 Joseph Myers <joseph@codesourcery.com> + + * readelf.c (get_machine_name, get_osabi_name): Handle more + allocated values. + +2009-11-30 Joseph Myers <joseph@codesourcery.com> + + * configure: Regenerate. + +2009-11-20 Nick Clifton <nickc@redhat.com> + + * readelf.c: Include xc16x.h. + (dump_relocations): Handle relocations for the xc16x target. + (get_machine_name): Accept EM_C166 for xc16x targets. + (is_32bit_abs_reloc): Add support for xc16c 32-bit absolute reloc. + (is_16bit_abs_reloc): Add support for xc16c 16-bit absolute reloc. + (is_none_reloc): Add support for xc16c null reloc. + +2009-11-20 Ben Elliston <bje@au.ibm.com> + + * Makefile.am (syslex.o): Use $(NO_WERROR) not -Wno-error. + (sysinfo.o): Likewise. + * Makefile.in: Regenerate. + +2009-11-19 Ben Elliston <bje@au.ibm.com> + + * arlex.l: Enable noinput, nounput flex options. + * syslex.l: Likewise. + +2009-11-17 Paul Brook <paul@codesourcery.com> + Daniel Jacobowitz <dan@codesourcery.com> + + * readelf.c (arm_attr_tag_CPU_arch): Add v7E-M. + +2009-11-16 Kai Tietz <kai.tietz@onevision.com> + + * windmc.c (set_endianess): Use bfd_get_target_info. + * windres.c (set_endianess): Likewise. + (find_arch_match): Removed. + +2009-11-11 Nick Clifton <nickc@redhat.com> + + * po/id.po: Updated Indonesian translation. + +2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com> + + * configure.in: Stop checking for fopen64 and stat64. + * strings.c (file_off, file_open, statbuf, file_stat): Remove. + (strings_file): Change file_off to file_ptr, file_open to fopen, + statbuf to struct stat and file_stat to stat. + (get_char): Change parameter type file_off * to file_ptr *. + (print_strings): Change parameter and variable `start' type file_off to + file_ptr. + * configure: Regenerate. + * config.in: Regenerate. + +2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com> + + * configure.in: Call ACX_LARGEFILE. Stop calling AC_PLUGINS, + AC_SYS_LARGEFILE and checking the Solaris largefile exception. + * aclocal.m4: Regenerate. + * configure: Regenerate. + +2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com> + + * bucomm.c (get_file_size): Update comment for the error return value. + +2009-11-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * readelf.c (slurp_hppa_unwind_table): Don't relocate address twice. + +2009-11-05 Kai Tietz <kai.tietz@onevision.com> + + * dllwrap.c (is_leading_underscore): New variable. + (cpu_type): New enum type. + (which_cpu): New variable. + (usage): Add new options --no-leading-underscore + and --leading-underscore. + (long_options): Likewise. + (OPTION_NO_LEADING_UNDERSCORE): New define. + (OPTION_LEADING_UNDERSCORE): Likewise. + (main): Initialize which_host, pass new options + to dlltool, do underscoring dependent on + is_leading_underscore, and do '@12' decoration + only for x86. + +2009-11-02 Paul Brook <paul@codesourcery.com> + + * readelf.c (arm_attr_tag_VFP_arch): Add VFPv4 and VFPv4-D16. + +2009-10-28 Kai Tietz <kai.tietz@onevision.com> + + * dlltool.c (leading_underscore): New local variable. + (asm_prefix): Interpret leading_underscore. + (xlate): Likewise. + (add_excludes): Use leading_underscore for making + symbol name. + (gen_exp_file): Use leading_underscore for internal + _imp_ symbols. + (usage): Add display of --no-leading-underscore and + --leading-underscore option. + (OPTION_NO_LEADING_UNDERSCORE): New. + (OPTION_LEADING_UNDERSCORE): New. + (long_options): Add --no-leading-underscore and + --leading-underscore option. + (main): Handle new options. + * doc/binutils.text: Add documentation of the options + --no-leading-underscore and --leading-underscore. + +2009-10-23 Kai Tietz <kai.tietz@onevision.com> + + * deflex.l: Allow '<' and '>' in ID names. + + * defparse.y (EQUAL): New token constant. + (opt_import_name): New rule for emptry or '==' ID. + (expline): Add opt_import_name as last line element. + (impline): Likewise. + * dlltool.c (ifunct): New member its_name. + (export): Likewise. + (append_import): Add its_name argument. + (defexports): Likewise. + (defimport): Likewise. + (scan_drectve_symbols): Adjust calls to def_exports. + (dump_def_info): Print new optinal import/export table + symbol name. + (generate_idata_ofile): Use its_name member. + (make_one_lib_file): Likewise. + (nfunc): Take its_name in account on sort. + * dlltool.h (def_exports): Add its_name as argument. + (def_import): Likewise. + * doc/binutils.texi: Add new def file syntax extension. + * deflex.l (EQUAL): Add rule for '=='. + * NEWS: Mention new feature. + +2009-10-23 Thomas Cougnard <thomas.cougnard@gmail.com> + + * readelf.c (dynamic_info): Correct size of array. + +2009-10-21 Ben Elliston <bje@gnu.org> + + * MAINTAINERS (BUILD SYSTEM, TESTSUITES): Remove myself. + +2009-10-19 Jerker Bäck <jerker.back@gmail.com> + + PR binutils/10793 + * prdbg.c (tg_end_struct_type): Warning fix. + + PR binutils/10792 + * dlltool.c (dll_name_list_append): Declare variable at start + of block. + (dll_name_list_count, dll_name-list_print): Likewise. + +2009-10-16 Doug Evans <dje@sebabeach.org> + + * MAINTAINERS: Add myself as m32r maintainer. + +2009-10-16 Jerker Bäck <jerker.back@gmail.com> + + PR 10764 + * Makefile.am (sysinfo.o, syslex.o): Place source file after all + command line switches. + * Makefile.in: Regenerate. + +2009-10-16 Yann Droneaud <yann@droneaud.fr> + + PR 10768 + * dlltool.c (bfd_get_errmsg): New macro. + (scan_obj_file): Use it. + (make_one_lib_file): Use it. + (make_head): Use it. + (make_delay_head): Use it. + (make_tail): Use it. + (gen_lib_file): Use it. + (identify_dll_for_implib): Use it. + (identify_search_archive): Use it. + +2009-10-16 Nick Clifton <nickc@redhat.com> + + * readelf.c (usage): Add mention of --debug-dump=frames-interp. + Wrap output to 80 columns. + * objdump.c (usage): Likewise. + * doc/binutils.texi (readelf): Add note about =frames-interp. + +2009-10-01 Alan Modra <amodra@bigpond.net.au> + + * addr2line.c (slurp_symtab): Don't use bfd_read_minisymbols. + +2009-09-29 Nick Clifton <nickc@redhat.com> + + * doc/binutils.texi (c++filt): Remove spurious description of + nonexistent --java command line switch for cxxfilt. + +2009-09-29 DJ Delorie <dj@redhat.com> + + * readelf.c: Add support for RX target. + * MAINTAINERS: Add DJ and NickC as maintainers for RX. + +2009-09-28 Alan Modra <amodra@bigpond.net.au> + + * configure.in: Don't invoke configure.tgt on $enable_targets. + * configure: Regenerate. + +2009-09-28 Nick Clifton <nickc@redhat.com> + + PR 10478 + * readelf.c (get_elf_section_flags): Allow SHN_BEFORE and + SHN_AFTER section link values in x86 binaries. + (process_section_headers): Likewise. + +2009-09-25 Dmitry Gorbachev <d.g.gorbachev@gmail.com> + + PR 10656 + * readelf.c: Remove duplicate declaration of variable do_wide. + * dwarf.h: Add export of do_wide. + +2009-09-24 Cary Coutant <ccoutant@google.com> + + * dwarf.c (get_TAG_name): Add missing DWARF-3 and new DWARF-4 tags. + (get_FORM_name): Add new DWARF-4 forms. + (read_and_display_attr_value): Add DW_FORM_ref_sig8, DW_LANG_Python. + (get_AT_name): Add new DWARF-4 and GNU-specific attributes. + (process_debug_info): Add do_types parameter; change all callers. + Add support for .debug_types sections. + (display_debug_types): New function. + (debug_displays): Add .debug_types section. + * readelf.c (process_section_headers): Add .debug_types section. + (display_debug_section): Simplify call to streq. + +2009-09-25 Alan Modra <amodra@bigpond.net.au> + + * readelf.c (print_dynamic_symbol): Format entries as for + normal symbol table. + (process_symbol_table): Use -7s format string for visibility. + +2009-09-22 Richard Sandiford <rdsandiford@googlemail.com> + + * objdump.c (disassemble_section): Use bfd_get_arch_size + instead of assuming that the address size is 32 bits. + +2009-09-21 Alan Modra <amodra@bigpond.net.au> + + * readelf.c (get_ppc_dynamic_type): Add TLSOPT. + (get_ppc64_dynamic_type): Likewise. + +2009-09-18 Nick Clifton <nickc@redhat.com> + + * po/es.po: Updated Spanish translation. + * po/vi.po: Updated Vietnamese translation. + +2009-09-11 Paul Pluzhnikov <ppluzhnikov@google.com> + + * readelf.c (process_version_sections, process_symbol_table): + Use symbolic constants. + +2009-09-11 Nick Clifton <nickc@redhat.com> + + * po/binutils.pot: Updated by the Translation project. + +2009-09-11 Philippe De Muyter <phdm@macqel.be> + + * obcopy.c (copy_object): New parameter `input_arch', architecture + of input file, if not specified in input file itself; all callers + updated; `binary_architecture' hack removed. + (copy_archive, copy_file): New parameter `input_arch', for + `copy_object' usage. + (copy_main): Accept `-B' (`--binary-architecture') option also + for any arch-less input ifile format, not only `binary'; remove + bfd_external_binary_architecture hack; instead, add `input_arch' + to calls to `copy_file'. + * windres.c, windmc.c : Obsolete and useless external references + to `bfd_external_binary_architecture' or `bfd_external_machine' + removed. + * doc/binutils.texi: Mention that -B parameter can be used for any + input file type which does not have its own architecture. + +2009-09-10 Martin Thuresson <martin@mtme.org> + + Update sources to compile cleanly with -Wc++-compat: + * addr2line.c (slurp_symtab): Fix casts. Introduce variable + minisyms to avoid aliasing varning. + * ar.c: Add casts. + (normalize): Use name del instead of delete. + (display_target_list,display_info_table): Change loop counter + variable a to int. + * bucomm.c: Add casts. + * debug.c: Update function to use new names. + (struct debug_baseclass): Rename member from virtual to + is_virtual. + (struct debug_type_s, struct debug_field_s, struct + debug_baseclass_s, struct debug_method_s, struct + debug_method_variant_s, struct debug_type_s): Rename struct from + avoid name collision. + * debug.h: Use new struct names. + * dwarf.c: Add casts. + (free_debug_memory): Change loop counter variable a to int. + * ieee.c: Add casts. + (enum ieee_var_kind): Move to top level. + (ieee_class_baseclass): Rename parameter virtual to is_virtual. + (ieee_class_method_var): Rename variable virtual to is_virtual. + * nm.c: Add casts. + * objcopy.c: Add casts. + (copy_archive): Rename variable delete to del. + * objdump.c: Add casts. + (dump_dwarf_section): Change loop counter variable i to int. + * prdbg.c: Add casts. + (pr_class_baseclass,tg_class_baseclass): Rename parameters virtual + to is_virtual. + * readelf.c: Add casts. + (struct ia64_unw_table_entry,struct hppa_unw_table_entry): Move to + top level. + * size.c: Add casts. + * stabs.c (parse_stab_type, parse_stab_range_type, + (parse_stab_cpp_abbrev): Rename parameter from typename to + type_name. + (parse_stab_baseclasses): Rename variable virtual to is_virtual. + * strings.c: Add casts. + * wrstabs.c (stab_class_baseclass): Rename parameter virtual to + is_virtual. + +2009-09-09 Nick Clifton <nickc@redhat.com> + + PR 10478: + readelf.c (get_elf_section_flags): Add support for SHF_EXCLUDE and + SHF_ORDERED. + (process_section_headers): Warn about out of range sh_link + values. When displaying detailed section header information + annote the SHN_BEFORE and SHN_AFTER values. + +2009-09-08 Alan Modra <amodra@bigpond.net.au> + + * dwarf.c (byte_get_little_endian): Handle size of 3. + (byte_get_big_endian): Likewise. + * readelf.c (byte_put_little_endian): Likewise. + (byte_put_big_endian): Likewise. + (is_24bit_abs_reloc): New function. + (is_none_reloc): Formatting. + (apply_relocations): Use is_24bit_abs_reloc. Handle pj and xtensa + reloc peculiarity. + +2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com> + + * readelf.c (is_none_reloc <EM_XTENSA_OLD>, is_none_reloc <EM_XTENSA>): + New. + +2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com> + + * dwarf.c (process_debug_info): Support section padding abbrev codes. + +2009-09-07 Tristan Gingold <gingold@adacore.com> + + * po/binutils.pot: Regenerate. + +2009-09-05 Jan Kratochvil <jan.kratochvil@redhat.com> + + * Makefile.am (sysdump.o): Depend on sysroff.c. + * Makefile.in: Regenerate. + +2009-09-05 Martin Thuresson <martin@mtme.org> + + * ieee.c (ieee_read_cxx_misc, ieee_read_cxx_class, + ieee_read_reference): Rename variables named class to cxxclass. + +2009-09-04 Tristan Gingold <gingold@adacore.com> + + * BRANCHES: Add binutils-2_20-branch. + +2009-09-04 Tristan Gingold <gingold@adacore.com> + + * NEWS: Add marker for 2.20. + +2009-09-04 Timo Kreuzer <timo.kreuzer@web.de> + + * dlltool.c (delayimp_name): Add new global variable + (usage, long_options, main): Add new option "-y" / "--output-delaylib" + (struct mac): Add fields how_dljtab_size, how_dljtab_roff1, + how_dljtab_roff2, how_dljtab, trampoline. + (i386_dljtab): Add binary stub for x86 delay import. + (i386_trampoline): Add text assembly stub for x86 delay import. + (mtable): Add delay import data for M386 and MX86 only. + (make_delay_head): New function. + (make_one_lib_file): New arg delay creates delay-load import stub. + (gen_lib_file): New arg delay likewise. + (HOW_JTAB, HOW_JTAB_SIZE, HOW_JTAB_ROFF): New arg delay likewise. + (HOW_JTAB_ROFF2, HOW_JTAB_ROFF3): New macros for delay import. + (make_tail): Convert hard TABS embedded in strings to "\t" escapes. + * NEWS: Mention new feature. Also fix whitespace. + * doc/binutils.texi: Updated dlltool documentation. + +2009-09-02 Tristan Gingold <gingold@adacore.com> + + * configure.com: Do not copy makefile.vms-in to makefile.vms + * makefile.vms-in: Renamed to... + * makefile.vms: ... this usual name as it is not processed anymore. + Remove WRITE_DEBUG_OBJS (unused) and reorder object files for + objdump.exe. + +2009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * Makefile.am (arparse.o, arlex.o, sysroff.o, defparse.o) + (deflex.o, nlmheaders.o, rcparse.o, mcparse.o): Supply correct + source file name for generated files which may be in $(srcdir). + * Makefile.in: Regenerate. + +2009-09-01 H.J. Lu <hongjiu.lu@intel.com> + + * version.c (print_version): Change to "Copyright 2009". + +2009-09-01 Tristan Gingold <gingold@adacore.com> + + * makefile.vms-in: Remove unused VERSION variable. Remove unused + dependencies. + * configure.com: Ported to Itanium VMS. Create build.com DCL script. + +2009-08-29 Martin Thuresson <martin@mtme.org> + + * nlmconv.c (main): Rename variable new to new_name. + +2009-08-28 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.am (sysinfo$(EXEEXT_FOR_BUILD)): Replace + CFLAGS/LDFLAGS with CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD. + (syslex.o): Likewise. + (sysinfo.o): Likewise. + (bin2c$(EXEEXT_FOR_BUILD)): Likewise. + * Makefile.in: Regenerated. + +2009-08-27 Dave Korn <dave.korn.cygwin@gmail.com> + + * doc/binutils.texi (--only-keep-debug): Relocate stray para here ... + (--subsystem): ... from here. + +2009-08-24 Cary Coutant <ccoutant@google.com> + + * objdump.c (find_symbol_for_address): Avoid costly call to + bfd_octets_per_byte. + +2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * Makefile.am (am__skiplex, am__skipyacc): New. + * Makefile.in: Regenerate. + +2009-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * Makefile.am (syslex.o): Depend on sysinfo.h config.h. + * Makefile.in: Regenerate. + +2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * Makefile.am (AM_CPPFLAGS): Renamed from ... + (INCLUDES): ... this. + (bin2c$(EXEEXT_FOR_BUILD): Adjust rule. + (installcheck-local): Renamed from ... + (installcheck): ... this. + * Makefile.in: Regenerate. + + * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add no-dist and + foreign. + (MKDEP, CLEANFILES): Remove now-unneeded variables. + (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove. + (mkdep section): Remove. + (BUILT_SOURCES): New variable, list $(GENERATED_HFILES). + (EXTRA_ar_SOURCES): New, list $(CFILES). + (syslex.o): Depend on syslex.c. + (sysinfo.o): Depend on sysinfo.c. + (arparse.h, defparse.h, nlmheaders.h rcparse.h mcparse.h): + Remove dependencies, now tracked by automake. + (srconv.o): Depend on sysroff.c. + (objdump.o, arparse.o, arlex.o, sysroff.o, defparse.o, deflex.o) + (nlmheader.o, rcparse.o, mcparse.o, rclex.o, mclex.o, dlltool.o) + (rescoff.o, nlmconv.o): Rewrite using automake-style dependency + tracking rules; only list the dependency upon the primary source + file, but no included headers. + * Makefile.in: Regenerate. + + * Makefile.am (install-pdf, install-pdf-recursive, install-html) + (install-html-recursive): Remove. + * Makefile.in: Regenerate. + * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am) + (html__strip_dir, install-html, install-html-am): Remove. + * doc/Makefile.in: Regenerate. + + * Makefile.in: Regenerate. + * aclocal.m4: Likewise. + * config.in: Likewise. + * configure: Likewise. + * doc/Makefile.in: Likewise. + +2009-08-17 Nick Clifton <nickc@redhat.com> + + * readelf.c (is_32bit_abs_reloc): Treat R_PARISC_SECREL32 as a + 32-bit absolute reloc for the purposes of processing debug + sections. + +2009-08-10 Daniel Gutson <dgutson@codesourcery.com> + + * readelf.c (get_arm_section_type_name): Added support for + new sections headers. + +2009-08-03 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/10364 + * objcopy.c (strip_main): Check return from smart_rename. + (copy_main): Likewise. + +2009-07-27 Nick Clifton <nickc@redhat.com> + + PR 10413 + * objdump.c (dump_section_header): Skip sections that we are + ignoring. + +2009-07-25 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c (guess_is_rela): Handle EM_L1OM. + (dump_relocations): Likewise. + (get_machine_name): Likewise. + (get_section_type_name): Likewise. + (get_elf_section_flags): Likewise. + (get_symbol_index_type): Likewise. + (is_32bit_abs_reloc): Likewise. + (is_32bit_pcrel_reloc): Likewise. + (is_64bit_abs_reloc): Likewise. + (is_64bit_pcrel_reloc): Likewise. + (is_none_reloc): Likewise. + +2009-07-23 Ulrich Drepper <drepper@redhat.com> + + * readelf.c (get_symbol_binding): For Linux targeted files return + UNIQUE for symbols with the STB_GNU_UNIQUE binding. + * doc/binutils.texi: Document the meaning of the 'u' symbol + binding in the output of nm and objdump --syms. + +2009-07-20 H.J. Lu <hongjiu.lu@intel.com> + + * NEWS: Mention --insn-width. + + * objdump.c (insn_width): New. + (usage): Display --insn-width. + (option_values): Add OPTION_INSN_WIDTH. + (long_options): Add --insn-width. + (disassemble_bytes): Handle insn_width. + (main): Handle OPTION_INSN_WIDTH. + + * doc/binutils.texi: Document --insn-width. + +2009-07-17 Nick Clifton <nickc@redhat.com> + + * dwarf.c (display_debug_lines): If do_debug_lines has not been + set then default to displaying raw .debug_line section contents. + +2009-07-14 Jan Kratochvil <jan.kratochvil@redhat.com> + + Support unordered .debug_info references to .debug_ranges. + * dwarf.c (struct range_entry, range_entry_compar): New. + (display_debug_ranges): Remove variables last_offset, first, j, + seen_first_offset, use_debug_info and next. New variables + range_entries and range_entry_fill. Create the sorted copy + range_entries. Remove the FIXME error on detected unordered references. + * dwarf.h (debug_info <range_lists>): New comment. + +2009-07-14 Nick Clifton <nickc@redhat.com> + + PR 10380 + * README: Document use of LDFLAGS="--static". + +2009-07-10 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerated. + +2009-07-10 Tom Tromey <tromey@redhat.com> + + * Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h. + * Makefile.in: Rebuild. + * dwarf.c: Include dwarf2.h, not elf/dwarf2.h. + +2009-07-06 Tristan Gingold <gingold@adacore.com> + + * objdump.c (dump_dwarf_section): Handle .eh_frame like other dwarf + sections. + * dwarf.h (struct dwarf_section_display): Remove eh_frame field. + * dwarf.c (debug_displays): Adjust for removed field. + +2009-07-03 Jakub Jelinek <jakub@redhat.com> + + * dwarf.c (decode_location_expression): Handle DW_OP_stack_value + and DW_OP_implicit_value. + +2009-07-01 Nick Clifton <nickc@redhat.com> + + PR 6714 + * rclex.c (handle_quotes): Do not complain about whitespace + separating quoted strings. + (rclex_string): Ignore whitespace when looking for a new opening + quote following a closing quote. + +2009-06-27 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/10321 + * bucomm.c (get_file_size): Return -1 on error. + + * objcopy.c (copy_file): Report empty file. + +2009-06-23 Nick Clifton <nickc@redhat.com> + + * dwarf.c (display_debug_lines_raw): Include the name of the + section in warning message. + (struct debug_display): Enable reloc processing for .debug_line + and .debug_ranges sections. + + * readelf.c: Add --relocated-dump command line option to dump the + relocated contents of a specified section. + (request_dump): New function. + (parse_args): Use it. + (dump_section_as_bytes): Add parameter to indicate whether the + contents should be relocated. + (target_specific_reloc_handling): Add code for a R_MN10300_16 + reloc found after a R_MN10300_SYM_DIFF reloc. + (debug_apply_relocations): Rename to apply_relocations. + (get_section_contents): New function. Replaces common code found + in dump_section_as_strings and dump_section_as_bytes. + * doc/binutils.texi: Document new command line option. + * NEWS: Mention the new feature. + +2009-06-22 Nick Clifton <nickc@redhat.com> + + * readelf.c (target_specific_reloc_handling): New function: + Processes relocs in a target specific manner. + (debug_apply_relocations): Use the new function. + * dwarf.c (display_debug_loc): End the dump with a blank line. + (struct debug_display): Enable reloc processing for .debug_aranges + and .debug_loc sections. + +2009-06-19 Nick Clifton <nickc@redhat.com> + + * ar.c (usage): Do not use #ifdef inside _("...). + * nm.c (usage): Likewise. + +2009-06-18 Nick Clifton <nickc@redhat.com> + + PR 10288 + * objdump.c (disassemble_bytes): Set the + USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure + if the user has invoked the -m switch. + * doc/binutils.texi: Document the additional behaviour of + objdump's -m switch for ARM targets. + +2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com> + + * configure.in: Merge cegcc and mingw32ce target name changes from + CeGCC project. + +2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt> + + * configure.in: Add arm*-*-cegcc* and arm*-*-mingw32ce* targets. + * configure: Regenerate. + +2009-06-15 Nick Clifton <nickc@redhat.com> + + PR 10263 + * objdump.c (disassemble_bytes): Set the DISASSEMBLE_DATA bit in + the flags field of the disassemble_info structure if the -D switch + is in operation. + +2009-06-12 Homer Xing <homer.xing@yahoo.com> + + * NEWS: Mention new feature added to gprof. + +2009-06-12 John Reiser <jreiser@BitWagon.com> + + * readelf.c (process_symbol_table): Set gnubuckets to NULL after + freeing it and before returning. + +2009-06-12 Jakub Jelinek <jakub@redhat.com> + + * readelf.c (process_symbol_table): Don't return early if + .hash/.gnu.hash is empty/unusable and not -D. + +2009-06-09 Tom Bramer <tjb@postpro.net> + + PR 10165 + * winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED + to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types. + +2009-06-04 Alan Modra <amodra@bigpond.net.au> + + * strings.c (main): Delay parsing of decimal digits. + +2009-06-04 Alan Modra <amodra@bigpond.net.au> + + * dep-in.sed: Don't use \n in replacement part of s command. + * Makefile.am (DEP1): LC_ALL for uniq. + Run "make dep-am". + * Makefile.in: Regenerate. + +2009-06-03 Tristan Gingold <gingold@adacore.com> + + * MAINTAINERS: Add myself as Mach-O maintainer. + +2009-06-01 Alan Modra <amodra@bigpond.net.au> + + PR 10199 + * doc/binutils.texi (nm): Correct -S description. + +2009-05-28 Nick Clifton <nickc@redhat.com> + + * po/da.po: Updated Danish translation. + +2009-05-28 Nick Clifton <nickc@redhat.com> + + * readelf.c (display_debug_section): Do not display debug sections + with the NOBITS section type. + +2009-05-27 Rafael Avila de Espindola <espindola@google.com> + + * aclocal.m4: Include ../config/plugins.m4. + * configure.in: Use AC_PLUGINS. + * configure: Regenerate. + * Makefile.in: Regenerate. + * doc/Makefile.in: Regenerate. + +2009-05-27 Rafael Avila de Espindola <espindola@google.com> + + * ar.c (main): Call bfd_plugin_set_program_name. + * nm.c (main): Call bfd_plugin_set_program_name. + +2009-05-27 Nathan Sidwell <nathan@codesourcery.com> + + * sysdump.c (tab): Use puts rather than two printfs. + +2009-05-26 Nick Clifton <nickc@redhat.com> + + * po/id.po: Updated Indonesian translation. + * po/binutils.pot: Updated template file. + +2009-05-26 Rafael Avila de Espindola <espindola@google.com> + + * ar.c: Include plugin.h. + (main): Handle the --plugin option. + * nm.c: Include plugin.h. + (OPTION_PLUGIN): New. + (long_options): Add plugin. + (main): Handle OPTION_PLUGIN. + * NEWS: Mention the new feature. + * doc/binutils: Documement the new command line options. + * configure.in: Check for --enable-plugins. + * configure: Regenerate. + +2009-05-26 Alan Modra <amodra@bigpond.net.au> + + * dep-in.sed: Output one filename per line with all lines having + continuation backslash. Prefix first line with "A", following + lines with "B". + * Makefile.am (DEP): Don't use dep.sed here. + (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies, + sort and uniq. + * Makefile.in: Regenerate. + +2009-05-25 Tristan Gingold <gingold@adacore.com> + + * makefile.vms-in: Fix CFLAGS, add addr2line.exe target. + + * configure.com: Fix it: handle alloca and define TARGET in config.h. + +2009-05-22 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2009-05-12 Alan Modra <amodra@bigpond.net.au> + + * objcopy.c (set_long_section_mode): Check input_bfd is coff + before accessing coff specific fields of bfd. + +2009-05-09 Dave Korn <dave.korn.cygwin@gmail.com> + + * MAINTAINERS: Add myself as PE/COFF co-maintainer. + +2009-05-08 Kai Tietz <kai.tietz@onevision.com> + + * winduni.c (iconv_onechar): Only define when HAVE_ICONV + is defined, but not when __CYGWIN__ or _WIN32 are defined. + See wind_iconv_cp for call logic of this local funtion. + +2009-05-05 Guillaume Duhamel <guillaume.duhamel@gmail.com> + + PR 10109 + * winduni.c: Replace test of HAVE_ICONV_H with a test of + HAVE_ICONV. + (iconv_onechar): Use ICONV_CONST instead of "const". + (wind_MultiByteToWideChar): Initialise local strings. + +2009-04-30 Nick Clifton <nickc@redhat.com> + + * readelf.c (dump_relocations): Display a relocation against an + ifunc symbol as if it were a function invocation. + (get_symbol_type): Handle STT_GNU_IFUNC. + +2009-04-29 Anthony Green <green@moxielogic.com> + + * NEWS: Tweak verilog support description. + +2009-04-29 Alan Modra <amodra@bigpond.net.au> + Denis Scherbakov <denis_scherbakov@yahoo.com> + + * readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table + read, and merge with 32-bit case. + +2009-04-27 Anthony Green <green@moxielogic.com> + + * NEWS: Mention verilog support added to bfd. + +2009-04-27 H.J. Lu <hongjiu.lu@intel.com> + + * objcopy.c (copy_object): Copy pe_opthdr before changing PE + parameters. + +2009-04-24 Cary Coutant <ccoutant@google.com> + + * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator. + Add missing newlines to HP extensions. + +2009-04-17 H.J. Lu <hongjiu.lu@intel.com> + + * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd. + * doc/binutils.texi: Likewise. + +2009-04-17 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/10074 + * objcopy.c: Include coff/i386.h and coff/pe.h. + (pe_file_alignment): New. + (pe_heap_commit): Likewise. + (pe_heap_reserve): Likewise. + (pe_image_base): Likewise. + (pe_section_alignment): Likewise. + (pe_stack_commit): Likewise. + (pe_stack_reserve): Likewise. + (pe_subsystem): Likewise. + (pe_major_subsystem_version): Likewise. + (pe_minor_subsystem_version): Likewise. + (set_pe_subsystem): Likewise. + (convert_efi_target): Likewise. + (command_line_switch): Add OPTION_FILE_ALIGNMENT, + OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT, + OPTION_STACK and OPTION_SUBSYSTEM. + (copy_options): Likewise. + (copy_usage): Add --file-alignment, --heap, --image-base, + --section-alignment, --stack and --subsystem. + (copy_object): Set up PE parameters. + (copy_main): Process Add OPTION_FILE_ALIGNMENT, + OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT, + OPTION_STACK and OPTION_SUBSYSTEM. Convert EFI target to + PEI target. + + * NEWS: Mention --file-alignment, --heap, --image-base, + --section-alignment, --stack and --subsystem command line + options for objcopy. + + * doc/binutils.texi: Document --file-alignment, --heap, + --image-base, --section-alignment, --stack and --subsystem + command line options for objcopy. + +2009-04-15 Anthony Green <green@moxielogic.com> + + * MAINTAINERS: Add myself as Moxie port maintainer. + +2009-04-14 Dave Korn <dave.korn.cygwin@gmail.com> + + * objcopy.c (enum long_section_name_handling): New enum type. + (enum command_line_switch): Add OPTION_LONG_SECTION_NAMES. + (copy_options[]): Add entry for --long-section-names option. + (copy_usage): Document it. + (set_long_section_mode): New subroutine. + (copy_file): Call it. + (copy_main): Accept OPTION_LONG_SECTION_NAMES and parse arg. + * doc/binutils.texi: Update objcopy documentation with details + of new option. + +2009-04-01 Dave Korn <dave.korn.cygwin@gmail.com> + + * dlltool.c (set_dll_name_from_def): Accept new second arg that + indicates if we are building DLL or EXE, and use it to add a + default suffix to the output filename when none is already present. + (def_name): Indicate we are building an EXE when calling it. + (def_library): Indicate we are building a DLL when calling it. + +2009-04-01 Jari Aalto <jari.aalto@cante.net> + + PR 9972 + * doc/binutils.texi (strings): Document the -V alias for the + --version option. + * strings.c (usage): Likewise. + +2009-03-31 Nick Clifton <nickc@redhat.com> + + PR 9992 + * configure.in: Import Solaris specific largefile test from + bfd/configure.in. + * configure: Regenerate. + +2009-03-30 Richard Sandiford <rdsandiford@googlemail.com> + + * MAINTAINERS: Add self. + +2009-03-27 Nick Clifton <nickc@redhat.com> + + * dwarf.c (display_debug_ranges): Add the base address to the + displayed values for 'Begin' and 'End'. + +2009-03-25 Ryan Mansfield <rmansfield@qnx.com> + + * readelf.c (process_file_header): Don't report a corrupt string + table index if it is zero. + +2009-03-19 H.J. Lu <hongjiu.lu@intel.com> + + * dwarf.c (dwarf_regnames): Moved before frame_need_space. + (dwarf_regnames_count): Likewise. + (frame_need_space): Return int. + (display_debug_frames): Check invalid registers. + +2009-03-19 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c (debug_apply_relocations): Check relocations + against STT_SECTION symbol. + +2009-03-18 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c (debug_apply_relocations): Allow relocations + against function symbols. + +2009-03-18 Alan Modra <amodra@bigpond.net.au> + + * sysdep.h: Include alloca-conf.h instead of config.h and remove + existing #if's handling alloca. + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * configure.tgt: Extend AIX 5 behavior to AIX 6 and above. + * configure.in: Likewise. + * configure: Regenerate. + +2009-03-13 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/9945 + * objcopy.c (copy_object): Clear HAS_RELOC when stripping all. + +2009-03-11 Chris Demetriou <cgd@google.com> + + * ar.c (deterministic): New global variable. + (main): Recognize new 'D' option, which enables 'deterministic mode'. + (usage): Document new 'D' option. + (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's + flags if deterministic mode was requested. + * doc/binutils.texi (ar): Document deterministic mode ('D' option). + +2009-03-09 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/9933 + * objcopy.c (filter_symbols): Properly handle common symbols + in relocatable file. + +2009-03-06 Nick Clifton <nickc@redhat.com> + + * po/es.po: Updated Spanish translation. + +2009-03-05 Nick Clifton <nickc@redhat.com> + + * objdump.c (disassemble_section): If the computed next offset is + not beyond the current offset then just continue to the end. + +2009-03-04 Tristan Gingold <gingold@adacore.com> + + * MAINTAINERS: Add myself as VMS maintainer. + +2009-03-03 Nick Clifton <nickc@redhat.com> + + * readelf.c: Update formatting. + +2009-03-03 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2009-03-03 Alan Modra <amodra@bigpond.net.au> + + * objdump.c (disassemble_section): Mask address before sign extending. + +2009-03-02 Sebastian Biallas <sb@biallas.net> + + * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type. + (parse_ieee_bb): Set the filename if it has not already been + discovered. + +2009-03-02 Cary Coutant <ccoutant@google.com> + + * readelf.c (adjust_relative_path): New function. + (struct archive_info): New type. + (setup_archive): New function. + (release_archive): New function. + (setup_nested_archive): New function. + (get_archive_member_name): New function. + (get_archive_member_name_at): New function. + (make_qualified_name): New function. + (process_archive): Factor out code for reading archive index and + long filename table to setup_archive. Add support for thin archives. + +2009-03-02 Nick Clifton <nickc@redhat.com> + + * po/sk.po: Updated Slovak translation. + +2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * configure: Regenerate. + +2009-02-23 Cary Coutant <ccoutant@google.com> + + * objdump.c (load_specific_debug_section): New function, from + load_debug_section. + (load_debug_section): Use load_specific_debug_section. + (dump_dwarf_section): Likewise. + +2009-02-23 Cary Coutant <ccoutant@google.com> + + * readelf.c (parse_args): Select all sections explicitly for -w. + +2009-02-09 Kai Tietz <kai.tietz@onevision.com> + + * windres.c (set_endianess): Copy name without leading '-'. + +2009-02-09 Tristan Gingold <gingold@adacore.com> + + * NEWS: Mention feature match between objdump and readelf for dumping + dwarf info. + + * doc/binutils.texi (objdump): Document -W/--dwarf improvments to + objdump. + + * objdump.c (usage): Update documentation for -W/--dwarf. + (enum option_values): Add OPTION_DWARF. + (long_options): --dwarf can accept arguments. + (dump_dwarf_section): Also check enabled field. + (main): Option -W can accept arguments, code moved to + dwarf.c and call dwarf_select_sections_all instead. + * readelf.c (process_section_headers): Remove do_debug_lines_decoded. + (parse_args): Move code to... + * dwarf.c (dwarf_select_sections_by_letters, + dwarf_select_sections_by_names): : ...here (new functions). + (do_debug_lines_decoded): Remove and replaced by ... + (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros. + (display_debug_lines): Adjust for previous change. + (dwarf_select_sections_all): New function. + (debug_displays): Add initializer for enabled field. + * dwarf.h (do_debug_lines_decoded): Remove. + Add prototypes for the new functions. + (struct dwarf_section_display): Add enabled field. + +2009-02-06 Nick Clifton <nickc@redhat.com> + + * po/vi.po: Updated Vietnamese translation. + +2009-02-03 Sandip Matte <sandip@rmicorp.com> + + * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR. + +2009-02-03 H.J. Lu <hongjiu.lu@intel.com> + + * NEWS: Move --as-needed change to ... + * ../ld/NEWS: Here. + +2009-02-03 Carlos O'Donell <carlos@codesourcery.com> + + * configure.in: AC_SUBST pdfdir. + * Makefile.am: Add install-pdf, install-pdf-am, + and install-pdf-recursive targets. + * doc/Makefile.am: Define pdf__strip_dir. Add + install-pdf and install-pdf-am targets. + * po/Make-in: Add install-pdf target. + * configure: Regenerate. + * Makefile.in: Regenerate. + * doc/Makefile.in: Regenerate. + +2009-02-03 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/9784 + * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL. + + * doc/binutils.texi: Document --prefix=PREFIX and + --prefix-strip=LEVEL. + + * objdump.c: Include "filenames.h". + (prefix): New. + (prefix_strip): Likewise. + (prefix_length): Likewise. + (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL. + (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP. + (long_options): Likewise. + (show_line): Handle prefix and prefix_strip. + (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP. + + * readelf.c (PATH_MAX): Moved to ... + * sysdep.h: Here. + +2009-01-31 Alan Modra <amodra@bigpond.net.au> + + * NEWS: Mention --as-needed change. + +2009-01-29 Alan Modra <amodra@bigpond.net.au> + + PR 9798 + * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename. + (bfd_get_archive_filename): Constify param. + * bucomm.h (bfd_get_archive_filename): Update prototype. + * objcopy.c (RETURN_NONFATAL): Delete. + (copy_unknown_object): Don't call bfd_get_archive_filename for + bfd_nonfatal_message filename, instead just pass bfd. + (copy_object): Likewise. + (copy_archive, copy_file): Likewise. Expand RETURN_NONFATAL. On + bfd_close errors, do not pass the bfd to bfd_nonfatal_message. + (setup_bfd_headers): Fix error message. + +2009-01-27 Nick Clifton <nickc@redhat.com> + + PR 9774 + * objdump.c (disassemble_section): When the target uses signed + addresses make sure that we compute signed values. + +2009-01-27 Nick Clifton <nickc@redhat.com> + + * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS + maintainers. + +2009-01-26 Nick Clifton <nickc@redhat.com> + + PR 9766 + * dlltool.c (xlate): When strip text after the @ sign, look for + the last one not the first one. + +2009-01-16 Alan Modra <amodra@bigpond.net.au> + + * configure.in (commonbfdlib): Delete. + * configure: Regenerate. + +2008-01-14 Charles Wilson <cygwin@cwilson.fastmail.fm> + + Cleanup code related to --identify option. + + * dlltool.c (file scope): Removed globals identify_ms, + identify_member_contains_symname_result, + identify_dll_name_list_head, and identify_dll_name_list_tail. + Renamed existing typedef dll_name_list_type to + dll_name_list_node_type. + Added new typedefs dll_name_list_type, symname_search_data_type, + and identify_data_type. + (identify_append_dll_name_to_list): Renamed to... + (dll_name_list_append): ...here. Changed signature to accept list + argument rather than use global. + (identify_count_dll_name_list): Renamed to... + (dll_name_list_count): ...here. Changed signature to accept list + argument rather than use global. + (identify_print_dll_name_list): Renamed to... + (dll_name_list_print): ...here. Changed signature to accept list + argument rather than use global. + (identify_free_dll_name_list): Renamed to... + (dll_name_list_free_contents): ...here. + (dll_name_list_free): New function. + (dll_name_list_create): New function. + (identify_process_section_p): Changed signature to accept + ms_style_implib argument rather than use global. + (identify_member_contains_symname): Expect incoming void * data to + be symname_search_data_type. + (identify_dll_for_implib): Use new functions dll_name_list_create + and dll_name_list_free. Use new types symname_search_data_type + and identify_data_type to communicate with search routines. + (identify_search_section): Expect incoming void * data to be + identify_data_type. Use its contents rather than global + variables. + +2009-01-13 Charles Wilson <cygwin@cwilson.fastmail.fm> + + Add --identify-strict option. Handle ms-style implibs: + + * dlltool.c (file scope): Added new globals identify_ms and + identify_strict. New typedef dll_name_list_type, and globals + identify_dll_name_list_head and identify_dll_name_list_tail. Added + new global identify_member_contains_symname_result. + (identify_append_dll_name_to_list): New function. + (identify_count_dll_name_list): New function. + (identify_print_dll_name_list): New function. + (identify_free_dll_name_list): New function. + (identify_search_archive): Changed signature to take function + pointer to operation to apply to each member, and data to pass on + to that function. + (identify_search_member): Changed signature to accept user data + from caller. + (identify_member_contains_symname): New function. + (identify_dll_for_implib): Rewrite. Now determines whether implib + is ms- or binutils- style, before searching sections for + dllname. Allows multiple dllnames. + (identify_process_section_p): Search alternate section for dllname + when implib is ms-style. + (identify_search_section): Add additional conditions to excludes + candidate sections from consideration. + (usage): Added --identify-strict. + (long_options): Added --identify-strict. + (main): Handle --identify-strict option. + * doc/binutils.texi: Document --identify-strict option. + * NEWS: Document --identify and --identify-strict options. + +2009-01-13 Alan Modra <amodra@bigpond.net.au> + + PR 7034 + * doc/binutils.texi (objdump -R): Note effect of -d or -D. + +2009-01-13 Alan Modra <amodra@bigpond.net.au> + + * objdump.c (disassemble_section): Don't assume non-instruction + data if object symbol at given address is in different section. + +2009-01-12 Kai Tietz <kai.tietz@onevision.com> + + * dlltool.c (create_for_pep): New. + (flush_page): Use create_for_pep instead of using + macro DLLTOOL_MX86_64 clause. + (generate_idata_ofile): Likewise. + (make_one_lib_file): Likewise. + (make_head): Likewise. + (make_tail): Likewise. + (main): Initialize create_for_pep. + +2009-01-08 Kai Tietz <kai.tietz@onevision.com> + + * dlltool.c (use_nul_prefixed_import_tables): New. + (make_head): Make prefix leading zero prefix element for + idata$4 and idata$5 dependent to new flag. + (usage): Add new option --use-nul-prefixed-import-tables. + (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New. + (long_options): Add --use-nul-prefixed-import-tables. + (main): Likewise. + * doc/binutils.texi: Add new option documentation for + --use-nul-prefixed-import-tables. + * NEWS: Add new option. + +2009-01-06 Kai Tietz <kai.tietz@onevision.com> + + * windres.c (set_endianess): Get architecture name + for internal target names like "pe-arm-wince-little". + (find_arch_match): New helper. + * ChangeLog: Reset it. + * ChangeLog-2008: Moved old ChangeLog. + +For older changes see ChangeLog-2008 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/gas/ChangeLog b/gas/ChangeLog index 24c4198..4a2a6da 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,2908 +1,5 @@ -2009-12-28 Daniel Gutson <dgutson@codesourcery.com> - * doc/c-arm.texi: Document NEON alignment specifiers. - -2009-12-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> - Richard Earnshaw <richard.earnshaw@arm.com> - - * config/tc-arm.c (encode_thumb2_b_bl_offset): New. Refactored - from md_apply_fix. - (md_apply_fix): Fixup range checks for Thumb2 version - of unconditional calls. Call encode_thumb2_b_bl_offset for - unconditional branches / function calls. - -2009-12-19 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (process_operands): Check vexvvvv instead - of vexnds and vexndd. - (build_modrm_byte): Check vexvvvv instead of vexnds, vexndd - and vexlwp. - -2009-12-19 Maciej W. Rozycki <macro@codesourcery.com> - - * config/tc-mips.c (s_mips_ent): Also set BSF_FUNCTION for - ".aent". - -2009-12-18 Steve Ellcey <sje@cup.hp.com> - - * config/tc-hppa.c: Change access to access_ctr. - -2009-12-17 Nick Clifton <nickc@redhat.com> - - PR binutils/10924 - * config/tc-arm.c (do_ldstv4): Do not allow r15 as the destination - register. - (do_mrs): Likewise. - (do_mul): Likewise. - -2009-12-16 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (process_suffix): Set i.suffix to 0 in - Intel syntax if size is ignored and b/l/w suffixes are - illegal. - (check_byte_reg): Remove byteokintel check. - -2009-12-16 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (build_vex_prefix): Replace vex0f, vex0f38, - vex0f3a, xop08, xop09 and xop0a with vexopcode. - -2009-12-15 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (build_modrm_byte): Check XOP2SOURCES - instead VEX2SOURCES. - -2009-12-15 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (process_operands): Check vexsources - instead of vex3sources. - (build_modrm_byte): Check vexsources instead of vex2sources - and vex3sources. - -2009-12-15 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (build_vex_prefix): Replace vexw0/vexw1 - with vexw. - (build_modrm_byte): Likewise. - -2009-12-15 H.J. Lu <hongjiu.lu@intel.com> - - * as.h (mempcpy): New. - - * configure.in: Check if mempcpy is declared. - * configure: Regenerated. - * config.in: Likewise. - -2009-12-15 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (build_vex_prefix): Use VEX256. - -2009-12-14 Yoshinori Sato <ysato@users.sourceforge.jp> - - PR gas/11086 - * config/tc-rx.c (rx_equ): Rename 'expr' to 'expression' in order - to avoid shadowing a global symbol of the same name. - -2009-12-14 Nick Clifton <nickc@redhat.com> - - * config/tc-microblaze.c (md_assemble): Rename 'imm' to 'immed' in - order to avoid shadowing a global symbol of the same name. - -2009-12-11 Andrew Jenner <andrew@codesourcery.com> - - * config/tc-arm.c (arm_init_frag): Set thumb MODE_RECORDED flag for - non-elf. - (arm_handle_align): Re-enable assert for non-elf. - -2009-12-11 Nick Clifton <nickc@redhat.com> - - * Makefile.in: Regenerate. - * doc/Makefile.in: Regenerate. - * configure: Regenerate. - * dw2gencfi.c: Fix shadowed variable warnings. - * dwarf2dbg.c: Likewise. - * expr.c: Likewise. - * hash.c: Likewise. - * listing.c: Likewise. - * macro.c: Likewise. - * read.c: Likewise. - * stabs.c: Likewise. - * symbols.c: Likewise. - * write.c: Likewise. - * config/bfin-parse.y: Likewise. - * config/obj-coff.c: Likewise. - * config/tc-arm.c: Likewise. - * config/tc-bfin.c: Likewise. - * config/tc-cr16.c: Likewise. - * config/tc-crx.c: Likewise. - * config/tc-d10v.c: Likewise. - * config/tc-d30v.c: Likewise. - * config/tc-frv.c: Likewise. - * config/tc-i370.c: Likewise. - * config/tc-i386-intel.c: Likewise. - * config/tc-i386.c: Likewise. - * config/tc-ia64.c: Likewise. - * config/tc-m32r.c: Likewise. - * config/tc-m68hc11.c: Likewise. - * config/tc-mips.c: Likewise. - * config/tc-mn10200.c: Likewise. - * config/tc-mn10300.c: Likewise. - * config/tc-ns32k.c: Likewise. - * config/tc-ppc.c: Likewise. - * config/tc-score.c: Likewise. - * config/tc-score7.c: Likewise. - * config/tc-sh.c: Likewise. - * config/tc-sh64.c: Likewise. - * config/tc-sparc.c: Likewise. - * config/tc-tic30.c: Likewise. - * config/tc-tic4x.c: Likewise. - * config/tc-tic54x.c: Likewise. - * config/tc-xtensa.c: Likewise. - * config/tc-z8k.c: Likewise. - -2009-12-09 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (arch_entry): Add len and skip. - (cpu_arch): Use STRING_COMMA_LEN. - (MESSAGE_TEMPLATE): New. - (show_arch): Likewise. - (md_show_usage): Use show_arch. - -2009-12-07 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/11037 - * expr.c (resolve_expression): Call symbol_same_p to check - if 2 symbols are the same. - - * symbols.c (symbol_same_p): New. - * symbols.h (symbol_same_p): Likewise. - -2009-12-02 Nick Clifton <nickc@redhat.com> - Richard Earnshaw <rearnsha@arm.com> - - PR gas/11013 - * config/tc-arm.c (do_t_simd2): New function. - (insns): Use do_t_simd2 for QADD, QDADD, QSUB and QDSUB. - -2009-11-30 Joseph Myers <joseph@codesourcery.com> - - * configure: Regenerate. - -2009-11-30 Nick Clifton <nickc@redhat.com> - - PR gas/11032 - * config/tc-arm.c (relax_adr): Cope with a frag with no symbol. - -2009-11-19 Jan Beulich <jbeulich@novell.com> - - * read.c (pseudo_set): Also call copy_symbol_attributes() for - undefined target symbol. - -2009-11-18 Sebastian Pop <sebastian.pop@amd.com> - - * config/tc-i386.c (cpu_arch): Remove cvt16. - (md_show_usage): Same. - * doc/c-i386.texi: Same. - -2009-11-18 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (arm_fpus): Add fpv4-sp-d16. - (aeabi_set_public_attributes): Correctly mark VFPv3xD. - -2009-11-18 Alan Modra <amodra@bigpond.net.au> - - * config/tc-ppc.c (md_assemble): Report error on invalid @tls operands - and opcode. - -2009-11-17 Sebastian Pop <sebastian.pop@amd.com> - Quentin Neill <quentin.neill@amd.com> - - * config/tc-i386.c (cpu_arch): Added .xop and .cvt16. - (build_vex_prefix): Handle xop08. - (md_assemble): Don't special case the constant 3 for insns using MODRM. - (build_modrm_byte): Handle vex2sources. - (md_show_usage): Add xop and cvt16. - * doc/c-i386.texi: Document fma4, xop, and cvt16. - -2009-11-17 Paul Brook <paul@codesourcery.com> - Daniel Jacobowitz <dan@codesourcery.com> - - * doc/c-arm.texi: Document .arch armv7e-m. - * config/tc-arm.c (arm_ext_v6_dsp, arm_ext_v7m): New. - (insns): Put Thumb versions of v5TExP instructions into - arm_ext_v5exp also. Move some Thumb variants from - arm_ext_v6_notm to arm_ext_v6_dsp. - (arm_archs): Add armv7e-m architecture. - (aeabi_set_public_attributes): Handle -march=armv7e-m. - -2009-11-16 Viktor Kutuzov <vkutuzov@accesssoftek.com> - - * config/tc-arm.c (parse_operands): Encode APSR_nzcv as r15. - (do_vmrs): New function. - (do_vmsr): New function. - (insns): Add vmrs and vmsr. - -2009-11-13 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (md_assemble): Check destination operand - for lockable instructions. - -2009-11-13 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (_i386_insn): Don't use bit field on - swap_operand. - -2009-11-12 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (LOCKREP_PREFIX): Removed. - (REP_PREFIX): New. - (LOCK_PREFIX): Likewise. - (PREFIX_GROUP): Likewise. - (REX_PREFIX): Updated. - (MAX_PREFIXES): Likewise. - (add_prefix): Updated. Return enum PREFIX_GROUP. - (md_assemble): Check for lock without a lockable instruction. - (parse_insn): Updated. - (output_insn): Likewise. - -2009-11-12 Nick Clifton <nickc@redhat.com> - - * po/id.po: Updated Indonesian translation. - -2009-11-11 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (build_modrm_byte): Don't set register - operand twice. - -2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com> - - * configure.in: Call ACX_LARGEFILE. Stop calling AC_SYS_LARGEFILE. - * aclocal.m4: Regenerate. - * configure: Regenerate. - -2009-11-10 Maxim Kuvyrkov <maxim@codesourcery.com> - - * config/m68k-parse.h (enum m68k_register): Add ACR[4-7], RGPIOBAR. - * config/tc-m68k.c (mcf5206_ctrl): Fix whitespace. - (mcf52223_ctrl): Remove non-existent registers. - (mcf54418): Define. - (mcf54455): Remove MBAR. - (m68k_cpus): Add lines for MCF5441x family. - (m68k_ip, init_table): Handle RGPIOBAR, ACR[4-7]. - -2009-11-06 H.J. Lu <hongjiu.lu@intel.com> - - * doc/c-i386.texi: Move .lwp. - -2009-11-06 Alan Modra <amodra@bigpond.net.au> - - * config/obj-elf.c (obj_elf_change_section): Remove FIXME from - comment. - -2009-11-05 Sebastian Pop <sebastian.pop@amd.com> - Quentin Neill <quentin.neill@amd.com> - - * config/tc-i386.c (cpu_arch): Add CPU_LWP_FLAGS. - (build_vex_prefix): Handle xop09 and xop0a. - (build_modrm_byte): Handle vexlwp. - (md_show_usage): Add lwp. - * doc/c-i386.texi (i386-LWP): New section. - -2009-11-04 DJ Delorie <dj@redhat.com> - - * config/rx-parse.y (MVTIPL): Update bit pattern. - (cpen): Remove. - -2009-11-04 Daniel Jacobowitz <dan@codesourcery.com> - Maxim Kuvyrkov <maxim@codesourcery.com> - - * config/tc-m68k.h (CF_DIFF_EXPR_OK): Define to 0 for uClinux. - (CFI_DIFF_LSDA_OK): Define. - * config/te-uclinux.h: New file. - * configure.tgt (m68k-uclinux): Define em. - * dw2gencfi.c (CFI_DIFF_LSDA_OK): New macro. - (dot_cfi_lsda, output_fde): Use instead of CFI_DIFF_EXPR_OK. - -2009-11-03 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (do_vfp_nsyn_mla_mls): Fix vmls encoding. - -2009-11-02 Paul Brook <paul@codesourcery.com> - - * doc/c-arm.texi: Document new -mfpu options. - * config/tc-arm.c (fpu_vfp_ext_v3xd, fpu_vfp_fp16, fpu_neon_ext_fma, - fpu_vfp_ext_fma): New. - (NEON_ENC_TAB): Add vfma, vfms, vfnma and vfnms. - (do_vfp_nsyn_fma_fms, do_neon_fmac): New functions. - (insns): Move double precision load/store. Split out double - precision VFPv3 instrucitons. Add VFPv4 instructions. - (arm_fpus): Add VFPv3-FP16, VFPv3xD and VFPv4 variants. - (aeabi_set_public_attributes): Set VFPv4 variants - -2009-11-02 Alan Modra <amodra@bigpond.net.au> - - * ecoff.c (ecoff_symbol_clone_hook): New function. - * ecoff.h (ecoff_symbol_clone_hook): Declare. - * obj.h (struct format_ops): Add symbol_clone_hook. - * config/obj-aout.c (aout_format_ops): Init new field. - * config/obj-coff.c (coff_format_ops): Likewise. - * config/obj-ecoff.c (ecoff_format_ops): Likewise. - * config/obj-elf.c (elf_format_ops): Likewise. - * config/obj-ecoff.h (obj_symbol_clone_hook): Define. - * config/obj-multi.h (obj_symbol_clone_hook): Define. - -2009-11-02 Alan Modra <amodra@bigpond.net.au> - - * messages.c (as_fatal): Apply 2001-01-15 change and followup - to second copy of function. - -2009-10-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * config/tc-hppa.c (pa_build_unwind_subspace): Replace start symbol - with local symbol. - -2009-10-29 Sebastian Pop <sebastian.pop@amd.com> - - * config/tc-i386.c (build_modrm_byte): Do not swap REG and - NDS operands for FMA4. - -2009-10-29 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (neon_tab_entry): Fix VNMLA/VNMLS opcodes. - -2009-10-29 Paul Brook <paul@codesourcery.com> - - * doc/c-arm.texi: Document ARM -mcpu=cortex-a5. - * config/arm/tc-arm.c (arm_cpu_option_table): Add cortex-a5. - -2009-10-29 Tristan Gingold <gingold@adacore.com> - - * config/tc-mep.c (md_pseudo_table): Remove dwarf2 debug pseudo - as they are already defined in obj-elf.c - * config/tc-m32c.c (md_pseudo_table): Ditto. - * config/tc-spu.c (md_pseudo_table): Ditto. - * config/tc-avr.c (md_pseudo_table): Ditto. - -2009-10-29 Alan Modra <amodra@bigpond.net.au> - - * doc/as.texinfo (Set): Delete incorrect HPPA para. - -2009-10-28 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (opcode_lookup): Allow VFP/NEON type suffixes - unconditionally. - -2009-10-28 Alan Modra <amodra@bigpond.net.au> - - PR gas/10856 - * expr.c (resolve_expression): Only add "left" value to O_symbol - expression when the symbol is undefined and different from the - original symbol. Simplify negative logic. - -2009-10-27 Tristan Gingold <gingold@adacore.com> - - * config/tc-avr.c (md_pseudo_table): Add dwarf2 debug pseudo. - * config/tc-avr.h (DWARF2_LINE_MIN_INSN_LENGTH): Define. - (DWARF2_ADDR_SIZE): Define. - -2009-10-27 Alan Modra <amodra@bigpond.net.au> - - PR gas/10850 - * listing.c (listing_flags): Delete. - * listing.h: Likewise. - * read.c (potable <lflags>): Call s_ignore. - -2009-10-26 Nick Clifton <nickc@redhat.com> - - * doc/as.texinfo: Add mention of RX port and inclusion of RX - documentation. - -2009-10-25 Arnold Metselaar <arnold.metselaar@planet.nl> - - * config/tc-z80.c (z80_start_line_hook): Fix parsing of 'equ' or - 'defl' in cases where the space between the keyword and the - expression has been scrubbed away. - Do not check whether a symbol is redefined with 'equ' here; - the function equals takes an argument indicating whether - redefinitions are allowed. - Only call LISTING_NEWLINE if needed, and then after the call to - bump_line_counters. - -2009-10-25 Maciej W. Rozycki <macro@linux-mips.org> - - * doc/as.texinfo (Overview): Move -mfix7000/-mno-fix7000 to - match the order elsewhere. Add -mfix-vr4120/-mno-fix-vr4120 and - -mfix-vr4130/-mno-fix-vr4130. - * doc/c-mips.texi (MIPS Opts): Correct -no-mfix-vr4120 to - -mno-fix-vr4120 and -no-mfix-vr4130 to -mno-fix-vr4130. - -2009-10-20 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/10775 - * doc/c-i386.texi: Mention movabs. - -2009-10-19 H.J. Lu <hongjiu.lu@intel.com> - - * doc/c-i386.texi: Don't mention the 8 extra control registers - for x86-64. - -2009-10-19 Doug Evans <dje@sebabeach.org> - - * config/tc-lm32.c (md_begin): Add missing call to bfd_set_arch_mach. - - * config/tc-xc16x.c (md_cgen_lookup_reloc): Ensure fix_size is set - correctly for all 16 bit relocs. Return BFD_RELOC_NONE if reloc - isn't recognized, not BFD_RELOC_XC16X_SOF. - -2009-10-18 Alan Modra <amodra@bigpond.net.au> - - * as.h (know): Don't define as empty. - * config/tc-arm.c (make_mapping_symbol): Revert last patch. - -2009-10-18 Matthias Klose <doko@ubuntu.com> - - * config/tc-arm.c (make_mapping_symbol): Add braces to avoid empty body - in release builds. - -2009-10-16 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/10775 - * doc/c-i386.texi: Mention the 8 extra control registers for - x86-64. - Mention .code64 directive. - -2009-10-15 Alan Modra <amodra@bigpond.net.au> - - PR gas/1491 - * macro.c: Delete unnecessary function declarations. - (buffer_and_nest): Support multiple labels per line for - LABELS_WITHOUT_COLONS targets if the labels do have colons. - (free_macro): Move so that we don't need forward declaration. - * read.c (read_a_source_file): Take a copy of macro expansion line - before we trim labels. - * listing.c (listing_newline): Adjust stdin line save for - input_line_pointer still at start of line. - -2009-10-13 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/10766 - * config/tc-i386.c (build_modrm_byte): Declare exp earlier. - -2009-10-13 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/10740 - * config/tc-i386-intel.c (i386_intel_operand): Handle call - and jump with 2 immediate operands. - - * config/tc-i386.c (i386_finalize_immediate): Don't generate - error message if operand string is NULL. - -2009-10-013 Vincent Riviere <vincent.riviere@freesbee.fr> - - PR gas/3041 - * config/tc-m68k.c (tc_gen_reloc): Fix addend for relocations - located in data section an referencing a weak symbol. - -2009-10-07 Nathan Sidwell <nathan@codesourcery.com> - - * config/tc-arm.c (mapping_state, mapping_state_2): Make dummy - versions slightly more than nothing. - - * doc/c-arm.texi (ARM Options): Correctly name the two mapcs options. - -2009-10-07 Alan Modra <amodra@bigpond.net.au> - H.J. Lu <hongjiu.lu@intel.com> - - PR gas/2117 - * config/tc-ia64.c (parse_operand): Use expression rather than - expression_and_evalute. - (parse_operand_and_eval): New function. Replace all uses of - parse_operand outside of parse_operands with this function. - (parse_operans_maybe_eval): New function. Replace uses of - parse_operand in parse_operands, except for the dummy, with - this function. - -2009-10-06 Alan Modra <amodra@bigpond.net.au> - - PR gas/10704 - * symbols.c (snapshot_symbol): Revert 2006-01-09 patch for PR2117. - -2009-10-06 Alan Modra <amodra@bigpond.net.au> - - * read.c (s_reloc): Don't use expression_and_evaluate. - -2009-10-02 Peter Bergner <bergner@vnet.ibm.com> - - * config/tc-ppc.c (md_show_usage): Document -m476. - * doc/c-ppc.texi (PowerPC-Opts): Document -m476. - -2009-10-02 Jakub Jelinek <jakub@redhat.com> - - * dw2gencfi.c: Include dwarf2dbg.h. - (DWARF2_FORMAT): Define if not defined. - (dot_cfi_sections): New function. - (cfi_pseudo_table): Handle .cfi_sections. - (CFI_EMIT_eh_frame, CFI_EMIT_debug_frame): Define. - (cfi_sections): New variable. - (output_cie, output_fde, select_cie_for_fde): Add eh_frame - argument, add supporting for outputting .debug_frame - section. - (cfi_change_reg_numbers): New function or macro. - (cfi_finish): Only emit .eh_frame if - cfi_sections & CFI_EMIT_eh_frame. Emit .debug_frame if - cfi_sections & CFI_EMIT_debug_frame. - * config/tc-ppc.h (md_reg_eh_frame_to_debug_frame): Define. - * doc/as.texinfo (CFI directives): Document .cfi_sections. - -2009-10-01 Peter Bergner <bergner@vnet.ibm.com> - - * config/tc-ppc.c (md_show_usage): Rename "ppca2" to "a2". - * doc/c-ppc.texi (PowerPC-Opts): Likewise. - -2009-10-01 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (x86_cons): Reformat. - -2009-09-29 DJ Delorie <dj@redhat.com> - - * Makefile.am: Add RX target. - * configure.in: Likewise. - * configure.tgt: Likewise. - * read.c (do_repeat_with_expander): New function. - * read.h: Provide a prototype for do_repeat_with_expander. - * doc/Makefile.am: Add RX target documentation. - * doc/all.texi: Likewise. - * doc/as.texinfo: Likewise. - * Makefile.in: Regenerate. - * NEWS: Mention support for RX architecture. - * configure: Regenerate. - * doc/Makefile.in: Regenerate. - * config/rx-defs.h: New file. - * config/rx-parse.y: New file. - * config/tc-rx.h: New file. - * config/tc-rx.c: New file. - * doc/c-rx.texi: New file. - -2009-09-25 Martin Thuresson <martint@google.com> - - Update sources to make alpha, arc and arm targets compile cleanly - with -Wc++-compat: - * config/tc-alpha.c: Add casts. - (extended_bfd_reloc_code_real_type): New type. Used to avoid - enumeration conversion warnings. - (struct alpha_fixup, void assemble_insn, assemble_insn) - (assemble_tokens): Use new type. - * ecoff.c: Add casts. (mark_stabs): Use enumeration names. - * config/obj-elf.c: Add cast - * config/tc-arc.c: Add casts. - * config/obj-aout.h (text_section,data_section,bss_section): - Make extern. - * config/obj-elf.c: Add cast. - * config/tc-arm.c: Add casts. - (X, TxCE, TxCE, TxC3, TxC3w, TxCM_, TxCM, TUE, TUF, CE, CL, cCE) - (cCL, C3E, xCM_, nUF, nCE_tag): Change input format to avoid the - need for keywords as arguments. - -2009-09-25 Nick Hudson <nick.hudson@gmx.co.uk> - - * doc/c-mips.texi: Fix the singlefloat and doublefloat kindex - entries - -2009-09-24 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (build_vex_prefix): Check vex == 2 instead - of vex256. - -2009-09-24 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/10677 - * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Return true - for BFD_RELOC_X86_64_GOTPCREL. - -2009-09-23 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Don't check - BFD_RELOC_386_GOT32. - -2009-09-23 Sterling Augustine <sterling@jaw.hq.tensilica.com> - - * config/tc-xtensa.c (md_apply_fix): Remove check for constant with - difference of of two symbols. - (xtensa_fix_adjustable): Likewise. - -2009-09-23 Tim E. Sneddon <tsneddon@kednos.com> - - * configure.com: Fix a typo. - -2009-09-23 Alan Modra <amodra@bigpond.net.au> - - * symbols.c (define_sym_at_dot): New function, extracted from.. - (colon): ..here. Define error case cloned symbol. - -2009-09-21 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c: Remove white spaces. - -2009-09-21 Ben Elliston <bje@au.ibm.com> - Peter Bergner <bergner@vnet.ibm.com> - - * config/tc-ppc.c (md_show_usage): Document -mpcca2. - * doc/c-ppc.texi (PowerPC-Opts): Document -mppca2. - -2009-09-18 Nick Clifton <nickc@redhat.com> - - * po/es.po: Updated Spanish translation. - -2009-09-15 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (offset_in_range): Sign extend offset only - if BFD64 is defined. - -2009-09-15 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386-intel.c (i386_intel_operand): Initialize - intel_state.has_offset to 0. - -2009-09-15 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (offset_in_range): Sign extend offset only - for 32bit address mode. - -2009-09-15 Tristan Gingold <gingold@adacore.com> - - * makefile.vms (OBJS): Compile te-vms.c only on Itanium. - -2009-09-14 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/10637 - * config/tc-i386-intel.c (intel_state): Add has_offset. - (i386_intel_simplify): Set intel_state.has_offset to 1 for - O_offset. - (i386_intel_operand): Turn on intel_state.is_mem if - intel_state.has_offset is 0 and the last char is ']'. - -2009-09-14 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/10636 - * config/tc-i386.c (optimize_disp): Set disp32 for 64bit only - if there is an ADDR_PREFIX. - (i386_finalize_displacement): Repor error if signed 32bit - displacement is out of range. - -2009-09-13 Richard Sandiford <rdsandiford@googlemail.com> - - * config/tc-mips.c (MIPS_JALR_HINT_P): Take an expr argument. - Require the target to be a bare symbol on targets with - in-place addends. - (macro_build_jalr): Update accordingly. - (mips_fix_adjustable): Don't reduce R_MIPS_JALRs on targets - with in-place addends. - -2009-09-11 Nick Clifton <nickc@redhat.com> - - * po/gas.pot: Updated by the Translation project. - -2009-09-11 Martin Thuresson <martint@google.com> - - * as.c (main): Call dwarf2_init. - * config/obj-elf.c (struct group_list): New field. - (build_group_lists): Use hash lookup. - (free_section_idx): New function. - (elf_frob_file): Adjust. - * dwarf2dbg.c (all_segs_hash, last_seg_ptr): New variables. - (get_line_subseg): Adjust. - (dwarf2_init): New function. - * dwarf2dbg.h (dwarf2_init): New declaration. - -2009-09-11 Martin Thuresson <martint@google.com> - - Updated sources to compile cleanly with -Wc++-compat: - * app.c: Add casts. - * as.c: Add casts. - * config/obj-elf.c: Add casts. - (obj_elf_type): Rename variable typename to type_name. - * config/tc-i386-intel.c (i386_operators): Rename member operator to op. - * config/tc-i386.c: Add casts. - (check_cpu_arch_compatible): Rename argument new to new_flag. - (gotrel): Update variable to use enum name instead of integer value. - * dw2gencfi.c: Add casts. - (struct cfi_escape_data): Move to top level. - * dwarf2dbg.c: Add cast. - * dwarf2dbg.h (dwarf2_loc_directive_seen): Make variable extern. - * ehopt.c Add casts. - (enum frame_state): Move to top level. - * expr.c (operatorf): Rename function operator to operatorf. - (operand): Rename variable operator to op. - (expr_set_rank): Rename argument operator to op. - * frags.c: Add cast. - * hash.c: Add casts. - * input-scrub.c: Add cast. - * listing.c: Add casts. - (enum edict_enum): Move to top level. - * macro.c: Add casts. - * macro.h (enum formal_type): Move to top level. - * read.c: Add casts. - (s_include): Rename variable try to try_file. - * remap.c: Add cast. - * stabs.c: Add casts. - * subsegs.c: Add casts. - * symbols.c: Add casts. - * write.c: Add casts. - -2009-09-11 Hans-Peter Nilsson <hp@bitrange.com> - - PR gas/10623 - * config/tc-mmix.c (md_assemble) <case mmix_operands_xyz_opt>: - Allow register operands for SWYM as for TRIP and TRAP. Correct - operand handling and error checking. Never emit - BFD_RELOC_MMIX_REG_OR_BYTE for operands to these insns. - -2009-09-10 Alan Modra <amodra@bigpond.net.au> - - * config/tc-d10v.c: Include dwarf2dbg.h. - (write_long, write_1_short, write_2_short): Call dwarf2_emit_insn. - (d10v_frob_label): New function. - * config/tc-d10v.h (d10v_frob_label): Declare. - (tc_frob_label): Define as d10v_frob_label. - -2009-09-10 Alan Modra <amodra@bigpond.net.au> - - * config/tc-d30v.c (d30v_frob_label): Call dwarf2_emit_label. - * config/tc-frv.c (frv_frob_label): Likewise. - -2009-09-09 Alan Modra <amodra@bigpond.net.au> - - * config/obj-coff.h (USE_UNIQUE): Don't define. - * config/obj-coff.c (weak_uniquify): Use an_external_name when TE_PE. - * symbols.c (an_external_name): Define when TE_PE. - (S_SET_EXTERNAL): Assign an_external_name when TE_PE. - * tc.h (an_external_name): Declare when TE_PE. - - * config/tc-i386.c (i386_target_format): Avoid duplicate case label. - -2009-09-08 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * configure.tgt (sh*-*-netbsdelf*): Set endian according to cpu. - -2009-09-08 Alan Modra <amodra@bigpond.net.au> - - * read.c (emit_expr_fix): Handle size 3. - * config/tc-avr.c (md_assemble): Call dwarf2_emit_insn. - * config/tc-d30v.c (write_long, write_1_short, - write_2_short, md_assemble): Likewise. - * config/tc-dlx.c (md_assemble): Likewise. - * config/tc-i860.c (md_assemble): Likewise. - * config/tc-mn10200.c (md_assemble): Likewise. - * config/tc-pj.c (md_assemble): Likewise. - * config/tc-vax.c (md_assemble): Likewise. - -2009-09-07 Daniel Gutson <dgutson@codesourcery.com> - - * config/tc-arm.c (arm_cpus): cortex-r4f CPU added. - * doc/c-arm.texi: cortex-r4f CPU added. - -2009-09-07 Tristan Gingold <gingold@adacore.com> - - * po/POTFILES.in: Regenerate. - * po/gas.pot: Regenerate. - - * Makefile.am (TARG_ENV_CFILES): New variable. Set to te-vms.c - (POTFILES): Add $(TARG_ENV_CFILES) in definition. - (EXTRA_as_new_SOURCES): Ditto. - * Makefile: Regenerate. - * acinclude.m4 (BFD_HAVE_TIME_TYPE_MEMBER, - BFD_HAVE_SYS_STAT_TYPE_MEMBER): New macro created from bfd/bfd.m4. - * configure.in: Add Tests for tm_gmtoff, st_mtim.tv_sec and - st_mtim.tv_nsec (from bfd/configure.in). Check for time.h and - sys/stat.h headers. - Add te-vms.o in extra_objects if te_file is vms. - * configure: Regenerate. - * config.in: Regenerate. - * config/te-vms.c: New file, from bfd/vmsutil.c - (vms_dwarf2_file_time_name, vms_dwarf2_file_size_name) - (vms_dwarf2_file_name): New functions. - (vms_file_stats_name): Make it static, add a dirname parameter to - locally create the full pathname. - * config/te-vms.h: Add a copyright header. - Declare the above functions. - (DWARF2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILE_NAME): Use - the above functions in the definition. - * makefile.vms (OBJS): Add te-vms.obj. - (te-vms.obj): Create a specific target. - * configure.com: Create targ-env.h using a per target value. - Compile te-vms.c for ia64. - -2009-09-05 Jie Zhang <jie.zhang@analog.com> - - * doc/as.texinfo: Document that Blackfin GAS does not - accept SYMBOL = VALUE. - -2009-09-05 Martin Thuresson <martin@mtme.org> - - * config/tc-arc.c (struct syntax_classes): Rename member class - to s_class. (arc_extinst): Rename variable class to - s_class. Update code to use renamed members. - * config/tc-mips.c (insn_uses_reg): Rename argument class to - regclass. - * config/tc-ppc.c (ppc_csect, ppc_change_csect, ppc_function) - (ppc_tc, ppc_is_toc_sym, ppc_symbol_new_hook, ppc_frob_label) - (ppc_fix_adjustable, md_apply_fix): Update code to use renamed - members. - * config/tc-ppc.h (struct ppc_tc_sy): Change name of member - from class to symbol_class. (OBJ_COPY_SYMBOL_ATTRIBUTES): Update - code to use renamed members. - * config/tc-score.c (s3_adjust_paritybit): Rename argument - class to i_class. - * config/tc-score7.c (s7_adjust_paritybit): Rename argument - class to i_class. - -2009-09-04 Tristan Gingold <gingold@adacore.com> - - * NEWS: Add marker for 2.20. - -2009-09-04 Jie Zhang <jie.zhang@analog.com> - - * config/bfin-parse.y (asm_1): Implement HLT instruction. - Fix comments for DBGA, DBGAH and DBGAL. - * config/tc-bfin.c (bfin_gen_pseudodbg_assert): Change according - to the new encoding of DBGA, DBGAH, and DBGAL. - -2009-09-04 Jie Zhang <jie.zhang@analog.com> - - * doc/all.texi: Replace BFIN with Blackfin. - * doc/as.texinfo: Likewise. - * doc/c-bfin.texi: Likewise. - * doc/asconfig.texi: Likewise. - - * doc/c-bfin.texi: Update -mcpu= option with bf512, bf514, - bf516 and bf518. - -2009-09-04 Jie Zhang <jie.zhang@analog.com> - - * Makefile.am (bfin-parse.o): Remove bfin-parse.h from - the prerequisite. Add $(srcdir)/config/bfin-aux.h to the - prerequisite. - (bfin-defs.h, $(srcdir)/config/bfin-defs.h): Rename to ... - (bfin-parse.h, $(srcdir)/config/bfin-parse.h): ... these. - (bfin-lex.o): Add bfin-parse.h and $(srcdir)/config/bfin-defs.h - to the prerequisite. - * Makefile.in: Regenerate. - -2009-09-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * Makefile.am (itbl-lex.o): Depend on itbl-parse.h. - (itbl-ops.o, itbl-tops.o): Likewise. - (itbl-parse.h): Use separate rule. - * Makefile.in: Regenerate. - -2009-09-03 Jie Zhang <jie.zhang@analog.com> - - * config/tc-bfin.c (md_parse_option): Call as_fatal for bad - -mcpu= option. - -2009-09-03 Jie Zhang <jie.zhang@analog.com> - - * config/bfin-lex.l: Remove V as STATUS_REG. - -2009-09-03 Jie Zhang <jie.zhang@analog.com> - - * config/bfin-parse.y: Remove trailing whitespace. - (ccstat): Indent. - * config/tc-bfin.c (struct bfin_reg_entry): Remove. - (bfin_reg_info[]): Remove. - -2009-09-03 Jie Zhang <jie.zhang@analog.com> - - * config/bfin-defs.h (F_REG_ALL): Remove macro. - (F_REG_HIGH): Redefine. - (F_REG_NONE): New macro. - (F_REG_LOW): New macro. - (REG_CLASS): Enclose macro argument in parentheses when used. - (REG_EVEN): Likewise. - (IS_H): Use flags. - (IS_HCOMPL): Use flags. - * config/bfin-lex.l (SP.L, SP.H, FP.L, FP.H): Set flags. - (parse_reg): Set flags. - (parse_halfreg): Set flags. - -2009-09-03 Jie Zhang <jie.zhang@analog.com> - - * config/bfin-parse.y (gen_multi_instr_1): Check anomaly - 05000074 only when both slot1 and slot2 are filled. - -2009-09-03 Jie Zhang <jie.zhang@analog.com> - - * config/tc-bfin.c (md_assemble): Bump line counters if there is - EOL in the instruction. - -2009-09-03 Jie Zhang <jie.zhang@analog.com> - - * config/bfin-defs.h (IS_GENREG): Define. - (IS_DAGREG): Define. - (IS_SYSREG): Define. - * config/bfin-parse.y (asm_1): Check illegal register move - instructions. - -2009-09-03 Jie Zhang <jie.zhang@analog.com> - - * config/bfin-parse.y (asm_1): Fix a typo. - -2009-09-03 Jie Zhang <jie.zhang@analog.com> - - * config/bfin-parse.y (asm_1): Add LOOP_BEGIN and LOOP_END. - * config/tc-bfin.c (bfin_start_line_hook): Remove. - (bfin_loop_beginend): New. - * config/tc-bfin.h (bfin_start_line_hook): Don't declare. - (md_start_line_hook): Don't define. - * config/bfin-aux.h (bfin_loop_beginend): Declare. - -2009-09-03 Tristan Gingold <gingold@adacore.com> - - * config/tc-ia64.c (ia64_vms_note): Use lbasename instead of basename. - Call xstrdup on the result and free the buffer after use. - -2009-09-03 Tristan Gingold <gingold@adacore.com> - - * as.h (__PRETTY_FUNCTION__): Use the same definition as bfd/libbfd.h. - -2009-09-02 Jie Zhang <jie.zhang@analog.com> - - * config/bfin-parse.y (value_match): Use int instead of long. - - From Michael Frysinger <michael.frysinger@analog.com> - * config/bfin-defs.h (Expr_Node_Value): Declare the i_value - member as long long. - -2009-09-02 Jie Zhang <jie.zhang@analog.com> - - From Bernd Schmidt <bernd.schmidt@analog.com> - * config/bfin-parse.y (asm_1): Clean up and unify error handling - for load and store insns. - (neg_value): Delete function. - -2009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * Makefile.am (m68k-parse.o, bfin-lex.o, itbl-lex.o, itbl-parse.o): - Supply correct source file name for generated files which may be - in $(srcdir). - * Makefile.in: Regenerate. - -2009-09-01 H.J. Lu <hongjiu.lu@intel.com> - - * version.c (parse_args): Change to "Copyright 2009". - -2009-09-01 Tristan Gingold <gingold@adacore.com> - - * makefile.vms: Adjust include pathes. Remove useless vaxctrl - library. - * configure.com: Ported to Itanium VMS. Create build.com DCL script. - Make edit silent. - -2009-09-01 Jie Zhang <jie.zhang@analog.com> - - * config/bfin-parse.y (asm_1): Only PREG and DREG are allowed - in comparison. - -2009-09-01 Jie Zhang <jie.zhang@analog.com> - - 2007-09-28 Bernd Schmidt <bernd.schmidt@analog.com> - * config/tc-bfin.c (bfin_fix_adjustable): Partially revert the - 2007-08-23 change; BFD_RELOC_BFIN_GOT is not adjustable. - - 2007-08-23 Jie Zhang <jie.zhang@analog.com> - * config/tc-bfin.c (bfin_fix_adjustable): Adjust - BFD_RELOC_BFIN_GOT, BFD_RELOC_BFIN_GOT17M4 and - BFD_RELOC_BFIN_FUNCDESC_GOT17M4. - -2009-09-01 Jie Zhang <jie.zhang@analog.com> - - * read.c (TC_START_LABEL): Add a new argument. - (read_a_source_file): Pass the beginning of the symbol through - the new argument of TC_START_LABEL. - * config/tc-arm.h (TC_START_LABEL): Add a new argument. - * config/tc-bfin.c (bfin_start_label): Only search '(' and '[' - from the beginning of the symbol. - * config/tc-bfin.h (TC_START_LABEL): Add the new argument. - * config/tc-d30v.h (TC_START_LABEL): Likewise. - * config/tc-fr30.h (TC_START_LABEL): Likewise. - * config/tc-m32c.h (TC_START_LABEL): Likewise. - * config/tc-m32r.h (TC_START_LABEL): Likewise. - * config/tc-mep.h (TC_START_LABEL): Likewise. - -2009-08-31 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/10570 - * write.c (write_object_file): Revert the accidental change - made in revision 1.124 on 2009-08-17. - -2009-08-31 Jan Beulich <jbeulich@novell.com> - - * config/obj-elf.c (obj_elf_change_section): Set default type - by calling bfd_elf_get_default_section_type. - -2009-08-31 Jie Zhang <jie.zhang@analog.com> - - * config/bfin-aux.h: Change format from DOS to UNIX. - -2009-08-29 Martin Thuresson <martin@mtme.org> - - * config/tc-arm.c (struct asm_cond, struct asm_psr, struct - asm_barrier_opt): Change member template to - template_name. (md_begin): Update code to reflect new member - names. - * config/tc-i386.c (struct templates, struct _i386_insn) - (match_template, cpu_flags_match, match_reg_size, match_mem_size) - (operand_size_match, md_begin, i386_print_statistics, pi) - (build_vex_prefix, md_assemble, parse_insn, optimize_imm) - (optimize_disp): Updated code to use new names. (parse_insn): - Added casts. - * config/tc-ia64.c (dot_template, emit_one_bundle): Updated - code to use new names. - * config/tc-score.c (struct s3_asm_opcode): Renamed member - template to template_name. (s3_parse_16_32_inst, s3_parse_48_inst, - s3_do_macro_ldst_label, s3_build_score_ops_hsh): Update code to - use new names. - * config/tc-score7.c (struct s7_asm_opcode): Renamed member - template to template_name. (s7_parse_16_32_inst, - s7_do_macro_ldst_label, s7_build_score_ops_hsh): Update code to - use new names. - * config/tc-tic30.c (md_begin, struct tic30_insn) - (md_assemble): Update code to use new names. - * config/tc-tic54x.c (struct _tic54x_insn, md_begin) - (optimize_insn, tic54x_parse_insn, next_line_shows_parallel): - Update code to use new names. - * config/tc-arm.c (insert_reg_alias): Rename variable new to - new_reg. - * config/tc-dlx.c (parse_operand): Rename variable new to - new_pos. - * config/tc-ia64.c (ia64_gen_real_reloc_type): Rename variable - new to newr. - * config/tc-mcore.c (parse_exp, parse_imm): Rename variable - new to new_pointer. - * config/tc-microblaze.c (parse_exp, parse_imm, check_got): - Change name from new to new_pointer. - * config/tc-or32.c (parse_operand): Rename variable new to - new_pointer. - * config/tc-pdp11.c (md_assemble): Rename variable new to - new_pointer. - * config/tc-pj.c (alias): Change argument new to new_name. - * config/tc-score.c (s3_build_score_ops_hsh): Rename variable - new to new_opcode. (s3_build_dependency_insn_hsh) Rename variable - new to new_i2n. (s3_convert): Rename variables old and new to - r_old and r_new. - * config/tc-score7.c (s7_build_score_ops_hsh): Rename variable - new to new_opcode. (s7_build_dependency_insn_hsh): Rename variable - new to new_i2d. (s7_b32_relax_to_b16, s7_convert_frag): Rename - variables old and new to r_old and r_new. - * config/tc-sh.c (parse_exp): Rename variable new to - new_pointer. - * config/tc-sh64.c (shmedia_parse_exp): Rename variable new to - new_pointer. - * config/tc-tic4x.c (tic4x_operand_parse): Rename variable new - to new_pointer. - * config/tc-z8k.c (parse_exp): Rename variable new to - new_pointer. - * listing.c (listing_newline): Rename variable new to new_i. - -2009-08-29 Matt Fleming <matt@console-pimps.org> - - * config/tc-sh.c (md_apply_fix): Extend sign of the offset value - for 64-bit host. - -2009-08-28 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (cpu_arch): Use PROCESSOR_L1OM on "l1om". - (i386_align_code): Handle PROCESSOR_L1OM. - (check_cpu_arch_compatible): Fix a typo in comments. - (set_cpu_arch): Check cpu_arch_isa instead of - cpu_arch_isa_flags.bitfield.cpul1om. - (i386_mach): Likewise. - (i386_target_format): Likewise. - - * config/tc-i386.h (processor_type): Add PROCESSOR_L1OM. - -2009-08-26 DJ Delorie <dj@redhat.com> - - * config/tc-mep.c (md_pcrel_from_section): Handle any other - forced-relocation cases. - -2009-08-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * Makefile.am (TARGET_CPU_CFILES): Add config/tc-moxie.c. - * config/tc-moxie.c (md_assemble): Fix typos in strings. Fix - syntax error. - * Makefile.in: Regenerate. - * po/POTFILES.in: Likewise. - * po/gas.pot: Likewise. - -2009-08-26 Nick Clifton <nickc@redhat.com> - - * config/obj-coff-seh.c (seh_arm_write_pdata): Test for - seh_ctx_root being NULL. - -2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * Makefile.am (am__skiplex, am__skipyacc): New. - * Makefile.in: Regenerate. - -2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * Makefile.am (YFLAGS): Remove, not needed any more. - (AM_CPPFLAGS): Renamed from ... - (INCLUDES): ... this. - * Makefile.in: Regenerate. - - * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.8 cygnus, add 1.11, - foreign and no-dist. - (all): Remove now-unneeded dependency upon info. - (DIST_SUBDIRS, MKDEP, DEP_INCLUDES, DEP_FLAGS, CLEANFILES) - (DEP_FILE_DEPS): Remove variables. - (OBJ_FORMAT_CFILES): Add config/obj-multi.c. - (OBJ_FORMAT_HFILES): Add config/obj-multi.h. - ($(OBJS), ecoff.o): Remove now-unneeded manual dependencies. - ($(TARG_CPU_O), $(ATOF_TARG_O), obj-aout.o, obj-coff.o obj-ecoff.o) - (obj-elf.o obj-evax.o, obj-fdpicelf.o, obj-multi.o, obj-som.o) - (e-mipself.o, e-mipsecoff.o, e-i386aout.o, e-i386coff.o, e-i386elf.o) - (e-crisaout.o, e-criself.o, tc-i386.o, xtensa-relax.o): Remove - now-unneeded rules. - (EXTRA_as_new_SOURCES): Add $(CFILES), $(HFILES), $(TARGET_CPU_CFILES), - $(TARGET_CPU_HFILES), $(OBJ_FORMAT_CFILES), $(OBJ_FORMAT_HFILES), - $(CONFIG_ATOF_CFILES), $(MULTI_CFILES), so their dependency fragments - are picked up in the Makefile. - (itbl-lex.c, itbl-ops.o): Remove manual dependencies. - (m68k-parse.o, bfin-lex.o, itbl-lex.o, itbl-parse.o, itbl-tops.o) - (itbl-test.o): Rewrite using automake-style dependency - tracking rules; only list the dependency upon the primary source - file, but no included headers. - (DEP, DEP1, DEPTC, DEPOBJ, DEP2, dep.sed, dep, dep-in, dep-am): - Remove. - (mkdep section): Remove. - * Makefile.in: Regenerate. - * po/POTFILES.in, po/gas.pot: Regenerate. - - * Makefile.am (install-pdf, install-pdf-recursive, install-html) - (install-html-recursive): Remove. - * Makefile.in: Regenerate. - * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am) - (html__strip_dir, install-html, install-html-am): Remove. - * doc/Makefile.in: Regenerate. - - * Makefile.in: Regenerate. - * aclocal.m4: Likewise. - * config.in: Likewise. - * configure: Likewise. - * doc/Makefile.in: Likewise. - -2009-08-21 Sterling Augustine <sterling@jaw.hq.tensilica.com> - - * config/tc-xtensa.c (config_max_slots): New global variable. - (md_begin): Set config_max_slots. - (total_frag_text_expansion): Use config_max_slots instead of - MAX_SLOTS. - (xg_init_vinsn): Likewise. - (xg_clear_vinsn): Likewise. - (xg_free_vinsn): Likewise. - -2009-08-20 Sterling Augustine <sterling@jaw.hq.tensilica.com> - - * config/tc-xtensa.c (xg_copy_vinsn): New function. - (finish_vinsn): Call xg_copy_vinsn. - -2009-08-19 Sterling Augustine <sterling@tensilica.com> - - * config/tc-xtensa.h (xtensa_frag_data): Rename unused field fr_prev - to no_transform_end. - * config/tc-xtensa.c (xtensa_mark_difference_of_two_symbols): Set - and use no_transform_end. - -2009-08-18 Kai Tietz <kai.tietz@onevision.com> - - * config/obj-coff-seh.c: Add copyright notice. - * config/obj-coff-seh.h: Add copyright notice. - Add x64 specific macros from coff/pe.h header. - -2009-08-18 Sterling Augustine <sterling@tensilica.com> - - * config/tc-xtensa.c (xtensa_create_xproperty_segments): Use - sizeof instead of hard-coded value. - (add_xt_block_frags): Remove unused local variable. - (frag_flags_to_number): Change return type to flagword. Remove - unused local variable. - -2009-08-17 Sterling Augustine <sterling@tensilica.com> - - * config/tc-xtensa.c (xtensa_frob_label): move call to - do_align_targets to set frag_type only. - -2009-08-17 Kai Tietz <kai.tietz@onevision.com> - - * config/obj-coff-seh.c: New file. - * config/obj-coff-seh.h: Likewise. - * config/obj-coff.c (obj-coff-seh.c): Add include. - (coff_pseudo_table): Add new .seh... commands. - * config/obj-coff.h (obj_coff_seh_do_final): Add new - function prototype. - (obj_coff_generate_pdata): New obj-coff hook. - * write.c (size_seg): Avoid sizing of already sized - sections. - (write_object_file): Call conditional hook - objc_coff_generate_pdata. - * Makefile.am: Add dependencies for new files. - * Makefile.in: Regenerated. - -2009-08-17 Nick Clifton <nickc@redhat.com> - - * config/tc-microblaze.c: Include safe-ctype.h instad of ctype.h. - (parse_reg): Use safe-ctype.h macros. - (parse_exp): Likewise. - (md_assemble): Likewise. - -2009-08-11 DJ Delorie <dj@redhat.com> - - * config/tc-mep.c (md_estimate_size_before_relax): Handle weak - symbols correctly. - (md_convert_frag): Likewise. - (md_pcrel_from_section): Likewise. - (mep_force_relocation): Likewise. - -2009-08-11 Bernd Schmidt <bernd.schmidt@analog.com> - - * config/bfin-parse.y (gen_multi_instr_1): New function. - (asm): Use it instead of bfin_gen_multi_instr. - (error): Add a format string when calling as_bad. - * config/bfin-defs.h (insn_regmask): Declare. - * config/tc-bfin.c (DREG_MASK, DREGH_MASK, DREGL_MASK, IREG_MASK): New - macros. - (decode_ProgCtrl_0, decode_LDSTpmod_0, decode_dagMODim_0, - decode_dagMODik_0, decode_dspLDST_0, decode_LDST_0, decode_LDSTiiFP_0, - decode_LDSTii_0, decode_dsp32mac_0, decode_dsp32mult_0, - decode_dsp32alu_0, decode_dsp32shift_0, decode_dsp32shitimm_0, - insn_regmask): New functions. - - From Jie Zhang <jie.zhang@analog.com> - * config/tc-bfin.h (bfin_anomaly_checks): Declare. - (AC_05000074): Define. - (ENABLE_AC_05000074): Define. - * config/tc-bfin.c (enum bfin_cpu_type): New. - (bfin_cpu_t): Typedef. - (bfin_cpu_type): Define. - (bfin_si_revision): Define. - (bfin_anomaly_checks): Define. - (struct bfin_cpu): New. - (bfin_cpus[]): New. (struct bfin_cpu_isa): Define. - (bfin_isa): New global variable. - (OPTION_MCPU): Define. - (md_longopts[]): Add -mcpu option. - (md_parse_option): Deal with -mcpu option and initialize - bfin_anomaly_checks. - * doc/c-bfin.texi: Rename BFIN to Blackfin throughout. Document - -mcpu option. - * config/bfin-parse.y (gen_multi_instr_1): Check anomaly - 05000074. - -2009-08-11 Mike Frysinger <vapier@gentoo.org> - - * config/bfin-parse.y (binary): Change "compiler" to "assembler". - (unary): Likewise. - -2009-08-11 Nick Clifton <nickc@redhat.com> - - PR 10443 - * config/tc-arm.c (do_t_mov_cmp): Do not silently ignore shifted - operands. - -2009-08-10 Jan Kratochvil <jan.kratochvil@redhat.com> - - Fix compilation of i386-*-go32. - * config/tc-i386.c (i386_target_format <TE_GO32>): New. - (i386_target_format <OBJ_MAYBE_COFF>): Compile only if !TE_GO32. - * config/te-go32.h (TARGET_FORMAT): Move the definition ... - * config/tc-i386.h <!i386_target_format>: ... here. - -2009-08-10 Daniel Gutson <dgutson@codesourcery.com> - - PR gas/10479 - * config/tc-arm.c (do_t_add_sub_w): Fixed constraints. - -2009-08-07 Daniel Jacobowitz <dan@codesourcery.com> - - * config/tc-arm.c (marked_pr_dependency, mapstate): Delete global - variables. - (mapping_state): Use the section's mapstate. - (mapping_state_2): Likewise. Skip special sections. - (s_arm_unwind_fnend): Use the section's marked_pr_dependency. - (arm_elf_change_section): Do not set deleted globals. - * config/tc-arm.h (struct arm_segment_info_type): Document - marked_pr_dependency. - -2009-08-07 Michael Eager <eager@eagercon.com> - - * NEWS: Mention MicroBlaze support. - -2009-08-06 Michael Eager <eager@eagercon.com> - - * Makefile.am: add microblaze to CPU_TYPES, config/tc-microblaze.c to - TARGET_CPU_CFILES, config/tc-microblaze.h to TARGET_CPU_HFILES, add - DEP_microblaze_elf target. - * Makefile.in: Regenerate. - * config/tc-microblaze.c: Add MicroBlaze assembler. - * config/tc-microblaze.h: Add header for tc-microblaze.c. - * configure.in: Add microblaze target. - * configure: Regenerate. - * configure.tgt: Same. - * doc/Makefile.am: Add c-microblaze.texi to CPU_DOCS. - * doc/Makefile.in: Same. - * doc/all.texi: Set MICROBLAZE. - * doc/as.texinfo: Add MicroBlaze doc links. - * doc/c-microblaze.texi: New MicroBlaze docs. - -2009-08-06 Nick Clifton <nickc@redhat.com> - - * config/tc-arm.c (md_assemble): Call mapping_state from inside a - block in case it is a null macro. - -2009-08-05 Chao-ying Fu <fu@mips.com> - - * config/tc-mips.c (MIPS_JALR_HINT_P): New define. For IRIX, it is - true for new abi. For non-IRIX targets, it is always true. - (macro_build_jalr): If MIPS_JALR_HINT_P, emit BFD_RELOC_MIPS_JALR. - -2009-08-05 Eric B. Weddington <eric.weddington@atmel.com> - - * config/tc-avr.c (mcu_types): Add attiny2313a, attiny4313, attiny261a, - attiny861a, atmega644pa, attiny24a, attiny44a. - * doc/c-avr.texi: Likewise. - -2009-08-04 Sandra Loosemore <sandra@codesourcery.com> - - * doc/c-mips.texi (MIPS Opts): List 1004K options for -march. - * config/tc-mips.c (mips_cpu_info_table): Add 1004K cores. - -2009-08-04 Nathan Sidwell <nathan@codesourcery.com> - - * config/tc-arm.c (my_get_expression): Detect missing expressions. - -2009-08-02 Eric B. Weddington <eric.weddington@atmel.com> - - * config/tc-avr.c (mcu_types): Add atmega8m1, atmega8c1, atmega16c1. - * doc/c-avr.texi: Likewise. - -2009-08-01 Eric B. Weddington <eric.weddington@atmel.com> - - * config/tc-avr.c (mcu_types): Add atmega8u2, atmega16u2, atmega32u2. - * doc/c-avr.texi: Likewise. - -2009-07-31 Daniel Gutson <dgutson@codesourcery.com> - Daniel Jacobowitz <dan@codesourcery.com> - - * config/obj-elf.c (obj_elf_ident): Notify section change to the hook. - * config/tc-arm.c (make_mapping_symbol): New function, from - mapping_state. Save mapping symbols in the frag. - (insert_data_mapping_symbol): New. - (mapping_state): Use make_mapping_symbol, improve state transitions. - (mapping_state_2): New. Provide dummy definition. - (opcode_select): Do not call mapping_state. - (s_bss): Call md_elf_section_change_hook instead of mapping_state. - (output_inst): Update use of tc_frag_data. - (new_automatic_it_block): Call mapping_state before emitting the - IT instruction. - (md_assemble): Move mapping_state to just before outputting the - new instruction. - (arm_handle_align): Update use of tc_frag_data. - Call insert_data_mapping_symbol. - (arm_init_frag): Update use of tc_frag_data. Call - mapping_state_2. - (arm_elf_change_section): Always update the mapping symbol FSM state. - (check_mapping_symbols): New function. - (arm_adjust_symtab): Use check_mapping_symbols. - * config/tc-arm.h (struct arm_frag_type): New. - (TC_FRAG_TYPE): Change to struct arm_frag_type. - (TC_FRAG_INIT): Pass max_chars. - (arm_init_frag): Update prototype. - -2009-07-31 Anthony Green <green@moxielogic.com> - - * configure.tgt (generic_target): Add moxie-uclinux support. - -2009-07-30 Nick Clifton <nickc@redhat.com> - - * doc/c-arm.texi (ARM-Instruction-Set): New node. Documents the - different syntaxes support by the ARM port. - (ARM Directives): Add entry for .syntax. - - * doc/c-mips.texi (MIPS insn): Fix typo. - -2009-07-29 Alan Modra <amodra@bigpond.net.au> - - PR ld/10269 - * symbols.c (S_FORCE_RELOC): True for BSF_GNU_INDIRECT_FUNCTION. - * config/tc-i386.c: Revert 2009-06-13 change. - * config/tc-i386.h: Likewise. - -2009-07-28 Jan Beulich <jbeulich@novell.com> - - * expr.c (op_rank): Specify size. Remove O_md* initializers. - -2009-07-27 Maxim Kuvyrkov <maxim@codesourcery.com> - - * config/tc-m68k.c (mcf5221x_ctrl): New. - (m68k_cpu): Add line for MCF5221x. - -2009-07-27 Maxim Kuvyrkov <maxim@codesourcery.com> - - * config/tc-m68k.c (mcf52235_ctrl): Remove non-existent CACR, ACR[01]. - (mcf53017_ctrl): Fix RAMBAR. - -2009-07-27 Jan Beulich <jbeulich@novell.com> - - * obj-elf.c (elf_file_symbol): Replace symbol name set up by - symbol_new() with the passed in, unmodified one. - -2009-07-27 M R Swami Reddy <MR.Swami.Reddy@nsc.com> - - * config/tc-cr16.c (md_apply_fix): Put the addend value alone in to - object file without symbol values. - (tc_gen_reloc): For local symbols resolved or its absolute symbol, - then set the relocation type as NULL. - -2009-07-25 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (cpu_arch): Add l1om. - (check_cpu_arch_compatible): New. - (set_cpu_arch): Use it. - (i386_arch): New. - (i386_mach): Return bfd_mach_l1om for Intel L1OM. - (md_show_usage): Display l1om. - (i386_target_format): Return ELF_TARGET_L1OM_FORMAT if - cpu_arch_isa_flags.bitfield.cpul1om is set. - - * config/tc-i386.h (TARGET_ARCH): Use (i386_arch ()). - (i386_arch): New. - (ELF_TARGET_L1OM_FORMAT): Likewise. - - * doc/c-i386.texi: Document l1om. - -2009-07-24 Roland McGrath <roland@redhat.com> - Mark Wielaard <mjw@redhat.com> - - * config/obj-elf.c (obj_elf_ident): Set SEC_MERGE | SEC_STRINGS - flags on .comment section. - -2009-07-24 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com> - Alan Modra <amodra@bigpond.net.au> - - * config/tc-spu.c (md_apply_fix): Handle SPU_ADD_PIC. - * config/tc-spu.h (tc_fix_adjustable): Don't adjust for SPU_ADD_PIC. - (TC_FORCE_RELOCATION): Emit relocs for SPU_ADD_PIC. - -2009-07-24 Jan Beulich <jbeulich@novell.com> - - * tc-i386.c (cpu_arch): Add .8087, .287, .387, .no87, .nommx, - .nosse, and .noavx. - (cpu_flags_and_not): New. - (set_cpu_arch): Check whether sub-architecture specified is a - feature disable. - (md_parse_option): Likewise. - (parse_real_register): Don't return floating point register - when x87 functionality is disabled. - (md_show_usage): Add new sub-options. - * doc/c-i386.texi: Update with new command line sub-options. - -2009-07-24 Nick Clifton <nickc@redhat.com> - - PR 10437 - * config/tc-alpha.c: Fix up uses of gas printf like functions so - that the format string is a constant string. Add translation - support to message strings. - * config/tc-arc.c: Likewise. - * config/tc-arm.c: Likewise. - * config/tc-cris.c: Likewise. - * config/tc-fr30.c: Likewise. - * config/tc-frv.c: Likewise. - * config/tc-h8300.c: Likewise. - * config/tc-hppa.c: Likewise. - * config/tc-i370.c: Likewise. - * config/tc-i960.c: Likewise. - * config/tc-ia64.c: Likewise. - * config/tc-m32r.c: Likewise. - * config/tc-mep.c: Likewise. - * config/tc-mips.c: Likewise. - * config/tc-moxie.c: Likewise. - * config/tc-msp430.c: Likewise. - * config/tc-openrisc.c: Likewise. - * config/tc-pdp11.c: Likewise. - * config/tc-pj.c: Likewise. - * config/tc-s390.c: Likewise. - * config/tc-sh.c: Likewise. - * config/tc-sh64.c: Likewise. - * config/tc-sparc.c: Likewise. - * config/tc-spu.c: Likewise. - * config/tc-tic30.c: Likewise. - * config/tc-tic4x.c: Likewise. - * config/tc-tic54x.c: Likewise. - * config/tc-v850.c: Likewise. - * config/tc-xc16x.c: Likewise. - * config/tc-xstormy16.c: Likewise. - * config/tc-z80.c: Likewise. - * config/tc-z8k.c: Likewise. - * config/atof-ieee.c: Add translation support to as_warn - messages. - * config/obj-coff.c: Likewise. - -2009-07-23 Ulrich Drepper <drepper@redhat.com> - - * config/obj-elf.c (obj_elf_type): Add code to support a type of - gnu_unique_object. - * doc/as.texinfo: Document new feature of .type directive. - * NEWS: Mention support for gnu_unique_object symbol type. - -2009-07-23 Nick Clifton <nickc@redhat.com> - - PR binutils/10379 - * doc/c-mips.texi (MIPS insn): Document the special behaviour of - the .global directive for MIPS ports. - -2009-07-21 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/10420 - * config/tc-i386.c (i386_align_code): Tune for 32bit nops in - 64bit. - (i386_target_format): Set cpu_arch_isa_flags.bitfield.cpulm - for 64bit. - -2009-07-17 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (md_assemble): Update operand types. - (update_imm): Updated. - (finalize_imm): Update the first 2 immediate operands only - for instructions with 2 operands or more. - -2009-07-17 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (md_assemble): Check implicit registers - only for instructions with 3 operands or less. - -2009-07-17 Nick Clifton <nickc@redhat.com> - - * config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoid - compile time warning. - -2009-07-16 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (md_assemble): Only check i.operands for AX. - (md_estimate_size_before_relax): Don't relax IFUNC symbols. - -2009-07-16 Nathan Sidwell <nathan@codesourcery.com> - - * config/tc-arm.c (md_apply_fix <BFD_RELOC_ARM_TARGET2>): Write - the offset for REL targets here. - -2009-07-15 Kai Tietz <kai.tietz@onevision.com> - - * listing.c (print_source): Initialize cache by NULL. - -2009-07-15 Daniel Gutson <dgutson@codesourcery.com> - - * doc/c-arm.texi (mauto-it): Removed old option. - (mimplicit-it): Added right option. - -2009-07-14 Daniel Gutson <dgutson@codesourcery.com> - - * config/tc-arm.h (MAX_MEM_ALIGNMENT_BYTES): Define. - (MAX_MEM_FOR_RS_ALIGN_CODE): Define in terms of - MAX_MEM_ALIGNMENT_BYTES. - * config/tc-arm.c (arm_frag_align_code): Replace hard coded - constant with MAX_MEM_FOR_RS_ALIGN_CODE. - -2009-07-14 Nick Clifton <nickc@redhat.com> - - PR 10387 - * config/tc-arm.h (THUMB_IS_FUNC): Handle a NULL pointer. - (ARM_IS_FUNC): Likewise. - -2009-07-14 Daniel Gutson <dgutson@codesourcery.com> - - * config/tc-arm.c (md_assemble): Added validation. - -2009-07-10 H.J. Lu <hongjiu.lu@intel.com> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerated. - -2009-07-10 Tom Tromey <tromey@redhat.com> - - * Makefile.am (DEPTC_alpha_ecoff): Refer to dwarf2.h, not - elf/dwarf2.h. - (DEPTC_alpha_elf): Likewise. - (DEPTC_alpha_evax): Likewise. - (DEPTC_arm_elf): Likewise. - (DEPTC_hppa_elf): Likewise. - (DEPTC_i386_aout): Likewise. - (DEPTC_i386_coff): Likewise. - (DEPTC_i386_elf): Likewise. - (DEPTC_m68k_aout): Likewise. - (DEPTC_m68k_coff): Likewise. - (DEPTC_m68k_elf): Likewise. - (DEPTC_mips_coff): Likewise. - (DEPTC_mips_ecoff): Likewise. - (DEPTC_mips_elf): Likewise. - (DEPTC_ppc_coff): Likewise. - (DEPTC_ppc_elf): Likewise. - (DEPTC_s390_elf): Likewise. - (DEPTC_sh_coff): Likewise. - (DEPTC_sh_elf): Likewise. - (DEPTC_sh64_elf): Likewise. - (DEPTC_sparc_aout): Likewise. - (DEPTC_sparc_coff): Likewise. - (DEPTC_sparc_elf): Likewise. - (as.o): Likewise. - (dwarf2dbg.o): Likewise. - (dw2gencfi.o): Likewise. - (ehopt.o): Likewise. - (read.o): Likewise. - * Makefile.in: Rebuild. - * dw2gencfi.h: Include dwarf2.h, not elf/dwarf2.h. - * dwarf2dbg.c: Likewise. - * ehopt.c: Likewise. - -2009-07-09 Daniel Gutson <dgutson@codesourcery.com> - - * config/tc-arm.c (it_fsm_post_encode): New forward declaration. - (set_it_insn_type_nonvoid): New macro. - (emit_thumb32_expr): New function. - (thumb_insn_size): New function. - (emit_insn): New function. - (s_arm_elf_inst): New function. - (md_pseudo_table): New pseudo-opcode entries added. - * doc/c-arm.texi: New directive added. - -2009-07-07 DJ Delorie <dj@redhat.com> - - * config/tc-mep.c (md_begin): Don't reset the coprocessor options - when enabling other options without a specific configuration. - -2009-07-07 Chung-Lin Tang <cltang@pllab.cs.nthu.edu.tw> - - * config/tc-arm.c (insns): Fix encoding for torvsc. - -2009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> - - * config/tc-i386.c (cpu_arch): Add .fma4 and CPU_FMA4_FLAGS. - (build_modrm_byte): Add support to handle FMA4 instructions. - (md_show_usage): Add fma4. - -2009-07-04 Alan Modra <amodra@bigpond.net.au> - - * config/tc-cr16.h (TC_LINKRELAX_FIXUP): Set only for code sections. - -2009-07-02 Tristan Gingold <gingold@adacore.com> - - * Makefile.am (OBJ_FORMATS): Add macho. - (CPU_OBJ_VALID): Ditto. - (OBJ_FORMAT_CFILES): Add config/obj-macho.c - (OBJ_FORMAT_HFILES): Add config/obj-macho.h - (obj-macho.o): New rule. - * Makefile.in: Regenerated. - * configure.tgt (generic_target): Add i386-*-darwin*. - * config/tc-i386.h: Use i386_target_format for Mach-O. - * config/tc-i386.c (i386_target_format): Define it for Mach-O. - (i386_target_format): Add a case for bfd_target_mach_o_flavour. - * config/obj-macho.h: New file. - * config/obj-macho.c: New file. - -2009-07-01 Nick Clifton <nickc@redhat.com> - - PR 10168 - * config/tc-arm.c (do_t_pkhtb): Swap Rm and Rn when encoding as - PKHBT. - -2009-07-01 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (MISSING_FNSTART): Define. - (s_arm_unwind_fnstart): Diagnose duplicate directive. - (s_arm_unwind_handlerdata, s_arm_unwind_fnend, s_arm_unwind_fnend, - s_arm_unwind_cantunwind, s_arm_unwind_personalityindex, - s_arm_unwind_personality, s_arm_unwind_save, s_arm_unwind_movsp, - s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): Error if - not inside function unwinding region. - -2009-06-29 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c: Reformat. - -2009-06-23 DJ Delorie <dj@redhat.com> - - * config/tc-mep.c (mep_check_ivc2_scheduling): For IVC2, allocate - 32 bits for relaxable branches so that we can relax them later. - (md_estimate_size_before_relax): Assume IVC2 branches will be relaxed. - (mep_relax_frag): New. - (md_convert_frag): Relax IVC2 branches in-place. - * config/tc-mep.h ((mep_relax_frag): New. - -2009-06-22 Martin Thuresson <martin@mtme.org> - - * app, as.c, as.h, atof-generic.c, cgen.c, - config/atof-ieee.c, config/obj-aout.c, - config/obj-coff.c, config/obj-ecoff.c, - config/obj-elf.c, config/obj-som.c, config/tc-alpha.c, - config/tc-arc.c, config/tc-arm.c, config/tc-cr16.c, - config/tc-cris.c, config/tc-crx.c, config/tc-d30v.c, - config/tc-dlx.c, config/tc-hppa.c, config/tc-i370.c, - config/tc-i386-intel.c, config/tc-i386.c, - config/tc-i860.c, config/tc-i960.c, config/tc-ia64.c, - config/tc-iq2000.c, config/tc-m32c.c, - config/tc-m32r.c, config/tc-m68hc11.c, - config/tc-m68k.c, config/tc-maxq.c, config/tc-mcore.c, - config/tc-mep.c, config/tc-mips.c, config/tc-mmix.c, - config/tc-mn10300.c, config/tc-moxie.c, - config/tc-ns32k.c, config/tc-pj.c, config/tc-ppc.c, - config/tc-s390.c, config/tc-score.c, - config/tc-score7.c, config/tc-sh.c, config/tc-sparc.c, - config/tc-spu.c, config/tc-tic30.c, config/tc-vax.c, - config/tc-xtensa.c, config/xtensa-relax.c, - dw2gencfi.c, dwarf2dbg.c, ehopt.c, expr.c, - frags.c, input-file.c, read.c, sb.c, - subsegs.c, symbols.c, write.c: Change the name of the - gas macro `assert' to `gas_assert'. - -2009-06-22 Daniel Gutson <dgutson@codesourcery.com> - - * config/tc-arm.c (implicit_it_mode): New enum. - (implicit_it_mode): New global. - (it_instruction_type): New enum. - (arm_parse_it_mode): New function. - (arm_long_opts): New option added. - (arm_it): New field. - (it_state): New enum. - (now_it): New macro. - (check_it_blocks_finished): New function. - (insns[]): Use the IT Thumb opcodes for ARM too. - (arm_cleanup): Call check_it_blocks_finished. - (now_it_compatible): New function. - (conditional_insn): New function. - (set_it_insn_type): New macro. - (set_it_insn_type_last): New macro. - (do_it): Call automatic IT machinery functions. - (do_t_add_sub): Likewise - (do_t_arit3): Likewise. - (do_t_arit3c): Likewise. - (do_t_blx): Likewise. - (do_t_branch): Likewise. - (do_t_bkpt): Likewise. - (do_t_branch23): Likewise. - (do_t_bx): Likewise. - (do_t_bxj): Likewise. - (do_t_cps): Likewise. - (do_t_cpsi): Likewise. - (do_t_cbz): Likewise. - (do_t_it): Likewise. - (encode_thumb2_ldmstm): Likewise. - (do_t_ldst): Likewise. - (do_t_mov_cmp): Likewise. - (do_t_mvn_tst): Likewise. - (do_t_mul): Likewise. - (do_t_neg): Likewise. - (do_t_setend): Likewise. - (do_t_shift): Likewise. - (do_t_tb): Likewise. - (output_it_inst): New function. - (new_automatic_it_block): New function. - (close_automatic_it_block): New function. - (now_it_add_mask): New function. - (it_fsm_pre_encode): New function. - (handle_it_state): New function. - (it_fsm_post_encode): New function. - (force_automatic_it_block_close): New function. - (in_it_block): New function. - (md_assemble): Call automatic IT block machinery functions. - (arm_frob_label): Likewise. - (arm_opts): New element. - * config/tc-arm.h (it_state): New enum. - (current_it): New struct. - (arm_segment_info_type): New member added. - * doc/c-arm.texi: New option -mimplicit-it documented. - -2009-06-20 Alan Modra <amodra@bigpond.net.au> - - PR 10302 - * doc/as.texinfo (Section <ELF "M,S" flag>): Clarify tail merge. - -2009-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * config/tc-s390.c (md_gather_operands): Accept an instruction - without operands if all operands are tagged as optional. - -2009-06-18 Nick Clifton <nickc@redhat.com> - - PR 10169 - * tc-arm.c (do_t_ssat): Move common code from here... - (do_t_usat): ... and here to... - (do_t_ssat_usat): New function: ... here. Add code to check that - the shift value, if present, is in range. - -2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com> - - Merge cegcc and mingw32ce target name changes - from CeGCC project: - - 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt> - - * configure.tgt: Add arm*-*-cegcc* target. - - 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt> - - * configure.tgt: Add arm-*-mingw32ce* target. - -2009-06-16 Maciej W. Rozycki <macro@linux-mips.org> - - * config/tc-vax.c (md_estimate_size_before_relax): Accept - indirect symbol references in the PIC mode and emit a - PC-relative relocation instead of a GOT/PLT one. Likewise - for symbols known to be hidden at this point. - -2009-06-15 Nick Clifton <nickc@redhat.com> - - PR 10186 - * config/tc-arm.c (T16_32_TAB): Fix binary value of SEV.W - instruction. - -2009-06-13 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/10269 - * config/tc-i386.c (md_apply_fix): Use TC_FORCE_RELOCATION - instead of generic_force_reloc. - - * config/tc-i386.h (TC_FORCE_RELOCATION): New. - -2009-06-11 Anthony Green <green@moxielogic.com> - - * config/tc-moxie.c (md_chars_to_number): Define. - (md_begin): Populate opcode hashtable with more form 3 opcodes. - (md_assemble): Assemble MOXIE_F3_PCREL encoded instructions. - (md_apply_fix): Handle BFD_RELOC_MOXIE_10_PCREL relocations. - (tc_gen_reloc): Ditto. - (md_pcrel_from): Ditto. - (md_chars_to_number): New function. - -2009-06-10 Anthony Green <green@moxielogic.com> - - * config/tc-moxie.c (md_assemble): Handle MOXIE_F1_M encoded - opcodes. - -2009-06-09 Jakub Jelinek <jakub@redhat.com> - - PR gas/10255 - * dw2gencfi.c (output_cfi_insn): Initialize fragment before rs_cfa - to DW_CFA_advance_loc4. - -2009-06-08 Dave Korn <dave.korn.cygwin@gmail.com> - - PR gas/977 - * config/tc-i386.c (md_estimate_size_before_relax): Don't relax - branches to weak symbols. - (md_apply_fix): Don't convert fixes against weak symbols to - section-relative offsets, but save addend for later reloc emission. - (tc_gen_reloc): When emitting reloc against weak symbol, adjust - addend to pre-compensate for bfd_install_relocation. - -2009-06-04 Alan Modra <amodra@bigpond.net.au> - - * dep-in.sed: Don't use \n in replacement part of s command. - * Makefile.am (DEP1, DEPTC, DEPOBJ, DEP2): LC_ALL for uniq. - * Makefile.in: Regenerate. - -2009-06-01 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/10198 - * config/tc-i386-intel.c (i386_intel_operand): Check '$' as '.'. - -2009-05-26 Catherine Moore <clm@codesourcery.com> - - * config/tc-mips.c (check_for_24k_errata): Remove. - (md_mips_end): Remove call to check_for_24k_errata. - (start_noreorder): Likewise. - (s_change_sec): Likewise. - (s_change_section): Likewise. - (insns_between): Add 24k errata checks. - (append_insn): Remove declaration and references to nhdx_24k. - Remove calls to check_for_24k_errata. - -2009-05-26 Nick Clifton <nickc@redhat.com> - - * po/id.po: Updated Indonesian translation. - * po/gas.pot: Updated template file. - -2009-05-26 Nick Clifton <nickc@redhat.com> - - PR 10143 - * config/bfin-parse.y (error): Use "%s" as format string for error - message. - -2009-05-26 Alan Modra <amodra@bigpond.net.au> - - * dep-in.sed: Output one filename per line with all lines having - continuation backslash. Prefix first line with "A", following - lines with "B". - * Makefile.am (DEP): Don't use dep.sed here. - (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies, - sort and uniq. - (DEPTC, DEPOBJ, DEP2): Use dep.sed on dependencies, sort and uniq. - Emit multi dependencies on one line. - * Makefile.in: Regenerate. - -2009-05-25 Tristan Gingold <gingold@adacore.com> - - * makefile.vms: New file to compile gas on VMS. - - * configure.com: New file to do configuration on VMS with DCL. - -2009-05-23 Richard Sandiford <rdsandiford@googlemail.com> - - * config/tc-mips.c (nops_for_vr4130): Don't check noreorder_p. - (nops_for_insn): Likewise. - -2009-05-22 H.J. Lu <hongjiu.lu@intel.com> - - * symbols.c (COPIED_SYMFLAGS): Add BSF_GNU_INDIRECT_FUNCTION. - -2009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> - - * config/tc-i386.c (process_drex): Delete. Remove SSE5 support. - (build_modrm_byte): Remove DREX handling support. - (DREX_*): Delete. - (drex_byte): Delete. - (md_assemble): Remove DREX handling support. - (process_operands): Remove DREX, SSE5 support. - (i386_insn): Remove DREX. - -2009-05-22 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2009-05-20 Kai Tietz <kai.tietz@onevision.com> - H.J. Lu <hongjiu.lu@intel.com> - - * config/obj-coff.h: Include "coff/x86_64.h" for x86 pe-coff. - (TARGET_FORMAT): Removed for x86 pe-coff. - (COFF_TARGET_FORMAT): Likewise. - - * config/tc-i386.c (md_longopts): Allow --64 for x86 pe-coff. - (md_parse_option): Likewise. - (md_show_usage): Show option --32/--64 for x86 pe-coff. - (i386_target_format): Use also for x86 pe-coff. - - * config/tc-i386.h (TARGET_FORMAT): Defined as i386_target_format - for x86 pe-coff. - -2009-05-19 DJ Delorie <dj@redhat.com> - - * config/tc-mep.c (mep_machine): Only check CPU flags, not COP flags. - (mep_process_saved_insns): Remove debugging printfs. - -2009-05-19 Dave Korn <dave.korn.cygwin@gmail.com> - - * NEWS: Mention new feature. - * config/obj-coff.c (obj_coff_common_parse): New function. - (obj_coff_comm): Likewise. - (coff_pseudo_table): Override default ".comm" definition on PE. - * doc/as.texinfo: Document new feature. - -2009-05-17 Kai Tietz <kai.tietz@onevision.com> - - * config/obj-coff.c (obj_coff_section): Add 'y' as - specifier for SEC_COFF_NOREAD section flag. - * doc/as.texinfo: Add documentation about .section flag 'y'. - -2009-05-13 DJ Delorie <dj@redhat.com> - - * cgen.c (gas_cgen_parse_operand): Guard against NULL pointers. - -2009-05-13 Andrew Jenner <andrew@codesourcery.com> - - * config/tc-arm.c: Move as.h to start of file. - -2009-05-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> - - * config/tc-arm.h: Fix typo in comment. - (ARM_IS_FUNC): New macro. - (MD_APPLY_SYM_VALUE): Define. - - * config/tc-arm.c (do_blx): Retain BFD_RELOC_ARM_PCREL_BLX for - all versions of EABI. - (relax_branch): Do not relax for branches to ARM functions. - (md_pcrel_from_section): Set up base correctly for - BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_THUMB_PCREL_CALL, - BFD_RELOC_THUMB_PCREL_BRANCH23, BFD_RELOC_ARM_PCREL_BLX - BFD_RELOC_ARM_PCREL_CALL. - (md_apply_fix): Flip bl to blx where possible. - Flip blx to bl where possible. - (arm_force_relocation): Force relocations for - BFD_RELOC_ARM_PCREL_JUMP, BFD_RELOC_ARM_PCREL_JUMP, - BFD_RELOC_ARM_PCREL_BLX, BFD_RELOC_THUMB_PCREL_BLX, - BFD_RELOC_THUMB_PCREL_BRANCH20, BFD_RELOC_THUMB_PCREL_BRANCH23, - BFD_RELOC_THUMB_PCREL_BRANCH25. - (arm_apply_sym_value): New function. - -2009-05-04 Tristan Gingold <gingold@adacore.com> - - * config/tc-alpha.c: Also declare alpha_prologue_label for OBJ_EVAX. - -2009-05-01 Nathan Sidwell <nathan@codesourcery.com> - - * config/tc-armlinux-eabi.h (FPU_DEFAULT): Default to plain VFP. - * config/tc-armeabi.h (FPU_DEFAULT): Likewise. - * config/tc-arm.c (md_begin): If FPU_DEFAULT is set, don't infer - the default FPU from the processor. - -2009-05-01 Julian Brown <julian@codesourcery.com> - - * config/tc-arm.c (do_t_blx): Always use BFD_RELOC_THUMB_PCREL_BLX. - (md_pcrel_from_section): Align address for BLX. - (tc_gen_reloc): Change BFD_RELOC_THUMB_PCREL_BLX relocations to - BFD_RELOC_THUMB_PCREL_BRANCH23 for EABI v4+. - -2009-04-29 DJ Delorie <dj@redhat.com> - - * config/tc-mep.c (md_begin): Check coprocessor type. - (md_check_parallel64_scheduling): Use memset to initialize the buffer. - (md_check_parallel32_scheduling): Likewise. - (slot_ok): New. - (mep_check_ivc2_scheduling): New. - (mep_check_parallel_scheduling): Call it. - (mep_process_saved_insns): Add IVC2 slot support. - (md_assemble): Likewise. - -2009-04-30 Nick Clifton <nickc@redhat.com> - - * config/obj-elf.c (obj_elf_type): Add support for a - gnu_indirect_function type. - * config/tc-i386.c (tc_i386_fix_adjustable): Do not adjust fixups - against indirect function symbols. - * doc/as.texinfo (.type): Document the support for the - gnu_indirect_function symbol type. - * NEWS: Mention the new feature. - -2009-04-24 Cary Coutant <ccoutant@google.com> - - * NEWS: Add item about discriminator support. - * dwarf2dbg.h (struct dwarf2_line_info): Add discriminator field. - * dwarf2dbg.c (current): Add discriminator field. - (dwarf2_where): Copy discriminator value. - (dwarf2_consume_line_info): Set discriminator to 0. - (dwarf2_directive_loc): Process discriminator sub-op. - (out_leb128): New function. - (process_entries): Output DW_LNE_set_discriminator. - * doc/as.texinfo: Add discriminator operand to .loc directive. - -2009-04-22 Nathan Sidwell <nathan@codesourcery.com> - - * config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for - as_bad calls to silence compiler warning. - -2009-04-21 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386-intel.c (O_XXX): Reorder. - -2009-04-20 Jan Beulich <jbeulich@novell.com> - - * Makefile.am: Add explicit dependency of tc-i386.o on - tc-i386-intel.c. - * Makefile.in: Likewise. - * config/tc-i386.c (i386_finalize_immediate): Declare, broken - out from i386_immediate. - (i386_immediate): Slightly re-arrange, call - i386_finalize_immediate. - (i386_finalize_displacement): Declare, broken out from - i386_displacement. - (i386_displacement): Slightly re-arrange, call - i386_finalize_displacement. - (i386_intel_simplify, i386_intel_parse_name): Declare. - (this_operand): Initialize to -1. - (set_intel_syntax): Set expression rank for O_full_ptr. - (md_assemble): Set this_operand back to -1 after parsing - operands. - (x86_cons): Negate intel_syntax to indicate state. Call - i386_intel_simplify. - (md_operand): Convert if to switch. Handle '[' for Intel - syntax. - (i386_intel_operand): Delete, including all helper functions - and data. - * config/tc-i386-intel.c: New file, all new code. - * config/tc-i386.h (i386_operator): Declare. - (md_operator): Define to i386_operator. - (i386_need_index_operator): Declare. - (md_need_index_operator): Define to i386_need_index_operator. - (O_full_ptr): Define. - -2009-04-20 Jan Beulich <jbeulich@novell.com> - - * expr.c (operand): Call md_need_index_operator() and - md_operator() if defined. Add unary label. - (operator): Call md_operator() if defined. - (expr): Adjust assertions on range and rank of op_left and - op_right. Don't abort on unhandled operators when reducing - expressions with both operands being constant. - (expr_set_rank): New. - * expr.h (expr_set_rank): Declare. - -2009-04-15 Anthony Green <green@moxielogic.com> - - * config/tc-moxie.h: New file. - * config/tc-moxie.c: New file. - * configure: Add support for moxie. - * configure.tgt: Add support for moxie. - -2009-04-16 Jan Beulich <jbeulich@novell.com> - - * expr.c: Include limits.h if available, and #define CHAR_BITS - otherwise. - (expr): Check range of shift count when evaluating a constant - expression. - -2009-04-15 Jan Beulich <jbeulich@novell.com> - - * config/tc-i386.c (process_operands): Print operands in - correct order depending on intel_syntax. - -2009-04-09 Catherine Moore <clm@codesourcery.com> - - * config/tc-mips.c (mips_fix_24k): Declare. - (check_for_24k_errata): New. - (mips_cleanup): Call check_for_24k_errata. - (start_noreorder): Likewise. - (md_mips_end): Likewise. - (s_change_sec): Likewise. - (s_change_section): Likewise. - (append_insn): Call check_for_24k_errata. Prevent - ERET/DERET instructions from being moved into delay - slots. - (OPTION_FIX_24K): New. - (OPTION_NO_FIX_24k) New. - (md_longopts): Add "mfix-24k" and "mno-fix-24k". - (md_parse_option): Handle fix-24k options. - (md_show_usage): Display fix-24k options. - * doc/c-mips.texi: Document. - -2009-04-09 Adam Nemet <anemet@caviumnetworks.com> - - * config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS - instead of HAVE_64BIT_SYMBOLS. - -2009-04-07 DJ Delorie <dj@redhat.com> - - * config/tc-mep.c: Add UCI/DSP instruction support. Add C5 support. - (md_show_usage): Change default endian to little. - * config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little. - -2009-04-06 DJ Delorie <dj@redhat.com> - - * tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA - immediates. - (build_bytes): Pass insn to do_a_fix_imm. - -2009-04-02 Daniel Gutson <dgutson@codesourcery.com> - - * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0. - * doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and - Cortex-M1. - -2009-04-01 Matt Thomas <matt@netbsd.org> - - * config/tc-vax.c (synthetic_votstrs): add "jbbcci" and "jbbssi" - (md_assemble): emit symbol name when used as immediate in PIC mode. - (md_assemble): fix LP64 bug (use sizeof (valueT) instead 4). - -2009-04-01 Sterling Augustine <sterling@jaw.hq.tensilica.com> - - * config/tc-xtensa.c (parse_arguments): call demand_empty_rest_of_line - -2009-04-01 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> - - * config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF. - (find_real_start): Likewise. - * config/tc-arm.h (TC_VALIDATE_FIX): Likewise - -2009-04-01 Nathan Sidwell <nathan@codesourcery.com> - - * config/tc-arm.c (do_nop): Generate v6k nops whenever possible. - (arm_handle_align): Generate v6k ARM, thumb2 wide & narrow nops - whenever possible. - -2009-03-31 Peter Bergner <bergner@vnet.ibm.com> - - * config/tc-ppc.c (ppc_handle_align): Handle power7's group ending nop. - -2009-03-31 Dave Korn <dave.korn.cygwin@gmail.com> - - * doc/internals.texi: Fix trivial syntax errors. - -2009-03-26 Alan Modra <amodra@bigpond.net.au> - - PR 10005 - * config/tc-i386.c (reloc): Don't abort on lack of required - reloc type. - -2009-03-25 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (parse_insn): Use default_arch on unsupported - arch. - -2009-03-23 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/9966 - * listing.c (listing_newline): Properly handle `\\"' and ';'. - - * read.c (is_end_of_line): Update comments for line separator. - (read_begin): Set line separator in is_end_of_line to 2. - -2009-03-19 David S. Miller <davem@davemloft.net> - - * config/tc-sparc.c (md_parse_option): If the user gives - us '--64' make sure max_architecture is at least V9. - -2009-03-18 Andrew Stubbs <ams@codesourcery.com> - - * config/tc-arm.c (md_apply_fix): Check BFD_RELOC_ARM_IMMEDIATE and - BFD_RELOC_ARM_ADRL_IMMEDIATE value is in the correct section. - Check BFD_RELOC_ARM_ADRL_IMMEDIATE has a defined symbol. - -2009-03-18 Alan Modra <amodra@bigpond.net.au> - - * as.h: Include alloca-conf.h instead of config.h and remove - existing #if's handling alloca. - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * config/tc-ppc.c (ppc_frob_symbol): Add csect information for - C_AIX_WEAKEXT too. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * config/tc-ppc.c (md_apply_fix): On COFF targets, always reread - "value" from fx_offset. Manually resubtract md_pcrel_from_section - where necessary. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * configure.tgt: Extend AIX 5 behavior to AIX 6 and above. - * configure.in: Likewise. - * configure: Regenerate. - -2009-03-11 Hans-Peter Nilsson <hp@axis.com> - - * config/tc-cris.c (cris_create_short_jump): Remove prototype. - Rename, changing all callers, to... - (md_create_short_jump): Adjust head comment. Assert - word-sized-branch distance for v32. Bail out calling as_fatal for - compatibility mode here. - (md_create_long_jump): ...not here. - * config/tc-cris.h (md_create_short_jump): Do not define. - -2009-03-10 Hans-Peter Nilsson <hp@axis.com> - - * write.c (write_object_file) [!WORKING_DOT_WORD]: When patching - the jump table for multiple overflowing entries with the same - target, handle base symbols being different. - (relax_segment) <case rs_broken_word, second loop>: Whenever a - single entry overflows, arrange to redirect all entries with the - same target. - -2009-03-10 Alan Modra <amodra@bigpond.net.au> - - * config/tc-ppc.c (parse_cpu): Delete. - (md_parse_option, ppc_machine): Use ppc_parse_cpu. - -2009-03-09 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/9915 - * config/tc-i386.h (LOCAL_LABELS_DOLLAR): New. Defined as 0. - (LOCAL_LABELS_FB): Undefine befoe define. - -2009-03-06 Nick Clifton <nickc@redhat.com> - - * po/es.po: Updated Spanish translation. - -2009-03-05 Joseph Myers <joseph@codesourcery.com> - - * read.c (s_fill, s_space, s_float_space, float_cons, stringer, - s_incbin): Call md_cons_align (1). - -2009-03-04 Nick Clifton <nickc@redhat.com> - - * config/tc-alpha.c (alpha_prologue_label): Only define for ELF - based targets. - (s_alpha_comm): Only define "temp" and "log_align" local variables - for EVAX targets. - -2009-03-04 Alan Modra <amodra@bigpond.net.au> - - * config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs - have non-zero addend. - (md_assemble): Parse args of __tls_get_addr calls. - (md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD. - -2009-03-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - binutils/3807 - * config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with - local scope for ELF targets. - -2009-03-04 Alan Modra <amodra@bigpond.net.au> - - * config/tc-ppc.c (md_assemble): APUinfo only for e500. - -2009-03-03 Tristan Gingold <gingold@adacore.com> - Eric Botcazou <ebotcazou@adacore.com> - Douglas B Rupp <rupp@gnat.com> - - * doc/as.texinfo (Overview): Mention -replace/-noreplace options - for Alpha. - * doc/c-alpha.texi (Alpha Options): Document -replace/-noreplace. - * config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define to 1 (evax). - (OBJ_SYMFIELD_TYPE): Remove. - (tc_canonicalize_symbol_name): Define to evax_shorten_name. - (TC_IMPLICIT_LCOMM_ALIGNMENT): For alignment to 3 on evax. - (tc_frob_file_before_fix): Do not defined on evax. - * config/tc-alpha.c: Always includes dwarf2dbg.h. - Include vms.h if OBJ_EVAX. - (struct alpha_fixup): Add xtrasym and procsym (evax only). - (enum alpha_macro_arg): Remove trailing comma. - (md_longopts): Add replace and noreplace arguments (evax only). - (alpha_evax_proc_hash): New variable. - (alpha_link_section): Make it global. - (alpha_ctors_section, alpha_dtors_section): Removed. - (alpha_ctors_symbol, alpha_dtors_symbol): Ditto. - (alpha_lit8_section): Ifndef'ed on evax. - (alpha_lit8_symbol): Ditto. - (alpha_prologue_label): New variable. - (alpha_linkage_symbol): New variable (evax only). - (alpha_flag_replace): Ditto. - (struct alpha_evax_procs): Add handler and handler_data field. - (alpha_evax_proc): Now of type pointer. - (alpha_linkage_fixup_root, alpha_linkage_fixup_tail): New variables. - (struct alpha_reloc_tag): Add sym and psym fields (evax only). - (get_alpha_reloc_tag): Initialize sym and psym fields (evax only). - (alpha_adjust_relocs): Ifndef'ed on evax. - (load_expression): Add opname argument. - Implement LDA/BSR optimization for evax. - (emit_lda): Adjust for new prototype of load_expression. - (emit_ir_load): Ditto. Do not nothing for GP if ..lk symbols. - (emit_loadstore): Likewise. - (emit_ldXu): Likewise. - (emit_stX): Likewise. - (emit_jsrjmp): Likewise. Implement LDA/BSR optimization for evax. - (emit_ldgp): Avoid warning in evax case. - (add_to_link_pool): Make it static. Return symbolic expression rather - than number expression for the offset. - (s_alpha_text): Create .text symbol for evax if not already created. - (s_alpha_comm): Do not create specific section for common symbol. - Fill common area with zeros for evax. - (s_alpha_prologue): Create alpha_prologue_label. - (s_alpha_section_name): New function (evax). - (s_alpha_section_word): Likewise. - (section_name): New static variabke moved out from ... - (s_alpha_section): ... here. Create new sections on demand. - (s_alpha_literals): New function (evax). - (s_alpha_ent): Create alpha_evax_proc instance and insert it in the - alpha_evax_proc_hash table. - (s_alpha_handler): New function (evax). - (s_alpha_frame): Adjust for new type of alpha_evax_proc. - (s_alpha_prologue): New function (evax). - (s_alpha_pdesc): Adjust for new type of alpha_evax_proc and new - handling of procedures with hash table. - Add support for condition handlers. - (s_alpha_linkage): Create linkage_fixup instance and chain it. - (s_alpha_fp_save): Adjust for new type of alpha_evax_proc. - (s_alpha_mask): Likewise. - (s_alpha_fmask): Likewise. - (s_alpha_end): Clear alpha_evax_proc. - (s_alpha_align): Increase max_alignment to 16. - (alpha_print_token): Call print_expr_1 instead of print_expr. - (md_pseudo_table): Add "section", "literals", "handler" and - "handler_data" (evax). Do not ignore "prologue" on evax. - Fix indentation. - (md_begin): Create hash table for alpha_evax_proc_hash. - (md_parse_option): Handle OPTION_REPLACE and OPTION_NOREPLACE. - (md_show_usage): Mention -replace/-noreplace for evax. - (md_apply_fix): Handle evax relocs (_NOP, _LDA, _BSR and _BOH). - (alpha_force_relocation): Likewise. - (alpha_fix_adjustable): Likewise. Add BFD_RELOC_16 case. - (tc_gen_reloc): Likewise. Add BFD_RELOC_ALPHA_LINKAGE for evax. - (emit_insn): New cases for evax specific relocs. - (assemble_insn): Fix indentation. - Take care of -MDISP in operand table. - * config/obj-evax.h (struct alpha_linkage_fixups): New struct. - (OBJ_SYMFIELD_TYPE): New macro. - (obj_symbol_new_hook): Define. - (obj_frob_symbol, obj_frob_file_before_adjust): Ditto. - (obj_frob_file_before_fix): Ditto. - (PDSC_S_M_HANDLER_VALID): New macro. - (PDSC_S_M_HANDLER_DATA_VALID): Ditto. - (TC_IMPLICIT_LCOMM_ALIGNMENT): Remove. - Add prototypes for functions declared in obj-evax.c - * config/obj-evax.c: Include subsegs.h, struc-symbol.h, safe-ctype.h. - (s_evax_weak): Convert to ansi-C. - (evax_symbol_new_hook): New function. - (evax_frob_symbol): Ditto. - (evax_frob_file_before_adjust): Ditto. - (evax_frob_file_before_fix): Ditto. - (evax_shorten_name): Ditto. - (crc32): Ditto. - (encode_32): Ditto. - (encode_16): Ditto. - (decode_16): Ditto. - (shorten_identifier): Ditto. - (is_truncated_identifier): Ditto. - * dwarf2dbg.c (out_debug_info): Do not append trailing slash on VMS. - * as.c (close_output_file): Remove #ifndef OBJ_VMS. - (main): Ditto. - -2009-03-03 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2009-03-02 Nick Clifton <nickc@redhat.com> - - PR 9874 - * config/tc-ia64.c (fix_insn): Fix warning reported by - -Wformat-security. - -2009-03-02 Qinwei <qinwei@sunnorth.com.cn> - - * config/tc-score7.c: New file. - * doc/c-score.texi: New file. - * Makefile.am: Update dependencies for tc-score.c. - * Makefile.in: Regenerate. - * NEWS: Mention support for Score7 architecture. - * config/tc-score.c: Add support for Score7 architecture. - * config/tc-score.h: Likewise. - * doc/Makefile.am: Add c-score.texi. - * doc/Makefile.in: Regenerate. - * doc/all.texi: Add Score7. - * doc/as.texinfo: Add Score7. - -2009-03-01 Mark Mitchell <mark@codesourcery.com> - - * config/tc-arm.c (md_assemble): Allow barrier instructions on - ARMv6-M cores. - -2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure: Regenerate. - -2009-02-26 Peter Bergner <bergner@vnet.ibm.com> - - * config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63", - "f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63". - (parse_cpu): Extend -mpower7 to accept power7 and isel instructions. - -2009-02-25 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (fits_in_imm4): Removed. - -2009-02-24 Helge Deller <deller@gmx.de> - - * config/tc-hppa.c (pa_ip): Add check of immediate values. - (SAVE_IMMEDIATE): New define. - -2009-02-23 Mark Mitchell <mark@codesourcery.com> - - * config/tc-arm.c (warn_deprecated_sp): New macro. - (do_t_mov_cmp): Permit R13 as the second - argument to "cmp.n". - -2009-02-23 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM. - (pt): Replace UINTS_ALL_ZERO with operand_type_all_zero. - -2009-02-23 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4. - -2009-02-23 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (vex_imm4): Removed. - (VEX_check_operands): Likewise. - (match_template): Updated. - -2009-02-23 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * doc/all.texi: Set S390. - * doc/as.texinfo: Add S390 support and pull in c-s390.texi. - * doc/Makefile.am (CPU_DOCS): Add c-s390.texi. - * doc/Makefile.in: Likewise. - * doc/c-s390.texi: New. - -2009-02-12 Nathan Sidwell <nathan@codesourcery.com> - - * config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR. - (mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New. - (mcf5307_ctrl): Add VBR. - (no_mac): New variable. - (m68k_extensions): Refer to no_mac mask. - (m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277, - 52252..52259, 53011..53017. - (m68k_ip): Process CPUCR. - (init_table): Add cpucr entry. - (m68k_set_extension): Allow negated mask to refer to a variable. - (md_show_usage): Use '%s' to silence fprintf warning. - * config/m68k-parse.h (CPUCR): New control register. - -2009-02-10 Nathan Sidwell <nathan@codesourcery.com> - - * config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' for - as_bad calls to silence compiler warning. - -2009-02-06 Nick Clifton <nickc@redhat.com> - - PR 9814 - * config/tc-arm.c (MODE_RECORDED): New define. - (output_inst): Record the thumb_mode in the current frag. - (arm_handle_align): Ignore the MODE_RECORDED bit in tc_frag_data. - (arm_init_frag): Only set the tc_frag_data field if it has not - already been set. - -2009-02-04 H.J. Lu <hongjiu.lu@intel.com> - - AVX Programming Reference (January, 2009) - * config/tc-i386.c (CPU_FLAGS_PCLMUL_MATCH): New. - (CPU_FLAGS_AVX_MATCH): Updated. - (CPU_FLAGS_32BIT_MATCH): Likewise. - (cpu_flags_match): Likewise. - -2009-02-03 Sandip Matte <sandip@rmicorp.com> - - * config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T, - M_MSGWAIT and M_MSGWAIT_T. - (mips_cpu_info_table): Add XLR entry. - * doc/c-mips.texi (-march): Document xlr. - -2009-02-03 Eric B. Weddington <eric.weddington@atmel.com> - - * config/tc-avr.c (mcu_types): Add ata6289. - * doc/c-avr.texi: Likewise. - -2009-02-03 Carlos O'Donell <carlos@codesourcery.com> - - * configure.in: AC_SUBST pdfdir. - * Makefile.am: Add install-pdf, install-pdf-am, - and install-pdf-recursive targets. - * doc/Makefile.am: Define pdf__strip_dir. Add - install-pdf and install-pdf-am targets. - * po/Make-in: Add install-pdf target. - * configure: Regenerate. - * Makefile.in: Regenerate. - * doc/Makefile.in: Regenerate. - -2009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com> - - * config/m68k-parse.h (enum pic_relocation): Add values for TLS - relocations. - * config/m68k-parse.y (yylex): Parse TLS relocations. - * config/tc-m68k.c (m68k_elf_cons): New static function. - (md_pseudo_table): Use it. - (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS - relocations. - (md_apply_fix): Fix to set thread local flag. - (m68k_elf_suffix): New static function; helper for m68k_elf_cons. - -2009-02-03 Vince Weaver <vince@csl.cornell.edu> - - PR 9779 - * config/tc-pdp11.c (parse_op_no_deferred): Fix handling of - indexed addressing for symbolic expressions. - -2009-01-29 Mark Mitchell <mark@codesourcery.com> - - * config/tc-arm.c (BAD_SP): Define. - (s_arm_unwind_fnstart): Use REG_SP. - (s_arm_unwind_setfp): Likewise. - (reject_bad_reg): New macro. - (do_co_reg): Check for bad registers. - (do_co_reg2c): Likewise. - (do_srs): Use REG_SP. - (do_t_add_sub): Check for bad registers. - (do_t_adr): Likewise. - (do_t_arit3): Likewise. - (do_t_arit3c): Likewise. - (do_t_bfc): Likewise. - (do_t_bfi): Likewise. - (do_t_bfx): Likewise. - (do_t_blx): Likewise. - (do_t_bx): Likewise. - (do_t_bxj): Likewise. - (do_t_clz): Likewise. - (do_t_div): Likewise. - (do_t_mla): Likewise. - (do_t_mlal): Likewise. - (do_t_mov_cmp): Likewise. - (do_t_mov16): Likewise. - (do_t_mvn_tst): Likewise. - (do_t_mrs): Likewise. - (do_t_msr): Likewise. - (do_t_mul): Likewise. - (do_t_mull): Likewise. - (do_t_orn): Likewise. - (do_t_pkhbt): Likewise. - (do_t_pld): Likewise. - (do_t_rbit): Likewise. - (do_t_rev): Likewise. - (do_t_rrx): Likewise. - (do_t_rsb): Likewise. - (do_t_shift): Likewise. - (do_t_simd): Likewise. - (do_t_ssat): Likewise. - (do_t_ssat16): Likewise. - (do_t_sxtah): Likewise. - (do_t_sxth): Likewise. - (do_t_tb): Likewise. - (do_t_usat): Likewise. - (do_t_usat16): Likewise. - (nysn_insert_sp): Use REG_SP. - -2009-01-29 Mark Mitchell <mark@codesourcery.com> - - * config/tc-arm.c (do_t_orn): New function. - (do_t_rrx): Likewise. - (insns): Add orn and rrx. - -2009-01-29 Mark Mitchell <mark@codesourcery.com> - - * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax, - uasx, uhasx, uhsx, uqasx, uqsax, usax. - -2009-01-29 Mark Mitchell <mark@codesourcery.com> - - * config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub, - qdsub in Thumb-2 mode. - -2009-01-29 Paul Brook <paul@codesourcery.com> - Mark Mitchell <mark@codesourcery.com> - - * config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding - of MUL when possible. - -2009-01-29 Nick Clifton <nickc@redhat.com> - - * config/tc-mep.h (DIFF_EXPR_OK): Do not define. - -2009-01-29 Nathan Sidwell <nathan@codesourcery.com> - Catherine Moore <clm@codesourcery.com? - - * doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte, - .4byte, .8byte, .bss, .even, .extend, .ldouble, .packed, .secrel32 - directives. - -2009-01-27 Nick Clifton <nickc@redhat.com> - - * config/tc-mips.c (append_insn): Cope with a complex reloc - sequence containing an unsupported reloc type. - (enum options): Replace computed #define's constants for option - numbers with this enum. - (struct md_longopts): Use the enum. Allow OPTION_32 in a non-ELF - environment. - (md_parse_option): Allow -32 in a non-ELF environment. - -2009-01-26 Andrew Stubbs <ams@codesourcery.com> - - * config/tc-arm.c (attributes_set_explicitly): New array. - (s_arm_eabi_attribute): Check return value from s_vendor_attribute. - (cpu_arch): Add ARM_ARCH_V5T. - (aeabi_set_attribute_int): New function. - (aeabi_set_attribute_string): New function. - (aeabi_set_public_attributes): Set attributes according to the user's - intentions, rather than the actual state of the binary. - Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of - bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string. - Support WMMXv2. Use attribute names instead of numbers. - * read.c (s_vendor_attribute): Change return type to int. - Return the tag number that was set. - * read.h (s_vendor_attribute): Change return type to int. - -2009-01-26 Eric B. Weddington <eric.weddington@atmel.com> - - PR 9789 - * config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name. - * doc/c-avr.texi: Likewise. - -2009-01-23 Nathan Sidwell <nathan@codesourcery.com> - - * doc/c-arm.texi (): Document -mwarn-deprecated. - * config/tc-arm.c (WARN_DEPRECATED): Remove. Replace with ... - (warn_on_deprecated): ... this. - (opcode_lookup, md_assemble): Check it before warning. - (arm_opts): Add m[no-]warn-deprecated. - (md_parse_option): Replace WARN_DEPRECATED with - warn_on_deprecated. - -2009-01-23 Andreas Schwab <schwab@suse.de> - - * config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast - arguments to macro_build to match format. - - * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define. - * config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define. - -2009-01-19 Nick Clifton <nickc@redhat.com> - - * config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for - ELF format ARM targets. - * config/tc-arm.c (arm_convert_symbolic_attribute): Likewise. - -2009-01-19 Nick Clifton <nickc@redhat.com> - - * configure.tgt: Restore alpha sorting to object format switch - statement. - -2009-01-19 Andrew Stubbs <ams@codesourcery.com> - - * read.c (s_vendor_attribute): Allow for unknown flag bits in type. - -2009-01-16 Mark Shinwell <shinwell@codesourcery.com> - - * config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5. - * config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise. - -2009-01-16 Andrew Stubbs <ams@codesourcery.com> - Daniel Jacobowitz <dan@codesourcery.com> - - * config/tc-arm.c (arm_copy_symbol_attributes): New function. - * config/tc-arm.h (arm_copy_symbol_attributes): New prototype. - (CONVERT_SYMBOLIC_ATTRIBUTE): New define. - * read.c (s_vendor_attribute): Add support for symbolic tag names. - Improve string parser. - * doc/c-arm.texi (ARM Machine Directives): Document - .eabi_attribute symbolic tag names. - -2009-01-16 Alan Modra <amodra@bigpond.net.au> - - * configure.in (commonbfdlib): Delete. - * configure: Regenerate. - * po/POTFILES.in: Regenerate. - -2009-01-15 Andrew Stubbs <ams@codesourcery.com> - Julian Brown <julian@codesourcery.com> - - * config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11. - -2009-01-15 Andrew Stubbs <ams@codesourcery.com> - - * read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat -> - bfd_elf_add_obj_attr_int_string. - -2009-01-15 Douglas B Rupp <rupp@gnat.com> - - * configure.tgt(ia64-*-*vms*): New target. - * dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern. - * tc.h (md_number_to_chars): Declare iff undefined. - * config/obj-elf.c (obj_elf_change_section): Change type of arg - attr to bfd_vma. - (obj_elf_parse_section_letters): Return a bfd_vma. Change type of - variables attr, md_attr to bfd_vma. - (obj_elf_section_word): Likewise. - (obj_elf_section): Change type of variable attr to bfd_vma - * config/obj-elf.h (obj_elf_change_section): Change type of arg - attr to bfd_vma. - * config/tc-ia64.c (bfdver.h,time.h): Include. - (ia64_elf_section_letter): Now returns a bfd_vma. - Handle VMS specific attributes. - (ia64_elf_section_flags): Arg attr now a bfd_vma. - (ia64_init): Don't turn on dependency checking for VMS. - (ia64_target_format): Check for VMS flag bit. - (do_alias): Hande decc$ functions. - (get_vms_time): New function. - (ia64_vms_note): New function. - * config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma. - (ia64_elf_section_flags): Arg attr now a bfd_vma. - (tc_init_after_args): Define for VMS. - * config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma. - (alpha_elf_section_flags): Change type of arg attr to bfd_vma. - * config/tc-alpha.h: Likewise. - * config/tc-i386.c (x86_64_section_letter): Return a bfd_vma. - (x86_64_section_word): Return a bfd_vma. - * config/tc-i386.h: Likewise. - * config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg - attr to bfd_vma. - * config/tc-ip2k.h: Likewise. - * config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma. - (mep_elf_section_flags): Change type of arg attr to bfd_vma. - * config/tc-mep.h: Likewise. - * config/tc-ppc.c (ppc_section_letter): Return a bfd_vma. - (ppc_section_word): Return a bfd_vma. - (ppc_section_flags): Change type of arg attr to bfd_vma. - * config/tc-ppc.h: Likewise. - * config/tc-frv.h: Provide a prototype for frv_md_number_to_chars. - * config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR, - DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME): - New file with new macros - * dwarf2dbg.c (get_filenum, out_file_list): Default and call new - macros. - -2009-01-15 Nick Clifton <nickc@redhat.com> - - PR 9722 - * config/tc-arm.c (do_t_nop): Check for availability of Thumb2 - instructions before generating a Thumb2 nop. - -2009-01-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * config/tc-s390.h: Define LOCAL_LABEL_PREFIX. - -2009-01-12 Alan Modra <amodra@bigpond.net.au> - - * config/tc-spu.c (md_pseudo_table): Add "brinfo". - (brinfo): New var. - (md_assemble): Poke brinfo into branch instructions. - (spu_brinfo): New function. - (md_apply_fix): Don't assume insn fields start off at zero, mask - them to remove possible brinfo. - -2009-01-10 H.J. Lu <hongjiu.lu@intel.com> - - * doc/c-i386.texi: Reformat. - -2009-01-10 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (cpu_arch): Add corei7, .clflush and - .syscall. - (i386_align_code): Handle PROCESSOR_COREI7. - (md_show_usage): Add corei7, clflush and syscall. - (i386_target_format): Replace cpup4 with cpuclflush. - - * config/tc-i386.h (processor_type): Add PROCESSOR_COREI7. - - * doc/c-i386.texi: Document corei7, clflush and syscall. - -2009-01-09 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (cpu_arch): Add .rdtscp. - (md_show_usage): Display rdtscp. - - * doc/c-i386.texi: Document rdtscp. - -2009-01-09 Peter Bergner <bergner@vnet.ibm.com> - - * config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test. - Test the new "deprecated" opcode field. - -2009-01-07 Sterling Augustine <sterling@tensilica.com> - - * config/tc-xtensa.c (produce_flix): New. - (option_flix, optoin_no_generate_flix, option_no_flix) Define. - (md_longopts): Add support for them. - (md_parse_option): Likewise. - (md_show_usage): Add help message. - (finish_vinsn): Don't allow multi-slot flix when produce_flix - option is set to FLIX_NONE. - * config/xtensa-relax.c (transition_applies): Only relax to - flix branches when produce_flix equals FLIX_ALL. - * config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE - FLIX_NONE): New. - (produce_flix): Declare. - -2009-01-06 Chao-ying Fu <fu@mips.com> - - * config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff. - Use strncmp to match jalr and jalr.hb. - Fix a typo. - -2009-01-05 H.J. Lu <hongjiu.lu@intel.com> - - AVX Programming Reference (December, 2008) - * config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction - support. Don't swap REG and NDS for FMA. - -2009-01-02 Matthias Klose <doko@ubuntu.com> - - * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf - behaviour. - -For older changes see ChangeLog-2008 +For older changes see ChangeLog-2009 Local Variables: mode: change-log diff --git a/gas/ChangeLog-2009 b/gas/ChangeLog-2009 new file mode 100644 index 0000000..0fd639c --- /dev/null +++ b/gas/ChangeLog-2009 @@ -0,0 +1,2912 @@ +2009-12-28 Daniel Gutson <dgutson@codesourcery.com> + + * doc/c-arm.texi: Document NEON alignment specifiers. + +2009-12-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> + Richard Earnshaw <richard.earnshaw@arm.com> + + * config/tc-arm.c (encode_thumb2_b_bl_offset): New. Refactored + from md_apply_fix. + (md_apply_fix): Fixup range checks for Thumb2 version + of unconditional calls. Call encode_thumb2_b_bl_offset for + unconditional branches / function calls. + +2009-12-19 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (process_operands): Check vexvvvv instead + of vexnds and vexndd. + (build_modrm_byte): Check vexvvvv instead of vexnds, vexndd + and vexlwp. + +2009-12-19 Maciej W. Rozycki <macro@codesourcery.com> + + * config/tc-mips.c (s_mips_ent): Also set BSF_FUNCTION for + ".aent". + +2009-12-18 Steve Ellcey <sje@cup.hp.com> + + * config/tc-hppa.c: Change access to access_ctr. + +2009-12-17 Nick Clifton <nickc@redhat.com> + + PR binutils/10924 + * config/tc-arm.c (do_ldstv4): Do not allow r15 as the destination + register. + (do_mrs): Likewise. + (do_mul): Likewise. + +2009-12-16 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (process_suffix): Set i.suffix to 0 in + Intel syntax if size is ignored and b/l/w suffixes are + illegal. + (check_byte_reg): Remove byteokintel check. + +2009-12-16 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (build_vex_prefix): Replace vex0f, vex0f38, + vex0f3a, xop08, xop09 and xop0a with vexopcode. + +2009-12-15 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (build_modrm_byte): Check XOP2SOURCES + instead VEX2SOURCES. + +2009-12-15 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (process_operands): Check vexsources + instead of vex3sources. + (build_modrm_byte): Check vexsources instead of vex2sources + and vex3sources. + +2009-12-15 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (build_vex_prefix): Replace vexw0/vexw1 + with vexw. + (build_modrm_byte): Likewise. + +2009-12-15 H.J. Lu <hongjiu.lu@intel.com> + + * as.h (mempcpy): New. + + * configure.in: Check if mempcpy is declared. + * configure: Regenerated. + * config.in: Likewise. + +2009-12-15 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (build_vex_prefix): Use VEX256. + +2009-12-14 Yoshinori Sato <ysato@users.sourceforge.jp> + + PR gas/11086 + * config/tc-rx.c (rx_equ): Rename 'expr' to 'expression' in order + to avoid shadowing a global symbol of the same name. + +2009-12-14 Nick Clifton <nickc@redhat.com> + + * config/tc-microblaze.c (md_assemble): Rename 'imm' to 'immed' in + order to avoid shadowing a global symbol of the same name. + +2009-12-11 Andrew Jenner <andrew@codesourcery.com> + + * config/tc-arm.c (arm_init_frag): Set thumb MODE_RECORDED flag for + non-elf. + (arm_handle_align): Re-enable assert for non-elf. + +2009-12-11 Nick Clifton <nickc@redhat.com> + + * Makefile.in: Regenerate. + * doc/Makefile.in: Regenerate. + * configure: Regenerate. + * dw2gencfi.c: Fix shadowed variable warnings. + * dwarf2dbg.c: Likewise. + * expr.c: Likewise. + * hash.c: Likewise. + * listing.c: Likewise. + * macro.c: Likewise. + * read.c: Likewise. + * stabs.c: Likewise. + * symbols.c: Likewise. + * write.c: Likewise. + * config/bfin-parse.y: Likewise. + * config/obj-coff.c: Likewise. + * config/tc-arm.c: Likewise. + * config/tc-bfin.c: Likewise. + * config/tc-cr16.c: Likewise. + * config/tc-crx.c: Likewise. + * config/tc-d10v.c: Likewise. + * config/tc-d30v.c: Likewise. + * config/tc-frv.c: Likewise. + * config/tc-i370.c: Likewise. + * config/tc-i386-intel.c: Likewise. + * config/tc-i386.c: Likewise. + * config/tc-ia64.c: Likewise. + * config/tc-m32r.c: Likewise. + * config/tc-m68hc11.c: Likewise. + * config/tc-mips.c: Likewise. + * config/tc-mn10200.c: Likewise. + * config/tc-mn10300.c: Likewise. + * config/tc-ns32k.c: Likewise. + * config/tc-ppc.c: Likewise. + * config/tc-score.c: Likewise. + * config/tc-score7.c: Likewise. + * config/tc-sh.c: Likewise. + * config/tc-sh64.c: Likewise. + * config/tc-sparc.c: Likewise. + * config/tc-tic30.c: Likewise. + * config/tc-tic4x.c: Likewise. + * config/tc-tic54x.c: Likewise. + * config/tc-xtensa.c: Likewise. + * config/tc-z8k.c: Likewise. + +2009-12-09 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (arch_entry): Add len and skip. + (cpu_arch): Use STRING_COMMA_LEN. + (MESSAGE_TEMPLATE): New. + (show_arch): Likewise. + (md_show_usage): Use show_arch. + +2009-12-07 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/11037 + * expr.c (resolve_expression): Call symbol_same_p to check + if 2 symbols are the same. + + * symbols.c (symbol_same_p): New. + * symbols.h (symbol_same_p): Likewise. + +2009-12-02 Nick Clifton <nickc@redhat.com> + Richard Earnshaw <rearnsha@arm.com> + + PR gas/11013 + * config/tc-arm.c (do_t_simd2): New function. + (insns): Use do_t_simd2 for QADD, QDADD, QSUB and QDSUB. + +2009-11-30 Joseph Myers <joseph@codesourcery.com> + + * configure: Regenerate. + +2009-11-30 Nick Clifton <nickc@redhat.com> + + PR gas/11032 + * config/tc-arm.c (relax_adr): Cope with a frag with no symbol. + +2009-11-19 Jan Beulich <jbeulich@novell.com> + + * read.c (pseudo_set): Also call copy_symbol_attributes() for + undefined target symbol. + +2009-11-18 Sebastian Pop <sebastian.pop@amd.com> + + * config/tc-i386.c (cpu_arch): Remove cvt16. + (md_show_usage): Same. + * doc/c-i386.texi: Same. + +2009-11-18 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (arm_fpus): Add fpv4-sp-d16. + (aeabi_set_public_attributes): Correctly mark VFPv3xD. + +2009-11-18 Alan Modra <amodra@bigpond.net.au> + + * config/tc-ppc.c (md_assemble): Report error on invalid @tls operands + and opcode. + +2009-11-17 Sebastian Pop <sebastian.pop@amd.com> + Quentin Neill <quentin.neill@amd.com> + + * config/tc-i386.c (cpu_arch): Added .xop and .cvt16. + (build_vex_prefix): Handle xop08. + (md_assemble): Don't special case the constant 3 for insns using MODRM. + (build_modrm_byte): Handle vex2sources. + (md_show_usage): Add xop and cvt16. + * doc/c-i386.texi: Document fma4, xop, and cvt16. + +2009-11-17 Paul Brook <paul@codesourcery.com> + Daniel Jacobowitz <dan@codesourcery.com> + + * doc/c-arm.texi: Document .arch armv7e-m. + * config/tc-arm.c (arm_ext_v6_dsp, arm_ext_v7m): New. + (insns): Put Thumb versions of v5TExP instructions into + arm_ext_v5exp also. Move some Thumb variants from + arm_ext_v6_notm to arm_ext_v6_dsp. + (arm_archs): Add armv7e-m architecture. + (aeabi_set_public_attributes): Handle -march=armv7e-m. + +2009-11-16 Viktor Kutuzov <vkutuzov@accesssoftek.com> + + * config/tc-arm.c (parse_operands): Encode APSR_nzcv as r15. + (do_vmrs): New function. + (do_vmsr): New function. + (insns): Add vmrs and vmsr. + +2009-11-13 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (md_assemble): Check destination operand + for lockable instructions. + +2009-11-13 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (_i386_insn): Don't use bit field on + swap_operand. + +2009-11-12 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (LOCKREP_PREFIX): Removed. + (REP_PREFIX): New. + (LOCK_PREFIX): Likewise. + (PREFIX_GROUP): Likewise. + (REX_PREFIX): Updated. + (MAX_PREFIXES): Likewise. + (add_prefix): Updated. Return enum PREFIX_GROUP. + (md_assemble): Check for lock without a lockable instruction. + (parse_insn): Updated. + (output_insn): Likewise. + +2009-11-12 Nick Clifton <nickc@redhat.com> + + * po/id.po: Updated Indonesian translation. + +2009-11-11 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (build_modrm_byte): Don't set register + operand twice. + +2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com> + + * configure.in: Call ACX_LARGEFILE. Stop calling AC_SYS_LARGEFILE. + * aclocal.m4: Regenerate. + * configure: Regenerate. + +2009-11-10 Maxim Kuvyrkov <maxim@codesourcery.com> + + * config/m68k-parse.h (enum m68k_register): Add ACR[4-7], RGPIOBAR. + * config/tc-m68k.c (mcf5206_ctrl): Fix whitespace. + (mcf52223_ctrl): Remove non-existent registers. + (mcf54418): Define. + (mcf54455): Remove MBAR. + (m68k_cpus): Add lines for MCF5441x family. + (m68k_ip, init_table): Handle RGPIOBAR, ACR[4-7]. + +2009-11-06 H.J. Lu <hongjiu.lu@intel.com> + + * doc/c-i386.texi: Move .lwp. + +2009-11-06 Alan Modra <amodra@bigpond.net.au> + + * config/obj-elf.c (obj_elf_change_section): Remove FIXME from + comment. + +2009-11-05 Sebastian Pop <sebastian.pop@amd.com> + Quentin Neill <quentin.neill@amd.com> + + * config/tc-i386.c (cpu_arch): Add CPU_LWP_FLAGS. + (build_vex_prefix): Handle xop09 and xop0a. + (build_modrm_byte): Handle vexlwp. + (md_show_usage): Add lwp. + * doc/c-i386.texi (i386-LWP): New section. + +2009-11-04 DJ Delorie <dj@redhat.com> + + * config/rx-parse.y (MVTIPL): Update bit pattern. + (cpen): Remove. + +2009-11-04 Daniel Jacobowitz <dan@codesourcery.com> + Maxim Kuvyrkov <maxim@codesourcery.com> + + * config/tc-m68k.h (CF_DIFF_EXPR_OK): Define to 0 for uClinux. + (CFI_DIFF_LSDA_OK): Define. + * config/te-uclinux.h: New file. + * configure.tgt (m68k-uclinux): Define em. + * dw2gencfi.c (CFI_DIFF_LSDA_OK): New macro. + (dot_cfi_lsda, output_fde): Use instead of CFI_DIFF_EXPR_OK. + +2009-11-03 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (do_vfp_nsyn_mla_mls): Fix vmls encoding. + +2009-11-02 Paul Brook <paul@codesourcery.com> + + * doc/c-arm.texi: Document new -mfpu options. + * config/tc-arm.c (fpu_vfp_ext_v3xd, fpu_vfp_fp16, fpu_neon_ext_fma, + fpu_vfp_ext_fma): New. + (NEON_ENC_TAB): Add vfma, vfms, vfnma and vfnms. + (do_vfp_nsyn_fma_fms, do_neon_fmac): New functions. + (insns): Move double precision load/store. Split out double + precision VFPv3 instrucitons. Add VFPv4 instructions. + (arm_fpus): Add VFPv3-FP16, VFPv3xD and VFPv4 variants. + (aeabi_set_public_attributes): Set VFPv4 variants + +2009-11-02 Alan Modra <amodra@bigpond.net.au> + + * ecoff.c (ecoff_symbol_clone_hook): New function. + * ecoff.h (ecoff_symbol_clone_hook): Declare. + * obj.h (struct format_ops): Add symbol_clone_hook. + * config/obj-aout.c (aout_format_ops): Init new field. + * config/obj-coff.c (coff_format_ops): Likewise. + * config/obj-ecoff.c (ecoff_format_ops): Likewise. + * config/obj-elf.c (elf_format_ops): Likewise. + * config/obj-ecoff.h (obj_symbol_clone_hook): Define. + * config/obj-multi.h (obj_symbol_clone_hook): Define. + +2009-11-02 Alan Modra <amodra@bigpond.net.au> + + * messages.c (as_fatal): Apply 2001-01-15 change and followup + to second copy of function. + +2009-10-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * config/tc-hppa.c (pa_build_unwind_subspace): Replace start symbol + with local symbol. + +2009-10-29 Sebastian Pop <sebastian.pop@amd.com> + + * config/tc-i386.c (build_modrm_byte): Do not swap REG and + NDS operands for FMA4. + +2009-10-29 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (neon_tab_entry): Fix VNMLA/VNMLS opcodes. + +2009-10-29 Paul Brook <paul@codesourcery.com> + + * doc/c-arm.texi: Document ARM -mcpu=cortex-a5. + * config/arm/tc-arm.c (arm_cpu_option_table): Add cortex-a5. + +2009-10-29 Tristan Gingold <gingold@adacore.com> + + * config/tc-mep.c (md_pseudo_table): Remove dwarf2 debug pseudo + as they are already defined in obj-elf.c + * config/tc-m32c.c (md_pseudo_table): Ditto. + * config/tc-spu.c (md_pseudo_table): Ditto. + * config/tc-avr.c (md_pseudo_table): Ditto. + +2009-10-29 Alan Modra <amodra@bigpond.net.au> + + * doc/as.texinfo (Set): Delete incorrect HPPA para. + +2009-10-28 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (opcode_lookup): Allow VFP/NEON type suffixes + unconditionally. + +2009-10-28 Alan Modra <amodra@bigpond.net.au> + + PR gas/10856 + * expr.c (resolve_expression): Only add "left" value to O_symbol + expression when the symbol is undefined and different from the + original symbol. Simplify negative logic. + +2009-10-27 Tristan Gingold <gingold@adacore.com> + + * config/tc-avr.c (md_pseudo_table): Add dwarf2 debug pseudo. + * config/tc-avr.h (DWARF2_LINE_MIN_INSN_LENGTH): Define. + (DWARF2_ADDR_SIZE): Define. + +2009-10-27 Alan Modra <amodra@bigpond.net.au> + + PR gas/10850 + * listing.c (listing_flags): Delete. + * listing.h: Likewise. + * read.c (potable <lflags>): Call s_ignore. + +2009-10-26 Nick Clifton <nickc@redhat.com> + + * doc/as.texinfo: Add mention of RX port and inclusion of RX + documentation. + +2009-10-25 Arnold Metselaar <arnold.metselaar@planet.nl> + + * config/tc-z80.c (z80_start_line_hook): Fix parsing of 'equ' or + 'defl' in cases where the space between the keyword and the + expression has been scrubbed away. + Do not check whether a symbol is redefined with 'equ' here; + the function equals takes an argument indicating whether + redefinitions are allowed. + Only call LISTING_NEWLINE if needed, and then after the call to + bump_line_counters. + +2009-10-25 Maciej W. Rozycki <macro@linux-mips.org> + + * doc/as.texinfo (Overview): Move -mfix7000/-mno-fix7000 to + match the order elsewhere. Add -mfix-vr4120/-mno-fix-vr4120 and + -mfix-vr4130/-mno-fix-vr4130. + * doc/c-mips.texi (MIPS Opts): Correct -no-mfix-vr4120 to + -mno-fix-vr4120 and -no-mfix-vr4130 to -mno-fix-vr4130. + +2009-10-20 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/10775 + * doc/c-i386.texi: Mention movabs. + +2009-10-19 H.J. Lu <hongjiu.lu@intel.com> + + * doc/c-i386.texi: Don't mention the 8 extra control registers + for x86-64. + +2009-10-19 Doug Evans <dje@sebabeach.org> + + * config/tc-lm32.c (md_begin): Add missing call to bfd_set_arch_mach. + + * config/tc-xc16x.c (md_cgen_lookup_reloc): Ensure fix_size is set + correctly for all 16 bit relocs. Return BFD_RELOC_NONE if reloc + isn't recognized, not BFD_RELOC_XC16X_SOF. + +2009-10-18 Alan Modra <amodra@bigpond.net.au> + + * as.h (know): Don't define as empty. + * config/tc-arm.c (make_mapping_symbol): Revert last patch. + +2009-10-18 Matthias Klose <doko@ubuntu.com> + + * config/tc-arm.c (make_mapping_symbol): Add braces to avoid empty body + in release builds. + +2009-10-16 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/10775 + * doc/c-i386.texi: Mention the 8 extra control registers for + x86-64. + Mention .code64 directive. + +2009-10-15 Alan Modra <amodra@bigpond.net.au> + + PR gas/1491 + * macro.c: Delete unnecessary function declarations. + (buffer_and_nest): Support multiple labels per line for + LABELS_WITHOUT_COLONS targets if the labels do have colons. + (free_macro): Move so that we don't need forward declaration. + * read.c (read_a_source_file): Take a copy of macro expansion line + before we trim labels. + * listing.c (listing_newline): Adjust stdin line save for + input_line_pointer still at start of line. + +2009-10-13 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/10766 + * config/tc-i386.c (build_modrm_byte): Declare exp earlier. + +2009-10-13 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/10740 + * config/tc-i386-intel.c (i386_intel_operand): Handle call + and jump with 2 immediate operands. + + * config/tc-i386.c (i386_finalize_immediate): Don't generate + error message if operand string is NULL. + +2009-10-013 Vincent Riviere <vincent.riviere@freesbee.fr> + + PR gas/3041 + * config/tc-m68k.c (tc_gen_reloc): Fix addend for relocations + located in data section an referencing a weak symbol. + +2009-10-07 Nathan Sidwell <nathan@codesourcery.com> + + * config/tc-arm.c (mapping_state, mapping_state_2): Make dummy + versions slightly more than nothing. + + * doc/c-arm.texi (ARM Options): Correctly name the two mapcs options. + +2009-10-07 Alan Modra <amodra@bigpond.net.au> + H.J. Lu <hongjiu.lu@intel.com> + + PR gas/2117 + * config/tc-ia64.c (parse_operand): Use expression rather than + expression_and_evalute. + (parse_operand_and_eval): New function. Replace all uses of + parse_operand outside of parse_operands with this function. + (parse_operans_maybe_eval): New function. Replace uses of + parse_operand in parse_operands, except for the dummy, with + this function. + +2009-10-06 Alan Modra <amodra@bigpond.net.au> + + PR gas/10704 + * symbols.c (snapshot_symbol): Revert 2006-01-09 patch for PR2117. + +2009-10-06 Alan Modra <amodra@bigpond.net.au> + + * read.c (s_reloc): Don't use expression_and_evaluate. + +2009-10-02 Peter Bergner <bergner@vnet.ibm.com> + + * config/tc-ppc.c (md_show_usage): Document -m476. + * doc/c-ppc.texi (PowerPC-Opts): Document -m476. + +2009-10-02 Jakub Jelinek <jakub@redhat.com> + + * dw2gencfi.c: Include dwarf2dbg.h. + (DWARF2_FORMAT): Define if not defined. + (dot_cfi_sections): New function. + (cfi_pseudo_table): Handle .cfi_sections. + (CFI_EMIT_eh_frame, CFI_EMIT_debug_frame): Define. + (cfi_sections): New variable. + (output_cie, output_fde, select_cie_for_fde): Add eh_frame + argument, add supporting for outputting .debug_frame + section. + (cfi_change_reg_numbers): New function or macro. + (cfi_finish): Only emit .eh_frame if + cfi_sections & CFI_EMIT_eh_frame. Emit .debug_frame if + cfi_sections & CFI_EMIT_debug_frame. + * config/tc-ppc.h (md_reg_eh_frame_to_debug_frame): Define. + * doc/as.texinfo (CFI directives): Document .cfi_sections. + +2009-10-01 Peter Bergner <bergner@vnet.ibm.com> + + * config/tc-ppc.c (md_show_usage): Rename "ppca2" to "a2". + * doc/c-ppc.texi (PowerPC-Opts): Likewise. + +2009-10-01 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (x86_cons): Reformat. + +2009-09-29 DJ Delorie <dj@redhat.com> + + * Makefile.am: Add RX target. + * configure.in: Likewise. + * configure.tgt: Likewise. + * read.c (do_repeat_with_expander): New function. + * read.h: Provide a prototype for do_repeat_with_expander. + * doc/Makefile.am: Add RX target documentation. + * doc/all.texi: Likewise. + * doc/as.texinfo: Likewise. + * Makefile.in: Regenerate. + * NEWS: Mention support for RX architecture. + * configure: Regenerate. + * doc/Makefile.in: Regenerate. + * config/rx-defs.h: New file. + * config/rx-parse.y: New file. + * config/tc-rx.h: New file. + * config/tc-rx.c: New file. + * doc/c-rx.texi: New file. + +2009-09-25 Martin Thuresson <martint@google.com> + + Update sources to make alpha, arc and arm targets compile cleanly + with -Wc++-compat: + * config/tc-alpha.c: Add casts. + (extended_bfd_reloc_code_real_type): New type. Used to avoid + enumeration conversion warnings. + (struct alpha_fixup, void assemble_insn, assemble_insn) + (assemble_tokens): Use new type. + * ecoff.c: Add casts. (mark_stabs): Use enumeration names. + * config/obj-elf.c: Add cast + * config/tc-arc.c: Add casts. + * config/obj-aout.h (text_section,data_section,bss_section): + Make extern. + * config/obj-elf.c: Add cast. + * config/tc-arm.c: Add casts. + (X, TxCE, TxCE, TxC3, TxC3w, TxCM_, TxCM, TUE, TUF, CE, CL, cCE) + (cCL, C3E, xCM_, nUF, nCE_tag): Change input format to avoid the + need for keywords as arguments. + +2009-09-25 Nick Hudson <nick.hudson@gmx.co.uk> + + * doc/c-mips.texi: Fix the singlefloat and doublefloat kindex + entries + +2009-09-24 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (build_vex_prefix): Check vex == 2 instead + of vex256. + +2009-09-24 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/10677 + * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Return true + for BFD_RELOC_X86_64_GOTPCREL. + +2009-09-23 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Don't check + BFD_RELOC_386_GOT32. + +2009-09-23 Sterling Augustine <sterling@jaw.hq.tensilica.com> + + * config/tc-xtensa.c (md_apply_fix): Remove check for constant with + difference of of two symbols. + (xtensa_fix_adjustable): Likewise. + +2009-09-23 Tim E. Sneddon <tsneddon@kednos.com> + + * configure.com: Fix a typo. + +2009-09-23 Alan Modra <amodra@bigpond.net.au> + + * symbols.c (define_sym_at_dot): New function, extracted from.. + (colon): ..here. Define error case cloned symbol. + +2009-09-21 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c: Remove white spaces. + +2009-09-21 Ben Elliston <bje@au.ibm.com> + Peter Bergner <bergner@vnet.ibm.com> + + * config/tc-ppc.c (md_show_usage): Document -mpcca2. + * doc/c-ppc.texi (PowerPC-Opts): Document -mppca2. + +2009-09-18 Nick Clifton <nickc@redhat.com> + + * po/es.po: Updated Spanish translation. + +2009-09-15 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (offset_in_range): Sign extend offset only + if BFD64 is defined. + +2009-09-15 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386-intel.c (i386_intel_operand): Initialize + intel_state.has_offset to 0. + +2009-09-15 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (offset_in_range): Sign extend offset only + for 32bit address mode. + +2009-09-15 Tristan Gingold <gingold@adacore.com> + + * makefile.vms (OBJS): Compile te-vms.c only on Itanium. + +2009-09-14 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/10637 + * config/tc-i386-intel.c (intel_state): Add has_offset. + (i386_intel_simplify): Set intel_state.has_offset to 1 for + O_offset. + (i386_intel_operand): Turn on intel_state.is_mem if + intel_state.has_offset is 0 and the last char is ']'. + +2009-09-14 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/10636 + * config/tc-i386.c (optimize_disp): Set disp32 for 64bit only + if there is an ADDR_PREFIX. + (i386_finalize_displacement): Repor error if signed 32bit + displacement is out of range. + +2009-09-13 Richard Sandiford <rdsandiford@googlemail.com> + + * config/tc-mips.c (MIPS_JALR_HINT_P): Take an expr argument. + Require the target to be a bare symbol on targets with + in-place addends. + (macro_build_jalr): Update accordingly. + (mips_fix_adjustable): Don't reduce R_MIPS_JALRs on targets + with in-place addends. + +2009-09-11 Nick Clifton <nickc@redhat.com> + + * po/gas.pot: Updated by the Translation project. + +2009-09-11 Martin Thuresson <martint@google.com> + + * as.c (main): Call dwarf2_init. + * config/obj-elf.c (struct group_list): New field. + (build_group_lists): Use hash lookup. + (free_section_idx): New function. + (elf_frob_file): Adjust. + * dwarf2dbg.c (all_segs_hash, last_seg_ptr): New variables. + (get_line_subseg): Adjust. + (dwarf2_init): New function. + * dwarf2dbg.h (dwarf2_init): New declaration. + +2009-09-11 Martin Thuresson <martint@google.com> + + Updated sources to compile cleanly with -Wc++-compat: + * app.c: Add casts. + * as.c: Add casts. + * config/obj-elf.c: Add casts. + (obj_elf_type): Rename variable typename to type_name. + * config/tc-i386-intel.c (i386_operators): Rename member operator to op. + * config/tc-i386.c: Add casts. + (check_cpu_arch_compatible): Rename argument new to new_flag. + (gotrel): Update variable to use enum name instead of integer value. + * dw2gencfi.c: Add casts. + (struct cfi_escape_data): Move to top level. + * dwarf2dbg.c: Add cast. + * dwarf2dbg.h (dwarf2_loc_directive_seen): Make variable extern. + * ehopt.c Add casts. + (enum frame_state): Move to top level. + * expr.c (operatorf): Rename function operator to operatorf. + (operand): Rename variable operator to op. + (expr_set_rank): Rename argument operator to op. + * frags.c: Add cast. + * hash.c: Add casts. + * input-scrub.c: Add cast. + * listing.c: Add casts. + (enum edict_enum): Move to top level. + * macro.c: Add casts. + * macro.h (enum formal_type): Move to top level. + * read.c: Add casts. + (s_include): Rename variable try to try_file. + * remap.c: Add cast. + * stabs.c: Add casts. + * subsegs.c: Add casts. + * symbols.c: Add casts. + * write.c: Add casts. + +2009-09-11 Hans-Peter Nilsson <hp@bitrange.com> + + PR gas/10623 + * config/tc-mmix.c (md_assemble) <case mmix_operands_xyz_opt>: + Allow register operands for SWYM as for TRIP and TRAP. Correct + operand handling and error checking. Never emit + BFD_RELOC_MMIX_REG_OR_BYTE for operands to these insns. + +2009-09-10 Alan Modra <amodra@bigpond.net.au> + + * config/tc-d10v.c: Include dwarf2dbg.h. + (write_long, write_1_short, write_2_short): Call dwarf2_emit_insn. + (d10v_frob_label): New function. + * config/tc-d10v.h (d10v_frob_label): Declare. + (tc_frob_label): Define as d10v_frob_label. + +2009-09-10 Alan Modra <amodra@bigpond.net.au> + + * config/tc-d30v.c (d30v_frob_label): Call dwarf2_emit_label. + * config/tc-frv.c (frv_frob_label): Likewise. + +2009-09-09 Alan Modra <amodra@bigpond.net.au> + + * config/obj-coff.h (USE_UNIQUE): Don't define. + * config/obj-coff.c (weak_uniquify): Use an_external_name when TE_PE. + * symbols.c (an_external_name): Define when TE_PE. + (S_SET_EXTERNAL): Assign an_external_name when TE_PE. + * tc.h (an_external_name): Declare when TE_PE. + + * config/tc-i386.c (i386_target_format): Avoid duplicate case label. + +2009-09-08 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * configure.tgt (sh*-*-netbsdelf*): Set endian according to cpu. + +2009-09-08 Alan Modra <amodra@bigpond.net.au> + + * read.c (emit_expr_fix): Handle size 3. + * config/tc-avr.c (md_assemble): Call dwarf2_emit_insn. + * config/tc-d30v.c (write_long, write_1_short, + write_2_short, md_assemble): Likewise. + * config/tc-dlx.c (md_assemble): Likewise. + * config/tc-i860.c (md_assemble): Likewise. + * config/tc-mn10200.c (md_assemble): Likewise. + * config/tc-pj.c (md_assemble): Likewise. + * config/tc-vax.c (md_assemble): Likewise. + +2009-09-07 Daniel Gutson <dgutson@codesourcery.com> + + * config/tc-arm.c (arm_cpus): cortex-r4f CPU added. + * doc/c-arm.texi: cortex-r4f CPU added. + +2009-09-07 Tristan Gingold <gingold@adacore.com> + + * po/POTFILES.in: Regenerate. + * po/gas.pot: Regenerate. + + * Makefile.am (TARG_ENV_CFILES): New variable. Set to te-vms.c + (POTFILES): Add $(TARG_ENV_CFILES) in definition. + (EXTRA_as_new_SOURCES): Ditto. + * Makefile: Regenerate. + * acinclude.m4 (BFD_HAVE_TIME_TYPE_MEMBER, + BFD_HAVE_SYS_STAT_TYPE_MEMBER): New macro created from bfd/bfd.m4. + * configure.in: Add Tests for tm_gmtoff, st_mtim.tv_sec and + st_mtim.tv_nsec (from bfd/configure.in). Check for time.h and + sys/stat.h headers. + Add te-vms.o in extra_objects if te_file is vms. + * configure: Regenerate. + * config.in: Regenerate. + * config/te-vms.c: New file, from bfd/vmsutil.c + (vms_dwarf2_file_time_name, vms_dwarf2_file_size_name) + (vms_dwarf2_file_name): New functions. + (vms_file_stats_name): Make it static, add a dirname parameter to + locally create the full pathname. + * config/te-vms.h: Add a copyright header. + Declare the above functions. + (DWARF2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILE_NAME): Use + the above functions in the definition. + * makefile.vms (OBJS): Add te-vms.obj. + (te-vms.obj): Create a specific target. + * configure.com: Create targ-env.h using a per target value. + Compile te-vms.c for ia64. + +2009-09-05 Jie Zhang <jie.zhang@analog.com> + + * doc/as.texinfo: Document that Blackfin GAS does not + accept SYMBOL = VALUE. + +2009-09-05 Martin Thuresson <martin@mtme.org> + + * config/tc-arc.c (struct syntax_classes): Rename member class + to s_class. (arc_extinst): Rename variable class to + s_class. Update code to use renamed members. + * config/tc-mips.c (insn_uses_reg): Rename argument class to + regclass. + * config/tc-ppc.c (ppc_csect, ppc_change_csect, ppc_function) + (ppc_tc, ppc_is_toc_sym, ppc_symbol_new_hook, ppc_frob_label) + (ppc_fix_adjustable, md_apply_fix): Update code to use renamed + members. + * config/tc-ppc.h (struct ppc_tc_sy): Change name of member + from class to symbol_class. (OBJ_COPY_SYMBOL_ATTRIBUTES): Update + code to use renamed members. + * config/tc-score.c (s3_adjust_paritybit): Rename argument + class to i_class. + * config/tc-score7.c (s7_adjust_paritybit): Rename argument + class to i_class. + +2009-09-04 Tristan Gingold <gingold@adacore.com> + + * NEWS: Add marker for 2.20. + +2009-09-04 Jie Zhang <jie.zhang@analog.com> + + * config/bfin-parse.y (asm_1): Implement HLT instruction. + Fix comments for DBGA, DBGAH and DBGAL. + * config/tc-bfin.c (bfin_gen_pseudodbg_assert): Change according + to the new encoding of DBGA, DBGAH, and DBGAL. + +2009-09-04 Jie Zhang <jie.zhang@analog.com> + + * doc/all.texi: Replace BFIN with Blackfin. + * doc/as.texinfo: Likewise. + * doc/c-bfin.texi: Likewise. + * doc/asconfig.texi: Likewise. + + * doc/c-bfin.texi: Update -mcpu= option with bf512, bf514, + bf516 and bf518. + +2009-09-04 Jie Zhang <jie.zhang@analog.com> + + * Makefile.am (bfin-parse.o): Remove bfin-parse.h from + the prerequisite. Add $(srcdir)/config/bfin-aux.h to the + prerequisite. + (bfin-defs.h, $(srcdir)/config/bfin-defs.h): Rename to ... + (bfin-parse.h, $(srcdir)/config/bfin-parse.h): ... these. + (bfin-lex.o): Add bfin-parse.h and $(srcdir)/config/bfin-defs.h + to the prerequisite. + * Makefile.in: Regenerate. + +2009-09-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * Makefile.am (itbl-lex.o): Depend on itbl-parse.h. + (itbl-ops.o, itbl-tops.o): Likewise. + (itbl-parse.h): Use separate rule. + * Makefile.in: Regenerate. + +2009-09-03 Jie Zhang <jie.zhang@analog.com> + + * config/tc-bfin.c (md_parse_option): Call as_fatal for bad + -mcpu= option. + +2009-09-03 Jie Zhang <jie.zhang@analog.com> + + * config/bfin-lex.l: Remove V as STATUS_REG. + +2009-09-03 Jie Zhang <jie.zhang@analog.com> + + * config/bfin-parse.y: Remove trailing whitespace. + (ccstat): Indent. + * config/tc-bfin.c (struct bfin_reg_entry): Remove. + (bfin_reg_info[]): Remove. + +2009-09-03 Jie Zhang <jie.zhang@analog.com> + + * config/bfin-defs.h (F_REG_ALL): Remove macro. + (F_REG_HIGH): Redefine. + (F_REG_NONE): New macro. + (F_REG_LOW): New macro. + (REG_CLASS): Enclose macro argument in parentheses when used. + (REG_EVEN): Likewise. + (IS_H): Use flags. + (IS_HCOMPL): Use flags. + * config/bfin-lex.l (SP.L, SP.H, FP.L, FP.H): Set flags. + (parse_reg): Set flags. + (parse_halfreg): Set flags. + +2009-09-03 Jie Zhang <jie.zhang@analog.com> + + * config/bfin-parse.y (gen_multi_instr_1): Check anomaly + 05000074 only when both slot1 and slot2 are filled. + +2009-09-03 Jie Zhang <jie.zhang@analog.com> + + * config/tc-bfin.c (md_assemble): Bump line counters if there is + EOL in the instruction. + +2009-09-03 Jie Zhang <jie.zhang@analog.com> + + * config/bfin-defs.h (IS_GENREG): Define. + (IS_DAGREG): Define. + (IS_SYSREG): Define. + * config/bfin-parse.y (asm_1): Check illegal register move + instructions. + +2009-09-03 Jie Zhang <jie.zhang@analog.com> + + * config/bfin-parse.y (asm_1): Fix a typo. + +2009-09-03 Jie Zhang <jie.zhang@analog.com> + + * config/bfin-parse.y (asm_1): Add LOOP_BEGIN and LOOP_END. + * config/tc-bfin.c (bfin_start_line_hook): Remove. + (bfin_loop_beginend): New. + * config/tc-bfin.h (bfin_start_line_hook): Don't declare. + (md_start_line_hook): Don't define. + * config/bfin-aux.h (bfin_loop_beginend): Declare. + +2009-09-03 Tristan Gingold <gingold@adacore.com> + + * config/tc-ia64.c (ia64_vms_note): Use lbasename instead of basename. + Call xstrdup on the result and free the buffer after use. + +2009-09-03 Tristan Gingold <gingold@adacore.com> + + * as.h (__PRETTY_FUNCTION__): Use the same definition as bfd/libbfd.h. + +2009-09-02 Jie Zhang <jie.zhang@analog.com> + + * config/bfin-parse.y (value_match): Use int instead of long. + + From Michael Frysinger <michael.frysinger@analog.com> + * config/bfin-defs.h (Expr_Node_Value): Declare the i_value + member as long long. + +2009-09-02 Jie Zhang <jie.zhang@analog.com> + + From Bernd Schmidt <bernd.schmidt@analog.com> + * config/bfin-parse.y (asm_1): Clean up and unify error handling + for load and store insns. + (neg_value): Delete function. + +2009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * Makefile.am (m68k-parse.o, bfin-lex.o, itbl-lex.o, itbl-parse.o): + Supply correct source file name for generated files which may be + in $(srcdir). + * Makefile.in: Regenerate. + +2009-09-01 H.J. Lu <hongjiu.lu@intel.com> + + * version.c (parse_args): Change to "Copyright 2009". + +2009-09-01 Tristan Gingold <gingold@adacore.com> + + * makefile.vms: Adjust include pathes. Remove useless vaxctrl + library. + * configure.com: Ported to Itanium VMS. Create build.com DCL script. + Make edit silent. + +2009-09-01 Jie Zhang <jie.zhang@analog.com> + + * config/bfin-parse.y (asm_1): Only PREG and DREG are allowed + in comparison. + +2009-09-01 Jie Zhang <jie.zhang@analog.com> + + 2007-09-28 Bernd Schmidt <bernd.schmidt@analog.com> + * config/tc-bfin.c (bfin_fix_adjustable): Partially revert the + 2007-08-23 change; BFD_RELOC_BFIN_GOT is not adjustable. + + 2007-08-23 Jie Zhang <jie.zhang@analog.com> + * config/tc-bfin.c (bfin_fix_adjustable): Adjust + BFD_RELOC_BFIN_GOT, BFD_RELOC_BFIN_GOT17M4 and + BFD_RELOC_BFIN_FUNCDESC_GOT17M4. + +2009-09-01 Jie Zhang <jie.zhang@analog.com> + + * read.c (TC_START_LABEL): Add a new argument. + (read_a_source_file): Pass the beginning of the symbol through + the new argument of TC_START_LABEL. + * config/tc-arm.h (TC_START_LABEL): Add a new argument. + * config/tc-bfin.c (bfin_start_label): Only search '(' and '[' + from the beginning of the symbol. + * config/tc-bfin.h (TC_START_LABEL): Add the new argument. + * config/tc-d30v.h (TC_START_LABEL): Likewise. + * config/tc-fr30.h (TC_START_LABEL): Likewise. + * config/tc-m32c.h (TC_START_LABEL): Likewise. + * config/tc-m32r.h (TC_START_LABEL): Likewise. + * config/tc-mep.h (TC_START_LABEL): Likewise. + +2009-08-31 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/10570 + * write.c (write_object_file): Revert the accidental change + made in revision 1.124 on 2009-08-17. + +2009-08-31 Jan Beulich <jbeulich@novell.com> + + * config/obj-elf.c (obj_elf_change_section): Set default type + by calling bfd_elf_get_default_section_type. + +2009-08-31 Jie Zhang <jie.zhang@analog.com> + + * config/bfin-aux.h: Change format from DOS to UNIX. + +2009-08-29 Martin Thuresson <martin@mtme.org> + + * config/tc-arm.c (struct asm_cond, struct asm_psr, struct + asm_barrier_opt): Change member template to + template_name. (md_begin): Update code to reflect new member + names. + * config/tc-i386.c (struct templates, struct _i386_insn) + (match_template, cpu_flags_match, match_reg_size, match_mem_size) + (operand_size_match, md_begin, i386_print_statistics, pi) + (build_vex_prefix, md_assemble, parse_insn, optimize_imm) + (optimize_disp): Updated code to use new names. (parse_insn): + Added casts. + * config/tc-ia64.c (dot_template, emit_one_bundle): Updated + code to use new names. + * config/tc-score.c (struct s3_asm_opcode): Renamed member + template to template_name. (s3_parse_16_32_inst, s3_parse_48_inst, + s3_do_macro_ldst_label, s3_build_score_ops_hsh): Update code to + use new names. + * config/tc-score7.c (struct s7_asm_opcode): Renamed member + template to template_name. (s7_parse_16_32_inst, + s7_do_macro_ldst_label, s7_build_score_ops_hsh): Update code to + use new names. + * config/tc-tic30.c (md_begin, struct tic30_insn) + (md_assemble): Update code to use new names. + * config/tc-tic54x.c (struct _tic54x_insn, md_begin) + (optimize_insn, tic54x_parse_insn, next_line_shows_parallel): + Update code to use new names. + * config/tc-arm.c (insert_reg_alias): Rename variable new to + new_reg. + * config/tc-dlx.c (parse_operand): Rename variable new to + new_pos. + * config/tc-ia64.c (ia64_gen_real_reloc_type): Rename variable + new to newr. + * config/tc-mcore.c (parse_exp, parse_imm): Rename variable + new to new_pointer. + * config/tc-microblaze.c (parse_exp, parse_imm, check_got): + Change name from new to new_pointer. + * config/tc-or32.c (parse_operand): Rename variable new to + new_pointer. + * config/tc-pdp11.c (md_assemble): Rename variable new to + new_pointer. + * config/tc-pj.c (alias): Change argument new to new_name. + * config/tc-score.c (s3_build_score_ops_hsh): Rename variable + new to new_opcode. (s3_build_dependency_insn_hsh) Rename variable + new to new_i2n. (s3_convert): Rename variables old and new to + r_old and r_new. + * config/tc-score7.c (s7_build_score_ops_hsh): Rename variable + new to new_opcode. (s7_build_dependency_insn_hsh): Rename variable + new to new_i2d. (s7_b32_relax_to_b16, s7_convert_frag): Rename + variables old and new to r_old and r_new. + * config/tc-sh.c (parse_exp): Rename variable new to + new_pointer. + * config/tc-sh64.c (shmedia_parse_exp): Rename variable new to + new_pointer. + * config/tc-tic4x.c (tic4x_operand_parse): Rename variable new + to new_pointer. + * config/tc-z8k.c (parse_exp): Rename variable new to + new_pointer. + * listing.c (listing_newline): Rename variable new to new_i. + +2009-08-29 Matt Fleming <matt@console-pimps.org> + + * config/tc-sh.c (md_apply_fix): Extend sign of the offset value + for 64-bit host. + +2009-08-28 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (cpu_arch): Use PROCESSOR_L1OM on "l1om". + (i386_align_code): Handle PROCESSOR_L1OM. + (check_cpu_arch_compatible): Fix a typo in comments. + (set_cpu_arch): Check cpu_arch_isa instead of + cpu_arch_isa_flags.bitfield.cpul1om. + (i386_mach): Likewise. + (i386_target_format): Likewise. + + * config/tc-i386.h (processor_type): Add PROCESSOR_L1OM. + +2009-08-26 DJ Delorie <dj@redhat.com> + + * config/tc-mep.c (md_pcrel_from_section): Handle any other + forced-relocation cases. + +2009-08-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * Makefile.am (TARGET_CPU_CFILES): Add config/tc-moxie.c. + * config/tc-moxie.c (md_assemble): Fix typos in strings. Fix + syntax error. + * Makefile.in: Regenerate. + * po/POTFILES.in: Likewise. + * po/gas.pot: Likewise. + +2009-08-26 Nick Clifton <nickc@redhat.com> + + * config/obj-coff-seh.c (seh_arm_write_pdata): Test for + seh_ctx_root being NULL. + +2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * Makefile.am (am__skiplex, am__skipyacc): New. + * Makefile.in: Regenerate. + +2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * Makefile.am (YFLAGS): Remove, not needed any more. + (AM_CPPFLAGS): Renamed from ... + (INCLUDES): ... this. + * Makefile.in: Regenerate. + + * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.8 cygnus, add 1.11, + foreign and no-dist. + (all): Remove now-unneeded dependency upon info. + (DIST_SUBDIRS, MKDEP, DEP_INCLUDES, DEP_FLAGS, CLEANFILES) + (DEP_FILE_DEPS): Remove variables. + (OBJ_FORMAT_CFILES): Add config/obj-multi.c. + (OBJ_FORMAT_HFILES): Add config/obj-multi.h. + ($(OBJS), ecoff.o): Remove now-unneeded manual dependencies. + ($(TARG_CPU_O), $(ATOF_TARG_O), obj-aout.o, obj-coff.o obj-ecoff.o) + (obj-elf.o obj-evax.o, obj-fdpicelf.o, obj-multi.o, obj-som.o) + (e-mipself.o, e-mipsecoff.o, e-i386aout.o, e-i386coff.o, e-i386elf.o) + (e-crisaout.o, e-criself.o, tc-i386.o, xtensa-relax.o): Remove + now-unneeded rules. + (EXTRA_as_new_SOURCES): Add $(CFILES), $(HFILES), $(TARGET_CPU_CFILES), + $(TARGET_CPU_HFILES), $(OBJ_FORMAT_CFILES), $(OBJ_FORMAT_HFILES), + $(CONFIG_ATOF_CFILES), $(MULTI_CFILES), so their dependency fragments + are picked up in the Makefile. + (itbl-lex.c, itbl-ops.o): Remove manual dependencies. + (m68k-parse.o, bfin-lex.o, itbl-lex.o, itbl-parse.o, itbl-tops.o) + (itbl-test.o): Rewrite using automake-style dependency + tracking rules; only list the dependency upon the primary source + file, but no included headers. + (DEP, DEP1, DEPTC, DEPOBJ, DEP2, dep.sed, dep, dep-in, dep-am): + Remove. + (mkdep section): Remove. + * Makefile.in: Regenerate. + * po/POTFILES.in, po/gas.pot: Regenerate. + + * Makefile.am (install-pdf, install-pdf-recursive, install-html) + (install-html-recursive): Remove. + * Makefile.in: Regenerate. + * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am) + (html__strip_dir, install-html, install-html-am): Remove. + * doc/Makefile.in: Regenerate. + + * Makefile.in: Regenerate. + * aclocal.m4: Likewise. + * config.in: Likewise. + * configure: Likewise. + * doc/Makefile.in: Likewise. + +2009-08-21 Sterling Augustine <sterling@jaw.hq.tensilica.com> + + * config/tc-xtensa.c (config_max_slots): New global variable. + (md_begin): Set config_max_slots. + (total_frag_text_expansion): Use config_max_slots instead of + MAX_SLOTS. + (xg_init_vinsn): Likewise. + (xg_clear_vinsn): Likewise. + (xg_free_vinsn): Likewise. + +2009-08-20 Sterling Augustine <sterling@jaw.hq.tensilica.com> + + * config/tc-xtensa.c (xg_copy_vinsn): New function. + (finish_vinsn): Call xg_copy_vinsn. + +2009-08-19 Sterling Augustine <sterling@tensilica.com> + + * config/tc-xtensa.h (xtensa_frag_data): Rename unused field fr_prev + to no_transform_end. + * config/tc-xtensa.c (xtensa_mark_difference_of_two_symbols): Set + and use no_transform_end. + +2009-08-18 Kai Tietz <kai.tietz@onevision.com> + + * config/obj-coff-seh.c: Add copyright notice. + * config/obj-coff-seh.h: Add copyright notice. + Add x64 specific macros from coff/pe.h header. + +2009-08-18 Sterling Augustine <sterling@tensilica.com> + + * config/tc-xtensa.c (xtensa_create_xproperty_segments): Use + sizeof instead of hard-coded value. + (add_xt_block_frags): Remove unused local variable. + (frag_flags_to_number): Change return type to flagword. Remove + unused local variable. + +2009-08-17 Sterling Augustine <sterling@tensilica.com> + + * config/tc-xtensa.c (xtensa_frob_label): move call to + do_align_targets to set frag_type only. + +2009-08-17 Kai Tietz <kai.tietz@onevision.com> + + * config/obj-coff-seh.c: New file. + * config/obj-coff-seh.h: Likewise. + * config/obj-coff.c (obj-coff-seh.c): Add include. + (coff_pseudo_table): Add new .seh... commands. + * config/obj-coff.h (obj_coff_seh_do_final): Add new + function prototype. + (obj_coff_generate_pdata): New obj-coff hook. + * write.c (size_seg): Avoid sizing of already sized + sections. + (write_object_file): Call conditional hook + objc_coff_generate_pdata. + * Makefile.am: Add dependencies for new files. + * Makefile.in: Regenerated. + +2009-08-17 Nick Clifton <nickc@redhat.com> + + * config/tc-microblaze.c: Include safe-ctype.h instad of ctype.h. + (parse_reg): Use safe-ctype.h macros. + (parse_exp): Likewise. + (md_assemble): Likewise. + +2009-08-11 DJ Delorie <dj@redhat.com> + + * config/tc-mep.c (md_estimate_size_before_relax): Handle weak + symbols correctly. + (md_convert_frag): Likewise. + (md_pcrel_from_section): Likewise. + (mep_force_relocation): Likewise. + +2009-08-11 Bernd Schmidt <bernd.schmidt@analog.com> + + * config/bfin-parse.y (gen_multi_instr_1): New function. + (asm): Use it instead of bfin_gen_multi_instr. + (error): Add a format string when calling as_bad. + * config/bfin-defs.h (insn_regmask): Declare. + * config/tc-bfin.c (DREG_MASK, DREGH_MASK, DREGL_MASK, IREG_MASK): New + macros. + (decode_ProgCtrl_0, decode_LDSTpmod_0, decode_dagMODim_0, + decode_dagMODik_0, decode_dspLDST_0, decode_LDST_0, decode_LDSTiiFP_0, + decode_LDSTii_0, decode_dsp32mac_0, decode_dsp32mult_0, + decode_dsp32alu_0, decode_dsp32shift_0, decode_dsp32shitimm_0, + insn_regmask): New functions. + + From Jie Zhang <jie.zhang@analog.com> + * config/tc-bfin.h (bfin_anomaly_checks): Declare. + (AC_05000074): Define. + (ENABLE_AC_05000074): Define. + * config/tc-bfin.c (enum bfin_cpu_type): New. + (bfin_cpu_t): Typedef. + (bfin_cpu_type): Define. + (bfin_si_revision): Define. + (bfin_anomaly_checks): Define. + (struct bfin_cpu): New. + (bfin_cpus[]): New. (struct bfin_cpu_isa): Define. + (bfin_isa): New global variable. + (OPTION_MCPU): Define. + (md_longopts[]): Add -mcpu option. + (md_parse_option): Deal with -mcpu option and initialize + bfin_anomaly_checks. + * doc/c-bfin.texi: Rename BFIN to Blackfin throughout. Document + -mcpu option. + * config/bfin-parse.y (gen_multi_instr_1): Check anomaly + 05000074. + +2009-08-11 Mike Frysinger <vapier@gentoo.org> + + * config/bfin-parse.y (binary): Change "compiler" to "assembler". + (unary): Likewise. + +2009-08-11 Nick Clifton <nickc@redhat.com> + + PR 10443 + * config/tc-arm.c (do_t_mov_cmp): Do not silently ignore shifted + operands. + +2009-08-10 Jan Kratochvil <jan.kratochvil@redhat.com> + + Fix compilation of i386-*-go32. + * config/tc-i386.c (i386_target_format <TE_GO32>): New. + (i386_target_format <OBJ_MAYBE_COFF>): Compile only if !TE_GO32. + * config/te-go32.h (TARGET_FORMAT): Move the definition ... + * config/tc-i386.h <!i386_target_format>: ... here. + +2009-08-10 Daniel Gutson <dgutson@codesourcery.com> + + PR gas/10479 + * config/tc-arm.c (do_t_add_sub_w): Fixed constraints. + +2009-08-07 Daniel Jacobowitz <dan@codesourcery.com> + + * config/tc-arm.c (marked_pr_dependency, mapstate): Delete global + variables. + (mapping_state): Use the section's mapstate. + (mapping_state_2): Likewise. Skip special sections. + (s_arm_unwind_fnend): Use the section's marked_pr_dependency. + (arm_elf_change_section): Do not set deleted globals. + * config/tc-arm.h (struct arm_segment_info_type): Document + marked_pr_dependency. + +2009-08-07 Michael Eager <eager@eagercon.com> + + * NEWS: Mention MicroBlaze support. + +2009-08-06 Michael Eager <eager@eagercon.com> + + * Makefile.am: add microblaze to CPU_TYPES, config/tc-microblaze.c to + TARGET_CPU_CFILES, config/tc-microblaze.h to TARGET_CPU_HFILES, add + DEP_microblaze_elf target. + * Makefile.in: Regenerate. + * config/tc-microblaze.c: Add MicroBlaze assembler. + * config/tc-microblaze.h: Add header for tc-microblaze.c. + * configure.in: Add microblaze target. + * configure: Regenerate. + * configure.tgt: Same. + * doc/Makefile.am: Add c-microblaze.texi to CPU_DOCS. + * doc/Makefile.in: Same. + * doc/all.texi: Set MICROBLAZE. + * doc/as.texinfo: Add MicroBlaze doc links. + * doc/c-microblaze.texi: New MicroBlaze docs. + +2009-08-06 Nick Clifton <nickc@redhat.com> + + * config/tc-arm.c (md_assemble): Call mapping_state from inside a + block in case it is a null macro. + +2009-08-05 Chao-ying Fu <fu@mips.com> + + * config/tc-mips.c (MIPS_JALR_HINT_P): New define. For IRIX, it is + true for new abi. For non-IRIX targets, it is always true. + (macro_build_jalr): If MIPS_JALR_HINT_P, emit BFD_RELOC_MIPS_JALR. + +2009-08-05 Eric B. Weddington <eric.weddington@atmel.com> + + * config/tc-avr.c (mcu_types): Add attiny2313a, attiny4313, attiny261a, + attiny861a, atmega644pa, attiny24a, attiny44a. + * doc/c-avr.texi: Likewise. + +2009-08-04 Sandra Loosemore <sandra@codesourcery.com> + + * doc/c-mips.texi (MIPS Opts): List 1004K options for -march. + * config/tc-mips.c (mips_cpu_info_table): Add 1004K cores. + +2009-08-04 Nathan Sidwell <nathan@codesourcery.com> + + * config/tc-arm.c (my_get_expression): Detect missing expressions. + +2009-08-02 Eric B. Weddington <eric.weddington@atmel.com> + + * config/tc-avr.c (mcu_types): Add atmega8m1, atmega8c1, atmega16c1. + * doc/c-avr.texi: Likewise. + +2009-08-01 Eric B. Weddington <eric.weddington@atmel.com> + + * config/tc-avr.c (mcu_types): Add atmega8u2, atmega16u2, atmega32u2. + * doc/c-avr.texi: Likewise. + +2009-07-31 Daniel Gutson <dgutson@codesourcery.com> + Daniel Jacobowitz <dan@codesourcery.com> + + * config/obj-elf.c (obj_elf_ident): Notify section change to the hook. + * config/tc-arm.c (make_mapping_symbol): New function, from + mapping_state. Save mapping symbols in the frag. + (insert_data_mapping_symbol): New. + (mapping_state): Use make_mapping_symbol, improve state transitions. + (mapping_state_2): New. Provide dummy definition. + (opcode_select): Do not call mapping_state. + (s_bss): Call md_elf_section_change_hook instead of mapping_state. + (output_inst): Update use of tc_frag_data. + (new_automatic_it_block): Call mapping_state before emitting the + IT instruction. + (md_assemble): Move mapping_state to just before outputting the + new instruction. + (arm_handle_align): Update use of tc_frag_data. + Call insert_data_mapping_symbol. + (arm_init_frag): Update use of tc_frag_data. Call + mapping_state_2. + (arm_elf_change_section): Always update the mapping symbol FSM state. + (check_mapping_symbols): New function. + (arm_adjust_symtab): Use check_mapping_symbols. + * config/tc-arm.h (struct arm_frag_type): New. + (TC_FRAG_TYPE): Change to struct arm_frag_type. + (TC_FRAG_INIT): Pass max_chars. + (arm_init_frag): Update prototype. + +2009-07-31 Anthony Green <green@moxielogic.com> + + * configure.tgt (generic_target): Add moxie-uclinux support. + +2009-07-30 Nick Clifton <nickc@redhat.com> + + * doc/c-arm.texi (ARM-Instruction-Set): New node. Documents the + different syntaxes support by the ARM port. + (ARM Directives): Add entry for .syntax. + + * doc/c-mips.texi (MIPS insn): Fix typo. + +2009-07-29 Alan Modra <amodra@bigpond.net.au> + + PR ld/10269 + * symbols.c (S_FORCE_RELOC): True for BSF_GNU_INDIRECT_FUNCTION. + * config/tc-i386.c: Revert 2009-06-13 change. + * config/tc-i386.h: Likewise. + +2009-07-28 Jan Beulich <jbeulich@novell.com> + + * expr.c (op_rank): Specify size. Remove O_md* initializers. + +2009-07-27 Maxim Kuvyrkov <maxim@codesourcery.com> + + * config/tc-m68k.c (mcf5221x_ctrl): New. + (m68k_cpu): Add line for MCF5221x. + +2009-07-27 Maxim Kuvyrkov <maxim@codesourcery.com> + + * config/tc-m68k.c (mcf52235_ctrl): Remove non-existent CACR, ACR[01]. + (mcf53017_ctrl): Fix RAMBAR. + +2009-07-27 Jan Beulich <jbeulich@novell.com> + + * obj-elf.c (elf_file_symbol): Replace symbol name set up by + symbol_new() with the passed in, unmodified one. + +2009-07-27 M R Swami Reddy <MR.Swami.Reddy@nsc.com> + + * config/tc-cr16.c (md_apply_fix): Put the addend value alone in to + object file without symbol values. + (tc_gen_reloc): For local symbols resolved or its absolute symbol, + then set the relocation type as NULL. + +2009-07-25 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (cpu_arch): Add l1om. + (check_cpu_arch_compatible): New. + (set_cpu_arch): Use it. + (i386_arch): New. + (i386_mach): Return bfd_mach_l1om for Intel L1OM. + (md_show_usage): Display l1om. + (i386_target_format): Return ELF_TARGET_L1OM_FORMAT if + cpu_arch_isa_flags.bitfield.cpul1om is set. + + * config/tc-i386.h (TARGET_ARCH): Use (i386_arch ()). + (i386_arch): New. + (ELF_TARGET_L1OM_FORMAT): Likewise. + + * doc/c-i386.texi: Document l1om. + +2009-07-24 Roland McGrath <roland@redhat.com> + Mark Wielaard <mjw@redhat.com> + + * config/obj-elf.c (obj_elf_ident): Set SEC_MERGE | SEC_STRINGS + flags on .comment section. + +2009-07-24 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com> + Alan Modra <amodra@bigpond.net.au> + + * config/tc-spu.c (md_apply_fix): Handle SPU_ADD_PIC. + * config/tc-spu.h (tc_fix_adjustable): Don't adjust for SPU_ADD_PIC. + (TC_FORCE_RELOCATION): Emit relocs for SPU_ADD_PIC. + +2009-07-24 Jan Beulich <jbeulich@novell.com> + + * tc-i386.c (cpu_arch): Add .8087, .287, .387, .no87, .nommx, + .nosse, and .noavx. + (cpu_flags_and_not): New. + (set_cpu_arch): Check whether sub-architecture specified is a + feature disable. + (md_parse_option): Likewise. + (parse_real_register): Don't return floating point register + when x87 functionality is disabled. + (md_show_usage): Add new sub-options. + * doc/c-i386.texi: Update with new command line sub-options. + +2009-07-24 Nick Clifton <nickc@redhat.com> + + PR 10437 + * config/tc-alpha.c: Fix up uses of gas printf like functions so + that the format string is a constant string. Add translation + support to message strings. + * config/tc-arc.c: Likewise. + * config/tc-arm.c: Likewise. + * config/tc-cris.c: Likewise. + * config/tc-fr30.c: Likewise. + * config/tc-frv.c: Likewise. + * config/tc-h8300.c: Likewise. + * config/tc-hppa.c: Likewise. + * config/tc-i370.c: Likewise. + * config/tc-i960.c: Likewise. + * config/tc-ia64.c: Likewise. + * config/tc-m32r.c: Likewise. + * config/tc-mep.c: Likewise. + * config/tc-mips.c: Likewise. + * config/tc-moxie.c: Likewise. + * config/tc-msp430.c: Likewise. + * config/tc-openrisc.c: Likewise. + * config/tc-pdp11.c: Likewise. + * config/tc-pj.c: Likewise. + * config/tc-s390.c: Likewise. + * config/tc-sh.c: Likewise. + * config/tc-sh64.c: Likewise. + * config/tc-sparc.c: Likewise. + * config/tc-spu.c: Likewise. + * config/tc-tic30.c: Likewise. + * config/tc-tic4x.c: Likewise. + * config/tc-tic54x.c: Likewise. + * config/tc-v850.c: Likewise. + * config/tc-xc16x.c: Likewise. + * config/tc-xstormy16.c: Likewise. + * config/tc-z80.c: Likewise. + * config/tc-z8k.c: Likewise. + * config/atof-ieee.c: Add translation support to as_warn + messages. + * config/obj-coff.c: Likewise. + +2009-07-23 Ulrich Drepper <drepper@redhat.com> + + * config/obj-elf.c (obj_elf_type): Add code to support a type of + gnu_unique_object. + * doc/as.texinfo: Document new feature of .type directive. + * NEWS: Mention support for gnu_unique_object symbol type. + +2009-07-23 Nick Clifton <nickc@redhat.com> + + PR binutils/10379 + * doc/c-mips.texi (MIPS insn): Document the special behaviour of + the .global directive for MIPS ports. + +2009-07-21 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/10420 + * config/tc-i386.c (i386_align_code): Tune for 32bit nops in + 64bit. + (i386_target_format): Set cpu_arch_isa_flags.bitfield.cpulm + for 64bit. + +2009-07-17 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (md_assemble): Update operand types. + (update_imm): Updated. + (finalize_imm): Update the first 2 immediate operands only + for instructions with 2 operands or more. + +2009-07-17 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (md_assemble): Check implicit registers + only for instructions with 3 operands or less. + +2009-07-17 Nick Clifton <nickc@redhat.com> + + * config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoid + compile time warning. + +2009-07-16 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (md_assemble): Only check i.operands for AX. + (md_estimate_size_before_relax): Don't relax IFUNC symbols. + +2009-07-16 Nathan Sidwell <nathan@codesourcery.com> + + * config/tc-arm.c (md_apply_fix <BFD_RELOC_ARM_TARGET2>): Write + the offset for REL targets here. + +2009-07-15 Kai Tietz <kai.tietz@onevision.com> + + * listing.c (print_source): Initialize cache by NULL. + +2009-07-15 Daniel Gutson <dgutson@codesourcery.com> + + * doc/c-arm.texi (mauto-it): Removed old option. + (mimplicit-it): Added right option. + +2009-07-14 Daniel Gutson <dgutson@codesourcery.com> + + * config/tc-arm.h (MAX_MEM_ALIGNMENT_BYTES): Define. + (MAX_MEM_FOR_RS_ALIGN_CODE): Define in terms of + MAX_MEM_ALIGNMENT_BYTES. + * config/tc-arm.c (arm_frag_align_code): Replace hard coded + constant with MAX_MEM_FOR_RS_ALIGN_CODE. + +2009-07-14 Nick Clifton <nickc@redhat.com> + + PR 10387 + * config/tc-arm.h (THUMB_IS_FUNC): Handle a NULL pointer. + (ARM_IS_FUNC): Likewise. + +2009-07-14 Daniel Gutson <dgutson@codesourcery.com> + + * config/tc-arm.c (md_assemble): Added validation. + +2009-07-10 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerated. + +2009-07-10 Tom Tromey <tromey@redhat.com> + + * Makefile.am (DEPTC_alpha_ecoff): Refer to dwarf2.h, not + elf/dwarf2.h. + (DEPTC_alpha_elf): Likewise. + (DEPTC_alpha_evax): Likewise. + (DEPTC_arm_elf): Likewise. + (DEPTC_hppa_elf): Likewise. + (DEPTC_i386_aout): Likewise. + (DEPTC_i386_coff): Likewise. + (DEPTC_i386_elf): Likewise. + (DEPTC_m68k_aout): Likewise. + (DEPTC_m68k_coff): Likewise. + (DEPTC_m68k_elf): Likewise. + (DEPTC_mips_coff): Likewise. + (DEPTC_mips_ecoff): Likewise. + (DEPTC_mips_elf): Likewise. + (DEPTC_ppc_coff): Likewise. + (DEPTC_ppc_elf): Likewise. + (DEPTC_s390_elf): Likewise. + (DEPTC_sh_coff): Likewise. + (DEPTC_sh_elf): Likewise. + (DEPTC_sh64_elf): Likewise. + (DEPTC_sparc_aout): Likewise. + (DEPTC_sparc_coff): Likewise. + (DEPTC_sparc_elf): Likewise. + (as.o): Likewise. + (dwarf2dbg.o): Likewise. + (dw2gencfi.o): Likewise. + (ehopt.o): Likewise. + (read.o): Likewise. + * Makefile.in: Rebuild. + * dw2gencfi.h: Include dwarf2.h, not elf/dwarf2.h. + * dwarf2dbg.c: Likewise. + * ehopt.c: Likewise. + +2009-07-09 Daniel Gutson <dgutson@codesourcery.com> + + * config/tc-arm.c (it_fsm_post_encode): New forward declaration. + (set_it_insn_type_nonvoid): New macro. + (emit_thumb32_expr): New function. + (thumb_insn_size): New function. + (emit_insn): New function. + (s_arm_elf_inst): New function. + (md_pseudo_table): New pseudo-opcode entries added. + * doc/c-arm.texi: New directive added. + +2009-07-07 DJ Delorie <dj@redhat.com> + + * config/tc-mep.c (md_begin): Don't reset the coprocessor options + when enabling other options without a specific configuration. + +2009-07-07 Chung-Lin Tang <cltang@pllab.cs.nthu.edu.tw> + + * config/tc-arm.c (insns): Fix encoding for torvsc. + +2009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> + + * config/tc-i386.c (cpu_arch): Add .fma4 and CPU_FMA4_FLAGS. + (build_modrm_byte): Add support to handle FMA4 instructions. + (md_show_usage): Add fma4. + +2009-07-04 Alan Modra <amodra@bigpond.net.au> + + * config/tc-cr16.h (TC_LINKRELAX_FIXUP): Set only for code sections. + +2009-07-02 Tristan Gingold <gingold@adacore.com> + + * Makefile.am (OBJ_FORMATS): Add macho. + (CPU_OBJ_VALID): Ditto. + (OBJ_FORMAT_CFILES): Add config/obj-macho.c + (OBJ_FORMAT_HFILES): Add config/obj-macho.h + (obj-macho.o): New rule. + * Makefile.in: Regenerated. + * configure.tgt (generic_target): Add i386-*-darwin*. + * config/tc-i386.h: Use i386_target_format for Mach-O. + * config/tc-i386.c (i386_target_format): Define it for Mach-O. + (i386_target_format): Add a case for bfd_target_mach_o_flavour. + * config/obj-macho.h: New file. + * config/obj-macho.c: New file. + +2009-07-01 Nick Clifton <nickc@redhat.com> + + PR 10168 + * config/tc-arm.c (do_t_pkhtb): Swap Rm and Rn when encoding as + PKHBT. + +2009-07-01 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (MISSING_FNSTART): Define. + (s_arm_unwind_fnstart): Diagnose duplicate directive. + (s_arm_unwind_handlerdata, s_arm_unwind_fnend, s_arm_unwind_fnend, + s_arm_unwind_cantunwind, s_arm_unwind_personalityindex, + s_arm_unwind_personality, s_arm_unwind_save, s_arm_unwind_movsp, + s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): Error if + not inside function unwinding region. + +2009-06-29 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c: Reformat. + +2009-06-23 DJ Delorie <dj@redhat.com> + + * config/tc-mep.c (mep_check_ivc2_scheduling): For IVC2, allocate + 32 bits for relaxable branches so that we can relax them later. + (md_estimate_size_before_relax): Assume IVC2 branches will be relaxed. + (mep_relax_frag): New. + (md_convert_frag): Relax IVC2 branches in-place. + * config/tc-mep.h ((mep_relax_frag): New. + +2009-06-22 Martin Thuresson <martin@mtme.org> + + * app, as.c, as.h, atof-generic.c, cgen.c, + config/atof-ieee.c, config/obj-aout.c, + config/obj-coff.c, config/obj-ecoff.c, + config/obj-elf.c, config/obj-som.c, config/tc-alpha.c, + config/tc-arc.c, config/tc-arm.c, config/tc-cr16.c, + config/tc-cris.c, config/tc-crx.c, config/tc-d30v.c, + config/tc-dlx.c, config/tc-hppa.c, config/tc-i370.c, + config/tc-i386-intel.c, config/tc-i386.c, + config/tc-i860.c, config/tc-i960.c, config/tc-ia64.c, + config/tc-iq2000.c, config/tc-m32c.c, + config/tc-m32r.c, config/tc-m68hc11.c, + config/tc-m68k.c, config/tc-maxq.c, config/tc-mcore.c, + config/tc-mep.c, config/tc-mips.c, config/tc-mmix.c, + config/tc-mn10300.c, config/tc-moxie.c, + config/tc-ns32k.c, config/tc-pj.c, config/tc-ppc.c, + config/tc-s390.c, config/tc-score.c, + config/tc-score7.c, config/tc-sh.c, config/tc-sparc.c, + config/tc-spu.c, config/tc-tic30.c, config/tc-vax.c, + config/tc-xtensa.c, config/xtensa-relax.c, + dw2gencfi.c, dwarf2dbg.c, ehopt.c, expr.c, + frags.c, input-file.c, read.c, sb.c, + subsegs.c, symbols.c, write.c: Change the name of the + gas macro `assert' to `gas_assert'. + +2009-06-22 Daniel Gutson <dgutson@codesourcery.com> + + * config/tc-arm.c (implicit_it_mode): New enum. + (implicit_it_mode): New global. + (it_instruction_type): New enum. + (arm_parse_it_mode): New function. + (arm_long_opts): New option added. + (arm_it): New field. + (it_state): New enum. + (now_it): New macro. + (check_it_blocks_finished): New function. + (insns[]): Use the IT Thumb opcodes for ARM too. + (arm_cleanup): Call check_it_blocks_finished. + (now_it_compatible): New function. + (conditional_insn): New function. + (set_it_insn_type): New macro. + (set_it_insn_type_last): New macro. + (do_it): Call automatic IT machinery functions. + (do_t_add_sub): Likewise + (do_t_arit3): Likewise. + (do_t_arit3c): Likewise. + (do_t_blx): Likewise. + (do_t_branch): Likewise. + (do_t_bkpt): Likewise. + (do_t_branch23): Likewise. + (do_t_bx): Likewise. + (do_t_bxj): Likewise. + (do_t_cps): Likewise. + (do_t_cpsi): Likewise. + (do_t_cbz): Likewise. + (do_t_it): Likewise. + (encode_thumb2_ldmstm): Likewise. + (do_t_ldst): Likewise. + (do_t_mov_cmp): Likewise. + (do_t_mvn_tst): Likewise. + (do_t_mul): Likewise. + (do_t_neg): Likewise. + (do_t_setend): Likewise. + (do_t_shift): Likewise. + (do_t_tb): Likewise. + (output_it_inst): New function. + (new_automatic_it_block): New function. + (close_automatic_it_block): New function. + (now_it_add_mask): New function. + (it_fsm_pre_encode): New function. + (handle_it_state): New function. + (it_fsm_post_encode): New function. + (force_automatic_it_block_close): New function. + (in_it_block): New function. + (md_assemble): Call automatic IT block machinery functions. + (arm_frob_label): Likewise. + (arm_opts): New element. + * config/tc-arm.h (it_state): New enum. + (current_it): New struct. + (arm_segment_info_type): New member added. + * doc/c-arm.texi: New option -mimplicit-it documented. + +2009-06-20 Alan Modra <amodra@bigpond.net.au> + + PR 10302 + * doc/as.texinfo (Section <ELF "M,S" flag>): Clarify tail merge. + +2009-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com> + + * config/tc-s390.c (md_gather_operands): Accept an instruction + without operands if all operands are tagged as optional. + +2009-06-18 Nick Clifton <nickc@redhat.com> + + PR 10169 + * tc-arm.c (do_t_ssat): Move common code from here... + (do_t_usat): ... and here to... + (do_t_ssat_usat): New function: ... here. Add code to check that + the shift value, if present, is in range. + +2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com> + + Merge cegcc and mingw32ce target name changes + from CeGCC project: + + 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt> + + * configure.tgt: Add arm*-*-cegcc* target. + + 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt> + + * configure.tgt: Add arm-*-mingw32ce* target. + +2009-06-16 Maciej W. Rozycki <macro@linux-mips.org> + + * config/tc-vax.c (md_estimate_size_before_relax): Accept + indirect symbol references in the PIC mode and emit a + PC-relative relocation instead of a GOT/PLT one. Likewise + for symbols known to be hidden at this point. + +2009-06-15 Nick Clifton <nickc@redhat.com> + + PR 10186 + * config/tc-arm.c (T16_32_TAB): Fix binary value of SEV.W + instruction. + +2009-06-13 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/10269 + * config/tc-i386.c (md_apply_fix): Use TC_FORCE_RELOCATION + instead of generic_force_reloc. + + * config/tc-i386.h (TC_FORCE_RELOCATION): New. + +2009-06-11 Anthony Green <green@moxielogic.com> + + * config/tc-moxie.c (md_chars_to_number): Define. + (md_begin): Populate opcode hashtable with more form 3 opcodes. + (md_assemble): Assemble MOXIE_F3_PCREL encoded instructions. + (md_apply_fix): Handle BFD_RELOC_MOXIE_10_PCREL relocations. + (tc_gen_reloc): Ditto. + (md_pcrel_from): Ditto. + (md_chars_to_number): New function. + +2009-06-10 Anthony Green <green@moxielogic.com> + + * config/tc-moxie.c (md_assemble): Handle MOXIE_F1_M encoded + opcodes. + +2009-06-09 Jakub Jelinek <jakub@redhat.com> + + PR gas/10255 + * dw2gencfi.c (output_cfi_insn): Initialize fragment before rs_cfa + to DW_CFA_advance_loc4. + +2009-06-08 Dave Korn <dave.korn.cygwin@gmail.com> + + PR gas/977 + * config/tc-i386.c (md_estimate_size_before_relax): Don't relax + branches to weak symbols. + (md_apply_fix): Don't convert fixes against weak symbols to + section-relative offsets, but save addend for later reloc emission. + (tc_gen_reloc): When emitting reloc against weak symbol, adjust + addend to pre-compensate for bfd_install_relocation. + +2009-06-04 Alan Modra <amodra@bigpond.net.au> + + * dep-in.sed: Don't use \n in replacement part of s command. + * Makefile.am (DEP1, DEPTC, DEPOBJ, DEP2): LC_ALL for uniq. + * Makefile.in: Regenerate. + +2009-06-01 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/10198 + * config/tc-i386-intel.c (i386_intel_operand): Check '$' as '.'. + +2009-05-26 Catherine Moore <clm@codesourcery.com> + + * config/tc-mips.c (check_for_24k_errata): Remove. + (md_mips_end): Remove call to check_for_24k_errata. + (start_noreorder): Likewise. + (s_change_sec): Likewise. + (s_change_section): Likewise. + (insns_between): Add 24k errata checks. + (append_insn): Remove declaration and references to nhdx_24k. + Remove calls to check_for_24k_errata. + +2009-05-26 Nick Clifton <nickc@redhat.com> + + * po/id.po: Updated Indonesian translation. + * po/gas.pot: Updated template file. + +2009-05-26 Nick Clifton <nickc@redhat.com> + + PR 10143 + * config/bfin-parse.y (error): Use "%s" as format string for error + message. + +2009-05-26 Alan Modra <amodra@bigpond.net.au> + + * dep-in.sed: Output one filename per line with all lines having + continuation backslash. Prefix first line with "A", following + lines with "B". + * Makefile.am (DEP): Don't use dep.sed here. + (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies, + sort and uniq. + (DEPTC, DEPOBJ, DEP2): Use dep.sed on dependencies, sort and uniq. + Emit multi dependencies on one line. + * Makefile.in: Regenerate. + +2009-05-25 Tristan Gingold <gingold@adacore.com> + + * makefile.vms: New file to compile gas on VMS. + + * configure.com: New file to do configuration on VMS with DCL. + +2009-05-23 Richard Sandiford <rdsandiford@googlemail.com> + + * config/tc-mips.c (nops_for_vr4130): Don't check noreorder_p. + (nops_for_insn): Likewise. + +2009-05-22 H.J. Lu <hongjiu.lu@intel.com> + + * symbols.c (COPIED_SYMFLAGS): Add BSF_GNU_INDIRECT_FUNCTION. + +2009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> + + * config/tc-i386.c (process_drex): Delete. Remove SSE5 support. + (build_modrm_byte): Remove DREX handling support. + (DREX_*): Delete. + (drex_byte): Delete. + (md_assemble): Remove DREX handling support. + (process_operands): Remove DREX, SSE5 support. + (i386_insn): Remove DREX. + +2009-05-22 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2009-05-20 Kai Tietz <kai.tietz@onevision.com> + H.J. Lu <hongjiu.lu@intel.com> + + * config/obj-coff.h: Include "coff/x86_64.h" for x86 pe-coff. + (TARGET_FORMAT): Removed for x86 pe-coff. + (COFF_TARGET_FORMAT): Likewise. + + * config/tc-i386.c (md_longopts): Allow --64 for x86 pe-coff. + (md_parse_option): Likewise. + (md_show_usage): Show option --32/--64 for x86 pe-coff. + (i386_target_format): Use also for x86 pe-coff. + + * config/tc-i386.h (TARGET_FORMAT): Defined as i386_target_format + for x86 pe-coff. + +2009-05-19 DJ Delorie <dj@redhat.com> + + * config/tc-mep.c (mep_machine): Only check CPU flags, not COP flags. + (mep_process_saved_insns): Remove debugging printfs. + +2009-05-19 Dave Korn <dave.korn.cygwin@gmail.com> + + * NEWS: Mention new feature. + * config/obj-coff.c (obj_coff_common_parse): New function. + (obj_coff_comm): Likewise. + (coff_pseudo_table): Override default ".comm" definition on PE. + * doc/as.texinfo: Document new feature. + +2009-05-17 Kai Tietz <kai.tietz@onevision.com> + + * config/obj-coff.c (obj_coff_section): Add 'y' as + specifier for SEC_COFF_NOREAD section flag. + * doc/as.texinfo: Add documentation about .section flag 'y'. + +2009-05-13 DJ Delorie <dj@redhat.com> + + * cgen.c (gas_cgen_parse_operand): Guard against NULL pointers. + +2009-05-13 Andrew Jenner <andrew@codesourcery.com> + + * config/tc-arm.c: Move as.h to start of file. + +2009-05-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> + + * config/tc-arm.h: Fix typo in comment. + (ARM_IS_FUNC): New macro. + (MD_APPLY_SYM_VALUE): Define. + + * config/tc-arm.c (do_blx): Retain BFD_RELOC_ARM_PCREL_BLX for + all versions of EABI. + (relax_branch): Do not relax for branches to ARM functions. + (md_pcrel_from_section): Set up base correctly for + BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_THUMB_PCREL_CALL, + BFD_RELOC_THUMB_PCREL_BRANCH23, BFD_RELOC_ARM_PCREL_BLX + BFD_RELOC_ARM_PCREL_CALL. + (md_apply_fix): Flip bl to blx where possible. + Flip blx to bl where possible. + (arm_force_relocation): Force relocations for + BFD_RELOC_ARM_PCREL_JUMP, BFD_RELOC_ARM_PCREL_JUMP, + BFD_RELOC_ARM_PCREL_BLX, BFD_RELOC_THUMB_PCREL_BLX, + BFD_RELOC_THUMB_PCREL_BRANCH20, BFD_RELOC_THUMB_PCREL_BRANCH23, + BFD_RELOC_THUMB_PCREL_BRANCH25. + (arm_apply_sym_value): New function. + +2009-05-04 Tristan Gingold <gingold@adacore.com> + + * config/tc-alpha.c: Also declare alpha_prologue_label for OBJ_EVAX. + +2009-05-01 Nathan Sidwell <nathan@codesourcery.com> + + * config/tc-armlinux-eabi.h (FPU_DEFAULT): Default to plain VFP. + * config/tc-armeabi.h (FPU_DEFAULT): Likewise. + * config/tc-arm.c (md_begin): If FPU_DEFAULT is set, don't infer + the default FPU from the processor. + +2009-05-01 Julian Brown <julian@codesourcery.com> + + * config/tc-arm.c (do_t_blx): Always use BFD_RELOC_THUMB_PCREL_BLX. + (md_pcrel_from_section): Align address for BLX. + (tc_gen_reloc): Change BFD_RELOC_THUMB_PCREL_BLX relocations to + BFD_RELOC_THUMB_PCREL_BRANCH23 for EABI v4+. + +2009-04-29 DJ Delorie <dj@redhat.com> + + * config/tc-mep.c (md_begin): Check coprocessor type. + (md_check_parallel64_scheduling): Use memset to initialize the buffer. + (md_check_parallel32_scheduling): Likewise. + (slot_ok): New. + (mep_check_ivc2_scheduling): New. + (mep_check_parallel_scheduling): Call it. + (mep_process_saved_insns): Add IVC2 slot support. + (md_assemble): Likewise. + +2009-04-30 Nick Clifton <nickc@redhat.com> + + * config/obj-elf.c (obj_elf_type): Add support for a + gnu_indirect_function type. + * config/tc-i386.c (tc_i386_fix_adjustable): Do not adjust fixups + against indirect function symbols. + * doc/as.texinfo (.type): Document the support for the + gnu_indirect_function symbol type. + * NEWS: Mention the new feature. + +2009-04-24 Cary Coutant <ccoutant@google.com> + + * NEWS: Add item about discriminator support. + * dwarf2dbg.h (struct dwarf2_line_info): Add discriminator field. + * dwarf2dbg.c (current): Add discriminator field. + (dwarf2_where): Copy discriminator value. + (dwarf2_consume_line_info): Set discriminator to 0. + (dwarf2_directive_loc): Process discriminator sub-op. + (out_leb128): New function. + (process_entries): Output DW_LNE_set_discriminator. + * doc/as.texinfo: Add discriminator operand to .loc directive. + +2009-04-22 Nathan Sidwell <nathan@codesourcery.com> + + * config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for + as_bad calls to silence compiler warning. + +2009-04-21 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386-intel.c (O_XXX): Reorder. + +2009-04-20 Jan Beulich <jbeulich@novell.com> + + * Makefile.am: Add explicit dependency of tc-i386.o on + tc-i386-intel.c. + * Makefile.in: Likewise. + * config/tc-i386.c (i386_finalize_immediate): Declare, broken + out from i386_immediate. + (i386_immediate): Slightly re-arrange, call + i386_finalize_immediate. + (i386_finalize_displacement): Declare, broken out from + i386_displacement. + (i386_displacement): Slightly re-arrange, call + i386_finalize_displacement. + (i386_intel_simplify, i386_intel_parse_name): Declare. + (this_operand): Initialize to -1. + (set_intel_syntax): Set expression rank for O_full_ptr. + (md_assemble): Set this_operand back to -1 after parsing + operands. + (x86_cons): Negate intel_syntax to indicate state. Call + i386_intel_simplify. + (md_operand): Convert if to switch. Handle '[' for Intel + syntax. + (i386_intel_operand): Delete, including all helper functions + and data. + * config/tc-i386-intel.c: New file, all new code. + * config/tc-i386.h (i386_operator): Declare. + (md_operator): Define to i386_operator. + (i386_need_index_operator): Declare. + (md_need_index_operator): Define to i386_need_index_operator. + (O_full_ptr): Define. + +2009-04-20 Jan Beulich <jbeulich@novell.com> + + * expr.c (operand): Call md_need_index_operator() and + md_operator() if defined. Add unary label. + (operator): Call md_operator() if defined. + (expr): Adjust assertions on range and rank of op_left and + op_right. Don't abort on unhandled operators when reducing + expressions with both operands being constant. + (expr_set_rank): New. + * expr.h (expr_set_rank): Declare. + +2009-04-15 Anthony Green <green@moxielogic.com> + + * config/tc-moxie.h: New file. + * config/tc-moxie.c: New file. + * configure: Add support for moxie. + * configure.tgt: Add support for moxie. + +2009-04-16 Jan Beulich <jbeulich@novell.com> + + * expr.c: Include limits.h if available, and #define CHAR_BITS + otherwise. + (expr): Check range of shift count when evaluating a constant + expression. + +2009-04-15 Jan Beulich <jbeulich@novell.com> + + * config/tc-i386.c (process_operands): Print operands in + correct order depending on intel_syntax. + +2009-04-09 Catherine Moore <clm@codesourcery.com> + + * config/tc-mips.c (mips_fix_24k): Declare. + (check_for_24k_errata): New. + (mips_cleanup): Call check_for_24k_errata. + (start_noreorder): Likewise. + (md_mips_end): Likewise. + (s_change_sec): Likewise. + (s_change_section): Likewise. + (append_insn): Call check_for_24k_errata. Prevent + ERET/DERET instructions from being moved into delay + slots. + (OPTION_FIX_24K): New. + (OPTION_NO_FIX_24k) New. + (md_longopts): Add "mfix-24k" and "mno-fix-24k". + (md_parse_option): Handle fix-24k options. + (md_show_usage): Display fix-24k options. + * doc/c-mips.texi: Document. + +2009-04-09 Adam Nemet <anemet@caviumnetworks.com> + + * config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS + instead of HAVE_64BIT_SYMBOLS. + +2009-04-07 DJ Delorie <dj@redhat.com> + + * config/tc-mep.c: Add UCI/DSP instruction support. Add C5 support. + (md_show_usage): Change default endian to little. + * config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little. + +2009-04-06 DJ Delorie <dj@redhat.com> + + * tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA + immediates. + (build_bytes): Pass insn to do_a_fix_imm. + +2009-04-02 Daniel Gutson <dgutson@codesourcery.com> + + * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0. + * doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and + Cortex-M1. + +2009-04-01 Matt Thomas <matt@netbsd.org> + + * config/tc-vax.c (synthetic_votstrs): add "jbbcci" and "jbbssi" + (md_assemble): emit symbol name when used as immediate in PIC mode. + (md_assemble): fix LP64 bug (use sizeof (valueT) instead 4). + +2009-04-01 Sterling Augustine <sterling@jaw.hq.tensilica.com> + + * config/tc-xtensa.c (parse_arguments): call demand_empty_rest_of_line + +2009-04-01 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> + + * config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF. + (find_real_start): Likewise. + * config/tc-arm.h (TC_VALIDATE_FIX): Likewise + +2009-04-01 Nathan Sidwell <nathan@codesourcery.com> + + * config/tc-arm.c (do_nop): Generate v6k nops whenever possible. + (arm_handle_align): Generate v6k ARM, thumb2 wide & narrow nops + whenever possible. + +2009-03-31 Peter Bergner <bergner@vnet.ibm.com> + + * config/tc-ppc.c (ppc_handle_align): Handle power7's group ending nop. + +2009-03-31 Dave Korn <dave.korn.cygwin@gmail.com> + + * doc/internals.texi: Fix trivial syntax errors. + +2009-03-26 Alan Modra <amodra@bigpond.net.au> + + PR 10005 + * config/tc-i386.c (reloc): Don't abort on lack of required + reloc type. + +2009-03-25 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (parse_insn): Use default_arch on unsupported + arch. + +2009-03-23 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/9966 + * listing.c (listing_newline): Properly handle `\\"' and ';'. + + * read.c (is_end_of_line): Update comments for line separator. + (read_begin): Set line separator in is_end_of_line to 2. + +2009-03-19 David S. Miller <davem@davemloft.net> + + * config/tc-sparc.c (md_parse_option): If the user gives + us '--64' make sure max_architecture is at least V9. + +2009-03-18 Andrew Stubbs <ams@codesourcery.com> + + * config/tc-arm.c (md_apply_fix): Check BFD_RELOC_ARM_IMMEDIATE and + BFD_RELOC_ARM_ADRL_IMMEDIATE value is in the correct section. + Check BFD_RELOC_ARM_ADRL_IMMEDIATE has a defined symbol. + +2009-03-18 Alan Modra <amodra@bigpond.net.au> + + * as.h: Include alloca-conf.h instead of config.h and remove + existing #if's handling alloca. + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * config/tc-ppc.c (ppc_frob_symbol): Add csect information for + C_AIX_WEAKEXT too. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * config/tc-ppc.c (md_apply_fix): On COFF targets, always reread + "value" from fx_offset. Manually resubtract md_pcrel_from_section + where necessary. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * configure.tgt: Extend AIX 5 behavior to AIX 6 and above. + * configure.in: Likewise. + * configure: Regenerate. + +2009-03-11 Hans-Peter Nilsson <hp@axis.com> + + * config/tc-cris.c (cris_create_short_jump): Remove prototype. + Rename, changing all callers, to... + (md_create_short_jump): Adjust head comment. Assert + word-sized-branch distance for v32. Bail out calling as_fatal for + compatibility mode here. + (md_create_long_jump): ...not here. + * config/tc-cris.h (md_create_short_jump): Do not define. + +2009-03-10 Hans-Peter Nilsson <hp@axis.com> + + * write.c (write_object_file) [!WORKING_DOT_WORD]: When patching + the jump table for multiple overflowing entries with the same + target, handle base symbols being different. + (relax_segment) <case rs_broken_word, second loop>: Whenever a + single entry overflows, arrange to redirect all entries with the + same target. + +2009-03-10 Alan Modra <amodra@bigpond.net.au> + + * config/tc-ppc.c (parse_cpu): Delete. + (md_parse_option, ppc_machine): Use ppc_parse_cpu. + +2009-03-09 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/9915 + * config/tc-i386.h (LOCAL_LABELS_DOLLAR): New. Defined as 0. + (LOCAL_LABELS_FB): Undefine befoe define. + +2009-03-06 Nick Clifton <nickc@redhat.com> + + * po/es.po: Updated Spanish translation. + +2009-03-05 Joseph Myers <joseph@codesourcery.com> + + * read.c (s_fill, s_space, s_float_space, float_cons, stringer, + s_incbin): Call md_cons_align (1). + +2009-03-04 Nick Clifton <nickc@redhat.com> + + * config/tc-alpha.c (alpha_prologue_label): Only define for ELF + based targets. + (s_alpha_comm): Only define "temp" and "log_align" local variables + for EVAX targets. + +2009-03-04 Alan Modra <amodra@bigpond.net.au> + + * config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs + have non-zero addend. + (md_assemble): Parse args of __tls_get_addr calls. + (md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD. + +2009-03-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + binutils/3807 + * config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with + local scope for ELF targets. + +2009-03-04 Alan Modra <amodra@bigpond.net.au> + + * config/tc-ppc.c (md_assemble): APUinfo only for e500. + +2009-03-03 Tristan Gingold <gingold@adacore.com> + Eric Botcazou <ebotcazou@adacore.com> + Douglas B Rupp <rupp@gnat.com> + + * doc/as.texinfo (Overview): Mention -replace/-noreplace options + for Alpha. + * doc/c-alpha.texi (Alpha Options): Document -replace/-noreplace. + * config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define to 1 (evax). + (OBJ_SYMFIELD_TYPE): Remove. + (tc_canonicalize_symbol_name): Define to evax_shorten_name. + (TC_IMPLICIT_LCOMM_ALIGNMENT): For alignment to 3 on evax. + (tc_frob_file_before_fix): Do not defined on evax. + * config/tc-alpha.c: Always includes dwarf2dbg.h. + Include vms.h if OBJ_EVAX. + (struct alpha_fixup): Add xtrasym and procsym (evax only). + (enum alpha_macro_arg): Remove trailing comma. + (md_longopts): Add replace and noreplace arguments (evax only). + (alpha_evax_proc_hash): New variable. + (alpha_link_section): Make it global. + (alpha_ctors_section, alpha_dtors_section): Removed. + (alpha_ctors_symbol, alpha_dtors_symbol): Ditto. + (alpha_lit8_section): Ifndef'ed on evax. + (alpha_lit8_symbol): Ditto. + (alpha_prologue_label): New variable. + (alpha_linkage_symbol): New variable (evax only). + (alpha_flag_replace): Ditto. + (struct alpha_evax_procs): Add handler and handler_data field. + (alpha_evax_proc): Now of type pointer. + (alpha_linkage_fixup_root, alpha_linkage_fixup_tail): New variables. + (struct alpha_reloc_tag): Add sym and psym fields (evax only). + (get_alpha_reloc_tag): Initialize sym and psym fields (evax only). + (alpha_adjust_relocs): Ifndef'ed on evax. + (load_expression): Add opname argument. + Implement LDA/BSR optimization for evax. + (emit_lda): Adjust for new prototype of load_expression. + (emit_ir_load): Ditto. Do not nothing for GP if ..lk symbols. + (emit_loadstore): Likewise. + (emit_ldXu): Likewise. + (emit_stX): Likewise. + (emit_jsrjmp): Likewise. Implement LDA/BSR optimization for evax. + (emit_ldgp): Avoid warning in evax case. + (add_to_link_pool): Make it static. Return symbolic expression rather + than number expression for the offset. + (s_alpha_text): Create .text symbol for evax if not already created. + (s_alpha_comm): Do not create specific section for common symbol. + Fill common area with zeros for evax. + (s_alpha_prologue): Create alpha_prologue_label. + (s_alpha_section_name): New function (evax). + (s_alpha_section_word): Likewise. + (section_name): New static variabke moved out from ... + (s_alpha_section): ... here. Create new sections on demand. + (s_alpha_literals): New function (evax). + (s_alpha_ent): Create alpha_evax_proc instance and insert it in the + alpha_evax_proc_hash table. + (s_alpha_handler): New function (evax). + (s_alpha_frame): Adjust for new type of alpha_evax_proc. + (s_alpha_prologue): New function (evax). + (s_alpha_pdesc): Adjust for new type of alpha_evax_proc and new + handling of procedures with hash table. + Add support for condition handlers. + (s_alpha_linkage): Create linkage_fixup instance and chain it. + (s_alpha_fp_save): Adjust for new type of alpha_evax_proc. + (s_alpha_mask): Likewise. + (s_alpha_fmask): Likewise. + (s_alpha_end): Clear alpha_evax_proc. + (s_alpha_align): Increase max_alignment to 16. + (alpha_print_token): Call print_expr_1 instead of print_expr. + (md_pseudo_table): Add "section", "literals", "handler" and + "handler_data" (evax). Do not ignore "prologue" on evax. + Fix indentation. + (md_begin): Create hash table for alpha_evax_proc_hash. + (md_parse_option): Handle OPTION_REPLACE and OPTION_NOREPLACE. + (md_show_usage): Mention -replace/-noreplace for evax. + (md_apply_fix): Handle evax relocs (_NOP, _LDA, _BSR and _BOH). + (alpha_force_relocation): Likewise. + (alpha_fix_adjustable): Likewise. Add BFD_RELOC_16 case. + (tc_gen_reloc): Likewise. Add BFD_RELOC_ALPHA_LINKAGE for evax. + (emit_insn): New cases for evax specific relocs. + (assemble_insn): Fix indentation. + Take care of -MDISP in operand table. + * config/obj-evax.h (struct alpha_linkage_fixups): New struct. + (OBJ_SYMFIELD_TYPE): New macro. + (obj_symbol_new_hook): Define. + (obj_frob_symbol, obj_frob_file_before_adjust): Ditto. + (obj_frob_file_before_fix): Ditto. + (PDSC_S_M_HANDLER_VALID): New macro. + (PDSC_S_M_HANDLER_DATA_VALID): Ditto. + (TC_IMPLICIT_LCOMM_ALIGNMENT): Remove. + Add prototypes for functions declared in obj-evax.c + * config/obj-evax.c: Include subsegs.h, struc-symbol.h, safe-ctype.h. + (s_evax_weak): Convert to ansi-C. + (evax_symbol_new_hook): New function. + (evax_frob_symbol): Ditto. + (evax_frob_file_before_adjust): Ditto. + (evax_frob_file_before_fix): Ditto. + (evax_shorten_name): Ditto. + (crc32): Ditto. + (encode_32): Ditto. + (encode_16): Ditto. + (decode_16): Ditto. + (shorten_identifier): Ditto. + (is_truncated_identifier): Ditto. + * dwarf2dbg.c (out_debug_info): Do not append trailing slash on VMS. + * as.c (close_output_file): Remove #ifndef OBJ_VMS. + (main): Ditto. + +2009-03-03 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2009-03-02 Nick Clifton <nickc@redhat.com> + + PR 9874 + * config/tc-ia64.c (fix_insn): Fix warning reported by + -Wformat-security. + +2009-03-02 Qinwei <qinwei@sunnorth.com.cn> + + * config/tc-score7.c: New file. + * doc/c-score.texi: New file. + * Makefile.am: Update dependencies for tc-score.c. + * Makefile.in: Regenerate. + * NEWS: Mention support for Score7 architecture. + * config/tc-score.c: Add support for Score7 architecture. + * config/tc-score.h: Likewise. + * doc/Makefile.am: Add c-score.texi. + * doc/Makefile.in: Regenerate. + * doc/all.texi: Add Score7. + * doc/as.texinfo: Add Score7. + +2009-03-01 Mark Mitchell <mark@codesourcery.com> + + * config/tc-arm.c (md_assemble): Allow barrier instructions on + ARMv6-M cores. + +2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * configure: Regenerate. + +2009-02-26 Peter Bergner <bergner@vnet.ibm.com> + + * config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63", + "f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63". + (parse_cpu): Extend -mpower7 to accept power7 and isel instructions. + +2009-02-25 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (fits_in_imm4): Removed. + +2009-02-24 Helge Deller <deller@gmx.de> + + * config/tc-hppa.c (pa_ip): Add check of immediate values. + (SAVE_IMMEDIATE): New define. + +2009-02-23 Mark Mitchell <mark@codesourcery.com> + + * config/tc-arm.c (warn_deprecated_sp): New macro. + (do_t_mov_cmp): Permit R13 as the second + argument to "cmp.n". + +2009-02-23 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM. + (pt): Replace UINTS_ALL_ZERO with operand_type_all_zero. + +2009-02-23 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4. + +2009-02-23 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (vex_imm4): Removed. + (VEX_check_operands): Likewise. + (match_template): Updated. + +2009-02-23 Martin Schwidefsky <schwidefsky@de.ibm.com> + + * doc/all.texi: Set S390. + * doc/as.texinfo: Add S390 support and pull in c-s390.texi. + * doc/Makefile.am (CPU_DOCS): Add c-s390.texi. + * doc/Makefile.in: Likewise. + * doc/c-s390.texi: New. + +2009-02-12 Nathan Sidwell <nathan@codesourcery.com> + + * config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR. + (mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New. + (mcf5307_ctrl): Add VBR. + (no_mac): New variable. + (m68k_extensions): Refer to no_mac mask. + (m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277, + 52252..52259, 53011..53017. + (m68k_ip): Process CPUCR. + (init_table): Add cpucr entry. + (m68k_set_extension): Allow negated mask to refer to a variable. + (md_show_usage): Use '%s' to silence fprintf warning. + * config/m68k-parse.h (CPUCR): New control register. + +2009-02-10 Nathan Sidwell <nathan@codesourcery.com> + + * config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' for + as_bad calls to silence compiler warning. + +2009-02-06 Nick Clifton <nickc@redhat.com> + + PR 9814 + * config/tc-arm.c (MODE_RECORDED): New define. + (output_inst): Record the thumb_mode in the current frag. + (arm_handle_align): Ignore the MODE_RECORDED bit in tc_frag_data. + (arm_init_frag): Only set the tc_frag_data field if it has not + already been set. + +2009-02-04 H.J. Lu <hongjiu.lu@intel.com> + + AVX Programming Reference (January, 2009) + * config/tc-i386.c (CPU_FLAGS_PCLMUL_MATCH): New. + (CPU_FLAGS_AVX_MATCH): Updated. + (CPU_FLAGS_32BIT_MATCH): Likewise. + (cpu_flags_match): Likewise. + +2009-02-03 Sandip Matte <sandip@rmicorp.com> + + * config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T, + M_MSGWAIT and M_MSGWAIT_T. + (mips_cpu_info_table): Add XLR entry. + * doc/c-mips.texi (-march): Document xlr. + +2009-02-03 Eric B. Weddington <eric.weddington@atmel.com> + + * config/tc-avr.c (mcu_types): Add ata6289. + * doc/c-avr.texi: Likewise. + +2009-02-03 Carlos O'Donell <carlos@codesourcery.com> + + * configure.in: AC_SUBST pdfdir. + * Makefile.am: Add install-pdf, install-pdf-am, + and install-pdf-recursive targets. + * doc/Makefile.am: Define pdf__strip_dir. Add + install-pdf and install-pdf-am targets. + * po/Make-in: Add install-pdf target. + * configure: Regenerate. + * Makefile.in: Regenerate. + * doc/Makefile.in: Regenerate. + +2009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com> + + * config/m68k-parse.h (enum pic_relocation): Add values for TLS + relocations. + * config/m68k-parse.y (yylex): Parse TLS relocations. + * config/tc-m68k.c (m68k_elf_cons): New static function. + (md_pseudo_table): Use it. + (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS + relocations. + (md_apply_fix): Fix to set thread local flag. + (m68k_elf_suffix): New static function; helper for m68k_elf_cons. + +2009-02-03 Vince Weaver <vince@csl.cornell.edu> + + PR 9779 + * config/tc-pdp11.c (parse_op_no_deferred): Fix handling of + indexed addressing for symbolic expressions. + +2009-01-29 Mark Mitchell <mark@codesourcery.com> + + * config/tc-arm.c (BAD_SP): Define. + (s_arm_unwind_fnstart): Use REG_SP. + (s_arm_unwind_setfp): Likewise. + (reject_bad_reg): New macro. + (do_co_reg): Check for bad registers. + (do_co_reg2c): Likewise. + (do_srs): Use REG_SP. + (do_t_add_sub): Check for bad registers. + (do_t_adr): Likewise. + (do_t_arit3): Likewise. + (do_t_arit3c): Likewise. + (do_t_bfc): Likewise. + (do_t_bfi): Likewise. + (do_t_bfx): Likewise. + (do_t_blx): Likewise. + (do_t_bx): Likewise. + (do_t_bxj): Likewise. + (do_t_clz): Likewise. + (do_t_div): Likewise. + (do_t_mla): Likewise. + (do_t_mlal): Likewise. + (do_t_mov_cmp): Likewise. + (do_t_mov16): Likewise. + (do_t_mvn_tst): Likewise. + (do_t_mrs): Likewise. + (do_t_msr): Likewise. + (do_t_mul): Likewise. + (do_t_mull): Likewise. + (do_t_orn): Likewise. + (do_t_pkhbt): Likewise. + (do_t_pld): Likewise. + (do_t_rbit): Likewise. + (do_t_rev): Likewise. + (do_t_rrx): Likewise. + (do_t_rsb): Likewise. + (do_t_shift): Likewise. + (do_t_simd): Likewise. + (do_t_ssat): Likewise. + (do_t_ssat16): Likewise. + (do_t_sxtah): Likewise. + (do_t_sxth): Likewise. + (do_t_tb): Likewise. + (do_t_usat): Likewise. + (do_t_usat16): Likewise. + (nysn_insert_sp): Use REG_SP. + +2009-01-29 Mark Mitchell <mark@codesourcery.com> + + * config/tc-arm.c (do_t_orn): New function. + (do_t_rrx): Likewise. + (insns): Add orn and rrx. + +2009-01-29 Mark Mitchell <mark@codesourcery.com> + + * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax, + uasx, uhasx, uhsx, uqasx, uqsax, usax. + +2009-01-29 Mark Mitchell <mark@codesourcery.com> + + * config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub, + qdsub in Thumb-2 mode. + +2009-01-29 Paul Brook <paul@codesourcery.com> + Mark Mitchell <mark@codesourcery.com> + + * config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding + of MUL when possible. + +2009-01-29 Nick Clifton <nickc@redhat.com> + + * config/tc-mep.h (DIFF_EXPR_OK): Do not define. + +2009-01-29 Nathan Sidwell <nathan@codesourcery.com> + Catherine Moore <clm@codesourcery.com? + + * doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte, + .4byte, .8byte, .bss, .even, .extend, .ldouble, .packed, .secrel32 + directives. + +2009-01-27 Nick Clifton <nickc@redhat.com> + + * config/tc-mips.c (append_insn): Cope with a complex reloc + sequence containing an unsupported reloc type. + (enum options): Replace computed #define's constants for option + numbers with this enum. + (struct md_longopts): Use the enum. Allow OPTION_32 in a non-ELF + environment. + (md_parse_option): Allow -32 in a non-ELF environment. + +2009-01-26 Andrew Stubbs <ams@codesourcery.com> + + * config/tc-arm.c (attributes_set_explicitly): New array. + (s_arm_eabi_attribute): Check return value from s_vendor_attribute. + (cpu_arch): Add ARM_ARCH_V5T. + (aeabi_set_attribute_int): New function. + (aeabi_set_attribute_string): New function. + (aeabi_set_public_attributes): Set attributes according to the user's + intentions, rather than the actual state of the binary. + Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of + bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string. + Support WMMXv2. Use attribute names instead of numbers. + * read.c (s_vendor_attribute): Change return type to int. + Return the tag number that was set. + * read.h (s_vendor_attribute): Change return type to int. + +2009-01-26 Eric B. Weddington <eric.weddington@atmel.com> + + PR 9789 + * config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name. + * doc/c-avr.texi: Likewise. + +2009-01-23 Nathan Sidwell <nathan@codesourcery.com> + + * doc/c-arm.texi (): Document -mwarn-deprecated. + * config/tc-arm.c (WARN_DEPRECATED): Remove. Replace with ... + (warn_on_deprecated): ... this. + (opcode_lookup, md_assemble): Check it before warning. + (arm_opts): Add m[no-]warn-deprecated. + (md_parse_option): Replace WARN_DEPRECATED with + warn_on_deprecated. + +2009-01-23 Andreas Schwab <schwab@suse.de> + + * config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast + arguments to macro_build to match format. + + * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define. + * config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define. + +2009-01-19 Nick Clifton <nickc@redhat.com> + + * config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for + ELF format ARM targets. + * config/tc-arm.c (arm_convert_symbolic_attribute): Likewise. + +2009-01-19 Nick Clifton <nickc@redhat.com> + + * configure.tgt: Restore alpha sorting to object format switch + statement. + +2009-01-19 Andrew Stubbs <ams@codesourcery.com> + + * read.c (s_vendor_attribute): Allow for unknown flag bits in type. + +2009-01-16 Mark Shinwell <shinwell@codesourcery.com> + + * config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5. + * config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise. + +2009-01-16 Andrew Stubbs <ams@codesourcery.com> + Daniel Jacobowitz <dan@codesourcery.com> + + * config/tc-arm.c (arm_copy_symbol_attributes): New function. + * config/tc-arm.h (arm_copy_symbol_attributes): New prototype. + (CONVERT_SYMBOLIC_ATTRIBUTE): New define. + * read.c (s_vendor_attribute): Add support for symbolic tag names. + Improve string parser. + * doc/c-arm.texi (ARM Machine Directives): Document + .eabi_attribute symbolic tag names. + +2009-01-16 Alan Modra <amodra@bigpond.net.au> + + * configure.in (commonbfdlib): Delete. + * configure: Regenerate. + * po/POTFILES.in: Regenerate. + +2009-01-15 Andrew Stubbs <ams@codesourcery.com> + Julian Brown <julian@codesourcery.com> + + * config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11. + +2009-01-15 Andrew Stubbs <ams@codesourcery.com> + + * read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat -> + bfd_elf_add_obj_attr_int_string. + +2009-01-15 Douglas B Rupp <rupp@gnat.com> + + * configure.tgt(ia64-*-*vms*): New target. + * dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern. + * tc.h (md_number_to_chars): Declare iff undefined. + * config/obj-elf.c (obj_elf_change_section): Change type of arg + attr to bfd_vma. + (obj_elf_parse_section_letters): Return a bfd_vma. Change type of + variables attr, md_attr to bfd_vma. + (obj_elf_section_word): Likewise. + (obj_elf_section): Change type of variable attr to bfd_vma + * config/obj-elf.h (obj_elf_change_section): Change type of arg + attr to bfd_vma. + * config/tc-ia64.c (bfdver.h,time.h): Include. + (ia64_elf_section_letter): Now returns a bfd_vma. + Handle VMS specific attributes. + (ia64_elf_section_flags): Arg attr now a bfd_vma. + (ia64_init): Don't turn on dependency checking for VMS. + (ia64_target_format): Check for VMS flag bit. + (do_alias): Hande decc$ functions. + (get_vms_time): New function. + (ia64_vms_note): New function. + * config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma. + (ia64_elf_section_flags): Arg attr now a bfd_vma. + (tc_init_after_args): Define for VMS. + * config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma. + (alpha_elf_section_flags): Change type of arg attr to bfd_vma. + * config/tc-alpha.h: Likewise. + * config/tc-i386.c (x86_64_section_letter): Return a bfd_vma. + (x86_64_section_word): Return a bfd_vma. + * config/tc-i386.h: Likewise. + * config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg + attr to bfd_vma. + * config/tc-ip2k.h: Likewise. + * config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma. + (mep_elf_section_flags): Change type of arg attr to bfd_vma. + * config/tc-mep.h: Likewise. + * config/tc-ppc.c (ppc_section_letter): Return a bfd_vma. + (ppc_section_word): Return a bfd_vma. + (ppc_section_flags): Change type of arg attr to bfd_vma. + * config/tc-ppc.h: Likewise. + * config/tc-frv.h: Provide a prototype for frv_md_number_to_chars. + * config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR, + DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME): + New file with new macros + * dwarf2dbg.c (get_filenum, out_file_list): Default and call new + macros. + +2009-01-15 Nick Clifton <nickc@redhat.com> + + PR 9722 + * config/tc-arm.c (do_t_nop): Check for availability of Thumb2 + instructions before generating a Thumb2 nop. + +2009-01-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * config/tc-s390.h: Define LOCAL_LABEL_PREFIX. + +2009-01-12 Alan Modra <amodra@bigpond.net.au> + + * config/tc-spu.c (md_pseudo_table): Add "brinfo". + (brinfo): New var. + (md_assemble): Poke brinfo into branch instructions. + (spu_brinfo): New function. + (md_apply_fix): Don't assume insn fields start off at zero, mask + them to remove possible brinfo. + +2009-01-10 H.J. Lu <hongjiu.lu@intel.com> + + * doc/c-i386.texi: Reformat. + +2009-01-10 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (cpu_arch): Add corei7, .clflush and + .syscall. + (i386_align_code): Handle PROCESSOR_COREI7. + (md_show_usage): Add corei7, clflush and syscall. + (i386_target_format): Replace cpup4 with cpuclflush. + + * config/tc-i386.h (processor_type): Add PROCESSOR_COREI7. + + * doc/c-i386.texi: Document corei7, clflush and syscall. + +2009-01-09 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (cpu_arch): Add .rdtscp. + (md_show_usage): Display rdtscp. + + * doc/c-i386.texi: Document rdtscp. + +2009-01-09 Peter Bergner <bergner@vnet.ibm.com> + + * config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test. + Test the new "deprecated" opcode field. + +2009-01-07 Sterling Augustine <sterling@tensilica.com> + + * config/tc-xtensa.c (produce_flix): New. + (option_flix, optoin_no_generate_flix, option_no_flix) Define. + (md_longopts): Add support for them. + (md_parse_option): Likewise. + (md_show_usage): Add help message. + (finish_vinsn): Don't allow multi-slot flix when produce_flix + option is set to FLIX_NONE. + * config/xtensa-relax.c (transition_applies): Only relax to + flix branches when produce_flix equals FLIX_ALL. + * config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE + FLIX_NONE): New. + (produce_flix): Declare. + +2009-01-06 Chao-ying Fu <fu@mips.com> + + * config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff. + Use strncmp to match jalr and jalr.hb. + Fix a typo. + +2009-01-05 H.J. Lu <hongjiu.lu@intel.com> + + AVX Programming Reference (December, 2008) + * config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction + support. Don't swap REG and NDS for FMA. + +2009-01-02 Matthias Klose <doko@ubuntu.com> + + * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf + behaviour. + +For older changes see ChangeLog-2008 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 6fe35b05..4a2a6da 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,1768 +1,5 @@ -2009-12-19 Doug Evans <dje@sebabeach.org> - * gas/xc16x/xc16x.exp (*): Add missing " in timeout cases. - -2009-12-19 Maciej W. Rozycki <macro@codesourcery.com> - - * gas/mips/eret-2.s: Add an instruction to fill a branch delay - slot. - * gas/mips/eret-2.d: Adjust accordingly. - -2009-12-19 Maciej W. Rozycki <macro@codesourcery.com> - - * gas/mips/aent.d: New test. - * gas/mips/aent.s: Source for the new test. - * gas/mips/mips.exp: Run it. - -2009-12-17 Nick Clifton <nickc@redhat.com> - - PR binutils/10924 - * gas/arm/unpredictable.s: Add more unpredictable instructions. - * gas/arm/unpredictable.d: Add expected disassemblies. - -2009-12-14 Nick Clifton <nickc@redhat.com> - - PR binutils/10924 - * gas/arm/unpredictable.s: New test case - checks the disassembly - of instructions with unpredictable behaviour. - * gas/arm/unpredictable.d: New file - expected disassembly. - -2009-12-11 Quentin Neill <quentin.neill@amd.com> - - * gas/i386/fma4.d: Add test cases. - * gas/i386/fma4.s: Add test cases. - * gas/i386/x86-64-fma4.d: Add test cases. - * gas/i386/x86-64-fma4.s: Add test cases. - -2009-12-07 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/11037 - * gas/i386/intelpic.s: Add testcases. - * gas/i386/intelpic.d: Updated. - -2009-12-03 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/i386.exp: Run x86-64-fxsave and x86-64-fxsave-intel. - - * gas/i386/rex.d: Updated for fxsave64. - - * gas/i386/x86-64-fxsave-intel.d: New. - * gas/i386/x86-64-fxsave.d: Likewise. - * gas/i386/x86-64-fxsave.s: Likewise. - -2009-12-02 Nick Clifton <nickc@redhat.com> - Richard Earnshaw <rearnsha@arm.com> - - PR gas/11013 - * gas/arm/arch7em.d: Update expected disassembly. - * gas/arm/thumb32.d: Likewise. - -2009-11-17 Quentin Neill <quentin.neill@amd.com> - Sebastian Pop <sebastian.pop@amd.com> - - * gas/i386/x86-64-fma4.d: Add new patterns. - * gas/i386/x86-64-fma4.s: Same. - * gas/i386/x86-64-xop.d: Adjusted. - -2009-11-19 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/lock-1.s: Add cmpxchg16b test. - * gas/i386/lock-1-intel.d: Updated. - * gas/i386/lock-1.d: Likewise. - -2009-11-19 Nick Clifton <nickc@redhat.com> - - PR binutils/10924 - * gas/arm/arch4t-eabi.d: Restore previous expected dissambly of - instructions using Immediate Offset addressing with an offset of - zero. - * gas/arm/arch4t.d: Likewise. - * gas/arm/arm7t.d: Likewise. - * gas/arm/xscale.d: Likewise. - * gas/arm/wince-inst.d: Remove 'p' suffix from cmp, cmn, teq and - tst instructions. - -2009-11-18 Sebastian Pop <sebastian.pop@amd.com> - - * gas/i386/x86-64-xop.d: Update patterns. - -2009-11-18 Sebastian Pop <sebastian.pop@amd.com> - - * gas/i386/cvt16.d: Removed. - * gas/i386/cvt16.s: Removed. - * gas/i386/x86-64-cvt16.d: Removed. - * gas/i386/x86-64-cvt16.s: Removed. - * gas/i386/i386.exp: Remove cvt16 and x86-64-cvt16 tests. - -2009-11-18 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/rex.d: Remove suffix on fxsave. - -2009-11-17 Sebastian Pop <sebastian.pop@amd.com> - Quentin Neill <quentin.neill@amd.com> - - * gas/i386/i386.exp: Run xop and cvt16 in 32-bit mode. - Run x86-64-xop and x86-64-cvt16 in 64-bit mode. - * gas/i386/lwp.d: Update name of the testcase. - * gas/i386/x86-64-xop.d: New. - * gas/i386/x86-64-xop.s: New. - * gas/i386/xop.d: New. - * gas/i386/xop.s: New. - * gas/i386/cvt16.d: New. - * gas/i386/cvt16.s: New. - -2009-11-17 Paul Brook <paul@codesourcery.com> - Daniel Jacobowitz <dan@codesourcery.com> - - * gas/arm/attr-march-armv7em.d: New test. - * gas/arm/arch7em-bad.d: New test. - * gas/arm/arch7em-bad.l: New test. - * gas/arm/arch7em.d: New test. - * gas/arm/arch7em.s: New test. - -2009-11-17 Nick Clifton <nickc@redhat.com> - - * gas/arm/vfma1.d: Only run on ELF based targets. - -2009-11-17 Nick Clifton <nickc@redhat.com> - - PR binutils/10924 - * gas/arm/arch4t-eabi.d: Update expected disassembly. - * gas/arm/arch4t.d: Likewise. - * gas/arm/archv6t2.d: Likewise. - * gas/arm/arm7t.d: Likewise. - * gas/arm/inst.d: Likewise. - * gas/arm/xscale.d: Likewise. - -2009-11-17 Nick Clifton <nickc@redhat.com> - - * gas/rx/macros.inc (creg): Remove cpen. - * gas/rx/mvfc.d: Remove expected uses of cpen register. - * gas/rx/mvtc.d: Likewise. - * gas/rx/popc.d: Likewise. - * gas/rx/pushc.d: Likewise. - -2009-11-16 Viktor Kutuzov <vkutuzov@accesssoftek.com> - - * gas/arm/vfp1xD.s: Add vmrs and vmsr instructions. - * gas/arm/vfp1xD.d: Update expected disassembly. - -2009-11-13 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/lock-1-intel.d: Updated. - * gas/i386/lock-1.d: Likewise. - * gas/i386/lock-1.s: Likewise. - * gas/i386/lockbad-1.l: Likewise. - * gas/i386/lockbad-1.s: Likewise. - * gas/i386/x86-64-lock-1-intel.d: Likewise. - * gas/i386/x86-64-lock-1.d: Likewise. - * gas/i386/x86-64-lock-1.s: Likewise. - * gas/i386/x86-64-lockbad-1.l: Likewise. - * gas/i386/x86-64-lockbad-1.s: Likewise. - -2009-11-13 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/rex.s: Add a test for VEX insn. - * gas/i386/rex.d: Updated. - -2009-11-13 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/i386.exp: Run long-1, long-1-intel, x86-64-long-1, - and x86-64-long-1-intel. - - * gas/i386/long-1-intel.d: New. - * gas/i386/long-1.d: Likewise. - * gas/i386/long-1.s: Likewise. - * gas/i386/x86-64-long-1-intel.d: Likewise. - * gas/i386/x86-64-long-1.d: Likewise. - * gas/i386/x86-64-long-1.s: Likewise. - - * gas/i386/jump16.d: Updated for prefix processing. - * gas/i386/naked.d: Likewise. - * gas/i386/nops-1-core2.d: Likewise. - * gas/i386/nops-1-i686.d: Likewise. - * gas/i386/nops-3-i686.d: Likewise. - * gas/i386/nops-4-i686.d: Likewise. - * gas/i386/nops-5-i686.d: Likewise. - * gas/i386/nops-5.d: Likewise. - * gas/i386/prefix.d: Likewise. - * gas/i386/rep.d: Likewise. - * gas/i386/string-ok.d: Likewise. - * gas/i386/x86-64-addr32-intel.d: Likewise. - * gas/i386/x86-64-addr32.d: Likewise. - * gas/i386/x86-64-cbw-intel.d: Likewise. - * gas/i386/x86-64-cbw.d: Likewise. - * gas/i386/x86-64-io-intel.d: Likewise. - * gas/i386/x86-64-io-suffix.d: Likewise. - * gas/i386/x86-64-io.d: Likewise. - * gas/i386/x86-64-lwp.d: Likewise. - * gas/i386/x86-64-nops-1-core2.d: Likewise. - * gas/i386/x86-64-nops-1-nocona.d: Likewise. - * gas/i386/x86-64-nops-1.d: Likewise. - * gas/i386/x86-64-nops-2.d: Likewise. - * gas/i386/x86-64-nops-3.d: Likewise. - * gas/i386/x86-64-nops-4-core2.d: Likewise. - * gas/i386/x86-64-nops-4.d: Likewise. - * gas/i386/x86-64-nops-5-k8.d: Likewise. - * gas/i386/x86-64-nops-5.d: Likewise. - * gas/i386/x86-64-rep.d: Likewise. - * gas/i386/x86-64-stack-intel.d: Likewise. - * gas/i386/x86-64-stack-suffix.d: Likewise. - * gas/i386/x86-64-stack.d: Likewise. - -2009-11-12 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/i386.exp: Run lock-1, lock-1-intel, lockbad-1, - x86-64-lock-1, x86-64-lock-1-intel and x86-64-lockbad-1. - - * gas/i386/lock-1-intel.d: New. - * gas/i386/lock-1.d: Likewise. - * gas/i386/lock-1.s: Likewise. - * gas/i386/lockbad-1.l: Likewise. - * gas/i386/lockbad-1.s: Likewise. - * gas/i386/x86-64-lock-1-intel.d: Likewise. - * gas/i386/x86-64-lock-1.d: Likewise. - * gas/i386/x86-64-lock-1.s: Likewise. - * gas/i386/x86-64-lockbad-1.l: Likewise. - * gas/i386/x86-64-lockbad-1.s: Likewise. - -2009-11-12 Daniel Jacobowitz <dan@codesourcery.com> - - * gas/arm/copro.d, gas/arm/fp-save.d, gas/arm/float.d, - gas/arm/fpa-mem.d: Update for removed generic coprocessor instructions - and expanded PC-relative offsets. - -2009-11-11 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/prefix.d: Swap order of ADDR and REP prefixes. - * gas/i386/rep.d: Likewise. - * gas/i386/x86-64-rep.d: Likewise. - -2009-11-06 Sebastian Pop <sebastian.pop@amd.com> - - * gas/i386/x86-64-lwp.s: Updated to also contain patterns - with r[8-15] registers. - * gas/i386/x86-64-lwp.d: Same. - -2009-11-05 Sebastian Pop <sebastian.pop@amd.com> - Quentin Neill <quentin.neill@amd.com> - - * gas/i386/i386.exp: Run x86-64-lwp in 64-bit mode, - run lwp in 32-bit mode. - * gas/i386/x86-64-lwp.d: New. - * gas/i386/x86-64-lwp.s: New. - * gas/i386/lwp.d: New. - * gas/i386/lwp.s: New. - -2009-11-05 Nick Clifton <nickc@redhat.com> - - * gas/i386/i386.exp (space1): Move test inside check for x86 - target. - -2009-11-04 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/876 - * gas/i386/i386.exp: Run space1. - - * gas/i386/space1.l: New. - * gas/i386/space1.s: Likewise. - -2009-11-03 Paul Brook <paul@codesourcery.com> - - * gas/arm/vfp-neon-syntax.d: Update expected results. - * gas/arm/vfp-neon-syntax_t2.d: Update expected results. - -2009-11-02 Paul Brook <paul@codesourcery.com> - - * gas/arm/attr-mfpu-vfpv4.d: New test. - * gas/arm/attr-mfpu-vfpv4-d16.d: New test. - * gas/arm/neon-fma-cov.d: New test. - * gas/arm/neon-fma-cov.s: New test. - * gas/arm/vfp-fma-inc.s: New test. - * gas/arm/vfp-fma-arm.d: New test. - * gas/arm/vfp-fma-arm.s: New test. - * gas/arm/vfp-fma-thumb.d: New test. - * gas/arm/vfp-fma-thumb.s: New test. - * gas/arm/vfma1.d: New test. - * gas/arm/vfma1.s: New test. - * gas/arm/vfpv3xd.d: New test. - * gas/arm/vfpv3xd.s: New test. - -2009-10-29 Sebastian Pop <sebastian.pop@amd.com> - - * gas/i386/fma4.d: Updated patterns. - * gas/i386/x86-64-fma4.d: Same. - -2009-10-29 Paul Brook <paul@codesourcery.com> - - * gas/arm/vfp-neon-syntax.d: Update expected results. - * gas/arm/vfp-neon-syntax_t2.d: Update expected results. - -2009-10-28 Alan Modra <amodra@bigpond.net.au> - - * gas/i386/intelpic.d: Correct. - -2009-10-25 Arnold Metselaar <arnold.metselaar@planet.nl> - - * gas/z80/equ.d, gas/z80/equ.s: Added test of parsing equ directives. - * gas/z80/z80.exp: Run it. - - * gas/z80/redef.d: Expect little endian output only. - -2009-10-20 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/10775 - * gas/i386/immed64.d: Updated. - * gas/i386/l1om.d: Likewise. - * gas/i386/x86-64-disp-intel.d: Likewise. - * gas/i386/x86-64-disp.d: Likewise. - * gas/i386/x86_64.d: Likewise. - -2009-10-19 Doug Evans <dje@sebabeach.org> - - * gas/xc16x/shlrol.s: Specify constant shift amount. - * gas/xc16x/xc16x.exp (do_xc16x_shlrol): Update expected output. - -2009-10-18 Vincent Rivière <vincent.riviere@freesbee.fr> - - * gas/all/weakref1u.d: Exclude more aout targets. - * gas/m68k/br-isaa.d: Likewise. - * gas/m68k/br-isab.d: Likewise. - * gas/m68k/br-isac.d: Likewise. - -2009-10-15 Alan Modra <amodra@bigpond.net.au> - - PR gas/1491 - * gas/macros/dot.s: Don't start macro invocations is first column. - * gas/macros/dot.l: Update. - * gas/macros/macros.exp: Run dot test on more targets. - -2009-10-13 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/10740 - * gas/i386/jump.s: Add new tests. - * gas/i386/jump16.s: Likewise. - - * gas/i386/jump.d: Updated. - * gas/i386/jump16.d: Likewise. - -2009-10-13 Vincent Riviere <vincent.riviere@freesbee.fr> - - PR gas/3041 - * gas/m68k/all.exp: Added "p3041data". - * gas/m68k/p3041.d, gas/m68k/p3041.s: Added tests of weak references - from text section to all possible sections. - * gas/m68k/p3041data.d, gas/m68k/p3041data.s: New test. Check weak - references from data section. - -2009-10-08 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/10704 - * gas/i386/intelok.s: Move 2 PIC tests to ... - * gas/i386/intelpic.s: Here. - - * gas/i386/intelok.d: Updated. - * gas/i386/intelpic.d: Likewise. - -2009-10-07 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/10704 - * gas/i386/intelok.s: Add 2 new tests. - * gas/i386/intelok.d: Updated. - -2009-10-02 Peter Bergner <bergner@vnet.ibm.com> - - * gas/ppc/476.s: New test. - * gas/ppc/476.d: Likewise. - * gas/ppc/ppc.exp: Run the 476 test. - -2009-10-01 Peter Bergner <bergner@vnet.ibm.com> - - * gas/ppc/a2.d: Rename "ppca2" to "a2". - -2009-09-29 DJ Delorie <dj@redhat.com> - - * gas/rx: New directory. - * gas/rx/*: New set of test cases. - * gas/elf/section2.e-rx: New expected output file. - * gas/all/gas.exp: Add support for RX target. - * gas/elf/elf.exp: Likewise. - * gas/lns/lns.exp: Likewise. - * gas/macros/macros.exp: Likewise. - -2009-09-29 Peter Bergner <bergner@vnet.ibm.com> - - * gas/ppc/vsx.s ("lxsdux", "lxvd2ux", "lxvw4ux", "stxsdux", - "stxvd2ux", "stxvw4ux"): Remove tests. - * gas/ppc/vsx.d: Likewise. - * gas/ppc/power7.s: Likewise. - * gas/ppc/power7.d: Likewise. - -2009-09-24 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/10677 - * gas/i386/i386.exp: Run x86-64-localpic. - - * gas/i386/x86-64-localpic.d: New. - * gas/i386/x86-64-localpic.s: Likewise. - -2009-09-23 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/localpic.d: Updated. - -2009-09-23 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/i386.exp: Run localpic. - - * gas/i386/localpic.d: New. - * gas/i386/localpic.s: Likewise. - -2009-09-23 Alan Modra <amodra@bigpond.net.au> - - * gas/arm/thumbver.d: Tolerate some whitespace differences. - * gas/elf/elf.exp: Likewise. - * gas/elf/section2.e: Likewise. - * gas/elf/section2.e-armeabi: Likewise. - * gas/elf/section2.e-armelf: Likewise. - * gas/elf/section2.e-m32r: Likewise. - * gas/elf/section2.e-mips: Likewise. - * gas/elf/section2.e-miwmmxt: Likewise. - * gas/elf/section2.e-score: Likewise. - * gas/elf/section2.e-xtensa: Likewise. - * gas/elf/type-noifunc.e: Likewise. - * gas/elf/type.e: Likewise. - * gas/ia64/alias-ilp32.d: Likewise. - * gas/ia64/alias.d: Likewise. - * gas/ia64/global.d: Likewise. - * gas/mips/mips16-vis-1.d: Likewise. - * gas/mmix/bspec-1.d: Likewise. - * gas/mmix/byte-1.d: Likewise. - * gas/mmix/comment-1.d: Likewise. - * gas/mmix/loc-1.d: Likewise. - * gas/mmix/loc-2.d: Likewise. - * gas/mmix/loc-3.d: Likewise. - * gas/mmix/loc-4.d: Likewise. - * gas/mmix/loc-5.d: Likewise. - * gas/mmix/loc-6.d: Likewise. - * gas/mmix/loc-7.d: Likewise. - -2009-09-22 Alan Modra <amodra@bigpond.net.au> - - * gas/ppc/a2.d: Match PPC64 relocs. - -2009-09-21 Maciej W. Rozycki <macro@linux-mips.org> - - * lib/gas-defs.exp (gas_test_error): Mark internal error/assertion - failures seen in output as fails. Also record output being - matched for fails. - -2009-09-21 Maciej W. Rozycki <macro@linux-mips.org> - - * gas/mips/eret-1.d: Adjust regexps for robustness. - * gas/mips/eret-2.d: Likewise. - * gas/mips/eret-3.d: Likewise. - * gas/mips/eret-1.s: Reformat for readability. Add a label - at the beginning. - * gas/mips/eret-2.s: Add a label at the beginning. - -2009-09-21 Maciej W. Rozycki <macro@linux-mips.org> - - * gas/mips/eret-1.s: Add trailing padding. - * gas/mips/eret-2.s: Likewise. - * gas/mips/eret-3.s: Likewise. - * gas/mips/eret-1.d: Adjust accordingly. Force a 32-bit ABI. - * gas/mips/eret-2.d: Likewise. - * gas/mips/eret-3.d: Likewise. - -2009-09-21 Maciej W. Rozycki <macro@linux-mips.org> - - * gas/mips/mips.exp: Fix a typo. - -2009-09-21 Ben Elliston <bje@au.ibm.com> - Peter Bergner <bergner@vnet.ibm.com> - - * gas/ppc/a2.s: New. - * gas/ppc/a2.d: Likewise. - * gas/ppc/ppc.exp: Run the a2 dump test. - -2009-09-21 Ben Elliston <bje@au.ibm.com> - - * gas/ppc/e500mc.d: Remove blank line at the end of file. - -2009-09-15 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/disp.s: Add an offset test. - * gas/i386/x86-64-disp.s: Likewise. - - * gas/i386/intelbad.s: Comment out "byte ptr [1]" test. - - * gas/i386/disp.d: Updated. - * gas/i386/disp-intel.d: Likewise. - * gas/i386/intelbad.l: Likewise. - * gas/i386/x86-64-disp.d: Likewise. - * gas/i386/x86-64-disp-intel.d: Likewise. - -2009-09-14 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/10637 - * gas/i386/disp.s: Add tests for Intel syntax. - * gas/i386/x86-64-disp.s: Likewise. - - * gas/i386/disp.d: Updated. - * gas/i386/intelok.d: Likewise. - * gas/i386/x86-64-disp.d: Likewise. - - * gas/i386/disp-intel.d: New. - * gas/i386/x86-64-disp-intel.d: Likewise. - - * gas/i386/i386.exp: Run disp-intel and x86-64-disp-intel. - -2009-09-14 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/merom.[ds]: Renamed to ... - * gas/i386/ssse3.[ds]: This. - - * gas/i386/nops-1-merom.d: Renamed to ... - * gas/i386/nops-1-core2.d: This. - - * gas/i386/nops-2-merom.d: Renamed to ... - * gas/i386/nops-2-core2.d: This. - - * gas/i386/prescott.[ds]: Renamed to ... - * gas/i386/sse3.[ds]: This. - - * gas/i386/x86-64-merom.[ds]: Renamed to ... - * gas/i386/x86-64-ssse3.[ds]: This. - - * gas/i386/x86-64-nops-1-merom.d: Renamed to ... - * gas/i386/x86-64-nops-1-core2.d: This. - - * gas/i386/x86-64-prescott.[ds]: Renamed to ... - * gas/i386/x86-64-sse3.[ds]: This. - - * gas/i386/i386.exp: Updated. - -2009-09-14 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/10636 - * gas/i386/disp.d: New. - * gas/i386/disp.s: Likewise. - * gas/i386/x86-64-disp.d: Likewise. - * gas/i386/x86-64-disp.s: Likewise. - - * gas/i386/i386.exp: Run disp and x86-64-disp. - - * gas/i386/x86-64-addr32.s: Add high 32bit displacement tests. - - * gas/i386/x86-64-addr32.d: Updated. - * gas/i386/x86-64-addr32-intel.d: Likewise. - * gas/i386/x86-64-inval.l: Likewise. - * gas/i386/x86-64-prescott.d: Likewise. - - * gas/i386/x86-64-inval.s: Add invalid displacement tests. - - * gas/i386/x86-64-prescott.s: Replace 0x90909090 displacement - with 0x909090. - -2009-09-13 Richard Sandiford <rdsandiford@googlemail.com> - - * gas/mips/jalr2.s, gas/mips/jalr2.d: New test. - * gas/mips/jal-svr4pic.d: Don't expect R_MIPS_JALRs to be reduced. - * gas/mips/jal-xgot.d: Likewise. - * gas/mips/mips-abi32-pic2.d: Likewise. - * gas/mips/mips.exp: Run it. - -2009-09-13 Richard Sandiford <rdsandiford@googlemail.com> - - * gas/mips/mips16-dwarf2-n32.d: Expect odd addresses. - -2009-09-11 Hans-Peter Nilsson <hp@bitrange.com> - - PR gas/10623 - * gas/mmix/err-swym1.s, gas/mmix/swym-opreg1.d, - gas/mmix/swym-opreg1.s, gas/mmix/swym-opreg2.d, - gas/mmix/swym-opreg2.s: New tests. - * gas/mmix/odd-1.d: Adjust for reloc change. - -2009-09-11 Alan Modra <amodra@bigpond.net.au> - - * gas/lns/lns-common-1.s: Use two nops between each .loc. - * gas/lns/lns.exp: Don't exclude d10v. - -2009-09-09 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * gas/sh/sh64/syntax-1.s: Regenerate. - -2009-09-08 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * gas/sh/basic.exp: Add -big to ASFLAGS for sh*l*-*-netbsdelf*. - -2009-09-08 Alan Modra <amodra@bigpond.net.au> - - * gas/d30v/serial2.l: Adjust position of page break. - * gas/lns/lns-common-1-alt.d: Match 2009-04-24 change. - * gas/mt/ms1-16-003.d: Correct reloc name. - * gas/mt/relocs.d: Elide incorrect file format strings. - -2009-09-08 Alan Modra <amodra@bigpond.net.au> - - * gas/all/gas.exp (do_comment): Don't run on m32c. - * gas/all/align.d: Likewise. - * gas/all/incbin.d: Likewise. - * gas/macros/semi.d: Likewise. - * gas/elf/ifunc-1.d: Don't run on alpha. - -2009-09-04 Jie Zhang <jie.zhang@analog.com> - - * gas/bfin/arithmetic.s, gas/bfin/arithmetic.d: Add check - for (IU) option for multiply and multiply-accumulate to - data register instructon. - -2009-09-03 Jie Zhang <jie.zhang@analog.com> - - * gas/bfin/parallel5.s: New test. - * gas/bfin/error.exp: New test. - -2009-09-03 Jie Zhang <jie.zhang@analog.com> - - * gas/bfin/line_number.l, gas/bfin/line_number.s: New test. - * gas/bfin/bfin.exp: Add the new test. - -2009-09-03 Jie Zhang <jie.zhang@analog.com> - - * gas/bfin/expected_move_errors.s, - gas/bfin/expected_move_errors.l: Add "LC1 = I0;". - * gas/bfin/move.s, gas/bfin/move.d: Remove "CYCLES = A0.W". - -2009-09-03 Jie Zhang <jie.zhang@analog.com> - - * gas/bfin/expected_comparison_errors.l: Expect error on Line 13. - -2009-09-03 Jie Zhang <jie.zhang@analog.com> - - * gas/bfin/loop.s, gas/bfin/loop.d: New test. - * gas/bfin/loop2.s, gas/bfin/loop2.d: New test. - * gas/bfin/loop3.s, gas/bfin/loop3.d: New test. - * gas/bfin/bfin.exp: Add the new tests. - -2009-09-02 Jie Zhang <jie.zhang@analog.com> - - From Bernd Schmidt <bernd.schmidt@analog.com> - * gas/bfin/expected_errors.l, gas/bfin/expected_errors.s: - Check error messages for invalid load/store insns. - -2009-09-01 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/att-regs.s: Add ymm tests for 16bit and 64bit. - * gas/i386/intel-regs.s: Likewise. - - * gas/i386/att-regs.d: Updated. - * gas/i386/intel-regs.d: Likewise. - -2009-09-01 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/att-regs.s: Remove a tab. - -2009-09-01 Jie Zhang <jie.zhang@analog.com> - - * gas/bfin/expected_comparison_errors.s: Add more cases. - * gas/bfin/expected_comparison_errors.l: Update accordingly. - -2009-09-01 Jie Zhang <jie.zhang@analog.com> - - * gas/bfin/stack2.s: Add pop multiple instruction with a label - on the same line. - * gas/bfin/stack2.d: Adjust accordingly. - -2009-08-31 Jan Beulich <jbeulich@novell.com> - - * gas/elf/section5.l: Remove no longer issued warning pattern. - -2009-08-29 Matt Fleming <matt@console-pimps.org> - - * gas/sh/sign-extension.d: New file. - * gas/sh/sign-extension.s: New file. - * gas/sh/basic.exp: Run new test. - -2009-08-28 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/l1om.d: Check elf64-l1om format. - -2006-08-11 Bernd Schmidt <bernd.schmidt@analog.com> - - * gas/bfin/parallel.s: Add more test cases. - * gas/bfin/parallel.d: Update accordingly. - * gas/bfin/resource_conflict.l: New test. - * gas/bfin/resource_conflict.s: New test. - * gas/bfin/bfin.exp: Add resource_conflict. - -2009-08-11 Nick Clifton <nickc@redhat.com> - - PR 10443 - * gas/arm/t16-bad.l: Update expected messages for moves with - shifted operands. - -2009-08-10 Daniel Gutson <dgutson@codesourcery.com> - - PR gas/10479 - * gas/arm/sp-pc-usage-t.d: New test case. - * gas/arm/sp-pc-usage-t.s: New file. - -2006-08-09 Bernd Schmidt <bernd.schmidt@analog.com> - - From Mike Frysinger <michael.frysinger@analog.com> - * gas/bfin/reloc.d: Adjust for the renamed relocations. - -2009-08-07 Daniel Jacobowitz <dan@codesourcery.com> - - * gas/arm/mapping2.s: Test code after .ident. - -2009-08-05 Chao-ying Fu <fu@mips.com> - - * gas/mips/jal-svr4pic.d, gas/mips/jal-xgot.d, - gas/mips/mips-abi32-pic2.d: Add R_MIPS_JALR relocations after jalr. - -2009-08-04 Nathan Sidwell <nathan@codesourcery.com> - - * gas/arm/missing.s: New. - * gas/arm/missing.d: New. - * gas/arm/missing.l: New. - -2009-07-15 Daniel Gutson <dgutson@codesourcery.com> - Daniel Jacobowitz <dan@codesourcery.com> - - * gas/arm/mapdir.d, gas/arm/mapdir.s: New files. - * gas/arm/mapping.d: Adapted to new symbols generation. - * gas/arm/mapping2.d: New test case. - * gas/arm/mapping2.s: New file. - * gas/arm/mapping3.d: New test case. - * gas/arm/mapping3.s: New file. - * gas/arm/mapping4.d: New test case. - * gas/arm/mapping4.s: New file. - * gas/arm/mapshort-eabi.d: Adapted to new symbols generation. - * gas/elf/section2.e-armeabi: Adapted to new symbols generation. - -2009-07-27 Jan Beulich <jbeulich@novell.com> - - * gas/elf/file.[ds]: New. - * gas/elf/elf.exp: Run new test. - -2009-07-25 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/l1om.d: New. - * gas/i386/l1om-inval.l: Likewise. - * gas/i386/l1om-inval.s: Likewise. - - * gas/i386/i386.exp: Run l1om-inval and l1om. - -2009-07-24 Jan Beulich <jbeulich@novell.com> - - * gas/i386/8087.[ds]: New. - * gas/i386/287.[ds]: New. - * gas/i386/387.[ds]: New. - * gas/i386/no87.[ls]: New. - * gas/i386/no87-2.[ls]: New. - * gas/i386/i386.exp: Run new tests. - * gas/i386/att-regs.s: Also check FPU register access. - * gas/i386/intel-regs.s: Likewise. - * gas/i386/att-regs.d: Adjust expectations. - * gas/i386/intel-regs.d: Likewise. - -2009-07-23 Ulrich Drepper <drepper@redhat.com> - - * gas/elf/type.s: Add unique global symbol definition. - * gas/elf/type.e: Add expected readelf output for global unique - symbol. - -2009-07-21 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/10420 - * gas/i386/i386.exp: Run x86-64-nops-1-pentium. - - * gas/i386/x86-64-nops-1-pentium.d: New. - -2009-07-16 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/i386.exp: Run ifunc and x86-64-ifunc. - - * gas/i386/ifunc.d: New, - * gas/i386/ifunc.s: Likewise. - * gas/i386/x86-64-ifunc.d: Likewise. - -2009-07-16 Nathan Sidwell <nathan@codesourcery.com> - - * gas/arm/target-reloc-1.s: New. - * gas/arm/target-reloc-1.d: New. - -2009-07-14 Daniel Gutson <dgutson@codesourcery.com> - - * gas/arm/align64.s: New test case. - * gas/arm/align64.d: Expected disassembly. - -2009-07-14 Daniel Gutson <dgutson@codesourcery.com> - - * gas/arm/thumb-w-bad.d: New test case. - * gas/arm/thumb-w-bad.l: New file. - * gas/arm/thumb-w-bad.s: New file. - * gas/arm/thumb-w-good.d: New test case. - * gas/arm/thumb-w-good.s: New file. - -2009-07-09 Daniel Gutson <dgutson@codesourcery.com> - - * gas/arm/inst-po.d: New testcase. - * gas/arm/inst-po.s: New file. - * gas/arm/inst-po-2.d: New testcase. - * gas/arm/inst-po-2.s: New file. - * gas/arm/inst-po-2.l: New file. - * gas/arm/inst-po-3.d: New testcase. - * gas/arm/inst-po-3.s: New file. - * gas/arm/inst-po-be.d: New testcase. - -2009-07-07 2009-07-04 Chung-Lin Tang <cltang@pllab.cs.nthu.edu.tw> - - * gas/arm/iwmmxt2.d: Fix insn pattern for torvsc, - add patterns for waddsubhx. - * gas/arm/iwmmxt2.s: Add tests for waddsubhx. - -2009-07-07 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/fma4.d: Append "#pass". - * gas/i386/x86-64-fma4.d: Likewise. - -2009-07-07 Tristan Gingold <gingold@adacore.com> - - * gas/i386/jump.d: Adjust to be relocated offset for jump to - external symbol. - -2009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> - - * gas/i386/i386.exp: Add FMA4 tests. - * gas/i386/x86-64-fma4.d: Ditto. - * gas/i386/fma4.d: Ditto. - * gas/i386/x86-64-fma4.s: Ditto. - * gas/i386/fma4.s: Ditto. - -2009-07-01 Nick Clifton <nickc@redhat.com> - - PR 10168 - * gas/arm/thumb32.d: Fix expected disassembly of PKHTB insn. - -2009-07-01 Paul Brook <paul@codesourcery.com> - - * gas/arm/fp-save.s: Add .fnstart and .fnend directives. - -2009-06-30 Nick Clifton <nickc@redhat.com> - - PR 10288 - * gas/arm/adrl.d: Update expected disassembly. - * gas/arm/arch4t-eabi.d: Likewise. - * gas/arm/arch4t.d: Likewise. - * gas/arm/arch6zk.d: Likewise. - * gas/arm/archv6t2.d: Likewise. - * gas/arm/arm-it.d: Likewise. - * gas/arm/arm3.d: Likewise. - * gas/arm/arm7dm.d: Likewise. - * gas/arm/arm7t.d: Likewise. - * gas/arm/backslash-at.d: Likewise. - * gas/arm/bl-local-v4t.d: Likewise. - * gas/arm/blx-local.d: Likewise. - * gas/arm/copro.d: Likewise. - * gas/arm/el_segundo.d: Likewise. - * gas/arm/float.d: Likewise. - * gas/arm/fp-save.d: Likewise. - * gas/arm/fpa-mem.d: Likewise. - * gas/arm/group-reloc-alu.d: Likewise. - * gas/arm/group-reloc-ldr.d: Likewise. - * gas/arm/group-reloc-ldrs.d: Likewise. - * gas/arm/immed.d: Likewise. - * gas/arm/inst.d: Likewise. - * gas/arm/iwmmxt.d: Likewise. - * gas/arm/ldconst.d: Likewise. - * gas/arm/macro1.d: Likewise. - * gas/arm/mapmisc.d: Likewise. - * gas/arm/mapsecs.d: Likewise. - * gas/arm/mapshort-eabi.d: Likewise. - * gas/arm/mapshort-elf.d: Likewise. - * gas/arm/movw-local.d: Likewise. - * gas/arm/neon-ldst-rm.d: Likewise. - * gas/arm/offset.d: Likewise. - * gas/arm/reg-alias.d: Likewise. - * gas/arm/relax_load_align.d: Likewise. - * gas/arm/tcompat.d: Likewise. - * gas/arm/tcompat2.d: Likewise. - * gas/arm/thumb-eabi.d: Likewise. - * gas/arm/thumb.d: Likewise. - * gas/arm/thumb1_unified.d: Likewise. - * gas/arm/thumb2_add.d: Likewise. - * gas/arm/thumb2_it.d: Likewise. - * gas/arm/thumb2_it_auto.d: Likewise. - * gas/arm/thumb2_pool.d: Likewise. - * gas/arm/thumb2_relax.d: Likewise. - * gas/arm/thumb32.d: Likewise. - * gas/arm/thumbv6.d: Likewise. - * gas/arm/thumbv6k.d: Likewise. - * gas/arm/tls.d: Likewise. - * gas/arm/vfp1.d: Likewise. - * gas/arm/vfp1_t2.d: Likewise. - * gas/arm/vfp1xD.d: Likewise. - * gas/arm/wince.d: Likewise. - * gas/arm/wince_inst.d: Likewise. - * gas/arm/xscale.d: Likewise. - -2009-06-29 Nick Clifton <nickc@redhat.com> - - PR 10288 - * gas/arm/arch6zk.d: Update expected disassembly. - * gas/arm/arch7.d: Likewise. - * gas/arm/arm-it-auto-2.d: Likewise. - * gas/arm/arm-it-auto.d: Likewise. - * gas/arm/copro.d: Likewise. - * gas/arm/float.d: Likewise. - * gas/arm/fpa-mem.d: Likewise. - * gas/arm/group-reloc-ldc.d: Likewise. - * gas/arm/group-reloc-ldr.d: Likewise. - * gas/arm/iwmmxt.d: Likewise. - * gas/arm/maverick.d: Likewise. - * gas/arm/neon-omit.d: Likewise. - * gas/arm/svc.d: Likewise. - * gas/arm/thumb-eabi.d: Likewise. - * gas/arm/thumb.d: Likewise. - * gas/arm/thumb1_unified.d: Likewise. - * gas/arm/thumb2_add.d: Likewise. - * gas/arm/thumb2_relax.d: Likewise. - * gas/arm/thumb32.d: Likewise. - * gas/arm/vfp-neon-syntax.d: Likewise. - * gas/arm/vfp-neon-syntax_t2.d: Likewise. - * gas/arm/vfp1xD.d: Likewise. - * gas/arm/vfp1xD_t2.d: Likewise. - * gas/arm/vfpv3-const-conv.d: Likewise. - * gas/arm/xscale.d: Likewise. - -2009-06-22 Daniel Gutson <dgutson@codesourcery.com> - - * gas/arm/arm-it-auto.d: New test. - * gas/arm/arm-it-auto.s: New file. - * gas/arm/arm-it-auto-2.d: New test case. - * gas/arm/arm-it-auto-2.s: New file. - * gas/arm/arm-it-auto-3.d: New test case. - * gas/arm/arm-it-auto-3.s: New file. - * gas/arm/arm-it-bad.d: New test case. - * gas/arm/arm-it-bad.l: New file. - * gas/arm/arm-it-bad.s: New file. - * gas/arm/arm-it-bad-2.d: New test case. - * gas/arm/arm-it-bad-2.l: New file. - * gas/arm/arm-it-bad-2.s: New file. - * gas/arm/arm-it-bad-3.d: New test case. - * gas/arm/arm-it-bad-3.l: New file. - * gas/arm/arm-it-bad-3.s: New file. - * gas/arm/thumb2_it_auto.d: New test. - * gas/arm/thumb2_it_bad.l: Error message updated. - * gas/arm/thumb2_it_bad_auto.d: New test. - * gas/arm/thumb2_it.d: Comment added. - * gas/arm/thumb2_it_bad.d: Comment added. - -2009-06-19 Alan Modra <amodra@bigpond.net.au> - - PR gas/10255 - * gas/cfi/cfi-common-7.s: Skip a multiple of four. - * gas/cfi/cfi-common-7.d: Adjust. - -2009-06-18 Nick Clifton <nickc@redhat.com> - - PR 10169 - * gas/arm/thumb2_bad_reg.s: Add tests for SSAT and USAT with an - out of range shift. - * gas/arm/thumb2_bad_reg.l: Update expected error messages. - - PR 10288 - * gas/arm/align.s: Add labels so that COFF based targets can - correctly locate THUMB code. - * gas/arm/copro.d: Do not pass --architecture switch to objdump. - -2009-06-15 Nick Clifton <nickc@redhat.com> - - PR gas/10186 - * gas/arm/thumb32.d: Fix expected binary value of SEV.W instruction. - -2009-06-09 Jakub Jelinek <jakub@redhat.com> - - PR gas/10255 - * gas/cfi/cfi-common-7.d: New test. - * gas/cfi/cfi-common-7.s: New. - * gas/cfi/cfi.exp: Add cfi-common-7 test. - -2009-06-08 Dave Korn <dave.korn.cygwin@gmail.com> - - * gas/i386/jump.d: Tweak patterns to also match PE platform output. - -2009-06-01 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/10198 - * gas/i386/jump.s: Add test for "jmp $+2". - * gas/i386/jump16.s: Likewise. - - * gas/i386/jump.d: Updated. - * gas/i386/jump16.d: Likewise. - -2009-05-26 Catherine Moore <clm@codesourcery.com> - - * gas/mips/eret.s: Remove. - * gas/mips/eret.d: Remove. - * gas/mips/eret.l: Remove. - * gas/mips/eret-1.s: New. - * gas/mips/eret-1.d: New. - * gas/mips/eret-2.s: New. - * gas/mips/eret-2.d: New. - * gas/mips/eret-3.s: New. - * gas/mips/eret-3.d: New. - * gas/mips/mips.exp: Run new tests. Remove old tests. - -2009-05-23 Richard Sandiford <rdsandiford@googlemail.com> - - * gas/mips/vr4130.s, gas/mips/vr4130.d: Expect part A to have nops. - -2009-05-23 Richard Sandiford <rdsandiford@googlemail.com> - - * gas/mips/align.d: Use an nm test rather than an objdump one. - -2009-05-22 H.J. Lu <hongjiu.lu@intel.com> - - * gas/elf/ifunc-1.d: New. - * gas/elf/ifunc-1.s: Likewise. - - * gas/elf/elf.exp: Run ifunc-1. - -2009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> - - * gas/i386/i386.exp: Remove SSE5 tests. - * gas/i386/x86-64-sse5.s: Delete. Remove SSE5 tests. - * gas/i386/x86-64-sse5.d: Ditto. - * gas/i386/arch-10-1.l: Remove SSE5 tests. - * gas/i386/arch-10-2.l: Ditto. - * gas/i386/arch-10-3.l: Ditto. - * gas/i386/arch-10-4.l: Ditto. - * gas/i386/arch-10.d: Ditto. - * gas/i386/arch-10.s: Ditto. - * gas/i386/arch-4.s: Delete. Remove SSE5 tests. - * gas/i386/arch-4.d: Ditto. - * gas/i386/arch-8.s: Ditto. - * gas/i386/arch-8.d: Ditto. - * gas/i386/arch-2.s: Remove SSE5 tests. - * gas/i386/arch-2.d: Remove SSE5 tests. - * gas/i386/x86-64-arch-2.s: Ditto. - -2009-05-19 Dave Korn <dave.korn.cygwin@gmail.com> - - * gas/pe/: New directory for PE format-specific tests. - * gas/pe/aligncomm-a.d: New test pattern file. - * gas/pe/aligncomm-a.s: New test source file. - * gas/pe/aligncomm-b.d: New test pattern file. - * gas/pe/aligncomm-b.s: New test source file. - * gas/pe/aligncomm-c.d: New test pattern file. - * gas/pe/aligncomm-c.s: New test source file. - * gas/pe/aligncomm-d.d: New test pattern file. - * gas/pe/aligncomm-d.s: New test source file. - * gas/pe/pe.exp: New test control script. - * lib/gas-defs.exp (is_pecoff_format): New function. - -2009-05-05 H.J. Lu <hongjiu.lu@intel.com> - - * gas/lns/lns-common-1-ia64.s: Add test for discriminator. - -2009-05-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> - - * gas/arm/bl-local-v4t.d: New file. - * gas/arm/bl-local-v4t.s: New file. - * gas/arm/blx-local.s: Update for branches and calls to local - functions. - * gas/arm/blx-local.d: Likewise. - * gas/arm/blx-local.l: New file. - * gas/arm/blx-local-thumb.l: New file. - * gas/arm/blx-local-thumb.s: New file. - * gas/arm/blx-local-thumb.d: New file. - -2009-05-01 Nathan Sidwell <nathan@codesourcery.com> - Daniel Jacobowitz <dan@codesourcery.com> - - * gas/arm/attr-mcpu.d: Add -mfpu=neon. - * gas/arm/mapmisc.d: Correct expected output for .double and - .dcb.d. - -2009-04-30 Nick Clifton <nickc@redhat.com> - - * gas/elf/elf.exp: Extend type test to include an ifunc symbol. - Provide an alternative test for targets which do not support ifunc - symbols. - gas/elf/type.s: Add entry for an ifunc symbol. - gas/elf/type.e: Add ifunc entry to expected symbol dump. - gas/elf/section2.e-armelf: Add entry for ifunc symbol. - gas/elf/type-noifunc.s: New file. - gas/elf/type-noifunc.e: Likewise. - -2009-04-24 Cary Coutant <ccoutant@google.com> - - * gas/lns/lns-common-1.d: Add test for discriminator. - * gas/lns/lns-common-1.s: Likewise. - -2009-04-20 Jan Beulich <jbeulich@novell.com> - - * gas/i386/equ.s: Adjust. - * gas/i386/equ.d: Remove reference to equ.e. - * gas/i386/equ.e: Delete. - * gas/i386/intel-expr.s: New. - * gas/i386/intel-expr.d: New. - * gas/i386/i386.exp: Run new test. - * gas/i386/intel.s: Adjust. - * gas/i386/intel.e: Remove no longer valid warning messages. - * gas/i386/intel16.s: Adjust. - * gas/i386/intel16.d: Remove reference to intel16.e. - * gas/i386/intel16.e: Delete. - * gas/i386/intelbad.s: Add more tests. - * gas/i386/intelbad.l: Adjust. - * gas/i386/intelok.s: Remove now unneeded equates. Add more - tests. - * gas/i386/intelok.d: Remove reference to intelok.e. Adjust. - * gas/i386/intelok.e: Delete. - * gas/i386/x86_64.s: Adjust. - * gas/i386/x86_64.d: Remove reference to x86_64.e. - * gas/i386/x86_64.e: Delete. - -2009-04-16 Alan Modra <amodra@bigpond.net.au> - - * gas/all/gas.exp: Disable assign and assign-ok tests on blackfin. - * gas/all/p2425.s: Use "==" instead of "=". - * gas/all/weakref1.s: Likewise. - * gas/macros/and.s: Likewise. - * gas/macros/test1.s: Likewise. - * gas/hppa/parse/parse.exp: Remove xfail on block1. - -2009-04-15 Jan Beulich <jbeulich@novell.com> - - * gas/i386/intel.e: Adjust expectations. - -2009-04-15 Jan Beulich <jbeulich@novell.com> - - * gas/i386/x86-64-sse5.s: Add test of protd. - * gas/i386/x86-64-sse5.d: Adjust expectations to match input. - -2009-04-09 Catherine Moore <clm@codesourcery.com> - - * gas/mips/mips.exp: Run new tests. - * gas/mips/eret.s: New test. - * gas/mips/eret.d: New test output. - * gas/mips/eret.l: New test output. - -2009-04-07 Peter Bergner <bergner@vnet.ibm.com> - - * gas/ppc/e500mc.d: Update to match extended mnemonics. - -2009-04-01 Nathan Sidwell <nathan@codesourcery.com> - - * gas/arm/align.s, gas/arm/align.d: New. - * gas/arm/thumb32.d, gas/arm/arch6zk.d, gas/arm/arch6zk.s, - arm/thumb2_relax.d: Adjust for align changes. - -2009-03-31 Peter Bergner <bergner@vnet.ibm.com> - - * gas/ppc/power7.d ("ori", ".p2align"): Add tests for group ending nop. - * gas/ppc/power7.s: Likewise. - * gas/ppc/power6.d: Likewise. - * gas/ppc/power6.s: Likewise. - -2009-03-30 Joseph Myers <joseph@codesourcery.com> - - * gas/arm/mapsecs.d, gas/arm/mapsecs.s: New. - -2009-03-26 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> - - * gas/arm/wince_inst.d: Convert to unified syntax. - -2009-03-18 Andrew Stubbs <ams@codesourcery.com> - - * gas/arm/adr-invalid.d: New file. - * gas/arm/adr-invalid.l: New file. - * gas/arm/adr-invalid.s: New file. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * gas/ppc/textalign-xcoff-001.d: Expect the section VMAs to be - properly aligned. - * gas/ppc/textalign-xcoff-002.d: Likewise. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * gas/ppc/xcoff-branch-1.s, gas/ppc/xcoff-branch-1-32.d, - gas/ppc/xcoff-branch-1-64.d: New tests. - * gas/ppc/aix.exp: Run them. - -2009-03-11 Hans-Peter Nilsson <hp@axis.com> - - * gas/cris/rd-bkw5.d, gas/cris/rd-bkw5.s, gas/cris/rd-bkw5b.d, - gas/cris/rd-bkw5bpic.d, gas/cris/rd-bkw5bv32.d, - gas/cris/rd-bkw5bv32pic.d, gas/cris/rd-bkw5pic.d, - gas/cris/rd-bkw5v32.d, gas/cris/rd-bkw5v32pic.d: New tests. - -2009-03-10 Hans-Peter Nilsson <hp@axis.com> - - * gas/cris/rd-bkw4.d, gas/cris/rd-bkw4v32.d, gas/cris/rd-bkw4.s: - New test. - -2009-03-10 Alan Modra <amodra@bigpond.net.au> - - * gas/ppc/altivec_and_spe.d (objdump): Add -Maltivec. - * gas/ppc/common.d: Adjust for -Mcom not including -Mppc. - -2009-03-05 Joseph Myers <joseph@codesourcery.com> - - * gas/arm/mapmisc.d, gas/arm/mapmisc.dat, gas/arm/mapmisc.s: New. - -2009-03-02 Qinwei <qinwei@sunnorth.com.cn> - - * gas/score/arith_32-lt.d: New file. - * gas/score/arith_32.d: New file. - * gas/score/arith_32.s: New file. - * gas/score/bit_32-lt.d: New file. - * gas/score/bit_32.d: New file. - * gas/score/bit_32.s: New file. - * gas/score/branch_32-lt.d: New file. - * gas/score/branch_32.d: New file. - * gas/score/branch_32.s: New file. - * gas/score/cmp_32-lt.d: New file. - * gas/score/cmp_32.d: New file. - * gas/score/cmp_32.s: New file. - * gas/score/load_store_32-lt.d: New file. - * gas/score/load_store_32.d: New file. - * gas/score/load_store_32.s: New file. - * gas/score/logical_32-lt.d: New file. - * gas/score/logical_32.d: New file. - * gas/score/logical_32.s: New file. - * gas/score/mv_32-lt.d: New file. - * gas/score/mv_32.d: New file. - * gas/score/mv_32.s: New file. - * gas/score/relax_32.exp: New file. - * gas/score/relaxation_macro.h: New file. - * gas/score/shift_32-lt.d: New file. - * gas/score/shift_32.d: New file. - * gas/score/shift_32.s: New file. - * gas/score/syscontrol_32-lt.d: New file. - * gas/score/syscontrol_32.d: New file. - * gas/score/syscontrol_32.s: New file. - -2009-03-01 Mark Mitchell <mark@codesourcery.com> - - * gas/arm/archv6m.s: Add dmb, dsb, and isb. - * gas/arm/archv6m.d: Likewise. - -2009-02-26 Peter Bergner <bergner@vnet.ibm.com> - - * gas/ppc/e500mc.d ("wait", "waitsrv", "waitimpl"): Add tests. - * gas/ppc/e500mc.s: Likewise. - * gas/ppc/power6.d ("cdtbcd", "cbcdtd", "addg6s"): Add tests. - * gas/ppc/power6.s: Likewise. - * gas/ppc/power7.d ("lfdpx", "mffgpr", "mftgpr"): Remove invalid tests. - ("wait", "waitsrv", "waitimpl", "divwe", "divwe.", "divweo", "divweo.", - "divweu", "divweu.", "divweuo", "divweuo.", "bpermd", "popcntw", - "popcntd", "ldbrx", "stdbrx", "lfiwzx", "lfiwzx", "fcfids", "fcfids.", - "fcfidus", "fcfidus.", "fctiwu", "fctiwu.", "fctiwuz", "fctiwuz.", - "fctidu", "fctidu.", "fctiduz", "fctiduz.", "fcfidu", "fcfidu.", - "ftdiv", "ftdiv", "ftsqrt", "ftsqrt", "dcbtt", "dcbtstt", "dcffix", - "dcffix.", "lbarx", "lbarx", "lbarx", "lharx", "lharx", "lharx", - "stbcx.", "sthcx.", "fre", "fre.", "fres", "fres.", "frsqrte", - "frsqrte.", "frsqrtes", "frsqrtes.", "isel"): Add tests. - * gas/ppc/power7.s: Likewise. - * gas/ppc/vsx.d: New test. - * gas/ppc/vsx.s: Likewise. - * gas/ppc/ppc.exp: Run it. - -2009-02-23 Mark Mitchell <mark@codesourcery.com> - - * gas/arm/thumb2_bad_reg.s: Update to allow R13 as second argument - for CMP. - * gas/arm/thumb2_bad_reg.l: Adjust accordingly. - -2009-02-19 Peter Bergner <bergner@vnet.ibm.com> - - * gas/ppc/e500mc.d ("lfdepx", "stfdepx"): Fix tests to expect a - floating point register. - -2009-02-18 Adam Nemet <anemet@caviumnetworks.com> - - * gas/mips/octeon.s: Add more tests for dmfc2 and dmtc2. - * gas/mips/octeon.d: Update. - * gas/mips/octeon-ill.l: Update error message. - -2009-02-16 Nick Clifton <nickc@redhat.com> - - * gas/mips/e32-rel2.d: Adjust expected output to remove the 0x4000 - offset. - * gas/mips/e32el-rel2.d: Likewise. - * gas/mips/elf-rel2.d: Likewise. - * gas/mips/elf-rel9-mips16.d: Likewise. - * gas/mips/elf-rel9.d: Likewise. - * gas/mips/elfel-rel2.d: Likewise. - * gas/mips/lb.d: Likewise. - * gas/mips/mips-abi32.d: Likewise. - * gas/mips/mips-gp32-fp32.d: Likewise. - * gas/mips/mips-gp32-fp64.d: Likewise. - * gas/mips/mips-gp64-fp32.d: Likewise. - * gas/mips/mips-gp64-fp64.d: Likewise. - * gas/mips/mips32-sf32.d: Likewise. - -2009-02-12 Nathan Sidwell <nathan@codesourcery.com> - - * m68k/br-isac.d, m68k/br-isac.s: Add stldsr test. - -2009-02-06 Nick Clifton <nickc@redhat.com> - - * gas/mips/beq.d: Make no assumptions about the symbols used as - branch targets in the disassembly, or the names of the relocs - produced. - * gas/mips/bge.d: Likewise. - * gas/mips/bgeu.d: Likewise. - * gas/mips/blt.d: Likewise. - * gas/mips/bltu.d: Likewise. - * gas/mips/mips32-sf32.d: Likewise. - * gas/mips/mips1-fp.d: Likewise. - * gas/mips/branch-misc-1.d: Skip for the mips-ecoff target. - * gas/mips/branch-misc-2-64.d: Likewise. - * gas/mips/branch-misc-2.d: Likewise. - * gas/mips/branch-misc-2pic-64.d: Likewise. - * gas/mips/branch-misc-2pic.d: Likewise. - * gas/mips/branch-swap.d: Likewise. - -2009-02-06 Nick Clifton <nickc@redhat.com> - - * gas/elf/symtab.d: But do not run the test for the Alpha or HPPA - ports. - -2009-02-05 Peter Bergner <bergner@vnet.ibm.com> - - * gas/ppc/booke.s ("dcbt", "dcbtst"): New tests. - * gas/ppc/booke.d: Likewise. - * gas/ppc/power4_32.s: Likewise. - * gas/ppc/power4_32.d: Likewise. - -2009-02-05 Catherine Moore <clm@codesourcery.com> - - * gas/elf/elf.exp: Really run the symtab test. - -2009-02-04 H.J. Lu <hongjiu.lu@intel.com> - - AVX Programming Reference (January, 2009) - * gas/i386/arch-avx-1-3.l: New. - * gas/i386/arch-avx-1-3.s: Likewise. - * gas/i386/arch-avx-1-4.l: Likewise. - * gas/i386/arch-avx-1-4.s: Likewise. - * gas/i386/arch-avx-1-5.l: Likewise. - * gas/i386/arch-avx-1-5.s: Likewise. - * gas/i386/arch-avx-1-6.l: Likewise. - * gas/i386/arch-avx-1-6.s: Likewise. - - * gas/i386/arch-10.s: Add vpclmul instructions. - * gas/i386/arch-avx-1.s: Likewise. - * gas/i386/avx.s: Likewise. - * gas/i386/x86-64-arch-2.s: Likewise. - * gas/i386/x86-64-avx.s: Likewise. - - * gas/i386/sse2avx.s: Add pclmul instructions. - * gas/i386/x86-64-sse2avx.s: Likewise. - - * gas/i386/arch-10.d: Updated. - * gas/i386/arch-10-1.l: Likewise. - * gas/i386/arch-10-2.l: Likewise. - * gas/i386/arch-10-3.l: Likewise. - * gas/i386/arch-10-4.l: Likewise. - * gas/i386/arch-avx-1.d: Likewise. - * gas/i386/arch-avx-1-1.l: Likewise. - * gas/i386/arch-avx-1-2.l: Likewise. - * gas/i386/avx.d: Likewise. - * gas/i386/avx-intel.d: Likewise. - * gas/i386/sse2avx.d: Likewise. - * gas/i386/x86-64-arch-2.d: Likewise. - * gas/i386/x86-64-avx.d: Likewise. - * gas/i386/x86-64-avx-intel.d: Likewise. - * gas/i386/x86-64-sse2avx.d: Likewise. - - * gas/i386/i386.exp: Run arch-avx-1-3, arch-avx-1-4, - arch-avx-1-5 and arch-avx-1-6. - -2009-02-03 DJ Delorie <dj@redhat.com> - - * gas/mep/relocs.d: Updated for new configuration. - * gas/mep/complex-relocs.exp: Likewise. - -2009-02-03 Sandip Matte <sandip@rmicorp.com> - - * gas/mips/mips.exp (xlr): New architecture. - (xlr-ext): Run test. - * gas/mips/xlr-ext.d, gas/mips/xlr-ext.s: New. - -2009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com> - - * gas/m68k/tls-gd-3.d, gas/m68k/tls-gd-3.s: New test. - * gas/m68k/all.exp: Run it. - -2009-01-29 Mark Mitchell <mark@codesourcery.com> - - * gas/arm/copro.s: Avoid using r15 where not permitted. - * gas/arm/copro.d: Adjust accordingly. - * gas/arm/thumb2_bad_reg.s: New. - * gas/arm/thumb2_bad_reg.l: Likewise. - * gas/arm/thumb2_bad_reg.d: Likewise. - -2009-01-29 Mark Mitchell <mark@codesourcery.com> - - * gas/arm/thumb32.s: Add tests for orn and rrx. - * gas/arm/thumb32.d: Adjust accordingly. - * gas/arm/thumb32.l: Likewise. - * gas/arm/thumb2_invert.s: Add tests for orn and orr. - * gas/arm/thumb2_invert.d: Adjust accordingly. - * gas/arm/tcompat.s: Add tests for rrx. - * gas/arm/tcompat.d: Adjust accordingly. - -2009-01-29 Mark Mitchell <mark@codesourcery.com> - - * gas/arm/thumb32.s (qadd): Add tests for them. - * gas/arm/thumb32.d: Adjust accordingly. - -2009-01-29 Mark Mitchell <mark@codesourcery.com> - - * gas/arm/thumb32.s (qadd): Add qadd, qdadd, qsub, and qdsub. - * gas/arm/thumb32.d: Likewise. - -2009-01-29 Paul Brook <paul@codesourcery.com> - Mark Mitchell <mark@codesourcery.com> - - * gas/arm/thumb2_mul.s: New file. - * gas/arm/thumb2_mul.d: Likewise. - * gas/arm/thumb2_mul-bad.s: Likewise. - * gas/arm/thumb2_mul-bad.d: Likewise. - * gas/arm/thumb2_mul-bad.l: Likewise. - * gas/arm/t16-bad.s: Add tests for"mul" with high registers. - * gas/arm/t16-bad.l: Update accordingly. - -2009-01-29 Nick Clifton <nickc@redhat.com> - - * gas/all/gas.exp: Expect forward test to fail for MeP. - Expect relax test to fail for MeP. - * gas/mep/relocs.d: Update expected disassembly. - -2009-01-27 Nick Clifton <nickc@redhat.com> - - * gas/arm/attr-cpu-directive.d: Only run test for EABI targets. - * gas/arm/attr-default.d : Likewise. - * gas/arm/attr-march-all.d: Likewise. - * gas/arm/attr-march-armv1.d: Likewise. - * gas/arm/attr-march-armv2.d: Likewise. - * gas/arm/attr-march-armv2a.d: Likewise. - * gas/arm/attr-march-armv2s.d: Likewise. - * gas/arm/attr-march-armv3.d: Likewise. - * gas/arm/attr-march-armv3m.d: Likewise. - * gas/arm/attr-march-armv4.d: Likewise. - * gas/arm/attr-march-armv4t.d: Likewise. - * gas/arm/attr-march-armv4txm.d: Likewise. - * gas/arm/attr-march-armv4xm.d: Likewise. - * gas/arm/attr-march-armv5.d: Likewise. - * gas/arm/attr-march-armv5t.d: Likewise. - * gas/arm/attr-march-armv5te.d: Likewise. - * gas/arm/attr-march-armv5tej.d: Likewise. - * gas/arm/attr-march-armv5texp.d: Likewise. - * gas/arm/attr-march-armv5txm.d: Likewise. - * gas/arm/attr-march-armv6-m.d: Likewise. - * gas/arm/attr-march-armv6.d: Likewise. - * gas/arm/attr-march-armv6j.d: Likewise. - * gas/arm/attr-march-armv6k.d: Likewise. - * gas/arm/attr-march-armv6kt2.d: Likewise. - * gas/arm/attr-march-armv6t2.d: Likewise. - * gas/arm/attr-march-armv6z.d: Likewise. - * gas/arm/attr-march-armv6zk.d: Likewise. - * gas/arm/attr-march-armv6zkt2.d: Likewise. - * gas/arm/attr-march-armv6zt2.d: Likewise. - * gas/arm/attr-march-armv7-a.d: Likewise. - * gas/arm/attr-march-armv7-m.d: Likewise. - * gas/arm/attr-march-armv7-r.d: Likewise. - * gas/arm/attr-march-armv7.d: Likewise. - * gas/arm/attr-march-armv7a.d: Likewise. - * gas/arm/attr-march-armv7m.d: Likewise. - * gas/arm/attr-march-armv7r.d: Likewise. - * gas/arm/attr-march-iwmmxt.d: Likewise. - * gas/arm/attr-march-iwmmxt2.d: Likewise. - * gas/arm/attr-march-xscale.d: Likewise. - * gas/arm/attr-mcpu.d: Likewise. - * gas/arm/attr-mfpu-arm1020e.d: Likewise. - * gas/arm/attr-mfpu-arm1020t.d: Likewise. - * gas/arm/attr-mfpu-arm1136jf-s.d: Likewise. - * gas/arm/attr-mfpu-arm1136jfs.d: Likewise. - * gas/arm/attr-mfpu-arm7500fe.d: Likewise. - * gas/arm/attr-mfpu-fpa.d: Likewise. - * gas/arm/attr-mfpu-fpa10.d: Likewise. - * gas/arm/attr-mfpu-fpa11.d: Likewise. - * gas/arm/attr-mfpu-fpe.d: Likewise. - * gas/arm/attr-mfpu-fpe2.d: Likewise. - * gas/arm/attr-mfpu-fpe3.d: Likewise. - * gas/arm/attr-mfpu-maverick.d: Likewise. - * gas/arm/attr-mfpu-neon-fp16.d: Likewise. - * gas/arm/attr-mfpu-neon.d: Likewise. - * gas/arm/attr-mfpu-softfpa.d: Likewise. - * gas/arm/attr-mfpu-softvfp+vfp.d: Likewise. - * gas/arm/attr-mfpu-softvfp.d: Likewise. - * gas/arm/attr-mfpu-vfp.d: Likewise. - * gas/arm/attr-mfpu-vfp10-r0.d: Likewise. - * gas/arm/attr-mfpu-vfp10.d: Likewise. - * gas/arm/attr-mfpu-vfp3.d: Likewise. - * gas/arm/attr-mfpu-vfp9.d: Likewise. - * gas/arm/attr-mfpu-vfpv2.d: Likewise. - * gas/arm/attr-mfpu-vfpv3-d16.d: Likewise. - * gas/arm/attr-mfpu-vfpv3.d: Likewise. - * gas/arm/attr-mfpu-vfpxd.d: Likewise. - * gas/arm/attr-order.d: Likewise. - * gas/arm/attr-override-cpu-directive.d: Likewise. - * gas/arm/attr-override-mcpu.d: Likewise. - -2009-01-27 Nick Clifton <nickc@redhat.com> - - * gas/lib/gas-defs.exp: Update description of run_dump_test proc. - - * gas/mips/dli.d: Pass -64 to gas. - * gas/mips/mips64-mips3d-incl.d: Likewise. - * gas/mips/octeon.d: Likewise. - * gas/mips/sb1-ext-mdmx.d: Likewise. - * gas/mips/sb1-ext-ps.d: Likewise. - * gas/mips/e32el-rel2.s: Pass -march=mips3 to gas. - Update expected relocs. - * gas/mips/ld-ilocks-addr32.d: Do not run for tx39 targets. - * gas/mips/mips.exp: Remove 'ilocks' variable. - Add ecoff targets to 'addr32' variable. - Set 'no_mips16' for ecoff targets. - Do not run div-ilocks or mul-ilocks test variants. - * gas/mips/mips16-intermix.d: Use nm instead of objdump so that - the symbol table output is sorted. Update expecetd output. - -2009-01-26 Andrew Stubbs <ams@codesourcery.com> - - * gas/arm/attr-cpu-directive.d: New file. - * gas/arm/attr-cpu-directive.s: New file. - * gas/arm/attr-default.d: New file. - * gas/arm/attr-march-all.d: New file. - * gas/arm/attr-march-armv1.d: New file. - * gas/arm/attr-march-armv2.d: New file. - * gas/arm/attr-march-armv2a.d: New file. - * gas/arm/attr-march-armv2s.d: New file. - * gas/arm/attr-march-armv3.d: New file. - * gas/arm/attr-march-armv3m.d: New file. - * gas/arm/attr-march-armv4.d: New file. - * gas/arm/attr-march-armv4t.d: New file. - * gas/arm/attr-march-armv4txm.d: New file. - * gas/arm/attr-march-armv4xm.d: New file. - * gas/arm/attr-march-armv5.d: New file. - * gas/arm/attr-march-armv5t.d: New file. - * gas/arm/attr-march-armv5te.d: New file. - * gas/arm/attr-march-armv5tej.d: New file. - * gas/arm/attr-march-armv5texp.d: New file. - * gas/arm/attr-march-armv5txm.d: New file. - * gas/arm/attr-march-armv6-m.d: New file. - * gas/arm/attr-march-armv6.d: New file. - * gas/arm/attr-march-armv6j.d: New file. - * gas/arm/attr-march-armv6k.d: New file. - * gas/arm/attr-march-armv6kt2.d: New file. - * gas/arm/attr-march-armv6t2.d: New file. - * gas/arm/attr-march-armv6z.d: New file. - * gas/arm/attr-march-armv6zk.d: New file. - * gas/arm/attr-march-armv6zkt2.d: New file. - * gas/arm/attr-march-armv6zt2.d: New file. - * gas/arm/attr-march-armv7-a.d: New file. - * gas/arm/attr-march-armv7-m.d: New file. - * gas/arm/attr-march-armv7-r.d: New file. - * gas/arm/attr-march-armv7.d: New file. - * gas/arm/attr-march-armv7a.d: New file. - * gas/arm/attr-march-armv7m.d: New file. - * gas/arm/attr-march-armv7r.d: New file. - * gas/arm/attr-march-iwmmxt.d: New file. - * gas/arm/attr-march-iwmmxt2.d: New file. - * gas/arm/attr-march-xscale.d: New file. - * gas/arm/attr-mcpu.d: New file. - * gas/arm/attr-mfpu-arm1020e.d: New file. - * gas/arm/attr-mfpu-arm1020t.d: New file. - * gas/arm/attr-mfpu-arm1136jf-s.d: New file. - * gas/arm/attr-mfpu-arm1136jfs.d: New file. - * gas/arm/attr-mfpu-arm7500fe.d: New file. - * gas/arm/attr-mfpu-fpa.d: New file. - * gas/arm/attr-mfpu-fpa10.d: New file. - * gas/arm/attr-mfpu-fpa11.d: New file. - * gas/arm/attr-mfpu-fpe.d: New file. - * gas/arm/attr-mfpu-fpe2.d: New file. - * gas/arm/attr-mfpu-fpe3.d: New file. - * gas/arm/attr-mfpu-maverick.d: New file. - * gas/arm/attr-mfpu-neon-fp16.d: New file. - * gas/arm/attr-mfpu-neon.d: New file. - * gas/arm/attr-mfpu-softfpa.d: New file. - * gas/arm/attr-mfpu-softvfp+vfp.d: New file. - * gas/arm/attr-mfpu-softvfp.d: New file. - * gas/arm/attr-mfpu-vfp.d: New file. - * gas/arm/attr-mfpu-vfp10-r0.d: New file. - * gas/arm/attr-mfpu-vfp10.d: New file. - * gas/arm/attr-mfpu-vfp3.d: New file. - * gas/arm/attr-mfpu-vfp9.d: New file. - * gas/arm/attr-mfpu-vfpv2.d: New file. - * gas/arm/attr-mfpu-vfpv3-d16.d: New file. - * gas/arm/attr-mfpu-vfpv3.d: New file. - * gas/arm/attr-mfpu-vfpxd.d: New file. - * gas/arm/attr-order.d: Update Tag_ARM_ISA_use and Tag_THUMB_ISA_use. - * gas/arm/attr-override-cpu-directive.d: New file. - * gas/arm/attr-override-cpu-directive.s: New file. - * gas/arm/attr-override-mcpu.d: New file. - * gas/arm/attr-override-mcpu.s: New file. - * gas/arm/blank.s: New file. - * gas/arm/eabi_attr_1.d: Update Tag_ARM_ISA_use and Tag_THUMB_ISA_use. - -2009-01-26 Nick Clifton <nickc@redhat.com> - - * gas/arm/attr-order.d: Do not run this test for non-ELF based ARM - targets. - -2009-01-24 Andreas Schwab <schwab@suse.de> - - * gas/lns/lns.exp: Don't run lns-duplicate for d10v target. - -2009-01-23 Andreas Schwab <schwab@suse.de> - - * gas/mips/mips16-e.d: Adjust for change in LOCAL_LABEL_PREFIX. - * gas/mips/mipsel16-e.d: Likewise. - * gas/mips/tmips16-e.d: Likewise. - * gas/mips/tmipsel16-e.d: Likewise. - -2009-01-19 Nick Clifton <nickc@redhat.com> - - * lib/gas-defs.exp (run_list_test): Fix typo in comment. - -2009-01-19 Nick Clifton <nickc@redhat.com> - - * gas/arm/attr-syntax.d: Do not run for non-ELF based ARM - targets. - -2009-01-19 Andrew Stubbs <ams@codesourcery.com> - - * gas/arm/attr-order.d: New file. - * gas/arm/attr-order.s: New file. - -2009-01-16 Andrew Stubbs <ams@codesourcery.com> - Daniel Jacobowitz <dan@codesourcery.com> - - * gas/arm/attr-syntax.d: New file. - * gas/arm/attr-syntax.s: New file. - -2009-01-15 Nick Clifton <nickc@redhat.com> - - PR 9722 - * gas/arm/archv6m.d: Update expected NOP opcode. - * gas/arm/pr9722.s: New test. - * gas/arm/pr9722.d: Expected disassembly. - -2009-01-14 Peter Bergner <bergner@vnet.ibm.com> - - * gas/ppc/power6.s ("mtfsf", "mtfsf.", "mtfsfi", "mtfsfi."): Add tests. - * gas/ppc/power6.d: Likewise. - -2009-01-12 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/sse-noavx.s: Add tests for lfence, mfence and movnti. - * gas/i386/x86-64-sse-noavx.s: Likewise. - - * gas/i386/sse-noavx.d: Updated. - * gas/i386/x86-64-sse-noavx.d: Likewise. - -2009-01-12 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/opts.s: Add tests for add, adc, and, cmp, or, sbb, - sub and xor. - * gas/i386/x86-64-opts.s: Likewise. - - * gas/i386/opts.d: Updated. - * gas/i386/opts-intel.d: Likewise. - * gas/i386/sse2avx-opts.d: Likewise. - * gas/i386/sse2avx-opts-intel.d: Likewise. - * gas/i386/x86-64-opts.d: Likewise. - * gas/i386/x86-64-opts-intel.d: Likewise. - * gas/i386/x86-64-sse2avx-opts.d: Likewise. - * gas/i386/x86-64-sse2avx-opts-intel.d: Likewise. - -2009-01-10 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/arch-10.s: Add clflush and syscall. - * gas/i386/x86-64-arch-2.s: Likewise. - - * gas/i386/arch-10.d: Updated. - * gas/i386/arch-10-1.l: Likewise. - * gas/i386/arch-10-2.l: Likewise. - * gas/i386/arch-10-3.l: Likewise. - * gas/i386/arch-10-4.l: Likewise. - * gas/i386/x86-64-arch-2.d: Likewise. - -2009-01-09 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/arch-10.s: Add rdtscp. - * gas/i386/x86-64-arch-2.s: Likewise. - - * gas/i386/arch-10.d: Updated. - * gas/i386/arch-10-1.l: Likewise. - * gas/i386/arch-10-2.l: Likewise. - * gas/i386/arch-10-3.l: Likewise. - * gas/i386/arch-10-4.l: Likewise. - * gas/i386/x86-64-arch-2.d: Likewise. - -2009-01-06 Chao-ying Fu <fu@mips.com> - - * gas/mips/jalr.s, gas/mips/jalr.l: Add more tests for jalr - and jalr.hb. - -2009-01-06 H.J. Lu <hongjiu.lu@intel.com> - - AVX Programming Reference (December, 2008) - * gas/i386/avx.s: Add tests for 256bit vmovntdq, vmovntpd and - vmovntps. - * gas/i386/x86-64-avx.s: Likewise. - - * gas/i386/avx.d: Updated. - * gas/i386/avx-intel.d: Likewise. - * gas/i386/x86-64-avx.d: Likewise. - * gas/i386/x86-64-avx-intel.d: Likewise. - -2009-01-05 H.J. Lu <hongjiu.lu@intel.com> - - AVX Programming Reference (December, 2008) - * gas/i386/arch-10.s: Replace vfmaddpd with vfmadd132pd. - * gas/i386/x86-64-arch-2.s: Likewise. - - * gas/i386/arch-10.d: Updated. - * gas/i386/arch-10-1.l: Likewise. - * gas/i386/arch-10-2.l: Likewise. - * gas/i386/arch-10-3.l: Likewise. - * gas/i386/arch-10-4.l: Likewise. - * gas/i386/avx.d: Likewise. - * gas/i386/avx-intel.d: Likewise. - * gas/i386/inval-avx.l: Likewise. - * gas/i386/x86-64-arch-2.d: Likewise. - * gas/i386/x86-64-avx.d: Likewise. - * gas/i386/x86-64-avx-intel.d: Likewise. - * gas/i386/x86-64-inval-avx.l: Likewise. - - * gas/i386/avx.s: Remove vpermil2ps/vpermil2pd and FMA - instructions. Update tests. - * gas/i386/inval-avx.s: Likewise. - * gas/i386/x86-64-avx.s: Likewise. - * gas/i386/x86-64-inval-avx.s: Likewise. - - * gas/i386/fma.d: New. - * gas/i386/fma.s: Likewise. - * gas/i386/fma-intel.d: Likewise. - * gas/i386/x86-64-fma.d: Likewise. - * gas/i386/x86-64-fma.s: Likewise. - * gas/i386/x86-64-fma-intel.d: Likewise. - - * gas/i386/i386.exp: Run fma, fma-intel, x86-64-fma and - x86-64-fma-intel. - -For older changes see ChangeLog-2008 +For older changes see ChangeLog-2009 Local Variables: mode: change-log diff --git a/gas/testsuite/ChangeLog-2009 b/gas/testsuite/ChangeLog-2009 new file mode 100644 index 0000000..6fe35b05 --- /dev/null +++ b/gas/testsuite/ChangeLog-2009 @@ -0,0 +1,1772 @@ +2009-12-19 Doug Evans <dje@sebabeach.org> + + * gas/xc16x/xc16x.exp (*): Add missing " in timeout cases. + +2009-12-19 Maciej W. Rozycki <macro@codesourcery.com> + + * gas/mips/eret-2.s: Add an instruction to fill a branch delay + slot. + * gas/mips/eret-2.d: Adjust accordingly. + +2009-12-19 Maciej W. Rozycki <macro@codesourcery.com> + + * gas/mips/aent.d: New test. + * gas/mips/aent.s: Source for the new test. + * gas/mips/mips.exp: Run it. + +2009-12-17 Nick Clifton <nickc@redhat.com> + + PR binutils/10924 + * gas/arm/unpredictable.s: Add more unpredictable instructions. + * gas/arm/unpredictable.d: Add expected disassemblies. + +2009-12-14 Nick Clifton <nickc@redhat.com> + + PR binutils/10924 + * gas/arm/unpredictable.s: New test case - checks the disassembly + of instructions with unpredictable behaviour. + * gas/arm/unpredictable.d: New file - expected disassembly. + +2009-12-11 Quentin Neill <quentin.neill@amd.com> + + * gas/i386/fma4.d: Add test cases. + * gas/i386/fma4.s: Add test cases. + * gas/i386/x86-64-fma4.d: Add test cases. + * gas/i386/x86-64-fma4.s: Add test cases. + +2009-12-07 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/11037 + * gas/i386/intelpic.s: Add testcases. + * gas/i386/intelpic.d: Updated. + +2009-12-03 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/i386.exp: Run x86-64-fxsave and x86-64-fxsave-intel. + + * gas/i386/rex.d: Updated for fxsave64. + + * gas/i386/x86-64-fxsave-intel.d: New. + * gas/i386/x86-64-fxsave.d: Likewise. + * gas/i386/x86-64-fxsave.s: Likewise. + +2009-12-02 Nick Clifton <nickc@redhat.com> + Richard Earnshaw <rearnsha@arm.com> + + PR gas/11013 + * gas/arm/arch7em.d: Update expected disassembly. + * gas/arm/thumb32.d: Likewise. + +2009-11-17 Quentin Neill <quentin.neill@amd.com> + Sebastian Pop <sebastian.pop@amd.com> + + * gas/i386/x86-64-fma4.d: Add new patterns. + * gas/i386/x86-64-fma4.s: Same. + * gas/i386/x86-64-xop.d: Adjusted. + +2009-11-19 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/lock-1.s: Add cmpxchg16b test. + * gas/i386/lock-1-intel.d: Updated. + * gas/i386/lock-1.d: Likewise. + +2009-11-19 Nick Clifton <nickc@redhat.com> + + PR binutils/10924 + * gas/arm/arch4t-eabi.d: Restore previous expected dissambly of + instructions using Immediate Offset addressing with an offset of + zero. + * gas/arm/arch4t.d: Likewise. + * gas/arm/arm7t.d: Likewise. + * gas/arm/xscale.d: Likewise. + * gas/arm/wince-inst.d: Remove 'p' suffix from cmp, cmn, teq and + tst instructions. + +2009-11-18 Sebastian Pop <sebastian.pop@amd.com> + + * gas/i386/x86-64-xop.d: Update patterns. + +2009-11-18 Sebastian Pop <sebastian.pop@amd.com> + + * gas/i386/cvt16.d: Removed. + * gas/i386/cvt16.s: Removed. + * gas/i386/x86-64-cvt16.d: Removed. + * gas/i386/x86-64-cvt16.s: Removed. + * gas/i386/i386.exp: Remove cvt16 and x86-64-cvt16 tests. + +2009-11-18 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/rex.d: Remove suffix on fxsave. + +2009-11-17 Sebastian Pop <sebastian.pop@amd.com> + Quentin Neill <quentin.neill@amd.com> + + * gas/i386/i386.exp: Run xop and cvt16 in 32-bit mode. + Run x86-64-xop and x86-64-cvt16 in 64-bit mode. + * gas/i386/lwp.d: Update name of the testcase. + * gas/i386/x86-64-xop.d: New. + * gas/i386/x86-64-xop.s: New. + * gas/i386/xop.d: New. + * gas/i386/xop.s: New. + * gas/i386/cvt16.d: New. + * gas/i386/cvt16.s: New. + +2009-11-17 Paul Brook <paul@codesourcery.com> + Daniel Jacobowitz <dan@codesourcery.com> + + * gas/arm/attr-march-armv7em.d: New test. + * gas/arm/arch7em-bad.d: New test. + * gas/arm/arch7em-bad.l: New test. + * gas/arm/arch7em.d: New test. + * gas/arm/arch7em.s: New test. + +2009-11-17 Nick Clifton <nickc@redhat.com> + + * gas/arm/vfma1.d: Only run on ELF based targets. + +2009-11-17 Nick Clifton <nickc@redhat.com> + + PR binutils/10924 + * gas/arm/arch4t-eabi.d: Update expected disassembly. + * gas/arm/arch4t.d: Likewise. + * gas/arm/archv6t2.d: Likewise. + * gas/arm/arm7t.d: Likewise. + * gas/arm/inst.d: Likewise. + * gas/arm/xscale.d: Likewise. + +2009-11-17 Nick Clifton <nickc@redhat.com> + + * gas/rx/macros.inc (creg): Remove cpen. + * gas/rx/mvfc.d: Remove expected uses of cpen register. + * gas/rx/mvtc.d: Likewise. + * gas/rx/popc.d: Likewise. + * gas/rx/pushc.d: Likewise. + +2009-11-16 Viktor Kutuzov <vkutuzov@accesssoftek.com> + + * gas/arm/vfp1xD.s: Add vmrs and vmsr instructions. + * gas/arm/vfp1xD.d: Update expected disassembly. + +2009-11-13 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/lock-1-intel.d: Updated. + * gas/i386/lock-1.d: Likewise. + * gas/i386/lock-1.s: Likewise. + * gas/i386/lockbad-1.l: Likewise. + * gas/i386/lockbad-1.s: Likewise. + * gas/i386/x86-64-lock-1-intel.d: Likewise. + * gas/i386/x86-64-lock-1.d: Likewise. + * gas/i386/x86-64-lock-1.s: Likewise. + * gas/i386/x86-64-lockbad-1.l: Likewise. + * gas/i386/x86-64-lockbad-1.s: Likewise. + +2009-11-13 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/rex.s: Add a test for VEX insn. + * gas/i386/rex.d: Updated. + +2009-11-13 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/i386.exp: Run long-1, long-1-intel, x86-64-long-1, + and x86-64-long-1-intel. + + * gas/i386/long-1-intel.d: New. + * gas/i386/long-1.d: Likewise. + * gas/i386/long-1.s: Likewise. + * gas/i386/x86-64-long-1-intel.d: Likewise. + * gas/i386/x86-64-long-1.d: Likewise. + * gas/i386/x86-64-long-1.s: Likewise. + + * gas/i386/jump16.d: Updated for prefix processing. + * gas/i386/naked.d: Likewise. + * gas/i386/nops-1-core2.d: Likewise. + * gas/i386/nops-1-i686.d: Likewise. + * gas/i386/nops-3-i686.d: Likewise. + * gas/i386/nops-4-i686.d: Likewise. + * gas/i386/nops-5-i686.d: Likewise. + * gas/i386/nops-5.d: Likewise. + * gas/i386/prefix.d: Likewise. + * gas/i386/rep.d: Likewise. + * gas/i386/string-ok.d: Likewise. + * gas/i386/x86-64-addr32-intel.d: Likewise. + * gas/i386/x86-64-addr32.d: Likewise. + * gas/i386/x86-64-cbw-intel.d: Likewise. + * gas/i386/x86-64-cbw.d: Likewise. + * gas/i386/x86-64-io-intel.d: Likewise. + * gas/i386/x86-64-io-suffix.d: Likewise. + * gas/i386/x86-64-io.d: Likewise. + * gas/i386/x86-64-lwp.d: Likewise. + * gas/i386/x86-64-nops-1-core2.d: Likewise. + * gas/i386/x86-64-nops-1-nocona.d: Likewise. + * gas/i386/x86-64-nops-1.d: Likewise. + * gas/i386/x86-64-nops-2.d: Likewise. + * gas/i386/x86-64-nops-3.d: Likewise. + * gas/i386/x86-64-nops-4-core2.d: Likewise. + * gas/i386/x86-64-nops-4.d: Likewise. + * gas/i386/x86-64-nops-5-k8.d: Likewise. + * gas/i386/x86-64-nops-5.d: Likewise. + * gas/i386/x86-64-rep.d: Likewise. + * gas/i386/x86-64-stack-intel.d: Likewise. + * gas/i386/x86-64-stack-suffix.d: Likewise. + * gas/i386/x86-64-stack.d: Likewise. + +2009-11-12 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/i386.exp: Run lock-1, lock-1-intel, lockbad-1, + x86-64-lock-1, x86-64-lock-1-intel and x86-64-lockbad-1. + + * gas/i386/lock-1-intel.d: New. + * gas/i386/lock-1.d: Likewise. + * gas/i386/lock-1.s: Likewise. + * gas/i386/lockbad-1.l: Likewise. + * gas/i386/lockbad-1.s: Likewise. + * gas/i386/x86-64-lock-1-intel.d: Likewise. + * gas/i386/x86-64-lock-1.d: Likewise. + * gas/i386/x86-64-lock-1.s: Likewise. + * gas/i386/x86-64-lockbad-1.l: Likewise. + * gas/i386/x86-64-lockbad-1.s: Likewise. + +2009-11-12 Daniel Jacobowitz <dan@codesourcery.com> + + * gas/arm/copro.d, gas/arm/fp-save.d, gas/arm/float.d, + gas/arm/fpa-mem.d: Update for removed generic coprocessor instructions + and expanded PC-relative offsets. + +2009-11-11 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/prefix.d: Swap order of ADDR and REP prefixes. + * gas/i386/rep.d: Likewise. + * gas/i386/x86-64-rep.d: Likewise. + +2009-11-06 Sebastian Pop <sebastian.pop@amd.com> + + * gas/i386/x86-64-lwp.s: Updated to also contain patterns + with r[8-15] registers. + * gas/i386/x86-64-lwp.d: Same. + +2009-11-05 Sebastian Pop <sebastian.pop@amd.com> + Quentin Neill <quentin.neill@amd.com> + + * gas/i386/i386.exp: Run x86-64-lwp in 64-bit mode, + run lwp in 32-bit mode. + * gas/i386/x86-64-lwp.d: New. + * gas/i386/x86-64-lwp.s: New. + * gas/i386/lwp.d: New. + * gas/i386/lwp.s: New. + +2009-11-05 Nick Clifton <nickc@redhat.com> + + * gas/i386/i386.exp (space1): Move test inside check for x86 + target. + +2009-11-04 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/876 + * gas/i386/i386.exp: Run space1. + + * gas/i386/space1.l: New. + * gas/i386/space1.s: Likewise. + +2009-11-03 Paul Brook <paul@codesourcery.com> + + * gas/arm/vfp-neon-syntax.d: Update expected results. + * gas/arm/vfp-neon-syntax_t2.d: Update expected results. + +2009-11-02 Paul Brook <paul@codesourcery.com> + + * gas/arm/attr-mfpu-vfpv4.d: New test. + * gas/arm/attr-mfpu-vfpv4-d16.d: New test. + * gas/arm/neon-fma-cov.d: New test. + * gas/arm/neon-fma-cov.s: New test. + * gas/arm/vfp-fma-inc.s: New test. + * gas/arm/vfp-fma-arm.d: New test. + * gas/arm/vfp-fma-arm.s: New test. + * gas/arm/vfp-fma-thumb.d: New test. + * gas/arm/vfp-fma-thumb.s: New test. + * gas/arm/vfma1.d: New test. + * gas/arm/vfma1.s: New test. + * gas/arm/vfpv3xd.d: New test. + * gas/arm/vfpv3xd.s: New test. + +2009-10-29 Sebastian Pop <sebastian.pop@amd.com> + + * gas/i386/fma4.d: Updated patterns. + * gas/i386/x86-64-fma4.d: Same. + +2009-10-29 Paul Brook <paul@codesourcery.com> + + * gas/arm/vfp-neon-syntax.d: Update expected results. + * gas/arm/vfp-neon-syntax_t2.d: Update expected results. + +2009-10-28 Alan Modra <amodra@bigpond.net.au> + + * gas/i386/intelpic.d: Correct. + +2009-10-25 Arnold Metselaar <arnold.metselaar@planet.nl> + + * gas/z80/equ.d, gas/z80/equ.s: Added test of parsing equ directives. + * gas/z80/z80.exp: Run it. + + * gas/z80/redef.d: Expect little endian output only. + +2009-10-20 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/10775 + * gas/i386/immed64.d: Updated. + * gas/i386/l1om.d: Likewise. + * gas/i386/x86-64-disp-intel.d: Likewise. + * gas/i386/x86-64-disp.d: Likewise. + * gas/i386/x86_64.d: Likewise. + +2009-10-19 Doug Evans <dje@sebabeach.org> + + * gas/xc16x/shlrol.s: Specify constant shift amount. + * gas/xc16x/xc16x.exp (do_xc16x_shlrol): Update expected output. + +2009-10-18 Vincent Rivière <vincent.riviere@freesbee.fr> + + * gas/all/weakref1u.d: Exclude more aout targets. + * gas/m68k/br-isaa.d: Likewise. + * gas/m68k/br-isab.d: Likewise. + * gas/m68k/br-isac.d: Likewise. + +2009-10-15 Alan Modra <amodra@bigpond.net.au> + + PR gas/1491 + * gas/macros/dot.s: Don't start macro invocations is first column. + * gas/macros/dot.l: Update. + * gas/macros/macros.exp: Run dot test on more targets. + +2009-10-13 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/10740 + * gas/i386/jump.s: Add new tests. + * gas/i386/jump16.s: Likewise. + + * gas/i386/jump.d: Updated. + * gas/i386/jump16.d: Likewise. + +2009-10-13 Vincent Riviere <vincent.riviere@freesbee.fr> + + PR gas/3041 + * gas/m68k/all.exp: Added "p3041data". + * gas/m68k/p3041.d, gas/m68k/p3041.s: Added tests of weak references + from text section to all possible sections. + * gas/m68k/p3041data.d, gas/m68k/p3041data.s: New test. Check weak + references from data section. + +2009-10-08 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/10704 + * gas/i386/intelok.s: Move 2 PIC tests to ... + * gas/i386/intelpic.s: Here. + + * gas/i386/intelok.d: Updated. + * gas/i386/intelpic.d: Likewise. + +2009-10-07 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/10704 + * gas/i386/intelok.s: Add 2 new tests. + * gas/i386/intelok.d: Updated. + +2009-10-02 Peter Bergner <bergner@vnet.ibm.com> + + * gas/ppc/476.s: New test. + * gas/ppc/476.d: Likewise. + * gas/ppc/ppc.exp: Run the 476 test. + +2009-10-01 Peter Bergner <bergner@vnet.ibm.com> + + * gas/ppc/a2.d: Rename "ppca2" to "a2". + +2009-09-29 DJ Delorie <dj@redhat.com> + + * gas/rx: New directory. + * gas/rx/*: New set of test cases. + * gas/elf/section2.e-rx: New expected output file. + * gas/all/gas.exp: Add support for RX target. + * gas/elf/elf.exp: Likewise. + * gas/lns/lns.exp: Likewise. + * gas/macros/macros.exp: Likewise. + +2009-09-29 Peter Bergner <bergner@vnet.ibm.com> + + * gas/ppc/vsx.s ("lxsdux", "lxvd2ux", "lxvw4ux", "stxsdux", + "stxvd2ux", "stxvw4ux"): Remove tests. + * gas/ppc/vsx.d: Likewise. + * gas/ppc/power7.s: Likewise. + * gas/ppc/power7.d: Likewise. + +2009-09-24 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/10677 + * gas/i386/i386.exp: Run x86-64-localpic. + + * gas/i386/x86-64-localpic.d: New. + * gas/i386/x86-64-localpic.s: Likewise. + +2009-09-23 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/localpic.d: Updated. + +2009-09-23 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/i386.exp: Run localpic. + + * gas/i386/localpic.d: New. + * gas/i386/localpic.s: Likewise. + +2009-09-23 Alan Modra <amodra@bigpond.net.au> + + * gas/arm/thumbver.d: Tolerate some whitespace differences. + * gas/elf/elf.exp: Likewise. + * gas/elf/section2.e: Likewise. + * gas/elf/section2.e-armeabi: Likewise. + * gas/elf/section2.e-armelf: Likewise. + * gas/elf/section2.e-m32r: Likewise. + * gas/elf/section2.e-mips: Likewise. + * gas/elf/section2.e-miwmmxt: Likewise. + * gas/elf/section2.e-score: Likewise. + * gas/elf/section2.e-xtensa: Likewise. + * gas/elf/type-noifunc.e: Likewise. + * gas/elf/type.e: Likewise. + * gas/ia64/alias-ilp32.d: Likewise. + * gas/ia64/alias.d: Likewise. + * gas/ia64/global.d: Likewise. + * gas/mips/mips16-vis-1.d: Likewise. + * gas/mmix/bspec-1.d: Likewise. + * gas/mmix/byte-1.d: Likewise. + * gas/mmix/comment-1.d: Likewise. + * gas/mmix/loc-1.d: Likewise. + * gas/mmix/loc-2.d: Likewise. + * gas/mmix/loc-3.d: Likewise. + * gas/mmix/loc-4.d: Likewise. + * gas/mmix/loc-5.d: Likewise. + * gas/mmix/loc-6.d: Likewise. + * gas/mmix/loc-7.d: Likewise. + +2009-09-22 Alan Modra <amodra@bigpond.net.au> + + * gas/ppc/a2.d: Match PPC64 relocs. + +2009-09-21 Maciej W. Rozycki <macro@linux-mips.org> + + * lib/gas-defs.exp (gas_test_error): Mark internal error/assertion + failures seen in output as fails. Also record output being + matched for fails. + +2009-09-21 Maciej W. Rozycki <macro@linux-mips.org> + + * gas/mips/eret-1.d: Adjust regexps for robustness. + * gas/mips/eret-2.d: Likewise. + * gas/mips/eret-3.d: Likewise. + * gas/mips/eret-1.s: Reformat for readability. Add a label + at the beginning. + * gas/mips/eret-2.s: Add a label at the beginning. + +2009-09-21 Maciej W. Rozycki <macro@linux-mips.org> + + * gas/mips/eret-1.s: Add trailing padding. + * gas/mips/eret-2.s: Likewise. + * gas/mips/eret-3.s: Likewise. + * gas/mips/eret-1.d: Adjust accordingly. Force a 32-bit ABI. + * gas/mips/eret-2.d: Likewise. + * gas/mips/eret-3.d: Likewise. + +2009-09-21 Maciej W. Rozycki <macro@linux-mips.org> + + * gas/mips/mips.exp: Fix a typo. + +2009-09-21 Ben Elliston <bje@au.ibm.com> + Peter Bergner <bergner@vnet.ibm.com> + + * gas/ppc/a2.s: New. + * gas/ppc/a2.d: Likewise. + * gas/ppc/ppc.exp: Run the a2 dump test. + +2009-09-21 Ben Elliston <bje@au.ibm.com> + + * gas/ppc/e500mc.d: Remove blank line at the end of file. + +2009-09-15 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/disp.s: Add an offset test. + * gas/i386/x86-64-disp.s: Likewise. + + * gas/i386/intelbad.s: Comment out "byte ptr [1]" test. + + * gas/i386/disp.d: Updated. + * gas/i386/disp-intel.d: Likewise. + * gas/i386/intelbad.l: Likewise. + * gas/i386/x86-64-disp.d: Likewise. + * gas/i386/x86-64-disp-intel.d: Likewise. + +2009-09-14 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/10637 + * gas/i386/disp.s: Add tests for Intel syntax. + * gas/i386/x86-64-disp.s: Likewise. + + * gas/i386/disp.d: Updated. + * gas/i386/intelok.d: Likewise. + * gas/i386/x86-64-disp.d: Likewise. + + * gas/i386/disp-intel.d: New. + * gas/i386/x86-64-disp-intel.d: Likewise. + + * gas/i386/i386.exp: Run disp-intel and x86-64-disp-intel. + +2009-09-14 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/merom.[ds]: Renamed to ... + * gas/i386/ssse3.[ds]: This. + + * gas/i386/nops-1-merom.d: Renamed to ... + * gas/i386/nops-1-core2.d: This. + + * gas/i386/nops-2-merom.d: Renamed to ... + * gas/i386/nops-2-core2.d: This. + + * gas/i386/prescott.[ds]: Renamed to ... + * gas/i386/sse3.[ds]: This. + + * gas/i386/x86-64-merom.[ds]: Renamed to ... + * gas/i386/x86-64-ssse3.[ds]: This. + + * gas/i386/x86-64-nops-1-merom.d: Renamed to ... + * gas/i386/x86-64-nops-1-core2.d: This. + + * gas/i386/x86-64-prescott.[ds]: Renamed to ... + * gas/i386/x86-64-sse3.[ds]: This. + + * gas/i386/i386.exp: Updated. + +2009-09-14 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/10636 + * gas/i386/disp.d: New. + * gas/i386/disp.s: Likewise. + * gas/i386/x86-64-disp.d: Likewise. + * gas/i386/x86-64-disp.s: Likewise. + + * gas/i386/i386.exp: Run disp and x86-64-disp. + + * gas/i386/x86-64-addr32.s: Add high 32bit displacement tests. + + * gas/i386/x86-64-addr32.d: Updated. + * gas/i386/x86-64-addr32-intel.d: Likewise. + * gas/i386/x86-64-inval.l: Likewise. + * gas/i386/x86-64-prescott.d: Likewise. + + * gas/i386/x86-64-inval.s: Add invalid displacement tests. + + * gas/i386/x86-64-prescott.s: Replace 0x90909090 displacement + with 0x909090. + +2009-09-13 Richard Sandiford <rdsandiford@googlemail.com> + + * gas/mips/jalr2.s, gas/mips/jalr2.d: New test. + * gas/mips/jal-svr4pic.d: Don't expect R_MIPS_JALRs to be reduced. + * gas/mips/jal-xgot.d: Likewise. + * gas/mips/mips-abi32-pic2.d: Likewise. + * gas/mips/mips.exp: Run it. + +2009-09-13 Richard Sandiford <rdsandiford@googlemail.com> + + * gas/mips/mips16-dwarf2-n32.d: Expect odd addresses. + +2009-09-11 Hans-Peter Nilsson <hp@bitrange.com> + + PR gas/10623 + * gas/mmix/err-swym1.s, gas/mmix/swym-opreg1.d, + gas/mmix/swym-opreg1.s, gas/mmix/swym-opreg2.d, + gas/mmix/swym-opreg2.s: New tests. + * gas/mmix/odd-1.d: Adjust for reloc change. + +2009-09-11 Alan Modra <amodra@bigpond.net.au> + + * gas/lns/lns-common-1.s: Use two nops between each .loc. + * gas/lns/lns.exp: Don't exclude d10v. + +2009-09-09 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * gas/sh/sh64/syntax-1.s: Regenerate. + +2009-09-08 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * gas/sh/basic.exp: Add -big to ASFLAGS for sh*l*-*-netbsdelf*. + +2009-09-08 Alan Modra <amodra@bigpond.net.au> + + * gas/d30v/serial2.l: Adjust position of page break. + * gas/lns/lns-common-1-alt.d: Match 2009-04-24 change. + * gas/mt/ms1-16-003.d: Correct reloc name. + * gas/mt/relocs.d: Elide incorrect file format strings. + +2009-09-08 Alan Modra <amodra@bigpond.net.au> + + * gas/all/gas.exp (do_comment): Don't run on m32c. + * gas/all/align.d: Likewise. + * gas/all/incbin.d: Likewise. + * gas/macros/semi.d: Likewise. + * gas/elf/ifunc-1.d: Don't run on alpha. + +2009-09-04 Jie Zhang <jie.zhang@analog.com> + + * gas/bfin/arithmetic.s, gas/bfin/arithmetic.d: Add check + for (IU) option for multiply and multiply-accumulate to + data register instructon. + +2009-09-03 Jie Zhang <jie.zhang@analog.com> + + * gas/bfin/parallel5.s: New test. + * gas/bfin/error.exp: New test. + +2009-09-03 Jie Zhang <jie.zhang@analog.com> + + * gas/bfin/line_number.l, gas/bfin/line_number.s: New test. + * gas/bfin/bfin.exp: Add the new test. + +2009-09-03 Jie Zhang <jie.zhang@analog.com> + + * gas/bfin/expected_move_errors.s, + gas/bfin/expected_move_errors.l: Add "LC1 = I0;". + * gas/bfin/move.s, gas/bfin/move.d: Remove "CYCLES = A0.W". + +2009-09-03 Jie Zhang <jie.zhang@analog.com> + + * gas/bfin/expected_comparison_errors.l: Expect error on Line 13. + +2009-09-03 Jie Zhang <jie.zhang@analog.com> + + * gas/bfin/loop.s, gas/bfin/loop.d: New test. + * gas/bfin/loop2.s, gas/bfin/loop2.d: New test. + * gas/bfin/loop3.s, gas/bfin/loop3.d: New test. + * gas/bfin/bfin.exp: Add the new tests. + +2009-09-02 Jie Zhang <jie.zhang@analog.com> + + From Bernd Schmidt <bernd.schmidt@analog.com> + * gas/bfin/expected_errors.l, gas/bfin/expected_errors.s: + Check error messages for invalid load/store insns. + +2009-09-01 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/att-regs.s: Add ymm tests for 16bit and 64bit. + * gas/i386/intel-regs.s: Likewise. + + * gas/i386/att-regs.d: Updated. + * gas/i386/intel-regs.d: Likewise. + +2009-09-01 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/att-regs.s: Remove a tab. + +2009-09-01 Jie Zhang <jie.zhang@analog.com> + + * gas/bfin/expected_comparison_errors.s: Add more cases. + * gas/bfin/expected_comparison_errors.l: Update accordingly. + +2009-09-01 Jie Zhang <jie.zhang@analog.com> + + * gas/bfin/stack2.s: Add pop multiple instruction with a label + on the same line. + * gas/bfin/stack2.d: Adjust accordingly. + +2009-08-31 Jan Beulich <jbeulich@novell.com> + + * gas/elf/section5.l: Remove no longer issued warning pattern. + +2009-08-29 Matt Fleming <matt@console-pimps.org> + + * gas/sh/sign-extension.d: New file. + * gas/sh/sign-extension.s: New file. + * gas/sh/basic.exp: Run new test. + +2009-08-28 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/l1om.d: Check elf64-l1om format. + +2006-08-11 Bernd Schmidt <bernd.schmidt@analog.com> + + * gas/bfin/parallel.s: Add more test cases. + * gas/bfin/parallel.d: Update accordingly. + * gas/bfin/resource_conflict.l: New test. + * gas/bfin/resource_conflict.s: New test. + * gas/bfin/bfin.exp: Add resource_conflict. + +2009-08-11 Nick Clifton <nickc@redhat.com> + + PR 10443 + * gas/arm/t16-bad.l: Update expected messages for moves with + shifted operands. + +2009-08-10 Daniel Gutson <dgutson@codesourcery.com> + + PR gas/10479 + * gas/arm/sp-pc-usage-t.d: New test case. + * gas/arm/sp-pc-usage-t.s: New file. + +2006-08-09 Bernd Schmidt <bernd.schmidt@analog.com> + + From Mike Frysinger <michael.frysinger@analog.com> + * gas/bfin/reloc.d: Adjust for the renamed relocations. + +2009-08-07 Daniel Jacobowitz <dan@codesourcery.com> + + * gas/arm/mapping2.s: Test code after .ident. + +2009-08-05 Chao-ying Fu <fu@mips.com> + + * gas/mips/jal-svr4pic.d, gas/mips/jal-xgot.d, + gas/mips/mips-abi32-pic2.d: Add R_MIPS_JALR relocations after jalr. + +2009-08-04 Nathan Sidwell <nathan@codesourcery.com> + + * gas/arm/missing.s: New. + * gas/arm/missing.d: New. + * gas/arm/missing.l: New. + +2009-07-15 Daniel Gutson <dgutson@codesourcery.com> + Daniel Jacobowitz <dan@codesourcery.com> + + * gas/arm/mapdir.d, gas/arm/mapdir.s: New files. + * gas/arm/mapping.d: Adapted to new symbols generation. + * gas/arm/mapping2.d: New test case. + * gas/arm/mapping2.s: New file. + * gas/arm/mapping3.d: New test case. + * gas/arm/mapping3.s: New file. + * gas/arm/mapping4.d: New test case. + * gas/arm/mapping4.s: New file. + * gas/arm/mapshort-eabi.d: Adapted to new symbols generation. + * gas/elf/section2.e-armeabi: Adapted to new symbols generation. + +2009-07-27 Jan Beulich <jbeulich@novell.com> + + * gas/elf/file.[ds]: New. + * gas/elf/elf.exp: Run new test. + +2009-07-25 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/l1om.d: New. + * gas/i386/l1om-inval.l: Likewise. + * gas/i386/l1om-inval.s: Likewise. + + * gas/i386/i386.exp: Run l1om-inval and l1om. + +2009-07-24 Jan Beulich <jbeulich@novell.com> + + * gas/i386/8087.[ds]: New. + * gas/i386/287.[ds]: New. + * gas/i386/387.[ds]: New. + * gas/i386/no87.[ls]: New. + * gas/i386/no87-2.[ls]: New. + * gas/i386/i386.exp: Run new tests. + * gas/i386/att-regs.s: Also check FPU register access. + * gas/i386/intel-regs.s: Likewise. + * gas/i386/att-regs.d: Adjust expectations. + * gas/i386/intel-regs.d: Likewise. + +2009-07-23 Ulrich Drepper <drepper@redhat.com> + + * gas/elf/type.s: Add unique global symbol definition. + * gas/elf/type.e: Add expected readelf output for global unique + symbol. + +2009-07-21 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/10420 + * gas/i386/i386.exp: Run x86-64-nops-1-pentium. + + * gas/i386/x86-64-nops-1-pentium.d: New. + +2009-07-16 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/i386.exp: Run ifunc and x86-64-ifunc. + + * gas/i386/ifunc.d: New, + * gas/i386/ifunc.s: Likewise. + * gas/i386/x86-64-ifunc.d: Likewise. + +2009-07-16 Nathan Sidwell <nathan@codesourcery.com> + + * gas/arm/target-reloc-1.s: New. + * gas/arm/target-reloc-1.d: New. + +2009-07-14 Daniel Gutson <dgutson@codesourcery.com> + + * gas/arm/align64.s: New test case. + * gas/arm/align64.d: Expected disassembly. + +2009-07-14 Daniel Gutson <dgutson@codesourcery.com> + + * gas/arm/thumb-w-bad.d: New test case. + * gas/arm/thumb-w-bad.l: New file. + * gas/arm/thumb-w-bad.s: New file. + * gas/arm/thumb-w-good.d: New test case. + * gas/arm/thumb-w-good.s: New file. + +2009-07-09 Daniel Gutson <dgutson@codesourcery.com> + + * gas/arm/inst-po.d: New testcase. + * gas/arm/inst-po.s: New file. + * gas/arm/inst-po-2.d: New testcase. + * gas/arm/inst-po-2.s: New file. + * gas/arm/inst-po-2.l: New file. + * gas/arm/inst-po-3.d: New testcase. + * gas/arm/inst-po-3.s: New file. + * gas/arm/inst-po-be.d: New testcase. + +2009-07-07 2009-07-04 Chung-Lin Tang <cltang@pllab.cs.nthu.edu.tw> + + * gas/arm/iwmmxt2.d: Fix insn pattern for torvsc, + add patterns for waddsubhx. + * gas/arm/iwmmxt2.s: Add tests for waddsubhx. + +2009-07-07 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/fma4.d: Append "#pass". + * gas/i386/x86-64-fma4.d: Likewise. + +2009-07-07 Tristan Gingold <gingold@adacore.com> + + * gas/i386/jump.d: Adjust to be relocated offset for jump to + external symbol. + +2009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> + + * gas/i386/i386.exp: Add FMA4 tests. + * gas/i386/x86-64-fma4.d: Ditto. + * gas/i386/fma4.d: Ditto. + * gas/i386/x86-64-fma4.s: Ditto. + * gas/i386/fma4.s: Ditto. + +2009-07-01 Nick Clifton <nickc@redhat.com> + + PR 10168 + * gas/arm/thumb32.d: Fix expected disassembly of PKHTB insn. + +2009-07-01 Paul Brook <paul@codesourcery.com> + + * gas/arm/fp-save.s: Add .fnstart and .fnend directives. + +2009-06-30 Nick Clifton <nickc@redhat.com> + + PR 10288 + * gas/arm/adrl.d: Update expected disassembly. + * gas/arm/arch4t-eabi.d: Likewise. + * gas/arm/arch4t.d: Likewise. + * gas/arm/arch6zk.d: Likewise. + * gas/arm/archv6t2.d: Likewise. + * gas/arm/arm-it.d: Likewise. + * gas/arm/arm3.d: Likewise. + * gas/arm/arm7dm.d: Likewise. + * gas/arm/arm7t.d: Likewise. + * gas/arm/backslash-at.d: Likewise. + * gas/arm/bl-local-v4t.d: Likewise. + * gas/arm/blx-local.d: Likewise. + * gas/arm/copro.d: Likewise. + * gas/arm/el_segundo.d: Likewise. + * gas/arm/float.d: Likewise. + * gas/arm/fp-save.d: Likewise. + * gas/arm/fpa-mem.d: Likewise. + * gas/arm/group-reloc-alu.d: Likewise. + * gas/arm/group-reloc-ldr.d: Likewise. + * gas/arm/group-reloc-ldrs.d: Likewise. + * gas/arm/immed.d: Likewise. + * gas/arm/inst.d: Likewise. + * gas/arm/iwmmxt.d: Likewise. + * gas/arm/ldconst.d: Likewise. + * gas/arm/macro1.d: Likewise. + * gas/arm/mapmisc.d: Likewise. + * gas/arm/mapsecs.d: Likewise. + * gas/arm/mapshort-eabi.d: Likewise. + * gas/arm/mapshort-elf.d: Likewise. + * gas/arm/movw-local.d: Likewise. + * gas/arm/neon-ldst-rm.d: Likewise. + * gas/arm/offset.d: Likewise. + * gas/arm/reg-alias.d: Likewise. + * gas/arm/relax_load_align.d: Likewise. + * gas/arm/tcompat.d: Likewise. + * gas/arm/tcompat2.d: Likewise. + * gas/arm/thumb-eabi.d: Likewise. + * gas/arm/thumb.d: Likewise. + * gas/arm/thumb1_unified.d: Likewise. + * gas/arm/thumb2_add.d: Likewise. + * gas/arm/thumb2_it.d: Likewise. + * gas/arm/thumb2_it_auto.d: Likewise. + * gas/arm/thumb2_pool.d: Likewise. + * gas/arm/thumb2_relax.d: Likewise. + * gas/arm/thumb32.d: Likewise. + * gas/arm/thumbv6.d: Likewise. + * gas/arm/thumbv6k.d: Likewise. + * gas/arm/tls.d: Likewise. + * gas/arm/vfp1.d: Likewise. + * gas/arm/vfp1_t2.d: Likewise. + * gas/arm/vfp1xD.d: Likewise. + * gas/arm/wince.d: Likewise. + * gas/arm/wince_inst.d: Likewise. + * gas/arm/xscale.d: Likewise. + +2009-06-29 Nick Clifton <nickc@redhat.com> + + PR 10288 + * gas/arm/arch6zk.d: Update expected disassembly. + * gas/arm/arch7.d: Likewise. + * gas/arm/arm-it-auto-2.d: Likewise. + * gas/arm/arm-it-auto.d: Likewise. + * gas/arm/copro.d: Likewise. + * gas/arm/float.d: Likewise. + * gas/arm/fpa-mem.d: Likewise. + * gas/arm/group-reloc-ldc.d: Likewise. + * gas/arm/group-reloc-ldr.d: Likewise. + * gas/arm/iwmmxt.d: Likewise. + * gas/arm/maverick.d: Likewise. + * gas/arm/neon-omit.d: Likewise. + * gas/arm/svc.d: Likewise. + * gas/arm/thumb-eabi.d: Likewise. + * gas/arm/thumb.d: Likewise. + * gas/arm/thumb1_unified.d: Likewise. + * gas/arm/thumb2_add.d: Likewise. + * gas/arm/thumb2_relax.d: Likewise. + * gas/arm/thumb32.d: Likewise. + * gas/arm/vfp-neon-syntax.d: Likewise. + * gas/arm/vfp-neon-syntax_t2.d: Likewise. + * gas/arm/vfp1xD.d: Likewise. + * gas/arm/vfp1xD_t2.d: Likewise. + * gas/arm/vfpv3-const-conv.d: Likewise. + * gas/arm/xscale.d: Likewise. + +2009-06-22 Daniel Gutson <dgutson@codesourcery.com> + + * gas/arm/arm-it-auto.d: New test. + * gas/arm/arm-it-auto.s: New file. + * gas/arm/arm-it-auto-2.d: New test case. + * gas/arm/arm-it-auto-2.s: New file. + * gas/arm/arm-it-auto-3.d: New test case. + * gas/arm/arm-it-auto-3.s: New file. + * gas/arm/arm-it-bad.d: New test case. + * gas/arm/arm-it-bad.l: New file. + * gas/arm/arm-it-bad.s: New file. + * gas/arm/arm-it-bad-2.d: New test case. + * gas/arm/arm-it-bad-2.l: New file. + * gas/arm/arm-it-bad-2.s: New file. + * gas/arm/arm-it-bad-3.d: New test case. + * gas/arm/arm-it-bad-3.l: New file. + * gas/arm/arm-it-bad-3.s: New file. + * gas/arm/thumb2_it_auto.d: New test. + * gas/arm/thumb2_it_bad.l: Error message updated. + * gas/arm/thumb2_it_bad_auto.d: New test. + * gas/arm/thumb2_it.d: Comment added. + * gas/arm/thumb2_it_bad.d: Comment added. + +2009-06-19 Alan Modra <amodra@bigpond.net.au> + + PR gas/10255 + * gas/cfi/cfi-common-7.s: Skip a multiple of four. + * gas/cfi/cfi-common-7.d: Adjust. + +2009-06-18 Nick Clifton <nickc@redhat.com> + + PR 10169 + * gas/arm/thumb2_bad_reg.s: Add tests for SSAT and USAT with an + out of range shift. + * gas/arm/thumb2_bad_reg.l: Update expected error messages. + + PR 10288 + * gas/arm/align.s: Add labels so that COFF based targets can + correctly locate THUMB code. + * gas/arm/copro.d: Do not pass --architecture switch to objdump. + +2009-06-15 Nick Clifton <nickc@redhat.com> + + PR gas/10186 + * gas/arm/thumb32.d: Fix expected binary value of SEV.W instruction. + +2009-06-09 Jakub Jelinek <jakub@redhat.com> + + PR gas/10255 + * gas/cfi/cfi-common-7.d: New test. + * gas/cfi/cfi-common-7.s: New. + * gas/cfi/cfi.exp: Add cfi-common-7 test. + +2009-06-08 Dave Korn <dave.korn.cygwin@gmail.com> + + * gas/i386/jump.d: Tweak patterns to also match PE platform output. + +2009-06-01 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/10198 + * gas/i386/jump.s: Add test for "jmp $+2". + * gas/i386/jump16.s: Likewise. + + * gas/i386/jump.d: Updated. + * gas/i386/jump16.d: Likewise. + +2009-05-26 Catherine Moore <clm@codesourcery.com> + + * gas/mips/eret.s: Remove. + * gas/mips/eret.d: Remove. + * gas/mips/eret.l: Remove. + * gas/mips/eret-1.s: New. + * gas/mips/eret-1.d: New. + * gas/mips/eret-2.s: New. + * gas/mips/eret-2.d: New. + * gas/mips/eret-3.s: New. + * gas/mips/eret-3.d: New. + * gas/mips/mips.exp: Run new tests. Remove old tests. + +2009-05-23 Richard Sandiford <rdsandiford@googlemail.com> + + * gas/mips/vr4130.s, gas/mips/vr4130.d: Expect part A to have nops. + +2009-05-23 Richard Sandiford <rdsandiford@googlemail.com> + + * gas/mips/align.d: Use an nm test rather than an objdump one. + +2009-05-22 H.J. Lu <hongjiu.lu@intel.com> + + * gas/elf/ifunc-1.d: New. + * gas/elf/ifunc-1.s: Likewise. + + * gas/elf/elf.exp: Run ifunc-1. + +2009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> + + * gas/i386/i386.exp: Remove SSE5 tests. + * gas/i386/x86-64-sse5.s: Delete. Remove SSE5 tests. + * gas/i386/x86-64-sse5.d: Ditto. + * gas/i386/arch-10-1.l: Remove SSE5 tests. + * gas/i386/arch-10-2.l: Ditto. + * gas/i386/arch-10-3.l: Ditto. + * gas/i386/arch-10-4.l: Ditto. + * gas/i386/arch-10.d: Ditto. + * gas/i386/arch-10.s: Ditto. + * gas/i386/arch-4.s: Delete. Remove SSE5 tests. + * gas/i386/arch-4.d: Ditto. + * gas/i386/arch-8.s: Ditto. + * gas/i386/arch-8.d: Ditto. + * gas/i386/arch-2.s: Remove SSE5 tests. + * gas/i386/arch-2.d: Remove SSE5 tests. + * gas/i386/x86-64-arch-2.s: Ditto. + +2009-05-19 Dave Korn <dave.korn.cygwin@gmail.com> + + * gas/pe/: New directory for PE format-specific tests. + * gas/pe/aligncomm-a.d: New test pattern file. + * gas/pe/aligncomm-a.s: New test source file. + * gas/pe/aligncomm-b.d: New test pattern file. + * gas/pe/aligncomm-b.s: New test source file. + * gas/pe/aligncomm-c.d: New test pattern file. + * gas/pe/aligncomm-c.s: New test source file. + * gas/pe/aligncomm-d.d: New test pattern file. + * gas/pe/aligncomm-d.s: New test source file. + * gas/pe/pe.exp: New test control script. + * lib/gas-defs.exp (is_pecoff_format): New function. + +2009-05-05 H.J. Lu <hongjiu.lu@intel.com> + + * gas/lns/lns-common-1-ia64.s: Add test for discriminator. + +2009-05-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> + + * gas/arm/bl-local-v4t.d: New file. + * gas/arm/bl-local-v4t.s: New file. + * gas/arm/blx-local.s: Update for branches and calls to local + functions. + * gas/arm/blx-local.d: Likewise. + * gas/arm/blx-local.l: New file. + * gas/arm/blx-local-thumb.l: New file. + * gas/arm/blx-local-thumb.s: New file. + * gas/arm/blx-local-thumb.d: New file. + +2009-05-01 Nathan Sidwell <nathan@codesourcery.com> + Daniel Jacobowitz <dan@codesourcery.com> + + * gas/arm/attr-mcpu.d: Add -mfpu=neon. + * gas/arm/mapmisc.d: Correct expected output for .double and + .dcb.d. + +2009-04-30 Nick Clifton <nickc@redhat.com> + + * gas/elf/elf.exp: Extend type test to include an ifunc symbol. + Provide an alternative test for targets which do not support ifunc + symbols. + gas/elf/type.s: Add entry for an ifunc symbol. + gas/elf/type.e: Add ifunc entry to expected symbol dump. + gas/elf/section2.e-armelf: Add entry for ifunc symbol. + gas/elf/type-noifunc.s: New file. + gas/elf/type-noifunc.e: Likewise. + +2009-04-24 Cary Coutant <ccoutant@google.com> + + * gas/lns/lns-common-1.d: Add test for discriminator. + * gas/lns/lns-common-1.s: Likewise. + +2009-04-20 Jan Beulich <jbeulich@novell.com> + + * gas/i386/equ.s: Adjust. + * gas/i386/equ.d: Remove reference to equ.e. + * gas/i386/equ.e: Delete. + * gas/i386/intel-expr.s: New. + * gas/i386/intel-expr.d: New. + * gas/i386/i386.exp: Run new test. + * gas/i386/intel.s: Adjust. + * gas/i386/intel.e: Remove no longer valid warning messages. + * gas/i386/intel16.s: Adjust. + * gas/i386/intel16.d: Remove reference to intel16.e. + * gas/i386/intel16.e: Delete. + * gas/i386/intelbad.s: Add more tests. + * gas/i386/intelbad.l: Adjust. + * gas/i386/intelok.s: Remove now unneeded equates. Add more + tests. + * gas/i386/intelok.d: Remove reference to intelok.e. Adjust. + * gas/i386/intelok.e: Delete. + * gas/i386/x86_64.s: Adjust. + * gas/i386/x86_64.d: Remove reference to x86_64.e. + * gas/i386/x86_64.e: Delete. + +2009-04-16 Alan Modra <amodra@bigpond.net.au> + + * gas/all/gas.exp: Disable assign and assign-ok tests on blackfin. + * gas/all/p2425.s: Use "==" instead of "=". + * gas/all/weakref1.s: Likewise. + * gas/macros/and.s: Likewise. + * gas/macros/test1.s: Likewise. + * gas/hppa/parse/parse.exp: Remove xfail on block1. + +2009-04-15 Jan Beulich <jbeulich@novell.com> + + * gas/i386/intel.e: Adjust expectations. + +2009-04-15 Jan Beulich <jbeulich@novell.com> + + * gas/i386/x86-64-sse5.s: Add test of protd. + * gas/i386/x86-64-sse5.d: Adjust expectations to match input. + +2009-04-09 Catherine Moore <clm@codesourcery.com> + + * gas/mips/mips.exp: Run new tests. + * gas/mips/eret.s: New test. + * gas/mips/eret.d: New test output. + * gas/mips/eret.l: New test output. + +2009-04-07 Peter Bergner <bergner@vnet.ibm.com> + + * gas/ppc/e500mc.d: Update to match extended mnemonics. + +2009-04-01 Nathan Sidwell <nathan@codesourcery.com> + + * gas/arm/align.s, gas/arm/align.d: New. + * gas/arm/thumb32.d, gas/arm/arch6zk.d, gas/arm/arch6zk.s, + arm/thumb2_relax.d: Adjust for align changes. + +2009-03-31 Peter Bergner <bergner@vnet.ibm.com> + + * gas/ppc/power7.d ("ori", ".p2align"): Add tests for group ending nop. + * gas/ppc/power7.s: Likewise. + * gas/ppc/power6.d: Likewise. + * gas/ppc/power6.s: Likewise. + +2009-03-30 Joseph Myers <joseph@codesourcery.com> + + * gas/arm/mapsecs.d, gas/arm/mapsecs.s: New. + +2009-03-26 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> + + * gas/arm/wince_inst.d: Convert to unified syntax. + +2009-03-18 Andrew Stubbs <ams@codesourcery.com> + + * gas/arm/adr-invalid.d: New file. + * gas/arm/adr-invalid.l: New file. + * gas/arm/adr-invalid.s: New file. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * gas/ppc/textalign-xcoff-001.d: Expect the section VMAs to be + properly aligned. + * gas/ppc/textalign-xcoff-002.d: Likewise. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * gas/ppc/xcoff-branch-1.s, gas/ppc/xcoff-branch-1-32.d, + gas/ppc/xcoff-branch-1-64.d: New tests. + * gas/ppc/aix.exp: Run them. + +2009-03-11 Hans-Peter Nilsson <hp@axis.com> + + * gas/cris/rd-bkw5.d, gas/cris/rd-bkw5.s, gas/cris/rd-bkw5b.d, + gas/cris/rd-bkw5bpic.d, gas/cris/rd-bkw5bv32.d, + gas/cris/rd-bkw5bv32pic.d, gas/cris/rd-bkw5pic.d, + gas/cris/rd-bkw5v32.d, gas/cris/rd-bkw5v32pic.d: New tests. + +2009-03-10 Hans-Peter Nilsson <hp@axis.com> + + * gas/cris/rd-bkw4.d, gas/cris/rd-bkw4v32.d, gas/cris/rd-bkw4.s: + New test. + +2009-03-10 Alan Modra <amodra@bigpond.net.au> + + * gas/ppc/altivec_and_spe.d (objdump): Add -Maltivec. + * gas/ppc/common.d: Adjust for -Mcom not including -Mppc. + +2009-03-05 Joseph Myers <joseph@codesourcery.com> + + * gas/arm/mapmisc.d, gas/arm/mapmisc.dat, gas/arm/mapmisc.s: New. + +2009-03-02 Qinwei <qinwei@sunnorth.com.cn> + + * gas/score/arith_32-lt.d: New file. + * gas/score/arith_32.d: New file. + * gas/score/arith_32.s: New file. + * gas/score/bit_32-lt.d: New file. + * gas/score/bit_32.d: New file. + * gas/score/bit_32.s: New file. + * gas/score/branch_32-lt.d: New file. + * gas/score/branch_32.d: New file. + * gas/score/branch_32.s: New file. + * gas/score/cmp_32-lt.d: New file. + * gas/score/cmp_32.d: New file. + * gas/score/cmp_32.s: New file. + * gas/score/load_store_32-lt.d: New file. + * gas/score/load_store_32.d: New file. + * gas/score/load_store_32.s: New file. + * gas/score/logical_32-lt.d: New file. + * gas/score/logical_32.d: New file. + * gas/score/logical_32.s: New file. + * gas/score/mv_32-lt.d: New file. + * gas/score/mv_32.d: New file. + * gas/score/mv_32.s: New file. + * gas/score/relax_32.exp: New file. + * gas/score/relaxation_macro.h: New file. + * gas/score/shift_32-lt.d: New file. + * gas/score/shift_32.d: New file. + * gas/score/shift_32.s: New file. + * gas/score/syscontrol_32-lt.d: New file. + * gas/score/syscontrol_32.d: New file. + * gas/score/syscontrol_32.s: New file. + +2009-03-01 Mark Mitchell <mark@codesourcery.com> + + * gas/arm/archv6m.s: Add dmb, dsb, and isb. + * gas/arm/archv6m.d: Likewise. + +2009-02-26 Peter Bergner <bergner@vnet.ibm.com> + + * gas/ppc/e500mc.d ("wait", "waitsrv", "waitimpl"): Add tests. + * gas/ppc/e500mc.s: Likewise. + * gas/ppc/power6.d ("cdtbcd", "cbcdtd", "addg6s"): Add tests. + * gas/ppc/power6.s: Likewise. + * gas/ppc/power7.d ("lfdpx", "mffgpr", "mftgpr"): Remove invalid tests. + ("wait", "waitsrv", "waitimpl", "divwe", "divwe.", "divweo", "divweo.", + "divweu", "divweu.", "divweuo", "divweuo.", "bpermd", "popcntw", + "popcntd", "ldbrx", "stdbrx", "lfiwzx", "lfiwzx", "fcfids", "fcfids.", + "fcfidus", "fcfidus.", "fctiwu", "fctiwu.", "fctiwuz", "fctiwuz.", + "fctidu", "fctidu.", "fctiduz", "fctiduz.", "fcfidu", "fcfidu.", + "ftdiv", "ftdiv", "ftsqrt", "ftsqrt", "dcbtt", "dcbtstt", "dcffix", + "dcffix.", "lbarx", "lbarx", "lbarx", "lharx", "lharx", "lharx", + "stbcx.", "sthcx.", "fre", "fre.", "fres", "fres.", "frsqrte", + "frsqrte.", "frsqrtes", "frsqrtes.", "isel"): Add tests. + * gas/ppc/power7.s: Likewise. + * gas/ppc/vsx.d: New test. + * gas/ppc/vsx.s: Likewise. + * gas/ppc/ppc.exp: Run it. + +2009-02-23 Mark Mitchell <mark@codesourcery.com> + + * gas/arm/thumb2_bad_reg.s: Update to allow R13 as second argument + for CMP. + * gas/arm/thumb2_bad_reg.l: Adjust accordingly. + +2009-02-19 Peter Bergner <bergner@vnet.ibm.com> + + * gas/ppc/e500mc.d ("lfdepx", "stfdepx"): Fix tests to expect a + floating point register. + +2009-02-18 Adam Nemet <anemet@caviumnetworks.com> + + * gas/mips/octeon.s: Add more tests for dmfc2 and dmtc2. + * gas/mips/octeon.d: Update. + * gas/mips/octeon-ill.l: Update error message. + +2009-02-16 Nick Clifton <nickc@redhat.com> + + * gas/mips/e32-rel2.d: Adjust expected output to remove the 0x4000 + offset. + * gas/mips/e32el-rel2.d: Likewise. + * gas/mips/elf-rel2.d: Likewise. + * gas/mips/elf-rel9-mips16.d: Likewise. + * gas/mips/elf-rel9.d: Likewise. + * gas/mips/elfel-rel2.d: Likewise. + * gas/mips/lb.d: Likewise. + * gas/mips/mips-abi32.d: Likewise. + * gas/mips/mips-gp32-fp32.d: Likewise. + * gas/mips/mips-gp32-fp64.d: Likewise. + * gas/mips/mips-gp64-fp32.d: Likewise. + * gas/mips/mips-gp64-fp64.d: Likewise. + * gas/mips/mips32-sf32.d: Likewise. + +2009-02-12 Nathan Sidwell <nathan@codesourcery.com> + + * m68k/br-isac.d, m68k/br-isac.s: Add stldsr test. + +2009-02-06 Nick Clifton <nickc@redhat.com> + + * gas/mips/beq.d: Make no assumptions about the symbols used as + branch targets in the disassembly, or the names of the relocs + produced. + * gas/mips/bge.d: Likewise. + * gas/mips/bgeu.d: Likewise. + * gas/mips/blt.d: Likewise. + * gas/mips/bltu.d: Likewise. + * gas/mips/mips32-sf32.d: Likewise. + * gas/mips/mips1-fp.d: Likewise. + * gas/mips/branch-misc-1.d: Skip for the mips-ecoff target. + * gas/mips/branch-misc-2-64.d: Likewise. + * gas/mips/branch-misc-2.d: Likewise. + * gas/mips/branch-misc-2pic-64.d: Likewise. + * gas/mips/branch-misc-2pic.d: Likewise. + * gas/mips/branch-swap.d: Likewise. + +2009-02-06 Nick Clifton <nickc@redhat.com> + + * gas/elf/symtab.d: But do not run the test for the Alpha or HPPA + ports. + +2009-02-05 Peter Bergner <bergner@vnet.ibm.com> + + * gas/ppc/booke.s ("dcbt", "dcbtst"): New tests. + * gas/ppc/booke.d: Likewise. + * gas/ppc/power4_32.s: Likewise. + * gas/ppc/power4_32.d: Likewise. + +2009-02-05 Catherine Moore <clm@codesourcery.com> + + * gas/elf/elf.exp: Really run the symtab test. + +2009-02-04 H.J. Lu <hongjiu.lu@intel.com> + + AVX Programming Reference (January, 2009) + * gas/i386/arch-avx-1-3.l: New. + * gas/i386/arch-avx-1-3.s: Likewise. + * gas/i386/arch-avx-1-4.l: Likewise. + * gas/i386/arch-avx-1-4.s: Likewise. + * gas/i386/arch-avx-1-5.l: Likewise. + * gas/i386/arch-avx-1-5.s: Likewise. + * gas/i386/arch-avx-1-6.l: Likewise. + * gas/i386/arch-avx-1-6.s: Likewise. + + * gas/i386/arch-10.s: Add vpclmul instructions. + * gas/i386/arch-avx-1.s: Likewise. + * gas/i386/avx.s: Likewise. + * gas/i386/x86-64-arch-2.s: Likewise. + * gas/i386/x86-64-avx.s: Likewise. + + * gas/i386/sse2avx.s: Add pclmul instructions. + * gas/i386/x86-64-sse2avx.s: Likewise. + + * gas/i386/arch-10.d: Updated. + * gas/i386/arch-10-1.l: Likewise. + * gas/i386/arch-10-2.l: Likewise. + * gas/i386/arch-10-3.l: Likewise. + * gas/i386/arch-10-4.l: Likewise. + * gas/i386/arch-avx-1.d: Likewise. + * gas/i386/arch-avx-1-1.l: Likewise. + * gas/i386/arch-avx-1-2.l: Likewise. + * gas/i386/avx.d: Likewise. + * gas/i386/avx-intel.d: Likewise. + * gas/i386/sse2avx.d: Likewise. + * gas/i386/x86-64-arch-2.d: Likewise. + * gas/i386/x86-64-avx.d: Likewise. + * gas/i386/x86-64-avx-intel.d: Likewise. + * gas/i386/x86-64-sse2avx.d: Likewise. + + * gas/i386/i386.exp: Run arch-avx-1-3, arch-avx-1-4, + arch-avx-1-5 and arch-avx-1-6. + +2009-02-03 DJ Delorie <dj@redhat.com> + + * gas/mep/relocs.d: Updated for new configuration. + * gas/mep/complex-relocs.exp: Likewise. + +2009-02-03 Sandip Matte <sandip@rmicorp.com> + + * gas/mips/mips.exp (xlr): New architecture. + (xlr-ext): Run test. + * gas/mips/xlr-ext.d, gas/mips/xlr-ext.s: New. + +2009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com> + + * gas/m68k/tls-gd-3.d, gas/m68k/tls-gd-3.s: New test. + * gas/m68k/all.exp: Run it. + +2009-01-29 Mark Mitchell <mark@codesourcery.com> + + * gas/arm/copro.s: Avoid using r15 where not permitted. + * gas/arm/copro.d: Adjust accordingly. + * gas/arm/thumb2_bad_reg.s: New. + * gas/arm/thumb2_bad_reg.l: Likewise. + * gas/arm/thumb2_bad_reg.d: Likewise. + +2009-01-29 Mark Mitchell <mark@codesourcery.com> + + * gas/arm/thumb32.s: Add tests for orn and rrx. + * gas/arm/thumb32.d: Adjust accordingly. + * gas/arm/thumb32.l: Likewise. + * gas/arm/thumb2_invert.s: Add tests for orn and orr. + * gas/arm/thumb2_invert.d: Adjust accordingly. + * gas/arm/tcompat.s: Add tests for rrx. + * gas/arm/tcompat.d: Adjust accordingly. + +2009-01-29 Mark Mitchell <mark@codesourcery.com> + + * gas/arm/thumb32.s (qadd): Add tests for them. + * gas/arm/thumb32.d: Adjust accordingly. + +2009-01-29 Mark Mitchell <mark@codesourcery.com> + + * gas/arm/thumb32.s (qadd): Add qadd, qdadd, qsub, and qdsub. + * gas/arm/thumb32.d: Likewise. + +2009-01-29 Paul Brook <paul@codesourcery.com> + Mark Mitchell <mark@codesourcery.com> + + * gas/arm/thumb2_mul.s: New file. + * gas/arm/thumb2_mul.d: Likewise. + * gas/arm/thumb2_mul-bad.s: Likewise. + * gas/arm/thumb2_mul-bad.d: Likewise. + * gas/arm/thumb2_mul-bad.l: Likewise. + * gas/arm/t16-bad.s: Add tests for"mul" with high registers. + * gas/arm/t16-bad.l: Update accordingly. + +2009-01-29 Nick Clifton <nickc@redhat.com> + + * gas/all/gas.exp: Expect forward test to fail for MeP. + Expect relax test to fail for MeP. + * gas/mep/relocs.d: Update expected disassembly. + +2009-01-27 Nick Clifton <nickc@redhat.com> + + * gas/arm/attr-cpu-directive.d: Only run test for EABI targets. + * gas/arm/attr-default.d : Likewise. + * gas/arm/attr-march-all.d: Likewise. + * gas/arm/attr-march-armv1.d: Likewise. + * gas/arm/attr-march-armv2.d: Likewise. + * gas/arm/attr-march-armv2a.d: Likewise. + * gas/arm/attr-march-armv2s.d: Likewise. + * gas/arm/attr-march-armv3.d: Likewise. + * gas/arm/attr-march-armv3m.d: Likewise. + * gas/arm/attr-march-armv4.d: Likewise. + * gas/arm/attr-march-armv4t.d: Likewise. + * gas/arm/attr-march-armv4txm.d: Likewise. + * gas/arm/attr-march-armv4xm.d: Likewise. + * gas/arm/attr-march-armv5.d: Likewise. + * gas/arm/attr-march-armv5t.d: Likewise. + * gas/arm/attr-march-armv5te.d: Likewise. + * gas/arm/attr-march-armv5tej.d: Likewise. + * gas/arm/attr-march-armv5texp.d: Likewise. + * gas/arm/attr-march-armv5txm.d: Likewise. + * gas/arm/attr-march-armv6-m.d: Likewise. + * gas/arm/attr-march-armv6.d: Likewise. + * gas/arm/attr-march-armv6j.d: Likewise. + * gas/arm/attr-march-armv6k.d: Likewise. + * gas/arm/attr-march-armv6kt2.d: Likewise. + * gas/arm/attr-march-armv6t2.d: Likewise. + * gas/arm/attr-march-armv6z.d: Likewise. + * gas/arm/attr-march-armv6zk.d: Likewise. + * gas/arm/attr-march-armv6zkt2.d: Likewise. + * gas/arm/attr-march-armv6zt2.d: Likewise. + * gas/arm/attr-march-armv7-a.d: Likewise. + * gas/arm/attr-march-armv7-m.d: Likewise. + * gas/arm/attr-march-armv7-r.d: Likewise. + * gas/arm/attr-march-armv7.d: Likewise. + * gas/arm/attr-march-armv7a.d: Likewise. + * gas/arm/attr-march-armv7m.d: Likewise. + * gas/arm/attr-march-armv7r.d: Likewise. + * gas/arm/attr-march-iwmmxt.d: Likewise. + * gas/arm/attr-march-iwmmxt2.d: Likewise. + * gas/arm/attr-march-xscale.d: Likewise. + * gas/arm/attr-mcpu.d: Likewise. + * gas/arm/attr-mfpu-arm1020e.d: Likewise. + * gas/arm/attr-mfpu-arm1020t.d: Likewise. + * gas/arm/attr-mfpu-arm1136jf-s.d: Likewise. + * gas/arm/attr-mfpu-arm1136jfs.d: Likewise. + * gas/arm/attr-mfpu-arm7500fe.d: Likewise. + * gas/arm/attr-mfpu-fpa.d: Likewise. + * gas/arm/attr-mfpu-fpa10.d: Likewise. + * gas/arm/attr-mfpu-fpa11.d: Likewise. + * gas/arm/attr-mfpu-fpe.d: Likewise. + * gas/arm/attr-mfpu-fpe2.d: Likewise. + * gas/arm/attr-mfpu-fpe3.d: Likewise. + * gas/arm/attr-mfpu-maverick.d: Likewise. + * gas/arm/attr-mfpu-neon-fp16.d: Likewise. + * gas/arm/attr-mfpu-neon.d: Likewise. + * gas/arm/attr-mfpu-softfpa.d: Likewise. + * gas/arm/attr-mfpu-softvfp+vfp.d: Likewise. + * gas/arm/attr-mfpu-softvfp.d: Likewise. + * gas/arm/attr-mfpu-vfp.d: Likewise. + * gas/arm/attr-mfpu-vfp10-r0.d: Likewise. + * gas/arm/attr-mfpu-vfp10.d: Likewise. + * gas/arm/attr-mfpu-vfp3.d: Likewise. + * gas/arm/attr-mfpu-vfp9.d: Likewise. + * gas/arm/attr-mfpu-vfpv2.d: Likewise. + * gas/arm/attr-mfpu-vfpv3-d16.d: Likewise. + * gas/arm/attr-mfpu-vfpv3.d: Likewise. + * gas/arm/attr-mfpu-vfpxd.d: Likewise. + * gas/arm/attr-order.d: Likewise. + * gas/arm/attr-override-cpu-directive.d: Likewise. + * gas/arm/attr-override-mcpu.d: Likewise. + +2009-01-27 Nick Clifton <nickc@redhat.com> + + * gas/lib/gas-defs.exp: Update description of run_dump_test proc. + + * gas/mips/dli.d: Pass -64 to gas. + * gas/mips/mips64-mips3d-incl.d: Likewise. + * gas/mips/octeon.d: Likewise. + * gas/mips/sb1-ext-mdmx.d: Likewise. + * gas/mips/sb1-ext-ps.d: Likewise. + * gas/mips/e32el-rel2.s: Pass -march=mips3 to gas. + Update expected relocs. + * gas/mips/ld-ilocks-addr32.d: Do not run for tx39 targets. + * gas/mips/mips.exp: Remove 'ilocks' variable. + Add ecoff targets to 'addr32' variable. + Set 'no_mips16' for ecoff targets. + Do not run div-ilocks or mul-ilocks test variants. + * gas/mips/mips16-intermix.d: Use nm instead of objdump so that + the symbol table output is sorted. Update expecetd output. + +2009-01-26 Andrew Stubbs <ams@codesourcery.com> + + * gas/arm/attr-cpu-directive.d: New file. + * gas/arm/attr-cpu-directive.s: New file. + * gas/arm/attr-default.d: New file. + * gas/arm/attr-march-all.d: New file. + * gas/arm/attr-march-armv1.d: New file. + * gas/arm/attr-march-armv2.d: New file. + * gas/arm/attr-march-armv2a.d: New file. + * gas/arm/attr-march-armv2s.d: New file. + * gas/arm/attr-march-armv3.d: New file. + * gas/arm/attr-march-armv3m.d: New file. + * gas/arm/attr-march-armv4.d: New file. + * gas/arm/attr-march-armv4t.d: New file. + * gas/arm/attr-march-armv4txm.d: New file. + * gas/arm/attr-march-armv4xm.d: New file. + * gas/arm/attr-march-armv5.d: New file. + * gas/arm/attr-march-armv5t.d: New file. + * gas/arm/attr-march-armv5te.d: New file. + * gas/arm/attr-march-armv5tej.d: New file. + * gas/arm/attr-march-armv5texp.d: New file. + * gas/arm/attr-march-armv5txm.d: New file. + * gas/arm/attr-march-armv6-m.d: New file. + * gas/arm/attr-march-armv6.d: New file. + * gas/arm/attr-march-armv6j.d: New file. + * gas/arm/attr-march-armv6k.d: New file. + * gas/arm/attr-march-armv6kt2.d: New file. + * gas/arm/attr-march-armv6t2.d: New file. + * gas/arm/attr-march-armv6z.d: New file. + * gas/arm/attr-march-armv6zk.d: New file. + * gas/arm/attr-march-armv6zkt2.d: New file. + * gas/arm/attr-march-armv6zt2.d: New file. + * gas/arm/attr-march-armv7-a.d: New file. + * gas/arm/attr-march-armv7-m.d: New file. + * gas/arm/attr-march-armv7-r.d: New file. + * gas/arm/attr-march-armv7.d: New file. + * gas/arm/attr-march-armv7a.d: New file. + * gas/arm/attr-march-armv7m.d: New file. + * gas/arm/attr-march-armv7r.d: New file. + * gas/arm/attr-march-iwmmxt.d: New file. + * gas/arm/attr-march-iwmmxt2.d: New file. + * gas/arm/attr-march-xscale.d: New file. + * gas/arm/attr-mcpu.d: New file. + * gas/arm/attr-mfpu-arm1020e.d: New file. + * gas/arm/attr-mfpu-arm1020t.d: New file. + * gas/arm/attr-mfpu-arm1136jf-s.d: New file. + * gas/arm/attr-mfpu-arm1136jfs.d: New file. + * gas/arm/attr-mfpu-arm7500fe.d: New file. + * gas/arm/attr-mfpu-fpa.d: New file. + * gas/arm/attr-mfpu-fpa10.d: New file. + * gas/arm/attr-mfpu-fpa11.d: New file. + * gas/arm/attr-mfpu-fpe.d: New file. + * gas/arm/attr-mfpu-fpe2.d: New file. + * gas/arm/attr-mfpu-fpe3.d: New file. + * gas/arm/attr-mfpu-maverick.d: New file. + * gas/arm/attr-mfpu-neon-fp16.d: New file. + * gas/arm/attr-mfpu-neon.d: New file. + * gas/arm/attr-mfpu-softfpa.d: New file. + * gas/arm/attr-mfpu-softvfp+vfp.d: New file. + * gas/arm/attr-mfpu-softvfp.d: New file. + * gas/arm/attr-mfpu-vfp.d: New file. + * gas/arm/attr-mfpu-vfp10-r0.d: New file. + * gas/arm/attr-mfpu-vfp10.d: New file. + * gas/arm/attr-mfpu-vfp3.d: New file. + * gas/arm/attr-mfpu-vfp9.d: New file. + * gas/arm/attr-mfpu-vfpv2.d: New file. + * gas/arm/attr-mfpu-vfpv3-d16.d: New file. + * gas/arm/attr-mfpu-vfpv3.d: New file. + * gas/arm/attr-mfpu-vfpxd.d: New file. + * gas/arm/attr-order.d: Update Tag_ARM_ISA_use and Tag_THUMB_ISA_use. + * gas/arm/attr-override-cpu-directive.d: New file. + * gas/arm/attr-override-cpu-directive.s: New file. + * gas/arm/attr-override-mcpu.d: New file. + * gas/arm/attr-override-mcpu.s: New file. + * gas/arm/blank.s: New file. + * gas/arm/eabi_attr_1.d: Update Tag_ARM_ISA_use and Tag_THUMB_ISA_use. + +2009-01-26 Nick Clifton <nickc@redhat.com> + + * gas/arm/attr-order.d: Do not run this test for non-ELF based ARM + targets. + +2009-01-24 Andreas Schwab <schwab@suse.de> + + * gas/lns/lns.exp: Don't run lns-duplicate for d10v target. + +2009-01-23 Andreas Schwab <schwab@suse.de> + + * gas/mips/mips16-e.d: Adjust for change in LOCAL_LABEL_PREFIX. + * gas/mips/mipsel16-e.d: Likewise. + * gas/mips/tmips16-e.d: Likewise. + * gas/mips/tmipsel16-e.d: Likewise. + +2009-01-19 Nick Clifton <nickc@redhat.com> + + * lib/gas-defs.exp (run_list_test): Fix typo in comment. + +2009-01-19 Nick Clifton <nickc@redhat.com> + + * gas/arm/attr-syntax.d: Do not run for non-ELF based ARM + targets. + +2009-01-19 Andrew Stubbs <ams@codesourcery.com> + + * gas/arm/attr-order.d: New file. + * gas/arm/attr-order.s: New file. + +2009-01-16 Andrew Stubbs <ams@codesourcery.com> + Daniel Jacobowitz <dan@codesourcery.com> + + * gas/arm/attr-syntax.d: New file. + * gas/arm/attr-syntax.s: New file. + +2009-01-15 Nick Clifton <nickc@redhat.com> + + PR 9722 + * gas/arm/archv6m.d: Update expected NOP opcode. + * gas/arm/pr9722.s: New test. + * gas/arm/pr9722.d: Expected disassembly. + +2009-01-14 Peter Bergner <bergner@vnet.ibm.com> + + * gas/ppc/power6.s ("mtfsf", "mtfsf.", "mtfsfi", "mtfsfi."): Add tests. + * gas/ppc/power6.d: Likewise. + +2009-01-12 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/sse-noavx.s: Add tests for lfence, mfence and movnti. + * gas/i386/x86-64-sse-noavx.s: Likewise. + + * gas/i386/sse-noavx.d: Updated. + * gas/i386/x86-64-sse-noavx.d: Likewise. + +2009-01-12 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/opts.s: Add tests for add, adc, and, cmp, or, sbb, + sub and xor. + * gas/i386/x86-64-opts.s: Likewise. + + * gas/i386/opts.d: Updated. + * gas/i386/opts-intel.d: Likewise. + * gas/i386/sse2avx-opts.d: Likewise. + * gas/i386/sse2avx-opts-intel.d: Likewise. + * gas/i386/x86-64-opts.d: Likewise. + * gas/i386/x86-64-opts-intel.d: Likewise. + * gas/i386/x86-64-sse2avx-opts.d: Likewise. + * gas/i386/x86-64-sse2avx-opts-intel.d: Likewise. + +2009-01-10 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/arch-10.s: Add clflush and syscall. + * gas/i386/x86-64-arch-2.s: Likewise. + + * gas/i386/arch-10.d: Updated. + * gas/i386/arch-10-1.l: Likewise. + * gas/i386/arch-10-2.l: Likewise. + * gas/i386/arch-10-3.l: Likewise. + * gas/i386/arch-10-4.l: Likewise. + * gas/i386/x86-64-arch-2.d: Likewise. + +2009-01-09 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/arch-10.s: Add rdtscp. + * gas/i386/x86-64-arch-2.s: Likewise. + + * gas/i386/arch-10.d: Updated. + * gas/i386/arch-10-1.l: Likewise. + * gas/i386/arch-10-2.l: Likewise. + * gas/i386/arch-10-3.l: Likewise. + * gas/i386/arch-10-4.l: Likewise. + * gas/i386/x86-64-arch-2.d: Likewise. + +2009-01-06 Chao-ying Fu <fu@mips.com> + + * gas/mips/jalr.s, gas/mips/jalr.l: Add more tests for jalr + and jalr.hb. + +2009-01-06 H.J. Lu <hongjiu.lu@intel.com> + + AVX Programming Reference (December, 2008) + * gas/i386/avx.s: Add tests for 256bit vmovntdq, vmovntpd and + vmovntps. + * gas/i386/x86-64-avx.s: Likewise. + + * gas/i386/avx.d: Updated. + * gas/i386/avx-intel.d: Likewise. + * gas/i386/x86-64-avx.d: Likewise. + * gas/i386/x86-64-avx-intel.d: Likewise. + +2009-01-05 H.J. Lu <hongjiu.lu@intel.com> + + AVX Programming Reference (December, 2008) + * gas/i386/arch-10.s: Replace vfmaddpd with vfmadd132pd. + * gas/i386/x86-64-arch-2.s: Likewise. + + * gas/i386/arch-10.d: Updated. + * gas/i386/arch-10-1.l: Likewise. + * gas/i386/arch-10-2.l: Likewise. + * gas/i386/arch-10-3.l: Likewise. + * gas/i386/arch-10-4.l: Likewise. + * gas/i386/avx.d: Likewise. + * gas/i386/avx-intel.d: Likewise. + * gas/i386/inval-avx.l: Likewise. + * gas/i386/x86-64-arch-2.d: Likewise. + * gas/i386/x86-64-avx.d: Likewise. + * gas/i386/x86-64-avx-intel.d: Likewise. + * gas/i386/x86-64-inval-avx.l: Likewise. + + * gas/i386/avx.s: Remove vpermil2ps/vpermil2pd and FMA + instructions. Update tests. + * gas/i386/inval-avx.s: Likewise. + * gas/i386/x86-64-avx.s: Likewise. + * gas/i386/x86-64-inval-avx.s: Likewise. + + * gas/i386/fma.d: New. + * gas/i386/fma.s: Likewise. + * gas/i386/fma-intel.d: Likewise. + * gas/i386/x86-64-fma.d: Likewise. + * gas/i386/x86-64-fma.s: Likewise. + * gas/i386/x86-64-fma-intel.d: Likewise. + + * gas/i386/i386.exp: Run fma, fma-intel, x86-64-fma and + x86-64-fma-intel. + +For older changes see ChangeLog-2008 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/gprof/ChangeLog b/gprof/ChangeLog index acc8697..4a2a6da 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,212 +1,5 @@ -2009-12-11 Nick Clifton <nickc@redhat.com> - * Makefile.in: Regenerate. - * cg_arcs.c: Fix shadowed variable warnings. - * cg_dfn.c: Likewise. - * cg_print.c: Likewise. - * configure: Likewise. - * hist.c: Likewise. - -2009-11-30 Joseph Myers <joseph@codesourcery.com> - - * configure: Regenerate. - -2009-11-17 Nick Clifton <nickc@redhat.com> - - * po/bg.po: New Bulgarian translation. - * configure.in (ALL_LINGUAS): Add bg.po. - * configure: Regenerate. - -2009-11-11 Nick Clifton <nickc@redhat.com> - - * po/id.po: Updated Indonesian translation. - -2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com> - - * configure.in: Call ACX_LARGEFILE. Stop calling AC_SYS_LARGEFILE. - * aclocal.m4: Regenerate. - * configure: Regenerate. - -2009-09-25 Dmitry Gorbachev <d.g.gorbachev@gmail.com> - - PR 10656 - * hist.h: Move declaration of histograms and num_histograms - variables from here to... - * hist.c: ...here. - -2009-09-23 Nick Clifton <nickc@redhat.com> - - * po/vi.po: Updated Vietnamese translation. - -2009-09-18 Nick Clifton <nickc@redhat.com> - - * po/es.po: Updated Spanish translation. - * po/fi.po: Updated Finnish translation. - -2009-09-14 Nick Clifton <nickc@redhat.com> - - * po/de.po: Updated German translation. - * po/nl.po: Update Dutch translation. - -2009-09-11 Nick Clifton <nickc@redhat.com> - - * po/gprof.pot: Updated by the Translation project. - * po/sv.po: Updated Swedish translation. - -2009-09-11 Martin Thuresson <martint@google.com> - - Updated sources to compile cleanly with -Wc++-compat: - * basic_blocks.c: Add casts. - * cg_dfn.c: Add cast. - * corefile.c: Add casts. - * gmon_io.c: Add casts. - * hist.c: Add cast. - * source.c: Add cast. - * sym_ids.c (struct match): Moved to top level. - -2009-09-07 Tristan Gingold <gingold@adacore.com> - - * po/gprof.pot: Regenerate. - -2009-09-05 Martin Thuresson <martin@mtme.org> - - * corefile.c (core_create_function_syms): Rename variable - class to cxxclass. - -2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * Makefile.am (AM_CPPFLAGS): Renamed from ... - (INCLUDES): ... this. - * Makefile.in: Regenerate. - - * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add 1.11, - foreign, no-dist, no-texinfo.tex. - (TEXINFO_TEX): New variable. - (MKDEP, CLEANFILES): Remove: - (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove rules. - (install-data-local): Remove now-unneeded dependency on - install-info. - (mkdep section): Remove. - * Makefile.in: Regenerate. - - * Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am) - (install-pdf-recursive, html__strip_dir, install-html) - (install-html-am, install-html-recursive): Remove. - * Makefile.in: Regenerate. - - * Makefile.in: Regenerate. - * aclocal.m4: Likewise. - * configure: Likewise. - * gconfig.in: Likewise. - -2009-06-16 Homer Xing <homer.xing@yahoo.com> - - * corefile.c (cmp_symbol_map): New function. - (read_function_mappins): Use qsort to sort the symbols. - (search_mapped_symbol): New function. - (core_create_function_syms): Use bsearch to find symbols. - * corefile.h (struct function_map): Add new bit-field: is_first. - * cg_print.c (cmp_symbol_map): New function. - (cg_print_file_ordering): Sort the symbol map. - -2009-06-15 Homer Xing <homer.xing@yahoo.com> - - * corefile.c (core_create_syms_from): Use BFD_VMA_FMT when - scanning in an address. - -2009-06-12 Homer Xing <homer.xing@yahoo.com> - - * corefile.c (num_of_syms_in): New function - computes the number - of symbols in a given file. - (core_create_syms_from): New function - populates a symbol table - from the symbols found in a specified file. - * corefile.h: Prototype core_create_syms_from. - * gprof.c (long_options): Add --external-symbol-table. - (usage): Mention it. - (main): Initiailize external_symbol_table from - --external-symbol-table option. If set use it. - * gprof.texi: Document the new option. - -2009-06-04 Alan Modra <amodra@bigpond.net.au> - - * dep-in.sed: Don't use \n in replacement part of s command. - * Makefile.am (DEP1): LC_ALL for uniq. - * Makefile.in: Regenerate. - -2009-05-26 Nick Clifton <nickc@redhat.com> - - * po/id.po: Updated Indonesian translation. - * po/gprof.pot: Updated template file. - -2009-05-26 Alan Modra <amodra@bigpond.net.au> - - * dep-in.sed: Output one filename per line with all lines having - continuation backslash. Prefix first line with "A", following - lines with "B". - * Makefile.am (DEP): Don't use dep.sed here. - (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies, - sort and uniq. - * Makefile.in: Regenerate. - -2009-05-22 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2009-04-15 Kazu Hirata <kazu@codesourcery.com> - - * gprof.h: Include gconfig.h. #undef PACKAGE. - -2009-04-09 Philippe Biondi <phil@secdev.org> - - * corefile.c (core_create_function_syms): Initialise a symbol's - is_func field based on the setting of the BSF_FUNCTION flag. - -2009-03-06 Nick Clifton <nickc@redhat.com> - - * po/es.po: Updated Spanish translation. - -2009-03-03 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure: Regenerate. - -2009-02-12 Ken Werner <ken.werner@de.ibm.com> - - * corefile.c (core_create_function_syms): Remove "<locore>" and - "<hicore>" sentinels. - * gprof.c: Likewise. - * cg_print.c (cg_print_function_ordering): Likewise. - * alpha.c (alpha_find_call): Add check for return value of sym_lookup. - * mips.c (mips_find_call): Likewise. - * sparc.c (sparc_find_call): Likewise. - * tahoe.c (tahoe_find_call): Likewise. - * vax.c (vax_find_call): Likewise. - -2009-02-03 Carlos O'Donell <carlos@codesourcery.com> - - * configure.in: AC_SUBST pdfdir. - * Makefile.am: Add install-pdf, install-pdf-am, - and install-pdf-recursive targets. Define pdf__strip_dir. - * po/Make-in: Add install-pdf target. - * configure: Regenerate. - * Makefile.in: Regenerate. - -2009-01-03 Nick Clifton <nickc@redhat.com> - - PR 7099 - * gprof.texi (Compiling): Mention the need for using - -static-libgcc on shared library systems. - -2009-01-02 Nick Clifton <nickc@redhat.com> - - * po/id.po: Updated Indonesian translation. - -For older changes see ChangeLog-2008 +For older changes see ChangeLog-2009 Local Variables: mode: change-log diff --git a/gprof/ChangeLog-2009 b/gprof/ChangeLog-2009 new file mode 100644 index 0000000..acc8697 --- /dev/null +++ b/gprof/ChangeLog-2009 @@ -0,0 +1,216 @@ +2009-12-11 Nick Clifton <nickc@redhat.com> + + * Makefile.in: Regenerate. + * cg_arcs.c: Fix shadowed variable warnings. + * cg_dfn.c: Likewise. + * cg_print.c: Likewise. + * configure: Likewise. + * hist.c: Likewise. + +2009-11-30 Joseph Myers <joseph@codesourcery.com> + + * configure: Regenerate. + +2009-11-17 Nick Clifton <nickc@redhat.com> + + * po/bg.po: New Bulgarian translation. + * configure.in (ALL_LINGUAS): Add bg.po. + * configure: Regenerate. + +2009-11-11 Nick Clifton <nickc@redhat.com> + + * po/id.po: Updated Indonesian translation. + +2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com> + + * configure.in: Call ACX_LARGEFILE. Stop calling AC_SYS_LARGEFILE. + * aclocal.m4: Regenerate. + * configure: Regenerate. + +2009-09-25 Dmitry Gorbachev <d.g.gorbachev@gmail.com> + + PR 10656 + * hist.h: Move declaration of histograms and num_histograms + variables from here to... + * hist.c: ...here. + +2009-09-23 Nick Clifton <nickc@redhat.com> + + * po/vi.po: Updated Vietnamese translation. + +2009-09-18 Nick Clifton <nickc@redhat.com> + + * po/es.po: Updated Spanish translation. + * po/fi.po: Updated Finnish translation. + +2009-09-14 Nick Clifton <nickc@redhat.com> + + * po/de.po: Updated German translation. + * po/nl.po: Update Dutch translation. + +2009-09-11 Nick Clifton <nickc@redhat.com> + + * po/gprof.pot: Updated by the Translation project. + * po/sv.po: Updated Swedish translation. + +2009-09-11 Martin Thuresson <martint@google.com> + + Updated sources to compile cleanly with -Wc++-compat: + * basic_blocks.c: Add casts. + * cg_dfn.c: Add cast. + * corefile.c: Add casts. + * gmon_io.c: Add casts. + * hist.c: Add cast. + * source.c: Add cast. + * sym_ids.c (struct match): Moved to top level. + +2009-09-07 Tristan Gingold <gingold@adacore.com> + + * po/gprof.pot: Regenerate. + +2009-09-05 Martin Thuresson <martin@mtme.org> + + * corefile.c (core_create_function_syms): Rename variable + class to cxxclass. + +2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * Makefile.am (AM_CPPFLAGS): Renamed from ... + (INCLUDES): ... this. + * Makefile.in: Regenerate. + + * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add 1.11, + foreign, no-dist, no-texinfo.tex. + (TEXINFO_TEX): New variable. + (MKDEP, CLEANFILES): Remove: + (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove rules. + (install-data-local): Remove now-unneeded dependency on + install-info. + (mkdep section): Remove. + * Makefile.in: Regenerate. + + * Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am) + (install-pdf-recursive, html__strip_dir, install-html) + (install-html-am, install-html-recursive): Remove. + * Makefile.in: Regenerate. + + * Makefile.in: Regenerate. + * aclocal.m4: Likewise. + * configure: Likewise. + * gconfig.in: Likewise. + +2009-06-16 Homer Xing <homer.xing@yahoo.com> + + * corefile.c (cmp_symbol_map): New function. + (read_function_mappins): Use qsort to sort the symbols. + (search_mapped_symbol): New function. + (core_create_function_syms): Use bsearch to find symbols. + * corefile.h (struct function_map): Add new bit-field: is_first. + * cg_print.c (cmp_symbol_map): New function. + (cg_print_file_ordering): Sort the symbol map. + +2009-06-15 Homer Xing <homer.xing@yahoo.com> + + * corefile.c (core_create_syms_from): Use BFD_VMA_FMT when + scanning in an address. + +2009-06-12 Homer Xing <homer.xing@yahoo.com> + + * corefile.c (num_of_syms_in): New function - computes the number + of symbols in a given file. + (core_create_syms_from): New function - populates a symbol table + from the symbols found in a specified file. + * corefile.h: Prototype core_create_syms_from. + * gprof.c (long_options): Add --external-symbol-table. + (usage): Mention it. + (main): Initiailize external_symbol_table from + --external-symbol-table option. If set use it. + * gprof.texi: Document the new option. + +2009-06-04 Alan Modra <amodra@bigpond.net.au> + + * dep-in.sed: Don't use \n in replacement part of s command. + * Makefile.am (DEP1): LC_ALL for uniq. + * Makefile.in: Regenerate. + +2009-05-26 Nick Clifton <nickc@redhat.com> + + * po/id.po: Updated Indonesian translation. + * po/gprof.pot: Updated template file. + +2009-05-26 Alan Modra <amodra@bigpond.net.au> + + * dep-in.sed: Output one filename per line with all lines having + continuation backslash. Prefix first line with "A", following + lines with "B". + * Makefile.am (DEP): Don't use dep.sed here. + (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies, + sort and uniq. + * Makefile.in: Regenerate. + +2009-05-22 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2009-04-15 Kazu Hirata <kazu@codesourcery.com> + + * gprof.h: Include gconfig.h. #undef PACKAGE. + +2009-04-09 Philippe Biondi <phil@secdev.org> + + * corefile.c (core_create_function_syms): Initialise a symbol's + is_func field based on the setting of the BSF_FUNCTION flag. + +2009-03-06 Nick Clifton <nickc@redhat.com> + + * po/es.po: Updated Spanish translation. + +2009-03-03 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * configure: Regenerate. + +2009-02-12 Ken Werner <ken.werner@de.ibm.com> + + * corefile.c (core_create_function_syms): Remove "<locore>" and + "<hicore>" sentinels. + * gprof.c: Likewise. + * cg_print.c (cg_print_function_ordering): Likewise. + * alpha.c (alpha_find_call): Add check for return value of sym_lookup. + * mips.c (mips_find_call): Likewise. + * sparc.c (sparc_find_call): Likewise. + * tahoe.c (tahoe_find_call): Likewise. + * vax.c (vax_find_call): Likewise. + +2009-02-03 Carlos O'Donell <carlos@codesourcery.com> + + * configure.in: AC_SUBST pdfdir. + * Makefile.am: Add install-pdf, install-pdf-am, + and install-pdf-recursive targets. Define pdf__strip_dir. + * po/Make-in: Add install-pdf target. + * configure: Regenerate. + * Makefile.in: Regenerate. + +2009-01-03 Nick Clifton <nickc@redhat.com> + + PR 7099 + * gprof.texi (Compiling): Mention the need for using + -static-libgcc on shared library systems. + +2009-01-02 Nick Clifton <nickc@redhat.com> + + * po/id.po: Updated Indonesian translation. + +For older changes see ChangeLog-2008 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/ld/ChangeLog b/ld/ChangeLog index 00df796..4a2a6da 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,1639 +1,5 @@ -2009-12-17 Dave Korn <dave.korn.cygwin@gmail.com> - * pe-dll.c (generate_reloc): Take account of wrapper options when - testing if a weak symbol is defined or not, and when it is not, - consider whether the default value requires a base reloc anyway. - -2009-12-17 Dave Korn <dave.korn.cygwin@gmail.com> - - * deffilep.y (def_file_free): Add missing shadow parameter renaming. - (def_file_print): Likewise. - (def_stash_module): Likewise. - (def_file_add_import): Likewise. - -2009-12-11 Nick Clifton <nickc@redhat.com> - - * Makefile.in: Regenerate. - * configure: Regenerate. - * deffilep.y: Fix shadowed variable warnings. - * ldlang.c: Likewise. - * ldmain.c: Likewise. - * pe-dll.c: Likewise. - * emultempl/elf32.em: Likewise. - -2009-12-09 Alan Modra <amodra@bigpond.net.au> - - PR ld/11012 - * emulparams/elf64ppc.sh (OTHER_GOT_RELOC_SECTIONS): Move .rela.opd .. - (INITIAL_RELOC_SECTIONS): .. to here. New define. - * scripttempl/elf.sc: Expand INITIAL_RELOC_SECTIONS. - -2009-12-04 Jie Zhang <jie.zhang@analog.com> - - * ld.texinfo: Make it clear that --nmagic disables linking - against shared libraries. - -2009-11-30 Joseph Myers <joseph@codesourcery.com> - - * configure: Regenerate. - -2009-11-30 Alan Modra <amodra@bigpond.net.au> - - PR ld/11006 - * lexsup.c (parse_args): Allow nested --start-group, --end-group. - -2009-11-27 Tristan Gingold <gingold@adacore.com> - - * pe-dll.c (pe_implied_import_dll): Return early if there is no - export entries. - -2009-11-26 Nick Clifton <nickc@redhat.com> - - PR ld/10956 - * ld.h (struct args_type): Rename 'relax' field to - 'disable_target_specific_optimizations' and turn it into a - tri-state variable. - (RELAXATION_DISABLED_BY_DEFAULT): New macro. - (RELAXATION_DISABLED_BY_USER): New macro. - (RELAXATION_ENABLED): New macro. - (DISABLE_RELAXATION): New macro. - (ENABLE_RELAXATION): New macro. - * lexsup (enum option_values): Add OPTION_NO_RELAX. - (struct ld_options): Add --no-relax. - (parse_args): Handle OPTION_NO_RELAX. Use DISABLE_RELAXATION and - ENABLE_RELAXATION macros. - * ldlang.c (lang_relax_sections): Use RELAXATION_ENABLED macro. - (lang_process): Likewise. - * ldmain.c (main): Initialise - disable_target_specific_optimizations field. - (multiple_definition): Use RELAXATION_ENABLED macro. - * ld.texinfo: Document new command line option. - * emultempl/alphaelf.em: Remove --no-relax option. - (before_allocation): Test RELAXATION_DISABLED_BY_USER macro. - Use ENABLE_RELAXATION macro. - * emultempl/avrelf.em: (after_allocation): Test RELAXATION_ENABLED - macro. - * emultempl/cr16elf.em: Remove --no-relax option. - (before_allocation): Test RELAXATION_DISABLED_BY_USER macro. - Use ENABLE_RELAXATION macro. - * emultempl/crxelf.em: Remove --no-relax option. - (before_allocation): Test RELAXATION_DISABLED_BY_USER macro. - Use ENABLE_RELAXATION macro. - * emultempl/mmix-elfnmmo.em: (before_allocation): Use - ENABLE_RELAXATION macro. - * emultempl/needrelax.em: (before_allocation): Use - ENABLE_RELAXATION macro. - * emultempl/ppc32elf.em: (before_allocation): Test - RELAXATION_DISABLED_BY_DEFAULT macro. Use - ENABLE_RELAXATION macro. - * emultempl/sh64elf.em: (before_allocation): Test - RELAXATION_ENABLED macro. Use DISABLE_RELAXATION macro. - * emultempl/xtensaelf.em: Remove --no-relax option. - (before_allocation): Test RELAXATION_ENABLED macro. - Use ENABLE_RELAXATION macro. - -2009-11-25 Kai Tietz <kai.tietz@onevision.com> - - * scripttempl/pe.sc: (.note.GNU-stack): Mark as discardable. - (.gnu.lto_*): Likewise. - * scripttempl/pep.sc: (.note.GNU-stack): Mark as discardable. - (.gnu.lto_*): Likewise. - -2009-11-23 Paul Brook <paul@codesourcery.com> - - * ldexp.c: Copy symbol type for simple assignments. - -2009-11-20 Thomas Schwinge <thomas@codesourcery.com> - - * emulparams/armelf.sh (OTHER_READONLY_SECTIONS) - <__exidx_start, __exidx_end>: Use PROVIDE_HIDDEN. - * emulparams/armelf_linux_eabi.sh (OTHER_READONLY_SECTIONS) - <__exidx_start, __exidx_end>: Likewise. - * emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS) - <.ARM.exidx$$Base, __exidx_start, __exidx_end, .ARM.exidx$$Limit>: - Likewise. - -2009-11-19 Matthias Klose <doko@ubuntu.com> - - PR ld/9863 - * emulparams/armelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE - with __data_start. - -2009-11-19 Ben Elliston <bje@au.ibm.com> - - * ldlex.l: Enable nounput flex option. - -2009-11-15 Kai Tietz <kai.tietz@onevision.com> - - * pe-dll.c (pe_undef_alias_cdecl_match): New function. - (pe_find_cdecl_alias_match): New function. - (pe_process_import_defs): Add matching for import symbols - declared as cdecl for fastcall/stdcall. - * emultempl/pe.em (pe_undef_cdecl_match): Treat fastcall - symbols, too. - (pe_fixup_stdcalls): Likewise. - (gld_XXX_after_open): Redo scanning for imported - fastcall/stdcall symbols as cdecl one. - * emultempl/pep.em (pep_undef_cdecl_match): Treat fastcall - symbols, too. - (pep_fixup_stdcalls): Likewise. - (gld_XXX_after_open): Redo scanning for imported - fastcall/stdcall symbols as cdecl one. - -2009-11-11 Nick Clifton <nickc@redhat.com> - - * po/id.po: Updated Indonesian translation. - -2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com> - - * configure.in: Call ACX_LARGEFILE. Stop calling AC_SYS_LARGEFILE. - * aclocal.m4: Regenerate. - * configure: Regenerate. - -2009-11-10 Nick Clifton <nickc@redhat.com> - - PR ld/10864 - * ld.texinfo (Entry Point): Mention that the default entry symbol - is not 'start' on some targets. - -2009-11-06 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/10912 - * ldmain.c (add_DT_NEEDED_for_dynamic): Default to TRUE. - -2009-11-06 Kai Tietz <kai.tietz@onevision.com> - - * pe.em (DEFAULT_PSEUDO_RELOC_VERSION): New macro. - (gld_XXX_before_parse): Set pseudo-relocation default - version to DEFAULT_PSEUDO_RELOC_VERSION. - (gldXXX_handle_option): Likewise. - - -2009-11-05 Nick Clifton <nickc@redhat.com> - - * lexsup.c: Rename --add-needed to --copy-dt-needed-entries. - * ldlang.h (struct lang_input_statement_struct): Rename add_needed - to add_DT_NEEDED_for_dynamic. Rename as_needed to - add_DT_NEEDED_for_regular. - * ldlang.c: Likewise. - * ldlang.h: Likewise. - * ldlang.c: Use the new variable names. - * ldgram.y: Likewise. - * emultempl/elf32.em: Likewise. - * ld.texinfo: Document the renamed option. Also mention its - affect on the resolution of dynamic symbols. - * NEWS: Mention the changed option name. - -2009-11-04 Kai Tietz <kai.tietz@onevision.com> - - * emulparams/arm_epoc_pe.sh: Remove ENTRY. - * emulparams/arm_wince_pe.sh: Likewise. - * emulparams/i386pe.sh: Likewise. - * emulparams/i386pe_posix.sh: Likewise. - * emulparams/mcorepe.sh: Likewise. - * emulparams/mipspe.sh: Likewise. - * emulparams/ppcpe.sh: Likewise. - * emulparams/armpe.sh: Likewise. - * emulparams/i386pep.sh: Likewise. - * emulparams/shpe.sh: Likewise. - Additionally cleaned up double-defined - variables SUBSYSTEM and INITIAL_SYMBOL_CHAR. - * emultempl/pe.em: Remove use of ENTRY. - (pe_subsystem): New local variable. - (gld_XXX_before_parse): Don't set default - entry point here. - (set_entry_point): New function to set entry - point. - (set_pe_subsystem): Remove code for entry point. - (gld_XXX_after_parse): Use set_entry_point here. - * emultempl/pep.em: Likewise. - -2009-10-29 Nathan Sidwell <nathan@codesourcery.com> - - * emulparams/vxworks.sh (OTHER_READONLY_SECTIONS): Move into ... - (OTHER_READWRITE_SECTIONS): ... here. - -2009-10-28 Kai Tietz <kai.tietz@onevision.com> - - * emultempl/pep.em (U): Define underscore macro. - (init): Use for __ImageBase U macro. - -2009-10-23 Kai Tietz <kai.tietz@onevision.com> - - * deffile.h (def_file_export): New member its_name. - (def_file_import): Likewise. - (def_file_add_export): Add argument its_name. - (def_file_add_import): Likewise. - * deffilep.y (def_exports): Add argument its_name. - (def_import): Likewise. - (EQUAL): Add new token for '=='. - (opt_equalequal_name): New rule. - (expline): Add rule opt_equalequal_name. - (impline): Likewise. - (def_file_free): Free for exports and imports - the optional member its_name. - (def_lex): Add scan of '==' as EQUAL. - * pe-dll.c (pe_export_sort): Sort for its_name too. - (process_def_file_and_drectve): Adjust calls to - def_file_add_export. - (generate_edata): Take its_name in account. - (make_one): Likewise. - (pe_process_import_defs): Likewise. - (pe_dll_generate_def_file): Add print of new '==' option. - * ld.texinfo: Extend documentation about .def file syntax. - * NEWS: Mention new feature. - -2009-10-23 Kai Tietz <kai.tietz@onevision.com> - - * deffilep.y (def_lex): Allow '<' and '>' characters in identifier - strings. - -2009-10-23 Ryan Mansfield <rmansfield@qnx.com> - - PR ld/10489 - * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Handle - drive specifiers for DOS based filesystems in rpath-link strings. - -2009-10-19 Nick Clifton <nickc@redhat.com> - - * Makefile.am: Remove spurious sanitization marker. - * Makefile.in: Regenerate. - -2009-10-16 Dmitry Gorbachev <d.g.gorbachev@gmail.com> - - * emultempl/pe.em (OPTION_EXCLUDE_ALL_SYMBOLS): New macro. - (gld${EMULATION_NAME}_add_options): Add new --exclude-all-symbols option - to exclude all symbols from automatic export. - (gld_${EMULATION_NAME}_list_options): Describe it. - (gld${EMULATION_NAME}_handle_option): Handle it. - * emultempl/pep.em: Likewise to all the above. - * pe-dll.c (pe_dll_exclude_all_symbols): New variable. - (process_def_file_and_drectve): Use it. - * pe-dll.h (pe_dll_exclude_all_symbols): Declare. - * pep-dll.c (pep_dll_exclude_all_symbols): Define pep_ alias. - * pep-dll.h (pe_dll_exclude_all_symbols): Declare. - * NEWS: Mention the new feature. - * ld.texinfo: Document the new command line switch. - -2009-10-14 Andreas Schwab <schwab@linux-m68k.org> - - * ldlex.l (yy_input): Remove second argument and return the value - instead. - (YY_INPUT): Adjust. - -2009-10-14 Alan Modra <amodra@bigpond.net.au> - - * emultempl/netbsd.em (gldnetbsd_before_parse): Typo fix. - -2009-10-14 Ryan Mansfield <rmansfield@qnx.com> - - * ldlang.c (load_symbols): Set whole_archive from entry when - parsing a linker script. - -2009-10-10 Alan Modra <amodra@bigpond.net.au> - - * scripttempl/elf32cr16.sc: Revert 2009-09-28 changes. - * scripttempl/elf32cr16c.sc: Likewise. - * scripttempl/elf32crx.sc: Likewise. - * scripttempl/tic54xcoff.sc: Likewise. - * scripttempl/aix.sc: Likewise. - * scripttempl/avr.sc: Likewise. - * scripttempl/elf32msp430.sc: Likewise. - * scripttempl/elf32msp430_3.sc: Likewise. - * scripttempl/elf32sh-symbian.sc: Likewise. - * scripttempl/elf_chaos.sc: Likewise. - * scripttempl/elfi370.sc: Likewise. - * scripttempl/nw.sc: Likewise. - * scripttempl/psos.sc: Likewise. - * scripttempl/armbpabi.sc: Likewise. - * scripttempl/elf.sc: Likewise. - * scripttempl/elf64hppa.sc: Likewise. - * scripttempl/elfd10v.sc: Likewise. - * scripttempl/elfd30v.sc: Likewise. - * scripttempl/elfm68hc11.sc: Likewise. - * scripttempl/elfm68hc12.sc: Likewise. - * scripttempl/elfmicroblaze.sc: Likewise. - * scripttempl/elfxtensa.sc: Likewise. - * scripttempl/iq2000.sc: Likewise. - * scripttempl/mep.sc: Likewise. - * scripttempl/xstormy16.sc: Likewise. - -2009-10-09 Alan Modra <amodra@bigpond.net.au> - - PR ld/10749 - * ldlang.c (lang_size_sections_1): Zero section vmas only for COFF. - -2009-10-08 Alan Modra <amodra@bigpond.net.au> - - PR ld/10744 - * ldlang.c (lang_new_phdr): Allow FILEHDR/PHDRS on more than the - first PT_LOAD header. - * ld.texinfo: Update. - -2009-10-06 Nathan Sidwell <nathan@codesourcery.com> - - * ldlang.c (lang_new_phdr): Check PHDRS and FILEHDR in loadable - segments do not appear after a different loadable segment. - * ld.texinfo (PHDRS): Document order of processing segments. - Document where PHDRS and FILEHDR may appear. - -2009-10-03 Alan Modra <amodra@bigpond.net.au> - - * emultempl/ppc32elf.em (emit_stub_syms): Init to -1. - (ppc_after_open): Set emit_stubs_syms by default when shared. - (OPTION_NO_STUBSYMS): Define. - (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS, - PARSE_AND_LIST_ARGS_CASES): Handle --no-emit-stub-syms. - * emultempl/ppc64elf.em (emit_stub_syms): Init to -1. - (gld${EMULATION_NAME}_finish): Set emit_stubs_syms by default. - (OPTION_NO_STUBSYMS): Define. - (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS, - PARSE_AND_LIST_ARGS_CASES): Handle --no-emit-stub-syms. - -2009-09-29 Joel Sherrill <joel.sherrill@oarcorp.com> - - * emulparams/m68kelf.sh (NOP): Use 0x4e71 (nop) rather than 0x4e75 - (rts). - -2009-09-29 DJ Delorie <dj@redhat.com> - - * Makefile.am: Add rules to build RX emulation. - * configure.tgt: Likewise. - * NEWS: Mention support for RX architecture. - * Makefile.in: Regenerate. - * emulparams/elf32rx.sh: New file. - * emultempl/rxelf.em: New file. - -2009-09-29 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (lang_size_sections_1): Allow scripts to specify a - non-zero vma even when relocatable. - -2009-09-28 Alan Modra <amodra@bigpond.net.au> - - * scripttempl/elf32cr16.sc: Emit empty script for ld -r and ld -Ur. - * scripttempl/elf32cr16c.sc: Likewise. - * scripttempl/elf32crx.sc: Likewise. - * scripttempl/tic54xcoff.sc: Likewise. - * scripttempl/aix.sc: Delete ${RELOCATING-0}. - * scripttempl/avr.sc: Likewise. - * scripttempl/elf32msp430.sc: Likewise. - * scripttempl/elf32msp430_3.sc: Likewise. - * scripttempl/elf32sh-symbian.sc: Likewise. - * scripttempl/elf_chaos.sc: Likewise. - * scripttempl/elfi370.sc: Likewise. - * scripttempl/nw.sc: Likewise. - * scripttempl/psos.sc: Likewise. - * scripttempl/armbpabi.sc: Delete ${RELOCATING-0} and ${CONSTRUCTING-0}. - * scripttempl/elf.sc: Likewise. - * scripttempl/elf64hppa.sc: Likewise. - * scripttempl/elfd10v.sc: Likewise. - * scripttempl/elfd30v.sc: Likewise. - * scripttempl/elfm68hc11.sc: Likewise. - * scripttempl/elfm68hc12.sc: Likewise. - * scripttempl/elfmicroblaze.sc: Likewise. - * scripttempl/elfxtensa.sc: Likewise. - * scripttempl/iq2000.sc: Likewise. - * scripttempl/mep.sc: Likewise. - * scripttempl/xstormy16.sc: Likewise. - -2009-09-27 Christopher Faylor <me+cygwin@cgf.cx> - - PR ld/10634 - * ldlang.c (lang_size_sections_1): Always force output vma to zero for - relocatable sections. - (lang_size_sections_1): Revert previous COFF-only accommodation for - relocatable sections. - -2009-09-25 Martin Thuresson <martint@google.com> - - Update sources to make arm targets compile cleanly with - -Wc++-compat: - * emultempl/armelf.em: Add casts. - -2009-09-23 Matt Rice <ratmice@gmail.com> - - * emultempl/elf32.em (gld${EMULATION_NAME}_add_options): Add --audit, - --depaudit, and -P options. - (gld${EULATION_NAME}_handle_options): Ditto. - (gld${EULATION_NAME}_list_options): Ditto. - (gld${EMULATION_NAME}_append_to_separated_string): New function for - handling rpath-like colon separated strings. - (gld${EMULATION_NAME}_before_allocation): Pass the audit and depaudit - libs to bfd. Propagate DT_AUDIT from needed libs to depaudit. - * ld.texinfo: Document new options. - -2009-09-23 Nick Clifton <nickc@redhat.com> - - * po/vi.po: Updated Vietnamese translation. - -2009-09-22 Alan Modra <amodra@bigpond.net.au> - - * scripttempl/a29k.sc: Delete. - * scripttempl/ebmon29k.sc: Delete. - * scripttempl/m68klynx.sc: Delete. - * scripttempl/sa29200.sc: Delete. - * scripttempl/sparclynx.sc: Delete. - -2009-09-21 Alan Modra <amodra@bigpond.net.au> - - * emultempl/ppc32elf.em (no_tls_get_addr_opt): New var. - (ppc_before_allocation): Pass to ppc_elf_tls_setup. - (OPTION_NO_TLS_GET_ADDR_OPT): Define. Redefine other options in - terms of previous option. - (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add - --no-tls-get-addr-optimize. - (PARSE_AND_LIST_ARGS_CASES): Handle it. - * emultempl/ppc64elf.em (no_tls_get_addr_opt): New var. - (ppc_before_allocation): Pass to ppc64_elf_tls_setup. - (OPTION_NO_TLS_GET_ADDR_OPT): Define. - (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add - --no-tls-get-addr-optimize. - (PARSE_AND_LIST_ARGS_CASES): Handle it. - -2009-09-18 Nick Clifton <nickc@redhat.com> - - * po/es.po: Updated Spanish translation. - -2009-09-13 Alan Modra <amodra@bigpond.net.au> - - PR ld/6766 - * lexsup.c (parse_args <-e>): Revert 2009-03-18 change. - * ldemul.c (after_parse_default): Add entry symbol as undef. - * emultempl/alphaelf.em (alpha_after_parse): Call after_parse_default. - * emultempl/cr16elf.em (cr16elf_after_parse): Likewise. - * emultempl/crxelf.em (crxelf_after_parse): Likewise. - * emultempl/hppaelf.em (hppaelf_after_parse): Likewise. - * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Likewise. - * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Call - after_parse_default and delete now duplicate code. - * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise. - * scripttempl/elf32cr16.sc: No need to make entry extern. - * scripttempl/elf32cr16c.sc: Likewise. - * scripttempl/elf32crx.sc: Likewise. - * scripttempl/elf32xc16xs.sc: Only provide ENTRY on final link. - -2009-09-11 Nick Clifton <nickc@redhat.com> - - * po/ld.pot: Updated by the Translation project. - * po/fi.po: Updated Finnish translation. - -2009-09-11 Martin Thuresson <martint@google.com> - - Updated sources to compile cleanly with -Wc++-compat: - * ld.h (enum endian_enum,enum symbolic_enum,enum - dynamic_list_enum): Move to top level. - * ldcref.c: Add casts. - * ldctor.c: Add casts. - * ldexp.c - * ldexp.h (enum node_tree_enum,enum phase_enum): Move to top level. - * ldlang.c: Add casts. (lang_insert_orphan): Use enum name instead - of integer. - * ldlang.h (enum statement_enum): Move to top level. - * ldmain.c: Add casts. - * ldwrite.c: Add casts. - * lexsup.c: Add casts. (enum control_enum): Move to top level. - * mri.c: Add casts. (mri_draw_tree): Use enum name instead of - integer. - -2009-09-09 Alan Modra <amodra@bigpond.net.au> - - * scripttempl/aix.sc: Only provide ENTRY on final link. - * scripttempl/alpha.sc: Likewise. - * scripttempl/armcoff.sc: Likewise. - * scripttempl/crisaout.sc: Likewise. - * scripttempl/delta68.sc: Likewise. - * scripttempl/ebmon29k.sc: Likewise. - * scripttempl/elf32xc16x.sc: Likewise. - * scripttempl/elf32xc16xl.sc: Likewise. - * scripttempl/elfmicroblaze.sc: Likewise. - * scripttempl/epocpe.sc: Likewise. - * scripttempl/h8300.sc: Likewise. - * scripttempl/h8300h.sc: Likewise. - * scripttempl/h8300hn.sc: Likewise. - * scripttempl/h8300s.sc: Likewise. - * scripttempl/h8300sn.sc: Likewise. - * scripttempl/h8300sx.sc: Likewise. - * scripttempl/h8300sxn.sc: Likewise. - * scripttempl/hppaelf.sc: Likewise. - * scripttempl/i386beos.sc: Likewise. - * scripttempl/i386coff.sc: Likewise. - * scripttempl/i386go32.sc: Likewise. - * scripttempl/m68kaux.sc: Likewise. - * scripttempl/m68klynx.sc: Likewise. - * scripttempl/m88kbcs.sc: Likewise. - * scripttempl/maxqcoff.sc: Likewise. - * scripttempl/mcorepe.sc: Likewise. - * scripttempl/mips.sc: Likewise. - * scripttempl/ppcpe.sc: Likewise. - * scripttempl/sa29200.sc: Likewise. - * scripttempl/sparccoff.sc: Likewise. - * scripttempl/sparclynx.sc: Likewise. - * scripttempl/tic4xcoff.sc: Likewise. - * scripttempl/tic54xcoff.sc: Likewise. - * scripttempl/tic80coff.sc: Likewise. - * scripttempl/z8000.sc: Likewise. - -2009-09-07 Tristan Gingold <gingold@adacore.com> - - * po/ld.pot: Regenerate. - -2009-09-05 Martin Thuresson <martin@mtme.org> - - * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols, - gld${EMULATION_NAME}_try_needed): Rename variable class to - link_class. - -2009-09-04 Tristan Gingold <gingold@adacore.com> - - * NEWS: Add marker for 2.20. - -2009-09-04 Alan Modra <amodra@bigpond.net.au> - - * scripttempl/elf.sc (.text): Add cold text sections. - -2009-09-04 Jie Zhang <jie.zhang@analog.com> - - * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Add .l2.text - and .l2.data. - -2009-09-03 Dave Korn <dave.korn.cygwin@gmail.com> - - * scripttempl/pe.sc (.text): Add "*(.text.*)" in order to catch - new GCC hot/cold/unlikely partitions. - * scripttempl/pep.sc: Likewise. - * scripttempl/epocpe.sc: Likewise. - * scripttempl/mcorepe.sc: Likewise. - * scripttempl/ppcpe.sc: Likewise. - -2009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * Makefile.am (ldgram.o, ldlex.o, deffilep.o): Supply correct - source file name for generated files which may be in $(srcdir). - * Makefile.in: Regenerate. - -2009-09-01 H.J. Lu <hongjiu.lu@intel.com> - - * ldver.c (ldversion): Change to "Copyright 2009". - -2009-09-01 Jie Zhang <jie.zhang@analog.com> - - * scripttempl/elf.sc: Add ${USER_LABEL_PREFIX} to _start, etext, - _stack and __bss_start. - * emulparams/bfin.sh (ENTRY): Remove. - -2009-08-30 Alan Modra <amodra@bigpond.net.au> - - PR ld/10569 - * ldexp.c (fold_name <MAXPAGESIZE>): Return config.maxpagesize. - (fold_name <COMMONPAGESIZE>): Similarly. - * ldlang.c (output_target): Make global. - * ldlang.h (output_target): Declare. - * ldmain.c (main): Set config.maxpagesize from bfd_emul_get_maxpagesize. - Similarly for config.commonpagesize. - * ldemul.c (set_output_arch_default): Call bfd_emul_set_maxpagesize - and bfd_emul_set_commonpagesize. - * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Don't call - bfd_emul_set_maxpagesize or bfd_emul_set_commonpagesize here. - -2009-08-29 Martin Thuresson <martin@mtme.org> - - * ldexp.c (exp_intop, exp_bigintop, exp_relop, exp_binop) - (exp_trinop, exp_unop, exp_nameop, exp_assop): Rename variable new - to new_e. - * ldfile.c (ldfile_add_library_path): Rename variable new to - new_dirs. (ldfile_add_arch): Rename variable new to new_arch. - * ldlang.c (new_statement, lang_final, lang_add_wild) - (lang_target, lang_add_fill, lang_add_data, lang_add_assignment) - (lang_add_insert): Rename variable new to new_stmt. (new_afile): - Added missing cast. (lang_memory_region_lookup): Rename variable - new to new_region. (init_os): Rename variable new to - new_userdata. (lang_add_section): Rename variable new to - new_section. (ldlang_add_undef): Rename variable new to - new_undef. (realsymbol): Rename variable new to new_name. - -2009-08-26 Nick Clifton <nickc@redhat.com> - - PR ld/10555 - * emultempl/elf32.em (_after_open): Do not create a - .note.gnu-build-id section if there are no input files. - -2009-08-24 Nick Clifton <nickc@redhat.com> - - * scripttempl/elfxtensa.sc (DISCARDED): Discard sections with - .gnu.lto_ prefix. - * scripttempl/armbpabi.sc: Likewise. - * scripttempl/elf32sh-symbian.sc: Likewise. - * scripttempl/elf64hppa.sc: Likewise. - * scripttempl/mep.sc: Likewise. - -2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * Makefile.am (ldmain.o, ldfile.o): Fix typos in non-fastdep - rules. - (eelf32_spu.o): Add dependency tracking. - * Makefile.in: Regenerate. - - * Makefile.am (am__skiplex, am__skipyacc): New. - * Makefile.in: Regenerate. - -2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * Makefile.am (bin_PROGRAMS): Renamed from ... - (noinst_PROGRAMS): ... this. - (transform): Override, including the renaming of ld-new to ld. - (install-exec-local): Installation of ld in $(bindir) not needed - here any more. - (AM_CPPFLAGS): Renamed from ... - (INCLUDES): ... this. - (MAINTAINERCLEANFILES): Add ld.1. - * Makefile.in: Regenerate. - - * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus. Add - no-texinfo.tex, no-dist, foreign. - (TEXINFO_TEX): New variable. - (install-data-local): Removed, not needed any more. - (all): Dependencies upon info and ld.1 not needed any more. - (MKDEP, DEP, DEP1, dep.sed, dep, dep-in, dep-am): Removed. - (mkdep generated section): Removed. - (ldgram.o, ldlex.o, deffilep.o, ldmain.o, ldfile.o): Rewrite to - use automake dependency tracking mechanism. - (EXTRA_ld_new_SOURCES): Add pep-dll.c, pe-dll.c, and - $(ALL_EMULATIONS:.o=.c) $(ALL_64_EMULATIONS:.o=.c) so their - dependencies are tracked too. - (BUILT_SOURCES): New, list $(GENERATED_HFILES) to ensure they - are built early. - * configure.in: Use AM_MAINTAINER_MODE. - * aclocal.m4, configure, Makefile.in: Regenerate. - - * Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am) - (install-pdf-recursive, html__strip_dir, install-html) - (install-html-am, install-html-recursive): Remove. - * Makefile.in: Regenerate. - - * Makefile.in: Regenerate. - * aclocal.m4: Likewise. - * config.in: Likewise. - * configure: Likewise. - -2009-08-21 Richard Guenther <rguenther@suse.de> - - * scripttempl/elf.sc: Discard sections with .gnu.lto_ prefix. - -2009-08-12 Tristan Gingold <gingold@adacore.com> - - * ld.h (fat_user_section_struct): Add map_symbol_def_count field. - * ldlang.c (hash_entry_addr_cmp): New function. - (print_all_symbols): Sort the symbols by address before printing them. - -2009-08-10 Alan Modra <amodra@bigpond.net.au> - - PR 10474 - * ldemul.c (after_allocation_default): Run lang_relax_sections. - * ldlang.h (lang_relax_sections): Declare. - * ldlang.c (relax_sections): Delete. - (lang_relax_sections): New function. - (lang_process): Don't relax directly from here. - * emultempl/alphaelf.em (alpha_finish): Call finish_default. - * emultempl/armelf.em (arm_elf_after_allocation): Delete. Move body.. - (gld${EMULATION_NAME}_finish): ..to here. Move existing code.. - (gld${EMULATION_NAME}_after_allocation): ..to here. New function. - (LDEMUL_AFTER_ALLOCATION): Update. - * emultempl/avrelf.em (avr_elf_finish, LDEMUL_FINISH): Delete. - (avr_elf_after_allocation): New function. - (LDEMUL_AFTER_ALLOCATION): Define. - * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Call - lang_relax_sections. - * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Delete. Move.. - (gld${EMULATION_NAME}_after_allocation): ..code to here. New function. - (LDEMUL_AFTER_ALLOCATION, LDEMUL_FINISH): Update. - * emultempl/genelf.em (gld${EMULATION_NAME}_finish): Delete. Move.. - (gld${EMULATION_NAME}_after_allocation): ..code to here. New function. - (LDEMUL_FINISH): Delete. - (LDEMUL_AFTER_ALLOCATION): Define. - * emultempl/hppaelf.em (gld${EMULATION_NAME}_finish): Delete. Move.. - (gld${EMULATION_NAME}_after_allocation): ..to here. New function. - (LDEMUL_FINISH): Delete. - (LDEMUL_AFTER_ALLOCATION): Define. - * emultempl/m68hc1xelf.em (m68hc11elf_finish): Delete. Move.. - (m68hc11elf_after_allocation): ..to here. New function. - (LDEMUL_FINISH): Delete. - (LDEMUL_AFTER_ALLOCATION): Define. - * emultempl/m68kelf.em (m68k_elf_after_allocation): Call - gld${EMULATION_NAME}_after_allocation. - * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Call - gld${EMULATION_NAME}_after_allocation. - * emultempl/mmo.em (mmo_finish): Delete. Move body.. - (gld${EMULATION_NAME}_after_allocation): ..to here. New function. - (LDEMUL_FINISH): Define. - * emultempl/ppc64elf.em (ppc_layout_sections_again): Set elf_gp. - (gld${EMULATION_NAME}_finish): Move code sizing sections.. - (gld${EMULATION_NAME}_after_allocation): ..to here. - * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation): - Call gld${EMULATION_NAME}_after_allocation. - * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Delete - bfd_elf_discard_info and map_segments call. - -2009-08-06 Michael Eager <eager@eagercon.com> - - * Makefile.am: Add eelf32mb_linux.o, eelf32microblaze.o to - ALL_EMULATIONS, targets. - * Makefile.in: Regenerate. - * configure.tgt: Add microblaze*-linux*, microblaze* targets. - * emulparams/elf32mb_linux.sh: New. - * emulparams/elf32microblaze.sh. New. - * scripttempl/elfmicroblaze.sc: New. - -2009-08-05 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com> - - * emulparams/elf32_spu.sh (OTHER_READONLY_SECTIONS): Add .fixup - section and __fixup_start symbol. - * emultempl/spuelf.em (params): Initialize emit_fixups member. - (spu_before_allocation): Call spu_elf_size_sections. - (OPTION_SPU_EMIT_FIXUPS): Define. - (PARSE_AND_LIST_LONGOPTS): Add --emit-fixups. - (PARSE_AND_LIST_ARGS_CASES): Handle --emit-fixups. - * ld.texinfo (--emit-fixups): Document. - -2009-08-04 Alan Modra <amodra@bigpond.net.au> - - PR 10474 - * emultempl/ppc32elf.em (ppc_before_allocation): Test rawsize, - not size, after lang_reset_memory_regions. - -2009-07-30 Alan Modra <amodra@bigpond.net.au> - - * emulparams/elf32ppc.sh (PLT): Don't include ".iplt". - * emulparams/elf_i386.sh (IREL_IN_PLT): Define. - * emulparams/elf_x86_64.sh (IREL_IN_PLT): Define. - * scripttempl/elf.sc: Create separate .iplt and .rela.iplt sections - when !IREL_IN_PLT. - -2009-07-29 Hans-Peter Nilsson <hp@bitrange.com> - - * scripttempl/mmo.sc: For relocateable links, set $OUTPUT_FORMAT to - the new $RELOCATEABLE_OUTPUT_FORMAT, if set. - (OUTPUT_FORMAT): Use the variable $OUTPUT_FORMAT. - (ENTRY): Don't emit for relocateable links. - (/DISCARD/): Don't discard .gnu.warning.* for relocateable links. - * emulparams/mmo.sh (RELOCATEABLE_OUTPUT_FORMAT): Set, to - elf64-mmix. - * emulparams/elf64mmix.sh (OTHER_TEXT_SECTIONS): Empty, don't - provide "Main" or set "_start.", for relocateable links. - -2009-07-27 Nick Clifton <nickc@redhat.com> - - * (po/fi.po): Updated Finnish translation. - -2009-07-25 H.J. Lu <hongjiu.lu@intel.com> - - * configure.tgt (targ64_extra_emuls): Add elf_l1om if elf_x86_64 - is supported. Add elf_l1om_fbsd if elf_x86_64_fbsd is supported. - (targ_extra_emuls): Likewise. - - * Makefile.am (ALL_64_EMULATIONS): Add eelf_l1om.o and - eelf_l1om_fbsd.o - (eelf_l1om.c): New. - (eelf_l1om_fbsd.c): Likewise. - * Makefile.in: Regenerated. - - * emulparams/elf_l1om.sh: New. - * emulparams/elf_l1om_fbsd.sh: Likewise. - -2009-07-23 Ulrich Drepper <drepper@redhat.com> - - * NEWS: Mention the linker's support for symbols with a binding of - STB_GNU_UNIQUE. - -2009-07-22 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/10429 - * ldlang.c (insert_os_after): Tie assignments to non-alloc - output sections if there is no-input section. - -2009-07-11 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (insert_os_after): Don't tie assignments to non-alloc - output sections. - -2009-07-10 Alan Modra <amodra@bigpond.net.au> - - * emultempl/ppc32elf.em (ppc_before_allocation): Turn on - linker relaxation if it might be necessary. - -2009-07-10 Alan Modra <amodra@bigpond.net.au> - - * emulparams/elf32ppc.sh (GOTPLT, PLT): Handle .iplt. - -2009-07-06 Matthias Klose <doko@ubuntu.com> - - * ld.texinfo: Fix typo. - -2009-07-03 Tristan Gingold <gingold@adacore.com> - - * scripttempl/pep.sc: Put .eh_frame in its own section. - * scripttempl/pe.sc: Ditto. - -2009-06-26 Kai Tietz <kai.tietz@onevision.com> - - * scripttempl/pe.sc (.debug_pubtypes): Added section rule. - * scripttempl/pep.sc: Likewise. - -2009-06-25 Tristan Gingold <gingold@adacore.com> - - * ldlang.c (print_input_section): Add is_discarded parameter. Adjust - prototype. - (lang_map): Print the size of discarded sections. - (print_statement): Adjust call to print_input_section. - -2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com> - - Merge cegcc and mingw32ce target name changes from CeGCC project: - - 2008-09-24 Pedro Alves <pedroalves@users.sourceforge.net> - - * configure.tgt (arm*-*-cegcc*): Set LIB_PATH to - ${tooldir}/lib/w32api. - - 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt> - - * configure.tgt: Add arm*-*-cegcc* target. - - 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt> - - * configure.tgt: Add arm-*-mingw32ce* target. - -2009-06-10 Philip Blundell <philb@gnu.org> - - * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Avoid crash - if section has no ELF data. - -2009-06-06 H.J. Lu <hongjiu.lu@intel.com> - - * scripttempl/elf.sc: Add .rel.ifunc and .rela.ifunc. - -2009-06-05 H.J. Lu <hongjiu.lu@intel.com> - - * scripttempl/elf.sc: Remove .rel.ifunc.dyn and .rela.ifunc.dyn. - -2009-06-04 Alan Modra <amodra@bigpond.net.au> - - * dep-in.sed: Don't use \n in replacement part of s command. - * Makefile.am (DEP1): LC_ALL for uniq. - * Makefile.in: Regenerate. - -2009-06-01 H.J. Lu <hongjiu.lu@intel.com> - - * scripttempl/elf.sc (PLT): Add "*(.iplt)". - (GOT): Add "*(.igot.plt)a" and "*(.igot)". - (GOTPLT): Add "*(.igot)". - (__rel_iplt_start): New. - (__rel_iplt_end): Likewise. - (__rela_iplt_start): Likewise. - (__rela_iplt_end): Likewise. - -2009-05-27 Dave Korn <dave.korn.cygwin@gmail.com> - - * deffilep.y (%union): Add new string-type semantic value 'digits'. - (%token): Remove NUMBER as token, add DIGITS. - (%type): Add NUMBER as type. Add new id types anylang_id, opt_id. - (ALIGNCOMM): Parse an anylang_id instead of a plain ID. - (anylang_id): New production. - (opt_digits): Likewise. - (opt_id): Likewise. - (NUMBER): Likewise. - (def_lex): Return strings of digits in raw string form as DIGITS - token, instead of converting to numeric integer type. - -2009-05-26 Nathan Sidwell <nathan@codesourcery.com> - - * ldmain.c (main): Don't reject --relax -r. - * ld.texinfo (PowerPC ELF32): Document behaviour of relaxing - partial links. - -2009-05-26 Nick Clifton <nickc@redhat.com> - - * po/id.po: Updated Indonesian translation. - * po/ld.pot: Updated template file. - -2009-05-26 Alan Modra <amodra@bigpond.net.au> - - * dep-in.sed: Output one filename per line with all lines having - continuation backslash. Prefix first line with "A", following - lines with "B". - * Makefile.am (DEP): Don't use dep.sed here. - (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies, - sort and uniq. - * Makefile.in: Regenerate. - -2009-05-26 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (lang_check_section_addresses): Ignore non-alloc sections. - -2009-05-22 Julian Brown <julian@codesourcery.com> - - * emultempl/armelf.em (fix_cortex_a8): New. - (arm_elf_before_allocation): Call bfd_elf32_arm_set_cortex_a8_fix. - (arm_elf_create_output_section_statements): Add fix_cortex_a8 to - bfd_elf32_arm_set_target_relocs. - (OPTION_FIX_CORTEX_A8, OPTION_NO_FIX_CORTEX_A8): New. - (PARSE_AND_LIST_LONGOPTS): Add [no-]fix-cortex-a8 options. - (PARSE_AND_LIST_OPTIONS): Add [no-]fix-cortex-a8 options. - (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_[NO_]FIX_CORTEX_A8. - * ld.texinfo (--[no-]fix-cortex-a8): Briefly document new options. - -2009-05-22 Nathan Sidwell <nathan@codesourcery.com> - - * ldlang.c (lang_check_section_addresses): Ignore non-loadable - sections when checking for overlap. Clarify error message - concerns load address. - -2009-05-22 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2009-05-19 Dave Korn <dave.korn.cygwin@gmail.com> - - * NEWS: Mention new feature. - * deffile.h (def_file_aligncomm): Add new struct definition. - (def_file): Add new def_file_aligncomm member. - * deffilep.y (%token): Add new ALIGNCOMM token. - (command): Add production rule for ALIGNCOMM. - (def_file_free): Free any chained def_file_aligncomm structs. - (diropts[]): Add entry for '-aligncomm' .drectve command. - (def_aligncomm): New grammar function. - * ld.texinfo: Document new feature. - * pe-dll.c (process_def_file): Rename from this ... - (process_def_file_and_drectve): ... to this, updating all callers, - and process any aligncomms chained to the def file after scanning - all .drectve sections. - (generate_edata): Updated to match. - (pe_dll_build_sections): Likewise. - -2009-05-17 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> - - * pe-dll.c (process_def_file): Do not create empty export table. - -2009-05-15 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (lang_output_section_statement_lookup): Add function - comment. Make "name" non-const. Ensure duplicate entries use - the same string, allowing simple comparison in hash bucket loop. - Tweak constraint check. - (next_matching_output_section_statement): New function. - * ldlang.h (lang_output_section_statement_lookup): Update. - (next_matching_output_section_statement): Declare. - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't - combine orphan sections when input sections flags differ in - alloc or load. - * emultempl/pe.em: Formatting throughout. - (gld${EMULATION_NAME}_place_orphan): As for elf32.em. - * emultempl/pep.em: Formatting throughout. - (gld${EMULATION_NAME}_place_orphan): As for elf32.em. - -2009-05-14 Ulrich Weigand <uweigand@de.ibm.com> - - * emultempl/spuelf.em (PARSE_AND_LIST_ARGS_CASES): Always use - compact stubs with software i-cache. - -2009-05-14 Alan Modra <amodra@bigpond.net.au> - - * emultempl/spuelf.em (spu_before_allocation): Call - spu_elf_place_overlay_data. - -2009-05-14 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (lang_insert_orphan): Add __start_<section> symbol - assignment inside output section statement. Ensure only one - set of symbols per output section. - * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add non- - dollar sections before dollar sections. Correct add_child - list insertion. - * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise. - -2009-05-05 Paul Brook <paul@codesourcery.com> - - * emultempl/armelf.em (compare_output_sec_vma): New function. - (gld${EMULATION_NAME}_finish): Add exidx munging code. - -2009-05-05 Anatoly Sokolov <aesok@post.ru> - - * scripttempl/avr.sc (MEMORY): Use DATA_ORIGIN. - * emulparams/avr1.sh (DATA_ORIGIN): Add. - * emulparams/avr2.sh (DATA_ORIGIN): Add. - * emulparams/avr25.sh (DATA_ORIGIN): Add. - * emulparams/avr3.sh (DATA_ORIGIN): Add. - * emulparams/avr31.sh (DATA_ORIGIN): Add. - * emulparams/avr35.sh (DATA_ORIGIN): Add. - * emulparams/avr4.sh (DATA_ORIGIN): Add. - * emulparams/avr5.sh (DATA_ORIGIN): Add. - * emulparams/avr51.sh (DATA_ORIGIN): Add. - (DATA_LENGTH): Update. - * emulparams/avr6.sh (DATA_ORIGIN): Add. - (DATA_LENGTH): Update. - -2009-05-04 Dave Korn <dave.korn.cygwin@gmail.com> - - * NEWS: Mention new feature. - * ld.texinfo (--version-script): Document extent of PE support. - (WIN32): Mention --version-script. Extend auto-export description. - * pe-dll.c (process_def_file): Use version script info to filter - symbols from auto-export. - * testsuite/ld-pe/vers-script-1.d: New file. - * testsuite/ld-pe/vers-script-2.d: New file. - * testsuite/ld-pe/vers-script-3.d: New file. - * testsuite/ld-pe/vers-script-4.d: New file. - * testsuite/ld-pe/vers-script-1.ver: New file. - * testsuite/ld-pe/vers-script-2.ver: New file. - * testsuite/ld-pe/vers-script-3.ver: New file. - * testsuite/ld-pe/vers-script-4.ver: New file. - * testsuite/ld-pe/vers-script-dll.c: New file. - * testsuite/ld-pe/vers-script.exp: New test script. - -2009-05-01 Nathan Sidwell <nathan@codesourcery.com> - - * emulparams/vxworks.sh (TEXT_START_ADDR): Override. - -2009-04-30 Nick Clifton <nickc@redhat.com> - - * NEWS: Mention support for IFUNC symbols. - -2009-04-29 Anthony Green <green@moxielogic.com> - - * emulparams/elf32moxie.sh (STACK_ADDR): Move default stack - position out to accommodate larger programs. - -2009-04-29 Chris Demetriou <cgd@google.com> - - * lexsup.c (option_values): Add OPTION_NO_EXPORT_DYNAMIC. - (ld_options): Likewise. - (parse_args): Likewise. - * ld.texinfo: Document --no-export-dynamic. - * NEWS: Mention --no-export-dynamic. - -2009-04-29 Alan Modra <amodra@bigpond.net.au> - - * deffilep.y (STACKSIZE_K): Rename from STACKSIZE. - -2009-04-25 Alan Modra <amodra@bigpond.net.au> - - PR 10061 - * genscripts.sh: Don't pass $EMULATION_NAME as $CUSTOMIZER_SCRIPT - param. - -2009-04-21 Daniel Jacobowitz <dan@codesourcery.com> - - * emultempl/armelf.em (bfd_for_interwork, arm_elf_after_open) - (arm_elf_set_bfd_for_interworking): Delete. - (arm_elf_before_allocation): Do not set the interworking BFD. - Move allocation inside not-dynamic block. - (arm_elf_create_output_section_statements): Create glue sections - and set the interworking BFD here. - (LDEMUL_AFTER_OPEN): Delete. - -2009-04-16 Richard Sandiford <r.sandiford@uk.ibm.com> - - * ldlang.c (lang_one_common): Use bfd_define_common_symbol. - -2009-04-15 Anthony Green <green@moxielogic.com> - - * configure.tgt: Add moxie support. - * Makefile.am: Add moxie files. - * Makefile.in: Rebuilt. - * emulparams/elf32moxie.sh: New file. - * scripttempl/moxie.sc: New file. - -2009-04-15 Kazu Hirata <kazu@codesourcery.com> - - * ldlang.c: Do not include limits.h. - -2009-04-14 Alan Modra <amodra@bigpond.net.au> - - PR ld/10047 - * ldfile.c (find_scripts_dir): Use make_relative_prefix to find - ldscripts in build tree. Don't repeat search for ../lib/ldscripts. - -2009-04-13 H.J. Lu <hongjiu.lu@intel.com> - - * ldfile.c (ldfile_find_command_file): Revert the last change. - -2009-04-11 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/10047 - * ldfile.c (ldfile_find_command_file): First try raw name. - -2009-04-09 Nick Clifton <nickc@redhat.com> - - PR 9824 - * ld.texinfo (Output Section Constraint): New node. Documents the - ONLY_IF_RO and ONLY_IF_RW constraints. - (Symbolic Constants): New node. Documents the CONSTANT operator. - -2009-04-09 Thilo Fischer <thilo.fischer@uni-muenster.de> - - * emultempl/spuelf.em (embedded_spu_file): Use pex_one in place - of fork/execvp. - -2009-04-08 H.J. Lu <hongjiu.lu@intel.com> - - * lexsup.c (option_values): Add OPTION_WARN_ALTERNATE_EM. - (ld_options): Likewise. - (parse_args): Likewise. - - * ld.texinfo: Document --warn-alternate-em. - - * NEWS: Mention --warn-alternate-em. - -2009-04-07 DJ Delorie <dj@redhat.com> - - * emulparams/elf32mep.sh: Change default endian to little. - -2009-04-07 Nick Clifton <nickc@redhat.com> - - * ld.texinfo (Output Section Address): Note that specifying an - address for an output section will only change the location - counter if the output section is used. - -2009-04-06 Kazu Hirata <kazu@codesourcery.com> - - * ldfile.c (ldfile_find_command_file): Initialize result. - -2009-04-06 Kazu Hirata <kazu@codesourcery.com> - - * ld.texinfo (-L): Mention that -L options do not affect how ld - searches for a linker script unless -T option is specified. - * ldfile.c (ldfile_find_command_file): Append the path obtained - from the program name to the search path instead of - prepending. Add a new parameter "default_only". Restrict the - search to the default script location if the new parameter is - true. - (ldfile_open_command_file_1): New. - (ldfile_open_command_file): Call ldfile_open_command_file_1. - (ldfile_open_default_command_file): New. - -2009-04-03 Nathan Sidwell <nathan@codesourcery.com> - - * ldlang.c (lang_leave_output_section_statement): Set lma_region - if it is not overridden and section is for the same vma region as - the previous section. - -2009-04-02 Dave Korn <dave.korn.cygwin@gmail.com> - - PR ld/6744 - * ld.texinfo (--export-dynamic): Mention --export-all-symbols. - * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Issue - warning if --export-dynamic was passed on command-line. - * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise. - -2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com> - - * emultempl/aix.em (gld${EMULATION_NAME}_open_dynamic_archive): New - function. - (ld_${EMULATION_NAME}_emulation): Use it. - -2009-03-20 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/9970 - * ldlang.c (lang_end): Warn missing entry symbol for -pie. - -2009-03-19 Alan Modra <amodra@bigpond.net.au> - - * emultempl/spuelf.em (spu_before_allocation): Report errors from - spu_elf_find_overlays. - -2009-03-18 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/6766 - * lexsup.c (parse_args): Call ldlang_add_undef for -e. - -2009-03-18 Alan Modra <amodra@bigpond.net.au> - - * ld.h: Remove alloca handling. - -2009-03-17 Alan Modra <amodra@bigpond.net.au> - - * emultempl/spu_icache.S: Add new entry to dummy handler. - * emultempl/spu_icache.o_c: Regenerate. - * emultempl/spuelf.em (params): Init new field. - (no_overlays): New static var. - (spu_before_allocation): Use it. - (OPTION_SPU_COMPACT_STUBS): Define. - (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add compact-stubs. - (PARSE_AND_LIST_ARGS_CASES): Handle compact-stubs. Adjust no-overlays - handling. - -2009-03-17 Alan Modra <amodra@bigpond.net.au> - - * configure.host (HOSTING_LIBS): Two dollars on shell variable - expansion to suit make. - -2009-03-17 Alan Modra <amodra@bigpond.net.au> - - * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL. - * Makefile.am (check-DEJAGNU): Set DO_COMPARE. - * aclocal.m4: Regenerate. - * configure: Regenerate. - * Makefile.in: Regenerate. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * emultempl/aix.em (auto_export_flags): New variable. - (explicit_auto_export_flags): Likewise. - (OPTION_EXPALL, OPTION_EXPFULL): New enum values. - (OPTION_NOEXPALL, OPTION_NOEXPFULL): Likewise. - (gld${EMULATION_NAME}_add_options): Add -bexpall, -bexpfull, - -bnoexpall and -bnoexpfull. - (gld${EMULATION_NAME}_handle_option): Handle them. - (gld${EMULATION_NAME}_before_allocation): Update the call to - bfd_size_dynamic_sections. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * emultempl/aix.em (gld${EMULATION_NAME}_handle_option): Make - -berok and -bernotok control link_info.unresolved_syms_in_objects - and link_info.unresolved_syms_in_shared_libs instead of - force_make_executable. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set - config.dynamic_link to TRUE. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Mark - .text, .data and .bss output sections as SEC_KEEP. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * configure.tgt: Extend AIX 5 behavior to AIX 6 and above. - -2009-03-14 Dave Korn <dave.korn.cygwin@gmail.com> - Danny Smith <dannysmith@users.sourceforge.net> - - * emultmpl/pe.em (pe_dll_characteristics): New variable. - (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT, - OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND, - OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE): - New macros for options to set DllCharacteristics flag bits. - (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg, - nxcompat, no-isolation, no-seh, no-bind, wdmdriver, tsaware options. - (init): Add DllCharacteristics field. - (gld_${EMULATION_NAME}_list_options): List new options. - (gld${EMULATION_NAME}_handle_option): Handle new options. - * emultmpl/pep.em (pe_dll_characteristics): New variable. - (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT, - OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND, - OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE): - New macros for options to set DllCharacteristics flags. - (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg, - nxcompat,no-isolation, no-seh, no-bind, wdmdriver, tsaware options. - (init): Add DllCharacteristics field. - (gld_${EMULATION_NAME}_list_options): List new options. - (gld${EMULATION_NAME}_handle_option): Handle new options. - * ldtexinfo : Document dynamicbase, forceinteg, nxcompat, - no-isolation, no-seh, no-bind, wdmdriver, tsaware options. - -2009-03-06 Nick Clifton <nickc@redhat.com> - - * po/es.po: Updated Spanish translation. - -2009-03-03 Dave Korn <dave.korn.cygwin@gmail.com> - - * emultempl/pe.em (debug_section_p): New bfd_map_over_sections hook. - (gld_${EMULATION_NAME}_after_open): Use it to iterate all sections - of all input BFDs, looking for debug info. Enable long section names - if any found. - * emultempl/pe.em (debug_section_p): Likewise. - (gld_${EMULATION_NAME}_after_open): Likewise. - * NEWS: Retrospectively adjust news announcement. - * ld.texinfo: Update documentation to mention new behaviour. - -2009-03-03 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2009-03-02 Sebastian Huber <sebastian.huber@embedded-brains.de> - - * ldgram.y: Add support for REGION_ALIAS operator. - * ldlang.c: Likewise. - * ldlang.h: Likewise. - * ldlex.l: Likewise. - * NEWS: Mention the new feature. - * ld.texinfo: Document the new feature. - -2009-03-02 Qinwei <qinwei@sunnorth.com.cn> - - * Makefile.am: Replace score elf emulation with score3 and score7 - emulations. - * Makefile.in: Regenerate, - * NEWS: Mention support for Score7 architecture. - * configure.tgt: Add score7 emulation to score-elf target. - * emulparams/scoreelf.sh: Add score7 support. - * emultempl/scoreelf.em: Likewise. - -2009-03-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * configure.tgt: Only use elf64hppa target emulation for hpux. - * emulparams/elf64hppa.sh: Don't include hppa64linux.sh. - (SCRIPT_NAME): Use new script elf64hppa. - (SCRIPT_NAME, ELFSIZE, NO_REL_RELOCS, ARCH, MACHINE, ENTRY, - TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT, OTHER_READONLY_SECTIONS, - OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS, OTHER_GOT_RELOC_SECTIONS, - DATA_START_SYMBOLS, OTHER_SYMBOLS, DATA_PLT, PLT_BEFORE_GOT, - TEXT_DYNAMIC): Define. - * emulparams/hppa64linux.sh: Adjust comments. - * scripttempl/elf64hppa.sc: New file. - -2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure: Regenerate. - -2009-02-27 Dave Korn <dave.korn.cygwin@gmail.com> - - * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set - default state of auto-import flag based on $target. - -2009-02-24 Joseph Myers <joseph@codesourcery.com> - - * ld.texinfo (ARM): Document changed meaning of --stub-group-size. - * emultempl/armelf.em (hook_in_stub): Insert after the input section. - (elf32_arm_add_stub_section): Update comment. - (PARSE_AND_LIST_OPTIONS): Update help for --stub-group-size. - -2009-02-24 Sandra Loosemore <sandra@codesourcery.com> - - * ld.texinfo (Options): Correct typos in example. Recommend - using joined forms of syntax for passing options with arguments - from a driver. - (-a): Use consistent syntax for documenting option arguments. - Clean up indexing and markup. - (-A/--architecture): Likewise. - (-f/--auxiliary): Likewise. - (-F/--filter): Likewise. - (-fini): Likewise. - (-G/--gpsize): Likewise. - (-h/-soname):Likewise. - (-init): Likewise. - (-l/--library): Likewise. - (-L/--library-path): Likewise. - (-m): Likewise. - (--defsym): Likewise. - (-I/--dynamic-linker): Likewise. - (-Map): Likewise. - (--oformat): Likewise. - (--retain-symbols-file): Likewise. - (-rpath): Likewise. - (-rpath-link): Likewise. - (--sort-common): Likewise. - (--sort-section): Likewise. - (--split-by-file): Likewise. - (--split-by-reloc): Likewise. - (--sysroot): Likewise. - (--section-start): Likewise. - (-Tbss, -Tdata, -Ttext): Likewise. - (-Ttext-segment): Likewise. - (--version-script): Likewise. - (--wrap): Likewise. - -2009-02-18 Dave Korn <dave.korn.cygwin@gmail.com> - - * ld.texinfo: Update to mention long section name options. - * NEWS: Mention new behaviour and command-line options. - * pe-dll.c (pe_use_coff_long_section_names): New global variable. - (pe_output_file_set_long_section_names): New function. - (pe_dll_build_sections): Call it on output BFDs. - (pe_exe_build_sections): Likewise. - (pe_dll_fill_sections): Likewise. - (pe_exe_fill_sections): Likewise. - * pe-dll.h (pe_use_coff_long_section_names): Declare extern. - (pe_output_file_set_long_section_names): Add prototype. - * pep-dll.c (pe_use_coff_long_section_names): Define pep_ alias. - (pe_output_file_set_long_section_names): Likewise. - * pep-dll.h (pep_use_coff_long_section_names): Declare extern. - (pep_output_file_set_long_section_names): Add prototype. - * pe.em (OPTION_ENABLE_LONG_SECTION_NAMES): New getopt value macro. - (OPTION_DISABLE_LONG_SECTION_NAMES): Likewise. - (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[]. - (gld_${EMULATION_NAME}_list_options): Describe them. - (gld${EMULATION_NAME}_handle_option): Set or clear global - pe_use_coff_long_section_names flag when options recognised. - (gld_${EMULATION_NAME}_after_open): En/disable long section names - for main output bfd by calling pe_output_file_set_long_section_names. - * pep.em (enum options): Extend enum with new getopt option values. - (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[]. - (gld_${EMULATION_NAME}_list_options): Describe them. - (gld${EMULATION_NAME}_handle_option): Set or clear global - pe_use_coff_long_section_names flag when options recognised. - (gld_${EMULATION_NAME}_after_open): En/disable long section names - for main output bfd by calling pep_output_file_set_long_section_names. - -2009-02-16 Dave Korn <dave.korn.cygwin@gmail.com> - - * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Don't emit - inadvertent .reloc sections caused by refactoring accident. - -2009-02-16 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (process_insert_statements): ASSERT that output section - statements are in order. - -2009-02-16 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (push_stat_ptr, pop_stat_ptr): New functions. - (stat_save, stat_save_ptr): New variables. - (lang_insert_orphan): Use push_stat_ptr and pop_stat_ptr. - (load_symbols): Likewise. Delete dead "bad_load" code. - (open_input_bfds): Warn on script containing output sections. - (lang_enter_output_section_statement): Use push_stat_ptr. - (lang_enter_group): Likewise. - (lang_leave_output_section_statement): Use pop_stat_ptr. - (lang_leave_group): Likewise. - * ldlang.h (push_stat_ptr, pop_stat_ptr): Declare. - * ldctor.c (ldctor_build_sets): Use push_stat_ptr and pop_stat_ptr. - * emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Likewise. - * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise. - * emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise. - * emultempl/spuelf.em (spu_place_special_section): Likewise. - * emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): Likewise. - -2009-02-09 Nathan Sidwell <nathan@codesourcery.com> - - Missing piece of 2009-01-26 commit - * ldlang.c (lang_process): Don't consider relocatable flag when - checking for overlap. - -2009-02-05 Joseph Myers <joseph@codesourcery.com> - - * emulparams/m68kelf.sh: Add newline at end of file. - -2009-02-04 Nick Clifton <nickc@redhat.com> - - PR 9805 - * ld.texinfo (--allow-shlib-undefined): Correct description of - default settings and tidy up the rest of the entry. - -2009-02-04 Alan Modra <amodra@bigpond.net.au> - - * emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.* - during relocatable link. - -2009-02-03 Nick Clifton <nickc@redhat.com> - - PR 9797 - * ld.texinfo (Constants): Document the base-encoding suffixes - supported in linker scripts. - -2009-02-03 Alan Modra <amodra@bigpond.net.au> - - * NEWS: Mention --as-needed change. - -2009-02-03 Carlos O'Donell <carlos@codesourcery.com> - - * configure.in: AC_SUBST pdfdir. - * Makefile.am: Add install-pdf, install-pdf-am, - and install-pdf-recursive targets. Define pdf__strip_dir. - * po/Make-in: Add install-pdf target. - * configure: Regenerate. - * Makefile.in: Regenerate. - -2009-01-31 Alan Modra <amodra@bigpond.net.au> - - * ld.texinfo (--as-needed): Update. - -2009-01-29 Andrew Jenner <andrew@codesourcery.com> - - * emultempl/armelf.em: Correct formatting of help text for - --no-enum-size-warning option. - -2009-01-26 Nathan Sidwell <nathan@codesourcery.com> - - * lexsup.c (parse_args): Set check_section_addresses to 1 or 0. - * ld.h (args_type): Make check_section_addresses a char. - * ldmain.c (main): Default check_section_addresses to -1. Check it - for relocatable links. - * ld.texinfo (--check-sections): Update documentation. - -2009-01-26 Kai Tietz <kai.tietz@onevision.com> - - * pe-dll.c (tmp_seq2): New static variable. - (make_singleton_name_imp): New. - (make_import_fixup_entry): Use for v2 the _imp_<name> symbol and - avoid duplicate import table generation for same symbol. - (pe_create_runtime_relocator_reference): Make reference for - 64-bit 8 bytes. - -2009-01-21 Alan Modra <amodra@bigpond.net.au> - - * emultempl/spuelf.em (params): Init new field. - (OPTION_SPU_NON_IA_TEXT): Define. - (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text. - (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT. - -2009-01-16 H.J. Lu <hongjiu.lu@intel.com> - - * lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT. - (ld_options): Add -Ttext-segment. - (parse_args): Handle OPTION_TTEXT_SEGMENT. - - * ld.texinfo: Document -Ttext-segment. - - * NEWS: Mention -Ttext-segment. - - * scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START. - (SHLIB_TEXT_START_ADDR): Likewise. - -2009-01-13 Alan Modra <amodra@bigpond.net.au> - - * emultempl/spu_icache.o_c: Regenerate. - -2009-01-12 Alan Modra <amodra@bigpond.net.au> - - * emultempl/spuelf.em (params): Init new fields. - (num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars. - (spu_place_special_section): Adjust placement for soft-icache. Pad - soft-icache section to a fixed size. Clear addr_tree. - (spu_elf_load_ovl_mgr): Support soft-icache. Map overlay manager - sections a little more intelligently. - (gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs. - (OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS. - (OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define. - (OPTION_SPU_LRLIVE): Define. - (PARSE_AND_LIST_LONGOPTS): Add new soft-icache options. - (PARSE_AND_LIST_OPTIONS): Likewise. - (PARSE_AND_LIST_ARGS_CASES): Handle them. - * emultempl/spu_icache.S: Dummy file. - * emultempl/spu_icache.o_c: Regenerate. - * Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c. - (spu_icache.o_c): Add rule to build. - (CLEANFILES): Zap temp files. - (EXTRA_DIST): Add spu_icache.o_c. - * Makefile.in: Regenerate. - -2009-01-08 Kai Tietz <kai.tietz@onevision.com> - - * pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New. - (gld..._add_options): Add new option - --use-nul-prefixed-import-tables. - (gld..._handle_option): Likewise. - * pep.em: Same as for pe.em. - * ld.texinfo: Add new option documentation for - --use-nul-prefixed-import-tables. - * pe-dll.c (pe_use_nul_prefixed_import_tables): New. - (make_head): Make prefix leading zero prefix element for - idata$4 and idata$5 dependent to new flag. - (make_import_fixup_entry): Remove idata4/5 prefix. - * pe-dll.h (pe_use_nul_prefixed_import_tables): New. - * pep-dll.c (pe_use_nul_prefixed_import_tables): New. - * pep-dll.h (pep_use_nul_prefixed_import_tables): New. - * NEWS: Add new option. - -2009-01-05 Kai Tietz <kai.tietz@onevision.com> - - * emultempl/pe.em: Prefix dollar characters to be outputed in - generated C file. - * emultempl/pep.em: Likewise. - -2009-01-03 Dave Korn <dave.korn.cygwin@gmail.com> - - * NEWS: Mention new feature --exclude-modules-for-implib. - * ld.texinfo: Document new --exclude-modules-for-implib option. - * pe-dll.c (exclude_list_struct): Change type member from int to - new enumeration exclude_type. - (pe_dll_add_excludes): Accept exclude_type instead of int param. - (auto_export): Replace magic constants by exclude_type values and - handle new choice EXCLUDEFORIMPLIB. - (pe_dll_generate_implib): Accept a pointer to the link_info and - iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open - fresh BFDs for any found and link into import lib archive chain. - * pe-dll.h (exclude_type): Add new enumerated type to replace magic - constants previously used for exclude_list_struct type member. - (pe_dll_add_excludes, pe_dll_generate_implib): Update prototypes. - * pep-dll.h (exclude_type, pe_dll_add_excludes, - pe_dll_generate_implib): Likewise to all the above. - * emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB): Define new - getopts long option code for new --exclude-modules-for-implib option. - (gld${EMULATION_NAME}_add_options): Add new entry to xtra_long[]. - (gld_${EMULATION_NAME}_list_options): List usage for it. - (gld${EMULATION_NAME}_handle_option): Use exclude_type enumerated - values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB. - (gld_${EMULATION_NAME}_finish): Pass pointer to link_info when - calling pe_dll_generate_implib. - * emultempl/pep.em (options): Define new enumerated value for getopts - long option code for new --exclude-modules-for-implib option. - (gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options, - gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish): - Again, likewise to all the above. - -2009-01-03 Dave Korn <dave.korn.cygwin@gmail.com> - - * pe-dll.c (autofilter_liblist): Add entry for shared libgcc. - (libnamencmp): New function. - (auto_export): Use it in place of strncmp when filtering libraries. - -For older changes see ChangeLog-2008 +For older changes see ChangeLog-2009 Local Variables: mode: change-log diff --git a/ld/ChangeLog-2009 b/ld/ChangeLog-2009 new file mode 100644 index 0000000..00df796 --- /dev/null +++ b/ld/ChangeLog-2009 @@ -0,0 +1,1643 @@ +2009-12-17 Dave Korn <dave.korn.cygwin@gmail.com> + + * pe-dll.c (generate_reloc): Take account of wrapper options when + testing if a weak symbol is defined or not, and when it is not, + consider whether the default value requires a base reloc anyway. + +2009-12-17 Dave Korn <dave.korn.cygwin@gmail.com> + + * deffilep.y (def_file_free): Add missing shadow parameter renaming. + (def_file_print): Likewise. + (def_stash_module): Likewise. + (def_file_add_import): Likewise. + +2009-12-11 Nick Clifton <nickc@redhat.com> + + * Makefile.in: Regenerate. + * configure: Regenerate. + * deffilep.y: Fix shadowed variable warnings. + * ldlang.c: Likewise. + * ldmain.c: Likewise. + * pe-dll.c: Likewise. + * emultempl/elf32.em: Likewise. + +2009-12-09 Alan Modra <amodra@bigpond.net.au> + + PR ld/11012 + * emulparams/elf64ppc.sh (OTHER_GOT_RELOC_SECTIONS): Move .rela.opd .. + (INITIAL_RELOC_SECTIONS): .. to here. New define. + * scripttempl/elf.sc: Expand INITIAL_RELOC_SECTIONS. + +2009-12-04 Jie Zhang <jie.zhang@analog.com> + + * ld.texinfo: Make it clear that --nmagic disables linking + against shared libraries. + +2009-11-30 Joseph Myers <joseph@codesourcery.com> + + * configure: Regenerate. + +2009-11-30 Alan Modra <amodra@bigpond.net.au> + + PR ld/11006 + * lexsup.c (parse_args): Allow nested --start-group, --end-group. + +2009-11-27 Tristan Gingold <gingold@adacore.com> + + * pe-dll.c (pe_implied_import_dll): Return early if there is no + export entries. + +2009-11-26 Nick Clifton <nickc@redhat.com> + + PR ld/10956 + * ld.h (struct args_type): Rename 'relax' field to + 'disable_target_specific_optimizations' and turn it into a + tri-state variable. + (RELAXATION_DISABLED_BY_DEFAULT): New macro. + (RELAXATION_DISABLED_BY_USER): New macro. + (RELAXATION_ENABLED): New macro. + (DISABLE_RELAXATION): New macro. + (ENABLE_RELAXATION): New macro. + * lexsup (enum option_values): Add OPTION_NO_RELAX. + (struct ld_options): Add --no-relax. + (parse_args): Handle OPTION_NO_RELAX. Use DISABLE_RELAXATION and + ENABLE_RELAXATION macros. + * ldlang.c (lang_relax_sections): Use RELAXATION_ENABLED macro. + (lang_process): Likewise. + * ldmain.c (main): Initialise + disable_target_specific_optimizations field. + (multiple_definition): Use RELAXATION_ENABLED macro. + * ld.texinfo: Document new command line option. + * emultempl/alphaelf.em: Remove --no-relax option. + (before_allocation): Test RELAXATION_DISABLED_BY_USER macro. + Use ENABLE_RELAXATION macro. + * emultempl/avrelf.em: (after_allocation): Test RELAXATION_ENABLED + macro. + * emultempl/cr16elf.em: Remove --no-relax option. + (before_allocation): Test RELAXATION_DISABLED_BY_USER macro. + Use ENABLE_RELAXATION macro. + * emultempl/crxelf.em: Remove --no-relax option. + (before_allocation): Test RELAXATION_DISABLED_BY_USER macro. + Use ENABLE_RELAXATION macro. + * emultempl/mmix-elfnmmo.em: (before_allocation): Use + ENABLE_RELAXATION macro. + * emultempl/needrelax.em: (before_allocation): Use + ENABLE_RELAXATION macro. + * emultempl/ppc32elf.em: (before_allocation): Test + RELAXATION_DISABLED_BY_DEFAULT macro. Use + ENABLE_RELAXATION macro. + * emultempl/sh64elf.em: (before_allocation): Test + RELAXATION_ENABLED macro. Use DISABLE_RELAXATION macro. + * emultempl/xtensaelf.em: Remove --no-relax option. + (before_allocation): Test RELAXATION_ENABLED macro. + Use ENABLE_RELAXATION macro. + +2009-11-25 Kai Tietz <kai.tietz@onevision.com> + + * scripttempl/pe.sc: (.note.GNU-stack): Mark as discardable. + (.gnu.lto_*): Likewise. + * scripttempl/pep.sc: (.note.GNU-stack): Mark as discardable. + (.gnu.lto_*): Likewise. + +2009-11-23 Paul Brook <paul@codesourcery.com> + + * ldexp.c: Copy symbol type for simple assignments. + +2009-11-20 Thomas Schwinge <thomas@codesourcery.com> + + * emulparams/armelf.sh (OTHER_READONLY_SECTIONS) + <__exidx_start, __exidx_end>: Use PROVIDE_HIDDEN. + * emulparams/armelf_linux_eabi.sh (OTHER_READONLY_SECTIONS) + <__exidx_start, __exidx_end>: Likewise. + * emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS) + <.ARM.exidx$$Base, __exidx_start, __exidx_end, .ARM.exidx$$Limit>: + Likewise. + +2009-11-19 Matthias Klose <doko@ubuntu.com> + + PR ld/9863 + * emulparams/armelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE + with __data_start. + +2009-11-19 Ben Elliston <bje@au.ibm.com> + + * ldlex.l: Enable nounput flex option. + +2009-11-15 Kai Tietz <kai.tietz@onevision.com> + + * pe-dll.c (pe_undef_alias_cdecl_match): New function. + (pe_find_cdecl_alias_match): New function. + (pe_process_import_defs): Add matching for import symbols + declared as cdecl for fastcall/stdcall. + * emultempl/pe.em (pe_undef_cdecl_match): Treat fastcall + symbols, too. + (pe_fixup_stdcalls): Likewise. + (gld_XXX_after_open): Redo scanning for imported + fastcall/stdcall symbols as cdecl one. + * emultempl/pep.em (pep_undef_cdecl_match): Treat fastcall + symbols, too. + (pep_fixup_stdcalls): Likewise. + (gld_XXX_after_open): Redo scanning for imported + fastcall/stdcall symbols as cdecl one. + +2009-11-11 Nick Clifton <nickc@redhat.com> + + * po/id.po: Updated Indonesian translation. + +2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com> + + * configure.in: Call ACX_LARGEFILE. Stop calling AC_SYS_LARGEFILE. + * aclocal.m4: Regenerate. + * configure: Regenerate. + +2009-11-10 Nick Clifton <nickc@redhat.com> + + PR ld/10864 + * ld.texinfo (Entry Point): Mention that the default entry symbol + is not 'start' on some targets. + +2009-11-06 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/10912 + * ldmain.c (add_DT_NEEDED_for_dynamic): Default to TRUE. + +2009-11-06 Kai Tietz <kai.tietz@onevision.com> + + * pe.em (DEFAULT_PSEUDO_RELOC_VERSION): New macro. + (gld_XXX_before_parse): Set pseudo-relocation default + version to DEFAULT_PSEUDO_RELOC_VERSION. + (gldXXX_handle_option): Likewise. + + +2009-11-05 Nick Clifton <nickc@redhat.com> + + * lexsup.c: Rename --add-needed to --copy-dt-needed-entries. + * ldlang.h (struct lang_input_statement_struct): Rename add_needed + to add_DT_NEEDED_for_dynamic. Rename as_needed to + add_DT_NEEDED_for_regular. + * ldlang.c: Likewise. + * ldlang.h: Likewise. + * ldlang.c: Use the new variable names. + * ldgram.y: Likewise. + * emultempl/elf32.em: Likewise. + * ld.texinfo: Document the renamed option. Also mention its + affect on the resolution of dynamic symbols. + * NEWS: Mention the changed option name. + +2009-11-04 Kai Tietz <kai.tietz@onevision.com> + + * emulparams/arm_epoc_pe.sh: Remove ENTRY. + * emulparams/arm_wince_pe.sh: Likewise. + * emulparams/i386pe.sh: Likewise. + * emulparams/i386pe_posix.sh: Likewise. + * emulparams/mcorepe.sh: Likewise. + * emulparams/mipspe.sh: Likewise. + * emulparams/ppcpe.sh: Likewise. + * emulparams/armpe.sh: Likewise. + * emulparams/i386pep.sh: Likewise. + * emulparams/shpe.sh: Likewise. + Additionally cleaned up double-defined + variables SUBSYSTEM and INITIAL_SYMBOL_CHAR. + * emultempl/pe.em: Remove use of ENTRY. + (pe_subsystem): New local variable. + (gld_XXX_before_parse): Don't set default + entry point here. + (set_entry_point): New function to set entry + point. + (set_pe_subsystem): Remove code for entry point. + (gld_XXX_after_parse): Use set_entry_point here. + * emultempl/pep.em: Likewise. + +2009-10-29 Nathan Sidwell <nathan@codesourcery.com> + + * emulparams/vxworks.sh (OTHER_READONLY_SECTIONS): Move into ... + (OTHER_READWRITE_SECTIONS): ... here. + +2009-10-28 Kai Tietz <kai.tietz@onevision.com> + + * emultempl/pep.em (U): Define underscore macro. + (init): Use for __ImageBase U macro. + +2009-10-23 Kai Tietz <kai.tietz@onevision.com> + + * deffile.h (def_file_export): New member its_name. + (def_file_import): Likewise. + (def_file_add_export): Add argument its_name. + (def_file_add_import): Likewise. + * deffilep.y (def_exports): Add argument its_name. + (def_import): Likewise. + (EQUAL): Add new token for '=='. + (opt_equalequal_name): New rule. + (expline): Add rule opt_equalequal_name. + (impline): Likewise. + (def_file_free): Free for exports and imports + the optional member its_name. + (def_lex): Add scan of '==' as EQUAL. + * pe-dll.c (pe_export_sort): Sort for its_name too. + (process_def_file_and_drectve): Adjust calls to + def_file_add_export. + (generate_edata): Take its_name in account. + (make_one): Likewise. + (pe_process_import_defs): Likewise. + (pe_dll_generate_def_file): Add print of new '==' option. + * ld.texinfo: Extend documentation about .def file syntax. + * NEWS: Mention new feature. + +2009-10-23 Kai Tietz <kai.tietz@onevision.com> + + * deffilep.y (def_lex): Allow '<' and '>' characters in identifier + strings. + +2009-10-23 Ryan Mansfield <rmansfield@qnx.com> + + PR ld/10489 + * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Handle + drive specifiers for DOS based filesystems in rpath-link strings. + +2009-10-19 Nick Clifton <nickc@redhat.com> + + * Makefile.am: Remove spurious sanitization marker. + * Makefile.in: Regenerate. + +2009-10-16 Dmitry Gorbachev <d.g.gorbachev@gmail.com> + + * emultempl/pe.em (OPTION_EXCLUDE_ALL_SYMBOLS): New macro. + (gld${EMULATION_NAME}_add_options): Add new --exclude-all-symbols option + to exclude all symbols from automatic export. + (gld_${EMULATION_NAME}_list_options): Describe it. + (gld${EMULATION_NAME}_handle_option): Handle it. + * emultempl/pep.em: Likewise to all the above. + * pe-dll.c (pe_dll_exclude_all_symbols): New variable. + (process_def_file_and_drectve): Use it. + * pe-dll.h (pe_dll_exclude_all_symbols): Declare. + * pep-dll.c (pep_dll_exclude_all_symbols): Define pep_ alias. + * pep-dll.h (pe_dll_exclude_all_symbols): Declare. + * NEWS: Mention the new feature. + * ld.texinfo: Document the new command line switch. + +2009-10-14 Andreas Schwab <schwab@linux-m68k.org> + + * ldlex.l (yy_input): Remove second argument and return the value + instead. + (YY_INPUT): Adjust. + +2009-10-14 Alan Modra <amodra@bigpond.net.au> + + * emultempl/netbsd.em (gldnetbsd_before_parse): Typo fix. + +2009-10-14 Ryan Mansfield <rmansfield@qnx.com> + + * ldlang.c (load_symbols): Set whole_archive from entry when + parsing a linker script. + +2009-10-10 Alan Modra <amodra@bigpond.net.au> + + * scripttempl/elf32cr16.sc: Revert 2009-09-28 changes. + * scripttempl/elf32cr16c.sc: Likewise. + * scripttempl/elf32crx.sc: Likewise. + * scripttempl/tic54xcoff.sc: Likewise. + * scripttempl/aix.sc: Likewise. + * scripttempl/avr.sc: Likewise. + * scripttempl/elf32msp430.sc: Likewise. + * scripttempl/elf32msp430_3.sc: Likewise. + * scripttempl/elf32sh-symbian.sc: Likewise. + * scripttempl/elf_chaos.sc: Likewise. + * scripttempl/elfi370.sc: Likewise. + * scripttempl/nw.sc: Likewise. + * scripttempl/psos.sc: Likewise. + * scripttempl/armbpabi.sc: Likewise. + * scripttempl/elf.sc: Likewise. + * scripttempl/elf64hppa.sc: Likewise. + * scripttempl/elfd10v.sc: Likewise. + * scripttempl/elfd30v.sc: Likewise. + * scripttempl/elfm68hc11.sc: Likewise. + * scripttempl/elfm68hc12.sc: Likewise. + * scripttempl/elfmicroblaze.sc: Likewise. + * scripttempl/elfxtensa.sc: Likewise. + * scripttempl/iq2000.sc: Likewise. + * scripttempl/mep.sc: Likewise. + * scripttempl/xstormy16.sc: Likewise. + +2009-10-09 Alan Modra <amodra@bigpond.net.au> + + PR ld/10749 + * ldlang.c (lang_size_sections_1): Zero section vmas only for COFF. + +2009-10-08 Alan Modra <amodra@bigpond.net.au> + + PR ld/10744 + * ldlang.c (lang_new_phdr): Allow FILEHDR/PHDRS on more than the + first PT_LOAD header. + * ld.texinfo: Update. + +2009-10-06 Nathan Sidwell <nathan@codesourcery.com> + + * ldlang.c (lang_new_phdr): Check PHDRS and FILEHDR in loadable + segments do not appear after a different loadable segment. + * ld.texinfo (PHDRS): Document order of processing segments. + Document where PHDRS and FILEHDR may appear. + +2009-10-03 Alan Modra <amodra@bigpond.net.au> + + * emultempl/ppc32elf.em (emit_stub_syms): Init to -1. + (ppc_after_open): Set emit_stubs_syms by default when shared. + (OPTION_NO_STUBSYMS): Define. + (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS, + PARSE_AND_LIST_ARGS_CASES): Handle --no-emit-stub-syms. + * emultempl/ppc64elf.em (emit_stub_syms): Init to -1. + (gld${EMULATION_NAME}_finish): Set emit_stubs_syms by default. + (OPTION_NO_STUBSYMS): Define. + (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS, + PARSE_AND_LIST_ARGS_CASES): Handle --no-emit-stub-syms. + +2009-09-29 Joel Sherrill <joel.sherrill@oarcorp.com> + + * emulparams/m68kelf.sh (NOP): Use 0x4e71 (nop) rather than 0x4e75 + (rts). + +2009-09-29 DJ Delorie <dj@redhat.com> + + * Makefile.am: Add rules to build RX emulation. + * configure.tgt: Likewise. + * NEWS: Mention support for RX architecture. + * Makefile.in: Regenerate. + * emulparams/elf32rx.sh: New file. + * emultempl/rxelf.em: New file. + +2009-09-29 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (lang_size_sections_1): Allow scripts to specify a + non-zero vma even when relocatable. + +2009-09-28 Alan Modra <amodra@bigpond.net.au> + + * scripttempl/elf32cr16.sc: Emit empty script for ld -r and ld -Ur. + * scripttempl/elf32cr16c.sc: Likewise. + * scripttempl/elf32crx.sc: Likewise. + * scripttempl/tic54xcoff.sc: Likewise. + * scripttempl/aix.sc: Delete ${RELOCATING-0}. + * scripttempl/avr.sc: Likewise. + * scripttempl/elf32msp430.sc: Likewise. + * scripttempl/elf32msp430_3.sc: Likewise. + * scripttempl/elf32sh-symbian.sc: Likewise. + * scripttempl/elf_chaos.sc: Likewise. + * scripttempl/elfi370.sc: Likewise. + * scripttempl/nw.sc: Likewise. + * scripttempl/psos.sc: Likewise. + * scripttempl/armbpabi.sc: Delete ${RELOCATING-0} and ${CONSTRUCTING-0}. + * scripttempl/elf.sc: Likewise. + * scripttempl/elf64hppa.sc: Likewise. + * scripttempl/elfd10v.sc: Likewise. + * scripttempl/elfd30v.sc: Likewise. + * scripttempl/elfm68hc11.sc: Likewise. + * scripttempl/elfm68hc12.sc: Likewise. + * scripttempl/elfmicroblaze.sc: Likewise. + * scripttempl/elfxtensa.sc: Likewise. + * scripttempl/iq2000.sc: Likewise. + * scripttempl/mep.sc: Likewise. + * scripttempl/xstormy16.sc: Likewise. + +2009-09-27 Christopher Faylor <me+cygwin@cgf.cx> + + PR ld/10634 + * ldlang.c (lang_size_sections_1): Always force output vma to zero for + relocatable sections. + (lang_size_sections_1): Revert previous COFF-only accommodation for + relocatable sections. + +2009-09-25 Martin Thuresson <martint@google.com> + + Update sources to make arm targets compile cleanly with + -Wc++-compat: + * emultempl/armelf.em: Add casts. + +2009-09-23 Matt Rice <ratmice@gmail.com> + + * emultempl/elf32.em (gld${EMULATION_NAME}_add_options): Add --audit, + --depaudit, and -P options. + (gld${EULATION_NAME}_handle_options): Ditto. + (gld${EULATION_NAME}_list_options): Ditto. + (gld${EMULATION_NAME}_append_to_separated_string): New function for + handling rpath-like colon separated strings. + (gld${EMULATION_NAME}_before_allocation): Pass the audit and depaudit + libs to bfd. Propagate DT_AUDIT from needed libs to depaudit. + * ld.texinfo: Document new options. + +2009-09-23 Nick Clifton <nickc@redhat.com> + + * po/vi.po: Updated Vietnamese translation. + +2009-09-22 Alan Modra <amodra@bigpond.net.au> + + * scripttempl/a29k.sc: Delete. + * scripttempl/ebmon29k.sc: Delete. + * scripttempl/m68klynx.sc: Delete. + * scripttempl/sa29200.sc: Delete. + * scripttempl/sparclynx.sc: Delete. + +2009-09-21 Alan Modra <amodra@bigpond.net.au> + + * emultempl/ppc32elf.em (no_tls_get_addr_opt): New var. + (ppc_before_allocation): Pass to ppc_elf_tls_setup. + (OPTION_NO_TLS_GET_ADDR_OPT): Define. Redefine other options in + terms of previous option. + (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add + --no-tls-get-addr-optimize. + (PARSE_AND_LIST_ARGS_CASES): Handle it. + * emultempl/ppc64elf.em (no_tls_get_addr_opt): New var. + (ppc_before_allocation): Pass to ppc64_elf_tls_setup. + (OPTION_NO_TLS_GET_ADDR_OPT): Define. + (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add + --no-tls-get-addr-optimize. + (PARSE_AND_LIST_ARGS_CASES): Handle it. + +2009-09-18 Nick Clifton <nickc@redhat.com> + + * po/es.po: Updated Spanish translation. + +2009-09-13 Alan Modra <amodra@bigpond.net.au> + + PR ld/6766 + * lexsup.c (parse_args <-e>): Revert 2009-03-18 change. + * ldemul.c (after_parse_default): Add entry symbol as undef. + * emultempl/alphaelf.em (alpha_after_parse): Call after_parse_default. + * emultempl/cr16elf.em (cr16elf_after_parse): Likewise. + * emultempl/crxelf.em (crxelf_after_parse): Likewise. + * emultempl/hppaelf.em (hppaelf_after_parse): Likewise. + * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Likewise. + * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Call + after_parse_default and delete now duplicate code. + * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise. + * scripttempl/elf32cr16.sc: No need to make entry extern. + * scripttempl/elf32cr16c.sc: Likewise. + * scripttempl/elf32crx.sc: Likewise. + * scripttempl/elf32xc16xs.sc: Only provide ENTRY on final link. + +2009-09-11 Nick Clifton <nickc@redhat.com> + + * po/ld.pot: Updated by the Translation project. + * po/fi.po: Updated Finnish translation. + +2009-09-11 Martin Thuresson <martint@google.com> + + Updated sources to compile cleanly with -Wc++-compat: + * ld.h (enum endian_enum,enum symbolic_enum,enum + dynamic_list_enum): Move to top level. + * ldcref.c: Add casts. + * ldctor.c: Add casts. + * ldexp.c + * ldexp.h (enum node_tree_enum,enum phase_enum): Move to top level. + * ldlang.c: Add casts. (lang_insert_orphan): Use enum name instead + of integer. + * ldlang.h (enum statement_enum): Move to top level. + * ldmain.c: Add casts. + * ldwrite.c: Add casts. + * lexsup.c: Add casts. (enum control_enum): Move to top level. + * mri.c: Add casts. (mri_draw_tree): Use enum name instead of + integer. + +2009-09-09 Alan Modra <amodra@bigpond.net.au> + + * scripttempl/aix.sc: Only provide ENTRY on final link. + * scripttempl/alpha.sc: Likewise. + * scripttempl/armcoff.sc: Likewise. + * scripttempl/crisaout.sc: Likewise. + * scripttempl/delta68.sc: Likewise. + * scripttempl/ebmon29k.sc: Likewise. + * scripttempl/elf32xc16x.sc: Likewise. + * scripttempl/elf32xc16xl.sc: Likewise. + * scripttempl/elfmicroblaze.sc: Likewise. + * scripttempl/epocpe.sc: Likewise. + * scripttempl/h8300.sc: Likewise. + * scripttempl/h8300h.sc: Likewise. + * scripttempl/h8300hn.sc: Likewise. + * scripttempl/h8300s.sc: Likewise. + * scripttempl/h8300sn.sc: Likewise. + * scripttempl/h8300sx.sc: Likewise. + * scripttempl/h8300sxn.sc: Likewise. + * scripttempl/hppaelf.sc: Likewise. + * scripttempl/i386beos.sc: Likewise. + * scripttempl/i386coff.sc: Likewise. + * scripttempl/i386go32.sc: Likewise. + * scripttempl/m68kaux.sc: Likewise. + * scripttempl/m68klynx.sc: Likewise. + * scripttempl/m88kbcs.sc: Likewise. + * scripttempl/maxqcoff.sc: Likewise. + * scripttempl/mcorepe.sc: Likewise. + * scripttempl/mips.sc: Likewise. + * scripttempl/ppcpe.sc: Likewise. + * scripttempl/sa29200.sc: Likewise. + * scripttempl/sparccoff.sc: Likewise. + * scripttempl/sparclynx.sc: Likewise. + * scripttempl/tic4xcoff.sc: Likewise. + * scripttempl/tic54xcoff.sc: Likewise. + * scripttempl/tic80coff.sc: Likewise. + * scripttempl/z8000.sc: Likewise. + +2009-09-07 Tristan Gingold <gingold@adacore.com> + + * po/ld.pot: Regenerate. + +2009-09-05 Martin Thuresson <martin@mtme.org> + + * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols, + gld${EMULATION_NAME}_try_needed): Rename variable class to + link_class. + +2009-09-04 Tristan Gingold <gingold@adacore.com> + + * NEWS: Add marker for 2.20. + +2009-09-04 Alan Modra <amodra@bigpond.net.au> + + * scripttempl/elf.sc (.text): Add cold text sections. + +2009-09-04 Jie Zhang <jie.zhang@analog.com> + + * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Add .l2.text + and .l2.data. + +2009-09-03 Dave Korn <dave.korn.cygwin@gmail.com> + + * scripttempl/pe.sc (.text): Add "*(.text.*)" in order to catch + new GCC hot/cold/unlikely partitions. + * scripttempl/pep.sc: Likewise. + * scripttempl/epocpe.sc: Likewise. + * scripttempl/mcorepe.sc: Likewise. + * scripttempl/ppcpe.sc: Likewise. + +2009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * Makefile.am (ldgram.o, ldlex.o, deffilep.o): Supply correct + source file name for generated files which may be in $(srcdir). + * Makefile.in: Regenerate. + +2009-09-01 H.J. Lu <hongjiu.lu@intel.com> + + * ldver.c (ldversion): Change to "Copyright 2009". + +2009-09-01 Jie Zhang <jie.zhang@analog.com> + + * scripttempl/elf.sc: Add ${USER_LABEL_PREFIX} to _start, etext, + _stack and __bss_start. + * emulparams/bfin.sh (ENTRY): Remove. + +2009-08-30 Alan Modra <amodra@bigpond.net.au> + + PR ld/10569 + * ldexp.c (fold_name <MAXPAGESIZE>): Return config.maxpagesize. + (fold_name <COMMONPAGESIZE>): Similarly. + * ldlang.c (output_target): Make global. + * ldlang.h (output_target): Declare. + * ldmain.c (main): Set config.maxpagesize from bfd_emul_get_maxpagesize. + Similarly for config.commonpagesize. + * ldemul.c (set_output_arch_default): Call bfd_emul_set_maxpagesize + and bfd_emul_set_commonpagesize. + * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Don't call + bfd_emul_set_maxpagesize or bfd_emul_set_commonpagesize here. + +2009-08-29 Martin Thuresson <martin@mtme.org> + + * ldexp.c (exp_intop, exp_bigintop, exp_relop, exp_binop) + (exp_trinop, exp_unop, exp_nameop, exp_assop): Rename variable new + to new_e. + * ldfile.c (ldfile_add_library_path): Rename variable new to + new_dirs. (ldfile_add_arch): Rename variable new to new_arch. + * ldlang.c (new_statement, lang_final, lang_add_wild) + (lang_target, lang_add_fill, lang_add_data, lang_add_assignment) + (lang_add_insert): Rename variable new to new_stmt. (new_afile): + Added missing cast. (lang_memory_region_lookup): Rename variable + new to new_region. (init_os): Rename variable new to + new_userdata. (lang_add_section): Rename variable new to + new_section. (ldlang_add_undef): Rename variable new to + new_undef. (realsymbol): Rename variable new to new_name. + +2009-08-26 Nick Clifton <nickc@redhat.com> + + PR ld/10555 + * emultempl/elf32.em (_after_open): Do not create a + .note.gnu-build-id section if there are no input files. + +2009-08-24 Nick Clifton <nickc@redhat.com> + + * scripttempl/elfxtensa.sc (DISCARDED): Discard sections with + .gnu.lto_ prefix. + * scripttempl/armbpabi.sc: Likewise. + * scripttempl/elf32sh-symbian.sc: Likewise. + * scripttempl/elf64hppa.sc: Likewise. + * scripttempl/mep.sc: Likewise. + +2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * Makefile.am (ldmain.o, ldfile.o): Fix typos in non-fastdep + rules. + (eelf32_spu.o): Add dependency tracking. + * Makefile.in: Regenerate. + + * Makefile.am (am__skiplex, am__skipyacc): New. + * Makefile.in: Regenerate. + +2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * Makefile.am (bin_PROGRAMS): Renamed from ... + (noinst_PROGRAMS): ... this. + (transform): Override, including the renaming of ld-new to ld. + (install-exec-local): Installation of ld in $(bindir) not needed + here any more. + (AM_CPPFLAGS): Renamed from ... + (INCLUDES): ... this. + (MAINTAINERCLEANFILES): Add ld.1. + * Makefile.in: Regenerate. + + * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus. Add + no-texinfo.tex, no-dist, foreign. + (TEXINFO_TEX): New variable. + (install-data-local): Removed, not needed any more. + (all): Dependencies upon info and ld.1 not needed any more. + (MKDEP, DEP, DEP1, dep.sed, dep, dep-in, dep-am): Removed. + (mkdep generated section): Removed. + (ldgram.o, ldlex.o, deffilep.o, ldmain.o, ldfile.o): Rewrite to + use automake dependency tracking mechanism. + (EXTRA_ld_new_SOURCES): Add pep-dll.c, pe-dll.c, and + $(ALL_EMULATIONS:.o=.c) $(ALL_64_EMULATIONS:.o=.c) so their + dependencies are tracked too. + (BUILT_SOURCES): New, list $(GENERATED_HFILES) to ensure they + are built early. + * configure.in: Use AM_MAINTAINER_MODE. + * aclocal.m4, configure, Makefile.in: Regenerate. + + * Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am) + (install-pdf-recursive, html__strip_dir, install-html) + (install-html-am, install-html-recursive): Remove. + * Makefile.in: Regenerate. + + * Makefile.in: Regenerate. + * aclocal.m4: Likewise. + * config.in: Likewise. + * configure: Likewise. + +2009-08-21 Richard Guenther <rguenther@suse.de> + + * scripttempl/elf.sc: Discard sections with .gnu.lto_ prefix. + +2009-08-12 Tristan Gingold <gingold@adacore.com> + + * ld.h (fat_user_section_struct): Add map_symbol_def_count field. + * ldlang.c (hash_entry_addr_cmp): New function. + (print_all_symbols): Sort the symbols by address before printing them. + +2009-08-10 Alan Modra <amodra@bigpond.net.au> + + PR 10474 + * ldemul.c (after_allocation_default): Run lang_relax_sections. + * ldlang.h (lang_relax_sections): Declare. + * ldlang.c (relax_sections): Delete. + (lang_relax_sections): New function. + (lang_process): Don't relax directly from here. + * emultempl/alphaelf.em (alpha_finish): Call finish_default. + * emultempl/armelf.em (arm_elf_after_allocation): Delete. Move body.. + (gld${EMULATION_NAME}_finish): ..to here. Move existing code.. + (gld${EMULATION_NAME}_after_allocation): ..to here. New function. + (LDEMUL_AFTER_ALLOCATION): Update. + * emultempl/avrelf.em (avr_elf_finish, LDEMUL_FINISH): Delete. + (avr_elf_after_allocation): New function. + (LDEMUL_AFTER_ALLOCATION): Define. + * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Call + lang_relax_sections. + * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Delete. Move.. + (gld${EMULATION_NAME}_after_allocation): ..code to here. New function. + (LDEMUL_AFTER_ALLOCATION, LDEMUL_FINISH): Update. + * emultempl/genelf.em (gld${EMULATION_NAME}_finish): Delete. Move.. + (gld${EMULATION_NAME}_after_allocation): ..code to here. New function. + (LDEMUL_FINISH): Delete. + (LDEMUL_AFTER_ALLOCATION): Define. + * emultempl/hppaelf.em (gld${EMULATION_NAME}_finish): Delete. Move.. + (gld${EMULATION_NAME}_after_allocation): ..to here. New function. + (LDEMUL_FINISH): Delete. + (LDEMUL_AFTER_ALLOCATION): Define. + * emultempl/m68hc1xelf.em (m68hc11elf_finish): Delete. Move.. + (m68hc11elf_after_allocation): ..to here. New function. + (LDEMUL_FINISH): Delete. + (LDEMUL_AFTER_ALLOCATION): Define. + * emultempl/m68kelf.em (m68k_elf_after_allocation): Call + gld${EMULATION_NAME}_after_allocation. + * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Call + gld${EMULATION_NAME}_after_allocation. + * emultempl/mmo.em (mmo_finish): Delete. Move body.. + (gld${EMULATION_NAME}_after_allocation): ..to here. New function. + (LDEMUL_FINISH): Define. + * emultempl/ppc64elf.em (ppc_layout_sections_again): Set elf_gp. + (gld${EMULATION_NAME}_finish): Move code sizing sections.. + (gld${EMULATION_NAME}_after_allocation): ..to here. + * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation): + Call gld${EMULATION_NAME}_after_allocation. + * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Delete + bfd_elf_discard_info and map_segments call. + +2009-08-06 Michael Eager <eager@eagercon.com> + + * Makefile.am: Add eelf32mb_linux.o, eelf32microblaze.o to + ALL_EMULATIONS, targets. + * Makefile.in: Regenerate. + * configure.tgt: Add microblaze*-linux*, microblaze* targets. + * emulparams/elf32mb_linux.sh: New. + * emulparams/elf32microblaze.sh. New. + * scripttempl/elfmicroblaze.sc: New. + +2009-08-05 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com> + + * emulparams/elf32_spu.sh (OTHER_READONLY_SECTIONS): Add .fixup + section and __fixup_start symbol. + * emultempl/spuelf.em (params): Initialize emit_fixups member. + (spu_before_allocation): Call spu_elf_size_sections. + (OPTION_SPU_EMIT_FIXUPS): Define. + (PARSE_AND_LIST_LONGOPTS): Add --emit-fixups. + (PARSE_AND_LIST_ARGS_CASES): Handle --emit-fixups. + * ld.texinfo (--emit-fixups): Document. + +2009-08-04 Alan Modra <amodra@bigpond.net.au> + + PR 10474 + * emultempl/ppc32elf.em (ppc_before_allocation): Test rawsize, + not size, after lang_reset_memory_regions. + +2009-07-30 Alan Modra <amodra@bigpond.net.au> + + * emulparams/elf32ppc.sh (PLT): Don't include ".iplt". + * emulparams/elf_i386.sh (IREL_IN_PLT): Define. + * emulparams/elf_x86_64.sh (IREL_IN_PLT): Define. + * scripttempl/elf.sc: Create separate .iplt and .rela.iplt sections + when !IREL_IN_PLT. + +2009-07-29 Hans-Peter Nilsson <hp@bitrange.com> + + * scripttempl/mmo.sc: For relocateable links, set $OUTPUT_FORMAT to + the new $RELOCATEABLE_OUTPUT_FORMAT, if set. + (OUTPUT_FORMAT): Use the variable $OUTPUT_FORMAT. + (ENTRY): Don't emit for relocateable links. + (/DISCARD/): Don't discard .gnu.warning.* for relocateable links. + * emulparams/mmo.sh (RELOCATEABLE_OUTPUT_FORMAT): Set, to + elf64-mmix. + * emulparams/elf64mmix.sh (OTHER_TEXT_SECTIONS): Empty, don't + provide "Main" or set "_start.", for relocateable links. + +2009-07-27 Nick Clifton <nickc@redhat.com> + + * (po/fi.po): Updated Finnish translation. + +2009-07-25 H.J. Lu <hongjiu.lu@intel.com> + + * configure.tgt (targ64_extra_emuls): Add elf_l1om if elf_x86_64 + is supported. Add elf_l1om_fbsd if elf_x86_64_fbsd is supported. + (targ_extra_emuls): Likewise. + + * Makefile.am (ALL_64_EMULATIONS): Add eelf_l1om.o and + eelf_l1om_fbsd.o + (eelf_l1om.c): New. + (eelf_l1om_fbsd.c): Likewise. + * Makefile.in: Regenerated. + + * emulparams/elf_l1om.sh: New. + * emulparams/elf_l1om_fbsd.sh: Likewise. + +2009-07-23 Ulrich Drepper <drepper@redhat.com> + + * NEWS: Mention the linker's support for symbols with a binding of + STB_GNU_UNIQUE. + +2009-07-22 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/10429 + * ldlang.c (insert_os_after): Tie assignments to non-alloc + output sections if there is no-input section. + +2009-07-11 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (insert_os_after): Don't tie assignments to non-alloc + output sections. + +2009-07-10 Alan Modra <amodra@bigpond.net.au> + + * emultempl/ppc32elf.em (ppc_before_allocation): Turn on + linker relaxation if it might be necessary. + +2009-07-10 Alan Modra <amodra@bigpond.net.au> + + * emulparams/elf32ppc.sh (GOTPLT, PLT): Handle .iplt. + +2009-07-06 Matthias Klose <doko@ubuntu.com> + + * ld.texinfo: Fix typo. + +2009-07-03 Tristan Gingold <gingold@adacore.com> + + * scripttempl/pep.sc: Put .eh_frame in its own section. + * scripttempl/pe.sc: Ditto. + +2009-06-26 Kai Tietz <kai.tietz@onevision.com> + + * scripttempl/pe.sc (.debug_pubtypes): Added section rule. + * scripttempl/pep.sc: Likewise. + +2009-06-25 Tristan Gingold <gingold@adacore.com> + + * ldlang.c (print_input_section): Add is_discarded parameter. Adjust + prototype. + (lang_map): Print the size of discarded sections. + (print_statement): Adjust call to print_input_section. + +2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com> + + Merge cegcc and mingw32ce target name changes from CeGCC project: + + 2008-09-24 Pedro Alves <pedroalves@users.sourceforge.net> + + * configure.tgt (arm*-*-cegcc*): Set LIB_PATH to + ${tooldir}/lib/w32api. + + 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt> + + * configure.tgt: Add arm*-*-cegcc* target. + + 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt> + + * configure.tgt: Add arm-*-mingw32ce* target. + +2009-06-10 Philip Blundell <philb@gnu.org> + + * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Avoid crash + if section has no ELF data. + +2009-06-06 H.J. Lu <hongjiu.lu@intel.com> + + * scripttempl/elf.sc: Add .rel.ifunc and .rela.ifunc. + +2009-06-05 H.J. Lu <hongjiu.lu@intel.com> + + * scripttempl/elf.sc: Remove .rel.ifunc.dyn and .rela.ifunc.dyn. + +2009-06-04 Alan Modra <amodra@bigpond.net.au> + + * dep-in.sed: Don't use \n in replacement part of s command. + * Makefile.am (DEP1): LC_ALL for uniq. + * Makefile.in: Regenerate. + +2009-06-01 H.J. Lu <hongjiu.lu@intel.com> + + * scripttempl/elf.sc (PLT): Add "*(.iplt)". + (GOT): Add "*(.igot.plt)a" and "*(.igot)". + (GOTPLT): Add "*(.igot)". + (__rel_iplt_start): New. + (__rel_iplt_end): Likewise. + (__rela_iplt_start): Likewise. + (__rela_iplt_end): Likewise. + +2009-05-27 Dave Korn <dave.korn.cygwin@gmail.com> + + * deffilep.y (%union): Add new string-type semantic value 'digits'. + (%token): Remove NUMBER as token, add DIGITS. + (%type): Add NUMBER as type. Add new id types anylang_id, opt_id. + (ALIGNCOMM): Parse an anylang_id instead of a plain ID. + (anylang_id): New production. + (opt_digits): Likewise. + (opt_id): Likewise. + (NUMBER): Likewise. + (def_lex): Return strings of digits in raw string form as DIGITS + token, instead of converting to numeric integer type. + +2009-05-26 Nathan Sidwell <nathan@codesourcery.com> + + * ldmain.c (main): Don't reject --relax -r. + * ld.texinfo (PowerPC ELF32): Document behaviour of relaxing + partial links. + +2009-05-26 Nick Clifton <nickc@redhat.com> + + * po/id.po: Updated Indonesian translation. + * po/ld.pot: Updated template file. + +2009-05-26 Alan Modra <amodra@bigpond.net.au> + + * dep-in.sed: Output one filename per line with all lines having + continuation backslash. Prefix first line with "A", following + lines with "B". + * Makefile.am (DEP): Don't use dep.sed here. + (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies, + sort and uniq. + * Makefile.in: Regenerate. + +2009-05-26 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (lang_check_section_addresses): Ignore non-alloc sections. + +2009-05-22 Julian Brown <julian@codesourcery.com> + + * emultempl/armelf.em (fix_cortex_a8): New. + (arm_elf_before_allocation): Call bfd_elf32_arm_set_cortex_a8_fix. + (arm_elf_create_output_section_statements): Add fix_cortex_a8 to + bfd_elf32_arm_set_target_relocs. + (OPTION_FIX_CORTEX_A8, OPTION_NO_FIX_CORTEX_A8): New. + (PARSE_AND_LIST_LONGOPTS): Add [no-]fix-cortex-a8 options. + (PARSE_AND_LIST_OPTIONS): Add [no-]fix-cortex-a8 options. + (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_[NO_]FIX_CORTEX_A8. + * ld.texinfo (--[no-]fix-cortex-a8): Briefly document new options. + +2009-05-22 Nathan Sidwell <nathan@codesourcery.com> + + * ldlang.c (lang_check_section_addresses): Ignore non-loadable + sections when checking for overlap. Clarify error message + concerns load address. + +2009-05-22 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2009-05-19 Dave Korn <dave.korn.cygwin@gmail.com> + + * NEWS: Mention new feature. + * deffile.h (def_file_aligncomm): Add new struct definition. + (def_file): Add new def_file_aligncomm member. + * deffilep.y (%token): Add new ALIGNCOMM token. + (command): Add production rule for ALIGNCOMM. + (def_file_free): Free any chained def_file_aligncomm structs. + (diropts[]): Add entry for '-aligncomm' .drectve command. + (def_aligncomm): New grammar function. + * ld.texinfo: Document new feature. + * pe-dll.c (process_def_file): Rename from this ... + (process_def_file_and_drectve): ... to this, updating all callers, + and process any aligncomms chained to the def file after scanning + all .drectve sections. + (generate_edata): Updated to match. + (pe_dll_build_sections): Likewise. + +2009-05-17 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> + + * pe-dll.c (process_def_file): Do not create empty export table. + +2009-05-15 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (lang_output_section_statement_lookup): Add function + comment. Make "name" non-const. Ensure duplicate entries use + the same string, allowing simple comparison in hash bucket loop. + Tweak constraint check. + (next_matching_output_section_statement): New function. + * ldlang.h (lang_output_section_statement_lookup): Update. + (next_matching_output_section_statement): Declare. + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't + combine orphan sections when input sections flags differ in + alloc or load. + * emultempl/pe.em: Formatting throughout. + (gld${EMULATION_NAME}_place_orphan): As for elf32.em. + * emultempl/pep.em: Formatting throughout. + (gld${EMULATION_NAME}_place_orphan): As for elf32.em. + +2009-05-14 Ulrich Weigand <uweigand@de.ibm.com> + + * emultempl/spuelf.em (PARSE_AND_LIST_ARGS_CASES): Always use + compact stubs with software i-cache. + +2009-05-14 Alan Modra <amodra@bigpond.net.au> + + * emultempl/spuelf.em (spu_before_allocation): Call + spu_elf_place_overlay_data. + +2009-05-14 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (lang_insert_orphan): Add __start_<section> symbol + assignment inside output section statement. Ensure only one + set of symbols per output section. + * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add non- + dollar sections before dollar sections. Correct add_child + list insertion. + * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise. + +2009-05-05 Paul Brook <paul@codesourcery.com> + + * emultempl/armelf.em (compare_output_sec_vma): New function. + (gld${EMULATION_NAME}_finish): Add exidx munging code. + +2009-05-05 Anatoly Sokolov <aesok@post.ru> + + * scripttempl/avr.sc (MEMORY): Use DATA_ORIGIN. + * emulparams/avr1.sh (DATA_ORIGIN): Add. + * emulparams/avr2.sh (DATA_ORIGIN): Add. + * emulparams/avr25.sh (DATA_ORIGIN): Add. + * emulparams/avr3.sh (DATA_ORIGIN): Add. + * emulparams/avr31.sh (DATA_ORIGIN): Add. + * emulparams/avr35.sh (DATA_ORIGIN): Add. + * emulparams/avr4.sh (DATA_ORIGIN): Add. + * emulparams/avr5.sh (DATA_ORIGIN): Add. + * emulparams/avr51.sh (DATA_ORIGIN): Add. + (DATA_LENGTH): Update. + * emulparams/avr6.sh (DATA_ORIGIN): Add. + (DATA_LENGTH): Update. + +2009-05-04 Dave Korn <dave.korn.cygwin@gmail.com> + + * NEWS: Mention new feature. + * ld.texinfo (--version-script): Document extent of PE support. + (WIN32): Mention --version-script. Extend auto-export description. + * pe-dll.c (process_def_file): Use version script info to filter + symbols from auto-export. + * testsuite/ld-pe/vers-script-1.d: New file. + * testsuite/ld-pe/vers-script-2.d: New file. + * testsuite/ld-pe/vers-script-3.d: New file. + * testsuite/ld-pe/vers-script-4.d: New file. + * testsuite/ld-pe/vers-script-1.ver: New file. + * testsuite/ld-pe/vers-script-2.ver: New file. + * testsuite/ld-pe/vers-script-3.ver: New file. + * testsuite/ld-pe/vers-script-4.ver: New file. + * testsuite/ld-pe/vers-script-dll.c: New file. + * testsuite/ld-pe/vers-script.exp: New test script. + +2009-05-01 Nathan Sidwell <nathan@codesourcery.com> + + * emulparams/vxworks.sh (TEXT_START_ADDR): Override. + +2009-04-30 Nick Clifton <nickc@redhat.com> + + * NEWS: Mention support for IFUNC symbols. + +2009-04-29 Anthony Green <green@moxielogic.com> + + * emulparams/elf32moxie.sh (STACK_ADDR): Move default stack + position out to accommodate larger programs. + +2009-04-29 Chris Demetriou <cgd@google.com> + + * lexsup.c (option_values): Add OPTION_NO_EXPORT_DYNAMIC. + (ld_options): Likewise. + (parse_args): Likewise. + * ld.texinfo: Document --no-export-dynamic. + * NEWS: Mention --no-export-dynamic. + +2009-04-29 Alan Modra <amodra@bigpond.net.au> + + * deffilep.y (STACKSIZE_K): Rename from STACKSIZE. + +2009-04-25 Alan Modra <amodra@bigpond.net.au> + + PR 10061 + * genscripts.sh: Don't pass $EMULATION_NAME as $CUSTOMIZER_SCRIPT + param. + +2009-04-21 Daniel Jacobowitz <dan@codesourcery.com> + + * emultempl/armelf.em (bfd_for_interwork, arm_elf_after_open) + (arm_elf_set_bfd_for_interworking): Delete. + (arm_elf_before_allocation): Do not set the interworking BFD. + Move allocation inside not-dynamic block. + (arm_elf_create_output_section_statements): Create glue sections + and set the interworking BFD here. + (LDEMUL_AFTER_OPEN): Delete. + +2009-04-16 Richard Sandiford <r.sandiford@uk.ibm.com> + + * ldlang.c (lang_one_common): Use bfd_define_common_symbol. + +2009-04-15 Anthony Green <green@moxielogic.com> + + * configure.tgt: Add moxie support. + * Makefile.am: Add moxie files. + * Makefile.in: Rebuilt. + * emulparams/elf32moxie.sh: New file. + * scripttempl/moxie.sc: New file. + +2009-04-15 Kazu Hirata <kazu@codesourcery.com> + + * ldlang.c: Do not include limits.h. + +2009-04-14 Alan Modra <amodra@bigpond.net.au> + + PR ld/10047 + * ldfile.c (find_scripts_dir): Use make_relative_prefix to find + ldscripts in build tree. Don't repeat search for ../lib/ldscripts. + +2009-04-13 H.J. Lu <hongjiu.lu@intel.com> + + * ldfile.c (ldfile_find_command_file): Revert the last change. + +2009-04-11 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/10047 + * ldfile.c (ldfile_find_command_file): First try raw name. + +2009-04-09 Nick Clifton <nickc@redhat.com> + + PR 9824 + * ld.texinfo (Output Section Constraint): New node. Documents the + ONLY_IF_RO and ONLY_IF_RW constraints. + (Symbolic Constants): New node. Documents the CONSTANT operator. + +2009-04-09 Thilo Fischer <thilo.fischer@uni-muenster.de> + + * emultempl/spuelf.em (embedded_spu_file): Use pex_one in place + of fork/execvp. + +2009-04-08 H.J. Lu <hongjiu.lu@intel.com> + + * lexsup.c (option_values): Add OPTION_WARN_ALTERNATE_EM. + (ld_options): Likewise. + (parse_args): Likewise. + + * ld.texinfo: Document --warn-alternate-em. + + * NEWS: Mention --warn-alternate-em. + +2009-04-07 DJ Delorie <dj@redhat.com> + + * emulparams/elf32mep.sh: Change default endian to little. + +2009-04-07 Nick Clifton <nickc@redhat.com> + + * ld.texinfo (Output Section Address): Note that specifying an + address for an output section will only change the location + counter if the output section is used. + +2009-04-06 Kazu Hirata <kazu@codesourcery.com> + + * ldfile.c (ldfile_find_command_file): Initialize result. + +2009-04-06 Kazu Hirata <kazu@codesourcery.com> + + * ld.texinfo (-L): Mention that -L options do not affect how ld + searches for a linker script unless -T option is specified. + * ldfile.c (ldfile_find_command_file): Append the path obtained + from the program name to the search path instead of + prepending. Add a new parameter "default_only". Restrict the + search to the default script location if the new parameter is + true. + (ldfile_open_command_file_1): New. + (ldfile_open_command_file): Call ldfile_open_command_file_1. + (ldfile_open_default_command_file): New. + +2009-04-03 Nathan Sidwell <nathan@codesourcery.com> + + * ldlang.c (lang_leave_output_section_statement): Set lma_region + if it is not overridden and section is for the same vma region as + the previous section. + +2009-04-02 Dave Korn <dave.korn.cygwin@gmail.com> + + PR ld/6744 + * ld.texinfo (--export-dynamic): Mention --export-all-symbols. + * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Issue + warning if --export-dynamic was passed on command-line. + * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise. + +2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com> + + * emultempl/aix.em (gld${EMULATION_NAME}_open_dynamic_archive): New + function. + (ld_${EMULATION_NAME}_emulation): Use it. + +2009-03-20 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/9970 + * ldlang.c (lang_end): Warn missing entry symbol for -pie. + +2009-03-19 Alan Modra <amodra@bigpond.net.au> + + * emultempl/spuelf.em (spu_before_allocation): Report errors from + spu_elf_find_overlays. + +2009-03-18 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/6766 + * lexsup.c (parse_args): Call ldlang_add_undef for -e. + +2009-03-18 Alan Modra <amodra@bigpond.net.au> + + * ld.h: Remove alloca handling. + +2009-03-17 Alan Modra <amodra@bigpond.net.au> + + * emultempl/spu_icache.S: Add new entry to dummy handler. + * emultempl/spu_icache.o_c: Regenerate. + * emultempl/spuelf.em (params): Init new field. + (no_overlays): New static var. + (spu_before_allocation): Use it. + (OPTION_SPU_COMPACT_STUBS): Define. + (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add compact-stubs. + (PARSE_AND_LIST_ARGS_CASES): Handle compact-stubs. Adjust no-overlays + handling. + +2009-03-17 Alan Modra <amodra@bigpond.net.au> + + * configure.host (HOSTING_LIBS): Two dollars on shell variable + expansion to suit make. + +2009-03-17 Alan Modra <amodra@bigpond.net.au> + + * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL. + * Makefile.am (check-DEJAGNU): Set DO_COMPARE. + * aclocal.m4: Regenerate. + * configure: Regenerate. + * Makefile.in: Regenerate. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * emultempl/aix.em (auto_export_flags): New variable. + (explicit_auto_export_flags): Likewise. + (OPTION_EXPALL, OPTION_EXPFULL): New enum values. + (OPTION_NOEXPALL, OPTION_NOEXPFULL): Likewise. + (gld${EMULATION_NAME}_add_options): Add -bexpall, -bexpfull, + -bnoexpall and -bnoexpfull. + (gld${EMULATION_NAME}_handle_option): Handle them. + (gld${EMULATION_NAME}_before_allocation): Update the call to + bfd_size_dynamic_sections. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * emultempl/aix.em (gld${EMULATION_NAME}_handle_option): Make + -berok and -bernotok control link_info.unresolved_syms_in_objects + and link_info.unresolved_syms_in_shared_libs instead of + force_make_executable. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set + config.dynamic_link to TRUE. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Mark + .text, .data and .bss output sections as SEC_KEEP. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * configure.tgt: Extend AIX 5 behavior to AIX 6 and above. + +2009-03-14 Dave Korn <dave.korn.cygwin@gmail.com> + Danny Smith <dannysmith@users.sourceforge.net> + + * emultmpl/pe.em (pe_dll_characteristics): New variable. + (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT, + OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND, + OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE): + New macros for options to set DllCharacteristics flag bits. + (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg, + nxcompat, no-isolation, no-seh, no-bind, wdmdriver, tsaware options. + (init): Add DllCharacteristics field. + (gld_${EMULATION_NAME}_list_options): List new options. + (gld${EMULATION_NAME}_handle_option): Handle new options. + * emultmpl/pep.em (pe_dll_characteristics): New variable. + (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT, + OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND, + OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE): + New macros for options to set DllCharacteristics flags. + (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg, + nxcompat,no-isolation, no-seh, no-bind, wdmdriver, tsaware options. + (init): Add DllCharacteristics field. + (gld_${EMULATION_NAME}_list_options): List new options. + (gld${EMULATION_NAME}_handle_option): Handle new options. + * ldtexinfo : Document dynamicbase, forceinteg, nxcompat, + no-isolation, no-seh, no-bind, wdmdriver, tsaware options. + +2009-03-06 Nick Clifton <nickc@redhat.com> + + * po/es.po: Updated Spanish translation. + +2009-03-03 Dave Korn <dave.korn.cygwin@gmail.com> + + * emultempl/pe.em (debug_section_p): New bfd_map_over_sections hook. + (gld_${EMULATION_NAME}_after_open): Use it to iterate all sections + of all input BFDs, looking for debug info. Enable long section names + if any found. + * emultempl/pe.em (debug_section_p): Likewise. + (gld_${EMULATION_NAME}_after_open): Likewise. + * NEWS: Retrospectively adjust news announcement. + * ld.texinfo: Update documentation to mention new behaviour. + +2009-03-03 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2009-03-02 Sebastian Huber <sebastian.huber@embedded-brains.de> + + * ldgram.y: Add support for REGION_ALIAS operator. + * ldlang.c: Likewise. + * ldlang.h: Likewise. + * ldlex.l: Likewise. + * NEWS: Mention the new feature. + * ld.texinfo: Document the new feature. + +2009-03-02 Qinwei <qinwei@sunnorth.com.cn> + + * Makefile.am: Replace score elf emulation with score3 and score7 + emulations. + * Makefile.in: Regenerate, + * NEWS: Mention support for Score7 architecture. + * configure.tgt: Add score7 emulation to score-elf target. + * emulparams/scoreelf.sh: Add score7 support. + * emultempl/scoreelf.em: Likewise. + +2009-03-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * configure.tgt: Only use elf64hppa target emulation for hpux. + * emulparams/elf64hppa.sh: Don't include hppa64linux.sh. + (SCRIPT_NAME): Use new script elf64hppa. + (SCRIPT_NAME, ELFSIZE, NO_REL_RELOCS, ARCH, MACHINE, ENTRY, + TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT, OTHER_READONLY_SECTIONS, + OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS, OTHER_GOT_RELOC_SECTIONS, + DATA_START_SYMBOLS, OTHER_SYMBOLS, DATA_PLT, PLT_BEFORE_GOT, + TEXT_DYNAMIC): Define. + * emulparams/hppa64linux.sh: Adjust comments. + * scripttempl/elf64hppa.sc: New file. + +2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * configure: Regenerate. + +2009-02-27 Dave Korn <dave.korn.cygwin@gmail.com> + + * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set + default state of auto-import flag based on $target. + +2009-02-24 Joseph Myers <joseph@codesourcery.com> + + * ld.texinfo (ARM): Document changed meaning of --stub-group-size. + * emultempl/armelf.em (hook_in_stub): Insert after the input section. + (elf32_arm_add_stub_section): Update comment. + (PARSE_AND_LIST_OPTIONS): Update help for --stub-group-size. + +2009-02-24 Sandra Loosemore <sandra@codesourcery.com> + + * ld.texinfo (Options): Correct typos in example. Recommend + using joined forms of syntax for passing options with arguments + from a driver. + (-a): Use consistent syntax for documenting option arguments. + Clean up indexing and markup. + (-A/--architecture): Likewise. + (-f/--auxiliary): Likewise. + (-F/--filter): Likewise. + (-fini): Likewise. + (-G/--gpsize): Likewise. + (-h/-soname):Likewise. + (-init): Likewise. + (-l/--library): Likewise. + (-L/--library-path): Likewise. + (-m): Likewise. + (--defsym): Likewise. + (-I/--dynamic-linker): Likewise. + (-Map): Likewise. + (--oformat): Likewise. + (--retain-symbols-file): Likewise. + (-rpath): Likewise. + (-rpath-link): Likewise. + (--sort-common): Likewise. + (--sort-section): Likewise. + (--split-by-file): Likewise. + (--split-by-reloc): Likewise. + (--sysroot): Likewise. + (--section-start): Likewise. + (-Tbss, -Tdata, -Ttext): Likewise. + (-Ttext-segment): Likewise. + (--version-script): Likewise. + (--wrap): Likewise. + +2009-02-18 Dave Korn <dave.korn.cygwin@gmail.com> + + * ld.texinfo: Update to mention long section name options. + * NEWS: Mention new behaviour and command-line options. + * pe-dll.c (pe_use_coff_long_section_names): New global variable. + (pe_output_file_set_long_section_names): New function. + (pe_dll_build_sections): Call it on output BFDs. + (pe_exe_build_sections): Likewise. + (pe_dll_fill_sections): Likewise. + (pe_exe_fill_sections): Likewise. + * pe-dll.h (pe_use_coff_long_section_names): Declare extern. + (pe_output_file_set_long_section_names): Add prototype. + * pep-dll.c (pe_use_coff_long_section_names): Define pep_ alias. + (pe_output_file_set_long_section_names): Likewise. + * pep-dll.h (pep_use_coff_long_section_names): Declare extern. + (pep_output_file_set_long_section_names): Add prototype. + * pe.em (OPTION_ENABLE_LONG_SECTION_NAMES): New getopt value macro. + (OPTION_DISABLE_LONG_SECTION_NAMES): Likewise. + (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[]. + (gld_${EMULATION_NAME}_list_options): Describe them. + (gld${EMULATION_NAME}_handle_option): Set or clear global + pe_use_coff_long_section_names flag when options recognised. + (gld_${EMULATION_NAME}_after_open): En/disable long section names + for main output bfd by calling pe_output_file_set_long_section_names. + * pep.em (enum options): Extend enum with new getopt option values. + (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[]. + (gld_${EMULATION_NAME}_list_options): Describe them. + (gld${EMULATION_NAME}_handle_option): Set or clear global + pe_use_coff_long_section_names flag when options recognised. + (gld_${EMULATION_NAME}_after_open): En/disable long section names + for main output bfd by calling pep_output_file_set_long_section_names. + +2009-02-16 Dave Korn <dave.korn.cygwin@gmail.com> + + * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Don't emit + inadvertent .reloc sections caused by refactoring accident. + +2009-02-16 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (process_insert_statements): ASSERT that output section + statements are in order. + +2009-02-16 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (push_stat_ptr, pop_stat_ptr): New functions. + (stat_save, stat_save_ptr): New variables. + (lang_insert_orphan): Use push_stat_ptr and pop_stat_ptr. + (load_symbols): Likewise. Delete dead "bad_load" code. + (open_input_bfds): Warn on script containing output sections. + (lang_enter_output_section_statement): Use push_stat_ptr. + (lang_enter_group): Likewise. + (lang_leave_output_section_statement): Use pop_stat_ptr. + (lang_leave_group): Likewise. + * ldlang.h (push_stat_ptr, pop_stat_ptr): Declare. + * ldctor.c (ldctor_build_sets): Use push_stat_ptr and pop_stat_ptr. + * emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Likewise. + * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise. + * emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise. + * emultempl/spuelf.em (spu_place_special_section): Likewise. + * emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): Likewise. + +2009-02-09 Nathan Sidwell <nathan@codesourcery.com> + + Missing piece of 2009-01-26 commit + * ldlang.c (lang_process): Don't consider relocatable flag when + checking for overlap. + +2009-02-05 Joseph Myers <joseph@codesourcery.com> + + * emulparams/m68kelf.sh: Add newline at end of file. + +2009-02-04 Nick Clifton <nickc@redhat.com> + + PR 9805 + * ld.texinfo (--allow-shlib-undefined): Correct description of + default settings and tidy up the rest of the entry. + +2009-02-04 Alan Modra <amodra@bigpond.net.au> + + * emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.* + during relocatable link. + +2009-02-03 Nick Clifton <nickc@redhat.com> + + PR 9797 + * ld.texinfo (Constants): Document the base-encoding suffixes + supported in linker scripts. + +2009-02-03 Alan Modra <amodra@bigpond.net.au> + + * NEWS: Mention --as-needed change. + +2009-02-03 Carlos O'Donell <carlos@codesourcery.com> + + * configure.in: AC_SUBST pdfdir. + * Makefile.am: Add install-pdf, install-pdf-am, + and install-pdf-recursive targets. Define pdf__strip_dir. + * po/Make-in: Add install-pdf target. + * configure: Regenerate. + * Makefile.in: Regenerate. + +2009-01-31 Alan Modra <amodra@bigpond.net.au> + + * ld.texinfo (--as-needed): Update. + +2009-01-29 Andrew Jenner <andrew@codesourcery.com> + + * emultempl/armelf.em: Correct formatting of help text for + --no-enum-size-warning option. + +2009-01-26 Nathan Sidwell <nathan@codesourcery.com> + + * lexsup.c (parse_args): Set check_section_addresses to 1 or 0. + * ld.h (args_type): Make check_section_addresses a char. + * ldmain.c (main): Default check_section_addresses to -1. Check it + for relocatable links. + * ld.texinfo (--check-sections): Update documentation. + +2009-01-26 Kai Tietz <kai.tietz@onevision.com> + + * pe-dll.c (tmp_seq2): New static variable. + (make_singleton_name_imp): New. + (make_import_fixup_entry): Use for v2 the _imp_<name> symbol and + avoid duplicate import table generation for same symbol. + (pe_create_runtime_relocator_reference): Make reference for + 64-bit 8 bytes. + +2009-01-21 Alan Modra <amodra@bigpond.net.au> + + * emultempl/spuelf.em (params): Init new field. + (OPTION_SPU_NON_IA_TEXT): Define. + (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text. + (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT. + +2009-01-16 H.J. Lu <hongjiu.lu@intel.com> + + * lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT. + (ld_options): Add -Ttext-segment. + (parse_args): Handle OPTION_TTEXT_SEGMENT. + + * ld.texinfo: Document -Ttext-segment. + + * NEWS: Mention -Ttext-segment. + + * scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START. + (SHLIB_TEXT_START_ADDR): Likewise. + +2009-01-13 Alan Modra <amodra@bigpond.net.au> + + * emultempl/spu_icache.o_c: Regenerate. + +2009-01-12 Alan Modra <amodra@bigpond.net.au> + + * emultempl/spuelf.em (params): Init new fields. + (num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars. + (spu_place_special_section): Adjust placement for soft-icache. Pad + soft-icache section to a fixed size. Clear addr_tree. + (spu_elf_load_ovl_mgr): Support soft-icache. Map overlay manager + sections a little more intelligently. + (gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs. + (OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS. + (OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define. + (OPTION_SPU_LRLIVE): Define. + (PARSE_AND_LIST_LONGOPTS): Add new soft-icache options. + (PARSE_AND_LIST_OPTIONS): Likewise. + (PARSE_AND_LIST_ARGS_CASES): Handle them. + * emultempl/spu_icache.S: Dummy file. + * emultempl/spu_icache.o_c: Regenerate. + * Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c. + (spu_icache.o_c): Add rule to build. + (CLEANFILES): Zap temp files. + (EXTRA_DIST): Add spu_icache.o_c. + * Makefile.in: Regenerate. + +2009-01-08 Kai Tietz <kai.tietz@onevision.com> + + * pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New. + (gld..._add_options): Add new option + --use-nul-prefixed-import-tables. + (gld..._handle_option): Likewise. + * pep.em: Same as for pe.em. + * ld.texinfo: Add new option documentation for + --use-nul-prefixed-import-tables. + * pe-dll.c (pe_use_nul_prefixed_import_tables): New. + (make_head): Make prefix leading zero prefix element for + idata$4 and idata$5 dependent to new flag. + (make_import_fixup_entry): Remove idata4/5 prefix. + * pe-dll.h (pe_use_nul_prefixed_import_tables): New. + * pep-dll.c (pe_use_nul_prefixed_import_tables): New. + * pep-dll.h (pep_use_nul_prefixed_import_tables): New. + * NEWS: Add new option. + +2009-01-05 Kai Tietz <kai.tietz@onevision.com> + + * emultempl/pe.em: Prefix dollar characters to be outputed in + generated C file. + * emultempl/pep.em: Likewise. + +2009-01-03 Dave Korn <dave.korn.cygwin@gmail.com> + + * NEWS: Mention new feature --exclude-modules-for-implib. + * ld.texinfo: Document new --exclude-modules-for-implib option. + * pe-dll.c (exclude_list_struct): Change type member from int to + new enumeration exclude_type. + (pe_dll_add_excludes): Accept exclude_type instead of int param. + (auto_export): Replace magic constants by exclude_type values and + handle new choice EXCLUDEFORIMPLIB. + (pe_dll_generate_implib): Accept a pointer to the link_info and + iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open + fresh BFDs for any found and link into import lib archive chain. + * pe-dll.h (exclude_type): Add new enumerated type to replace magic + constants previously used for exclude_list_struct type member. + (pe_dll_add_excludes, pe_dll_generate_implib): Update prototypes. + * pep-dll.h (exclude_type, pe_dll_add_excludes, + pe_dll_generate_implib): Likewise to all the above. + * emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB): Define new + getopts long option code for new --exclude-modules-for-implib option. + (gld${EMULATION_NAME}_add_options): Add new entry to xtra_long[]. + (gld_${EMULATION_NAME}_list_options): List usage for it. + (gld${EMULATION_NAME}_handle_option): Use exclude_type enumerated + values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB. + (gld_${EMULATION_NAME}_finish): Pass pointer to link_info when + calling pe_dll_generate_implib. + * emultempl/pep.em (options): Define new enumerated value for getopts + long option code for new --exclude-modules-for-implib option. + (gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options, + gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish): + Again, likewise to all the above. + +2009-01-03 Dave Korn <dave.korn.cygwin@gmail.com> + + * pe-dll.c (autofilter_liblist): Add entry for shared libgcc. + (libnamencmp): New function. + (auto_export): Use it in place of strncmp when filtering libraries. + +For older changes see ChangeLog-2008 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index fff9ac6..4a2a6da 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,1739 +1,5 @@ -2009-12-28 Daniel Gutson <dgutson@codesourcery.com> - * ld-arm/arm-elf.exp (armelftests): New test case added. - * ld-arm/reloc-boundaries.s: New file. - * ld-arm/reloc-boundaries.d: New file. - -2009-12-28 Daniel Gutson <dgutson@codesourcery.com> - - * ld-arm/arm-elf.exp: Run missing test - from a previous commit (callweak-2). - -2009-12-10 Maciej W. Rozycki <macro@codesourcery.com> - - * ld-mips-elf/undefined.d: New test. - * ld-mips-elf/undefined.s: Source for the new test. - * ld-mips-elf/mips-elf.exp: Run the new test. - -2009-12-09 Daniel Jacobowitz <dan@codesourcery.com> - - * ld-arm/arm-elf.exp (armeabitests): Add farcall-data. - * ld-arm/farcall-data.d, ld-arm/farcall-data.s: New. - * lib/ld-lib.exp (run_ld_link_tests, run_cc_link_tests): Correct - regular expression for archives. - -2009-11-23 Paul Brook <paul@codesourcery.com> - - * ld-arm/script-type.sym: New test. - * ld-arm/script-type.s: New test. - * ld-arm/script-type.s: New test. - -2009-11-20 Thomas Schwinge <thomas@codesourcery.com> - - * ld-arm/arm-dyn.ld: Adapt to main linker script changes. - * ld-arm/arm-lib.ld: Likewise. - * ld-arm/armthumb-lib.sym: : Adjust expected results. - * ld-arm/farcall-mixed-app-v5.d: Likewise. - * ld-arm/farcall-mixed-app.d: Likewise. - * ld-arm/farcall-mixed-app.sym: Likewise. - * ld-arm/farcall-mixed-lib.d: Likewise. - * ld-arm/mixed-app-v5.d: Likewise. - * ld-arm/mixed-app.d: Likewise. - * ld-arm/mixed-app.sym: Likewise. - * ld-arm/mixed-lib.sym: Likewise. - * ld-arm/preempt-app.sym: Likewise. - * ld-arm/tls-app.d: Likewise. - -2009-11-18 Nick Clifton <nickc@redhat.com> - - * ld-elf/extract-symbol-1sec.d: Expect to fail for the RX target. - * ld-scripts/overlay-size.d: Likewise. - * ld-scripts/rgn-at1.d: Likewise. - * ld-scripts/rgn-at2.d: Likewise. - * ld-scripts/rgn-at3.d: Likewise. - * ld-scripts/rgn-at4.d: Likewise. - * ld-scripts/rgn-over8-ok.d: Likewise. - -2009-11-15 Kai Tietz <kai.tietz@onevision.com> - - * ld-pe/direct2_client.c: New file. - * ld-pe/direct2_dll.c: Likewise. - * ld-pe/direct2_dll.def: Likewise. - * ld-pe/pe-run2.exp: Likewise. - -2009-11-13 H.J. Lu <hongjiu.lu@intel.com> - - * ld-x86-64/tlsbin.dd: Updated for prefix processing. - * ld-x86-64/tlsgdesc.dd: Likewise. - * ld-x86-64/tlsld1.dd: Likewise. - * ld-x86-64/tlspic.dd: Likewise. - -2009-11-09 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/10911 - * ld-ifunc/ifunc-4a-x86.d: New. - -2009-11-02 Paul Brook <paul@codesourcery.com> - - * ld-arm/arm-elf.exp: Add new attr-merge-vfp tests. - * ld-arm/attr-merge-vfp-1.d: New test. - * ld-arm/attr-merge-vfp-1r.d: New test. - * ld-arm/attr-merge-vfp-2.d: New test. - * ld-arm/attr-merge-vfp-2r.d: New test. - * ld-arm/attr-merge-vfp-3.d: New test. - * ld-arm/attr-merge-vfp-3r.d: New test. - * ld-arm/attr-merge-vfp-4.d: New test. - * ld-arm/attr-merge-vfp-4r.d: New test. - * ld-arm/attr-merge-vfp-5.d: New test. - * ld-arm/attr-merge-vfp-5r.d: New test. - * ld-arm/attr-merge-vfp-2.s: New test. - * ld-arm/attr-merge-vfp-3.s: New test. - * ld-arm/attr-merge-vfp-3-d16.s: New test. - * ld-arm/attr-merge-vfp-4.s: New test. - * ld-arm/attr-merge-vfp-4-d16.s: New test. - -2009-11-02 Alan Modra <amodra@bigpond.net.au> - - * ld-scripts/phdrs3.exp (LDFLAGS): Add "--local-store 0:0" for SPU. - -2009-10-30 Mark Mitchell <mark@codesourcery.com> - - * ld-elfcomm/elfcomm.exp: Compile with -fcommon. - -2009-10-28 Johan Kristell <johankri@axis.com> - - * ld-cris/dso12-pltdis.d: New test. - -2009-10-19 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-22.d, - ld-cris/tls-e-80.d, ld-cris/tls-e-dtpoffd1.d, - ld-cris/tls-e-dtpoffd3.d, ld-cris/tls-ldgde-14.d, - ld-cris/tls-ldgde-15.d, ld-cris/tls-ldgdex-14.d, - ld-cris/tls-ldgdex-15.d: Adjust for change in non-shared - R_CRIS_32_DTPREL and R_CRIS_16_DTPREL relocations. - -2009-10-17 Arnold Metselaar <arnold.metselaar@planet.nl> - - * ld-scripts/align.exp: Remove xfails for z80-*-coff - -2009-10-16 Rafael Avila de Espindola <espindola@google.com> - - * bootstrap.exp: Detect if plugins are enabled. Skip the static - link test and add -ldl to the remaining tests if they are. - -2009-10-14 Joseph Myers <joseph@codesourcery.com> - - * ld-scripts/phdrs3.d: Allow colon in name of linker binary. - -2009-10-14 Alan Modra <amodra@bigpond.net.au> - - * ld-elf/pr349-1.s, * ld-elf/pr349-2.s, * ld-elf/pr349.d: New. - -2009-10-09 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/10749 - * ld-elf/relocatable.d: New. - * ld-elf/relocatable.t: Likewise. - * ld-elf/simple.s: Likewise. - -2009-10-07 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/10744 - * ld-scripts/phdrs3.exp: Run phdrs3a. - - * ld-scripts/phdrs3a.d: New. - * ld-scripts/phdrs3a.t: Likewise. - -2009-10-08 Alan Modra <amodra@bigpond.net.au> - - PR ld/10744 - * ld-scripts/phdrs3.d: Update. - -2009-10-06 Nathan Sidwell <nathan@codesourcery.com> - - * ld-scripts/phdrs3.d: New. - * ld-scripts/phdrs3.t: New. - * ld-scripts/phdrs3.exp: New. - -2009-10-03 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/tlsexe.d: Update. - * ld-powerpc/tlsexe.r: Update. - * ld-powerpc/tlsexetoc.d: Update. - * ld-powerpc/tlsexetoc.r: Update. - * ld-powerpc/tlsso.d: Update. - * ld-powerpc/tlsso.r: Update. - * ld-powerpc/tlstocso.d: Update. - * ld-powerpc/tlstocso.r: Update. - -2009-10-02 Alan Modra <amodra@bigpond.net.au> - - * lib/ld-lib.exp (ld_simple_link_defsyms): New proc, adding - powerpc-*-rtems to code setting symbols, extracted from.. - * ld-srec/srec.exp (run_srec_test): ..here. Correct flags for sh64. - * ld-gc/gc.exp (test_gc): Use ld_simple_link_defsyms. - -2009-10-01 Ulrich Weigand <uweigand@de.ibm.com> - - * ld-spu/icache1.d: Update to new section layout. - -2009-09-24 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/10630 - * ld-alpha/tlsbin.rd: Remove HIDDEN/.hidden on local symbols. - * ld-alpha/tlsbinr.rd: Likewise. - * ld-alpha/tlspic.rd: Likewise. - * ld-cris/libdso-2.d: Likewise. - * ld-cris/locref1.d: Likewise. - * ld-cris/locref2.d: Likewise. - * ld-cris/tls-e-20a.d: Likewise. - * ld-cris/tls-e-20.d: Likewise. - * ld-cris/tls-e-80.d: Likewise. - * ld-cris/tls-gc-68.d: Likewise. - * ld-cris/tls-gc-69.d: Likewise. - * ld-cris/tls-gc-70.d: Likewise. - * ld-cris/tls-gc-75.d: Likewise. - * ld-cris/tls-gc-76.d: Likewise. - * ld-cris/tls-gc-79.d: Likewise. - * ld-cris/tls-gd-1h.d: Likewise. - * ld-cris/tls-gd-2h.d: Likewise. - * ld-cris/tls-ld-4.d: Likewise. - * ld-cris/tls-ld-5.d: Likewise. - * ld-cris/tls-ld-6.d: Likewise. - * ld-cris/tls-ld-7.d: Likewise. - * ld-cris/tls-ldgd-14.d: Likewise. - * ld-cris/tls-ldgd-15.d: Likewise. - * ld-cris/tls-local-63.d: Likewise. - * ld-cris/tls-local-64.d: Likewise. - * ld-elf/pr9676.rd: Likewise. - * ld-elf/pr9679.rd: Likewise. - * ld-elfvsb/hidden2.d: Likewise. - * ld-i386/tlsbindesc.rd: Likewise. - * ld-i386/tlsbin.rd: Likewise. - * ld-i386/tlsdesc.rd: Likewise. - * ld-i386/tlsgdesc.rd: Likewise. - * ld-i386/tlsnopic.rd: Likewise. - * ld-i386/tlspic.rd: Likewise. - * ld-ia64/tlsbin.rd: Likewise. - * ld-ia64/tlspic.rd: Likewise. - * ld-powerpc/tlsexe32.r: Likewise. - * ld-powerpc/tlsexe.r: Likewise. - * ld-powerpc/tlsexetoc.r: Likewise. - * ld-powerpc/tlsso32.r: Likewise. - * ld-powerpc/tlsso.r: Likewise. - * ld-powerpc/tlstocso.r: Likewise. - * ld-s390/tlsbin_64.rd: Likewise. - * ld-s390/tlsbin.rd: Likewise. - * ld-s390/tlspic_64.rd: Likewise. - * ld-s390/tlspic.rd: Likewise. - * ld-sparc/gotop32.rd: Likewise. - * ld-sparc/gotop64.rd: Likewise. - * ld-sparc/tlssunbin32.rd: Likewise. - * ld-sparc/tlssunbin64.rd: Likewise. - * ld-sparc/tlssunnopic32.rd: Likewise. - * ld-sparc/tlssunnopic64.rd: Likewise. - * ld-sparc/tlssunpic32.rd: Likewise. - * ld-sparc/tlssunpic64.rd: Likewise. - * ld-x86-64/tlsbindesc.rd: Likewise. - * ld-x86-64/tlsbin.rd: Likewise. - * ld-x86-64/tlsdesc.rd: Likewise. - * ld-x86-64/tlsgdesc.rd: Likewise. - * ld-x86-64/tlspic.rd: Likewise. - * ld-xtensa/tlsbin.rd: Likewise. - * ld-xtensa/tlspic.rd: Likewise. - - * ld-elf/local1.d: New. - * ld-elf/local1.map: Likewise. - * ld-elf/local1.s: Likewise. - * ld-ia64/local1.d: Likewise. - * ld-ia64/local1.map: Likewise. - * ld-ia64/local1.s: Likewise. - -2009-09-23 Matt Rice <ratmice@gmail.com> - - * ld-elf/audit.exp: New. - * ld-elf/audit.rd: New. - * ld-elf/depaudit.rd: New. - * ld-elf/depaudit2.rd: New. - -2009-09-23 Jie Zhang <jie.zhang@analog.com> - - * ld-srec/srec.exp: Add xfails for bfin-*-linux-uclibc. - -2009-09-23 Alan Modra <amodra@bigpond.net.au> - - * ld-alpha/tlsbin.rd: Tolerate some whitespace differences. - * ld-alpha/tlsbinr.rd: Likewise. - * ld-alpha/tlspic.rd: Likewise. - * ld-arm/armthumb-lib.sym: Likewise. - * ld-arm/farcall-mixed-app.sym: Likewise. - * ld-arm/mixed-app.sym: Likewise. - * ld-arm/mixed-lib.sym: Likewise. - * ld-arm/preempt-app.sym: Likewise. - * ld-arm/use-thumb-lib.sym: Likewise. - * ld-cris/libdso-2.d: Likewise. - * ld-cris/tls-local-63.d: Likewise. - * ld-cris/tls-local-64.d: Likewise. - * ld-cris/tls-und-38.d: Likewise. - * ld-cris/tls-und-42.d: Likewise. - * ld-cris/tls-und-46.d: Likewise. - * ld-cris/tls-und-50.d: Likewise. - * ld-cris/weakref3.d: Likewise. - * ld-cris/weakref4.d: Likewise. - * ld-elf/empty.d: Likewise. - * ld-elf/group1.d: Likewise. - * ld-elf/group3a.d: Likewise. - * ld-elf/group3b.d: Likewise. - * ld-elf/hash.d: Likewise. - * ld-elf/warn1.d: Likewise. - * ld-elf/warn2.d: Likewise. - * ld-elfvers/vers24.rd: Likewise. - * ld-elfvsb/hidden0.d: Likewise. - * ld-elfvsb/hidden1.d: Likewise. - * ld-elfvsb/hidden2.d: Likewise. - * ld-elfvsb/internal0.d: Likewise. - * ld-elfvsb/internal1.d: Likewise. - * ld-elfvsb/protected0.d: Likewise. - * ld-elfvsb/protected1.d: Likewise. - * ld-i386/tlsbin.rd: Likewise. - * ld-i386/tlsbindesc.rd: Likewise. - * ld-i386/tlsdesc.rd: Likewise. - * ld-i386/tlsgdesc.rd: Likewise. - * ld-i386/tlsnopic.rd: Likewise. - * ld-i386/tlspic.rd: Likewise. - * ld-ia64/tlsbin.rd: Likewise. - * ld-ia64/tlspic.rd: Likewise. - * ld-mips-elf/got-vers-1.sd: Likewise. - * ld-mips-elf/mips16-pic-2.nd: Likewise. - * ld-mips-elf/mips16-pic-4a.nd: Likewise. - * ld-mips-elf/pic-and-nonpic-1-rel.nd: Likewise. - * ld-mips-elf/pic-and-nonpic-1.nd: Likewise. - * ld-mips-elf/pic-and-nonpic-3b.nd: Likewise. - * ld-mips-elf/pic-and-nonpic-4b.nd: Likewise. - * ld-mips-elf/pic-and-nonpic-5b.nd: Likewise. - * ld-mips-elf/pic-and-nonpic-6-n32.nd: Likewise. - * ld-mips-elf/pic-and-nonpic-6-n64.nd: Likewise. - * ld-mips-elf/pic-and-nonpic-6-o32.nd: Likewise. - * ld-mips-elf/vxworks1-lib.nd: Likewise. - * ld-mmix/bspec1.d: Likewise. - * ld-mmix/bspec2.d: Likewise. - * ld-mmix/local1.d: Likewise. - * ld-mmix/local3.d: Likewise. - * ld-mmix/local5.d: Likewise. - * ld-mmix/local7.d: Likewise. - * ld-mmix/undef-3.d: Likewise. - * ld-mn10300/i135409-1.d: Likewise. - * ld-mn10300/i135409-2.d: Likewise. - * ld-powerpc/tlsexe.r: Likewise. - * ld-powerpc/tlsexe32.r: Likewise. - * ld-powerpc/tlsexetoc.r: Likewise. - * ld-powerpc/tlsso.r: Likewise. - * ld-powerpc/tlsso32.r: Likewise. - * ld-powerpc/tlstocso.r: Likewise. - * ld-powerpc/vxworks1-lib.nd: Likewise. - * ld-s390/tlsbin.rd: Likewise. - * ld-s390/tlsbin_64.rd: Likewise. - * ld-s390/tlspic.rd: Likewise. - * ld-s390/tlspic_64.rd: Likewise. - * ld-sh/tlsbin-2.d: Likewise. - * ld-sh/tlspic-2.d: Likewise. - * ld-sh/vxworks1-lib.nd: Likewise. - * ld-sh/sh64/crange1.rd: Likewise. - * ld-sh/sh64/crange2.rd: Likewise. - * ld-sh/sh64/crange3-cmpct.rd: Likewise. - * ld-sh/sh64/crange3-media.rd: Likewise. - * ld-sh/sh64/crange3.rd: Likewise. - * ld-sh/sh64/crangerel1.rd: Likewise. - * ld-sh/sh64/crangerel2.rd: Likewise. - * ld-sh/sh64/reldl32.rd: Likewise. - * ld-sh/sh64/reldl64.rd: Likewise. - * ld-sparc/gotop32.rd: Likewise. - * ld-sparc/gotop64.rd: Likewise. - * ld-sparc/tlssunbin32.rd: Likewise. - * ld-sparc/tlssunbin64.rd: Likewise. - * ld-sparc/tlssunnopic32.rd: Likewise. - * ld-sparc/tlssunnopic64.rd: Likewise. - * ld-sparc/tlssunpic32.rd: Likewise. - * ld-sparc/tlssunpic64.rd: Likewise. - * ld-vxworks/plt-mips1.d: Likewise. - * ld-x86-64/tlsbin.rd: Likewise. - * ld-x86-64/tlsbindesc.rd: Likewise. - * ld-x86-64/tlsdesc.rd: Likewise. - * ld-x86-64/tlsgdesc.rd: Likewise. - * ld-x86-64/tlspic.rd: Likewise. - * ld-xtensa/tlsbin.rd: Likewise. - * ld-xtensa/tlspic.rd: Likewise. - -2009-09-21 Richard Sandiford <rdsandiford@googlemail.com> - - PR ld/10681 - * ld-elf/eh6.d: Expect absolute pointers in shared libraries to - be converted into PC-relative form. - -2009-09-21 Richard Sandiford <rdsandiford@googlemail.com> - - * ld-mips-elf/eh-frame5.d: Expect PC-relative encodings - to include DW_EH_PE_sdata4. - -2009-09-21 Richard Sandiford <rdsandiford@googlemail.com> - - * ld-mips-elf/eh-frame1-n32.d: Expect PC-relative encodings - to include DW_EH_PE_sdata4. - * ld-mips-elf/eh-frame2-n32.d: Likewise. - * ld-mips-elf/eh-frame1-n64.d: Expect PC-relative encodings - to include DW_EH_PE_sdata8. - * ld-mips-elf/eh-frame2-n64.d: Likewise. - -2009-09-21 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/tlslib.s: Delete dot-symbol entry syms. Add - __tls_get_addr_opt. - * ld-powerpc/tlslib32.s: Add __tls_get_addr_opt. - * ld-powerpc/oldtlslib.s: New file, old-abi version of tlslib.s. - * ld-powerpc/powerpc.exp: Build old-abi library and use it in - two new link tests. - * ld-powerpc/tlsexe.d: Update for new __tls_get_addr stub. - * ld-powerpc/tlsexe.g, * ld-powerpc/tlsexe.r, *ld-powerpc/tlsexe32.d, - * ld-powerpc/tlsexe32.g, * ld-powerpc/tlsexe32.r, - * ld-powerpc/tlsexetoc.d, * ld-powerpc/tlsexetoc.g, - * ld-powerpc/tlsexetoc.r: Likewise. - -2009-09-20 Richard Sandiford <rdsandiford@googlemail.com> - - * ld-mips-elf/elf-rel-got-n64-linux.d: Expect BALs. - * ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise. - -2009-09-19 Richard Sandiford <rdsandiford@googlemail.com> - - * ld-mips-elf/eh-frame5.s, ld-mips-elf/eh-frame5.ld, - ld-mips-elf/eh-frame5.d: New test. - * ld-mips-elf/mips-elf.exp: Run it. - -2009-09-18 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/tlsso.d: Update. - * ld-powerpc/tlsso.r: Update. - * ld-powerpc/tlstocso.d: Update. - * ld-powerpc/tlstocso.r: Update. - -2009-09-15 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * ld-elfcomm/elfcomm.exp: Add appropriate emulation option - for sh64*-*-*. - * ld-gc/gc.exp (test_gc): Likewise. - -2009-09-14 H.J. Lu <hongjiu.lu@intel.com> - - * ld-undefined/entry-7.d: New. - -2009-09-13 Richard Sandiford <rdsandiford@googlemail.com> - - * ld-mips-elf/eh-frame1-n32.d: Change "the section \.eh_frame" - to "the \.eh_frame section". - * ld-mips-elf/eh-frame1-n64.d: Likewise. - * ld-mips-elf/eh-frame2-n32.d: Likewise. - * ld-mips-elf/eh-frame2-n64.d: Likewise. - * ld-mips-elf/eh-frame3.d: Likewise. - * ld-mips-elf/eh-frame4.d: Likewise. - * ld-mips-elf/elf-rel-got-n32.d: Expect bals. - * ld-mips-elf/elf-rel-xgot-n32.d: Likewise. - * ld-mips-elf/mips-elf.exp: Force the MIPS16 PIC tests to use -mips1. - -2009-09-11 Jie Zhang <jie.zhang@analog.com> - - * ld-elf/warn2.d: `Foo' appears in section 3 when target - is bfin-*-linux-uclibc. - -2009-09-09 Daniel Jacobowitz <dan@codesourcery.com> - - * ld-arm/farcall-mixed-lib.d: Update. - -2009-09-09 Alan Modra <amodra@bigpond.net.au> - - * ld-elf/sec64k.exp: For frv-linux use "aw" sections. - * ld-elf/seg.d: Cater for GNU_STACK segment. - * ld-elf/symbol1ref.s: Use data section. - * ld-elf/symbol2ref.s: Likewise. - * ld-scripts/empty-address-1.d: Don't run on frv-linux. - * ld-scripts/empty-address-2a.d: Likewise. - * ld-scripts/empty-address-2b.d: Likewise. - * ld-scripts/empty-aligned.d: Likewise. - * ld-elf/extract-symbol-1sym.d: Tolerate extra target supplied syms. - * ld-scripts/sort_b_a-1.d: Likewise. - * ld-scripts/sort_b_a.d: Likewise. - * ld-scripts/sort_b_a_a-1.d: Likewise. - * ld-scripts/sort_b_a_a-2.d: Likewise. - * ld-scripts/sort_b_a_a-3.d: Likewise. - * ld-scripts/sort_b_a_n-1.d: Likewise. - * ld-scripts/sort_b_a_n-2.d: Likewise. - * ld-scripts/sort_b_a_n-3.d: Likewise. - * ld-scripts/sort_b_n-1.d: Likewise. - * ld-scripts/sort_b_n.d: Likewise. - * ld-scripts/sort_b_n_a-1.d: Likewise. - * ld-scripts/sort_b_n_a-2.d: Likewise. - * ld-scripts/sort_b_n_a-3.d: Likewise. - * ld-scripts/sort_b_n_n-1.d: Likewise. - * ld-scripts/sort_b_n_n-2.d: Likewise. - * ld-scripts/sort_b_n_n-3.d: Likewise. - * ld-scripts/sort_no-1.d: Likewise. - * ld-scripts/sort_no-2.d: Likewise. - -2009-09-08 M R Swami Reddy <MR.Swami.Reddy@nsc.com> - - * ld-elf/merge.d: xfail cr16-*-*. - -2009-09-08 Alan Modra <amodra@bigpond.net.au> - - * ld-elf/eh5.d: Don't run on hppa64. Allow non-pcrel encoding. - Skip extra CIEs emitted on embedded targets and adjust FDE - matches to suit. - -2009-09-05 Jie Zhang <jie.zhang@analog.com> - - * ld-elf/sec64k.exp: Use ".set" instead of "=" for bfin-*-*. - -2009-09-03 Dave Korn <dave.korn.cygwin@gmail.com> - - * ld-pe/longsecn.d: Adjusted to match new .text section merging - in default PE linker scripts. - * ld-pe/longsecn-1.d: Likewise. - * ld-pe/longsecn-2.d: Likewise. - -2009-08-31 Jie Zhang <jie.zhang@analog.com> - - * lib/ld-lib.exp (is_elf_format): Return 1 for bfin-*-uclinux. - -2009-08-31 Alan Modra <amodra@bigpond.net.au> - - * ld-ifunc/ifunc.exp: Match R_PPC64_JUMP_IREL. - -2009-08-30 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/10569 - * ld-elf/commonpage2.d: New. - * ld-elf/maxpage4.d: Likewise. - * ld-elf/maxpage4.t: Likewise. - -2009-08-26 Maxim Kuvyrkov <maxim@codesourcery.com> - - * ld-m68k/tls-def-1.s: New file. - * ld-m68k/tls-def-1.d: New file. - * ld-m68k/tls-gd-1.d2: New file. - * ld-m68k/tls-gd-1.d3: New file. - * ld-m68k/tls-main-1.s: New file. - * ld-m68k/tls-main-1.d: New file. - * ld-m68k/m68k.exp: Run new TLS tests. - -2009-08-23 Andreas Schwab <schwab@linux-m68k.org> - - * ld-powerpc/powerpc.exp: Move relaxing and relocatable relaxing - tests from ppc64elftest to ppcelftest and pass -a32 to assembler. - - * ld-powerpc/relax.d: Fix whitespace. - * ld-powerpc/relaxr.d: Likewise. - -2009-08-21 Daniel Gutson <dgutson@codesourcery.com> - - * ld-arm/callweak.d: Opcodes updated. - * ld-arm/callweak.s: Architecture specified. - * ld-arm/callweak-2.d: New test case. - * ld-arm/callweak-2.s: New file. - -2009-08-17 Nick Clifton <nickc@redhat.com> - - * ld-elf/linkonce1.d: Accept "UNUSED" as part of the name of an - unused reloc. - * ld-elf/linkonce2.d: Likewise. - -2009-08-10 Jan Kratochvil <jan.kratochvil@redhat.com> - - Test go32 stub preservation by objcopy. - * ld-i386/i386.exp (go32 stub, go32 stub patch the source) - (go32 stub objcopy, go32 stub comparison after objcopy): New. - -2009-08-10 Nathan Sidwell <nathan@codesourcery.com> - - * ld-powerpc/relax.s: New. - * ld-powerpc/relax.d: New. - * ld-powerpc/relaxr.d: New. - * ld-powerpc/powerpc.exp: Add new tests. - -2009-08-06 Nathan Sidwell <nathan@codesourcery.com> - - * ld-arm/arm-elf.exp: Add new test. - * ld-arm/cortex-a8-fix-hdr.d: New. - * ld-arm/cortex-a8-fix-hdr.s: New. - * ld-arm/cortex-a8-fix-hdr.t: New. - -2009-08-05 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com> - - * ld-spu/fixup.d: New. - * ld-spu/fixup.s: New. - -2009-08-05 Nathan Sidwell <nathan@codesourcery.com> - - * ld-arm/cortex-a8-far-1.s: New. - * ld-arm/cortex-a8-far-2.s: New. - * ld-arm/cortex-a8-far.d: New. - * ld-arm/arm-elf.exp: Add new test. - -2009-08-02 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/6443 - * ld-i386/i386.exp: Run tlspie1. - * ld-x86-64/x86-64.exp: tlspie1. - - * ld-i386/tlspie1.d: New. - * ld-i386/tlspie1.s: Likewise. - * ld-x86-64/tlspie1.d: Likewise. - * ld-x86-64/tlspie1.s: Likewise. - -2009-07-31 Hans-Peter Nilsson <hp@bitrange.com> - - * ld-mmix/x.s, ld-mmix/y.s, ld-mmix/zeroeh.ld, - ld-mmix/zeroehelf.d, ld-mmix/zeroehmmo.d: Use .gcc_except_table, - not .eh_frame. - -2009-07-30 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elf/shared.exp: Comment out dl3b. - -2009-07-30 Hans-Peter Nilsson <hp@bitrange.com> - - * ld-scripts/empty-address-3a.d, ld-scripts/empty-address-3b.d: - Skip for mmix-knuth-mmixware. - -2009-07-29 Hans-Peter Nilsson <hp@bitrange.com> - - * ld-scripts/default-script.s (text): Globalize. - * ld-scripts/default-script1.d, ld-scripts/default-script2.d, - ld-scripts/default-script3.d, ld-scripts/default-script4.d: Adjust - accordingly. - -2009-07-25 H.J. Lu <hongjiu.lu@intel.com> - - * ld-x86-64/abs-l1om.d: New. - * ld-x86-64/protected2-l1om.d: Likewise. - * ld-x86-64/protected3-l1om.d: Likewise. - - * ld-x86-64/x86-64.exp: Run abs-l1om, protected2-l1om and - protected3-l1om. - -2009-07-24 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com> - Alan Modra <amodra@bigpond.net.au> - - * ld-spu/pic.d: New. - * ld-spu/pic.s: New. - * ld-spu/picdef.s: New. - -2009-07-23 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/10434 - * ld-x86-64/tlsle1.d: New. - * ld-x86-64/tlsle1.s: Likewise. - - * ld-x86-64/x86-64.exp: Run tlsle1. - -2009-07-21 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/10426 - * ld-ifunc/ifunc.exp: Check test-1 and libtest-2.so. Updated. - - * ld-ifunc/test-1.c: New. - * ld-ifunc/test-2.c: Likewise. - -2009-07-17 Chao-ying Fu <fu@mips.com> - - * ld-mips-elf/pic-and-nonpic-3b.dd: Updated to use new PLT - entries. - * ld-mips-elf/pic-and-nonpic-5b.dd: Likewise. - * ld-mips-elf/pic-and-nonpic-6-o32.dd: Likewise. - * ld-mips-elf/pic-and-nonpic-6-n32.dd: Likewise. - * ld-mips-elf/pic-and-nonpic-6-n64.dd: Likewise. - -2009-07-16 H.J. Lu <hongjiu.lu@intel.com> - - * ld-ifunc/ifunc-5r-local-i386.d: New. - * ld-ifunc/ifunc-5r-local-x86-64.d: Likewise. - -2009-07-16 Nathan Sidwell <nathan@codesourcery.com> - - * ld-arm/arm-target2.s: Add addend cases. - * ld-arm/arm-target2-rel.d: Adjust. - * ld-arm/arm-target2-abs.d: Adjust. - * ld-arm/arm-target2-got-rel.d: Adjust. - -2009-07-13 H.J. Lu <hongjiu.lu@intel.com> - - * ld-ifunc/ifunc.exp: Don't use -shared/-static to build object - files. Use ld_simple_link to build static non-ifunc-using - executable. Re-enable static non-ifunc-using executable check. - -2009-07-10 H.J. Lu <hongjiu.lu@intel.com> - - * ld-ifunc/ifunc.exp: Don't check static non-ifunc-using - executable. - -2009-07-10 H.J. Lu <hongjiu.lu@intel.com> - - * ld-ifunc/ifunc-1-local-x86.d: Updated. - * ld-ifunc/ifunc-1-x86.d: Likewise. - * ld-ifunc/ifunc-3a-x86.d: Likewise. - -2009-07-10 H.J. Lu <hongjiu.lu@intel.com> - - * ld-ifunc/ifunc-1-local-x86.d: Updated. - * ld-ifunc/ifunc-1-x86.d: Likewise. - * ld-ifunc/ifunc-2-local-x86-64.d: Likewise. - * ld-ifunc/ifunc-2-x86-64.d: Likewise. - * ld-ifunc/ifunc-3a-x86.d: Likewise. - -2009-07-10 Alan Modra <amodra@bigpond.net.au> - - * ld-ifunc/ifunc.exp: Run for powerpc. Really generate static - executables, renaming the existing dynamic but local tests. - -2009-07-08 Alan Modra <amodra@bigpond.net.au> - - * ld-selective/selective.exp: Remove check that $CC contains the - string "gcc". Do -dumpversion for $CXX. - -2009-06-30 Nick Clifton <nickc@redhat.com> - - PR 10288 - * ld-arm/arm-app.d: Update expcted disassembly. - * ld-arm/arm-be8.d: Likewise. - * ld-arm/arm-call.d: Likewise. - * ld-arm/arm-lib-plt32.d: Likewise. - * ld-arm/arm-lib.d: Likewise. - * ld-arm/arm-movwt.d: Likewise. - * ld-arm/arm-pic-veneer.d: Likewise. - * ld-arm/armthumb-lib.d: Likewise. - * ld-arm/armv4-bx.d: Likewise. - * ld-arm/cortex-a8-fix-b-rel-arm.d: Likewise. - * ld-arm/farcall-mixed-app-v5.d: Likewise. - * ld-arm/farcall-mixed-app.d: Likewise. - * ld-arm/farcall-mixed-lib.d: Likewise. - * ld-arm/farcall-thumb-arm-pic-veneer.d: Likewise. - * ld-arm/farcall-thumb-arm-short.d: Likewise. - * ld-arm/farcall-thumb-arm.d: Likewise. - * ld-arm/farcall-thumb-thumb-m-pic-veneer.d: Likewise. - * ld-arm/farcall-thumb-thumb-m.d: Likewise. - * ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise. - * ld-arm/farcall-thumb-thumb.d: Likewise. - * ld-arm/group-relocs.d: Likewise. - * ld-arm/mixed-app-v5.d: Likewise. - * ld-arm/mixed-app.d: Likewise. - * ld-arm/mixed-lib.d: Likewise. - * ld-arm/movw-merge.d: Likewise. - * ld-arm/thumb2-b-interwork.d: Likewise. - * ld-arm/tls-app.d: Likewise. - * ld-arm/tls-lib.d: Likewise. - -2009-06-29 Nick Clifton <nickc@redhat.com> - - PR 10288 - * ld-arm/arm-app-abs32.d: Update expected disassembly. - * ld-arm/arm-app.d: Likewise. - * ld-arm/arm-lib-plt32.d: Likewise. - * ld-arm/arm-lib.d: Likewise. - * ld-arm/arm-pic-veneer.d: Likewise. - * ld-arm/armthumb-lib.d: Likewise. - * ld-arm/farcall-mixed-app-v5.d: Likewise. - * ld-arm/farcall-mixed-app.d: Likewise. - * ld-arm/farcall-mixed-lib.d: Likewise. - * ld-arm/group-relocs.d: Likewise. - * ld-arm/mixed-app-v5.d: Likewise. - * ld-arm/mixed-app.d: Likewise. - * ld-arm/mixed-lib.d: Likewise. - * ld-arm/thumb2-bl-undefweak.d: Likewise. - -2009-06-27 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/10337 - * ld-ifunc/binutils.exp: New. - -2009-06-25 Kai Tietz <kai.tietz@onevision.com> - - * ld-pe/aligncomm-1.c (size_t): Add typedef. - (main): Use it for casting pointer to scalar. - * ld-pe/aligncomm-2.c: Likewise. - * ld-pe/aligncomm-3.c: Likewise. - * ld-pe/aligncomm-4.c: Likewise. - * ld-scripts/empty-address.exp: Make sure that for x86_64-*-mingw* - target imagebase is set to zero. - * ld-scripts/weak.exp: Don't fail for x86_64-*-mingw* target. - -2009-06-22 Christophe Lyon <christophe.lyon@st.com> - - ld/testsuite: - * ld-arm/farcall-mixed-app.s: Add new references to check more - modes switching. - * ld-arm/farcall-mixed-lib1.s: Likewise. - * ld-arm/farcall-mixed-app-v5.d: Update expected result. - * farcall-mixed-app.d: Likewise. - * ld-arm/farcall-mixed-lib.d: Likewise. - -2009-06-22 Dave Korn <dave.korn.cygwin@gmail.com> - - * ld-pe/pe-run.exp (proc test_direct_link_dll): Fix incorrect - line-wrapping. - -2009-06-19 H.J. Lu <hongjiu.lu@intel.com> - - * ld-i386/i386.exp: Run tlsgd2. - - * ld-i386/tlsgd2.d: New. - * ld-i386/tlsgd2.s: Likewise. - - * ld-x86-64/tlsgd3.d: Updated. - -2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com> - - * ld-pe/pe-run.exp (proc test_direct_link_dll): Always pass - --enable-auto-import to the linker. - * ld-pe/vers-script-1.d: Replace '\$' by '_' in all symbol names. - * ld-pe/vers-script-3.d: Likewise. - * ld-pe/vers-script-4.d: Likewise. - * ld-pe/vers-script-dll.c: Likewise. - * lib/ld-lib.exp (proc is_pecoff_format): Also return true for - "*-*-cegcc*" targets. - -2009-06-15 H.J. Lu <hongjiu.lu@intel.com> - - * ld-ifunc/ifunc-9-x86.d: Fix a typo. - -2009-06-14 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/10270 - * ld-ifunc/ifunc-9-x86.d: New. - * ld-ifunc/ifunc-9-x86.s: Likewise. - -2009-06-13 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/10269 - * ld-ifunc/ifunc-1-local-x86.d: New. - * ld-ifunc/ifunc-1-local-x86.s: Likewise. - * ld-ifunc/ifunc-2-local-i386.d: Likewise. - * ld-ifunc/ifunc-2-local-i386.s: Likewise. - * ld-ifunc/ifunc-2-local-x86-64.d: Likewise. - * ld-ifunc/ifunc-2-local-x86-64.s: Likewise. - * ld-ifunc/ifunc-4-local-x86.d: Likewise. - * ld-ifunc/ifunc-4-local-x86.s: Likewise. - * ld-ifunc/ifunc-5-local-i386.s: Likewise. - * ld-ifunc/ifunc-5-local-x86-64.s: Likewise. - * ld-ifunc/ifunc-5a-local-i386.d: Likewise. - * ld-ifunc/ifunc-5a-local-x86-64.d: Likewise. - * ld-ifunc/ifunc-5b-local-i386.d: Likewise. - * ld-ifunc/ifunc-5b-local-x86-64.d: Likewise. - -2009-06-03 H.J. Lu <hongjiu.lu@intel.com> - - * ld-ifunc/ifunc-2-x86-64.d: Pass --64 to as and -melf_x86_64 to - ld. - * ld-ifunc/ifunc-5a-x86-64.d: Likewise. - * ld-ifunc/ifunc-5b-x86-64.d: Likewise. - * ld-ifunc/ifunc-6a-x86-64.d: Likewise. - * ld-ifunc/ifunc-6b-x86-64.d: Likewise. - * ld-ifunc/ifunc-7a-x86-64.d: Likewise. - * ld-ifunc/ifunc-7b-x86-64.d: Likewise. - - * ld-ifunc/ifunc-8a-i386.s: New. - * ld-ifunc/ifunc-8a-x86-64.s: Likewise. - * ld-ifunc/ifunc-8b-i386.s: Likewise. - * ld-ifunc/ifunc-8b-x86-64.s: Likewise. - * ld-ifunc/ifunc-8-i386.d: Likewise. - * ld-ifunc/ifunc-8-x86-64.d: Likewise. - -2009-06-02 Richard Sandiford <r.sandiford@uk.ibm.com> - - * ld-powerpc/aix-glink-3.s, ld-powerpc/aix-glink-3a.s, - ld-powerpc/aix-glink-3b.s, ld-powerpc/aix-glink-3.dd, - ld-powerpc/aix-glink-3-32.d, ld-powerpc/aix-glink-3-64.d: New tests. - * ld-powerpc/aix52.exp: Run them. Move the lineno tests to maintain - alphabetical order. - -2009-06-02 H.J. Lu <hongjiu.lu@intel.com> - - * ld-ifunc/ifunc-5-i386.d: Renamed to ... - * ld-ifunc/ifunc-5a-i386.d: This. - - * ld-ifunc/ifunc-5-x86-64.d: Renamed to ... - * ld-ifunc/ifunc-5a-x86-64.d: This. - - * ld-ifunc/ifunc-5b-i386.d: New. - * ld-ifunc/ifunc-5b-x86-64.d: Likewise. - * ld-ifunc/ifunc-6a-i386.d: Likewise. - * ld-ifunc/ifunc-6a-x86-64.d: Likewise. - * ld-ifunc/ifunc-6b-i386.d: Likewise. - * ld-ifunc/ifunc-6b-x86-64.d: Likewise. - * ld-ifunc/ifunc-6-i386.s: Likewise. - * ld-ifunc/ifunc-6-x86-64.s: Likewise. - * ld-ifunc/ifunc-7a-i386.d: Likewise. - * ld-ifunc/ifunc-7a-x86-64.d: Likewise. - * ld-ifunc/ifunc-7b-i386.d: Likewise. - * ld-ifunc/ifunc-7b-x86-64.d: Likewise. - * ld-ifunc/ifunc-7-i386.s: Likewise. - * ld-ifunc/ifunc-7-x86-64.s: Likewise. - -2009-06-01 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/10205 - * ld-ifunc/ifunc.exp (contains_irelative_reloc): New. - Use it on executable and shared library. - Run *.d. - - * ld-ifunc/lib.c: Add a hidden alias, __GI_library_func2, for - library_func2. - (library_func): New. - - * ld-ifunc/ifunc-1-x86.d: New. - * ld-ifunc/ifunc-1-x86.s: Likewise. - * ld-ifunc/ifunc-2-i386.d: Likewise. - * ld-ifunc/ifunc-2-i386.s: Likewise. - * ld-ifunc/ifunc-2-x86-64.d: Likewise. - * ld-ifunc/ifunc-2-x86-64.s: Likewise. - * ld-ifunc/ifunc-3a-x86.d: Likewise. - * ld-ifunc/ifunc-3b-x86.d: Likewise. - * ld-ifunc/ifunc-3-x86.s: Likewise. - * ld-ifunc/ifunc-4-x86.d: Likewise. - * ld-ifunc/ifunc-4-x86.s: Likewise. - * ld-ifunc/ifunc-5-i386.d: Likewise. - * ld-ifunc/ifunc-5-i386.s: Likewise. - * ld-ifunc/ifunc-5-x86-64.d: Likewise. - * ld-ifunc/ifunc-5-x86-64.s: Likewise. - -2009-05-27 Dave Korn <dave.korn.cygwin@gmail.com> - - * ld-pe/non-c-lang-syms.c: New dump test source file. - * ld-pe/non-c-lang-syms.d: New dump test pattern file. - * ld-pe/pe.exp: Run new "foreign symbol" test. - -2009-05-26 Nathan Sidwell <nathan@codesourcery.com> - - * ld-powerpc/vxworks-relax-2.s: New. - * ld-powerpc/vxworks-relax-2.rd: New. - * ld-powerpc/powerpc.exp: Add it. - -2009-05-22 Hans-Peter Nilsson <hp@axis.com> - - * ld-scripts/rgn-over7.d: Adjust expected message for recent change. - -2009-05-22 Julian Brown <julian@codesourcery.com> - - * ld-arm/cortex-a8-arm-target.s: New. - * ld-arm/cortex-a8-thumb-target.s: New. - * ld-arm/cortex-a8-fix-b-rel.s: New. - * ld-arm/cortex-a8-fix-b-rel-arm.d: New. - * ld-arm/cortex-a8-fix-b-rel-thumb.d: New. - * ld-arm/cortex-a8-fix-b.s: New. - * ld-arm/cortex-a8-fix-b.d: New. - * ld-arm/cortex-a8-fix-bl-rel.s: New. - * ld-arm/cortex-a8-fix-bl-rel-arm.d: New. - * ld-arm/cortex-a8-fix-bl-rel-thumb.d: New. - * ld-arm/cortex-a8-fix-bl.s: New. - * ld-arm/cortex-a8-fix-bl.d: New. - * ld-arm/cortex-a8-fix-bcc-rel.s: New. - * ld-arm/cortex-a8-fix-bcc-rel-thumb.d: New. - * ld-arm/cortex-a8-fix-bcc.s: New. - * ld-arm/cortex-a8-fix-bcc.d: New. - * ld-arm/cortex-a8-fix-blx-rel.s: New. - * ld-arm/cortex-a8-fix-blx-rel-arm.d: New. - * ld-arm/cortex-a8-fix-blx-rel-thumb.d: New. - * ld-arm/cortex-a8-fix-blx.s: New. - * ld-arm/cortex-a8-fix-blx.d: New. - * ld-arm/arm-elf.exp: Add new tests. - -2009-05-22 Nathan Sidwell <nathan@codesourcery.com> - - * ld-scripts/rgn-at4.t: New. - * ld-scripts/rgn-at4.d: New. - -2009-05-21 Dave Korn <dave.korn.cygwin@gmail.com> - - * ld-pe/aligncomm-1.c (_alloca): Add dummy definition to - satisfy final link on Windows targets when using gcc-3. - * ld-pe/aligncomm-2.c (_alloca): Likewise. - * ld-pe/aligncomm-3.c (_alloca): Likewise. - * ld-pe/aligncomm-4.c (_alloca): Likewise. - -2009-05-20 Dave Korn <dave.korn.cygwin@gmail.com> - - * lib/ld-lib.exp (run_ld_link_tests): Filter test names against - runtests list. - -2009-05-19 Dave Korn <dave.korn.cygwin@gmail.com> - - * ld-pe/aligncomm-1.c: New test source file. - * ld-pe/aligncomm-2.c: Likewise. - * ld-pe/aligncomm-3.c: Likewise. - * ld-pe/aligncomm-4.c: Likewise. - * ld-pe/aligncomm.d: New test pattern file. - - * ld-pe/direct.exp: Deleted, and content moved into ... - * ld-pe/pe-run.exp: ... New common file for all PE run tests. - - * ld-pe/vers-script.exp: Deleted, and content merged into ... - * ld-pe/pe-compile.exp: ... New common file for PE tests needing - a compiler, adding aligned common tests. - - * ld-pe/pe.exp: Update header comment. - -2009-05-17 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> - - * ld-pe/exports.d: New file. - * ld-pe/exports.s: New file. - * ld-pe/pe.exp: New test for empty export table. - -2009-05-16 Alan Modra <amodra@bigpond.net.au> - - * ld-elf/orphan3.d, * ld-elf/orphan3a.s, * ld-elf/orphan3b.s, - * ld-elf/orphan3c.s, * ld-elf/orphan3d.s, * ld-elf/orphan3e.s, - * ld-elf/orphan3f.s: Increase section size to 16. - * ld-pe/orphan.d, * ld-pe/orphana.s, * ld-pe/orphanb.s, - * ld-pe/orphand.s, * ld-pe/orphane.s: Likewise. - -2009-05-15 Alan Modra <amodra@bigpond.net.au> - - * ld-elf/orphan3.d, * ld-elf/orphan3a.s, * ld-elf/orphan3b.s, - * ld-elf/orphan3c.s, * ld-elf/orphan3d.s, * ld-elf/orphan3e.s, - * ld-elf/orphan3f.s: New test. - * ld-pe/orphan.d, * ld-pe/orphana.s, * ld-pe/orphanb.s, - * ld-pe/orphand.s, * ld-pe/orphane.s: New test. - * ld-pe/direct.exp: Use is_pecoff_format. - * ld-pe/longsecn.exp: Delete. - * ld-pe/pe.exp: Run new test and longsecn tests. - -2009-05-15 Andrew Stubbs <ams@codesourcery.com> - Paul Brook <paul@codesourcery.com> - - * ld-arm/arm-elf.exp: Add unwind-5. - * ld-arm/discard-unwind.ld: New file. - * ld-arm/unwind-5.d: New test. - * ld-arm/unwind-5.s: New test. - -2009-05-14 Ulrich Weigand <uweigand@de.ibm.com> - - * ld-spu/icache1.d: Update for compact stubs. - -2009-05-14 Ulrich Weigand <uweigand@de.ibm.com> - - * ld-spu/icache1.d: Update all addresses to accomodate icache - buffer shifted down 0x800 bytes. - -2009-05-14 Ulrich Weigand <uweigand@de.ibm.com> - - * ld-spu/icache.d: Update file offsets. - * ld-spu/ovl.d: Likewise. - * ld-spu/ovl1.d: Likewise. - -2009-05-14 Alan Modra <amodra@bigpond.net.au> - - * ld-spu/icache1.d: Update for changed overlay manager placement. - * ld-spu/ovl.d: Likewise. - * ld-spu/ovl2.d: Likewise. - -2009-05-05 Paul Brook <paul@codesourcery.com> - - * ld-arm/arm.ld: Add .ARM.exidx and .ARM.extab. - * ld-arm/arm-elf.exp: Add unwind-[1-4]. - * ld-arm/unwind-1.d: New test. - * ld-arm/unwind-1.s: New test. - * ld-arm/unwind-2.d: New test. - * ld-arm/unwind-2.s: New test. - * ld-arm/unwind-3.d: New test. - * ld-arm/unwind-3.s: New test. - * ld-arm/unwind-4.d: New test. - * ld-arm/unwind-4.s: New test. - -2009-05-01 Julian Brown <julian@codesourcery.com> - - * ld-arm/arm-elf.exp (armeabitests): Add thumb2-bl-blx-interwork test. - * ld-arm/thumb2-bl-blx-interwork.s: New. - * ld-arm/thumb2-bl-blx-interwork.d: New. - -2009-04-30 Nick Clifton <nickc@redhat.com> - - * ld-ifunc: New directory. - * ld-ifunc/ifunc.exp: New file: Run the IFUNC tests. - * ld-ifunc/prog.c: New file. - * ld-ifunc/lib.c: New file. - -2009-04-30 Joseph Myers <joseph@codesourcery.com> - - * ld-arm/movw-shared-1.d, ld-arm/movw-shared-1.s, - ld-arm/movw-shared-2.d, ld-arm/movw-shared-2.s, - ld-arm/movw-shared-3.d, ld-arm/movw-shared-3.s, - ld-arm/movw-shared-4.d, ld-arm/movw-shared-4.s: New tests. - * ld-arm/arm-elf.exp: Run these new tests. - -2009-04-29 Chris Demetriou <cgd@google.com> - - * ld-elfvers/vers.exp (vers4b): New test to verify that - --no-export-dynamic undoes --export-dynamic. - -2009-04-28 Nathan Sidwell <nathan@codesourcery.com> - - * ld-i386/vxworks1-lib.dd: Adjust expected disassembly. - * ld-i386/vxworks1.dd: Adjust expected disassembly. - * ld-i386/vxworks1-lib.rd: Sections are swapped. - -2009-04-22 Christophe Lyon <christophe.lyon@st.com> - - PR9743 - * ld-arm/arm-call.d: Update expected result. - * ld-arm/arm-pic-veneer.d: Likewise. - * ld-arm/thumb2-b-interwork.d: Likewise. - -2009-04-22 Nathan Sidwell <nathan@codesourcery.com> - - * ld-scripts/rgn-at1.d: Cope with larger padding on sections. - * ld-scripts/rgn-at2.d: Likewise. - * ld-scripts/rgn-at3.d: Likewise. - -2009-04-21 Daniel Jacobowitz <dan@codesourcery.com> - - * ld-arm/farcall-mix.d, ld-arm/farcall-mix2.d, - ld-arm/farcall-group-size2.d, ld-arm/farcall-group.d, - ld-arm/farcall-mixed-lib.d: Update for linker changes. - -2009-04-17 Christophe Lyon <christophe.lyon@st.com> - - * ld-arm/arm-elf.exp: Add new test farcall-mixed-lib. - * ld-arm/farcall-mixed-lib.d: Update expected output. - * ld-arm/farcall-mixed-lib1.s: New file. - * ld-arm/farcall-mixed-lib2.s: New file. - -2009-04-16 Richard Sandiford <r.sandiford@uk.ibm.com> - - * ld-powerpc/aix-export-2.s, ld-powerpc/aix-export-2.nd: New test. - * ld-powerpc/aix52.exp: Run it. - -2009-04-16 Alan Modra <amodra@bigpond.net.au> - - * ld-libs/lib-1.s: Use "==" instead of ".set". - * ld-libs/lib-2.s: Likewise. - * ld-scripts/defined.s: Likewise. - -2009-04-15 Christophe Lyon <christophe.lyon@st.com> - - * ld-arm/arm-elf.exp: Add 1 more test to check undef weak - reference with PLT in ARM mode. - * ld-arm/thumb2-bl-undefweak1.d, ld-arm/thumb2-bl-undefweak1.s: - New files. - -2009-04-08 H.J. Lu <hongjiu.lu@intel.com> - - * ld-i386/abs.d: Add --32 for assembler and -melf_i386 for - linker. - -2009-04-03 Nathan Sidwell <nathan@codesourcery.com> - - * ld-scripts/rgn-at.s: Use explicit .section pseudos. - -2009-04-03 Dave Korn <dave.korn.cygwin@gmail.com> - - * ld-pe/image_size.d (#target): Also run test on Cygwin and x86_64 - MinGW targets. - -2009-04-03 Nathan Sidwell <nathan@codesourcery.com> - - * ld-scripts/rgn-at.exp: New. - * ld-scripts/rgn-at.s: New. - * ld-scripts/rgn-at1.d: New. - * ld-scripts/rgn-at1.t: New. - * ld-scripts/rgn-at2.d: New. - * ld-scripts/rgn-at2.t: New. - * ld-scripts/rgn-at3.d: New. - * ld-scripts/rgn-at3.t: New. - -2009-04-03 Dave Korn <dave.korn.cygwin@gmail.com> - - * ld-pe/export_dynamic_warning.s: Make dummy code portable. - -2009-04-02 Dave Korn <dave.korn.cygwin@gmail.com> - - * ld-pe/export_dynamic_warning.d (#warning): Fix regex pattern. - -2009-04-02 Dave Korn <dave.korn.cygwin@gmail.com> - - PR ld/6744 - * ld-pe/export_dynamic_warning.d: New test control file. - * ld-pe/export_dynamic_warning.s: New test source file. - * ld-pe/pe.exp: Also run export_dynamic_warning dump test. - -2009-04-02 Christophe Lyon <christophe.lyon@st.com> - - * ld-arm/farcall-thumb-thumb-pic-veneer.d: Update expected - results. - * ld-arm/farcall-thumb-thumb.d: Likewise. - -2009-04-02 Nick Clifton <nickc@redhat.com> - - PR 9987 - * lib/ld-lib.exp (check_gc_sections_available): Do not run garbage - collection tests for cygwin targets. - -2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com> - - * ld-powerpc/aix-gc-1.nd: New test. - * ld-powerpc/aix52.exp: Run it. - -2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com> - - * ld-powerpc/aix-rel-1.s, ld-powerpc/aix-rel-1.od: New test. - * ld-powerpc/aix52.exp: Run it. - -2009-04-01 Dave Korn <dave.korn.cygwin@gmail.com> - - * ld-cygwin/exe-export.exp: Add "-lkernel32" when linking test exe. - * ld-cygwin/testexe.c (testexe_main): Indicate whether global_a - was set to correct final value using error return status. - (testexe_dummy): Dummy function calls an import from kernel32.dll - to ensure it is mapped into the process space at runtime. - -2009-04-01 Christophe Lyon <christophe.lyon@st.com> - - * ld-arm/arm-elf.exp: BE8 tests expect the same output as the - default ones. - * ld-arm/arm-be8.d: Print opcodes in little endian. - * ld-arm/farcall-thumb-arm-be8.d: Removed useless expected result. - * ld-arm/farcall-arm-arm-be8.d: Likewise. - -2009-03-25 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/tls-e-dtpoffd3.d, ld-cris/tls-e-tpoffcomm1.d, - ld-cris/tls-e-tpoffcomm1.s: New tests. - -2009-03-24 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/tls-commx.s, ld-cris/tls-dso-dtpoffd2.d, - ld-cris/tls-dso-dtpoffd4.d, ld-cris/tls-dtpoffdx.s, - ld-cris/tls-e-dtpoffd1.d: New tests. - - * ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-21.d, - ld-cris/tls-e-80.d, ld-cris/tls-gd-3.d, ld-cris/tls-gd-3h.d, - ld-cris/tls-global-74.d, ld-cris/tls-ldgde-14.d, - ld-cris/tls-ldgde-15.d, ld-cris/tls-legd-16.d, - ld-cris/tls-legd-17.d, ld-cris/tls-local-57.d, - ld-cris/tls-local-58.d, ld-cris/tls-local-59.d: Adjust for BFD - change in link-time known GOT contents for GD relocations. - -2009-03-20 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/9970 - * ld-pie/pie.exp: Use -fpie to compile. Run *.d tests. - - * ld-pie/start.d: New. - * ld-pie/start.s: Likewise. - -2009-03-18 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/6766 - * ld-undefined/dummy.s: New. - * ld-undefined/entry-1.d: Likewise. - * ld-undefined/entry-2.d: Likewise. - * ld-undefined/entry-3.d: Likewise. - * ld-undefined/entry-4.d: Likewise. - * ld-undefined/entry-5.d: Likewise. - * ld-undefined/entry-6.d: Likewise. - * ld-undefined/entry.exp: Likewise. - * ld-undefined/entry.s: Likewise. - -2009-03-17 Alan Modra <amodra@bigpond.net.au> - - * ld-spu/icache1.d: Update for fixed set_id, new manager entry, and - reduced data. - -2009-03-17 Alan Modra <amodra@bigpond.net.au> - - * config/default.exp (get_link_files): Replace double dollars with - single dollars. - -2009-03-17 Alan Modra <amodra@bigpond.net.au> - - * ld-bootstrap/bootstrap.exp: Use DO_COMPARE. Remove unnecessary - cleanup and log output. - -2009-03-16 Dave Korn <dave.korn.cygwin@gmail.com> - - * ld-bootstrap/bootstrap.exp: Also pass '-liconv' to linker when - linking statically on Cygwin, necessitated by '-lintl'. - -2009-03-15 Dave Korn <dave.korn.cygwin@gmail.com> - - * ld-auto-import/auto-import.exp: Add missing dll entrypoint. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * ld-powerpc/aix-export-1-all.dd, ld-powerpc/aix-export-1-full.dd, - ld-powerpc/aix-export-1a.s, ld-powerpc/aix-export-1b.s: New tests. - * ld-powerpc/aix52.exp: Run them. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * ld-powerpc/aix-gc-1.s, ld-powerpc/aix-gc-1.ex, - ld-powerpc/aix-gc-1-32.dd, ld-powerpc/aix-gc-1-64.dd, - ld-powerpc/aix-weak-1-gcdso.dnd, ld-powerpc/aix-weak-1-gcdso.hd, - ld-powerpc/aix-weak-1-gcdso.nd: New tests. - * ld-powerpc/aix52.exp: Run them. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * ld-powerpc/aix-glink-2a.s, ld-powerpc/aix-glink-2a.ex, - ld-powerpc/aix-glink-2b.s, ld-powerpc/aix-glink-2c.s, - ld-powerpc/aix-glink-2c.ex, ld-powerpc/aix-glink-2d.s, - ld-powerpc/aix-glink-2-32.dd, ld-powerpc/aix-glink-2-64.dd, - ld-powerpc/aix-weak-1a.s, ld-powerpc/aix-weak-1b.s, - ld-powerpc/aix-weak-1-rel.hd, ld-powerpc/aix-weak-1-rel.nd, - ld-powerpc/aix-weak-1-dso.hd, ld-powerpc/aix-weak-1-dso.nd, - ld-powerpc/aix-weak-1-dso.dnd, ld-powerpc/aix-weak-1.ex, - ld-powerpc/aix-weak-2a.s, ld-powerpc/aix-weak-2a.ex, - ld-powerpc/aix-weak-2a.nd, ld-powerpc/aix-weak-2b.s, - ld-powerpc/aix-weak-2b.nd, ld-powerpc/aix-weak-2c.s, - ld-powerpc/aix-weak-2c.ex, ld-powerpc/aix-weak-2c.nd, - ld-powerpc/aix-weak-2c.od, ld-powerpc/aix-weak-3a.s, - ld-powerpc/aix-weak-3a.ex, ld-powerpc/aix-weak-3b.s, - ld-powerpc/aix-weak-3b.ex, ld-powerpc/aix-weak-3-32.d, - ld-powerpc/aix-weak-3-32.dd, ld-powerpc/aix-weak-3-64.d, - ld-powerpc/aix-weak-3-64.dd: New tests. - * ld-powerpc/aix52.exp: Run them. Replace tmp/aix-* with - tmp/aix64-* in 64-bit ld options. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * ld-powerpc/aix-no-dup-syms-1a.s, ld-powerpc/aix-no-dup-syms-1b.s, - ld-powerpc/aix-no-dup-syms-1.ex, ld-powerpc/aix-no-dup-syms-1.im, - ld-powerpc/aix-no-dup-syms-1-dso.dnd, - ld-powerpc/aix-no-dup-syms-1-dso.drd, - ld-powerpc/aix-no-dup-syms-1-dso.nd, - ld-powerpc/aix-no-dup-syms-1-dso.rd, - ld-powerpc/aix-no-dup-syms-1-rel.nd, - ld-powerpc/aix-no-dup-syms-1-rel.rd: New tests. - * ld-powerpc/aix52.exp: Run them. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * ld-powerpc/aix-abs-branch-1.nd, - ld-powerpc/aix-abs-reloc-1.nd: New tests. - * ld-powerpc/aix52.exp: Run them. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * ld-powerpc/aix-lineno-1.s, ld-powerpc/aix-lineno-1.txt, - ld-powerpc/aix-lineno-1a.dd, ld-powerpc/aix-lineno-1a.nd, - ld-powerpc/aix-lineno-1b.dd, ld-powerpc/aix-lineno-1b.nd: New tests. - * ld-powerpc/aix52.exp: Run them. Copy aix-lineno-1.txt to tmpdir. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * ld-powerpc/aix-toc-1.ex, ld-powerpc/aix-toc-1a.s, - ld-powerpc/aix-toc-1b.s, ld-powerpc/aix-toc-1-32.dd, - ld-powerpc/aix-toc-1-64.dd: New tests. - * ld-powerpc/aix52.exp: Run them. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * ld-powerpc/aix-glink-1.ex, ld-powerpc/aix-glink-1.s, - ld-powerpc/aix-glink-1-32.dd, ld-powerpc/aix-glink-1-64.dd, - ld-powerpc/aix-glink-1-32.d, ld-powerpc/aix-glink-1-64.d: New tests. - * ld-powerpc/aix52.exp: Run them. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * ld-powerpc/aix-abs-branch-1.im, ld-powerpc/aix-abs-branch-1.ex, - ld-powerpc/aix-abs-branch-1.s, - ld-powerpc/aix-abs-branch-1.dd: New test. - * ld-powerpc/aix52.exp: Run it. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * ld-powerpc/aix-abs-reloc-1.ex, ld-powerpc/aix-abs-reloc-1.im, - ld-powerpc/aix-abs-reloc-1.od, ld-powerpc/aix-abs-reloc-1.s: New test. - * ld-powerpc/aix52.exp: Run it. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * ld-powerpc/aix-core-sec-1.s, ld-powerpc/aix-core-sec-1.ex, - ld-powerpc/aix-core-sec-1.hd, ld-powerpc/aix-core-sec-2.s, - ld-powerpc/aix-core-sec-2.ex, ld-powerpc/aix-core-sec-2.hd, - ld-powerpc/aix-core-sec-3.s, ld-powerpc/aix-core-sec-3.ex, - ld-powerpc/aix-core-sec-3.hd: New tests. - * ld-powerpc/aix52.exp: New harness. - -2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> - - * lib/ld-lib.exp (ar_simple_create): Add an "aropts" parameter. - (run_ld_link_tests): Treat the second list element as "ar" options - when creating an archive. Don't run the linker in this case. - (run_cc_link_tests): Likewise. - -2009-03-13 Nick Clifton <nickc@redhat.com> - - * lib/ld-lib.exp (run_dump_test): Add verbose to list of globals. - Replace call to verbose_eval with a test of verbose level. If - greater than 2 always dump the contents of the dumpfile. If equal - to 2 only dump the contents if the regexp diff failed. - (proc verbose_eval): Delete. - -2009-03-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * ld-elf/empty2.d: Remove xfail for hppa*-*-*. - * ld-elf/merge.d: Change xfail for hppa to hppa*64*-*-*. - -2009-03-05 Christophe Lyon <christophe.lyon@st.com> - - * ld-arm/arm-elf.exp: Add new farcall-group-limit test. - * ld-arm/farcall-group-limit.d: New file. - * ld-arm/farcall-group3.s: New file. - * ld-arm/farcall-group4.s: New file. - -2009-03-05 Christophe Lyon <christophe.lyon@st.com> - - * ld-arm/arm-elf.exp: Add 2 more tests to check long branch stubs - in PLT context. - * ld-arm/farcall-mixed-app-v5.d: New file. - * ld-arm/farcall-mixed-app.d: Likewise. - * ld-arm/farcall-mixed-app.r: Likewise. - * ld-arm/farcall-mixed-app.s: Likewise. - * ld-arm/farcall-mixed-app.sym: Likewise. - * ld-arm/farcall-mixed-lib.d: Likewise. - * ld-arm/farcall-mixed-lib.r: Likewise. - -2009-03-04 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/tlsmark.s, * ld-powerpc/tlsmark.d: New test. - * ld-powerpc/tlsmark32.s, * ld-powerpc/tlsmark32.d: New test. - * ld-powerpc/powerpc.exp: Run them. - -2009-03-02 Sebastian Huber <sebastian.huber@embedded-brains.de> - - * ld-scripts/regions-alias-1.t: New file. - * ld-scripts/regions-alias-2.t: New file. - * ld-scripts/regions-alias-3.t: New file. - * ld-scripts/regions-alias-4.t: New file. - * ld-scripts/script.exp: Run region alias tests. - -2009-02-27 Dave Korn <dave.korn.cygwin@gmail.com> - - * ld-pe/pe.exp: Disable auto-import when linking on Cygwin. - -2009-02-26 Christophe Lyon <christophe.lyon@st.com> - - * ld-arm/arm-elf.exp: Add 3 tests for the 3 new stubs. - * ld-arm/farcall-thumb-arm-pic-veneer.d: New expected result, the - test is now expected to pass. - * ld-arm/farcall-thumb-thumb-m-pic-veneer.d: Likewise. - * ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise. - -2009-02-25 Christophe Lyon <christophe.lyon@st.com> - - * ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: Update expected result, - as stubs are now generated and the end of the .text section. - * ld-arm/thumb2-bl-bad-noeabi.d: Likewise. - -2009-02-24 Daniel Jacobowitz <dan@codesourcery.com> - - * ld-arm/farcall-arm-thumb-blx-pic-veneer.d, - ld-arm/farcall-arm-thumb-pic-veneer.d, - ld-arm/farcall-thumb-thumb-blx-pic-veneer.d: Update for fixed - Thumb PIC stub. - -2009-02-24 Daniel Jacobowitz <dan@codesourcery.com> - - * ld-arm/arm-elf.exp (armeabitests): Update duplicate test names. - Use normal output files for big-endian. - * ld-arm/farcall-arm-arm-be.d, ld-arm/farcall-thumb-arm-be.d: Delete. - * ld-arm/farcall-arm-arm-be8.d, ld-arm/farcall-arm-arm-pic-veneer.d, - ld-arm/farcall-arm-arm.d, ld-arm/farcall-arm-thumb-blx-pic-veneer.d, - ld-arm/farcall-arm-thumb-blx.d, ld-arm/farcall-arm-thumb-pic-veneer.d, - ld-arm/farcall-arm-thumb.d, ld-arm/farcall-group-size2.d, - ld-arm/farcall-group.d, ld-arm/farcall-mix.d, ld-arm/farcall-mix2.d, - ld-arm/farcall-thumb-arm-be8.d, - ld-arm/farcall-thumb-arm-blx-pic-veneer.d, - ld-arm/farcall-thumb-arm-blx.d, ld-arm/farcall-thumb-arm-short.d, - ld-arm/farcall-thumb-arm.d, - ld-arm/farcall-thumb-thumb-blx-pic-veneer.d, - ld-arm/farcall-thumb-thumb-blx.d, ld-arm/farcall-thumb-thumb-m.d, - ld-arm/farcall-thumb-thumb.d, ld-arm/thumb2-bl-as-thumb1-bad.d, - ld-arm/thumb2-bl-bad.d: Update for moved stubs. - -2009-02-23 Daniel Jacobowitz <dan@codesourcery.com> - - * ld-arm/arm-elf.exp (armeabitests): Run new tests. Correct BE8 output - filename. - * ld-arm/farcall-arm-arm-be.d, ld-arm/farcall-thumb-arm-be.d: New. - -2009-02-23 Christophe Lyon <christophe.lyon@st.com> - - * ld-arm/arm-elf.exp: Add new farcall-thumb-arm-be8 test. - * ld-arm/farcall-thumb-arm-be8.d: New expected result. - * ld-arm/farcall-arm-arm-be8.d: Replace wildcards by instructions. - -2009-02-23 Christophe Lyon <christophe.lyon@st.com> - - * ld-arm/arm-elf.exp: Rewrite non-EABI variants of - thumb2-bl-as-thumb1-bad and thumb2-bl-bad tests, which now - pass. farcall-thumb-thumb now passes in EABI mode. - * ld-arm/farcall-thumb-arm-pic-veneer.d: Fixed name, source, as - and ld flags to match intended test. - * ld-arm/farcall-thumb-arm.d: New expected result. - * ld-arm/farcall-thumb-thumb-m.d: Likewise. - * ld-arm/farcall-thumb-thumb-m-pic-veneer.d: Fixed name and ld - flags. - * ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise. - * ld-arm/farcall-thumb-thumb.d: New expected result, this test is - now expected to pass. - * ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: Likewise. - * ld-arm/thumb2-bl-bad-noeabi.d: Likewise. - * ld-arm/thumb2-bl-as-thumb1-bad.d: Update addresses according to - new use. - * ld-arm/thumb2-bl-as-thumb1-bad.s: Update comment. - -2009-18-02 Dave Korn <dave.korn.cygwin@gmail.com> - - * ld-pe/longsecn-1.d: New test file. - * ld-pe/longsecn-2.d: Likewise. - * ld-pe/longsecn-3.d: Likewise. - * ld-pe/longsecn-4.d: Likewise. - * ld-pe/longsecn-5.d: Likewise. - * ld-pe/longsecn.d: Likewise. - * ld-pe/longsecn.exp: New test control script. - * ld-pe/longsecn.s: New test source file. - -2009-02-18 Christophe Lyon <christophe.lyon@st.com> - - * ld-arm/farcall-arm-arm-pic-veneer.d, - ld-arm/farcall-arm-thumb-blx-pic-veneer.d, - ld-arm/farcall-arm-thumb-pic-veneer.d, - ld-arm/farcall-thumb-arm-blx-pic-veneer.d, - ld-arm/farcall-thumb-thumb-blx-pic-veneer.d: Fix expected stub - target. - -2009-02-06 Joseph Myers <joseph@codesourcery.com> - - * lib/ld-lib.exp (check_gc_sections_available): Return 0 for - *-*-mingw*. - -2009-02-05 Joseph Myers <joseph@codesourcery.com> - - * ld-arm/arm-elf.exp (armeabitests): Restore thumb2-b-interwork. - -2009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com> - - * ld-m68k/got-multigot-12-13-14-34-35-ok.d: Update. - * ld-m68k/got-multigot-14-ok.d: Update. - * ld-m68k/m68k-got.exp: Update. - * ld-m68k/got-negative-12-13-14-34-ok.d: Update. - * ld-m68k/got-negative-14-ok.d: Update. - * ld-m68k/tls-gd-1.d, ld-m68k/tls-gd-2.d: New tests. - * ld-m68k/tls-gd-ie-1.d, ld-m68k/tls-ie-1.d: New tests. - * ld-m68k/tls-ld-1.d, ld-m68k/tls-ld-2.d: New tests. - * ld-m68k/tls-ld-1.s, ld-m68k/tls-ld-2.s, ld-m68k/tls-le-1.s: - New test sources. - * ld-m68k/tls-no-1.s, ld-m68k/tls-gd-ie-1.s, ld-m68k/tls-gd-1.s: - New test sources. - * ld-m68k/tls-gd-2.s, ld-m68k/tls-ie-1.s: New test sources. - * ld-m68k/m68k.exp: Run new tests. - (merge isa-a isa-a:nodiv): Fix. - -2009-02-01 Jan Kratochvil <jan.kratochvil@redhat.com> - - * ld-elf/eh-group2.s: New `.cfi_lsda' referencing `.gcc_except_table'. - * ld-elf/eh-group.exp: New test and conditional defininiton of `ELF64'. - -2009-01-29 Nick Clifton <nickc@redhat.com> - - * lib/ld-lib.exp (check_gc_sections_available): Add MeP to list of - targets which do not support garbage collection. - * ld-srec/srec.exp (run_srec_test): Expect tests to fail for MeP. - * ld-elf/group8a.d: Likewise. - * ld-elf/group8b.d: Likewise. - * ld-elf/group9a.d: Likewise. - * ld-elf/group9b.d: Likewise. - -2009-01-27 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/tls-tbss64.s, ld-cris/tls-e-80.d: New test. - - * ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-22.d, - ld-cris/tls-ldgde-14.d, ld-cris/tls-ldgde-15.d, - ld-cris/tls-ldgdex-14.d, ld-cris/tls-ldgdex-15.d: Adjust for - change in relocation values. - - * ld-cris/weakhiddso.d, ld-cris/weakhid.s: New test. - -2009-01-26 Nathan Sidwell <nathan@codesourcery.com> - - * ld-powerpc/powerpc.exp: Add vxworks relax testcase. - * ld-powerpc/vxworks-relax.s, ld-powerpc/vxworks-relax.rd: New. - * ld-powerpc/vxworks1.ld: Add .pad and .far input sections. - * ld-powerpc/vxworks1.rd: Correct regexp for undefined symbols. - -2009-01-26 Andrew Stubbs <ams@codesourcery.com> - - * ld-arm/attr-merge-3.attr: Update following gas change. - * ld-arm/attr-merge-2.attr: Update Tag_ARM_ISA_use and - Tag_THUMB_ISA_use following gas changes. - * ld-arm/attr-merge-4.attr: Likewise. - * ld-arm/attr-merge-5.attr: Likewise. - * ld-arm/attr-merge-arch-1.attr: Likewise. - * ld-arm/attr-merge-arch-2.attr: Likewise. - * ld-arm/attr-merge-unknown-2.d: Likewise. - * ld-arm/attr-merge-unknown-2r.d: Likewise. - * ld-arm/attr-merge-unknown-3.d: Likewise. - * ld-arm/attr-merge-wchar-00-nowarn.d: Likewise. - * ld-arm/attr-merge-wchar-00.d: Likewise. - * ld-arm/attr-merge-wchar-02-nowarn.d: Likewise. - * ld-arm/attr-merge-wchar-02.d: Likewise. - * ld-arm/attr-merge-wchar-04-nowarn.d: Likewise. - * ld-arm/attr-merge-wchar-04.d: Likewise. - * ld-arm/attr-merge-wchar-20-nowarn.d: Likewise. - * ld-arm/attr-merge-wchar-20.d: Likewise. - * ld-arm/attr-merge-wchar-22-nowarn.d: Likewise. - * ld-arm/attr-merge-wchar-22.d: Likewise. - * ld-arm/attr-merge-wchar-24-nowarn.d: Likewise. - * ld-arm/attr-merge-wchar-40-nowarn.d: Likewise. - * ld-arm/attr-merge-wchar-40.d: Likewise. - * ld-arm/attr-merge-wchar-42-nowarn.d: Likewise. - * ld-arm/attr-merge-wchar-44-nowarn.d: Likewise. - * ld-arm/attr-merge-wchar-44.d: Likewise. - * ld-arm/attr-merge.attr: Likewise. - -2009-01-21 Alan Modra <amodra@bigpond.net.au> - - * ld-spu/icache1.d: Add --non-ia-text to ld options. - -2009-01-19 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/expdref3.s, ld-cris/expdref4.s, ld-cris/weakref3.d, - ld-cris/weakref4.d: New tests. - * ld-cris/libdso-15b.d: Adjust for recent weakref fix. - -2009-01-19 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elf/group9.s: Replace .byte with .long. - -2009-01-19 Andrew Stubbs <ams@codesourcery.com> - - * ld-arm/arm-elf.exp (armeabitests): Add EABI attribute merging 3, - EABI attribute merging 4, and EABI attribute merging 5, - EABI attribute arch merging 1, EABI attribute arch merging 1 reversed, - EABI attribute arch merging 2, EABI attribute arch merging 2 reversed. - Add attr-merge-unknown-1, attr-merge-unknown-2, attr-merge-unknown-2r, - and attr-merge-unknown-3 dump tests. - * ld-arm/arch-v6.s: New file. - * ld-arm/arch-v6k.s: New file. - * ld-arm/arch-v6t2.s: New file. - * ld-arm/attr-merge-3.attr: New file. - * ld-arm/attr-merge-3a.s: New file. - * ld-arm/attr-merge-3b.s: New file. - * ld-arm/attr-merge-4.attr: New file. - * ld-arm/attr-merge-4a.s: New file. - * ld-arm/attr-merge-4b.s: New file. - * ld-arm/attr-merge-5.attr: New file. - * ld-arm/attr-merge-5.s: New file. - * ld-arm/attr-merge-arch-1.attr: New file. - * ld-arm/attr-merge-arch-2.attr: New file. - * ld-arm/attr-merge-unknown-1.d: New file. - * ld-arm/attr-merge-unknown-1.s: New file. - * ld-arm/attr-merge-unknown-2.d: New file. - * ld-arm/attr-merge-unknown-2.s: New file. - * ld-arm/attr-merge-unknown-2r.d: New file. - * ld-arm/attr-merge-unknown-3.d: New file. - * ld-arm/blank.s: New file. - -2009-01-16 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elf/textaddr1.d: New. - * ld-elf/textaddr2.d: Likewise. - -2009-01-14 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/9727 - * ld-elf/group8.s: New. - * ld-elf/group8a.d: Likewise. - * ld-elf/group8b.d: Likewise. - * ld-elf/group9.s: Likewise. - * ld-elf/group9a.d: Likewise. - * ld-elf/group9b.d: Likewise. - -2009-01-13 Alan Modra <amodra@bigpond.net.au> - - * ld-spu/icache1.s: New file. - * ld-spu/icache1.d: New file. - -2009-01-13 Alan Modra <amodra@bigpond.net.au> - - * ld-elf/elf.exp: Save and restore LDFLAGS. - * ld-scripts/default-script.exp: Likewise. - * ld-scripts/empty-orphan.exp: Likewise, and add to LDFLAGS rather - than replacing. - * ld-scripts/include.exp: Set --local-store for SPU. - -2009-01-12 Alan Modra <amodra@bigpond.net.au> - - * ld-spu/ovl.d: Allow for absolute branches in stubs. - * ld-spu/ovl2.d: Likewise. - -2009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com> - - * ld-elf/linkoncerdiff.d, ld-elf/linkoncerdiff1.s, - ld-elf/linkoncerdiff2.s: New. - -2009-01-07 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-21.d, - ld-cris/tls-e-23.d, ld-cris/tls-e-66.d, ld-cris/tls-gd-3.d, - ld-cris/tls-gd-3h.d, ld-cris/tls-global-74.d, - ld-cris/tls-ie-8e1.d, ld-cris/tls-ldgde-14.d, - ld-cris/tls-ldgde-15.d, ld-cris/tls-le-12.d, ld-cris/tls-le-13.d, - ld-cris/tls-le-13s.d, ld-cris/tls-legd-16.d, - ld-cris/tls-legd-17.d, ld-cris/tls-legdx-16.d, - ld-cris/tls-legdx-17.d, ld-cris/tls-leie-18.d, - ld-cris/tls-leie-19.d, ld-cris/tls-local-57.d, - ld-cris/tls-local-58.d, ld-cris/tls-local-59.d: Adjust for - relocation value now offset by negative program TLS block size. - * ld-cris/tls-le-12s.d: Ditto. Move 128-byte tls-data to last. - Adjust accordingly. - * ld-cris/tls-le-12s.s: Use movs, not movu, for sign-extended - always-negative relocation. - * ld-cris/tls-tprelm.s: Move filler data to after symbol for - tested relocation. - * ld-cris/tls-ok-36.d: Adjust accordingly. - -2009-01-03 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/tls-js1.d: New test. - -2009-01-02 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/9679 - * ld-elf/pr9679-1.c: New. - * ld-elf/pr9679-2.c: Likewise. - * ld-elf/pr9679.rd: Likewise. - - * ld-elf/shared.exp (build_tests): Add test for libpr9679.so. - -2009-01-02 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/9676 - * ld-elf/pr9676-1.c: New. - * ld-elf/pr9676-2.c: Likewiswe. - * ld-elf/pr9676-3.c: Likewiswe. - * ld-elf/pr9676-4.c: Likewiswe. - * ld-elf/pr9676.rd: Likewiswe. - - * ld-elf/shared.exp (build_tests): Add tests for libpr9676-1.a, - libpr9676-2.a, libpr9676-3.so, libpr9676-4.so and - libpr9676-4a.so. - - * lib/ld-lib.exp (ar_simple_create): New. - (run_ld_link_tests): Support archive. - (run_cc_link_tests): Likewiswe. - -For older changes see ChangeLog-2008 +For older changes see ChangeLog-2009 Local Variables: mode: change-log diff --git a/ld/testsuite/ChangeLog-2009 b/ld/testsuite/ChangeLog-2009 new file mode 100644 index 0000000..fff9ac6 --- /dev/null +++ b/ld/testsuite/ChangeLog-2009 @@ -0,0 +1,1743 @@ +2009-12-28 Daniel Gutson <dgutson@codesourcery.com> + + * ld-arm/arm-elf.exp (armelftests): New test case added. + * ld-arm/reloc-boundaries.s: New file. + * ld-arm/reloc-boundaries.d: New file. + +2009-12-28 Daniel Gutson <dgutson@codesourcery.com> + + * ld-arm/arm-elf.exp: Run missing test + from a previous commit (callweak-2). + +2009-12-10 Maciej W. Rozycki <macro@codesourcery.com> + + * ld-mips-elf/undefined.d: New test. + * ld-mips-elf/undefined.s: Source for the new test. + * ld-mips-elf/mips-elf.exp: Run the new test. + +2009-12-09 Daniel Jacobowitz <dan@codesourcery.com> + + * ld-arm/arm-elf.exp (armeabitests): Add farcall-data. + * ld-arm/farcall-data.d, ld-arm/farcall-data.s: New. + * lib/ld-lib.exp (run_ld_link_tests, run_cc_link_tests): Correct + regular expression for archives. + +2009-11-23 Paul Brook <paul@codesourcery.com> + + * ld-arm/script-type.sym: New test. + * ld-arm/script-type.s: New test. + * ld-arm/script-type.s: New test. + +2009-11-20 Thomas Schwinge <thomas@codesourcery.com> + + * ld-arm/arm-dyn.ld: Adapt to main linker script changes. + * ld-arm/arm-lib.ld: Likewise. + * ld-arm/armthumb-lib.sym: : Adjust expected results. + * ld-arm/farcall-mixed-app-v5.d: Likewise. + * ld-arm/farcall-mixed-app.d: Likewise. + * ld-arm/farcall-mixed-app.sym: Likewise. + * ld-arm/farcall-mixed-lib.d: Likewise. + * ld-arm/mixed-app-v5.d: Likewise. + * ld-arm/mixed-app.d: Likewise. + * ld-arm/mixed-app.sym: Likewise. + * ld-arm/mixed-lib.sym: Likewise. + * ld-arm/preempt-app.sym: Likewise. + * ld-arm/tls-app.d: Likewise. + +2009-11-18 Nick Clifton <nickc@redhat.com> + + * ld-elf/extract-symbol-1sec.d: Expect to fail for the RX target. + * ld-scripts/overlay-size.d: Likewise. + * ld-scripts/rgn-at1.d: Likewise. + * ld-scripts/rgn-at2.d: Likewise. + * ld-scripts/rgn-at3.d: Likewise. + * ld-scripts/rgn-at4.d: Likewise. + * ld-scripts/rgn-over8-ok.d: Likewise. + +2009-11-15 Kai Tietz <kai.tietz@onevision.com> + + * ld-pe/direct2_client.c: New file. + * ld-pe/direct2_dll.c: Likewise. + * ld-pe/direct2_dll.def: Likewise. + * ld-pe/pe-run2.exp: Likewise. + +2009-11-13 H.J. Lu <hongjiu.lu@intel.com> + + * ld-x86-64/tlsbin.dd: Updated for prefix processing. + * ld-x86-64/tlsgdesc.dd: Likewise. + * ld-x86-64/tlsld1.dd: Likewise. + * ld-x86-64/tlspic.dd: Likewise. + +2009-11-09 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/10911 + * ld-ifunc/ifunc-4a-x86.d: New. + +2009-11-02 Paul Brook <paul@codesourcery.com> + + * ld-arm/arm-elf.exp: Add new attr-merge-vfp tests. + * ld-arm/attr-merge-vfp-1.d: New test. + * ld-arm/attr-merge-vfp-1r.d: New test. + * ld-arm/attr-merge-vfp-2.d: New test. + * ld-arm/attr-merge-vfp-2r.d: New test. + * ld-arm/attr-merge-vfp-3.d: New test. + * ld-arm/attr-merge-vfp-3r.d: New test. + * ld-arm/attr-merge-vfp-4.d: New test. + * ld-arm/attr-merge-vfp-4r.d: New test. + * ld-arm/attr-merge-vfp-5.d: New test. + * ld-arm/attr-merge-vfp-5r.d: New test. + * ld-arm/attr-merge-vfp-2.s: New test. + * ld-arm/attr-merge-vfp-3.s: New test. + * ld-arm/attr-merge-vfp-3-d16.s: New test. + * ld-arm/attr-merge-vfp-4.s: New test. + * ld-arm/attr-merge-vfp-4-d16.s: New test. + +2009-11-02 Alan Modra <amodra@bigpond.net.au> + + * ld-scripts/phdrs3.exp (LDFLAGS): Add "--local-store 0:0" for SPU. + +2009-10-30 Mark Mitchell <mark@codesourcery.com> + + * ld-elfcomm/elfcomm.exp: Compile with -fcommon. + +2009-10-28 Johan Kristell <johankri@axis.com> + + * ld-cris/dso12-pltdis.d: New test. + +2009-10-19 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-22.d, + ld-cris/tls-e-80.d, ld-cris/tls-e-dtpoffd1.d, + ld-cris/tls-e-dtpoffd3.d, ld-cris/tls-ldgde-14.d, + ld-cris/tls-ldgde-15.d, ld-cris/tls-ldgdex-14.d, + ld-cris/tls-ldgdex-15.d: Adjust for change in non-shared + R_CRIS_32_DTPREL and R_CRIS_16_DTPREL relocations. + +2009-10-17 Arnold Metselaar <arnold.metselaar@planet.nl> + + * ld-scripts/align.exp: Remove xfails for z80-*-coff + +2009-10-16 Rafael Avila de Espindola <espindola@google.com> + + * bootstrap.exp: Detect if plugins are enabled. Skip the static + link test and add -ldl to the remaining tests if they are. + +2009-10-14 Joseph Myers <joseph@codesourcery.com> + + * ld-scripts/phdrs3.d: Allow colon in name of linker binary. + +2009-10-14 Alan Modra <amodra@bigpond.net.au> + + * ld-elf/pr349-1.s, * ld-elf/pr349-2.s, * ld-elf/pr349.d: New. + +2009-10-09 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/10749 + * ld-elf/relocatable.d: New. + * ld-elf/relocatable.t: Likewise. + * ld-elf/simple.s: Likewise. + +2009-10-07 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/10744 + * ld-scripts/phdrs3.exp: Run phdrs3a. + + * ld-scripts/phdrs3a.d: New. + * ld-scripts/phdrs3a.t: Likewise. + +2009-10-08 Alan Modra <amodra@bigpond.net.au> + + PR ld/10744 + * ld-scripts/phdrs3.d: Update. + +2009-10-06 Nathan Sidwell <nathan@codesourcery.com> + + * ld-scripts/phdrs3.d: New. + * ld-scripts/phdrs3.t: New. + * ld-scripts/phdrs3.exp: New. + +2009-10-03 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/tlsexe.d: Update. + * ld-powerpc/tlsexe.r: Update. + * ld-powerpc/tlsexetoc.d: Update. + * ld-powerpc/tlsexetoc.r: Update. + * ld-powerpc/tlsso.d: Update. + * ld-powerpc/tlsso.r: Update. + * ld-powerpc/tlstocso.d: Update. + * ld-powerpc/tlstocso.r: Update. + +2009-10-02 Alan Modra <amodra@bigpond.net.au> + + * lib/ld-lib.exp (ld_simple_link_defsyms): New proc, adding + powerpc-*-rtems to code setting symbols, extracted from.. + * ld-srec/srec.exp (run_srec_test): ..here. Correct flags for sh64. + * ld-gc/gc.exp (test_gc): Use ld_simple_link_defsyms. + +2009-10-01 Ulrich Weigand <uweigand@de.ibm.com> + + * ld-spu/icache1.d: Update to new section layout. + +2009-09-24 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/10630 + * ld-alpha/tlsbin.rd: Remove HIDDEN/.hidden on local symbols. + * ld-alpha/tlsbinr.rd: Likewise. + * ld-alpha/tlspic.rd: Likewise. + * ld-cris/libdso-2.d: Likewise. + * ld-cris/locref1.d: Likewise. + * ld-cris/locref2.d: Likewise. + * ld-cris/tls-e-20a.d: Likewise. + * ld-cris/tls-e-20.d: Likewise. + * ld-cris/tls-e-80.d: Likewise. + * ld-cris/tls-gc-68.d: Likewise. + * ld-cris/tls-gc-69.d: Likewise. + * ld-cris/tls-gc-70.d: Likewise. + * ld-cris/tls-gc-75.d: Likewise. + * ld-cris/tls-gc-76.d: Likewise. + * ld-cris/tls-gc-79.d: Likewise. + * ld-cris/tls-gd-1h.d: Likewise. + * ld-cris/tls-gd-2h.d: Likewise. + * ld-cris/tls-ld-4.d: Likewise. + * ld-cris/tls-ld-5.d: Likewise. + * ld-cris/tls-ld-6.d: Likewise. + * ld-cris/tls-ld-7.d: Likewise. + * ld-cris/tls-ldgd-14.d: Likewise. + * ld-cris/tls-ldgd-15.d: Likewise. + * ld-cris/tls-local-63.d: Likewise. + * ld-cris/tls-local-64.d: Likewise. + * ld-elf/pr9676.rd: Likewise. + * ld-elf/pr9679.rd: Likewise. + * ld-elfvsb/hidden2.d: Likewise. + * ld-i386/tlsbindesc.rd: Likewise. + * ld-i386/tlsbin.rd: Likewise. + * ld-i386/tlsdesc.rd: Likewise. + * ld-i386/tlsgdesc.rd: Likewise. + * ld-i386/tlsnopic.rd: Likewise. + * ld-i386/tlspic.rd: Likewise. + * ld-ia64/tlsbin.rd: Likewise. + * ld-ia64/tlspic.rd: Likewise. + * ld-powerpc/tlsexe32.r: Likewise. + * ld-powerpc/tlsexe.r: Likewise. + * ld-powerpc/tlsexetoc.r: Likewise. + * ld-powerpc/tlsso32.r: Likewise. + * ld-powerpc/tlsso.r: Likewise. + * ld-powerpc/tlstocso.r: Likewise. + * ld-s390/tlsbin_64.rd: Likewise. + * ld-s390/tlsbin.rd: Likewise. + * ld-s390/tlspic_64.rd: Likewise. + * ld-s390/tlspic.rd: Likewise. + * ld-sparc/gotop32.rd: Likewise. + * ld-sparc/gotop64.rd: Likewise. + * ld-sparc/tlssunbin32.rd: Likewise. + * ld-sparc/tlssunbin64.rd: Likewise. + * ld-sparc/tlssunnopic32.rd: Likewise. + * ld-sparc/tlssunnopic64.rd: Likewise. + * ld-sparc/tlssunpic32.rd: Likewise. + * ld-sparc/tlssunpic64.rd: Likewise. + * ld-x86-64/tlsbindesc.rd: Likewise. + * ld-x86-64/tlsbin.rd: Likewise. + * ld-x86-64/tlsdesc.rd: Likewise. + * ld-x86-64/tlsgdesc.rd: Likewise. + * ld-x86-64/tlspic.rd: Likewise. + * ld-xtensa/tlsbin.rd: Likewise. + * ld-xtensa/tlspic.rd: Likewise. + + * ld-elf/local1.d: New. + * ld-elf/local1.map: Likewise. + * ld-elf/local1.s: Likewise. + * ld-ia64/local1.d: Likewise. + * ld-ia64/local1.map: Likewise. + * ld-ia64/local1.s: Likewise. + +2009-09-23 Matt Rice <ratmice@gmail.com> + + * ld-elf/audit.exp: New. + * ld-elf/audit.rd: New. + * ld-elf/depaudit.rd: New. + * ld-elf/depaudit2.rd: New. + +2009-09-23 Jie Zhang <jie.zhang@analog.com> + + * ld-srec/srec.exp: Add xfails for bfin-*-linux-uclibc. + +2009-09-23 Alan Modra <amodra@bigpond.net.au> + + * ld-alpha/tlsbin.rd: Tolerate some whitespace differences. + * ld-alpha/tlsbinr.rd: Likewise. + * ld-alpha/tlspic.rd: Likewise. + * ld-arm/armthumb-lib.sym: Likewise. + * ld-arm/farcall-mixed-app.sym: Likewise. + * ld-arm/mixed-app.sym: Likewise. + * ld-arm/mixed-lib.sym: Likewise. + * ld-arm/preempt-app.sym: Likewise. + * ld-arm/use-thumb-lib.sym: Likewise. + * ld-cris/libdso-2.d: Likewise. + * ld-cris/tls-local-63.d: Likewise. + * ld-cris/tls-local-64.d: Likewise. + * ld-cris/tls-und-38.d: Likewise. + * ld-cris/tls-und-42.d: Likewise. + * ld-cris/tls-und-46.d: Likewise. + * ld-cris/tls-und-50.d: Likewise. + * ld-cris/weakref3.d: Likewise. + * ld-cris/weakref4.d: Likewise. + * ld-elf/empty.d: Likewise. + * ld-elf/group1.d: Likewise. + * ld-elf/group3a.d: Likewise. + * ld-elf/group3b.d: Likewise. + * ld-elf/hash.d: Likewise. + * ld-elf/warn1.d: Likewise. + * ld-elf/warn2.d: Likewise. + * ld-elfvers/vers24.rd: Likewise. + * ld-elfvsb/hidden0.d: Likewise. + * ld-elfvsb/hidden1.d: Likewise. + * ld-elfvsb/hidden2.d: Likewise. + * ld-elfvsb/internal0.d: Likewise. + * ld-elfvsb/internal1.d: Likewise. + * ld-elfvsb/protected0.d: Likewise. + * ld-elfvsb/protected1.d: Likewise. + * ld-i386/tlsbin.rd: Likewise. + * ld-i386/tlsbindesc.rd: Likewise. + * ld-i386/tlsdesc.rd: Likewise. + * ld-i386/tlsgdesc.rd: Likewise. + * ld-i386/tlsnopic.rd: Likewise. + * ld-i386/tlspic.rd: Likewise. + * ld-ia64/tlsbin.rd: Likewise. + * ld-ia64/tlspic.rd: Likewise. + * ld-mips-elf/got-vers-1.sd: Likewise. + * ld-mips-elf/mips16-pic-2.nd: Likewise. + * ld-mips-elf/mips16-pic-4a.nd: Likewise. + * ld-mips-elf/pic-and-nonpic-1-rel.nd: Likewise. + * ld-mips-elf/pic-and-nonpic-1.nd: Likewise. + * ld-mips-elf/pic-and-nonpic-3b.nd: Likewise. + * ld-mips-elf/pic-and-nonpic-4b.nd: Likewise. + * ld-mips-elf/pic-and-nonpic-5b.nd: Likewise. + * ld-mips-elf/pic-and-nonpic-6-n32.nd: Likewise. + * ld-mips-elf/pic-and-nonpic-6-n64.nd: Likewise. + * ld-mips-elf/pic-and-nonpic-6-o32.nd: Likewise. + * ld-mips-elf/vxworks1-lib.nd: Likewise. + * ld-mmix/bspec1.d: Likewise. + * ld-mmix/bspec2.d: Likewise. + * ld-mmix/local1.d: Likewise. + * ld-mmix/local3.d: Likewise. + * ld-mmix/local5.d: Likewise. + * ld-mmix/local7.d: Likewise. + * ld-mmix/undef-3.d: Likewise. + * ld-mn10300/i135409-1.d: Likewise. + * ld-mn10300/i135409-2.d: Likewise. + * ld-powerpc/tlsexe.r: Likewise. + * ld-powerpc/tlsexe32.r: Likewise. + * ld-powerpc/tlsexetoc.r: Likewise. + * ld-powerpc/tlsso.r: Likewise. + * ld-powerpc/tlsso32.r: Likewise. + * ld-powerpc/tlstocso.r: Likewise. + * ld-powerpc/vxworks1-lib.nd: Likewise. + * ld-s390/tlsbin.rd: Likewise. + * ld-s390/tlsbin_64.rd: Likewise. + * ld-s390/tlspic.rd: Likewise. + * ld-s390/tlspic_64.rd: Likewise. + * ld-sh/tlsbin-2.d: Likewise. + * ld-sh/tlspic-2.d: Likewise. + * ld-sh/vxworks1-lib.nd: Likewise. + * ld-sh/sh64/crange1.rd: Likewise. + * ld-sh/sh64/crange2.rd: Likewise. + * ld-sh/sh64/crange3-cmpct.rd: Likewise. + * ld-sh/sh64/crange3-media.rd: Likewise. + * ld-sh/sh64/crange3.rd: Likewise. + * ld-sh/sh64/crangerel1.rd: Likewise. + * ld-sh/sh64/crangerel2.rd: Likewise. + * ld-sh/sh64/reldl32.rd: Likewise. + * ld-sh/sh64/reldl64.rd: Likewise. + * ld-sparc/gotop32.rd: Likewise. + * ld-sparc/gotop64.rd: Likewise. + * ld-sparc/tlssunbin32.rd: Likewise. + * ld-sparc/tlssunbin64.rd: Likewise. + * ld-sparc/tlssunnopic32.rd: Likewise. + * ld-sparc/tlssunnopic64.rd: Likewise. + * ld-sparc/tlssunpic32.rd: Likewise. + * ld-sparc/tlssunpic64.rd: Likewise. + * ld-vxworks/plt-mips1.d: Likewise. + * ld-x86-64/tlsbin.rd: Likewise. + * ld-x86-64/tlsbindesc.rd: Likewise. + * ld-x86-64/tlsdesc.rd: Likewise. + * ld-x86-64/tlsgdesc.rd: Likewise. + * ld-x86-64/tlspic.rd: Likewise. + * ld-xtensa/tlsbin.rd: Likewise. + * ld-xtensa/tlspic.rd: Likewise. + +2009-09-21 Richard Sandiford <rdsandiford@googlemail.com> + + PR ld/10681 + * ld-elf/eh6.d: Expect absolute pointers in shared libraries to + be converted into PC-relative form. + +2009-09-21 Richard Sandiford <rdsandiford@googlemail.com> + + * ld-mips-elf/eh-frame5.d: Expect PC-relative encodings + to include DW_EH_PE_sdata4. + +2009-09-21 Richard Sandiford <rdsandiford@googlemail.com> + + * ld-mips-elf/eh-frame1-n32.d: Expect PC-relative encodings + to include DW_EH_PE_sdata4. + * ld-mips-elf/eh-frame2-n32.d: Likewise. + * ld-mips-elf/eh-frame1-n64.d: Expect PC-relative encodings + to include DW_EH_PE_sdata8. + * ld-mips-elf/eh-frame2-n64.d: Likewise. + +2009-09-21 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/tlslib.s: Delete dot-symbol entry syms. Add + __tls_get_addr_opt. + * ld-powerpc/tlslib32.s: Add __tls_get_addr_opt. + * ld-powerpc/oldtlslib.s: New file, old-abi version of tlslib.s. + * ld-powerpc/powerpc.exp: Build old-abi library and use it in + two new link tests. + * ld-powerpc/tlsexe.d: Update for new __tls_get_addr stub. + * ld-powerpc/tlsexe.g, * ld-powerpc/tlsexe.r, *ld-powerpc/tlsexe32.d, + * ld-powerpc/tlsexe32.g, * ld-powerpc/tlsexe32.r, + * ld-powerpc/tlsexetoc.d, * ld-powerpc/tlsexetoc.g, + * ld-powerpc/tlsexetoc.r: Likewise. + +2009-09-20 Richard Sandiford <rdsandiford@googlemail.com> + + * ld-mips-elf/elf-rel-got-n64-linux.d: Expect BALs. + * ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise. + +2009-09-19 Richard Sandiford <rdsandiford@googlemail.com> + + * ld-mips-elf/eh-frame5.s, ld-mips-elf/eh-frame5.ld, + ld-mips-elf/eh-frame5.d: New test. + * ld-mips-elf/mips-elf.exp: Run it. + +2009-09-18 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/tlsso.d: Update. + * ld-powerpc/tlsso.r: Update. + * ld-powerpc/tlstocso.d: Update. + * ld-powerpc/tlstocso.r: Update. + +2009-09-15 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * ld-elfcomm/elfcomm.exp: Add appropriate emulation option + for sh64*-*-*. + * ld-gc/gc.exp (test_gc): Likewise. + +2009-09-14 H.J. Lu <hongjiu.lu@intel.com> + + * ld-undefined/entry-7.d: New. + +2009-09-13 Richard Sandiford <rdsandiford@googlemail.com> + + * ld-mips-elf/eh-frame1-n32.d: Change "the section \.eh_frame" + to "the \.eh_frame section". + * ld-mips-elf/eh-frame1-n64.d: Likewise. + * ld-mips-elf/eh-frame2-n32.d: Likewise. + * ld-mips-elf/eh-frame2-n64.d: Likewise. + * ld-mips-elf/eh-frame3.d: Likewise. + * ld-mips-elf/eh-frame4.d: Likewise. + * ld-mips-elf/elf-rel-got-n32.d: Expect bals. + * ld-mips-elf/elf-rel-xgot-n32.d: Likewise. + * ld-mips-elf/mips-elf.exp: Force the MIPS16 PIC tests to use -mips1. + +2009-09-11 Jie Zhang <jie.zhang@analog.com> + + * ld-elf/warn2.d: `Foo' appears in section 3 when target + is bfin-*-linux-uclibc. + +2009-09-09 Daniel Jacobowitz <dan@codesourcery.com> + + * ld-arm/farcall-mixed-lib.d: Update. + +2009-09-09 Alan Modra <amodra@bigpond.net.au> + + * ld-elf/sec64k.exp: For frv-linux use "aw" sections. + * ld-elf/seg.d: Cater for GNU_STACK segment. + * ld-elf/symbol1ref.s: Use data section. + * ld-elf/symbol2ref.s: Likewise. + * ld-scripts/empty-address-1.d: Don't run on frv-linux. + * ld-scripts/empty-address-2a.d: Likewise. + * ld-scripts/empty-address-2b.d: Likewise. + * ld-scripts/empty-aligned.d: Likewise. + * ld-elf/extract-symbol-1sym.d: Tolerate extra target supplied syms. + * ld-scripts/sort_b_a-1.d: Likewise. + * ld-scripts/sort_b_a.d: Likewise. + * ld-scripts/sort_b_a_a-1.d: Likewise. + * ld-scripts/sort_b_a_a-2.d: Likewise. + * ld-scripts/sort_b_a_a-3.d: Likewise. + * ld-scripts/sort_b_a_n-1.d: Likewise. + * ld-scripts/sort_b_a_n-2.d: Likewise. + * ld-scripts/sort_b_a_n-3.d: Likewise. + * ld-scripts/sort_b_n-1.d: Likewise. + * ld-scripts/sort_b_n.d: Likewise. + * ld-scripts/sort_b_n_a-1.d: Likewise. + * ld-scripts/sort_b_n_a-2.d: Likewise. + * ld-scripts/sort_b_n_a-3.d: Likewise. + * ld-scripts/sort_b_n_n-1.d: Likewise. + * ld-scripts/sort_b_n_n-2.d: Likewise. + * ld-scripts/sort_b_n_n-3.d: Likewise. + * ld-scripts/sort_no-1.d: Likewise. + * ld-scripts/sort_no-2.d: Likewise. + +2009-09-08 M R Swami Reddy <MR.Swami.Reddy@nsc.com> + + * ld-elf/merge.d: xfail cr16-*-*. + +2009-09-08 Alan Modra <amodra@bigpond.net.au> + + * ld-elf/eh5.d: Don't run on hppa64. Allow non-pcrel encoding. + Skip extra CIEs emitted on embedded targets and adjust FDE + matches to suit. + +2009-09-05 Jie Zhang <jie.zhang@analog.com> + + * ld-elf/sec64k.exp: Use ".set" instead of "=" for bfin-*-*. + +2009-09-03 Dave Korn <dave.korn.cygwin@gmail.com> + + * ld-pe/longsecn.d: Adjusted to match new .text section merging + in default PE linker scripts. + * ld-pe/longsecn-1.d: Likewise. + * ld-pe/longsecn-2.d: Likewise. + +2009-08-31 Jie Zhang <jie.zhang@analog.com> + + * lib/ld-lib.exp (is_elf_format): Return 1 for bfin-*-uclinux. + +2009-08-31 Alan Modra <amodra@bigpond.net.au> + + * ld-ifunc/ifunc.exp: Match R_PPC64_JUMP_IREL. + +2009-08-30 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/10569 + * ld-elf/commonpage2.d: New. + * ld-elf/maxpage4.d: Likewise. + * ld-elf/maxpage4.t: Likewise. + +2009-08-26 Maxim Kuvyrkov <maxim@codesourcery.com> + + * ld-m68k/tls-def-1.s: New file. + * ld-m68k/tls-def-1.d: New file. + * ld-m68k/tls-gd-1.d2: New file. + * ld-m68k/tls-gd-1.d3: New file. + * ld-m68k/tls-main-1.s: New file. + * ld-m68k/tls-main-1.d: New file. + * ld-m68k/m68k.exp: Run new TLS tests. + +2009-08-23 Andreas Schwab <schwab@linux-m68k.org> + + * ld-powerpc/powerpc.exp: Move relaxing and relocatable relaxing + tests from ppc64elftest to ppcelftest and pass -a32 to assembler. + + * ld-powerpc/relax.d: Fix whitespace. + * ld-powerpc/relaxr.d: Likewise. + +2009-08-21 Daniel Gutson <dgutson@codesourcery.com> + + * ld-arm/callweak.d: Opcodes updated. + * ld-arm/callweak.s: Architecture specified. + * ld-arm/callweak-2.d: New test case. + * ld-arm/callweak-2.s: New file. + +2009-08-17 Nick Clifton <nickc@redhat.com> + + * ld-elf/linkonce1.d: Accept "UNUSED" as part of the name of an + unused reloc. + * ld-elf/linkonce2.d: Likewise. + +2009-08-10 Jan Kratochvil <jan.kratochvil@redhat.com> + + Test go32 stub preservation by objcopy. + * ld-i386/i386.exp (go32 stub, go32 stub patch the source) + (go32 stub objcopy, go32 stub comparison after objcopy): New. + +2009-08-10 Nathan Sidwell <nathan@codesourcery.com> + + * ld-powerpc/relax.s: New. + * ld-powerpc/relax.d: New. + * ld-powerpc/relaxr.d: New. + * ld-powerpc/powerpc.exp: Add new tests. + +2009-08-06 Nathan Sidwell <nathan@codesourcery.com> + + * ld-arm/arm-elf.exp: Add new test. + * ld-arm/cortex-a8-fix-hdr.d: New. + * ld-arm/cortex-a8-fix-hdr.s: New. + * ld-arm/cortex-a8-fix-hdr.t: New. + +2009-08-05 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com> + + * ld-spu/fixup.d: New. + * ld-spu/fixup.s: New. + +2009-08-05 Nathan Sidwell <nathan@codesourcery.com> + + * ld-arm/cortex-a8-far-1.s: New. + * ld-arm/cortex-a8-far-2.s: New. + * ld-arm/cortex-a8-far.d: New. + * ld-arm/arm-elf.exp: Add new test. + +2009-08-02 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/6443 + * ld-i386/i386.exp: Run tlspie1. + * ld-x86-64/x86-64.exp: tlspie1. + + * ld-i386/tlspie1.d: New. + * ld-i386/tlspie1.s: Likewise. + * ld-x86-64/tlspie1.d: Likewise. + * ld-x86-64/tlspie1.s: Likewise. + +2009-07-31 Hans-Peter Nilsson <hp@bitrange.com> + + * ld-mmix/x.s, ld-mmix/y.s, ld-mmix/zeroeh.ld, + ld-mmix/zeroehelf.d, ld-mmix/zeroehmmo.d: Use .gcc_except_table, + not .eh_frame. + +2009-07-30 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elf/shared.exp: Comment out dl3b. + +2009-07-30 Hans-Peter Nilsson <hp@bitrange.com> + + * ld-scripts/empty-address-3a.d, ld-scripts/empty-address-3b.d: + Skip for mmix-knuth-mmixware. + +2009-07-29 Hans-Peter Nilsson <hp@bitrange.com> + + * ld-scripts/default-script.s (text): Globalize. + * ld-scripts/default-script1.d, ld-scripts/default-script2.d, + ld-scripts/default-script3.d, ld-scripts/default-script4.d: Adjust + accordingly. + +2009-07-25 H.J. Lu <hongjiu.lu@intel.com> + + * ld-x86-64/abs-l1om.d: New. + * ld-x86-64/protected2-l1om.d: Likewise. + * ld-x86-64/protected3-l1om.d: Likewise. + + * ld-x86-64/x86-64.exp: Run abs-l1om, protected2-l1om and + protected3-l1om. + +2009-07-24 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com> + Alan Modra <amodra@bigpond.net.au> + + * ld-spu/pic.d: New. + * ld-spu/pic.s: New. + * ld-spu/picdef.s: New. + +2009-07-23 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/10434 + * ld-x86-64/tlsle1.d: New. + * ld-x86-64/tlsle1.s: Likewise. + + * ld-x86-64/x86-64.exp: Run tlsle1. + +2009-07-21 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/10426 + * ld-ifunc/ifunc.exp: Check test-1 and libtest-2.so. Updated. + + * ld-ifunc/test-1.c: New. + * ld-ifunc/test-2.c: Likewise. + +2009-07-17 Chao-ying Fu <fu@mips.com> + + * ld-mips-elf/pic-and-nonpic-3b.dd: Updated to use new PLT + entries. + * ld-mips-elf/pic-and-nonpic-5b.dd: Likewise. + * ld-mips-elf/pic-and-nonpic-6-o32.dd: Likewise. + * ld-mips-elf/pic-and-nonpic-6-n32.dd: Likewise. + * ld-mips-elf/pic-and-nonpic-6-n64.dd: Likewise. + +2009-07-16 H.J. Lu <hongjiu.lu@intel.com> + + * ld-ifunc/ifunc-5r-local-i386.d: New. + * ld-ifunc/ifunc-5r-local-x86-64.d: Likewise. + +2009-07-16 Nathan Sidwell <nathan@codesourcery.com> + + * ld-arm/arm-target2.s: Add addend cases. + * ld-arm/arm-target2-rel.d: Adjust. + * ld-arm/arm-target2-abs.d: Adjust. + * ld-arm/arm-target2-got-rel.d: Adjust. + +2009-07-13 H.J. Lu <hongjiu.lu@intel.com> + + * ld-ifunc/ifunc.exp: Don't use -shared/-static to build object + files. Use ld_simple_link to build static non-ifunc-using + executable. Re-enable static non-ifunc-using executable check. + +2009-07-10 H.J. Lu <hongjiu.lu@intel.com> + + * ld-ifunc/ifunc.exp: Don't check static non-ifunc-using + executable. + +2009-07-10 H.J. Lu <hongjiu.lu@intel.com> + + * ld-ifunc/ifunc-1-local-x86.d: Updated. + * ld-ifunc/ifunc-1-x86.d: Likewise. + * ld-ifunc/ifunc-3a-x86.d: Likewise. + +2009-07-10 H.J. Lu <hongjiu.lu@intel.com> + + * ld-ifunc/ifunc-1-local-x86.d: Updated. + * ld-ifunc/ifunc-1-x86.d: Likewise. + * ld-ifunc/ifunc-2-local-x86-64.d: Likewise. + * ld-ifunc/ifunc-2-x86-64.d: Likewise. + * ld-ifunc/ifunc-3a-x86.d: Likewise. + +2009-07-10 Alan Modra <amodra@bigpond.net.au> + + * ld-ifunc/ifunc.exp: Run for powerpc. Really generate static + executables, renaming the existing dynamic but local tests. + +2009-07-08 Alan Modra <amodra@bigpond.net.au> + + * ld-selective/selective.exp: Remove check that $CC contains the + string "gcc". Do -dumpversion for $CXX. + +2009-06-30 Nick Clifton <nickc@redhat.com> + + PR 10288 + * ld-arm/arm-app.d: Update expcted disassembly. + * ld-arm/arm-be8.d: Likewise. + * ld-arm/arm-call.d: Likewise. + * ld-arm/arm-lib-plt32.d: Likewise. + * ld-arm/arm-lib.d: Likewise. + * ld-arm/arm-movwt.d: Likewise. + * ld-arm/arm-pic-veneer.d: Likewise. + * ld-arm/armthumb-lib.d: Likewise. + * ld-arm/armv4-bx.d: Likewise. + * ld-arm/cortex-a8-fix-b-rel-arm.d: Likewise. + * ld-arm/farcall-mixed-app-v5.d: Likewise. + * ld-arm/farcall-mixed-app.d: Likewise. + * ld-arm/farcall-mixed-lib.d: Likewise. + * ld-arm/farcall-thumb-arm-pic-veneer.d: Likewise. + * ld-arm/farcall-thumb-arm-short.d: Likewise. + * ld-arm/farcall-thumb-arm.d: Likewise. + * ld-arm/farcall-thumb-thumb-m-pic-veneer.d: Likewise. + * ld-arm/farcall-thumb-thumb-m.d: Likewise. + * ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise. + * ld-arm/farcall-thumb-thumb.d: Likewise. + * ld-arm/group-relocs.d: Likewise. + * ld-arm/mixed-app-v5.d: Likewise. + * ld-arm/mixed-app.d: Likewise. + * ld-arm/mixed-lib.d: Likewise. + * ld-arm/movw-merge.d: Likewise. + * ld-arm/thumb2-b-interwork.d: Likewise. + * ld-arm/tls-app.d: Likewise. + * ld-arm/tls-lib.d: Likewise. + +2009-06-29 Nick Clifton <nickc@redhat.com> + + PR 10288 + * ld-arm/arm-app-abs32.d: Update expected disassembly. + * ld-arm/arm-app.d: Likewise. + * ld-arm/arm-lib-plt32.d: Likewise. + * ld-arm/arm-lib.d: Likewise. + * ld-arm/arm-pic-veneer.d: Likewise. + * ld-arm/armthumb-lib.d: Likewise. + * ld-arm/farcall-mixed-app-v5.d: Likewise. + * ld-arm/farcall-mixed-app.d: Likewise. + * ld-arm/farcall-mixed-lib.d: Likewise. + * ld-arm/group-relocs.d: Likewise. + * ld-arm/mixed-app-v5.d: Likewise. + * ld-arm/mixed-app.d: Likewise. + * ld-arm/mixed-lib.d: Likewise. + * ld-arm/thumb2-bl-undefweak.d: Likewise. + +2009-06-27 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/10337 + * ld-ifunc/binutils.exp: New. + +2009-06-25 Kai Tietz <kai.tietz@onevision.com> + + * ld-pe/aligncomm-1.c (size_t): Add typedef. + (main): Use it for casting pointer to scalar. + * ld-pe/aligncomm-2.c: Likewise. + * ld-pe/aligncomm-3.c: Likewise. + * ld-pe/aligncomm-4.c: Likewise. + * ld-scripts/empty-address.exp: Make sure that for x86_64-*-mingw* + target imagebase is set to zero. + * ld-scripts/weak.exp: Don't fail for x86_64-*-mingw* target. + +2009-06-22 Christophe Lyon <christophe.lyon@st.com> + + ld/testsuite: + * ld-arm/farcall-mixed-app.s: Add new references to check more + modes switching. + * ld-arm/farcall-mixed-lib1.s: Likewise. + * ld-arm/farcall-mixed-app-v5.d: Update expected result. + * farcall-mixed-app.d: Likewise. + * ld-arm/farcall-mixed-lib.d: Likewise. + +2009-06-22 Dave Korn <dave.korn.cygwin@gmail.com> + + * ld-pe/pe-run.exp (proc test_direct_link_dll): Fix incorrect + line-wrapping. + +2009-06-19 H.J. Lu <hongjiu.lu@intel.com> + + * ld-i386/i386.exp: Run tlsgd2. + + * ld-i386/tlsgd2.d: New. + * ld-i386/tlsgd2.s: Likewise. + + * ld-x86-64/tlsgd3.d: Updated. + +2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com> + + * ld-pe/pe-run.exp (proc test_direct_link_dll): Always pass + --enable-auto-import to the linker. + * ld-pe/vers-script-1.d: Replace '\$' by '_' in all symbol names. + * ld-pe/vers-script-3.d: Likewise. + * ld-pe/vers-script-4.d: Likewise. + * ld-pe/vers-script-dll.c: Likewise. + * lib/ld-lib.exp (proc is_pecoff_format): Also return true for + "*-*-cegcc*" targets. + +2009-06-15 H.J. Lu <hongjiu.lu@intel.com> + + * ld-ifunc/ifunc-9-x86.d: Fix a typo. + +2009-06-14 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/10270 + * ld-ifunc/ifunc-9-x86.d: New. + * ld-ifunc/ifunc-9-x86.s: Likewise. + +2009-06-13 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/10269 + * ld-ifunc/ifunc-1-local-x86.d: New. + * ld-ifunc/ifunc-1-local-x86.s: Likewise. + * ld-ifunc/ifunc-2-local-i386.d: Likewise. + * ld-ifunc/ifunc-2-local-i386.s: Likewise. + * ld-ifunc/ifunc-2-local-x86-64.d: Likewise. + * ld-ifunc/ifunc-2-local-x86-64.s: Likewise. + * ld-ifunc/ifunc-4-local-x86.d: Likewise. + * ld-ifunc/ifunc-4-local-x86.s: Likewise. + * ld-ifunc/ifunc-5-local-i386.s: Likewise. + * ld-ifunc/ifunc-5-local-x86-64.s: Likewise. + * ld-ifunc/ifunc-5a-local-i386.d: Likewise. + * ld-ifunc/ifunc-5a-local-x86-64.d: Likewise. + * ld-ifunc/ifunc-5b-local-i386.d: Likewise. + * ld-ifunc/ifunc-5b-local-x86-64.d: Likewise. + +2009-06-03 H.J. Lu <hongjiu.lu@intel.com> + + * ld-ifunc/ifunc-2-x86-64.d: Pass --64 to as and -melf_x86_64 to + ld. + * ld-ifunc/ifunc-5a-x86-64.d: Likewise. + * ld-ifunc/ifunc-5b-x86-64.d: Likewise. + * ld-ifunc/ifunc-6a-x86-64.d: Likewise. + * ld-ifunc/ifunc-6b-x86-64.d: Likewise. + * ld-ifunc/ifunc-7a-x86-64.d: Likewise. + * ld-ifunc/ifunc-7b-x86-64.d: Likewise. + + * ld-ifunc/ifunc-8a-i386.s: New. + * ld-ifunc/ifunc-8a-x86-64.s: Likewise. + * ld-ifunc/ifunc-8b-i386.s: Likewise. + * ld-ifunc/ifunc-8b-x86-64.s: Likewise. + * ld-ifunc/ifunc-8-i386.d: Likewise. + * ld-ifunc/ifunc-8-x86-64.d: Likewise. + +2009-06-02 Richard Sandiford <r.sandiford@uk.ibm.com> + + * ld-powerpc/aix-glink-3.s, ld-powerpc/aix-glink-3a.s, + ld-powerpc/aix-glink-3b.s, ld-powerpc/aix-glink-3.dd, + ld-powerpc/aix-glink-3-32.d, ld-powerpc/aix-glink-3-64.d: New tests. + * ld-powerpc/aix52.exp: Run them. Move the lineno tests to maintain + alphabetical order. + +2009-06-02 H.J. Lu <hongjiu.lu@intel.com> + + * ld-ifunc/ifunc-5-i386.d: Renamed to ... + * ld-ifunc/ifunc-5a-i386.d: This. + + * ld-ifunc/ifunc-5-x86-64.d: Renamed to ... + * ld-ifunc/ifunc-5a-x86-64.d: This. + + * ld-ifunc/ifunc-5b-i386.d: New. + * ld-ifunc/ifunc-5b-x86-64.d: Likewise. + * ld-ifunc/ifunc-6a-i386.d: Likewise. + * ld-ifunc/ifunc-6a-x86-64.d: Likewise. + * ld-ifunc/ifunc-6b-i386.d: Likewise. + * ld-ifunc/ifunc-6b-x86-64.d: Likewise. + * ld-ifunc/ifunc-6-i386.s: Likewise. + * ld-ifunc/ifunc-6-x86-64.s: Likewise. + * ld-ifunc/ifunc-7a-i386.d: Likewise. + * ld-ifunc/ifunc-7a-x86-64.d: Likewise. + * ld-ifunc/ifunc-7b-i386.d: Likewise. + * ld-ifunc/ifunc-7b-x86-64.d: Likewise. + * ld-ifunc/ifunc-7-i386.s: Likewise. + * ld-ifunc/ifunc-7-x86-64.s: Likewise. + +2009-06-01 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/10205 + * ld-ifunc/ifunc.exp (contains_irelative_reloc): New. + Use it on executable and shared library. + Run *.d. + + * ld-ifunc/lib.c: Add a hidden alias, __GI_library_func2, for + library_func2. + (library_func): New. + + * ld-ifunc/ifunc-1-x86.d: New. + * ld-ifunc/ifunc-1-x86.s: Likewise. + * ld-ifunc/ifunc-2-i386.d: Likewise. + * ld-ifunc/ifunc-2-i386.s: Likewise. + * ld-ifunc/ifunc-2-x86-64.d: Likewise. + * ld-ifunc/ifunc-2-x86-64.s: Likewise. + * ld-ifunc/ifunc-3a-x86.d: Likewise. + * ld-ifunc/ifunc-3b-x86.d: Likewise. + * ld-ifunc/ifunc-3-x86.s: Likewise. + * ld-ifunc/ifunc-4-x86.d: Likewise. + * ld-ifunc/ifunc-4-x86.s: Likewise. + * ld-ifunc/ifunc-5-i386.d: Likewise. + * ld-ifunc/ifunc-5-i386.s: Likewise. + * ld-ifunc/ifunc-5-x86-64.d: Likewise. + * ld-ifunc/ifunc-5-x86-64.s: Likewise. + +2009-05-27 Dave Korn <dave.korn.cygwin@gmail.com> + + * ld-pe/non-c-lang-syms.c: New dump test source file. + * ld-pe/non-c-lang-syms.d: New dump test pattern file. + * ld-pe/pe.exp: Run new "foreign symbol" test. + +2009-05-26 Nathan Sidwell <nathan@codesourcery.com> + + * ld-powerpc/vxworks-relax-2.s: New. + * ld-powerpc/vxworks-relax-2.rd: New. + * ld-powerpc/powerpc.exp: Add it. + +2009-05-22 Hans-Peter Nilsson <hp@axis.com> + + * ld-scripts/rgn-over7.d: Adjust expected message for recent change. + +2009-05-22 Julian Brown <julian@codesourcery.com> + + * ld-arm/cortex-a8-arm-target.s: New. + * ld-arm/cortex-a8-thumb-target.s: New. + * ld-arm/cortex-a8-fix-b-rel.s: New. + * ld-arm/cortex-a8-fix-b-rel-arm.d: New. + * ld-arm/cortex-a8-fix-b-rel-thumb.d: New. + * ld-arm/cortex-a8-fix-b.s: New. + * ld-arm/cortex-a8-fix-b.d: New. + * ld-arm/cortex-a8-fix-bl-rel.s: New. + * ld-arm/cortex-a8-fix-bl-rel-arm.d: New. + * ld-arm/cortex-a8-fix-bl-rel-thumb.d: New. + * ld-arm/cortex-a8-fix-bl.s: New. + * ld-arm/cortex-a8-fix-bl.d: New. + * ld-arm/cortex-a8-fix-bcc-rel.s: New. + * ld-arm/cortex-a8-fix-bcc-rel-thumb.d: New. + * ld-arm/cortex-a8-fix-bcc.s: New. + * ld-arm/cortex-a8-fix-bcc.d: New. + * ld-arm/cortex-a8-fix-blx-rel.s: New. + * ld-arm/cortex-a8-fix-blx-rel-arm.d: New. + * ld-arm/cortex-a8-fix-blx-rel-thumb.d: New. + * ld-arm/cortex-a8-fix-blx.s: New. + * ld-arm/cortex-a8-fix-blx.d: New. + * ld-arm/arm-elf.exp: Add new tests. + +2009-05-22 Nathan Sidwell <nathan@codesourcery.com> + + * ld-scripts/rgn-at4.t: New. + * ld-scripts/rgn-at4.d: New. + +2009-05-21 Dave Korn <dave.korn.cygwin@gmail.com> + + * ld-pe/aligncomm-1.c (_alloca): Add dummy definition to + satisfy final link on Windows targets when using gcc-3. + * ld-pe/aligncomm-2.c (_alloca): Likewise. + * ld-pe/aligncomm-3.c (_alloca): Likewise. + * ld-pe/aligncomm-4.c (_alloca): Likewise. + +2009-05-20 Dave Korn <dave.korn.cygwin@gmail.com> + + * lib/ld-lib.exp (run_ld_link_tests): Filter test names against + runtests list. + +2009-05-19 Dave Korn <dave.korn.cygwin@gmail.com> + + * ld-pe/aligncomm-1.c: New test source file. + * ld-pe/aligncomm-2.c: Likewise. + * ld-pe/aligncomm-3.c: Likewise. + * ld-pe/aligncomm-4.c: Likewise. + * ld-pe/aligncomm.d: New test pattern file. + + * ld-pe/direct.exp: Deleted, and content moved into ... + * ld-pe/pe-run.exp: ... New common file for all PE run tests. + + * ld-pe/vers-script.exp: Deleted, and content merged into ... + * ld-pe/pe-compile.exp: ... New common file for PE tests needing + a compiler, adding aligned common tests. + + * ld-pe/pe.exp: Update header comment. + +2009-05-17 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> + + * ld-pe/exports.d: New file. + * ld-pe/exports.s: New file. + * ld-pe/pe.exp: New test for empty export table. + +2009-05-16 Alan Modra <amodra@bigpond.net.au> + + * ld-elf/orphan3.d, * ld-elf/orphan3a.s, * ld-elf/orphan3b.s, + * ld-elf/orphan3c.s, * ld-elf/orphan3d.s, * ld-elf/orphan3e.s, + * ld-elf/orphan3f.s: Increase section size to 16. + * ld-pe/orphan.d, * ld-pe/orphana.s, * ld-pe/orphanb.s, + * ld-pe/orphand.s, * ld-pe/orphane.s: Likewise. + +2009-05-15 Alan Modra <amodra@bigpond.net.au> + + * ld-elf/orphan3.d, * ld-elf/orphan3a.s, * ld-elf/orphan3b.s, + * ld-elf/orphan3c.s, * ld-elf/orphan3d.s, * ld-elf/orphan3e.s, + * ld-elf/orphan3f.s: New test. + * ld-pe/orphan.d, * ld-pe/orphana.s, * ld-pe/orphanb.s, + * ld-pe/orphand.s, * ld-pe/orphane.s: New test. + * ld-pe/direct.exp: Use is_pecoff_format. + * ld-pe/longsecn.exp: Delete. + * ld-pe/pe.exp: Run new test and longsecn tests. + +2009-05-15 Andrew Stubbs <ams@codesourcery.com> + Paul Brook <paul@codesourcery.com> + + * ld-arm/arm-elf.exp: Add unwind-5. + * ld-arm/discard-unwind.ld: New file. + * ld-arm/unwind-5.d: New test. + * ld-arm/unwind-5.s: New test. + +2009-05-14 Ulrich Weigand <uweigand@de.ibm.com> + + * ld-spu/icache1.d: Update for compact stubs. + +2009-05-14 Ulrich Weigand <uweigand@de.ibm.com> + + * ld-spu/icache1.d: Update all addresses to accomodate icache + buffer shifted down 0x800 bytes. + +2009-05-14 Ulrich Weigand <uweigand@de.ibm.com> + + * ld-spu/icache.d: Update file offsets. + * ld-spu/ovl.d: Likewise. + * ld-spu/ovl1.d: Likewise. + +2009-05-14 Alan Modra <amodra@bigpond.net.au> + + * ld-spu/icache1.d: Update for changed overlay manager placement. + * ld-spu/ovl.d: Likewise. + * ld-spu/ovl2.d: Likewise. + +2009-05-05 Paul Brook <paul@codesourcery.com> + + * ld-arm/arm.ld: Add .ARM.exidx and .ARM.extab. + * ld-arm/arm-elf.exp: Add unwind-[1-4]. + * ld-arm/unwind-1.d: New test. + * ld-arm/unwind-1.s: New test. + * ld-arm/unwind-2.d: New test. + * ld-arm/unwind-2.s: New test. + * ld-arm/unwind-3.d: New test. + * ld-arm/unwind-3.s: New test. + * ld-arm/unwind-4.d: New test. + * ld-arm/unwind-4.s: New test. + +2009-05-01 Julian Brown <julian@codesourcery.com> + + * ld-arm/arm-elf.exp (armeabitests): Add thumb2-bl-blx-interwork test. + * ld-arm/thumb2-bl-blx-interwork.s: New. + * ld-arm/thumb2-bl-blx-interwork.d: New. + +2009-04-30 Nick Clifton <nickc@redhat.com> + + * ld-ifunc: New directory. + * ld-ifunc/ifunc.exp: New file: Run the IFUNC tests. + * ld-ifunc/prog.c: New file. + * ld-ifunc/lib.c: New file. + +2009-04-30 Joseph Myers <joseph@codesourcery.com> + + * ld-arm/movw-shared-1.d, ld-arm/movw-shared-1.s, + ld-arm/movw-shared-2.d, ld-arm/movw-shared-2.s, + ld-arm/movw-shared-3.d, ld-arm/movw-shared-3.s, + ld-arm/movw-shared-4.d, ld-arm/movw-shared-4.s: New tests. + * ld-arm/arm-elf.exp: Run these new tests. + +2009-04-29 Chris Demetriou <cgd@google.com> + + * ld-elfvers/vers.exp (vers4b): New test to verify that + --no-export-dynamic undoes --export-dynamic. + +2009-04-28 Nathan Sidwell <nathan@codesourcery.com> + + * ld-i386/vxworks1-lib.dd: Adjust expected disassembly. + * ld-i386/vxworks1.dd: Adjust expected disassembly. + * ld-i386/vxworks1-lib.rd: Sections are swapped. + +2009-04-22 Christophe Lyon <christophe.lyon@st.com> + + PR9743 + * ld-arm/arm-call.d: Update expected result. + * ld-arm/arm-pic-veneer.d: Likewise. + * ld-arm/thumb2-b-interwork.d: Likewise. + +2009-04-22 Nathan Sidwell <nathan@codesourcery.com> + + * ld-scripts/rgn-at1.d: Cope with larger padding on sections. + * ld-scripts/rgn-at2.d: Likewise. + * ld-scripts/rgn-at3.d: Likewise. + +2009-04-21 Daniel Jacobowitz <dan@codesourcery.com> + + * ld-arm/farcall-mix.d, ld-arm/farcall-mix2.d, + ld-arm/farcall-group-size2.d, ld-arm/farcall-group.d, + ld-arm/farcall-mixed-lib.d: Update for linker changes. + +2009-04-17 Christophe Lyon <christophe.lyon@st.com> + + * ld-arm/arm-elf.exp: Add new test farcall-mixed-lib. + * ld-arm/farcall-mixed-lib.d: Update expected output. + * ld-arm/farcall-mixed-lib1.s: New file. + * ld-arm/farcall-mixed-lib2.s: New file. + +2009-04-16 Richard Sandiford <r.sandiford@uk.ibm.com> + + * ld-powerpc/aix-export-2.s, ld-powerpc/aix-export-2.nd: New test. + * ld-powerpc/aix52.exp: Run it. + +2009-04-16 Alan Modra <amodra@bigpond.net.au> + + * ld-libs/lib-1.s: Use "==" instead of ".set". + * ld-libs/lib-2.s: Likewise. + * ld-scripts/defined.s: Likewise. + +2009-04-15 Christophe Lyon <christophe.lyon@st.com> + + * ld-arm/arm-elf.exp: Add 1 more test to check undef weak + reference with PLT in ARM mode. + * ld-arm/thumb2-bl-undefweak1.d, ld-arm/thumb2-bl-undefweak1.s: + New files. + +2009-04-08 H.J. Lu <hongjiu.lu@intel.com> + + * ld-i386/abs.d: Add --32 for assembler and -melf_i386 for + linker. + +2009-04-03 Nathan Sidwell <nathan@codesourcery.com> + + * ld-scripts/rgn-at.s: Use explicit .section pseudos. + +2009-04-03 Dave Korn <dave.korn.cygwin@gmail.com> + + * ld-pe/image_size.d (#target): Also run test on Cygwin and x86_64 + MinGW targets. + +2009-04-03 Nathan Sidwell <nathan@codesourcery.com> + + * ld-scripts/rgn-at.exp: New. + * ld-scripts/rgn-at.s: New. + * ld-scripts/rgn-at1.d: New. + * ld-scripts/rgn-at1.t: New. + * ld-scripts/rgn-at2.d: New. + * ld-scripts/rgn-at2.t: New. + * ld-scripts/rgn-at3.d: New. + * ld-scripts/rgn-at3.t: New. + +2009-04-03 Dave Korn <dave.korn.cygwin@gmail.com> + + * ld-pe/export_dynamic_warning.s: Make dummy code portable. + +2009-04-02 Dave Korn <dave.korn.cygwin@gmail.com> + + * ld-pe/export_dynamic_warning.d (#warning): Fix regex pattern. + +2009-04-02 Dave Korn <dave.korn.cygwin@gmail.com> + + PR ld/6744 + * ld-pe/export_dynamic_warning.d: New test control file. + * ld-pe/export_dynamic_warning.s: New test source file. + * ld-pe/pe.exp: Also run export_dynamic_warning dump test. + +2009-04-02 Christophe Lyon <christophe.lyon@st.com> + + * ld-arm/farcall-thumb-thumb-pic-veneer.d: Update expected + results. + * ld-arm/farcall-thumb-thumb.d: Likewise. + +2009-04-02 Nick Clifton <nickc@redhat.com> + + PR 9987 + * lib/ld-lib.exp (check_gc_sections_available): Do not run garbage + collection tests for cygwin targets. + +2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com> + + * ld-powerpc/aix-gc-1.nd: New test. + * ld-powerpc/aix52.exp: Run it. + +2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com> + + * ld-powerpc/aix-rel-1.s, ld-powerpc/aix-rel-1.od: New test. + * ld-powerpc/aix52.exp: Run it. + +2009-04-01 Dave Korn <dave.korn.cygwin@gmail.com> + + * ld-cygwin/exe-export.exp: Add "-lkernel32" when linking test exe. + * ld-cygwin/testexe.c (testexe_main): Indicate whether global_a + was set to correct final value using error return status. + (testexe_dummy): Dummy function calls an import from kernel32.dll + to ensure it is mapped into the process space at runtime. + +2009-04-01 Christophe Lyon <christophe.lyon@st.com> + + * ld-arm/arm-elf.exp: BE8 tests expect the same output as the + default ones. + * ld-arm/arm-be8.d: Print opcodes in little endian. + * ld-arm/farcall-thumb-arm-be8.d: Removed useless expected result. + * ld-arm/farcall-arm-arm-be8.d: Likewise. + +2009-03-25 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/tls-e-dtpoffd3.d, ld-cris/tls-e-tpoffcomm1.d, + ld-cris/tls-e-tpoffcomm1.s: New tests. + +2009-03-24 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/tls-commx.s, ld-cris/tls-dso-dtpoffd2.d, + ld-cris/tls-dso-dtpoffd4.d, ld-cris/tls-dtpoffdx.s, + ld-cris/tls-e-dtpoffd1.d: New tests. + + * ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-21.d, + ld-cris/tls-e-80.d, ld-cris/tls-gd-3.d, ld-cris/tls-gd-3h.d, + ld-cris/tls-global-74.d, ld-cris/tls-ldgde-14.d, + ld-cris/tls-ldgde-15.d, ld-cris/tls-legd-16.d, + ld-cris/tls-legd-17.d, ld-cris/tls-local-57.d, + ld-cris/tls-local-58.d, ld-cris/tls-local-59.d: Adjust for BFD + change in link-time known GOT contents for GD relocations. + +2009-03-20 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/9970 + * ld-pie/pie.exp: Use -fpie to compile. Run *.d tests. + + * ld-pie/start.d: New. + * ld-pie/start.s: Likewise. + +2009-03-18 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/6766 + * ld-undefined/dummy.s: New. + * ld-undefined/entry-1.d: Likewise. + * ld-undefined/entry-2.d: Likewise. + * ld-undefined/entry-3.d: Likewise. + * ld-undefined/entry-4.d: Likewise. + * ld-undefined/entry-5.d: Likewise. + * ld-undefined/entry-6.d: Likewise. + * ld-undefined/entry.exp: Likewise. + * ld-undefined/entry.s: Likewise. + +2009-03-17 Alan Modra <amodra@bigpond.net.au> + + * ld-spu/icache1.d: Update for fixed set_id, new manager entry, and + reduced data. + +2009-03-17 Alan Modra <amodra@bigpond.net.au> + + * config/default.exp (get_link_files): Replace double dollars with + single dollars. + +2009-03-17 Alan Modra <amodra@bigpond.net.au> + + * ld-bootstrap/bootstrap.exp: Use DO_COMPARE. Remove unnecessary + cleanup and log output. + +2009-03-16 Dave Korn <dave.korn.cygwin@gmail.com> + + * ld-bootstrap/bootstrap.exp: Also pass '-liconv' to linker when + linking statically on Cygwin, necessitated by '-lintl'. + +2009-03-15 Dave Korn <dave.korn.cygwin@gmail.com> + + * ld-auto-import/auto-import.exp: Add missing dll entrypoint. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * ld-powerpc/aix-export-1-all.dd, ld-powerpc/aix-export-1-full.dd, + ld-powerpc/aix-export-1a.s, ld-powerpc/aix-export-1b.s: New tests. + * ld-powerpc/aix52.exp: Run them. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * ld-powerpc/aix-gc-1.s, ld-powerpc/aix-gc-1.ex, + ld-powerpc/aix-gc-1-32.dd, ld-powerpc/aix-gc-1-64.dd, + ld-powerpc/aix-weak-1-gcdso.dnd, ld-powerpc/aix-weak-1-gcdso.hd, + ld-powerpc/aix-weak-1-gcdso.nd: New tests. + * ld-powerpc/aix52.exp: Run them. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * ld-powerpc/aix-glink-2a.s, ld-powerpc/aix-glink-2a.ex, + ld-powerpc/aix-glink-2b.s, ld-powerpc/aix-glink-2c.s, + ld-powerpc/aix-glink-2c.ex, ld-powerpc/aix-glink-2d.s, + ld-powerpc/aix-glink-2-32.dd, ld-powerpc/aix-glink-2-64.dd, + ld-powerpc/aix-weak-1a.s, ld-powerpc/aix-weak-1b.s, + ld-powerpc/aix-weak-1-rel.hd, ld-powerpc/aix-weak-1-rel.nd, + ld-powerpc/aix-weak-1-dso.hd, ld-powerpc/aix-weak-1-dso.nd, + ld-powerpc/aix-weak-1-dso.dnd, ld-powerpc/aix-weak-1.ex, + ld-powerpc/aix-weak-2a.s, ld-powerpc/aix-weak-2a.ex, + ld-powerpc/aix-weak-2a.nd, ld-powerpc/aix-weak-2b.s, + ld-powerpc/aix-weak-2b.nd, ld-powerpc/aix-weak-2c.s, + ld-powerpc/aix-weak-2c.ex, ld-powerpc/aix-weak-2c.nd, + ld-powerpc/aix-weak-2c.od, ld-powerpc/aix-weak-3a.s, + ld-powerpc/aix-weak-3a.ex, ld-powerpc/aix-weak-3b.s, + ld-powerpc/aix-weak-3b.ex, ld-powerpc/aix-weak-3-32.d, + ld-powerpc/aix-weak-3-32.dd, ld-powerpc/aix-weak-3-64.d, + ld-powerpc/aix-weak-3-64.dd: New tests. + * ld-powerpc/aix52.exp: Run them. Replace tmp/aix-* with + tmp/aix64-* in 64-bit ld options. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * ld-powerpc/aix-no-dup-syms-1a.s, ld-powerpc/aix-no-dup-syms-1b.s, + ld-powerpc/aix-no-dup-syms-1.ex, ld-powerpc/aix-no-dup-syms-1.im, + ld-powerpc/aix-no-dup-syms-1-dso.dnd, + ld-powerpc/aix-no-dup-syms-1-dso.drd, + ld-powerpc/aix-no-dup-syms-1-dso.nd, + ld-powerpc/aix-no-dup-syms-1-dso.rd, + ld-powerpc/aix-no-dup-syms-1-rel.nd, + ld-powerpc/aix-no-dup-syms-1-rel.rd: New tests. + * ld-powerpc/aix52.exp: Run them. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * ld-powerpc/aix-abs-branch-1.nd, + ld-powerpc/aix-abs-reloc-1.nd: New tests. + * ld-powerpc/aix52.exp: Run them. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * ld-powerpc/aix-lineno-1.s, ld-powerpc/aix-lineno-1.txt, + ld-powerpc/aix-lineno-1a.dd, ld-powerpc/aix-lineno-1a.nd, + ld-powerpc/aix-lineno-1b.dd, ld-powerpc/aix-lineno-1b.nd: New tests. + * ld-powerpc/aix52.exp: Run them. Copy aix-lineno-1.txt to tmpdir. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * ld-powerpc/aix-toc-1.ex, ld-powerpc/aix-toc-1a.s, + ld-powerpc/aix-toc-1b.s, ld-powerpc/aix-toc-1-32.dd, + ld-powerpc/aix-toc-1-64.dd: New tests. + * ld-powerpc/aix52.exp: Run them. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * ld-powerpc/aix-glink-1.ex, ld-powerpc/aix-glink-1.s, + ld-powerpc/aix-glink-1-32.dd, ld-powerpc/aix-glink-1-64.dd, + ld-powerpc/aix-glink-1-32.d, ld-powerpc/aix-glink-1-64.d: New tests. + * ld-powerpc/aix52.exp: Run them. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * ld-powerpc/aix-abs-branch-1.im, ld-powerpc/aix-abs-branch-1.ex, + ld-powerpc/aix-abs-branch-1.s, + ld-powerpc/aix-abs-branch-1.dd: New test. + * ld-powerpc/aix52.exp: Run it. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * ld-powerpc/aix-abs-reloc-1.ex, ld-powerpc/aix-abs-reloc-1.im, + ld-powerpc/aix-abs-reloc-1.od, ld-powerpc/aix-abs-reloc-1.s: New test. + * ld-powerpc/aix52.exp: Run it. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * ld-powerpc/aix-core-sec-1.s, ld-powerpc/aix-core-sec-1.ex, + ld-powerpc/aix-core-sec-1.hd, ld-powerpc/aix-core-sec-2.s, + ld-powerpc/aix-core-sec-2.ex, ld-powerpc/aix-core-sec-2.hd, + ld-powerpc/aix-core-sec-3.s, ld-powerpc/aix-core-sec-3.ex, + ld-powerpc/aix-core-sec-3.hd: New tests. + * ld-powerpc/aix52.exp: New harness. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + + * lib/ld-lib.exp (ar_simple_create): Add an "aropts" parameter. + (run_ld_link_tests): Treat the second list element as "ar" options + when creating an archive. Don't run the linker in this case. + (run_cc_link_tests): Likewise. + +2009-03-13 Nick Clifton <nickc@redhat.com> + + * lib/ld-lib.exp (run_dump_test): Add verbose to list of globals. + Replace call to verbose_eval with a test of verbose level. If + greater than 2 always dump the contents of the dumpfile. If equal + to 2 only dump the contents if the regexp diff failed. + (proc verbose_eval): Delete. + +2009-03-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * ld-elf/empty2.d: Remove xfail for hppa*-*-*. + * ld-elf/merge.d: Change xfail for hppa to hppa*64*-*-*. + +2009-03-05 Christophe Lyon <christophe.lyon@st.com> + + * ld-arm/arm-elf.exp: Add new farcall-group-limit test. + * ld-arm/farcall-group-limit.d: New file. + * ld-arm/farcall-group3.s: New file. + * ld-arm/farcall-group4.s: New file. + +2009-03-05 Christophe Lyon <christophe.lyon@st.com> + + * ld-arm/arm-elf.exp: Add 2 more tests to check long branch stubs + in PLT context. + * ld-arm/farcall-mixed-app-v5.d: New file. + * ld-arm/farcall-mixed-app.d: Likewise. + * ld-arm/farcall-mixed-app.r: Likewise. + * ld-arm/farcall-mixed-app.s: Likewise. + * ld-arm/farcall-mixed-app.sym: Likewise. + * ld-arm/farcall-mixed-lib.d: Likewise. + * ld-arm/farcall-mixed-lib.r: Likewise. + +2009-03-04 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/tlsmark.s, * ld-powerpc/tlsmark.d: New test. + * ld-powerpc/tlsmark32.s, * ld-powerpc/tlsmark32.d: New test. + * ld-powerpc/powerpc.exp: Run them. + +2009-03-02 Sebastian Huber <sebastian.huber@embedded-brains.de> + + * ld-scripts/regions-alias-1.t: New file. + * ld-scripts/regions-alias-2.t: New file. + * ld-scripts/regions-alias-3.t: New file. + * ld-scripts/regions-alias-4.t: New file. + * ld-scripts/script.exp: Run region alias tests. + +2009-02-27 Dave Korn <dave.korn.cygwin@gmail.com> + + * ld-pe/pe.exp: Disable auto-import when linking on Cygwin. + +2009-02-26 Christophe Lyon <christophe.lyon@st.com> + + * ld-arm/arm-elf.exp: Add 3 tests for the 3 new stubs. + * ld-arm/farcall-thumb-arm-pic-veneer.d: New expected result, the + test is now expected to pass. + * ld-arm/farcall-thumb-thumb-m-pic-veneer.d: Likewise. + * ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise. + +2009-02-25 Christophe Lyon <christophe.lyon@st.com> + + * ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: Update expected result, + as stubs are now generated and the end of the .text section. + * ld-arm/thumb2-bl-bad-noeabi.d: Likewise. + +2009-02-24 Daniel Jacobowitz <dan@codesourcery.com> + + * ld-arm/farcall-arm-thumb-blx-pic-veneer.d, + ld-arm/farcall-arm-thumb-pic-veneer.d, + ld-arm/farcall-thumb-thumb-blx-pic-veneer.d: Update for fixed + Thumb PIC stub. + +2009-02-24 Daniel Jacobowitz <dan@codesourcery.com> + + * ld-arm/arm-elf.exp (armeabitests): Update duplicate test names. + Use normal output files for big-endian. + * ld-arm/farcall-arm-arm-be.d, ld-arm/farcall-thumb-arm-be.d: Delete. + * ld-arm/farcall-arm-arm-be8.d, ld-arm/farcall-arm-arm-pic-veneer.d, + ld-arm/farcall-arm-arm.d, ld-arm/farcall-arm-thumb-blx-pic-veneer.d, + ld-arm/farcall-arm-thumb-blx.d, ld-arm/farcall-arm-thumb-pic-veneer.d, + ld-arm/farcall-arm-thumb.d, ld-arm/farcall-group-size2.d, + ld-arm/farcall-group.d, ld-arm/farcall-mix.d, ld-arm/farcall-mix2.d, + ld-arm/farcall-thumb-arm-be8.d, + ld-arm/farcall-thumb-arm-blx-pic-veneer.d, + ld-arm/farcall-thumb-arm-blx.d, ld-arm/farcall-thumb-arm-short.d, + ld-arm/farcall-thumb-arm.d, + ld-arm/farcall-thumb-thumb-blx-pic-veneer.d, + ld-arm/farcall-thumb-thumb-blx.d, ld-arm/farcall-thumb-thumb-m.d, + ld-arm/farcall-thumb-thumb.d, ld-arm/thumb2-bl-as-thumb1-bad.d, + ld-arm/thumb2-bl-bad.d: Update for moved stubs. + +2009-02-23 Daniel Jacobowitz <dan@codesourcery.com> + + * ld-arm/arm-elf.exp (armeabitests): Run new tests. Correct BE8 output + filename. + * ld-arm/farcall-arm-arm-be.d, ld-arm/farcall-thumb-arm-be.d: New. + +2009-02-23 Christophe Lyon <christophe.lyon@st.com> + + * ld-arm/arm-elf.exp: Add new farcall-thumb-arm-be8 test. + * ld-arm/farcall-thumb-arm-be8.d: New expected result. + * ld-arm/farcall-arm-arm-be8.d: Replace wildcards by instructions. + +2009-02-23 Christophe Lyon <christophe.lyon@st.com> + + * ld-arm/arm-elf.exp: Rewrite non-EABI variants of + thumb2-bl-as-thumb1-bad and thumb2-bl-bad tests, which now + pass. farcall-thumb-thumb now passes in EABI mode. + * ld-arm/farcall-thumb-arm-pic-veneer.d: Fixed name, source, as + and ld flags to match intended test. + * ld-arm/farcall-thumb-arm.d: New expected result. + * ld-arm/farcall-thumb-thumb-m.d: Likewise. + * ld-arm/farcall-thumb-thumb-m-pic-veneer.d: Fixed name and ld + flags. + * ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise. + * ld-arm/farcall-thumb-thumb.d: New expected result, this test is + now expected to pass. + * ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: Likewise. + * ld-arm/thumb2-bl-bad-noeabi.d: Likewise. + * ld-arm/thumb2-bl-as-thumb1-bad.d: Update addresses according to + new use. + * ld-arm/thumb2-bl-as-thumb1-bad.s: Update comment. + +2009-18-02 Dave Korn <dave.korn.cygwin@gmail.com> + + * ld-pe/longsecn-1.d: New test file. + * ld-pe/longsecn-2.d: Likewise. + * ld-pe/longsecn-3.d: Likewise. + * ld-pe/longsecn-4.d: Likewise. + * ld-pe/longsecn-5.d: Likewise. + * ld-pe/longsecn.d: Likewise. + * ld-pe/longsecn.exp: New test control script. + * ld-pe/longsecn.s: New test source file. + +2009-02-18 Christophe Lyon <christophe.lyon@st.com> + + * ld-arm/farcall-arm-arm-pic-veneer.d, + ld-arm/farcall-arm-thumb-blx-pic-veneer.d, + ld-arm/farcall-arm-thumb-pic-veneer.d, + ld-arm/farcall-thumb-arm-blx-pic-veneer.d, + ld-arm/farcall-thumb-thumb-blx-pic-veneer.d: Fix expected stub + target. + +2009-02-06 Joseph Myers <joseph@codesourcery.com> + + * lib/ld-lib.exp (check_gc_sections_available): Return 0 for + *-*-mingw*. + +2009-02-05 Joseph Myers <joseph@codesourcery.com> + + * ld-arm/arm-elf.exp (armeabitests): Restore thumb2-b-interwork. + +2009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com> + + * ld-m68k/got-multigot-12-13-14-34-35-ok.d: Update. + * ld-m68k/got-multigot-14-ok.d: Update. + * ld-m68k/m68k-got.exp: Update. + * ld-m68k/got-negative-12-13-14-34-ok.d: Update. + * ld-m68k/got-negative-14-ok.d: Update. + * ld-m68k/tls-gd-1.d, ld-m68k/tls-gd-2.d: New tests. + * ld-m68k/tls-gd-ie-1.d, ld-m68k/tls-ie-1.d: New tests. + * ld-m68k/tls-ld-1.d, ld-m68k/tls-ld-2.d: New tests. + * ld-m68k/tls-ld-1.s, ld-m68k/tls-ld-2.s, ld-m68k/tls-le-1.s: + New test sources. + * ld-m68k/tls-no-1.s, ld-m68k/tls-gd-ie-1.s, ld-m68k/tls-gd-1.s: + New test sources. + * ld-m68k/tls-gd-2.s, ld-m68k/tls-ie-1.s: New test sources. + * ld-m68k/m68k.exp: Run new tests. + (merge isa-a isa-a:nodiv): Fix. + +2009-02-01 Jan Kratochvil <jan.kratochvil@redhat.com> + + * ld-elf/eh-group2.s: New `.cfi_lsda' referencing `.gcc_except_table'. + * ld-elf/eh-group.exp: New test and conditional defininiton of `ELF64'. + +2009-01-29 Nick Clifton <nickc@redhat.com> + + * lib/ld-lib.exp (check_gc_sections_available): Add MeP to list of + targets which do not support garbage collection. + * ld-srec/srec.exp (run_srec_test): Expect tests to fail for MeP. + * ld-elf/group8a.d: Likewise. + * ld-elf/group8b.d: Likewise. + * ld-elf/group9a.d: Likewise. + * ld-elf/group9b.d: Likewise. + +2009-01-27 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/tls-tbss64.s, ld-cris/tls-e-80.d: New test. + + * ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-22.d, + ld-cris/tls-ldgde-14.d, ld-cris/tls-ldgde-15.d, + ld-cris/tls-ldgdex-14.d, ld-cris/tls-ldgdex-15.d: Adjust for + change in relocation values. + + * ld-cris/weakhiddso.d, ld-cris/weakhid.s: New test. + +2009-01-26 Nathan Sidwell <nathan@codesourcery.com> + + * ld-powerpc/powerpc.exp: Add vxworks relax testcase. + * ld-powerpc/vxworks-relax.s, ld-powerpc/vxworks-relax.rd: New. + * ld-powerpc/vxworks1.ld: Add .pad and .far input sections. + * ld-powerpc/vxworks1.rd: Correct regexp for undefined symbols. + +2009-01-26 Andrew Stubbs <ams@codesourcery.com> + + * ld-arm/attr-merge-3.attr: Update following gas change. + * ld-arm/attr-merge-2.attr: Update Tag_ARM_ISA_use and + Tag_THUMB_ISA_use following gas changes. + * ld-arm/attr-merge-4.attr: Likewise. + * ld-arm/attr-merge-5.attr: Likewise. + * ld-arm/attr-merge-arch-1.attr: Likewise. + * ld-arm/attr-merge-arch-2.attr: Likewise. + * ld-arm/attr-merge-unknown-2.d: Likewise. + * ld-arm/attr-merge-unknown-2r.d: Likewise. + * ld-arm/attr-merge-unknown-3.d: Likewise. + * ld-arm/attr-merge-wchar-00-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-00.d: Likewise. + * ld-arm/attr-merge-wchar-02-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-02.d: Likewise. + * ld-arm/attr-merge-wchar-04-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-04.d: Likewise. + * ld-arm/attr-merge-wchar-20-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-20.d: Likewise. + * ld-arm/attr-merge-wchar-22-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-22.d: Likewise. + * ld-arm/attr-merge-wchar-24-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-40-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-40.d: Likewise. + * ld-arm/attr-merge-wchar-42-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-44-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-44.d: Likewise. + * ld-arm/attr-merge.attr: Likewise. + +2009-01-21 Alan Modra <amodra@bigpond.net.au> + + * ld-spu/icache1.d: Add --non-ia-text to ld options. + +2009-01-19 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/expdref3.s, ld-cris/expdref4.s, ld-cris/weakref3.d, + ld-cris/weakref4.d: New tests. + * ld-cris/libdso-15b.d: Adjust for recent weakref fix. + +2009-01-19 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elf/group9.s: Replace .byte with .long. + +2009-01-19 Andrew Stubbs <ams@codesourcery.com> + + * ld-arm/arm-elf.exp (armeabitests): Add EABI attribute merging 3, + EABI attribute merging 4, and EABI attribute merging 5, + EABI attribute arch merging 1, EABI attribute arch merging 1 reversed, + EABI attribute arch merging 2, EABI attribute arch merging 2 reversed. + Add attr-merge-unknown-1, attr-merge-unknown-2, attr-merge-unknown-2r, + and attr-merge-unknown-3 dump tests. + * ld-arm/arch-v6.s: New file. + * ld-arm/arch-v6k.s: New file. + * ld-arm/arch-v6t2.s: New file. + * ld-arm/attr-merge-3.attr: New file. + * ld-arm/attr-merge-3a.s: New file. + * ld-arm/attr-merge-3b.s: New file. + * ld-arm/attr-merge-4.attr: New file. + * ld-arm/attr-merge-4a.s: New file. + * ld-arm/attr-merge-4b.s: New file. + * ld-arm/attr-merge-5.attr: New file. + * ld-arm/attr-merge-5.s: New file. + * ld-arm/attr-merge-arch-1.attr: New file. + * ld-arm/attr-merge-arch-2.attr: New file. + * ld-arm/attr-merge-unknown-1.d: New file. + * ld-arm/attr-merge-unknown-1.s: New file. + * ld-arm/attr-merge-unknown-2.d: New file. + * ld-arm/attr-merge-unknown-2.s: New file. + * ld-arm/attr-merge-unknown-2r.d: New file. + * ld-arm/attr-merge-unknown-3.d: New file. + * ld-arm/blank.s: New file. + +2009-01-16 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elf/textaddr1.d: New. + * ld-elf/textaddr2.d: Likewise. + +2009-01-14 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/9727 + * ld-elf/group8.s: New. + * ld-elf/group8a.d: Likewise. + * ld-elf/group8b.d: Likewise. + * ld-elf/group9.s: Likewise. + * ld-elf/group9a.d: Likewise. + * ld-elf/group9b.d: Likewise. + +2009-01-13 Alan Modra <amodra@bigpond.net.au> + + * ld-spu/icache1.s: New file. + * ld-spu/icache1.d: New file. + +2009-01-13 Alan Modra <amodra@bigpond.net.au> + + * ld-elf/elf.exp: Save and restore LDFLAGS. + * ld-scripts/default-script.exp: Likewise. + * ld-scripts/empty-orphan.exp: Likewise, and add to LDFLAGS rather + than replacing. + * ld-scripts/include.exp: Set --local-store for SPU. + +2009-01-12 Alan Modra <amodra@bigpond.net.au> + + * ld-spu/ovl.d: Allow for absolute branches in stubs. + * ld-spu/ovl2.d: Likewise. + +2009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com> + + * ld-elf/linkoncerdiff.d, ld-elf/linkoncerdiff1.s, + ld-elf/linkoncerdiff2.s: New. + +2009-01-07 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-21.d, + ld-cris/tls-e-23.d, ld-cris/tls-e-66.d, ld-cris/tls-gd-3.d, + ld-cris/tls-gd-3h.d, ld-cris/tls-global-74.d, + ld-cris/tls-ie-8e1.d, ld-cris/tls-ldgde-14.d, + ld-cris/tls-ldgde-15.d, ld-cris/tls-le-12.d, ld-cris/tls-le-13.d, + ld-cris/tls-le-13s.d, ld-cris/tls-legd-16.d, + ld-cris/tls-legd-17.d, ld-cris/tls-legdx-16.d, + ld-cris/tls-legdx-17.d, ld-cris/tls-leie-18.d, + ld-cris/tls-leie-19.d, ld-cris/tls-local-57.d, + ld-cris/tls-local-58.d, ld-cris/tls-local-59.d: Adjust for + relocation value now offset by negative program TLS block size. + * ld-cris/tls-le-12s.d: Ditto. Move 128-byte tls-data to last. + Adjust accordingly. + * ld-cris/tls-le-12s.s: Use movs, not movu, for sign-extended + always-negative relocation. + * ld-cris/tls-tprelm.s: Move filler data to after symbol for + tested relocation. + * ld-cris/tls-ok-36.d: Adjust accordingly. + +2009-01-03 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/tls-js1.d: New test. + +2009-01-02 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/9679 + * ld-elf/pr9679-1.c: New. + * ld-elf/pr9679-2.c: Likewise. + * ld-elf/pr9679.rd: Likewise. + + * ld-elf/shared.exp (build_tests): Add test for libpr9679.so. + +2009-01-02 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/9676 + * ld-elf/pr9676-1.c: New. + * ld-elf/pr9676-2.c: Likewiswe. + * ld-elf/pr9676-3.c: Likewiswe. + * ld-elf/pr9676-4.c: Likewiswe. + * ld-elf/pr9676.rd: Likewiswe. + + * ld-elf/shared.exp (build_tests): Add tests for libpr9676-1.a, + libpr9676-2.a, libpr9676-3.so, libpr9676-4.so and + libpr9676-4a.so. + + * lib/ld-lib.exp (ar_simple_create): New. + (run_ld_link_tests): Support archive. + (run_cc_link_tests): Likewiswe. + +For older changes see ChangeLog-2008 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index c5edeb1..4a2a6da 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,1797 +1,5 @@ -2009-12-19 H.J. Lu <hongjiu.lu@intel.com> - * i386-gen.c (opcode_modifiers): Remove VexNDS, VexNDD and - VexLWP. Add VexVVVV. - - * i386-opc.h (VexNDS): Removed. - (VexNDD): Likewise. - (VexLWP): Likewise. - (VEXXDS): New. - (VEXNDD): Likewise. - (VEXLWP): Likewise. - (VexVVVV): Likewise. - (i386_opcode_modifier): Remove vexnds, vexndd and vexlwp. - Add vexvvvv. - - * i386-opc.tbl: Replace VexNDS with VexVVVV=1, VexNDD with - VexVVVV=2 and VexLWP with VexVVVV=3. - * i386-tbl.h: Regenerated. - -2009-12-18 H.J. Lu <hongjiu.lu@intel.com> - - * i386-gen.c (operand_types): Move Imm1 before Imm8. - -2009-12-17 Nick Clifton <nickc@redhat.com> - - PR binutils/10924 - * arm-dis.c: Add support for %<>ru and %<>rU formats to enforce - unique register numbers. Extend support for %<>R format to - thumb32 and coprocessor instructions. - -2009-12-16 H.J. Lu <hongjiu.lu@intel.com> - - * i386-gen.c (opcode_modifiers): Remove ByteOkIntel. - - * i386-opc.h (ByteOkIntel): Removed. - (i386_opcode_modifier): Remove byteokintel. - - * i386-opc.tbl: Remove ByteOkIntel. - * i386-tbl.h: Regenerated. - -2009-12-16 H.J. Lu <hongjiu.lu@intel.com> - - * i386-gen.c (opcode_modifiers): Remove Vex0F, Vex0F38, - Vex0F3A, XOP08, XOP09 and XOP0A. Add VexOpcode. - - * i386-opc.h (Vex0F): Removed. - (Vex0F38): Likewise. - (Vex0F3A): Likewise. - (VexOpcode): New. - (VEX0F): Likewise. - (VEX0F38): Likewise. - (VEX0F3A): Likewise. - (XOP08): Defined as a macro. - (XOP09): Likewise. - (XOP0A): Likewise. - (i386_opcode_modifier): Remove vex0f, vex0f38, vex0f3a, xop08, - xop09 and xop0a. Add vexopcode. - - * i386-opc.tbl: Replace Vex0F with VexOpcode=0, Vex0F38 with - VexOpcode=1, Vex0F3A with VexOpcode=2, XOP08 with VexOpcode=3, - XOP09 with VexOpcode=4 and XOP0A with VexOpcode=5. - * i386-tbl.h: Regenerated. - -2009-12-15 H.J. Lu <hongjiu.lu@intel.com> - - * i386-opc.h (VEX2SOURCES): Renamed to ... - (XOP2SOURCES): This. - -2009-12-15 H.J. Lu <hongjiu.lu@intel.com> - - * i386-gen.c (opcode_modifiers): Remove Vex3Sources and - Vex2Sources. Add VexSources. - - * i386-opc.h (Vex2Sources): Removed. - (Vex3Sources): Likewise. - (VEX2SOURCES): New. - (VEX3SOURCES): Likewise. - (VexSources): Likewise. - (i386_opcode_modifier): Remove vex2sources and vex3sources. - Add vexsources. - - * i386-opc.tbl: Replace Vex2Sources with VexSources=1 and - Vex3Sourceswith VexSources=2. - * i386-tbl.h: Regenerated. - -2009-12-15 H.J. Lu <hongjiu.lu@intel.com> - - * i386-gen.c (opcode_modifiers): Remove VexW0 and VexW1. Add - VexW. - - * i386-opc.h (VexW0): Removed. - (VexW1): Likewise. - (VEXW0): New. - (VEXW1): Likewise. - (VexW): Likewise. - (i386_opcode_modifier): Remove vexw0 and vexw1. Add vexw. - - * i386-opc.tbl: Replace VexW0 with VexW=1 and VexW1 with - Vex=2. - * i386-tbl.h: Regenerated. - -2009-12-15 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (VEX_W_3818_P_2_M_0): New. - (vex_w_table): Add VEX_W_3818_P_2_M_0. - (mod_table): Use VEX_W_3818_P_2_M_0. - -2009-12-15 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (vex_w_table): Reformat. - -2009-12-15 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (VEX_W_382X_P_2_M_0): New. - (vex_w_table): Add VEX_W_382X_P_2_M_0. - (mod_table): Use VEX_W_382X_P_2_M_0. - -2009-12-15 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (vex_w_table): Reformat. - -2009-12-15 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (USE_VEX_W_TABLE): New. - (VEX_W_TABLE): Likewise. - (VEX_W_XXX): Likewise. - (vex_w_table): Likewise. - (prefix_table): Use VEX_W_XXX. - (vex_table): Likewise. - (vex_len_table): Likewise. - (mod_table): Likewise. - (get_valid_dis386): Handle USE_VEX_W_TABLE. - - * i386-opc.tbl: Add VexW0 to AVX instructions where the VEX.W bit - isn't used. - * i386-tbl.h: Regenerated. - -2009-12-15 H.J. Lu <hongjiu.lu@intel.com> - - * i386-opc.h (VEX128): New. - (VEX256): Likewise. - -2009-12-14 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (vex_len_table): Reformat. - -2009-12-14 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (MOD_VEX_51): Renamed to ... - (MOD_VEX_50): This. - (vex_table): Updated. - (mod_table): Likewise. - -2009-12-14 Nick Clifton <nickc@redhat.com> - - PR binutils/10924 - * arm-dis.c (arm_opcodes): Specify %R in cases where using r15 - results in unpredictable behaviour. - (print_insn_arm): Handle %R. - -2009-12-11 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (get_valid_dis386): Set vex.w to 0 for VEX C5 - prefix. - (print_insn): Don't set vex.w here. - -2009-12-11 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (print_insn): Set vex.w to 0. - -2009-12-11 Quentin Neill <quentin.neill@amd.com> - - * i386-dis.c (get_vex_imm8): Extend logic to apply in all cases, - to avoid fetching ahead for the immediate bytes when OP_E_memory - has already been called. Fix indentation. - -2009-12-11 Nick Clifton <nickc@redhat.com> - - * Makefile.in: Regenerate. - * configure: Regenerate. - * arm-dis.c: Fix shadowed variable warnings. - * cgen-opc.c: Likewise. - * cr16-dis.c: Likewise. - * crx-dis.c: Likewise. - * d30v-dis.c: Likewise. - * fr30-dis.c: Likewise. - * frv-opc.c: Likewise. - * h8500-dis.c: Likewise. - * i386-dis.c: Likewise. - * i960-dis.c: Likewise. - * ia64-gen.c: Likewise. - * ia64-opc.c: Likewise. - * m32c-asm.c: Likewise. - * m32c-dis.c: Likewise. - * m68k-dis.c: Likewise. - * maxq-dis.c: Likewise. - * mcore-dis.c: Likewise. - * mep-asm.c: Likewise. - * microblaze-dis.c: Likewise. - * mmix-dis.c: Likewise. - * ns32k-dis.c: Likewise. - * or32-opc.c: Likewise. - * s390-dis.c: Likewise. - * sh64-dis.c: Likewise. - * spu-dis.c: Likewise. - * tic30-dis.c: Likewise. - -2009-12-09 Nick Clifton <nickc@redhat.com> - - PR 10924 - * arm-dis.c (print_insn_arm): Mark insns that use the PC in - post-indexed addressing as unpredictable. - -2009-12-03 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (FXSAVE_Fixup): New. - (FXSAVE): Likewise. - (mod_table): Use FXSAVE on fxsave and fxrstor. - - * i386-opc.tbl: Add fxsave64 and fxrstor64. - * i386-tbl.h: Regenerated. - -2009-12-02 Nick Clifton <nickc@redhat.com> - Richard Earnshaw <rearnsha@arm.com> - - PR gas/11013 - * arm-dis.c (thumb32_opc): Adjust disassembly of QADD, QDADD, QSUB - and QDSUB. - -2009-11-30 Massimo Ruo Roch <massimo.ruoroch@polito.it> - - PR gas/11030 - * m68k-opc.c (m68k_opcodes): Allow the STLDSR instruction on the - Coldfire ISA A+. - -2009-11-17 Quentin Neill <quentin.neill@amd.com> - Sebastian Pop <sebastian.pop@amd.com> - - * i386-dis.c (get_vex_imm8): Increase bytes_before_imm when - decoding the second source operand from the immediate byte. - (OP_EX_VexW): Pass an extra integer to identify the second - and third source arguments. - -2009-11-19 H.J. Lu <hongjiu.lu@intel.com> - - * i386-opc.tbl: Add IsLockable to cmpxch16b. - * i386-tbl.h: Regenerated. - -2009-11-19 Nick Clifton <nickc@redhat.com> - - PR binutils/10924 - * arm-dis.c (print_insn_arm): Do not print an offset of zero when - decoding Immediaate Offset addressing. - -2009-11-18 Sebastian Pop <sebastian.pop@amd.com> - - PR binutils/10973 - * i386-dis.c (get_vex_imm8): Do not increment codep. - Avoid incrementing bytes_before_imm when OP_E_memory - has already forwarded the codep pointer. - (OP_EX_VexW): Increment codep to skip mod/rm byte. - -2009-11-18 Sebastian Pop <sebastian.pop@amd.com> - - * i386-dis.c (VEX_LEN_XOP_08_A0): Removed. - (VEX_LEN_XOP_08_A1): Removed. - (xop_table): Remove entries for VEX_LEN_XOP_08_A0 and - VEX_LEN_XOP_08_A1. - (vex_len_table): Same. - * i386-gen.c (CPU_CVT16_FLAGS): Removed. - (cpu_flags): Remove field for CpuCVT16. - * i386-opc.h (CpuCVT16): Removed. - (i386_cpu_flags): Remove bitfield cpucvt16. - (i386-opc.tbl): Remove CVT16 instructions. - * i386-init.h: Regenerated. - * i386-tbl.h: Regenerated. - -2009-11-17 Sebastian Pop <sebastian.pop@amd.com> - Quentin Neill <quentin.neill@amd.com> - - * i386-dis.c (OP_Vex_2src_1): New. - (OP_Vex_2src_2): New. - (Vex_2src_1): New. - (Vex_2src_2): New. - (XOP_08): Added. - (VEX_LEN_XOP_08_A0): Added. - (VEX_LEN_XOP_08_A1): Added. - (VEX_LEN_XOP_09_80): Added. - (VEX_LEN_XOP_09_81): Added. - (xop_table): Added an entry for XOP_08. Handle xop instructions. - (vex_len_table): Added entries for VEX_LEN_XOP_08_A0, - VEX_LEN_XOP_08_A1, VEX_LEN_XOP_09_80, VEX_LEN_XOP_09_81. - (get_valid_dis386): Handle XOP_08. - (OP_Vex_2src): New. - * i386-gen.c (cpu_flag_init): Add CPU_XOP_FLAGS and CPU_CVT16_FLAGS. - (cpu_flags): Add CpuXOP and CpuCVT16. - (opcode_modifiers): Add XOP08, Vex2Sources. - * i386-opc.h (CpuXOP): Added. - (CpuCVT16): Added. - (i386_cpu_flags): Add cpuxop and cpucvt16. - (XOP08): Added. - (Vex2Sources): Added. - (i386_opcode_modifier): Add xop08, vex2sources. - * i386-opc.tbl: Add entries for XOP and CVT16 instructions. - * i386-init.h: Regenerated. - * i386-tbl.h: Regenerated. - -2009-11-17 Nick Clifton <nickc@redhat.com> - - PR binutils/10924 - * arm-dis.c (arm_opcodes): Add patterns to match undefined LDRB - instruction variants. Add pattern for MRS variant that was being - confused with CMP. - (arm_decode_shift): Place error message in a comment. - (print_insn_arm): Note that writing back to the PC is - unpredictable. - Only print 'p' variants of cmp/cmn/teq/tst instructions if - decoding for pre-V6 architectures. - -2009-11-17 Edward Nevill <edward.nevill@arm.com> - - * arm-dis.c (print_insn_thumb32): Handle undefined instruction. - -2009-11-14 Doug Evans <dje@sebabeach.org> - - * Makefile.am (stamp-xc16x): Use ../cpu/xc16x.cpu instead of - ../cgen/cpu. - * Makefile.in: Regenerate. - -2009-11-13 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (OP_E_extended): Removed. - -2009-11-13 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (print_insn): Check rex_ignored. - -2009-11-13 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (ckprefix): Updated to return 0 if number of - prefixes > 14 and record the last position for each prefix. - (lock_prefix): Removed. - (data_prefix): Likewise. - (addr_prefix): Likewise. - (repz_prefix): Likewise. - (repnz_prefix): Likewise. - (last_lock_prefix): New. - (last_repz_prefix): Likewise. - (last_repnz_prefix): Likewise. - (last_data_prefix): Likewise. - (last_addr_prefix): Likewise. - (last_rex_prefix): Likewise. - (last_seg_prefix): Likewise. - (MAX_CODE_LENGTH): Likewise. - (ADDR16_PREFIX): Likewise. - (ADDR32_PREFIX): Likewise. - (DATA16_PREFIX): Likewise. - (DATA32_PREFIX): Likewise. - (REP_PREFIX): Likewise. - (seg_prefix): Likewise. - (all_prefixes): Change size to MAX_CODE_LENGTH - 1. - (prefix_name): Handle ADDR16_PREFIX, ADDR32_PREFIX, - DATA16_PREFIX, DATA32_PREFIX and REP_PREFIX. - (get_valid_dis386): Updated. - (OP_C): Likewise. - (OP_Monitor): Likewise. - (REP_Fixup): Likewise. - (print_insn): Display all prefixes. - (putop): Set PREFIX_DATA on used_prefixes only if it is used. - (intel_operand_size): Likewise. - (OP_E_register): Likewise. - (OP_G): Likewise. - (OP_REG): Likewise. - (OP_IMREG): Likewise. - (OP_I): Likewise. - (OP_I64): Likewise. - (OP_sI): Likewise. - (CRC32_Fixup): Likewise. - (MOVBE_Fixup): Likewise. - (OP_E_memory): Set REFIX_DATA on used_prefixes when it is used - in 16bit mode. - (OP_J): Set REX_W used if it is used. Set PREFIX_DATA on - used_prefixes only if it is used. - -2009-11-12 H.J. Lu <hongjiu.lu@intel.com> - - * i386-opc.tbl: Remove IsLockable from add, adc, and, dec, inc, - or, sbb, sub, xor and xchg with register only operands. - * i386-tbl.h: Regenerated. - -2009-11-12 H.J. Lu <hongjiu.lu@intel.com> - - * i386-gen.c (opcode_modifiers): Add IsLockable. - - * i386-opc.h (IsLockable): New. - (i386_opcode_modifier): Add islockable. - - * i386-opc.tbl: Add IsLockable to add, adc, and, btc, btr, - bts, cmpxchg, cmpxch8b, dec, inc, neg, not, or, sbb, sub, - xor, xadd and xchg. - * i386-tbl.h: Regenerated. - -2009-11-12 Daniel Jacobowitz <dan@codesourcery.com> - - * arm-dis.c (coprocessor_opcodes): Use %A instead of %C. Remove - generic coprocessor instructions for FPA loads and stores. - (print_insn_coprocessor): Remove %C support. Display address for - PC-relative offsets in %A. - -2009-11-11 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (all_prefixes): New. - (ckprefix): Set all_prefixes. - (print_insn): Print all_prefixes instead of lock_prefix, - repz_prefix, repnz_prefix, addr_prefix and data_prefix. - -2009-11-11 Nick Clifton <nickc@redhat.com> - - PR binutils/10924 - * arm-dis.c (UNPREDICTABLE_INSTRUCTION): New macro. - (print_insn_arm): Extend %s format control code to check for - unpredictable addressing modes. Add support for %S format control - code which suppresses this check. - (W_BIT, I_BIT, U_BIT, P_BIT): New macros. - (WRITEBACK_BIT_SET, IMMEDIATE_BIT_SET, NEGATIVE_BIT_SET, - PRE_BIT_SET): New macros. - (print_insn_coprocessor): Use the new macros instead of magic - constants. - (print_arm_address): Likewise. - (pirnt_insn_arm): Likewise. - (print_insn_thumb32): Likewise. - -2009-11-11 Nick Clifton <nickc@redhat.com> - - * po/id.po: Updated Indonesian translation. - -2009-11-10 Maxim Kuvyrkov <maxim@codesourcery.com> - - * m68k-dis.c (print_insn_arg): Handle RGPIOBAR, ACR[4-7] and MBAR[01]. - -2009-11-06 Sebastian Pop <sebastian.pop@amd.com> - - * i386-dis.c (reg_table): Add XOP_8F_TABLE (XOP_09) to - reg_table[REG_8F][1]: for XOP instructions, ModRM.reg first points to - B.mm in the RXB.mmmmm byte, and so when B is set, we still should use - the xop_table. - (get_valid_dis386): Removed unused condition (from cut/n/paste) for - XOP instructions. - -2009-11-05 Sebastian Pop <sebastian.pop@amd.com> - Quentin Neill <quentin.neill@amd.com> - - * opcodes/i386-dis.c (OP_LWPCB_E): New. - (OP_LWP_E): New. - (OP_LWP_I): New. - (USE_XOP_8F_TABLE): New. - (XOP_8F_TABLE): New. - (REG_XOP_LWPCB): New. - (REG_XOP_LWP): New. - (XOP_09): New. - (XOP_0A): New. - (reg_table): Redirect REG_8F to XOP_8F_TABLE. - Add entries for REG_XOP_LWPCB and REG_XOP_LWP. - (xop_table): New. - (get_valid_dis386): Handle USE_XOP_8F_TABLE. - Use the offsets VEX_0F, VEX_0F38, and VEX_0F3A instead of their values - to access to the vex_table. - (OP_LWPCB_E): New. - (OP_LWP_E): New. - (OP_LWP_I): New. - * opcodes/i386-gen.c (cpu_flag_init): Add CPU_LWP_FLAGS, CpuLWP. - (cpu_flags): Add CpuLWP. - (opcode_modifiers): Add VexLWP, XOP09, and XOP0A. - * opcodes/i386-opc.h (CpuLWP): New. - (i386_cpu_flags): Add bit cpulwp. - (VexLWP): New. - (XOP09): New. - (XOP0A): New. - (i386_opcode_modifier): Add vexlwp, xop09, and xop0a. - * opcodes/i386-opc.tbl (llwpcb): Added. - (lwpval): Added. - (lwpins): Added. - -2009-11-04 DJ Delorie <dj@redhat.com> - - * rx-decode.opc (rx_decode_opcode) (mvtipl): Add. - (mvtcp, mvfcp, opecp): Remove. - * rx-decode.c: Regenerate. - * rx-dis.c (cpen): Remove. - -2009-11-03 Doug Evans <dje@sebabeach.org> - - * m32c-desc.c: Regenerate. - * mep-desc.c: Regenerate. - -2009-11-02 Paul Brook <paul@codesourcery.com> - - * arm-dis.c (coprocessor_opcodes): Update to use new feature flags. - Add VFPv4 instructions. - -2009-10-29 Sebastian Pop <sebastian.pop@amd.com> - - * i386-dis.c (OP_VEX_FMA): Removed. - (VexFMA): Removed. - (Vex128FMA): Removed. - (prefix_table): First source operand of FMA4 insns is decoded - with Vex not with VexFMA. - (OP_EX_VexW): Second source operand is decoded with get_vex_imm8 - when vex.w is set. Third source operand is decoded with - -2009-10-27 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am (HFILES): Remove cgen-ops.h and cgen-types.h. - * Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2009-10-23 Doug Evans <dje@sebabeach.org> - - * cgen-ops.h: Delete, moved to ../include/cgen/basic-ops.h. - * cgen-types.h: Delete, moved to ../include/cgen/basic-modes.h. - * cgen-bitset.c: Update. - * fr30-desc.h: Regenerate. - * frv-desc.h: Regenerate. - * ip2k-desc.h: Regenerate. - * iq2000-desc.h: Regenerate. - * lm32-desc.h: Regenerate. - * m32c-desc.h: Regenerate. - * m32c-opc.h: Regenerate. - * m32r-desc.h: Regenerate. - * mep-desc.h: Regenerate. - * mt-desc.h: Regenerate. - * openrisc-desc.h: Regenerate. - * xc16x-desc.h: Regenerate. - * xstormy16-desc.h: Regenerate. - -2009-10-22 DJ Delorie <dj@redhat.com> - - * rx-decode.opc (decode_opcode): Fix flags for MUL, SUNTIL, and SWHILE. - * rx-decode.c: Regenerated. - -2009-10-20 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/10775 - * i386-dis.c: Document LB, LS and LV macros. - (dis386): Use mov%LB, mov%LS and mov%LV on mov instruction - with the 64-bit displacement or immediate operand. - (putop): Handle LB, LS and LV macros. - -2009-10-18 Doug Evans <dje@sebabeach.org> - - * lm32-opinst.c: Regenerate. - * m32c-desc.c: Regenerate. - * m32r-opinst.c: Regenerate. - * openrisc-ibld.c: Regenerate. - * xc16x-desc.c: Regenerate. - * xc16x-desc.h: Regenerate. - -2009-10-17 Doug Evans <dje@sebabeach.org> - - * Makefile.am (CGEN_CPUS): Add iq2000, lm32. - (FR30_DEPS, FRV_DEPS, IQ2000_DEPS): Move so all cgen *_DEPS are - sorted alphabetically. - (stamp-fr30, stamp-frv, stamp-iq2000, stamp-xc16x): Move so all cgen - stamp-* rules are sorted alphabetically. - * Makefile.in: Regenerate. - -2009-10-16 H.J. Lu <hongjiu.lu@intel.com> - - * i386-opc.h: Use enum instead of nested macros. - -2009-10-16 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c: Simplify enums. - -2009-10-15 H.J. Lu <hongjiu.lu@intel.com> - Ineiev <ineiev@gmail.com> - - PR binutils/10767 - * i386-dis.c: Use enum instead of nested macros. - -2009-10-15 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (MAX_BYTEMODE): Removed. - -2009-10-14 Tomas Hurka <tom@hukatronic.cz> - - PR 969 - * m68k-opc.c (m68k_opcodes): Correct mask for macl and msacl. - -2009-10-13 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (print_insn): Always clear need_vex, need_vex_reg - and vex_w_done. - -2009-10-07 Michael Eager <eager@eagercon.com> - - * microblaze-dis.c: Add include for microblaze-dis.h, - eliminate local extern decls. - * microblaze-dis.h: New. - -2009-10-06 Nick Clifton <nickc@redhat.com> - - * po/fi.po: Updated Finnish translation. - -2009-10-03 Andreas Schwab <schwab@linux-m68k.org> - - * opc2c.c: Include "libiberty.h" and <errno.h>. - (orig_filename): Constify. - (dump_lines): Fix line number directive. - (main): Set orig_filename to basename of input file. Use - xstrerror. - - * Makefile.am (rx-dis.lo): Remove explicit dependencies. - ($(srcdir)/rx-decode.c): Use @MAINT@. Use $(EXEEXT_FOR_BUILD) - instead of $(EXEEXT). - (opc2c$(EXEEXT_FOR_BUILD)): Renamed from opc2c$(EXEEXT) and use - $(LINK_FOR_BUILD). Link with libiberty. - (MOSTLYCLEANFILES): Add opc2c$(EXEEXT_FOR_BUILD). - (MAINTAINERCLEANFILES): Add $(srcdir)/rx-decode.c. - * Makefile.in: Regenerated. - * rx-decode.c: Regenerated. - -2009-10-03 Paul Reed <paulreed@paddedcell.com> - - * arm-dis.c (print_insn): Check symtab_size not *symtab. - -2009-10-02 H.J. Lu <hongjiu.lu@intel.com> - - * i386-opc.tbl: Drop Disp64 on jump and loop instructions. - * i386-tbl.h: Regenerated. - -2009-10-02 Peter Bergner <bergner@vnet.ibm.com> - - * ppc-dis.c (ppc_opts): Add "476" entry. - * ppc-opc.c (PPC476): Define. - (powerpc_opcodes): Update mnemonics where required for 476. - -2009-10-01 Peter Bergner <bergner@vnet.ibm.com> - - * ppc-opc.c (PPCA2): Use renamed mask PPC_OPCODE_A2. - * ppc-dis.c (ppc_opts): Likewise. - Rename "ppca2" to "a2". - -2009-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com> - - * crx-dis.c (match_opcode): Truncate mcode to 32-bit. - -2009-09-29 DJ Delorie <dj@redhat.com> - - * Makefile.am: Add RX files. - * configure.in: Add support for RX target. - * disassemble.c: Likewise. - * Makefile.in: Regenerate. - * configure: Regenerate. - * opc2c.c: New file. - * rx-decode.c: New file. - * rx-decode.opc: New file. - * rx-dis.c: New file. - -2009-09-29 Peter Bergner <bergner@vnet.ibm.com> - - * ppc-opc.c (powerpc_opcodes): Remove support for the the "lxsdux", - "lxvd2ux", "lxvw4ux", "stxsdux", "stxvd2ux" and "stxvw4ux" opcodes. - -2009-09-25 Michael Eager <eager@eagercon.com> - - * microblaze-dis.c (get_insn_microblaze, microblaze_get_target_address, - microblaze_decode_insn): Add declarations. - (get_delay_slots_microblaze): Remove. - -2009-09-25 Martin Thuresson <martint@google.com> - - Update sources to make arc and arm targets compile cleanly with - -Wc++-compat: - * arc-dis.c Fix casts. - * arc-ext.c: Add casts. - * arm-dis.c (enum opcode_sentinel_enum): Gave name to anonymous - enum. - -2009-09-24 H.J. Lu <hongjiu.lu@intel.com> - - * i386-gen.c (opcode_modifiers): Remove Vex256. - (set_bitfield): Handle XXX=V. - - * i386-opc.h (Vex): Update comments. - (Vex256): Removed. - (VexNDS): Updated. - (i386_opcode_modifier): Change vex to 2 bits. Remove vex256. - - * i386-opc.tbl: Replace "Vex|Vex256" with Vex=2. - * i386-tbl.h: Regenerated. - -2009-09-23 Nick Clifton <nickc@redhat.com> - - * po/fr.po: Updated French translation. - -2009-09-21 Ben Elliston <bje@au.ibm.com> - Peter Bergner <bergner@vnet.ibm.com> - - * ppc-dis.c (ppc_opts): Add "ppca2" entry. - * ppc-opc.c (powerpc_opcodes): Add eratilx, eratsx, eratsx., - eratre, wchkall, eratwe, ldawx., mdfcrx., mfdcr. mtdcrx., icswx, - icswx., mtdcr., dci, wclrone, wclrall, wclr, erativax, tlbsrx., - ici mnemonics. - (ERAT_T): New operand. - (XWC_MASK): New mask. - (XOPL2): New macro. - (PPCA2): Define. - -2009-09-18 Nick Clifton <nickc@redhat.com> - - * po/es.po: Updated Spanish translation. - * po/vi.po: Updated Vietnamese translation. - -2009-09-15 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (OP_E_memory): Don't print '-' in Intel mode if - disp == -disp. - -2009-09-14 Nick Clifton <nickc@redhat.com> - - * po/nl.po: Updated Dutch translation. - -2009-09-11 Nick Clifton <nickc@redhat.com> - - * po/opcodes.pot: Updated by the Translation project. - -2009-09-11 Martin Thuresson <martint@google.com> - - Updated sources to compile cleanly with -Wc++-compat: - * ld.h (enum endian_enum,enum symbolic_enum,enum dynamic_list_enum): Move to top level. - * ldcref.c: Add casts. - * ldctor.c: Add casts. - * ldexp.c - * ldexp.h (enum node_tree_enum,enum phase_enum): Move to top level. - * ldlang.c: Add casts. (lang_insert_orphan): Use enum name instead of integer. - * ldlang.h (enum statement_enum): Move to top level. - * ldmain.c: Add casts. - * ldwrite.c: Add casts. - * lexsup.c: Add casts. (enum control_enum): Move to top level. - * mri.c: Add casts. (mri_draw_tree): Use enum name instead of integer. - -2009-09-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * s390-dis.c (print_insn_s390): Avoid 'long long'. - -2009-09-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * s390-dis.c (s390_extract_operand): Remove the shift for pcrel operands. - (print_insn_s390): Signextend and shift pcrel operands before printing. - -2009-09-09 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (vex_len_table): Change VEX_LEN_AE_R_X_M0 to - VEX_LEN_AE_R_X_M_0 in comments. - -2009-09-08 DJ Delorie <dj@redhat.com> - - * mep-opc.c: Regenerate. - -2009-09-08 Andreas Schwab <schwab@linux-m68k.org> - - * z8kgen.c (struct op): Replace unused flavor with id. - (opt): Remove extra xorb entry. - (func): Use id field as fallback. - (sub): Return new string, caller changed. - (internal): Allocate end marker. Assign unique id before sorting. - (gas): Likewise. Fix loop end condition. - * z8k-opc.h: Regenerate. - -2009-09-08 Alan Modra <amodra@bigpond.net.au> - - * ppc-opc.c (powerpc_macros <extrdi>): Allow n+b of 64. - -2009-09-07 Alan Modra <amodra@bigpond.net.au> - - * z8kgen.c (func): Fix thinko last patch. - -2009-09-07 Alan Modra <amodra@bigpond.net.au> - - * z8kgen.c (func): Stabilize qsort of identically named entries. - * z8k-opc.h: Regenerate. - -2009-09-07 Tristan Gingold <gingold@adacore.com> - - * po/opcodes.pot: Regenerate. - -2009-09-07 Alan Modra <amodra@bigpond.net.au> - - * configure.in (BUILD_LIBS, BUILD_LIB_DEPS): Define and subst. - * configure: Regenerate. - * Makefile.am (LIBIBERTY, BUILD_LIBIBERTY, BUILD_LIBINTL): Delete. - (BUILD_LIBS, BUILD_LIB_DEPS): Define. Use.. - (i386-gen, ia64-gen, z8kgen): ..here. - * Makefile.in: Regenerate. - -2009-09-07 Tristan Gingold <gingold@adacore.com> - - * z8k-opc.h: Regenerate. - -2009-09-05 Martin Thuresson <martin@mtme.org> - - * ia64-dis.c (print_insn_ia64): Update code to use renamed member. - * m88k-dis.c (m88kdis): Rename variable class to in_class. - * tic80-opc.c (tic80_symbol_to_value, tic80_value_to_symbol): - Rename argument class to symbol_class. - -2009-09-04 Jie Zhang <jie.zhang@analog.com> - - * bfin-dis.c (decode_pseudodbg_assert_0): Change according - to the new encoding of DBGA, DBGAH, and DBGAL. - (_print_insn_bfin): Likewise. - -2009-09-03 Jie Zhang <jie.zhang@analog.com> - - * bfin-dis.c (_print_insn_bfin): Don't declare. - (print_insn_bfin): Don't declare. - (dregs_pair): Remove. - (ignore_bits): Remove. - (ccstat): Remove. - -2009-09-03 Jie Zhang <jie.zhang@analog.com> - - * bfin-dis.c (IS_DREG): Define. - (IS_PREG): Define. - (IS_AREG): Define. - (IS_GENREG): Define. - (IS_DAGREG): Define. - (IS_SYSREG): Define. - (decode_REGMV_0): Check illegal register move instructions. - -2009-09-03 Dave Korn <dave.korn.cygwin@gmail.com> - - * Makefile.am (BUILD_LIBINTL): New variable. - (i386-gen$(EXEEXT_FOR_BUILD)): Use it. - (ia64-gen$(EXEEXT_FOR_BUILD)): And here. - (z8kgen$(EXEEXT_FOR_BUILD)): And here. - * Makefile.in: Regenerate. - -2009-09-01 DJ Delorie <dj@redhat.com> - - * mep-asm.c: Regenerate. - * mep-desc.c: Regenerate. - * mep-opc.c: Regenerate. - -2009-09-01 Tristan Gingold <gingold@adacore.com> - - * makefile.vms: Ported to Itanium VMS. Remove useless targets and - dependencies. Remove unused FORMAT variable. - * configure.com: New file to create build.com DCL script for - Itanium VMS or Alpha VMS. - -2009-08-29 Martin Thuresson <martin@mtme.org> - - * cris-dis.c (bytes_to_skip): Update code to use new name. - * i386-dis.c (putop): Update code to use new name. - * i386-gen.c (process_i386_opcodes): Update code to use - new name. - * i386-opc.h (struct template): Rename struct template to - insn_template. Update code accordingly. - * i386-tbl.h (i386_optab): Update type to use new name. - * ia64-dis.c (print_insn_ia64): Rename variable template - to template_val. - * tic30-dis.c (struct instruction, get_tic30_instruction): - Update code to use new name. - * tic54x-dis.c (has_lkaddr, get_insn_size) - (print_parallel_instruction, print_insn_tic54x, tic54x_get_insn): - Update code to use new name. - * tic54x-opc.c (tic54x_unknown_opcode, tic54x_optab): - Update type to new name. - * z8kgen.c (internal, gas): Rename variable new to new_op. - -2009-08-28 H.J. Lu <hongjiu.lu@intel.com> - - * Makefile.am (COMPILE_FOR_BUILD): Remove BUILD_CPPFLAGS. - Replace BUILD_CFLAGS with CFLAGS_FOR_BUILD. - (LINK_FOR_BUILD): Replace BUILD_CFLAGS/BUILD_LDFLAGS with - CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD. - * Makefile.in: Regenerated. - -2009-08-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * Makefile.am (bfdlibdir, bfdincludedir): Move definition ... - [INSTALL_LIBBFD]: ... here, ... - [INSTALL_LIBBFD]: ... and empty overrides here. - [!INSTALL_LIBBFD]: (rpath_bfdlibdir): New variable. - [!INSTALL_LIBBFD] (libbfd_la_LDFLAGS): Use it. - * Makefile.in: Regenerate. - * configure: Regenerate. - -2009-08-26 Philippe De Muyter <phdm@macqel.be> - - * m68k-dis.c (print_insn_arg): Add movecr register names for - coldfire v4e families. - -2009-08-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * Makefile.am (SUBDIRS): Build '.' before 'po'. - (COMPILE_FOR_BUILD, LINK_FOR_BUILD, BUILD_LIBIBERTY) - (MOSTLYCLEANFILES, MAINTAINERCLEANFILES): New variables. - (i386-gen$(EXEEXT_FOR_BUILD)): Renamed from i386-gen, rewrite - using *BUILD variables, depend upon $(BUILD_LIBIBERTY). - (i386-gen.o): New rule. - ($(srcdir)/i386-init.h): Adjust. - (i386-opc.lo): Depend on $(srcdir)/i386-tbl.h. - (ia64-gen$(EXEEXT_FOR_BUILD)): Rename from ia64-gen, adjust likewise. - (ia64-gen.o): New rule. - (ia64_asmtab_deps): New variable. - ($(srcdir)/ia64-asmtab.c): Use it; adjust likewise. - (ia64-opc.lo): Depend on $(srcdir)/ia64-asmtab.c. - (s390-mkopc$(EXEEXT_FOR_BUILD)): Rename from s390-mkopc, adjust - likewise. - (s390-opc.tab): Adjust. - (z8kgen$(EXEEXT_FOR_BUILD), z8kgen.o, $(srcdir)/z8k-opc.h): New - rules. - (z8k-dis.lo): Depend on $(srcdir)/z8k-opc.h. - * Makefile.in: Regenerate. - * z8kgen.c (gas): Avoid '/*' in comment. - * z8k-opc.h (func): Regenerate. - -2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * Makefile.am (TARGET_LIBOPCODES_CFILES): New variable, taken - from $(CFILES), sorted, with dis-buf.c, dis-init.c, disassemble.c, - i386-gen.c, ia64-opc-a.c, ia64-opc-b.c, ia64-opc-f.c, ia64-opc-i.c, - ia64-opc-m.c, ia64-opc-d.c, ia64-gen.c, ia64-asmtab.c removed, and - msp430-dis.c added. - (LIBOPCODES_CFILES): New variable, adding to - TARGET_LIBOPCODES_CFILES also non-target library sources. - (CFILES): Factorize based on $(LIBOPCODES_CFILES), adding generator - files. - (ALL_MACHINES): Factorize based on $(TARGET_LIBOPCODES_CFILES). - (EXTRA_libopcodes_la_SOURCES): Use $(LIBOPCODES_CFILES). - * Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * Makefile.am (libopcodes_la_LDFLAGS): Initialize early. - [INSTALL_LIBBFD] (bfdlib_LTLIBRARIES): Set only in this condition. - [INSTALL_LIBBFD] (bfdinclude_DATA): New. - [!INSTALL_LIBBFD] (noinst_LTLIBRARIES): New. - [!INSTALL_LIBBFD] (libopcodes_la_LDFLAGS): Ensure libopcodes.la - is built shared even if it is not to be installed. - (install-bfdlibLTLIBRARIES,uninstall-bfdlibLTLIBRARIES) - (install_libopcodes, uninstall_libopcodes): Remove. - (AM_CPPFLAGS): Renamed from ... - (INCLUDES): ... this. - * Makefile.in: Regenerate. - - * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.9 and cygnus, add - 1.11, foreign, no-dist. - (MKDEP, m32c_opc_h): Remove variables. - (disassemble.lo): Rewrite using automake-style dependency - tracking rules; only list the dependency upon the primary source - file, but no included headers. - (m32c-asm.lo, m32c-desc.lo, m32c-dis.lo, m32c-ibld.lo, m32c-opc.lo) - (i386-gen.o, ia64-gen.o): Remove dependency statements. - (EXTRA_libopcodes_la_SOURCES): New variable, list $(CFILES) to - ensure all dependency fragments are included in the Makefile. - (s390-opc.lo): Depend on s390-opc.tab. - (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove rules. - (mkdep section): Remove. - * Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - - * Makefile.am (install-pdf, install-html): Remove. - * Makefile.in: Regenerate. - - * Makefile.in: Regenerate. - * aclocal.m4: Likewise. - * config.in: Likewise. - * configure: Likewise. - -2009-08-06 Michael Eager <eager@eagercon.com> - - * Makefile.am: Add microblaze-opc.h to HFILES, microblaze-dis.c to - CFILES, microblaze-dis.lo to ALL_MACHINES, targets. - * Makefile.in: Regenerate. - * configure.in: Add bfd_microblaze_arch target. - * configure: Regenerate. - * disassemble.c: Define ARCH_microblaze, return - print_insn_microblaze(). - * microblaze-dis.c: New MicroBlaze disassembler. - * microblaze-opc.h: New MicroBlaze opcode definitions. - * microblaze-opcm.h: New MicroBlaze opcode types. - -2009-07-25 H.J. Lu <hongjiu.lu@intel.com> - - * configure.in: Handle bfd_l1om_arch. - * disassemble.c (disassembler): Likewise. - - * configure: Regenerated. - - * i386-dis.c (print_insn): Handle bfd_mach_l1om and - bfd_mach_l1om_intel_syntax. Use 8 bytes per line for Intel L1OM. - - * i386-gen.c (cpu_flag_init): Set CPU_UNKNOWN_FLAGS to ~CpuL1OM. - Add CPU_L1OM_FLAGS. - (cpu_flags): Add CpuL1OM. - (set_bitfield): Take an argument to set the value field. - (process_i386_cpu_flag): Support ~CpuXXX and ~(CpuXXX|CpuYYY). - (process_i386_opcode_modifier): Updated. - (process_i386_operand_type): Likewise. - * i386-init.h: Regenerated. - * i386-tbl.h: Likewise. - - * i386-opc.h (CpuL1OM): New. - (CpuXsave): Updated. - (i386_cpu_flags): Add cpul1om. - -2009-07-24 Jan Beulich <jbeulich@novell.com> - - * i386-dis.c (fgrps): Correct annotation for feni/fdisi. Add - frstpm. - * i386-gen.c (cpu_flag_init): Add FP enabling flags where needed. - (cpu_flags): Add Cpu8087, Cpu287, Cpu387, Cpu687, and CpuFISTTP. - (set_bitfield): Expand CpuFP to Cpu8087|Cpu287|Cpu387. - * i386-opc.h (Cpu8087, Cpu287, Cpu387, Cpu687, CpuFISTTP): - Define. - (union i386_cpu_flags): Add cpu8087, cpu287, cpu387, cpu687, - and cpufisttp. - * i386-opc.tbl: Qualify floating point instructions by their - respective CpuXXX flag. Fix fucom{,p,pp}, fprem1, fsin, fcos, - and fsincos to be avilable only on 387. Fix fstsw ax to be - available only on 287+. Add f{,n}eni, f{,n}disi, f{,n}setpm, - and frstpm. - * i386-init.h, i386-tbl.h: Regenerate. - -2009-07-20 Nick Clifton <nickc@redhat.com> - - PR 10288 - * arm-dis.c (arm_opcodes): Catch non-zero bits 8-11 in register - offset or indexed based addressing mode 3. - -2009-07-14 Nick Clifton <nickc@redhat.com> - - PR 10288 - * arm-dis.c (arm_opcodes): Catch illegal Addressing Mode 1 - patterns. - (arm_decode_shift): Catch illegal register based shifts. - (print_insn_arm): Properly handle negative register r0 - post-indexed addressing. - -2009-07-10 Doug Kwan <dougkwan@google.com> - - * arm-disc.c (print_insn_coprocessor, print_insn_arm): Print only - lower 32 bits of long types to make hexadecimal output consistent - on both 32-bit and 64-bit hosts. - -2009-07-10 Alan Modra <amodra@bigpond.net.au> - - * fr30-desc.c, * fr30-desc.h, * fr30-opc.c, * fr30-opc.h, - * frv-desc.c, * frv-desc.h, * frv-opc.c, * frv-opc.h, - * ip2k-desc.c, * ip2k-desc.h, * ip2k-opc.c, * ip2k-opc.h, - * iq2000-desc.c, * iq2000-desc.h, * iq2000-opc.c, * iq2000-opc.h, - * lm32-desc.c, * lm32-desc.h, * lm32-opc.c, * lm32-opc.h, - * lm32-opinst.c, * m32c-desc.c, * m32c-desc.h, * m32c-opc.c, - * m32c-opc.h, * m32r-desc.c, * m32r-desc.h, * m32r-opc.c, - * m32r-opc.h, * m32r-opinst.c, * mt-desc.c, * mt-desc.h, - * mt-opc.c, * mt-opc.h, * openrisc-desc.c, * openrisc-desc.h, - * openrisc-opc.c, * openrisc-opc.h, * xc16x-desc.c, * xc16x-desc.h, - * xc16x-opc.c, * xc16x-opc.h, * xstormy16-desc.c, * xstormy16-desc.h, - * xstormy16-opc.c, * xstormy16-opc.h: Regenerate. - -2009-07-07 Chung-Lin Tang <cltang@pllab.cs.nthu.edu.tw> - - * arm-dis.c (coprocessor_opcodes): Fix mask for waddbhus. - -2009-07-07 Nick Clifton <nickc@redhat.com> - - PR 10288 - * arm-dis.c (arm_opcodes): Be more strict about decoding scaled - addressing modes. - -2009-07-06 DJ Delorie <dj@redhat.com> - - * mep-desc.c: Regenerate. - * mep-desc.h: Regenerate. - * mep-opc.c: Regenerate. - * mep-opc.h: Regenerate. - -2009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> - - * i386-opc.h (CpuFMA4): Add CpuFMA4. - (i386_cpu_flags): New. - * i386-gen.c: Add CPU_FMA4_FLAGS. - * i386-opc.tbl: Add FMA4 instructions. - * i386-tbl.h: Regenerate. - * i386-init.h: Regenerate. - * i386-dis.c (OP_VEX_FMA): New. Handle FMA4. - (OP_XMM_VexW): Ditto. - (OP_EX_VexW): Ditto. - (VEXI4_Fixup): Ditto. - (VexI4, VexFMA, Vex128FMA, EXVexW, EXdVexW, XMVexW): New Macros. - (PREFIX_VEX_3A5C, PREFIX_VEX_3A5D, PREFIX_VEX_3A5E): New. - (PREFIX_VEX_3A5F, PREFIX_VEX_3A60): New. - (PREFIX_VEX_3A68, PREFIX_VEX_3A69, PREFIX_VEX_3A6A): New. - (PREFIX_VEX_3A6B, PREFIX_VEX_3A6C, PREFIX_VEX_3A6D): New. - (PREFIX_VEX_3A6E, PREFIX_VEX_3A6F, PREFIX_VEX_3A7A): New. - (PREFIX_VEX_3A7B, PREFIX_VEX_3A7C, PREFIX_VEX_3A7D): New. - (PREFIX_VEX_3A7E, PREFIX_VEX_3A7F): New. - (VEX_LEN_3A6A_P_2,VEX_LEN_3A6B_P_2, VEX_LEN_3A6E_P_2): New. - (VEX_LEN_3A6F_P_2,VEX_LEN_3A7A_P_2, VEX_LEN_3A7B_P_2): New. - (VEX_LEN_3A7E_P_2,VEX_LEN_3A7F_P_2): New. - (get_vex_imm8): New. handle FMA4. - (OP_EX_VexReg): Ditto. - -2009-06-30 Nick Clifton <nickc@redhat.com> - - PR 10288 - * arm-dis.c (coprocessor): Print the LDC and STC versions of the - LFM and SFM instructions as comments,. - Improve consistency of formatting for instructions displayed as - comments and decimal values displayed with their hexadecimal - equivalents. - Formatting tidy ups. - -2009-06-29 Nick Clifton <nickc@redhat.com> - - PR 10288 - * arm-dis.c (enum opcode_sentinels): New: Used to mark the - boundary between variaant and generic coprocessor instuctions. - (coprocessor): Use it. - Fix architecture version of MCRR and MRRC instructions. - (arm_opcdes): Fix patterns for STRB and STRH instructions. - (print_insn_coprocessor): Check architecture and extension masks. - Print a hexadecimal version of any decimal constant that is - outside of the range of -16 to +32. - (print_arm_address): Add a return value of the offset used in the - adress, if it is worth printing a hexadecimal version of it. - (print_insn_neon): Print a hexadecimal version of any decimal - constant that is outside of the range of -16 to +32. - (print_insn_arm): Likewise. - (print_insn_thumb16): Likewise. - (print_insn_thumb32): Likewise. - - PR 10297 - * arm-dis.c (UNDEFINED_INSTRUCTION): New macro for a description - of an undefined instruction. - (arm_opcodes): Use it. - (thumb_opcod): Use it. - (thumb32_opc): Use it. - -2009-06-23 DJ Delorie <dj@redhat.com> - - * mep-desc.c: Regenerate. - * mep-desc.h: Regenerate. - * mep-dis.c: Regenerate. - * mep-ibld.c: Regenerate. - * mep-opc.c: Regenerate. - - * mep-asm.c: Regenerate. - * mep-opc.c: Regenerate. - * mep-opc.h: Regenerate. - -2009-06-22 Nick Clifton <nickc@redhat.com> - - * po/fi.po: Updated Finish translation. - -2009-06-22 Alan Modra <amodra@bigpond.net.au> - - * m32c-asm.c: Regenerate. - -2009-06-22 Alan Modra <amodra@bigpond.net.au> - - * score-dis.c (print_insn_score48, print_insn_score32): Move default - case label to proper lexical block. - * score7-dis.c (print_insn_score32): Likewise. - -2009-06-19 Martin Schwidefsky <sschwidefsky@de.ibm.com> - - * s390-opc.c (INSTR_RR_0R_OPT, INSTR_RX_0RRD_OPT, MASK_RR_0R_OPT, - MASK_RX_0RRD_OPT): New instruction formats with optional arguments. - * s390-opc.txt (nopr, nop): Use new instruction format. - -2009-06-18 Nick Clifton <nickc@redhat.com> - - PR 10288 - * arm-dis.c (print_insn_coprocessor): Check that a user specified - ARM architecture supports the matched instruction. - (print_insn_arm): Likewise. - (select_arm_features): New function. Fills in the fields of an - arm_feature_set structure based on a given arm machine number. - (print_insn): Initialise an arm_feature_set structure. - -2009-06-16 Maciej W. Rozycki <macro@linux-mips.org> - - * vax-dis.c (is_function_entry): Return success for synthetic - symbols too. - (is_plt_tail): New function. - (print_insn_vax): Decode PLT entry offset longword. - -2009-06-15 Nick Clifton <nickc@redhat.com> - - PR 10186 - * arm-dis.c (thumb32_opcodes): Fix binary value of SEV.W - instruction. - - PR 10173 - * cr16-dis.c (print_arg): Avoid printing the 0x prefix twice. - -2009-06-15 Nick Clifton <nickc@redhat.com> - - PR 10263 - * arm-dis.c (print_insn): Ignore is_data if the user has requested - the disassembly of data as well as instructions. - -2009-06-11 Doug Evans <dje@sebabeach.org> - - * cgen.sh: Handle multiple simultaneous runs for parallel makes. - -2009-06-11 Anthony Green <green@moxielogic.com> - - * moxie-opc.c (moxie_form1_opc_info): Remove branch instructions. - (moxie_form3_opc_info): Add branch instructions. - * moxie-dis.c (print_insn_moxie): Disassemble MOXIE_F3_PCREL - encoded instructions. - -2009-06-06 Anthony Green <green@moxielogic.com> - - * moxie-opc.c: Recode some MOXIE_F1_4 opcodes as MOXIE_F1_M. - * moxie-dis.c (print_insn_moxie): Handle MOXIE_F1_M case. - -2009-06-04 Alan Modra <amodra@bigpond.net.au> - - * dep-in.sed: Don't use \n in replacement part of s command. - * Makefile.am (DEP1): LC_ALL for uniq. - * Makefile.in: Regenerate. - -2009-06-02 Nick Clifton <nickc@redhat.com> - - * po/nl.po: Updated Dutch translation. - -2009-06-02 Tristan Gingold <gingold@adacore.com> - - * ia64-gen.c (parse_resource_users, print_dependency_table, - add_dis_table_ent, finish_distable, insert_bit_table_ent, - add_dis_entry, compact_distree, gen_dis_table, completer_entries_eq, - get_prefix_len, compute_completer_bits, insert_opcode_dependencies, - insert_completer_entry, print_completer_entry, print_completer_table, - opcodes_eq, add_opcode_entry, shrink): Use ISO C syntax for functions. - -2009-05-28 DJ Delorie <dj@redhat.com> - - * mep-asm.c: Regenerate. - * mep-desc.c: Regenerate. - -2009-05-26 DJ Delorie <dj@redhat.com> - - * mep-asm.c: Regenerate. - * mep-desc.c: Regenerate. - * mep-desc.h: Regenerate. - * mep-dis.c: Regenerate. - * mep-ibld.c: Regenerate. - * mep-opc.c: Regenerate. - * mep-opc.h: Regenerate. - -2009-05-26 Nick Clifton <nickc@redhat.com> - - * po/id.po: Updated Indonesian translation. - * po/opcodes.pot: Updated template file. - -2009-05-26 Alan Modra <amodra@bigpond.net.au> - - * dep-in.sed: Don't modify .o to .lo here. Output one filename - per line with all lines having continuation backslash. Prefix - first line with "A", following lines with "B". - * Makefile.am (DEP): Don't use dep.sed here. - (DEP1): Run $MKDEP on single files, modify .o to .lo here. Use - dep.sed here on dependencies, sort and uniq. - * Makefile.in: Regenerate. - -2009-05-25 Tristan Gingold <gingold@adacore.com> - - * makefile.vms (OPT): New variable. - (CFLAGS): Update compilation flags. - -2009-05-22 DJ Delorie <dj@redhat.com> - - * mep-asm.c: Regenerate. - * mep-desc.c: Regenerate. - * mep-desc.h: Regenerate. - * mep-dis.c: Regenerate. - * mep-ibld.c: Regenerate. - * mep-opc.c: Regenerate. - * mep-opc.h: Regenerate. - -2009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> - - * i386-opc.h (Cpusse5): Delete. - (i386_cpu_flags): Delete. - * i386-gen.c: Remove CpuSSE5, Drex, Drexv and Drexc. - * i386-opc.tbl: Remove SSE5 instructions. - * i386-tbl.h: Regenerate. - * i386-init.h: Regenerate. - * i386-dis.c (OP_E_memeory, OP_E_extended): Remove drex handling. - (print_drex_arg): Delete. - (OP_DREX4): Delete. - (OP_DREX3): Delete. - (OP_DREX_ICMP): Delete. - (OP_DREX_FCMP): Delete. - (DREX_*): Delete. - (THREE_BYTE_0F24, THREE_BYTE_0F25, THREE_BYTE_0f7B): Delete. - -2009-05-22 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2009-05-19 DJ Delorie <dj@redhat.com> - - * mep-asm.c: Regenerate. - * mep-opc.c: Regenerate. - -2009-04-30 DJ Delorie <dj@redhat.com> - - * mep-asm.c: Regenerate. - * mep-desc.c: Regenerate. - * mep-desc.h: Regenerate. - * mep-dis.c: Regenerate. - * mep-ibld.c: Regenerate. - * mep-opc.c: Regenerate. - * mep-opc.h: Regenerate. - -2009-04-17 DJ Delorie <dj@redhat.com - - * mep-desc.c: Regenerate. - * mep-ibld.c: Regenerate. - * mep-opc.c: Regenerate. - * mep-opc.h: Regenerate. - -2009-04-15 Anthony Green <green@moxielogic.com> - - * moxie-opc.c, moxie-dis.c: Created. - * Makefile.am: Build the moxie source files. - * configure.in: Add moxie support. - * Makefile.in, configure: Rebuilt. - * disassemble.c (disassembler): Add moxie support. - (ARCH_moxie): Define. - -2009-04-15 Jan Beulich <jbeulich@novell.com> - - * i386-opc.tbl (protb, protw, protd, protq): Set opcode - extension to None. - (pshab, pshaw, pshad, pshaq): Likewise. - * i386-tbl.h: Re-generate. - -2009-04-08 DJ Delorie <dj@redhat.com - - * mep-asm.c: Regenerate. - * mep-desc.c: Regenerate. - * mep-desc.h: Regenerate. - * mep-dis.c: Regenerate. - * mep-ibld.c: Regenerate. - * mep-opc.c: Regenerate. - * mep-opc.h: Regenerate. - -2009-04-07 Peter Bergner <bergner@vnet.ibm.com> - - * ppc-opc.c (powerpc_opcodes) <"tlbilxlpid", "tlbilxpid", "tlbilxva", - "tlbilx">: Use secondary opcode "18" as per the ISA 2.06 documentation. - Reorder entries so the extended mnemonics are listed before tlbilx. - -2009-04-02 Peter Bergner <bergner@vnet.ibm.com> - - * ppc-dis.c (powerpc_init_dialect): Do not choose a default dialect - due to -many/-Many. - (print_insn_powerpc): Make sure we only deprecate instructions using - the original dialect and not a modified dialect due to -Many handling. - Move the handling of the condition register and default operands to - the end of the if/else if/else chain. - * ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that - instructions from newer processors are listed before older ones. - <"icblce", "sync", "eieio", "tlbld">: Deprecate for processors - that have instructions with conflicting opcodes. - -2009-04-01 Peter Bergner <bergner@vnet.ibm.com> - - * ppc-opc.c (powerpc_opcodes) <"dcbzl">: Merge the POWER4 and - E500MC entries. - -2009-04-01 Christophe Lyon <christophe.lyon@st.com> - - * arm-dis.c (print_insn): Print BE8 opcodes in little endianness. - -2009-03-30 Joseph Myers <joseph@codesourcery.com> - - * arm-dis.c (print_insn): Also check section matches in backwards - search for mapping symbol. - -2009-03-26 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (get_valid_dis386): Abort on unhandled table. - -2009-03-18 Alan Modra <amodra@bigpond.net.au> - - * cgen-opc.c: Include alloca-conf.h rather than alloca.h. - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * openrisc-opc.c: Regenerate. - -2009-03-10 Nick Clifton <nickc@redhat.com> - - * po/id.po: Updated Indonesian translation. - -2009-03-10 Alan Modra <amodra@bigpond.net.au> - - * ppc-dis.c: Include "opintl.h". - (struct ppc_mopt, ppc_opts): New. - (ppc_parse_cpu): New function. - (powerpc_init_dialect): Use it. - (print_ppc_disassembler_options): Dump options from ppc_opts. - Internationalize message. - -2009-03-06 Nick Clifton <nickc@redhat.com> - - * po/es.po: Updated Spanish translation. - -2009-03-04 Alan Modra <amodra@bigpond.net.au> - - PR 6768 - * configure.in: Test for ld --as-needed support. Link shared - libopcodes against libm. - * configure: Regenerate. - -2009-03-03 Peter Bergner <bergner@vnet.ibm.com> - - * ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that - instructions from newer processors are listed before older ones. - -2009-03-03 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - (HFILES): Move lm32-desc.h and lm32-opc.h from.. - (CFILES): ..here. - * Makefile.in: Regenerate. - -2009-03-02 Qinwei <qinwei@sunnorth.com.cn> - - * score7-dis.c: New file. - * Makefile.am: Add dependencies for score7-dis.c. - * Makefile.in: Regenerate. - * configure.in: Add score7-dis to score files. - * configure: Regenerate. - * score-dis.c: Add support for score7 architecture. - * score-opc.h: Likewise. - -2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure: Regenerate. - -2009-02-27 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (OP_EX): Call OP_E_memory instead of OP_E. - -2009-02-26 Peter Bergner <bergner@vnet.ibm.com> - - * ppc-dis.c (powerpc_init_dialect): Extend -Mpower7 to disassemble - the power7 and the isel instructions. - * ppc-opc.c (insert_xc6, extract_xc6): New static functions. - (insert_dm, extract_dm): Likewise. - (XB6): Update comment to include XX2 form. - (WC, XC6, SHW, DMEX, UIM, XX2, XX3RC, XX4, XX2_MASK, XX2UIM_MASK, - XX2BF_MASK, XX3BF_MASK, XX3SHW_MASK, XX4_MASK, XWC_MASK, POWER7): New. - (RemoveXX3DM): Delete. - (powerpc_opcodes): <"lfdp", "lfdpx", "mcrxr", "mftb", "mffgpr", - "mftgpr">: Deprecate for POWER7. - <"fres", "fres.", "frsqrtes", "frsqrtes.", "fre", "fre.", "frsqrte", - "frsqrte.">: Deprecate the three operand form and enable the two - operand form for POWER7 and later. - <"wait">: Extend to accept optional parameter. Enable for POWER7. - <"waitsrv", "waitimpl">: Add extended opcodes. - <"ldbrx", "stdbrx">: Enable for POWER7. - <"cdtbcd", "cbcdtd", "addg6s">: Add POWER6 opcodes. - <"bpermd", "dcbtstt", "dcbtt", "dcffix.", "dcffix", "divde.", "divde", - "divdeo.", "divdeo", "divdeu.", "divdeu", "divdeuo.", "divdeuo", - "divwe.", "divwe", "divweo.", "divweo", "divweu.", "divweu", "divweuo.", - "divweuo", "fcfids.", "fcfids", "fcfidu.", "fcfidu", "fcfidus.", - "fcfidus", "fctidu.", "fctidu", "fctiduz.", "fctiduz", "fctiwu.", - "fctiwu", "fctiwuz.", "fctiwuz", "ftdiv", "ftsqrt", "lbarx", "lfiwzx", - "lharx", "popcntd", "popcntw", "stbcx.", "sthcx.">: Add POWER7 opcodes. - <"lxsdux", "lxsdx", "lxvdsx", "lxvw4ux", "lxvw4x", "stxsdux", "stxsdx", - "stxvw4ux", "stxvw4x", "xsabsdp", "xsadddp", "xscmpodp", "xscmpudp", - "xscpsgndp", "xscvdpsp", "xscvdpsxds", "xscvdpsxws", "xscvdpuxds", - "xscvdpuxws", "xscvspdp", "xscvsxddp", "xscvuxddp", "xsdivdp", - "xsmaddadp", "xsmaddmdp", "xsmaxdp", "xsmindp", "xsmsubadp", - "xsmsubmdp", "xsmuldp", "xsnabsdp", "xsnegdp", "xsnmaddadp", - "xsnmaddmdp", "xsnmsubadp", "xsnmsubmdp", "xsrdpi", "xsrdpic", - "xsrdpim", "xsrdpip", "xsrdpiz", "xsredp", "xsrsqrtedp", "xssqrtdp", - "xssubdp", "xstdivdp", "xstsqrtdp", "xvabsdp", "xvabssp", "xvadddp", - "xvaddsp", "xvcmpeqdp.", "xvcmpeqdp", "xvcmpeqsp.", "xvcmpeqsp", - "xvcmpgedp.", "xvcmpgedp", "xvcmpgesp.", "xvcmpgesp", "xvcmpgtdp.", - "xvcmpgtdp", "xvcmpgtsp.", "xvcmpgtsp", "xvcpsgnsp", "xvcvdpsp", - "xvcvdpsxds", "xvcvdpsxws", "xvcvdpuxds", "xvcvdpuxws", "xvcvspdp", - "xvcvspsxds", "xvcvspsxws", "xvcvspuxds", "xvcvspuxws", "xvcvsxddp", - "xvcvsxdsp", "xvcvsxwdp", "xvcvsxwsp", "xvcvuxddp", "xvcvuxdsp", - "xvcvuxwdp", "xvcvuxwsp", "xvdivdp", "xvdivsp", "xvmaddadp", - "xvmaddasp", "xvmaddmdp", "xvmaddmsp", "xvmaxdp", "xvmaxsp", - "xvmindp", "xvminsp", "xvmovsp", "xvmsubadp", "xvmsubasp", "xvmsubmdp", - "xvmsubmsp", "xvmuldp", "xvmulsp", "xvnabsdp", "xvnabssp", "xvnegdp", - "xvnegsp", "xvnmaddadp", "xvnmaddasp", "xvnmaddmdp", "xvnmaddmsp", - "xvnmsubadp", "xvnmsubasp", "xvnmsubmdp", "xvnmsubmsp", "xvrdpi", - "xvrdpic", "xvrdpim", "xvrdpip", "xvrdpiz", "xvredp", "xvresp", - "xvrspi", "xvrspic", "xvrspim", "xvrspip", "xvrspiz", "xvrsqrtedp", - "xvrsqrtesp", "xvsqrtdp", "xvsqrtsp", "xvsubdp", "xvsubsp", "xvtdivdp", - "xvtdivsp", "xvtsqrtdp", "xvtsqrtsp", "xxland", "xxlandc", "xxlnor", - "xxlor", "xxlxor", "xxmrghw", "xxmrglw", "xxsel", "xxsldwi", "xxspltd", - "xxspltw", "xxswapd">: Add VSX opcodes. - -2009-02-23 H.J. Lu <hongjiu.lu@intel.com> - - * i386-gen.c (operand_type_init): Remove OPERAND_TYPE_VEX_IMM4. - (operand_types): Remove Vex_Imm4. - - * i386-opc.h (Vex_Imm4): Removed. - (OTMax): Updated. - (i386_operand_type): Remove vex_imm4. - - * i386-opc.tbl: Remove Vex_Imm4 comments. - * i386-init.h: Regenerated. - * i386-tbl.h: Likewise. - -2009-02-23 Richard Earnshaw <rearnsha@arm.com> - - * arm-dis.c (neon_opcodes): Correct bit-mask and patterns for - vq{r}shr{u}n.s64 insnstructions. - -2009-02-19 Peter Bergner <bergner@vnet.ibm.com> - - * ppc-opc.c (powerpc_opcodes) <"lfdepx", "stfdepx">: Fix the first - operand to be a float point register (FRT/FRS). - -2009-02-18 Adam Nemet <anemet@caviumnetworks.com> - - * mips-opc.c (mips_builtin_opcodes): Move the Octeon-specific - dmfc2 and dmtc2 before the architecture-level variants. - -2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr> - - * fr30-opc.c: Regenerate. - * frv-opc.c: Regenerate. - * ip2k-opc.c: Regenerate. - * iq2000-opc.c: Regenerate. - * lm32-opc.c: Regenerate. - * m32c-opc.c: Regenerate. - * m32r-opc.c: Regenerate. - * mep-opc.c: Regenerate. - * mt-opc.c: Regenerate. - * xc16x-opc.c: Regenerate. - * xstormy16-opc.c: Regenerate. - * tic54x-dis.c (print_instruction): Avoid compiler warning on - sprintf call. - -2009-02-12 Nathan Sidwell <nathan@codesourcery.com> - - * m68k-opc.c (m68k_opcodes): Add stldsr instruction. - -2009-02-05 Peter Bergner <bergner@vnet.ibm.com> - - * ppc-opc.c: Update copyright year. - (powerpc_opcodes) <"dcbt", "dcbtst">: Deprecate the Embedded operand - ordering for POWER4 and later and use the correct Server ordering. - -2009-02-04 H.J. Lu <hongjiu.lu@intel.com> - - AVX Programming Reference (January, 2009) - * i386-dis.c (PREFIX_VEX_3A44): New. - (VEX_LEN_3A44_P_2): Likewise. - (PREFIX_VEX_3A48): Updated. - (VEX_LEN_3A4C_P_2): Likewise. - (prefix_table): Add PREFIX_VEX_3A44. - (vex_table): Likewise. - (vex_len_table): Add VEX_LEN_3A44_P_2. - - * i386-opc.tbl: Add PCLMUL + AVX instructions. - * i386-tbl.h: Regenerated. - -2009-02-03 Sandip Matte <sandip@rmicorp.com> - - * mips-dis.c (mips_cp0_names_xlr, mips_cp0sel_names_xlr): Define. - (mips_arch_choices): Add XLR entry. - * mips-opc.c (XLR): Define. - (mips_builtin_opcodes): Add XLR instructions. - -2009-02-03 Carlos O'Donell <carlos@codesourcery.com> - - * Makefile.am: Add install-pdf target. - * po/Make-in: Add install-pdf target. - * Makefile.in: Regenerate. - -2009-02-02 DJ Delorie <dj@redhat.com> - - * mep-asm.c: Regenerate. - * mep-desc.c: Regenerate. - * mep-desc.h: Regenerate. - * mep-dis.c: Regenerate. - * mep-ibld.c: Regenerate. - * mep-opc.c: Regenerate. - * mep-opc.h: Regenerate. - -2009-01-29 Mark Mitchell <mark@codesourcery.com> - - * arm-dis.c (thumb32_opcodes): Correct decoding for qadd, qdadd, - qsub, and qdsub. - -2009-01-28 Chao-ying Fu <fu@mips.com> - - * mips-opc.c (suxc1): Add the flag of FP_D. - -2009-01-20 Alan Modra <amodra@bigpond.net.au> - - * fr30-asm.c, fr30-dis.c, fr30-ibld.c, frv-asm.c, frv-dis.c, - * frv-ibld.c, ip2k-asm.c, ip2k-dis.c, ip2k-ibld.c, - * iq2000-asm.c, iq2000-dis.c, iq2000-ibld.c, m32c-asm.c, - * m32c-dis.c, m32c-ibld.c, m32r-asm.c, m32r-dis.c, - * m32r-ibld.c, mep-asm.c, mep-dis.c, mep-ibld.c, mt-asm.c, - * mt-dis.c, mt-ibld.c, openrisc-asm.c, openrisc-dis.c, - * openrisc-ibld.c, xc16x-asm.c, xc16x-dis.c, xc16x-ibld.c, - * xstormy16-asm.c, xstormy16-dis.c, xstormy16-ibld.c: Regenerate. - -2009-01-16 Alan Modra <amodra@bigpond.net.au> - - * configure.in (commonbfdlib): Delete. - (SHARED_LIBADD): Add pic libiberty if such is available. - * configure: Regenerate. - * po/POTFILES.in: Regenerate. - -2009-01-14 Peter Bergner <bergner@vnet.ibm.com> - - * ppc-dis.c (print_insn_powerpc): Skip insn if it is deprecated. - * ppc-opc.c (powerpc_opcodes) <mtfsf, mtfsf.>: Deprecate the two - operand form and enable the four operand form for POWER6 and later. - <mtfsfi, mtfsfi.>: Deprecate the two operand form and enable the - three operand form for POWER6 and later. - -2009-01-14 Mike Frysinger <vapier@gentoo.org> - - * bfin-dis.c (OUTS): Use "%s" as format string. - -2009-01-13 H.J. Lu <hongjiu.lu@intel.com> - - * i386-gen.c (cpu_flag_init): Remove a white space. - (operand_type_init): Likewise. - -2009-01-12 H.J. Lu <hongjiu.lu@intel.com> - - * i386-opc.tbl: Add NoAVX to movnti, lfence and mfence. - * i386-tbl.h: Regenerated. - -2009-01-12 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (dis386): Use EbS on addB, orB, adcB, sbbB, andB, - subB, xorB and cmpB. Use EvS on addS, orS, adcS, sbbS, andS, - subS, xorS and cmpS. - -2009-01-10 H.J. Lu <hongjiu.lu@intel.com> - - * i386-gen.c (cpu_flag_init): Replace CpuP4 and CpuK6 with - CpuClflush and CpuSYSCALL, respectively. Remove CpuK8. Add - CPU_COREI7_FLAGS, CPU_CLFLUSH_FLAGS and CPU_SYSCALL_FLAGS. - (cpu_flags): Remove CpuP4, CpuK6 and CpuK8. Add CpuClflush - and CpuSYSCALL. - (lineno): Removed. - (set_bitfield): Take an argument, lineno. Don't report lineno - on error if it is -1. - (process_i386_cpu_flag): Take an argument, lineno. - (process_i386_opcode_modifier): Likewise. - (process_i386_operand_type): Likewise. - (output_i386_opcode): Likewise. - (opcode_hash_entry): Add lineno. - (process_i386_opcodes): Updated. - (process_i386_registers): Likewise. - (process_i386_initializers): Likewise. - - * i386-opc.h (CpuP4): Removed. - (CpuK6): Likewise. - (CpuK8): Likewise. - (CpuClflush): New. - (CpuSYSCALL): Likewise. - (CpuMMX): Updated. - (i386_cpu_flags): Remove cpup4, cpuk6 and cpuk8. Add - cpuclflush and cpusyscall. - - * i386-opc.tbl: Update movnti, clflush, lfence, mfence, pause, - syscall and sysret. - * i386-init.h: Regenerated. - * i386-tbl.h: Likewise. - -2009-01-09 H.J. Lu <hongjiu.lu@intel.com> - - * i386-gen.c (cpu_flag_init): Add CpuRdtscp to CPU_K8_FLAGS - and CPU_AMDFAM10_FLAGS. Add CPU_RDTSCP_FLAGS. - (cpu_flags): Add CpuRdtscp. - (set_bitfield): Remove CpuSledgehammer check. - - * i386-opc.h (CpuRdtscp): New. - (CpuLM): Updated. - (i386_cpu_flags): Add cpurdtscp. - - * i386-opc.tbl: Replace CpuSledgehammer with CpuRdtscp. - * i386-init.h: Regenerated. - * i386-tbl.h: Likewise. - -2009-01-09 Peter Bergner <bergner@vnet.ibm.com> - - * ppc-opc.c (PPCNONE): Define. - (NOPOWER4): Delete. - (powerpc_opcodes): Initialize the new "deprecated" field. - -2009-01-06 H.J. Lu <hongjiu.lu@intel.com> - - AVX Programming Reference (December, 2008) - * i386-dis.c (VEX_LEN_2B_M_0): Removed. - (VEX_LEN_E7_P_2_M_0): Likewise. - (VEX_LEN_2C_P_1): Updated. - (VEX_LEN_E8_P_2): Likewise. - (vex_len_table): Remove VEX_LEN_2B_M_0 and VEX_LEN_E7_P_2_M_0. - (mod_table): Likewise. - - * i386-opc.tbl: Add 256bit vmovntdq, vmovntpd and vmovntps. - * i386-tbl.h: Regenerated. - -2009-01-05 H.J. Lu <hongjiu.lu@intel.com> - - * i386-gen.c (process_copyright): Update for 2009. - - * i386-init.h: Regenerated. - * i386-tbl.h: Likewise. - -2009-01-05 H.J. Lu <hongjiu.lu@intel.com> - - AVX Programming Reference (December, 2008) - * i386-dis.c (OP_VEX_FMA): Removed. - (OP_EX_VexW): Likewise. - (OP_EX_VexImmW): Likewise. - (OP_XMM_VexW): Likewise. - (VEXI4_Fixup): Likewise. - (VPERMIL2_Fixup): Likewise. - (VexI4): Likewise. - (VexFMA): Likewise. - (Vex128FMA): Likewise. - (EXVexW): Likewise. - (EXdVexW): Likewise. - (EXqVexW): Likewise. - (EXVexImmW): Likewise. - (XMVexW): Likewise. - (VPERMIL2): Likewise. - (PREFIX_VEX_3A48...PREFIX_VEX_3A4A): Likewise. - (PREFIX_VEX_3A5C...PREFIX_VEX_3A5F): Likewise. - (PREFIX_VEX_3A68...PREFIX_VEX_3A6F): Likewise. - (PREFIX_VEX_3A78...PREFIX_VEX_3A7F): Likewise. - (VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2): Likewise. - (VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2): Likewise. - (get_vex_imm8): Likewise. - (OP_EX_VexReg): Likewise. - vpermil2_op): Likewise. - (EXVexWdq): New. - (vex_w_dq_mode): Likewise. - (PREFIX_VEX_3896...PREFIX_VEX_389F): Likewise. - (PREFIX_VEX_38A6...PREFIX_VEX_38AF): Likewise. - (PREFIX_VEX_38B6...PREFIX_VEX_38BF): Likewise. - (es_reg): Updated. - (PREFIX_VEX_38DB): Likewise. - (PREFIX_VEX_3A4A): Likewise. - (PREFIX_VEX_3A60): Likewise. - (PREFIX_VEX_3ADF): Likewise. - (VEX_LEN_3ADF_P_2): Likewise. - (prefix_table): Remove PREFIX_VEX_3A48...PREFIX_VEX_3A4A, - PREFIX_VEX_3A5C...PREFIX_VEX_3A5F, - PREFIX_VEX_3A68...PREFIX_VEX_3A6F and - PREFIX_VEX_3A78...PREFIX_VEX_3A7F. Add - PREFIX_VEX_3896...PREFIX_VEX_389F, - PREFIX_VEX_38A6...PREFIX_VEX_38AF and - PREFIX_VEX_38B6...PREFIX_VEX_38BF. - (vex_table): Likewise. - (vex_len_table): Remove VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2 - and VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2. - (putop): Support "%XW". - (intel_operand_size): Handle vex_w_dq_mode. - - * i386-opc.h (VexNDS): Add a comment for VEX NDS and VEX DDS. - - * i386-opc.tbl: Remove vpermil2pd/vpermil2ps and old FMA - instructions. Add new FMA instructions. - * i386-tbl.h: Regenerated. - -2009-01-02 Matthias Klose <doko@ubuntu.com> - - * or32-opc.c (or32_print_register, or32_print_immediate, - disassemble_insn): Don't rely on undefined sprintf behaviour. - -For older changes see ChangeLog-2008 +For older changes see ChangeLog-2009 Local Variables: mode: change-log diff --git a/opcodes/ChangeLog-2009 b/opcodes/ChangeLog-2009 new file mode 100644 index 0000000..c5edeb1 --- /dev/null +++ b/opcodes/ChangeLog-2009 @@ -0,0 +1,1801 @@ +2009-12-19 H.J. Lu <hongjiu.lu@intel.com> + + * i386-gen.c (opcode_modifiers): Remove VexNDS, VexNDD and + VexLWP. Add VexVVVV. + + * i386-opc.h (VexNDS): Removed. + (VexNDD): Likewise. + (VexLWP): Likewise. + (VEXXDS): New. + (VEXNDD): Likewise. + (VEXLWP): Likewise. + (VexVVVV): Likewise. + (i386_opcode_modifier): Remove vexnds, vexndd and vexlwp. + Add vexvvvv. + + * i386-opc.tbl: Replace VexNDS with VexVVVV=1, VexNDD with + VexVVVV=2 and VexLWP with VexVVVV=3. + * i386-tbl.h: Regenerated. + +2009-12-18 H.J. Lu <hongjiu.lu@intel.com> + + * i386-gen.c (operand_types): Move Imm1 before Imm8. + +2009-12-17 Nick Clifton <nickc@redhat.com> + + PR binutils/10924 + * arm-dis.c: Add support for %<>ru and %<>rU formats to enforce + unique register numbers. Extend support for %<>R format to + thumb32 and coprocessor instructions. + +2009-12-16 H.J. Lu <hongjiu.lu@intel.com> + + * i386-gen.c (opcode_modifiers): Remove ByteOkIntel. + + * i386-opc.h (ByteOkIntel): Removed. + (i386_opcode_modifier): Remove byteokintel. + + * i386-opc.tbl: Remove ByteOkIntel. + * i386-tbl.h: Regenerated. + +2009-12-16 H.J. Lu <hongjiu.lu@intel.com> + + * i386-gen.c (opcode_modifiers): Remove Vex0F, Vex0F38, + Vex0F3A, XOP08, XOP09 and XOP0A. Add VexOpcode. + + * i386-opc.h (Vex0F): Removed. + (Vex0F38): Likewise. + (Vex0F3A): Likewise. + (VexOpcode): New. + (VEX0F): Likewise. + (VEX0F38): Likewise. + (VEX0F3A): Likewise. + (XOP08): Defined as a macro. + (XOP09): Likewise. + (XOP0A): Likewise. + (i386_opcode_modifier): Remove vex0f, vex0f38, vex0f3a, xop08, + xop09 and xop0a. Add vexopcode. + + * i386-opc.tbl: Replace Vex0F with VexOpcode=0, Vex0F38 with + VexOpcode=1, Vex0F3A with VexOpcode=2, XOP08 with VexOpcode=3, + XOP09 with VexOpcode=4 and XOP0A with VexOpcode=5. + * i386-tbl.h: Regenerated. + +2009-12-15 H.J. Lu <hongjiu.lu@intel.com> + + * i386-opc.h (VEX2SOURCES): Renamed to ... + (XOP2SOURCES): This. + +2009-12-15 H.J. Lu <hongjiu.lu@intel.com> + + * i386-gen.c (opcode_modifiers): Remove Vex3Sources and + Vex2Sources. Add VexSources. + + * i386-opc.h (Vex2Sources): Removed. + (Vex3Sources): Likewise. + (VEX2SOURCES): New. + (VEX3SOURCES): Likewise. + (VexSources): Likewise. + (i386_opcode_modifier): Remove vex2sources and vex3sources. + Add vexsources. + + * i386-opc.tbl: Replace Vex2Sources with VexSources=1 and + Vex3Sourceswith VexSources=2. + * i386-tbl.h: Regenerated. + +2009-12-15 H.J. Lu <hongjiu.lu@intel.com> + + * i386-gen.c (opcode_modifiers): Remove VexW0 and VexW1. Add + VexW. + + * i386-opc.h (VexW0): Removed. + (VexW1): Likewise. + (VEXW0): New. + (VEXW1): Likewise. + (VexW): Likewise. + (i386_opcode_modifier): Remove vexw0 and vexw1. Add vexw. + + * i386-opc.tbl: Replace VexW0 with VexW=1 and VexW1 with + Vex=2. + * i386-tbl.h: Regenerated. + +2009-12-15 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (VEX_W_3818_P_2_M_0): New. + (vex_w_table): Add VEX_W_3818_P_2_M_0. + (mod_table): Use VEX_W_3818_P_2_M_0. + +2009-12-15 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (vex_w_table): Reformat. + +2009-12-15 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (VEX_W_382X_P_2_M_0): New. + (vex_w_table): Add VEX_W_382X_P_2_M_0. + (mod_table): Use VEX_W_382X_P_2_M_0. + +2009-12-15 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (vex_w_table): Reformat. + +2009-12-15 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (USE_VEX_W_TABLE): New. + (VEX_W_TABLE): Likewise. + (VEX_W_XXX): Likewise. + (vex_w_table): Likewise. + (prefix_table): Use VEX_W_XXX. + (vex_table): Likewise. + (vex_len_table): Likewise. + (mod_table): Likewise. + (get_valid_dis386): Handle USE_VEX_W_TABLE. + + * i386-opc.tbl: Add VexW0 to AVX instructions where the VEX.W bit + isn't used. + * i386-tbl.h: Regenerated. + +2009-12-15 H.J. Lu <hongjiu.lu@intel.com> + + * i386-opc.h (VEX128): New. + (VEX256): Likewise. + +2009-12-14 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (vex_len_table): Reformat. + +2009-12-14 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (MOD_VEX_51): Renamed to ... + (MOD_VEX_50): This. + (vex_table): Updated. + (mod_table): Likewise. + +2009-12-14 Nick Clifton <nickc@redhat.com> + + PR binutils/10924 + * arm-dis.c (arm_opcodes): Specify %R in cases where using r15 + results in unpredictable behaviour. + (print_insn_arm): Handle %R. + +2009-12-11 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (get_valid_dis386): Set vex.w to 0 for VEX C5 + prefix. + (print_insn): Don't set vex.w here. + +2009-12-11 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (print_insn): Set vex.w to 0. + +2009-12-11 Quentin Neill <quentin.neill@amd.com> + + * i386-dis.c (get_vex_imm8): Extend logic to apply in all cases, + to avoid fetching ahead for the immediate bytes when OP_E_memory + has already been called. Fix indentation. + +2009-12-11 Nick Clifton <nickc@redhat.com> + + * Makefile.in: Regenerate. + * configure: Regenerate. + * arm-dis.c: Fix shadowed variable warnings. + * cgen-opc.c: Likewise. + * cr16-dis.c: Likewise. + * crx-dis.c: Likewise. + * d30v-dis.c: Likewise. + * fr30-dis.c: Likewise. + * frv-opc.c: Likewise. + * h8500-dis.c: Likewise. + * i386-dis.c: Likewise. + * i960-dis.c: Likewise. + * ia64-gen.c: Likewise. + * ia64-opc.c: Likewise. + * m32c-asm.c: Likewise. + * m32c-dis.c: Likewise. + * m68k-dis.c: Likewise. + * maxq-dis.c: Likewise. + * mcore-dis.c: Likewise. + * mep-asm.c: Likewise. + * microblaze-dis.c: Likewise. + * mmix-dis.c: Likewise. + * ns32k-dis.c: Likewise. + * or32-opc.c: Likewise. + * s390-dis.c: Likewise. + * sh64-dis.c: Likewise. + * spu-dis.c: Likewise. + * tic30-dis.c: Likewise. + +2009-12-09 Nick Clifton <nickc@redhat.com> + + PR 10924 + * arm-dis.c (print_insn_arm): Mark insns that use the PC in + post-indexed addressing as unpredictable. + +2009-12-03 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (FXSAVE_Fixup): New. + (FXSAVE): Likewise. + (mod_table): Use FXSAVE on fxsave and fxrstor. + + * i386-opc.tbl: Add fxsave64 and fxrstor64. + * i386-tbl.h: Regenerated. + +2009-12-02 Nick Clifton <nickc@redhat.com> + Richard Earnshaw <rearnsha@arm.com> + + PR gas/11013 + * arm-dis.c (thumb32_opc): Adjust disassembly of QADD, QDADD, QSUB + and QDSUB. + +2009-11-30 Massimo Ruo Roch <massimo.ruoroch@polito.it> + + PR gas/11030 + * m68k-opc.c (m68k_opcodes): Allow the STLDSR instruction on the + Coldfire ISA A+. + +2009-11-17 Quentin Neill <quentin.neill@amd.com> + Sebastian Pop <sebastian.pop@amd.com> + + * i386-dis.c (get_vex_imm8): Increase bytes_before_imm when + decoding the second source operand from the immediate byte. + (OP_EX_VexW): Pass an extra integer to identify the second + and third source arguments. + +2009-11-19 H.J. Lu <hongjiu.lu@intel.com> + + * i386-opc.tbl: Add IsLockable to cmpxch16b. + * i386-tbl.h: Regenerated. + +2009-11-19 Nick Clifton <nickc@redhat.com> + + PR binutils/10924 + * arm-dis.c (print_insn_arm): Do not print an offset of zero when + decoding Immediaate Offset addressing. + +2009-11-18 Sebastian Pop <sebastian.pop@amd.com> + + PR binutils/10973 + * i386-dis.c (get_vex_imm8): Do not increment codep. + Avoid incrementing bytes_before_imm when OP_E_memory + has already forwarded the codep pointer. + (OP_EX_VexW): Increment codep to skip mod/rm byte. + +2009-11-18 Sebastian Pop <sebastian.pop@amd.com> + + * i386-dis.c (VEX_LEN_XOP_08_A0): Removed. + (VEX_LEN_XOP_08_A1): Removed. + (xop_table): Remove entries for VEX_LEN_XOP_08_A0 and + VEX_LEN_XOP_08_A1. + (vex_len_table): Same. + * i386-gen.c (CPU_CVT16_FLAGS): Removed. + (cpu_flags): Remove field for CpuCVT16. + * i386-opc.h (CpuCVT16): Removed. + (i386_cpu_flags): Remove bitfield cpucvt16. + (i386-opc.tbl): Remove CVT16 instructions. + * i386-init.h: Regenerated. + * i386-tbl.h: Regenerated. + +2009-11-17 Sebastian Pop <sebastian.pop@amd.com> + Quentin Neill <quentin.neill@amd.com> + + * i386-dis.c (OP_Vex_2src_1): New. + (OP_Vex_2src_2): New. + (Vex_2src_1): New. + (Vex_2src_2): New. + (XOP_08): Added. + (VEX_LEN_XOP_08_A0): Added. + (VEX_LEN_XOP_08_A1): Added. + (VEX_LEN_XOP_09_80): Added. + (VEX_LEN_XOP_09_81): Added. + (xop_table): Added an entry for XOP_08. Handle xop instructions. + (vex_len_table): Added entries for VEX_LEN_XOP_08_A0, + VEX_LEN_XOP_08_A1, VEX_LEN_XOP_09_80, VEX_LEN_XOP_09_81. + (get_valid_dis386): Handle XOP_08. + (OP_Vex_2src): New. + * i386-gen.c (cpu_flag_init): Add CPU_XOP_FLAGS and CPU_CVT16_FLAGS. + (cpu_flags): Add CpuXOP and CpuCVT16. + (opcode_modifiers): Add XOP08, Vex2Sources. + * i386-opc.h (CpuXOP): Added. + (CpuCVT16): Added. + (i386_cpu_flags): Add cpuxop and cpucvt16. + (XOP08): Added. + (Vex2Sources): Added. + (i386_opcode_modifier): Add xop08, vex2sources. + * i386-opc.tbl: Add entries for XOP and CVT16 instructions. + * i386-init.h: Regenerated. + * i386-tbl.h: Regenerated. + +2009-11-17 Nick Clifton <nickc@redhat.com> + + PR binutils/10924 + * arm-dis.c (arm_opcodes): Add patterns to match undefined LDRB + instruction variants. Add pattern for MRS variant that was being + confused with CMP. + (arm_decode_shift): Place error message in a comment. + (print_insn_arm): Note that writing back to the PC is + unpredictable. + Only print 'p' variants of cmp/cmn/teq/tst instructions if + decoding for pre-V6 architectures. + +2009-11-17 Edward Nevill <edward.nevill@arm.com> + + * arm-dis.c (print_insn_thumb32): Handle undefined instruction. + +2009-11-14 Doug Evans <dje@sebabeach.org> + + * Makefile.am (stamp-xc16x): Use ../cpu/xc16x.cpu instead of + ../cgen/cpu. + * Makefile.in: Regenerate. + +2009-11-13 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (OP_E_extended): Removed. + +2009-11-13 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (print_insn): Check rex_ignored. + +2009-11-13 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (ckprefix): Updated to return 0 if number of + prefixes > 14 and record the last position for each prefix. + (lock_prefix): Removed. + (data_prefix): Likewise. + (addr_prefix): Likewise. + (repz_prefix): Likewise. + (repnz_prefix): Likewise. + (last_lock_prefix): New. + (last_repz_prefix): Likewise. + (last_repnz_prefix): Likewise. + (last_data_prefix): Likewise. + (last_addr_prefix): Likewise. + (last_rex_prefix): Likewise. + (last_seg_prefix): Likewise. + (MAX_CODE_LENGTH): Likewise. + (ADDR16_PREFIX): Likewise. + (ADDR32_PREFIX): Likewise. + (DATA16_PREFIX): Likewise. + (DATA32_PREFIX): Likewise. + (REP_PREFIX): Likewise. + (seg_prefix): Likewise. + (all_prefixes): Change size to MAX_CODE_LENGTH - 1. + (prefix_name): Handle ADDR16_PREFIX, ADDR32_PREFIX, + DATA16_PREFIX, DATA32_PREFIX and REP_PREFIX. + (get_valid_dis386): Updated. + (OP_C): Likewise. + (OP_Monitor): Likewise. + (REP_Fixup): Likewise. + (print_insn): Display all prefixes. + (putop): Set PREFIX_DATA on used_prefixes only if it is used. + (intel_operand_size): Likewise. + (OP_E_register): Likewise. + (OP_G): Likewise. + (OP_REG): Likewise. + (OP_IMREG): Likewise. + (OP_I): Likewise. + (OP_I64): Likewise. + (OP_sI): Likewise. + (CRC32_Fixup): Likewise. + (MOVBE_Fixup): Likewise. + (OP_E_memory): Set REFIX_DATA on used_prefixes when it is used + in 16bit mode. + (OP_J): Set REX_W used if it is used. Set PREFIX_DATA on + used_prefixes only if it is used. + +2009-11-12 H.J. Lu <hongjiu.lu@intel.com> + + * i386-opc.tbl: Remove IsLockable from add, adc, and, dec, inc, + or, sbb, sub, xor and xchg with register only operands. + * i386-tbl.h: Regenerated. + +2009-11-12 H.J. Lu <hongjiu.lu@intel.com> + + * i386-gen.c (opcode_modifiers): Add IsLockable. + + * i386-opc.h (IsLockable): New. + (i386_opcode_modifier): Add islockable. + + * i386-opc.tbl: Add IsLockable to add, adc, and, btc, btr, + bts, cmpxchg, cmpxch8b, dec, inc, neg, not, or, sbb, sub, + xor, xadd and xchg. + * i386-tbl.h: Regenerated. + +2009-11-12 Daniel Jacobowitz <dan@codesourcery.com> + + * arm-dis.c (coprocessor_opcodes): Use %A instead of %C. Remove + generic coprocessor instructions for FPA loads and stores. + (print_insn_coprocessor): Remove %C support. Display address for + PC-relative offsets in %A. + +2009-11-11 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (all_prefixes): New. + (ckprefix): Set all_prefixes. + (print_insn): Print all_prefixes instead of lock_prefix, + repz_prefix, repnz_prefix, addr_prefix and data_prefix. + +2009-11-11 Nick Clifton <nickc@redhat.com> + + PR binutils/10924 + * arm-dis.c (UNPREDICTABLE_INSTRUCTION): New macro. + (print_insn_arm): Extend %s format control code to check for + unpredictable addressing modes. Add support for %S format control + code which suppresses this check. + (W_BIT, I_BIT, U_BIT, P_BIT): New macros. + (WRITEBACK_BIT_SET, IMMEDIATE_BIT_SET, NEGATIVE_BIT_SET, + PRE_BIT_SET): New macros. + (print_insn_coprocessor): Use the new macros instead of magic + constants. + (print_arm_address): Likewise. + (pirnt_insn_arm): Likewise. + (print_insn_thumb32): Likewise. + +2009-11-11 Nick Clifton <nickc@redhat.com> + + * po/id.po: Updated Indonesian translation. + +2009-11-10 Maxim Kuvyrkov <maxim@codesourcery.com> + + * m68k-dis.c (print_insn_arg): Handle RGPIOBAR, ACR[4-7] and MBAR[01]. + +2009-11-06 Sebastian Pop <sebastian.pop@amd.com> + + * i386-dis.c (reg_table): Add XOP_8F_TABLE (XOP_09) to + reg_table[REG_8F][1]: for XOP instructions, ModRM.reg first points to + B.mm in the RXB.mmmmm byte, and so when B is set, we still should use + the xop_table. + (get_valid_dis386): Removed unused condition (from cut/n/paste) for + XOP instructions. + +2009-11-05 Sebastian Pop <sebastian.pop@amd.com> + Quentin Neill <quentin.neill@amd.com> + + * opcodes/i386-dis.c (OP_LWPCB_E): New. + (OP_LWP_E): New. + (OP_LWP_I): New. + (USE_XOP_8F_TABLE): New. + (XOP_8F_TABLE): New. + (REG_XOP_LWPCB): New. + (REG_XOP_LWP): New. + (XOP_09): New. + (XOP_0A): New. + (reg_table): Redirect REG_8F to XOP_8F_TABLE. + Add entries for REG_XOP_LWPCB and REG_XOP_LWP. + (xop_table): New. + (get_valid_dis386): Handle USE_XOP_8F_TABLE. + Use the offsets VEX_0F, VEX_0F38, and VEX_0F3A instead of their values + to access to the vex_table. + (OP_LWPCB_E): New. + (OP_LWP_E): New. + (OP_LWP_I): New. + * opcodes/i386-gen.c (cpu_flag_init): Add CPU_LWP_FLAGS, CpuLWP. + (cpu_flags): Add CpuLWP. + (opcode_modifiers): Add VexLWP, XOP09, and XOP0A. + * opcodes/i386-opc.h (CpuLWP): New. + (i386_cpu_flags): Add bit cpulwp. + (VexLWP): New. + (XOP09): New. + (XOP0A): New. + (i386_opcode_modifier): Add vexlwp, xop09, and xop0a. + * opcodes/i386-opc.tbl (llwpcb): Added. + (lwpval): Added. + (lwpins): Added. + +2009-11-04 DJ Delorie <dj@redhat.com> + + * rx-decode.opc (rx_decode_opcode) (mvtipl): Add. + (mvtcp, mvfcp, opecp): Remove. + * rx-decode.c: Regenerate. + * rx-dis.c (cpen): Remove. + +2009-11-03 Doug Evans <dje@sebabeach.org> + + * m32c-desc.c: Regenerate. + * mep-desc.c: Regenerate. + +2009-11-02 Paul Brook <paul@codesourcery.com> + + * arm-dis.c (coprocessor_opcodes): Update to use new feature flags. + Add VFPv4 instructions. + +2009-10-29 Sebastian Pop <sebastian.pop@amd.com> + + * i386-dis.c (OP_VEX_FMA): Removed. + (VexFMA): Removed. + (Vex128FMA): Removed. + (prefix_table): First source operand of FMA4 insns is decoded + with Vex not with VexFMA. + (OP_EX_VexW): Second source operand is decoded with get_vex_imm8 + when vex.w is set. Third source operand is decoded with + +2009-10-27 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am (HFILES): Remove cgen-ops.h and cgen-types.h. + * Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2009-10-23 Doug Evans <dje@sebabeach.org> + + * cgen-ops.h: Delete, moved to ../include/cgen/basic-ops.h. + * cgen-types.h: Delete, moved to ../include/cgen/basic-modes.h. + * cgen-bitset.c: Update. + * fr30-desc.h: Regenerate. + * frv-desc.h: Regenerate. + * ip2k-desc.h: Regenerate. + * iq2000-desc.h: Regenerate. + * lm32-desc.h: Regenerate. + * m32c-desc.h: Regenerate. + * m32c-opc.h: Regenerate. + * m32r-desc.h: Regenerate. + * mep-desc.h: Regenerate. + * mt-desc.h: Regenerate. + * openrisc-desc.h: Regenerate. + * xc16x-desc.h: Regenerate. + * xstormy16-desc.h: Regenerate. + +2009-10-22 DJ Delorie <dj@redhat.com> + + * rx-decode.opc (decode_opcode): Fix flags for MUL, SUNTIL, and SWHILE. + * rx-decode.c: Regenerated. + +2009-10-20 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/10775 + * i386-dis.c: Document LB, LS and LV macros. + (dis386): Use mov%LB, mov%LS and mov%LV on mov instruction + with the 64-bit displacement or immediate operand. + (putop): Handle LB, LS and LV macros. + +2009-10-18 Doug Evans <dje@sebabeach.org> + + * lm32-opinst.c: Regenerate. + * m32c-desc.c: Regenerate. + * m32r-opinst.c: Regenerate. + * openrisc-ibld.c: Regenerate. + * xc16x-desc.c: Regenerate. + * xc16x-desc.h: Regenerate. + +2009-10-17 Doug Evans <dje@sebabeach.org> + + * Makefile.am (CGEN_CPUS): Add iq2000, lm32. + (FR30_DEPS, FRV_DEPS, IQ2000_DEPS): Move so all cgen *_DEPS are + sorted alphabetically. + (stamp-fr30, stamp-frv, stamp-iq2000, stamp-xc16x): Move so all cgen + stamp-* rules are sorted alphabetically. + * Makefile.in: Regenerate. + +2009-10-16 H.J. Lu <hongjiu.lu@intel.com> + + * i386-opc.h: Use enum instead of nested macros. + +2009-10-16 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c: Simplify enums. + +2009-10-15 H.J. Lu <hongjiu.lu@intel.com> + Ineiev <ineiev@gmail.com> + + PR binutils/10767 + * i386-dis.c: Use enum instead of nested macros. + +2009-10-15 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (MAX_BYTEMODE): Removed. + +2009-10-14 Tomas Hurka <tom@hukatronic.cz> + + PR 969 + * m68k-opc.c (m68k_opcodes): Correct mask for macl and msacl. + +2009-10-13 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (print_insn): Always clear need_vex, need_vex_reg + and vex_w_done. + +2009-10-07 Michael Eager <eager@eagercon.com> + + * microblaze-dis.c: Add include for microblaze-dis.h, + eliminate local extern decls. + * microblaze-dis.h: New. + +2009-10-06 Nick Clifton <nickc@redhat.com> + + * po/fi.po: Updated Finnish translation. + +2009-10-03 Andreas Schwab <schwab@linux-m68k.org> + + * opc2c.c: Include "libiberty.h" and <errno.h>. + (orig_filename): Constify. + (dump_lines): Fix line number directive. + (main): Set orig_filename to basename of input file. Use + xstrerror. + + * Makefile.am (rx-dis.lo): Remove explicit dependencies. + ($(srcdir)/rx-decode.c): Use @MAINT@. Use $(EXEEXT_FOR_BUILD) + instead of $(EXEEXT). + (opc2c$(EXEEXT_FOR_BUILD)): Renamed from opc2c$(EXEEXT) and use + $(LINK_FOR_BUILD). Link with libiberty. + (MOSTLYCLEANFILES): Add opc2c$(EXEEXT_FOR_BUILD). + (MAINTAINERCLEANFILES): Add $(srcdir)/rx-decode.c. + * Makefile.in: Regenerated. + * rx-decode.c: Regenerated. + +2009-10-03 Paul Reed <paulreed@paddedcell.com> + + * arm-dis.c (print_insn): Check symtab_size not *symtab. + +2009-10-02 H.J. Lu <hongjiu.lu@intel.com> + + * i386-opc.tbl: Drop Disp64 on jump and loop instructions. + * i386-tbl.h: Regenerated. + +2009-10-02 Peter Bergner <bergner@vnet.ibm.com> + + * ppc-dis.c (ppc_opts): Add "476" entry. + * ppc-opc.c (PPC476): Define. + (powerpc_opcodes): Update mnemonics where required for 476. + +2009-10-01 Peter Bergner <bergner@vnet.ibm.com> + + * ppc-opc.c (PPCA2): Use renamed mask PPC_OPCODE_A2. + * ppc-dis.c (ppc_opts): Likewise. + Rename "ppca2" to "a2". + +2009-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com> + + * crx-dis.c (match_opcode): Truncate mcode to 32-bit. + +2009-09-29 DJ Delorie <dj@redhat.com> + + * Makefile.am: Add RX files. + * configure.in: Add support for RX target. + * disassemble.c: Likewise. + * Makefile.in: Regenerate. + * configure: Regenerate. + * opc2c.c: New file. + * rx-decode.c: New file. + * rx-decode.opc: New file. + * rx-dis.c: New file. + +2009-09-29 Peter Bergner <bergner@vnet.ibm.com> + + * ppc-opc.c (powerpc_opcodes): Remove support for the the "lxsdux", + "lxvd2ux", "lxvw4ux", "stxsdux", "stxvd2ux" and "stxvw4ux" opcodes. + +2009-09-25 Michael Eager <eager@eagercon.com> + + * microblaze-dis.c (get_insn_microblaze, microblaze_get_target_address, + microblaze_decode_insn): Add declarations. + (get_delay_slots_microblaze): Remove. + +2009-09-25 Martin Thuresson <martint@google.com> + + Update sources to make arc and arm targets compile cleanly with + -Wc++-compat: + * arc-dis.c Fix casts. + * arc-ext.c: Add casts. + * arm-dis.c (enum opcode_sentinel_enum): Gave name to anonymous + enum. + +2009-09-24 H.J. Lu <hongjiu.lu@intel.com> + + * i386-gen.c (opcode_modifiers): Remove Vex256. + (set_bitfield): Handle XXX=V. + + * i386-opc.h (Vex): Update comments. + (Vex256): Removed. + (VexNDS): Updated. + (i386_opcode_modifier): Change vex to 2 bits. Remove vex256. + + * i386-opc.tbl: Replace "Vex|Vex256" with Vex=2. + * i386-tbl.h: Regenerated. + +2009-09-23 Nick Clifton <nickc@redhat.com> + + * po/fr.po: Updated French translation. + +2009-09-21 Ben Elliston <bje@au.ibm.com> + Peter Bergner <bergner@vnet.ibm.com> + + * ppc-dis.c (ppc_opts): Add "ppca2" entry. + * ppc-opc.c (powerpc_opcodes): Add eratilx, eratsx, eratsx., + eratre, wchkall, eratwe, ldawx., mdfcrx., mfdcr. mtdcrx., icswx, + icswx., mtdcr., dci, wclrone, wclrall, wclr, erativax, tlbsrx., + ici mnemonics. + (ERAT_T): New operand. + (XWC_MASK): New mask. + (XOPL2): New macro. + (PPCA2): Define. + +2009-09-18 Nick Clifton <nickc@redhat.com> + + * po/es.po: Updated Spanish translation. + * po/vi.po: Updated Vietnamese translation. + +2009-09-15 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (OP_E_memory): Don't print '-' in Intel mode if + disp == -disp. + +2009-09-14 Nick Clifton <nickc@redhat.com> + + * po/nl.po: Updated Dutch translation. + +2009-09-11 Nick Clifton <nickc@redhat.com> + + * po/opcodes.pot: Updated by the Translation project. + +2009-09-11 Martin Thuresson <martint@google.com> + + Updated sources to compile cleanly with -Wc++-compat: + * ld.h (enum endian_enum,enum symbolic_enum,enum dynamic_list_enum): Move to top level. + * ldcref.c: Add casts. + * ldctor.c: Add casts. + * ldexp.c + * ldexp.h (enum node_tree_enum,enum phase_enum): Move to top level. + * ldlang.c: Add casts. (lang_insert_orphan): Use enum name instead of integer. + * ldlang.h (enum statement_enum): Move to top level. + * ldmain.c: Add casts. + * ldwrite.c: Add casts. + * lexsup.c: Add casts. (enum control_enum): Move to top level. + * mri.c: Add casts. (mri_draw_tree): Use enum name instead of integer. + +2009-09-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * s390-dis.c (print_insn_s390): Avoid 'long long'. + +2009-09-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * s390-dis.c (s390_extract_operand): Remove the shift for pcrel operands. + (print_insn_s390): Signextend and shift pcrel operands before printing. + +2009-09-09 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (vex_len_table): Change VEX_LEN_AE_R_X_M0 to + VEX_LEN_AE_R_X_M_0 in comments. + +2009-09-08 DJ Delorie <dj@redhat.com> + + * mep-opc.c: Regenerate. + +2009-09-08 Andreas Schwab <schwab@linux-m68k.org> + + * z8kgen.c (struct op): Replace unused flavor with id. + (opt): Remove extra xorb entry. + (func): Use id field as fallback. + (sub): Return new string, caller changed. + (internal): Allocate end marker. Assign unique id before sorting. + (gas): Likewise. Fix loop end condition. + * z8k-opc.h: Regenerate. + +2009-09-08 Alan Modra <amodra@bigpond.net.au> + + * ppc-opc.c (powerpc_macros <extrdi>): Allow n+b of 64. + +2009-09-07 Alan Modra <amodra@bigpond.net.au> + + * z8kgen.c (func): Fix thinko last patch. + +2009-09-07 Alan Modra <amodra@bigpond.net.au> + + * z8kgen.c (func): Stabilize qsort of identically named entries. + * z8k-opc.h: Regenerate. + +2009-09-07 Tristan Gingold <gingold@adacore.com> + + * po/opcodes.pot: Regenerate. + +2009-09-07 Alan Modra <amodra@bigpond.net.au> + + * configure.in (BUILD_LIBS, BUILD_LIB_DEPS): Define and subst. + * configure: Regenerate. + * Makefile.am (LIBIBERTY, BUILD_LIBIBERTY, BUILD_LIBINTL): Delete. + (BUILD_LIBS, BUILD_LIB_DEPS): Define. Use.. + (i386-gen, ia64-gen, z8kgen): ..here. + * Makefile.in: Regenerate. + +2009-09-07 Tristan Gingold <gingold@adacore.com> + + * z8k-opc.h: Regenerate. + +2009-09-05 Martin Thuresson <martin@mtme.org> + + * ia64-dis.c (print_insn_ia64): Update code to use renamed member. + * m88k-dis.c (m88kdis): Rename variable class to in_class. + * tic80-opc.c (tic80_symbol_to_value, tic80_value_to_symbol): + Rename argument class to symbol_class. + +2009-09-04 Jie Zhang <jie.zhang@analog.com> + + * bfin-dis.c (decode_pseudodbg_assert_0): Change according + to the new encoding of DBGA, DBGAH, and DBGAL. + (_print_insn_bfin): Likewise. + +2009-09-03 Jie Zhang <jie.zhang@analog.com> + + * bfin-dis.c (_print_insn_bfin): Don't declare. + (print_insn_bfin): Don't declare. + (dregs_pair): Remove. + (ignore_bits): Remove. + (ccstat): Remove. + +2009-09-03 Jie Zhang <jie.zhang@analog.com> + + * bfin-dis.c (IS_DREG): Define. + (IS_PREG): Define. + (IS_AREG): Define. + (IS_GENREG): Define. + (IS_DAGREG): Define. + (IS_SYSREG): Define. + (decode_REGMV_0): Check illegal register move instructions. + +2009-09-03 Dave Korn <dave.korn.cygwin@gmail.com> + + * Makefile.am (BUILD_LIBINTL): New variable. + (i386-gen$(EXEEXT_FOR_BUILD)): Use it. + (ia64-gen$(EXEEXT_FOR_BUILD)): And here. + (z8kgen$(EXEEXT_FOR_BUILD)): And here. + * Makefile.in: Regenerate. + +2009-09-01 DJ Delorie <dj@redhat.com> + + * mep-asm.c: Regenerate. + * mep-desc.c: Regenerate. + * mep-opc.c: Regenerate. + +2009-09-01 Tristan Gingold <gingold@adacore.com> + + * makefile.vms: Ported to Itanium VMS. Remove useless targets and + dependencies. Remove unused FORMAT variable. + * configure.com: New file to create build.com DCL script for + Itanium VMS or Alpha VMS. + +2009-08-29 Martin Thuresson <martin@mtme.org> + + * cris-dis.c (bytes_to_skip): Update code to use new name. + * i386-dis.c (putop): Update code to use new name. + * i386-gen.c (process_i386_opcodes): Update code to use + new name. + * i386-opc.h (struct template): Rename struct template to + insn_template. Update code accordingly. + * i386-tbl.h (i386_optab): Update type to use new name. + * ia64-dis.c (print_insn_ia64): Rename variable template + to template_val. + * tic30-dis.c (struct instruction, get_tic30_instruction): + Update code to use new name. + * tic54x-dis.c (has_lkaddr, get_insn_size) + (print_parallel_instruction, print_insn_tic54x, tic54x_get_insn): + Update code to use new name. + * tic54x-opc.c (tic54x_unknown_opcode, tic54x_optab): + Update type to new name. + * z8kgen.c (internal, gas): Rename variable new to new_op. + +2009-08-28 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.am (COMPILE_FOR_BUILD): Remove BUILD_CPPFLAGS. + Replace BUILD_CFLAGS with CFLAGS_FOR_BUILD. + (LINK_FOR_BUILD): Replace BUILD_CFLAGS/BUILD_LDFLAGS with + CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD. + * Makefile.in: Regenerated. + +2009-08-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * Makefile.am (bfdlibdir, bfdincludedir): Move definition ... + [INSTALL_LIBBFD]: ... here, ... + [INSTALL_LIBBFD]: ... and empty overrides here. + [!INSTALL_LIBBFD]: (rpath_bfdlibdir): New variable. + [!INSTALL_LIBBFD] (libbfd_la_LDFLAGS): Use it. + * Makefile.in: Regenerate. + * configure: Regenerate. + +2009-08-26 Philippe De Muyter <phdm@macqel.be> + + * m68k-dis.c (print_insn_arg): Add movecr register names for + coldfire v4e families. + +2009-08-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * Makefile.am (SUBDIRS): Build '.' before 'po'. + (COMPILE_FOR_BUILD, LINK_FOR_BUILD, BUILD_LIBIBERTY) + (MOSTLYCLEANFILES, MAINTAINERCLEANFILES): New variables. + (i386-gen$(EXEEXT_FOR_BUILD)): Renamed from i386-gen, rewrite + using *BUILD variables, depend upon $(BUILD_LIBIBERTY). + (i386-gen.o): New rule. + ($(srcdir)/i386-init.h): Adjust. + (i386-opc.lo): Depend on $(srcdir)/i386-tbl.h. + (ia64-gen$(EXEEXT_FOR_BUILD)): Rename from ia64-gen, adjust likewise. + (ia64-gen.o): New rule. + (ia64_asmtab_deps): New variable. + ($(srcdir)/ia64-asmtab.c): Use it; adjust likewise. + (ia64-opc.lo): Depend on $(srcdir)/ia64-asmtab.c. + (s390-mkopc$(EXEEXT_FOR_BUILD)): Rename from s390-mkopc, adjust + likewise. + (s390-opc.tab): Adjust. + (z8kgen$(EXEEXT_FOR_BUILD), z8kgen.o, $(srcdir)/z8k-opc.h): New + rules. + (z8k-dis.lo): Depend on $(srcdir)/z8k-opc.h. + * Makefile.in: Regenerate. + * z8kgen.c (gas): Avoid '/*' in comment. + * z8k-opc.h (func): Regenerate. + +2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * Makefile.am (TARGET_LIBOPCODES_CFILES): New variable, taken + from $(CFILES), sorted, with dis-buf.c, dis-init.c, disassemble.c, + i386-gen.c, ia64-opc-a.c, ia64-opc-b.c, ia64-opc-f.c, ia64-opc-i.c, + ia64-opc-m.c, ia64-opc-d.c, ia64-gen.c, ia64-asmtab.c removed, and + msp430-dis.c added. + (LIBOPCODES_CFILES): New variable, adding to + TARGET_LIBOPCODES_CFILES also non-target library sources. + (CFILES): Factorize based on $(LIBOPCODES_CFILES), adding generator + files. + (ALL_MACHINES): Factorize based on $(TARGET_LIBOPCODES_CFILES). + (EXTRA_libopcodes_la_SOURCES): Use $(LIBOPCODES_CFILES). + * Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * Makefile.am (libopcodes_la_LDFLAGS): Initialize early. + [INSTALL_LIBBFD] (bfdlib_LTLIBRARIES): Set only in this condition. + [INSTALL_LIBBFD] (bfdinclude_DATA): New. + [!INSTALL_LIBBFD] (noinst_LTLIBRARIES): New. + [!INSTALL_LIBBFD] (libopcodes_la_LDFLAGS): Ensure libopcodes.la + is built shared even if it is not to be installed. + (install-bfdlibLTLIBRARIES,uninstall-bfdlibLTLIBRARIES) + (install_libopcodes, uninstall_libopcodes): Remove. + (AM_CPPFLAGS): Renamed from ... + (INCLUDES): ... this. + * Makefile.in: Regenerate. + + * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.9 and cygnus, add + 1.11, foreign, no-dist. + (MKDEP, m32c_opc_h): Remove variables. + (disassemble.lo): Rewrite using automake-style dependency + tracking rules; only list the dependency upon the primary source + file, but no included headers. + (m32c-asm.lo, m32c-desc.lo, m32c-dis.lo, m32c-ibld.lo, m32c-opc.lo) + (i386-gen.o, ia64-gen.o): Remove dependency statements. + (EXTRA_libopcodes_la_SOURCES): New variable, list $(CFILES) to + ensure all dependency fragments are included in the Makefile. + (s390-opc.lo): Depend on s390-opc.tab. + (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove rules. + (mkdep section): Remove. + * Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + + * Makefile.am (install-pdf, install-html): Remove. + * Makefile.in: Regenerate. + + * Makefile.in: Regenerate. + * aclocal.m4: Likewise. + * config.in: Likewise. + * configure: Likewise. + +2009-08-06 Michael Eager <eager@eagercon.com> + + * Makefile.am: Add microblaze-opc.h to HFILES, microblaze-dis.c to + CFILES, microblaze-dis.lo to ALL_MACHINES, targets. + * Makefile.in: Regenerate. + * configure.in: Add bfd_microblaze_arch target. + * configure: Regenerate. + * disassemble.c: Define ARCH_microblaze, return + print_insn_microblaze(). + * microblaze-dis.c: New MicroBlaze disassembler. + * microblaze-opc.h: New MicroBlaze opcode definitions. + * microblaze-opcm.h: New MicroBlaze opcode types. + +2009-07-25 H.J. Lu <hongjiu.lu@intel.com> + + * configure.in: Handle bfd_l1om_arch. + * disassemble.c (disassembler): Likewise. + + * configure: Regenerated. + + * i386-dis.c (print_insn): Handle bfd_mach_l1om and + bfd_mach_l1om_intel_syntax. Use 8 bytes per line for Intel L1OM. + + * i386-gen.c (cpu_flag_init): Set CPU_UNKNOWN_FLAGS to ~CpuL1OM. + Add CPU_L1OM_FLAGS. + (cpu_flags): Add CpuL1OM. + (set_bitfield): Take an argument to set the value field. + (process_i386_cpu_flag): Support ~CpuXXX and ~(CpuXXX|CpuYYY). + (process_i386_opcode_modifier): Updated. + (process_i386_operand_type): Likewise. + * i386-init.h: Regenerated. + * i386-tbl.h: Likewise. + + * i386-opc.h (CpuL1OM): New. + (CpuXsave): Updated. + (i386_cpu_flags): Add cpul1om. + +2009-07-24 Jan Beulich <jbeulich@novell.com> + + * i386-dis.c (fgrps): Correct annotation for feni/fdisi. Add + frstpm. + * i386-gen.c (cpu_flag_init): Add FP enabling flags where needed. + (cpu_flags): Add Cpu8087, Cpu287, Cpu387, Cpu687, and CpuFISTTP. + (set_bitfield): Expand CpuFP to Cpu8087|Cpu287|Cpu387. + * i386-opc.h (Cpu8087, Cpu287, Cpu387, Cpu687, CpuFISTTP): + Define. + (union i386_cpu_flags): Add cpu8087, cpu287, cpu387, cpu687, + and cpufisttp. + * i386-opc.tbl: Qualify floating point instructions by their + respective CpuXXX flag. Fix fucom{,p,pp}, fprem1, fsin, fcos, + and fsincos to be avilable only on 387. Fix fstsw ax to be + available only on 287+. Add f{,n}eni, f{,n}disi, f{,n}setpm, + and frstpm. + * i386-init.h, i386-tbl.h: Regenerate. + +2009-07-20 Nick Clifton <nickc@redhat.com> + + PR 10288 + * arm-dis.c (arm_opcodes): Catch non-zero bits 8-11 in register + offset or indexed based addressing mode 3. + +2009-07-14 Nick Clifton <nickc@redhat.com> + + PR 10288 + * arm-dis.c (arm_opcodes): Catch illegal Addressing Mode 1 + patterns. + (arm_decode_shift): Catch illegal register based shifts. + (print_insn_arm): Properly handle negative register r0 + post-indexed addressing. + +2009-07-10 Doug Kwan <dougkwan@google.com> + + * arm-disc.c (print_insn_coprocessor, print_insn_arm): Print only + lower 32 bits of long types to make hexadecimal output consistent + on both 32-bit and 64-bit hosts. + +2009-07-10 Alan Modra <amodra@bigpond.net.au> + + * fr30-desc.c, * fr30-desc.h, * fr30-opc.c, * fr30-opc.h, + * frv-desc.c, * frv-desc.h, * frv-opc.c, * frv-opc.h, + * ip2k-desc.c, * ip2k-desc.h, * ip2k-opc.c, * ip2k-opc.h, + * iq2000-desc.c, * iq2000-desc.h, * iq2000-opc.c, * iq2000-opc.h, + * lm32-desc.c, * lm32-desc.h, * lm32-opc.c, * lm32-opc.h, + * lm32-opinst.c, * m32c-desc.c, * m32c-desc.h, * m32c-opc.c, + * m32c-opc.h, * m32r-desc.c, * m32r-desc.h, * m32r-opc.c, + * m32r-opc.h, * m32r-opinst.c, * mt-desc.c, * mt-desc.h, + * mt-opc.c, * mt-opc.h, * openrisc-desc.c, * openrisc-desc.h, + * openrisc-opc.c, * openrisc-opc.h, * xc16x-desc.c, * xc16x-desc.h, + * xc16x-opc.c, * xc16x-opc.h, * xstormy16-desc.c, * xstormy16-desc.h, + * xstormy16-opc.c, * xstormy16-opc.h: Regenerate. + +2009-07-07 Chung-Lin Tang <cltang@pllab.cs.nthu.edu.tw> + + * arm-dis.c (coprocessor_opcodes): Fix mask for waddbhus. + +2009-07-07 Nick Clifton <nickc@redhat.com> + + PR 10288 + * arm-dis.c (arm_opcodes): Be more strict about decoding scaled + addressing modes. + +2009-07-06 DJ Delorie <dj@redhat.com> + + * mep-desc.c: Regenerate. + * mep-desc.h: Regenerate. + * mep-opc.c: Regenerate. + * mep-opc.h: Regenerate. + +2009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> + + * i386-opc.h (CpuFMA4): Add CpuFMA4. + (i386_cpu_flags): New. + * i386-gen.c: Add CPU_FMA4_FLAGS. + * i386-opc.tbl: Add FMA4 instructions. + * i386-tbl.h: Regenerate. + * i386-init.h: Regenerate. + * i386-dis.c (OP_VEX_FMA): New. Handle FMA4. + (OP_XMM_VexW): Ditto. + (OP_EX_VexW): Ditto. + (VEXI4_Fixup): Ditto. + (VexI4, VexFMA, Vex128FMA, EXVexW, EXdVexW, XMVexW): New Macros. + (PREFIX_VEX_3A5C, PREFIX_VEX_3A5D, PREFIX_VEX_3A5E): New. + (PREFIX_VEX_3A5F, PREFIX_VEX_3A60): New. + (PREFIX_VEX_3A68, PREFIX_VEX_3A69, PREFIX_VEX_3A6A): New. + (PREFIX_VEX_3A6B, PREFIX_VEX_3A6C, PREFIX_VEX_3A6D): New. + (PREFIX_VEX_3A6E, PREFIX_VEX_3A6F, PREFIX_VEX_3A7A): New. + (PREFIX_VEX_3A7B, PREFIX_VEX_3A7C, PREFIX_VEX_3A7D): New. + (PREFIX_VEX_3A7E, PREFIX_VEX_3A7F): New. + (VEX_LEN_3A6A_P_2,VEX_LEN_3A6B_P_2, VEX_LEN_3A6E_P_2): New. + (VEX_LEN_3A6F_P_2,VEX_LEN_3A7A_P_2, VEX_LEN_3A7B_P_2): New. + (VEX_LEN_3A7E_P_2,VEX_LEN_3A7F_P_2): New. + (get_vex_imm8): New. handle FMA4. + (OP_EX_VexReg): Ditto. + +2009-06-30 Nick Clifton <nickc@redhat.com> + + PR 10288 + * arm-dis.c (coprocessor): Print the LDC and STC versions of the + LFM and SFM instructions as comments,. + Improve consistency of formatting for instructions displayed as + comments and decimal values displayed with their hexadecimal + equivalents. + Formatting tidy ups. + +2009-06-29 Nick Clifton <nickc@redhat.com> + + PR 10288 + * arm-dis.c (enum opcode_sentinels): New: Used to mark the + boundary between variaant and generic coprocessor instuctions. + (coprocessor): Use it. + Fix architecture version of MCRR and MRRC instructions. + (arm_opcdes): Fix patterns for STRB and STRH instructions. + (print_insn_coprocessor): Check architecture and extension masks. + Print a hexadecimal version of any decimal constant that is + outside of the range of -16 to +32. + (print_arm_address): Add a return value of the offset used in the + adress, if it is worth printing a hexadecimal version of it. + (print_insn_neon): Print a hexadecimal version of any decimal + constant that is outside of the range of -16 to +32. + (print_insn_arm): Likewise. + (print_insn_thumb16): Likewise. + (print_insn_thumb32): Likewise. + + PR 10297 + * arm-dis.c (UNDEFINED_INSTRUCTION): New macro for a description + of an undefined instruction. + (arm_opcodes): Use it. + (thumb_opcod): Use it. + (thumb32_opc): Use it. + +2009-06-23 DJ Delorie <dj@redhat.com> + + * mep-desc.c: Regenerate. + * mep-desc.h: Regenerate. + * mep-dis.c: Regenerate. + * mep-ibld.c: Regenerate. + * mep-opc.c: Regenerate. + + * mep-asm.c: Regenerate. + * mep-opc.c: Regenerate. + * mep-opc.h: Regenerate. + +2009-06-22 Nick Clifton <nickc@redhat.com> + + * po/fi.po: Updated Finish translation. + +2009-06-22 Alan Modra <amodra@bigpond.net.au> + + * m32c-asm.c: Regenerate. + +2009-06-22 Alan Modra <amodra@bigpond.net.au> + + * score-dis.c (print_insn_score48, print_insn_score32): Move default + case label to proper lexical block. + * score7-dis.c (print_insn_score32): Likewise. + +2009-06-19 Martin Schwidefsky <sschwidefsky@de.ibm.com> + + * s390-opc.c (INSTR_RR_0R_OPT, INSTR_RX_0RRD_OPT, MASK_RR_0R_OPT, + MASK_RX_0RRD_OPT): New instruction formats with optional arguments. + * s390-opc.txt (nopr, nop): Use new instruction format. + +2009-06-18 Nick Clifton <nickc@redhat.com> + + PR 10288 + * arm-dis.c (print_insn_coprocessor): Check that a user specified + ARM architecture supports the matched instruction. + (print_insn_arm): Likewise. + (select_arm_features): New function. Fills in the fields of an + arm_feature_set structure based on a given arm machine number. + (print_insn): Initialise an arm_feature_set structure. + +2009-06-16 Maciej W. Rozycki <macro@linux-mips.org> + + * vax-dis.c (is_function_entry): Return success for synthetic + symbols too. + (is_plt_tail): New function. + (print_insn_vax): Decode PLT entry offset longword. + +2009-06-15 Nick Clifton <nickc@redhat.com> + + PR 10186 + * arm-dis.c (thumb32_opcodes): Fix binary value of SEV.W + instruction. + + PR 10173 + * cr16-dis.c (print_arg): Avoid printing the 0x prefix twice. + +2009-06-15 Nick Clifton <nickc@redhat.com> + + PR 10263 + * arm-dis.c (print_insn): Ignore is_data if the user has requested + the disassembly of data as well as instructions. + +2009-06-11 Doug Evans <dje@sebabeach.org> + + * cgen.sh: Handle multiple simultaneous runs for parallel makes. + +2009-06-11 Anthony Green <green@moxielogic.com> + + * moxie-opc.c (moxie_form1_opc_info): Remove branch instructions. + (moxie_form3_opc_info): Add branch instructions. + * moxie-dis.c (print_insn_moxie): Disassemble MOXIE_F3_PCREL + encoded instructions. + +2009-06-06 Anthony Green <green@moxielogic.com> + + * moxie-opc.c: Recode some MOXIE_F1_4 opcodes as MOXIE_F1_M. + * moxie-dis.c (print_insn_moxie): Handle MOXIE_F1_M case. + +2009-06-04 Alan Modra <amodra@bigpond.net.au> + + * dep-in.sed: Don't use \n in replacement part of s command. + * Makefile.am (DEP1): LC_ALL for uniq. + * Makefile.in: Regenerate. + +2009-06-02 Nick Clifton <nickc@redhat.com> + + * po/nl.po: Updated Dutch translation. + +2009-06-02 Tristan Gingold <gingold@adacore.com> + + * ia64-gen.c (parse_resource_users, print_dependency_table, + add_dis_table_ent, finish_distable, insert_bit_table_ent, + add_dis_entry, compact_distree, gen_dis_table, completer_entries_eq, + get_prefix_len, compute_completer_bits, insert_opcode_dependencies, + insert_completer_entry, print_completer_entry, print_completer_table, + opcodes_eq, add_opcode_entry, shrink): Use ISO C syntax for functions. + +2009-05-28 DJ Delorie <dj@redhat.com> + + * mep-asm.c: Regenerate. + * mep-desc.c: Regenerate. + +2009-05-26 DJ Delorie <dj@redhat.com> + + * mep-asm.c: Regenerate. + * mep-desc.c: Regenerate. + * mep-desc.h: Regenerate. + * mep-dis.c: Regenerate. + * mep-ibld.c: Regenerate. + * mep-opc.c: Regenerate. + * mep-opc.h: Regenerate. + +2009-05-26 Nick Clifton <nickc@redhat.com> + + * po/id.po: Updated Indonesian translation. + * po/opcodes.pot: Updated template file. + +2009-05-26 Alan Modra <amodra@bigpond.net.au> + + * dep-in.sed: Don't modify .o to .lo here. Output one filename + per line with all lines having continuation backslash. Prefix + first line with "A", following lines with "B". + * Makefile.am (DEP): Don't use dep.sed here. + (DEP1): Run $MKDEP on single files, modify .o to .lo here. Use + dep.sed here on dependencies, sort and uniq. + * Makefile.in: Regenerate. + +2009-05-25 Tristan Gingold <gingold@adacore.com> + + * makefile.vms (OPT): New variable. + (CFLAGS): Update compilation flags. + +2009-05-22 DJ Delorie <dj@redhat.com> + + * mep-asm.c: Regenerate. + * mep-desc.c: Regenerate. + * mep-desc.h: Regenerate. + * mep-dis.c: Regenerate. + * mep-ibld.c: Regenerate. + * mep-opc.c: Regenerate. + * mep-opc.h: Regenerate. + +2009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> + + * i386-opc.h (Cpusse5): Delete. + (i386_cpu_flags): Delete. + * i386-gen.c: Remove CpuSSE5, Drex, Drexv and Drexc. + * i386-opc.tbl: Remove SSE5 instructions. + * i386-tbl.h: Regenerate. + * i386-init.h: Regenerate. + * i386-dis.c (OP_E_memeory, OP_E_extended): Remove drex handling. + (print_drex_arg): Delete. + (OP_DREX4): Delete. + (OP_DREX3): Delete. + (OP_DREX_ICMP): Delete. + (OP_DREX_FCMP): Delete. + (DREX_*): Delete. + (THREE_BYTE_0F24, THREE_BYTE_0F25, THREE_BYTE_0f7B): Delete. + +2009-05-22 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2009-05-19 DJ Delorie <dj@redhat.com> + + * mep-asm.c: Regenerate. + * mep-opc.c: Regenerate. + +2009-04-30 DJ Delorie <dj@redhat.com> + + * mep-asm.c: Regenerate. + * mep-desc.c: Regenerate. + * mep-desc.h: Regenerate. + * mep-dis.c: Regenerate. + * mep-ibld.c: Regenerate. + * mep-opc.c: Regenerate. + * mep-opc.h: Regenerate. + +2009-04-17 DJ Delorie <dj@redhat.com + + * mep-desc.c: Regenerate. + * mep-ibld.c: Regenerate. + * mep-opc.c: Regenerate. + * mep-opc.h: Regenerate. + +2009-04-15 Anthony Green <green@moxielogic.com> + + * moxie-opc.c, moxie-dis.c: Created. + * Makefile.am: Build the moxie source files. + * configure.in: Add moxie support. + * Makefile.in, configure: Rebuilt. + * disassemble.c (disassembler): Add moxie support. + (ARCH_moxie): Define. + +2009-04-15 Jan Beulich <jbeulich@novell.com> + + * i386-opc.tbl (protb, protw, protd, protq): Set opcode + extension to None. + (pshab, pshaw, pshad, pshaq): Likewise. + * i386-tbl.h: Re-generate. + +2009-04-08 DJ Delorie <dj@redhat.com + + * mep-asm.c: Regenerate. + * mep-desc.c: Regenerate. + * mep-desc.h: Regenerate. + * mep-dis.c: Regenerate. + * mep-ibld.c: Regenerate. + * mep-opc.c: Regenerate. + * mep-opc.h: Regenerate. + +2009-04-07 Peter Bergner <bergner@vnet.ibm.com> + + * ppc-opc.c (powerpc_opcodes) <"tlbilxlpid", "tlbilxpid", "tlbilxva", + "tlbilx">: Use secondary opcode "18" as per the ISA 2.06 documentation. + Reorder entries so the extended mnemonics are listed before tlbilx. + +2009-04-02 Peter Bergner <bergner@vnet.ibm.com> + + * ppc-dis.c (powerpc_init_dialect): Do not choose a default dialect + due to -many/-Many. + (print_insn_powerpc): Make sure we only deprecate instructions using + the original dialect and not a modified dialect due to -Many handling. + Move the handling of the condition register and default operands to + the end of the if/else if/else chain. + * ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that + instructions from newer processors are listed before older ones. + <"icblce", "sync", "eieio", "tlbld">: Deprecate for processors + that have instructions with conflicting opcodes. + +2009-04-01 Peter Bergner <bergner@vnet.ibm.com> + + * ppc-opc.c (powerpc_opcodes) <"dcbzl">: Merge the POWER4 and + E500MC entries. + +2009-04-01 Christophe Lyon <christophe.lyon@st.com> + + * arm-dis.c (print_insn): Print BE8 opcodes in little endianness. + +2009-03-30 Joseph Myers <joseph@codesourcery.com> + + * arm-dis.c (print_insn): Also check section matches in backwards + search for mapping symbol. + +2009-03-26 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (get_valid_dis386): Abort on unhandled table. + +2009-03-18 Alan Modra <amodra@bigpond.net.au> + + * cgen-opc.c: Include alloca-conf.h rather than alloca.h. + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * openrisc-opc.c: Regenerate. + +2009-03-10 Nick Clifton <nickc@redhat.com> + + * po/id.po: Updated Indonesian translation. + +2009-03-10 Alan Modra <amodra@bigpond.net.au> + + * ppc-dis.c: Include "opintl.h". + (struct ppc_mopt, ppc_opts): New. + (ppc_parse_cpu): New function. + (powerpc_init_dialect): Use it. + (print_ppc_disassembler_options): Dump options from ppc_opts. + Internationalize message. + +2009-03-06 Nick Clifton <nickc@redhat.com> + + * po/es.po: Updated Spanish translation. + +2009-03-04 Alan Modra <amodra@bigpond.net.au> + + PR 6768 + * configure.in: Test for ld --as-needed support. Link shared + libopcodes against libm. + * configure: Regenerate. + +2009-03-03 Peter Bergner <bergner@vnet.ibm.com> + + * ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that + instructions from newer processors are listed before older ones. + +2009-03-03 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + (HFILES): Move lm32-desc.h and lm32-opc.h from.. + (CFILES): ..here. + * Makefile.in: Regenerate. + +2009-03-02 Qinwei <qinwei@sunnorth.com.cn> + + * score7-dis.c: New file. + * Makefile.am: Add dependencies for score7-dis.c. + * Makefile.in: Regenerate. + * configure.in: Add score7-dis to score files. + * configure: Regenerate. + * score-dis.c: Add support for score7 architecture. + * score-opc.h: Likewise. + +2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * configure: Regenerate. + +2009-02-27 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (OP_EX): Call OP_E_memory instead of OP_E. + +2009-02-26 Peter Bergner <bergner@vnet.ibm.com> + + * ppc-dis.c (powerpc_init_dialect): Extend -Mpower7 to disassemble + the power7 and the isel instructions. + * ppc-opc.c (insert_xc6, extract_xc6): New static functions. + (insert_dm, extract_dm): Likewise. + (XB6): Update comment to include XX2 form. + (WC, XC6, SHW, DMEX, UIM, XX2, XX3RC, XX4, XX2_MASK, XX2UIM_MASK, + XX2BF_MASK, XX3BF_MASK, XX3SHW_MASK, XX4_MASK, XWC_MASK, POWER7): New. + (RemoveXX3DM): Delete. + (powerpc_opcodes): <"lfdp", "lfdpx", "mcrxr", "mftb", "mffgpr", + "mftgpr">: Deprecate for POWER7. + <"fres", "fres.", "frsqrtes", "frsqrtes.", "fre", "fre.", "frsqrte", + "frsqrte.">: Deprecate the three operand form and enable the two + operand form for POWER7 and later. + <"wait">: Extend to accept optional parameter. Enable for POWER7. + <"waitsrv", "waitimpl">: Add extended opcodes. + <"ldbrx", "stdbrx">: Enable for POWER7. + <"cdtbcd", "cbcdtd", "addg6s">: Add POWER6 opcodes. + <"bpermd", "dcbtstt", "dcbtt", "dcffix.", "dcffix", "divde.", "divde", + "divdeo.", "divdeo", "divdeu.", "divdeu", "divdeuo.", "divdeuo", + "divwe.", "divwe", "divweo.", "divweo", "divweu.", "divweu", "divweuo.", + "divweuo", "fcfids.", "fcfids", "fcfidu.", "fcfidu", "fcfidus.", + "fcfidus", "fctidu.", "fctidu", "fctiduz.", "fctiduz", "fctiwu.", + "fctiwu", "fctiwuz.", "fctiwuz", "ftdiv", "ftsqrt", "lbarx", "lfiwzx", + "lharx", "popcntd", "popcntw", "stbcx.", "sthcx.">: Add POWER7 opcodes. + <"lxsdux", "lxsdx", "lxvdsx", "lxvw4ux", "lxvw4x", "stxsdux", "stxsdx", + "stxvw4ux", "stxvw4x", "xsabsdp", "xsadddp", "xscmpodp", "xscmpudp", + "xscpsgndp", "xscvdpsp", "xscvdpsxds", "xscvdpsxws", "xscvdpuxds", + "xscvdpuxws", "xscvspdp", "xscvsxddp", "xscvuxddp", "xsdivdp", + "xsmaddadp", "xsmaddmdp", "xsmaxdp", "xsmindp", "xsmsubadp", + "xsmsubmdp", "xsmuldp", "xsnabsdp", "xsnegdp", "xsnmaddadp", + "xsnmaddmdp", "xsnmsubadp", "xsnmsubmdp", "xsrdpi", "xsrdpic", + "xsrdpim", "xsrdpip", "xsrdpiz", "xsredp", "xsrsqrtedp", "xssqrtdp", + "xssubdp", "xstdivdp", "xstsqrtdp", "xvabsdp", "xvabssp", "xvadddp", + "xvaddsp", "xvcmpeqdp.", "xvcmpeqdp", "xvcmpeqsp.", "xvcmpeqsp", + "xvcmpgedp.", "xvcmpgedp", "xvcmpgesp.", "xvcmpgesp", "xvcmpgtdp.", + "xvcmpgtdp", "xvcmpgtsp.", "xvcmpgtsp", "xvcpsgnsp", "xvcvdpsp", + "xvcvdpsxds", "xvcvdpsxws", "xvcvdpuxds", "xvcvdpuxws", "xvcvspdp", + "xvcvspsxds", "xvcvspsxws", "xvcvspuxds", "xvcvspuxws", "xvcvsxddp", + "xvcvsxdsp", "xvcvsxwdp", "xvcvsxwsp", "xvcvuxddp", "xvcvuxdsp", + "xvcvuxwdp", "xvcvuxwsp", "xvdivdp", "xvdivsp", "xvmaddadp", + "xvmaddasp", "xvmaddmdp", "xvmaddmsp", "xvmaxdp", "xvmaxsp", + "xvmindp", "xvminsp", "xvmovsp", "xvmsubadp", "xvmsubasp", "xvmsubmdp", + "xvmsubmsp", "xvmuldp", "xvmulsp", "xvnabsdp", "xvnabssp", "xvnegdp", + "xvnegsp", "xvnmaddadp", "xvnmaddasp", "xvnmaddmdp", "xvnmaddmsp", + "xvnmsubadp", "xvnmsubasp", "xvnmsubmdp", "xvnmsubmsp", "xvrdpi", + "xvrdpic", "xvrdpim", "xvrdpip", "xvrdpiz", "xvredp", "xvresp", + "xvrspi", "xvrspic", "xvrspim", "xvrspip", "xvrspiz", "xvrsqrtedp", + "xvrsqrtesp", "xvsqrtdp", "xvsqrtsp", "xvsubdp", "xvsubsp", "xvtdivdp", + "xvtdivsp", "xvtsqrtdp", "xvtsqrtsp", "xxland", "xxlandc", "xxlnor", + "xxlor", "xxlxor", "xxmrghw", "xxmrglw", "xxsel", "xxsldwi", "xxspltd", + "xxspltw", "xxswapd">: Add VSX opcodes. + +2009-02-23 H.J. Lu <hongjiu.lu@intel.com> + + * i386-gen.c (operand_type_init): Remove OPERAND_TYPE_VEX_IMM4. + (operand_types): Remove Vex_Imm4. + + * i386-opc.h (Vex_Imm4): Removed. + (OTMax): Updated. + (i386_operand_type): Remove vex_imm4. + + * i386-opc.tbl: Remove Vex_Imm4 comments. + * i386-init.h: Regenerated. + * i386-tbl.h: Likewise. + +2009-02-23 Richard Earnshaw <rearnsha@arm.com> + + * arm-dis.c (neon_opcodes): Correct bit-mask and patterns for + vq{r}shr{u}n.s64 insnstructions. + +2009-02-19 Peter Bergner <bergner@vnet.ibm.com> + + * ppc-opc.c (powerpc_opcodes) <"lfdepx", "stfdepx">: Fix the first + operand to be a float point register (FRT/FRS). + +2009-02-18 Adam Nemet <anemet@caviumnetworks.com> + + * mips-opc.c (mips_builtin_opcodes): Move the Octeon-specific + dmfc2 and dmtc2 before the architecture-level variants. + +2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr> + + * fr30-opc.c: Regenerate. + * frv-opc.c: Regenerate. + * ip2k-opc.c: Regenerate. + * iq2000-opc.c: Regenerate. + * lm32-opc.c: Regenerate. + * m32c-opc.c: Regenerate. + * m32r-opc.c: Regenerate. + * mep-opc.c: Regenerate. + * mt-opc.c: Regenerate. + * xc16x-opc.c: Regenerate. + * xstormy16-opc.c: Regenerate. + * tic54x-dis.c (print_instruction): Avoid compiler warning on + sprintf call. + +2009-02-12 Nathan Sidwell <nathan@codesourcery.com> + + * m68k-opc.c (m68k_opcodes): Add stldsr instruction. + +2009-02-05 Peter Bergner <bergner@vnet.ibm.com> + + * ppc-opc.c: Update copyright year. + (powerpc_opcodes) <"dcbt", "dcbtst">: Deprecate the Embedded operand + ordering for POWER4 and later and use the correct Server ordering. + +2009-02-04 H.J. Lu <hongjiu.lu@intel.com> + + AVX Programming Reference (January, 2009) + * i386-dis.c (PREFIX_VEX_3A44): New. + (VEX_LEN_3A44_P_2): Likewise. + (PREFIX_VEX_3A48): Updated. + (VEX_LEN_3A4C_P_2): Likewise. + (prefix_table): Add PREFIX_VEX_3A44. + (vex_table): Likewise. + (vex_len_table): Add VEX_LEN_3A44_P_2. + + * i386-opc.tbl: Add PCLMUL + AVX instructions. + * i386-tbl.h: Regenerated. + +2009-02-03 Sandip Matte <sandip@rmicorp.com> + + * mips-dis.c (mips_cp0_names_xlr, mips_cp0sel_names_xlr): Define. + (mips_arch_choices): Add XLR entry. + * mips-opc.c (XLR): Define. + (mips_builtin_opcodes): Add XLR instructions. + +2009-02-03 Carlos O'Donell <carlos@codesourcery.com> + + * Makefile.am: Add install-pdf target. + * po/Make-in: Add install-pdf target. + * Makefile.in: Regenerate. + +2009-02-02 DJ Delorie <dj@redhat.com> + + * mep-asm.c: Regenerate. + * mep-desc.c: Regenerate. + * mep-desc.h: Regenerate. + * mep-dis.c: Regenerate. + * mep-ibld.c: Regenerate. + * mep-opc.c: Regenerate. + * mep-opc.h: Regenerate. + +2009-01-29 Mark Mitchell <mark@codesourcery.com> + + * arm-dis.c (thumb32_opcodes): Correct decoding for qadd, qdadd, + qsub, and qdsub. + +2009-01-28 Chao-ying Fu <fu@mips.com> + + * mips-opc.c (suxc1): Add the flag of FP_D. + +2009-01-20 Alan Modra <amodra@bigpond.net.au> + + * fr30-asm.c, fr30-dis.c, fr30-ibld.c, frv-asm.c, frv-dis.c, + * frv-ibld.c, ip2k-asm.c, ip2k-dis.c, ip2k-ibld.c, + * iq2000-asm.c, iq2000-dis.c, iq2000-ibld.c, m32c-asm.c, + * m32c-dis.c, m32c-ibld.c, m32r-asm.c, m32r-dis.c, + * m32r-ibld.c, mep-asm.c, mep-dis.c, mep-ibld.c, mt-asm.c, + * mt-dis.c, mt-ibld.c, openrisc-asm.c, openrisc-dis.c, + * openrisc-ibld.c, xc16x-asm.c, xc16x-dis.c, xc16x-ibld.c, + * xstormy16-asm.c, xstormy16-dis.c, xstormy16-ibld.c: Regenerate. + +2009-01-16 Alan Modra <amodra@bigpond.net.au> + + * configure.in (commonbfdlib): Delete. + (SHARED_LIBADD): Add pic libiberty if such is available. + * configure: Regenerate. + * po/POTFILES.in: Regenerate. + +2009-01-14 Peter Bergner <bergner@vnet.ibm.com> + + * ppc-dis.c (print_insn_powerpc): Skip insn if it is deprecated. + * ppc-opc.c (powerpc_opcodes) <mtfsf, mtfsf.>: Deprecate the two + operand form and enable the four operand form for POWER6 and later. + <mtfsfi, mtfsfi.>: Deprecate the two operand form and enable the + three operand form for POWER6 and later. + +2009-01-14 Mike Frysinger <vapier@gentoo.org> + + * bfin-dis.c (OUTS): Use "%s" as format string. + +2009-01-13 H.J. Lu <hongjiu.lu@intel.com> + + * i386-gen.c (cpu_flag_init): Remove a white space. + (operand_type_init): Likewise. + +2009-01-12 H.J. Lu <hongjiu.lu@intel.com> + + * i386-opc.tbl: Add NoAVX to movnti, lfence and mfence. + * i386-tbl.h: Regenerated. + +2009-01-12 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (dis386): Use EbS on addB, orB, adcB, sbbB, andB, + subB, xorB and cmpB. Use EvS on addS, orS, adcS, sbbS, andS, + subS, xorS and cmpS. + +2009-01-10 H.J. Lu <hongjiu.lu@intel.com> + + * i386-gen.c (cpu_flag_init): Replace CpuP4 and CpuK6 with + CpuClflush and CpuSYSCALL, respectively. Remove CpuK8. Add + CPU_COREI7_FLAGS, CPU_CLFLUSH_FLAGS and CPU_SYSCALL_FLAGS. + (cpu_flags): Remove CpuP4, CpuK6 and CpuK8. Add CpuClflush + and CpuSYSCALL. + (lineno): Removed. + (set_bitfield): Take an argument, lineno. Don't report lineno + on error if it is -1. + (process_i386_cpu_flag): Take an argument, lineno. + (process_i386_opcode_modifier): Likewise. + (process_i386_operand_type): Likewise. + (output_i386_opcode): Likewise. + (opcode_hash_entry): Add lineno. + (process_i386_opcodes): Updated. + (process_i386_registers): Likewise. + (process_i386_initializers): Likewise. + + * i386-opc.h (CpuP4): Removed. + (CpuK6): Likewise. + (CpuK8): Likewise. + (CpuClflush): New. + (CpuSYSCALL): Likewise. + (CpuMMX): Updated. + (i386_cpu_flags): Remove cpup4, cpuk6 and cpuk8. Add + cpuclflush and cpusyscall. + + * i386-opc.tbl: Update movnti, clflush, lfence, mfence, pause, + syscall and sysret. + * i386-init.h: Regenerated. + * i386-tbl.h: Likewise. + +2009-01-09 H.J. Lu <hongjiu.lu@intel.com> + + * i386-gen.c (cpu_flag_init): Add CpuRdtscp to CPU_K8_FLAGS + and CPU_AMDFAM10_FLAGS. Add CPU_RDTSCP_FLAGS. + (cpu_flags): Add CpuRdtscp. + (set_bitfield): Remove CpuSledgehammer check. + + * i386-opc.h (CpuRdtscp): New. + (CpuLM): Updated. + (i386_cpu_flags): Add cpurdtscp. + + * i386-opc.tbl: Replace CpuSledgehammer with CpuRdtscp. + * i386-init.h: Regenerated. + * i386-tbl.h: Likewise. + +2009-01-09 Peter Bergner <bergner@vnet.ibm.com> + + * ppc-opc.c (PPCNONE): Define. + (NOPOWER4): Delete. + (powerpc_opcodes): Initialize the new "deprecated" field. + +2009-01-06 H.J. Lu <hongjiu.lu@intel.com> + + AVX Programming Reference (December, 2008) + * i386-dis.c (VEX_LEN_2B_M_0): Removed. + (VEX_LEN_E7_P_2_M_0): Likewise. + (VEX_LEN_2C_P_1): Updated. + (VEX_LEN_E8_P_2): Likewise. + (vex_len_table): Remove VEX_LEN_2B_M_0 and VEX_LEN_E7_P_2_M_0. + (mod_table): Likewise. + + * i386-opc.tbl: Add 256bit vmovntdq, vmovntpd and vmovntps. + * i386-tbl.h: Regenerated. + +2009-01-05 H.J. Lu <hongjiu.lu@intel.com> + + * i386-gen.c (process_copyright): Update for 2009. + + * i386-init.h: Regenerated. + * i386-tbl.h: Likewise. + +2009-01-05 H.J. Lu <hongjiu.lu@intel.com> + + AVX Programming Reference (December, 2008) + * i386-dis.c (OP_VEX_FMA): Removed. + (OP_EX_VexW): Likewise. + (OP_EX_VexImmW): Likewise. + (OP_XMM_VexW): Likewise. + (VEXI4_Fixup): Likewise. + (VPERMIL2_Fixup): Likewise. + (VexI4): Likewise. + (VexFMA): Likewise. + (Vex128FMA): Likewise. + (EXVexW): Likewise. + (EXdVexW): Likewise. + (EXqVexW): Likewise. + (EXVexImmW): Likewise. + (XMVexW): Likewise. + (VPERMIL2): Likewise. + (PREFIX_VEX_3A48...PREFIX_VEX_3A4A): Likewise. + (PREFIX_VEX_3A5C...PREFIX_VEX_3A5F): Likewise. + (PREFIX_VEX_3A68...PREFIX_VEX_3A6F): Likewise. + (PREFIX_VEX_3A78...PREFIX_VEX_3A7F): Likewise. + (VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2): Likewise. + (VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2): Likewise. + (get_vex_imm8): Likewise. + (OP_EX_VexReg): Likewise. + vpermil2_op): Likewise. + (EXVexWdq): New. + (vex_w_dq_mode): Likewise. + (PREFIX_VEX_3896...PREFIX_VEX_389F): Likewise. + (PREFIX_VEX_38A6...PREFIX_VEX_38AF): Likewise. + (PREFIX_VEX_38B6...PREFIX_VEX_38BF): Likewise. + (es_reg): Updated. + (PREFIX_VEX_38DB): Likewise. + (PREFIX_VEX_3A4A): Likewise. + (PREFIX_VEX_3A60): Likewise. + (PREFIX_VEX_3ADF): Likewise. + (VEX_LEN_3ADF_P_2): Likewise. + (prefix_table): Remove PREFIX_VEX_3A48...PREFIX_VEX_3A4A, + PREFIX_VEX_3A5C...PREFIX_VEX_3A5F, + PREFIX_VEX_3A68...PREFIX_VEX_3A6F and + PREFIX_VEX_3A78...PREFIX_VEX_3A7F. Add + PREFIX_VEX_3896...PREFIX_VEX_389F, + PREFIX_VEX_38A6...PREFIX_VEX_38AF and + PREFIX_VEX_38B6...PREFIX_VEX_38BF. + (vex_table): Likewise. + (vex_len_table): Remove VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2 + and VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2. + (putop): Support "%XW". + (intel_operand_size): Handle vex_w_dq_mode. + + * i386-opc.h (VexNDS): Add a comment for VEX NDS and VEX DDS. + + * i386-opc.tbl: Remove vpermil2pd/vpermil2ps and old FMA + instructions. Add new FMA instructions. + * i386-tbl.h: Regenerated. + +2009-01-02 Matthias Klose <doko@ubuntu.com> + + * or32-opc.c (or32_print_register, or32_print_immediate, + disassemble_insn): Don't rely on undefined sprintf behaviour. + +For older changes see ChangeLog-2008 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: |