diff options
-rw-r--r-- | bfd/ChangeLog | 3379 | ||||
-rw-r--r-- | bfd/ChangeLog-2011 | 3383 | ||||
-rw-r--r-- | binutils/ChangeLog | 924 | ||||
-rw-r--r-- | binutils/ChangeLog-2011 | 930 | ||||
-rw-r--r-- | binutils/testsuite/ChangeLog | 984 | ||||
-rw-r--r-- | binutils/testsuite/ChangeLog-0411 | 991 | ||||
-rw-r--r-- | gas/ChangeLog | 2085 | ||||
-rw-r--r-- | gas/ChangeLog-2011 | 2091 | ||||
-rw-r--r-- | gas/testsuite/ChangeLog | 1459 | ||||
-rw-r--r-- | gas/testsuite/ChangeLog-2011 | 1465 | ||||
-rw-r--r-- | gprof/ChangeLog | 76 | ||||
-rw-r--r-- | gprof/ChangeLog-2011 | 83 | ||||
-rw-r--r-- | ld/ChangeLog | 1067 | ||||
-rw-r--r-- | ld/ChangeLog-2011 | 1074 | ||||
-rw-r--r-- | ld/testsuite/ChangeLog | 1269 | ||||
-rw-r--r-- | ld/testsuite/ChangeLog-2011 | 1276 | ||||
-rw-r--r-- | opcodes/ChangeLog | 815 | ||||
-rw-r--r-- | opcodes/ChangeLog-2011 | 822 |
18 files changed, 12125 insertions, 12048 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index e544499..86c1272 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -115,3388 +115,13 @@ commands are optional and should not be emitted if there are no sections or symbols. (bfd_mach_o_set_section_contents): Amend comment. - * mach-o.h: Amend and add to comments. + * mach-o.h: Amend and add to comments. (mach_o_data_struct): Add fields for dysymtab symbols counts and a pointer to the indirects, when present. (bfd_mach_o_should_emit_dysymtab): New macro. (IS_MACHO_INDIRECT): Likewise. -2011-12-24 Jan Kratochvil <jan.kratochvil@redhat.com> - - * elf32-rl78.c (rl78_elf_relocate_section, rl78_dump_symtab) - (rl78_elf_relax_section): Remove debug prints. - -2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com> - - * elf32-rl78.c (rl78_elf_relocate_section, rl78_elf_relax_section): Use - BFD_VMA_FMT. - -2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com> - - * elf32-rl78.c (prev_alignment, sec_start): Remove unused variables. - -2011-12-23 Tristan Gingold <gingold@adacore.com> - - * vms-lib.c (vms_traverse_index): Move pointer update code. - -2011-12-22 DJ Delorie <dj@redhat.com> - - * elf32-rl78.c (rl78_elf_howto_table): Add R_RL78_RH_RELAX. - (rl78_reloc_map): Add BFD_RELOC_RL78_RELAX. - (rl78_elf_relocate_section): Add R_RL78_RH_RELAX, R_RL78_RH_SFR, - and R_RL78_RH_SADDR. - (rl78_elf_finish_dynamic_sections): Only validate PLT section if - we didn't relax anything, as relaxing might remove a PLT reference - after we've set up the table. - (elf32_rl78_relax_delete_bytes): New. - (reloc_bubblesort): New. - (rl78_offset_for_reloc): New. - (relax_addr16): New. - (rl78_elf_relax_section): Add support for relaxing long - instructions into short ones. - -2011-12-22 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * elf32-s390.c (elf_s390_relocate_section): Add check for debugging - section in LD to LE linker relaxation for R_390_TLS_LDO32. - * elf64-s390.c (elf_s390_relocate_section): Likewise for - R_390_TLS_LDO64. - -2011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org> - - * elf32-arm.c (elf32_arm_nabi_grok_psinfo): Fill in core_pid. - -2011-12-19 Iain Sandoe <idsandoe@googlemail.com> - - * mach-o-i386.c (bfd_mach_o_section_type_valid_for_tgt): Define NULL. - * mach-o-target.c (bfd_mach_o_backend_data): Initialize - bfd_mach_o_section_type_valid_for_tgt - * mach-o-x86-64.c (bfd_mach_o_section_type_valid_for_x86_64): New. - (bfd_mach_o_section_type_valid_for_tgt): Set to - bfd_mach_o_section_type_valid_for_x86_64. - * mach-o.c (bfd_mach_o_section_type_name): Reorder and eliminate dup. - (bfd_mach_o_section_attribute_name): Reorder. - (bfd_mach_o_get_section_type_from_name): If the target has defined a - validator for section types, then use it. - * mach-o.h (bfd_mach_o_get_section_type_from_name): Alter declaration - to include the bfd. - -2011-12-19 Chung-Lin Tang <cltang@codesourcery.com> - - * reloc.c (BFD_RELOC_MIPS16_TLS_GD,BFD_RELOC_MIPS16_TLS_LDM, - BFD_RELOC_MIPS16_TLS_DTPREL_HI16,BFD_RELOC_MIPS16_TLS_DTPREL_LO16, - BFD_RELOC_MIPS16_TLS_GOTTPREL,BFD_RELOC_MIPS16_TLS_TPREL_HI16, - BFD_RELOC_MIPS16_TLS_TPREL_LO16): New relocations for MIPS16 TLS. - * bfd-in2.h (bfd_reloc_code_real): Regenerate. - * libbfd.h (bfd_reloc_code_real_names): Regenerate. - * elf32-mips.c (elf_mips16_howto_table_rel): Add R_MIPS16_TLS_* - entries. - (mips16_reloc_map): Add BFD_RELOC_MIPS16_TLS_* to R_MIPS16_TLS_* - mappings. - * elfn32-mips.c (elf_mips16_howto_table_rel, - elf_mips16_howto_table_rela): Add R_MIPS16_TLS_* entries. - (mips16_reloc_map): Add BFD_RELOC_MIPS16_TLS_* to R_MIPS16_TLS_* - mappings. - * elf64-mips.c (mips16_elf64_howto_table_rel, - mips16_elf64_howto_table_rela): Add R_MIPS16_TLS_* entries. - (mips16_reloc_map): Add BFD_RELOC_MIPS16_TLS_* to R_MIPS16_TLS_* - mappings. - * elfxx-mips.c (TLS_RELOC_P,mips16_reloc_p, - _bfd_mips_elf_check_relocs): Add cases for R_MIPS16_TLS_* relocations. - (tls_gd_reloc_p): Add R_MIPS16_TLS_GD case. - (tls_ldm_reloc_p): Add R_MIPS16_TLS_LDM case. - (tls_gottprel_reloc_p): Add R_MIPS16_TLS_GOTTPREL case. - (mips_elf_calculate_relocation): Add cases for R_MIPS16_TLS_*, - R_MIPS_TLS_DTPREL32/64, and R_MIPS_TLS_TPREL32/64 relocations. - -2011-12-19 Chung-Lin Tang <cltang@codesourcery.com> - Catherine Moore <clm@codesourcery.com> - Sandra Loosemore <sandra@codesourcery.com> - Richard Sandiford <rdsandiford@googlemail.com> - - * elfxx-mips.c (mips_elf_local_pic_function_p): Return true when - H is a MIPS16 function with a kept 32-bit stub. Update comments. - (mips_elf_get_la25_target): New function. - (mips_elf_add_la25_intro): Change to use mips_elf_get_la25_target(). - (mips_elf_add_la25_stub): Move compute of use_trampoline_p down, - change to use mips_elf_get_la25_target(). - (mips_elf_relocation_needs_la25_stub): Add target_is_16_bit_code_p - parameter, add switch case for R_MIPS16_26. - (mips_elf_calculate_relocation): Redirect relocation to point to the - LA25 stub if it exists, instead of the MIPS16 stub. Update arguments - of call to mips_elf_relocation_needs_la25_stub(), don't use la25 stub - for mips16->mips16 calls. - (_bfd_mips_elf_check_relocs): Update arguments of call to - mips_elf_relocation_needs_la25_stub(). - (mips_elf_create_la25_stub): Change to use mips_elf_get_la25_target(). - -2011-12-16 Shinichiro Hamaji <shinichiro.hamaji@gmail.com> - - * mach-o-i386.c (TARGET_PRIORITY): Define as 0 (top priority) - * mach-o-target.c (TARGET_NAME): Use TARGET_PRIORITY - * mach-o-x86-64.c (TARGET_PRIORITY): Define as 0 (top priority) - * mach-o.c (bfd_mach_o_header_p): Remove special handling for - mach-o-i386. - (TARGET_PRIORITY) Set 1 for mach-o-be and mach-o-le, and set 0 for - mach-o-fat. - -2011-12-15 Kevin Buettner <kevinb@redhat.com> - - * elf32-am33lin.c (elf32_am33lin_grok_prstatus): Add case - to correspond to a smaller ELF_NGREG defined by the kernel. - -2011-12-15 H.J. Lu <hongjiu.lu@intel.com> - - * elf64-x86-64.c (ELF32_DYNAMIC_INTERPRETER): Set to - "/lib/ldx32.so.1". - -2011-12-15 Iain Sandoe <iains@gcc.gnu.org> - - * mach-o.c (bfd_mach_o_mkobject_init): Initialize dyn_reloc_cache. - (bfd_mach_o_close_and_cleanup): Only cleanup Mach-O private data - for object files. - -2011-12-15 Shinichiro Hamaji <shinichiro.hamaji@gmail.com> - - * mach-o.c (bfd_mach_o_canonicalize_reloc): Update relocation - table only when there isn't the cahce. - (bfd_mach_o_get_dynamic_reloc_upper_bound): Need one more space - for a pointer for the watchdog. - (bfd_mach_o_canonicalize_dynamic_reloc): Utilize cache like - bfd_mach_o_canonicalize_reloc. - (bfd_mach_o_close_and_cleanup): Call bfd_mach_o_free_cached_info. - (bfd_mach_o_free_cached_info): Free up cache data. - * mach-o.h (reloc_cache): A place to store cache of dynamic relocs. - (bfd_mach_o_free_cached_info): Add declaration. - -2011-12-15 Iain Sandoe <iains@gcc.gnu.org> - - * mach-o-target.c (bfd_mach_o_bfd_set_private_flags): Use - bfd_mach_o_bfd_set_private_flags. - * mach-o.c (bfd_mach_o_bfd_set_private_flags): New. - * mach-o.h (bfd_mach_o_bfd_set_private_flags): Declare. - -2011-12-14 Nick Clifton <nickc@redhat.com> - - PR ld/12451 - * elfcode.h (elf_checksum_contents): Read in the section's - contents if they are not already available, and the section - actually has some contents. - - * compress.c (bfd_get_full_section_contents): Use zmalloc to - allocate the buffers so that excess bytes are guaranteed to be - zero. - -2011-12-14 Iain Sandoe <iains@gcc.gnu.org> - - * mach-o-i386.c (text_section_names_xlat): New table. - (data_section_names_xlat): Likewise. - (import_section_names_xlat): Likewise. - (mach_o_i386_segsec_names_xlat): Likewise. - (bfd_mach_o_tgt_seg_table): Use new tables. - * mach-o-x86-64.c (bfd_mach_o_tgt_seg_table): Set NULL. - * mach-o.c (mach_o_section_name_xlat, mach_o_segment_name_xlat): - Move to mach-o.h as typedefs. - (text_section_names_xlat): Update for current GCC usage. - (data_section_names_xlat): Likewise. - (dwarf_section_names_xlat): Likewise. - (objc_section_names_xlat): New table. - (segsec_names_xlat): Add objc table. - (bfd_mach_o_normalize_section_name): Replace with... - (bfd_mach_o_section_data_for_mach_sect): New. - (bfd_mach_o_section_data_for_bfd_name): New. - (bfd_mach_o_section_data_for_bfd_name): Update to use additional data. - (bfd_mach_o_convert_section_name_to_mach_o): Likewise. - (bfd_mach_o_bfd_copy_private_section_data): Implement. - (bfd_mach_o_write_symtab): Write a zero-length string as the first entry - for compatibility with system tools. - (bfd_mach_o_build_commands): Update section alignment info. - (bfd_mach_o_new_section_hook): Use translation table data to define - default section flags, type, attributes and alignment, when available. - (bfd_mach_o_init_section_from_mach_o): Add TODO comment. - (bfd_mach_o_section_type_name): Add 'symbol_stubs'. - (bfd_mach_o_section_attribute_name): Add 'self_modifying_code'. - (bfd_mach_o_get_section_type_from_name): Change "not-found" return - value. - (bfd_mach_o_tgt_seg_table): Set default NULL. - * mach-o.h (bfd_mach_o_segment_command): Use define for name length. - (bfd_mach_o_backend_data): Move until after contents are defined. - (bfd_mach_o_normalize_section_name): Remove. - (bfd_mach_o_convert_section_name_to_bfd): Declare. - (mach_o_section_name_xlat): Declare. - (mach_o_segment_name_xlat): Declare. - (bfd_mach_o_section_data_for_mach_sect): Declare. - (bfd_mach_o_section_data_for_bfd_name): Declare. - -2011-12-13 Shinichiro Hamaji <shinichiro.hamaji@gmail.com> - - * dwarf2.c (bfd_dwarf2_cleanup_debug_info): Accept stash as an - argument like other functions to support formats other than ELF. - * elf-bfd.h (bfd_dwarf2_cleanup_debug_info): Move to bfd-in.h. - * elf.c (_bfd_elf_close_and_cleanup): Pass dwarf2_find_line_info - in tdata as a parameter. - * libbfd-in.h (bfd_dwarf2_cleanup_debug_info): Move from - elf-bfd.h. - * libbfd.h (bfd_dwarf2_cleanup_debug_info): Regenerate. - * mach-o-target.c (bfd_mach_o_close_and_cleanup): Remove the - fallback macro. - (bfd_mach_o_find_nearest_line): Likewise. - * mach-o.c (bfd_mach_o_find_nearest_line): Add the definition - which calls _bfd_dwarf2_find_nearest_line. - (bfd_mach_o_close_and_cleanup): Likewise. - * mach-o.h (mach_o_data_struct): Add dwarf2_find_line_info. - (bfd_mach_o_find_nearest_line): Add declaration. - (bfd_mach_o_close_and_cleanup): Add declaration. - -2011-12-13 Tristan Gingold <gingold@adacore.com> - - * mach-o.c (bfd_mach_o_read_symtab_symbols): Make global. Remove - prototype. - (bfd_mach_o_section_get_entry_size): Make global. - (bfd_mach_o_section_get_nbr_indirect): Likewise. - (bfd_mach_o_read_symtab_strtab): Likewise. - (struct bfd_mach_o_xlat_name): Move to mach-o.h - (bfd_mach_o_print_flags): Move to binutils/od-macho.c - (bfd_mach_o_get_name_of_null, bfd_mach_o_get_name): Likewise. - (bfd_mach_o_cpu_name, bfd_mach_o_filetype_name): Likewise. - (bfd_mach_o_header_flags_name): Likewise. - (bfd_mach_o_load_command_name): Likewise. - (bfd_mach_o_print_private_header): Likewise. - (bfd_mach_o_print_section_map, bfd_mach_o_print_section): Likwise. - (bfd_mach_o_print_segment, bfd_mach_o_print_dysymtab): Likewise. - (bfd_mach_o_print_dyld_info): Likewise. - (bfd_mach_o_print_private_bfd_data): Remove. - (bfd_mach_o_type_name): Make global. - (bfd_mach_o_section_attribute_name): Likewise. - * mach-o.h (bfd_mach_o_xlat_name): Added. - (bfd_mach_o_section_get_nbr_indirect) - (bfd_mach_o_section_get_entry_size) - (bfd_mach_o_read_symtab_symbols) - (bfd_mach_o_read_symtab_strtab) - (bfd_mach_o_section_attribute_name) - (bfd_mach_o_section_type_name): Likewise. - * mach-o-target.c (bfd_mach_o_bfd_print_private_bfd_data): Define. - -2011-12-13 Chung-Lin Tang <cltang@codesourcery.com> - - * elfxx-mips.c (mips_elf_calculate_relocation): Correct - R_MIPS16_HI16/R_MIPS16_LO16 handling of two cleared lower bits, - update comments. - -2011-12-12 Iain Sandoe <iains@gcc.gnu.org> - - * mach-o.c (bfd_mach_o_read_section_32): Null-terminate sectname. - (bfd_mach_o_read_section_64): Likewise. - -2011-12-11 John Davis Anglin <dave.anglin@nrc-cnrc.gc.ca> - - PR binutils/13476 - * elf32-hppa.c (final_link_relocate): Convert R_PARISC_TLS_GD21L, - R_PARISC_TLS_LDM21L and R_PARISC_TLS_IE21L relocations to - R_PARISC_DPREL21L when not doing a shared link. Likewise convert - R_PARISC_TLS_GD14R, R_PARISC_TLS_LDM14R and R_PARISC_TLS_IE14R to - R_PARISC_DPREL14R. Handle R_PARISC_TLS_GD21L, R_PARISC_TLS_LDM21L - and R_PARISC_TLS_IE21L with R_PARISC_DLTIND21L. - -2011-12-10 David Daney <david.daney@cavium.com> - - * elfxx-mips.c (mips_elf_link_hash_table.rld_value): Remove. - (mips_elf_link_hash_table.rld_symbol): New field; - (MIPS_ELF_RLD_MAP_SIZE): New macro. - (_bfd_mips_elf_add_symbol_hook): Remember __rld_obj_head symbol - in rld_symbol. - (_bfd_mips_elf_create_dynamic_sections): Remember __rld_map symbol - in rld_symbol. - (_bfd_mips_elf_size_dynamic_sections): Set correct size for .rld_map. - (_bfd_mips_elf_finish_dynamic_symbol): Remove .rld_map handling. - (_bfd_mips_elf_finish_dynamic_sections): Use rld_symbol to - calculate DT_MIPS_RLD_MAP value. - (_bfd_mips_elf_link_hash_table_create): Initialize rld_symbol, - quit initializing rld_value. - -2011-12-08 Andrew Pinski <apinski@cavium.com> - Adam Nemet <anemet@caviumnetworks.com> - - * archures.c (bfd_mach_mips_octeon2): New macro - * bfd-in2.h: Regenerate. - * cpu-mips.c (I_mipsocteon2): New enum value. - (arch_info_struct): Add bfd_mach_mips_octeon2. - * elfxx-mips.c (_bfd_elf_mips_mach): Support E_MIPS_MACH_OCTEON2. - (mips_set_isa_flags): Add bfd_mach_mips_octeon2. - (mips_mach_extensions): Add bfd_mach_mips_octeon2. - -2011-12-07 Alan Modra <amodra@gmail.com> - - PR ld/12772 - * elflink.c (elf_gc_sweep_symbol): Discard unmarked symbols - defined in shared libraries. - -2011-12-07 Tristan Gingold <gingold@adacore.com> - - * mach-o.c (bfd_mach_o_canonicalize_symtab): Fix indentation. - Adjust the condition. - (bfd_mach_o_read_symtab_symbol): Now returns a bfd_boolean. - Adjust return statements. - (bfd_mach_o_read_symtab_strtab): Likewise. - (bfd_mach_o_read_symtab_symbols): Likewise. - (bfd_mach_o_scan_start_address): Likewise. Make it static. - (bfd_mach_o_scan): Likewise. - (bfd_mach_o_read_dysymtab_symbol): Remove unused function. - (bfd_mach_o_header_p): Adjust call. - (bfd_mach_o_cpu_name): Make it const. - (bfd_mach_o_filetype_name): Likewise. - (bfd_mach_o_header_flags_name): Likewise. - (bfd_mach_o_section_type_name): Likewise. - (bfd_mach_o_section_attribute_name): Likewise. - (bfd_mach_o_load_command_name): Likewise. - (bfd_mach_o_get_section_type_from_name): Add a const qualifier - after above change. - (bfd_mach_o_get_section_attribute_from_name): Likewise. - * mach-o.h (bfd_mach_o_read_dysymtab_symbol) - (bfd_mach_o_scan_start_address, bfd_mach_o_scan): Remove. - -2011-12-06 Ulrich Weigand <uweigand@de.ibm.com> - - * elf-bfd.h (elfcore_write_s390_last_break): Add prototype. - (elfcore_write_s390_system_call): Likewise. - * elf.c (elfcore_write_s390_last_break): New function. - (elfcore_write_s390_system_call): Likewise. - (elfcore_write_register_note): Call them. - (elfcore_grok_s390_last_break): New function. - (elfcore_grok_s390_system_call): Likewise. - (elfcore_grok_note): Call them. - -2011-12-05 Tristan Gingold <gingold@adacore.com> - - * mach-o.c (bfd_mach_o_read_symtab_symbol): Accept indirect symbols. - -2011-12-05 Tristan Gingold <gingold@adacore.com> - - * mach-o.c (bfd_mach_o_write_contents): Handle LC_LOAD_UPWARD_DYLIB. - (bfd_mach_o_read_dylib): Likewise. - (bfd_mach_o_read_command): Likewise. - (bfd_mach_o_bfd_print_private_bfd_data): Likewise. - -2011-12-05 Tristan Gingold <gingold@adacore.com> - - * mach-o.c (bfd_mach_o_read_command): Add the bfd in the error - message. - (bfd_mach_o_openr_next_archived_file): Use arch name as member name. - (bfd_mach_o_fat_extract): Ditto. - -2011-12-03 Alan Modra <amodra@gmail.com> - - PR ld/13468 - * elflink.c (bfd_elf_final_link): Don't segfault when checking - for DT_TEXTREL and .dynamic does not exist. - -2011-12-03 Alan Modra <amodra@gmail.com> - - PR ld/13470 - * elf32-ppc.c (ppc_elf_copy_indirect_symbol): Revert substantive - change in 2011-07-01 commit. Comment. - * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise. - -2011-12-01 Mikael Pettersson <mikpe@it.uu.se> - - * elf32-m68k.c (elf_m68k_check_relocs) <R_68K_8, R68K_16, R_68K_32>: For - non-SEC_ALLOC sections break before GOT and PLT accounting. - -2011-12-01 Hans-Peter Nilsson <hp@axis.com> - - * elf32-cris.c (cris_elf_check_relocs) <plt accounting for - R_CRIS_8, R_CRIS_16, and R_CRIS_32>: Move early break for - non-SEC_ALLOC sections before GOT and PLT accounting. - -2011-11-29 Andrew Pinski <apinski@cavium.com> - - * archures.c (bfd_mach_mips_octeonp): New macro. - * bfd-in2.h: Regenerate. - * bfd/cpu-mips.c (I_mipsocteonp): New enum value. - (arch_info_struct): Add bfd_mach_mips_octeonp. - * elfxx-mips.c (mips_set_isa_flags): Add bfd_mach_mips_octeonp. - (mips_mach_extensions): Add bfd_mach_mips_octeonp. - -2011-11-23 Tristan Gingold <gingold@adacore.com> - - * vms-lib.c (get_idxlen): Add comments. Fix type in sizeof. - (vms_write_index): Add comments. - -2011-11-22 DJ Delorie <dj@redhat.com> - - * elf32-rx.c (rx_elf_object_p): Add more checks for "scanning" to - avoid using the special non-swapping target when not explicitly - requested. - -2011-11-22 Daniel Calcoen <Daniel.Calcoen@cern.ch> - - * elf32-rx.c (rx_elf_object_p): Correct typo: lma->vma. - -2011-11-22 Tristan Gingold <gingold@adacore.com> - - * mach-o.c (bfd_mach_o_print_symbol): Display COM for common - symbols. Print section name in brackets. - -2011-11-21 Andreas Tobler <andreast@fgznet.ch> - - * config.bfd: Add vectors for powerpc and powerpc64-freebsd. - * configure.in (TDEFINES): Add rules for powerpc*-freebsd. - * configure: Regenerate. - * elf32-ppc.c: Add powerpc-freebsd definitions. - * elf64-ppc.c: Add powerpc64-freebsd definitions. - * targets.c: Add bits for powerpc and powerpc64-freebsd. - -2011-11-17 Philipp Thomas <philipp@thogro.org> - - * elf32-arm.c (elf32_thumb_to_arm_stub): Sync message so that it - needs to be translated only once. - -2011-11-16 Maciej W. Rozycki <macro@codesourcery.com> - - * elf64-mips.c (mips_elf64_howto_table_rela): Set src_mask to - zero throughout. - (mips16_elf64_howto_table_rela): Likewise. - (micromips_elf64_howto_table_rela): Likewise. - * elfn32-mips.c (elf_mips_howto_table_rela): Likewise. - (elf_mips16_howto_table_rela): Likewise. - (elf_micromips_howto_table_rela): Likewise. - -2011-11-15 Alan Modra <amodra@gmail.com> - Andreas Tobler <andreast@fgznet.ch> - - * elflink.c (_bfd_elf_create_got_section): Replace - bfd_make_section_with_flags with bfd_make_section_anyway_with_flags. - (_bfd_elf_link_create_dynamic_sections): Likewise. - * elf32-ppc.c (ppc_elf_create_glink): Likewise. - (ppc_elf_create_dynamic_sections): Likewise. - -2011-11-14 Maxim Kuvyrkov <maxim@codesourcery.com> - - * elfxx-mips.c (mips_n64_exec_plt0_entry): Use 64-bit move. - -2011-11-08 Nick Clifton <nickc@redhat.com> - - * elf-m10300.c (mn10300_elf_relax_section): Fix check for an - immediate move into an address register. - -2011-11-09 Alan Modra <amodra@gmail.com> - - * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Mark syms in - executables when export_dynamic. - -2011-11-08 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c (struct ppc64_elf_obj_tdata): Rename - ha_relocs_not_using_r2 to unexpected_toc_insn. - (ok_lo_toc_insn): New function. - (ppc64_elf_edit_toc): Check insn on lo toc reloc. Emit warning. - (ppc64_elf_relocate_section): Don't check insn on lo toc reloc here. - Handle addic on lo toc reloc. - -2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - PR ld/13387 - * elf32-hppa.c (elf32_hppa_hide_symbol): Make STT_GNU_IFUNC symbol - go through PLT. Reset plt field with init_plt_offset. - (elf32_hppa_adjust_dynamic_symbol): Ensure that a PLT slot is - allocated for symbols referenced by a plabel. - -2011-11-02 DJ Delorie <dj@redhat.com> - - * elf32-rl78.c (rl78_elf_merge_private_bfd_data): Delete unused - variable. - -2011-11-02 Jan Beulich <jbeulich@suse.com> - - * coffgen.c (coff_write_alien_symbol): Make public. Add 'struct - internal_syment *' parameter. Extend 'dummy' to an array with two - elements. Set n_numaux early. Handle BSF_FILE. - (coff_write_symbols): Pass NULL as new third argument to - coff_write_alien_symbol(). - * cofflink.c (_bfd_coff_final_link): Don't use COFF-specific - obj_raw_syment_count() on non-COFF input BFD. Insert local symbols - from non-COFF input BFDs. - * libcoff-in.h (coff_write_alien_symbol): Declare. - * libcoff.h (coff_write_alien_symbol): Re-generate. - -2011-11-01 DJ Delorie <dj@redhat.com> - - * Makefile.am (ALL_MACHINES): Add cpu-rl78.lo. - (ALL_MACHINES_CFILES): Add cpu-rl78.c. - (BFD32_BACKENDS): Add elf32-rl78.lo. - (BFD32_BACKENDS_CFILES): Add elf32-rl78.c. - (Makefile.in): Regenerate. - * archures.c (bfd_architecture): Define bfd_arch_rl78. - (bfd_archures_list): Add bfd_rl78_arch. - * config.bfd: Add rl78-*-elf. - * configure.in: Add bfd_elf32_rl78_vec. - * reloc.c (bfd_reloc_code_type): Add BFD_RELOC_RL78_* relocations. - * targets.c (bfd_target_vector): Add bfd_elf32_rl78_vec. - * Makefile.in: Regenerate. - * bfd-in2.h: Regenerate. - * configure: Regenerate. - * libbfd.h: Regenerate. - * cpu-rl78.c: New file. - * elf32-rl78.c: New file. - -2011-10-26 Nick Clifton <nickc@redhat.com> - - PR ld/13049 - * elf64-ppc.c (STUB_SUFFIX): Revert previous delta. - * elf32-hppa.c (STUB_SUFFIX): Likewise. - -2011-10-25 Joern Rennecke <joern.rennecke@embecosm.com> - - * Makefile.am (ALL_MACHINES): Add cpu-epiphany.lo. - (ALL_MACHINES_CFILES): Add cpu-epiphany.c. - (BFD32_BACKENDS): Add elf32-epiphany.lo. - (BFD32_BACKENDS_CFILES): Add elf32-epiphany.c. - * archures.c (bfd_arch_epiphany): Add. - (bfd_mach_epiphany16, bfd_mach_epiphany32): Define. - (bfd_epiphany_arch): Declare. - (bfd_archures_list): Add &bfd_epiphany_arch. - * config.bfd (epiphany-*-elf): New target case. - * configure.in (bfd_elf32_epiphany_vec): New target vector case. - * reloc.c (BFD_RELOC_EPIPHANY_SIMM8): New relocation. - (BFD_RELOC_EPIPHANY_SIMM24, BFD_RELOC_EPIPHANY_HIGH): Likewise. - (BFD_RELOC_EPIPHANY_LOW, BFD_RELOC_EPIPHANY_SIMM11): Likewise. - (BFD_RELOC_EPIPHANY_IMM11, BFD_RELOC_EPIPHANY_IMM8): Likewise. - * targets.c (bfd_elf32_epiphany_vec): Declare. - (_bfd_target_vector): Add bfd_elf32_epiphany_vec. - * Makefile.in: Regenerate. - * bfd-in2.h: Regenerate. - * configure: Regenerate. - * libbfd.h: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - * po/bfd.pot: Regenerate. - * cpu-epiphany.c: New file. - * elf32-epiphany.c: New file. - -2011-10-24 Maciej W. Rozycki <macro@codesourcery.com> - - * elfxx-mips.c (_bfd_mips_elf_symbol_processing): Remove - assertions. - -2011-10-24 Eugeniy Meshcheryakov <eugen@debian.org> - - PR ld/13273 - * elf32-arm.c (elf32_arm_merge_eabi_attributes): Do not warn about - identical TAG_PCS_config attributes. - -2011-10-24 Nick Clifton <nickc@redhat.com> - - * po/ja.po: Updated Japanese translation. - -2011-10-24 Pau Garcia i Quiles <pgquiles@elpauer.org> - - PR binutils/13292 - * bfd-in.h: Include <sys/stat.h> rather than forward defining - struct stat. - * bfd-in2.h: Regenerate. - -2011-10-21 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/13302 - * elf32-i386.c (elf_i386_relocate_section): Replace - R_386_IRELATIVE with R_386_RELATIVE. - - * elf64-x86-64.c (elf_x86_64_relocate_section): Replace - R_X86_64_IRELATIVE with R_X86_64_RELATIVE. - -2011-10-21 H.J. Lu <hongjiu.lu@intel.com>. - - * elf32-i386.c (elf_i386_relocate_section): Fix a typo in - comments. - * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise. - -2011-10-21 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/13302 - * elf32-i386.c (elf_i386_link_hash_table): Add next_jump_slot_index - and next_irelative_index. - (elf_i386_link_hash_table_create): Initialize next_jump_slot_index - and next_irelative_index. - (elf_i386_allocate_dynrelocs): Increment reloc_count instead of - next_tls_desc_index. - (elf_i386_size_dynamic_sections): Set next_tls_desc_index and - next_irelative_index from reloc_count. - (elf_i386_finish_dynamic_symbol): Put R_386_IRELATIVE after - R_386_JUMP_SLOT. - - * elf64-x86-64.c (elf_x86_64_link_hash_table): Add - next_jump_slot_index and next_irelative_index. - (elf_x86_64_link_hash_table_create): Initialize - next_jump_slot_index and next_irelative_index. - (elf_x86_64_size_dynamic_sections): Set next_irelative_index - from reloc_count. - (elf_x86_64_finish_dynamic_symbol): Put R_X86_64_IRELATIVE after - R_X86_64_JUMP_SLOT. - -2011-10-20 Nick Clifton <nickc@redhat.com> - - PR ld/13049 - * elf32-arm.c (STUB_SUFFIX): Avoid collision with user namespace - symbol names. - * elf64-ppc.c (STUB_SUFFIX): Likewise. - * elf32-hppa.c (STUB_SUFFIX): Likewise. - -2011-10-20 Alan Modra <amodra@gmail.com> - - * elf32-i386.c (i386_opcode16): Delete. - (elf_i386_check_tls_transition): Use memcmp to compare contents. - * elf64-x86-64.c (x86_64_opcode16, x86_64_opcode32): Delete. - (elf_x86_64_check_tls_transition): Use memcmp to compare contents. - -2011-10-19 Alan Modra <amodra@gmail.com> - - PR ld/13177 - * elflink.c (_bfd_elf_gc_mark_rsec): Set symbol "mark". - (elf_gc_sweep_symbol): Don't test plt/got refcounts, instead test - "mark". Hide undefweak too. Clear def_regular and ref_regular. - * elf-m10300.c (mn10300_elf_relocate_section): Ignore unresolved - reloc errors from garbage-collected code. - * elf32-arm.c (elf32_arm_relocate_section): Likewise. - * elf32-bfin.c (bfin_relocate_section): Likewise. - (bfinfdpic_relocate_section): Likewise. - * elf32-cris.c (cris_elf_relocate_section): Likewise. - * elf32-frv.c (elf32_frv_relocate_section): Likewise. - * elf32-i386.c (elf_i386_relocate_section): Likewise. - * elf32-m32r.c (m32r_elf_relocate_section): Likewise. - * elf32-m68k.c (elf_m68k_relocate_section): Likewise. - * elf32-ppc.c (ppc_elf_relocate_section): Likewise. - * elf32-s390.c (elf_s390_relocate_section): Likewise. - * elf32-sh.c (sh_elf_relocate_section): Likewise. - * elf32-spu.c (spu_elf_relocate_section): Likewise. - * elf32-tilepro.c (tilepro_elf_relocate_section): Likewise. - * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise. - * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. - * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. - * elf64-s390.c (elf_s390_relocate_section): Likewise. - * elf64-sh64.c (sh_elf64_relocate_section): Likewise. - * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise. - * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise. - * elfxx-tilegx.c (tilegx_elf_relocate_section): Likewise. - -2011-10-19 Alan Modra <amodra@gmail.com> - - PR ld/13311 - * elflink.c (elf_link_output_extsym): Correct test for warning when - forced local executable syms are referenced from shared libraries. - -2011-10-19 Alan Modra <amodra@gmail.com> - - PR ld/13254 - * elflink.c (bfd_elf_final_link): Emit error_textrel error. - -2011-10-18 David S. Miller <davem@davemloft.net> - - PR binutils/13301 - * elfxx-sparc.c (sparc_elf_find_reloc_at_ofs): New function. - (_bfd_sparc_elf_relocate_section): Always move the __tls_get_addr - call delay slot instruction forward 4 bytes when performing - relaxation. - -2011-10-17 Alan Modra <amodra@gmail.com> - - PR ld/12975 - PR ld/13195 - * elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Apply 2011-09-15 - and 2011-09-29 bfd_elf_gc_mark_dynamic_ref_symbol changes here too. - -2011-10-14 Hans-Peter Nilsson <hp@axis.com> - - * elf32-cris.c (cris_elf_gc_sweep_hook) <R_CRIS_16_GOTPLT> - <R_CRIS_32_GOTPLT>: Fix missing update of gotplt refcount for - global symbols. - <R_CRIS_8, R_CRIS_16, R_CRIS_32>: New cases for similar missing - updates of the plt refcount. - (elf_cris_adjust_gotplt_to_got): Assert integrity of the gotplt - refcount in relation to the plt refcount. - -2011-10-13 Richard Sandiford <richard.sandiford@linaro.org> - - * elf32-arm.c (elf32_arm_final_link_relocate): Mark PLT calls via - stubs as resolved. - -2011-10-11 Alan Modra <amodra@gmail.com> - - PR binutils/13278 - * archive.c (bfd_generic_archive_p): Only check first element - when target_defaulted. - (_bfd_construct_extended_name_table): Use ar_maxnamelen. - (_bfd_archive_bsd44_construct_extended_name_table): Likewise. - -2011-10-11 Alan Modra <amodra@gmail.com> - - PR binutils/13257 - * archive.c (_bfd_find_nested_archive, _bfd_get_elt_at_filepos): Open - thin archive element using container target if not defaulted. - -2011-10-10 Nick Clifton <nickc@redhat.com> - - * po/es.po: Updated Spanish translation. - * po/fi.po: Updated Finnish translation. - * po/fr.po: Updated French translation. - * po/ru.po: Updated Russian translation. - -2011-10-10 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c (ppc64_elf_howto_table): Add R_PPC64_TOCSAVE entry. - (struct ppc_link_hash_table): Add tocsave_htab. - (struct tocsave_entry): New. - (tocsave_htab_hash, tocsave_htab_eq, tocsave_find): New functions. - (ppc64_elf_link_hash_table_create): Create tocsave_htab.. - (ppc64_elf_link_hash_table_free): ..and delete it. - (build_plt_stub): Always put STD_R2_40R1 first. - (ppc64_elf_size_stubs): Check for R_PPC64_TOCSAVE following reloc - on plt call. If present add prologue nop location to tocsave_htab. - (ppc64_elf_relocate_section): Convert prologue nop to std. Skip - first insn of plt call stub when R_PPC64_TOCSAVE present. - -2011-10-08 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/13250 - * elflink.c (elf_link_add_object_symbols): Preserve the maximum - alignment and size for common symbols. - -2011-10-08 Alan Modra <amodra@gmail.com> - - PR ld/13229 - PR ld/13244 - * elflink.c (elf_link_add_object_symbols): Don't make IR symbols - dynamic. - -2011-10-08 Alan Modra <amodra@gmail.com> - - PR ld/13229 - * elflink.c (elf_link_output_extsym): Strip defined plugin symbols - even when strip_discarded is false. - -2011-10-05 Kai Tietz <ktietz@redhat.com> - - * coffgen.c (coff_write_alien_symbol): Don't write - symbol for discarded sections, if strip_discarded isn't - explicit set to false. - (coff_write_native_symbol): Likewise. - -2011-10-05 DJ Delorie <dj@redhat.com> - Nick Clifton <nickc@redhat.com> - - * elf32-rx.c: Add support for PID mode. - (rx_elf_relocate_section): Add checks for unsafe PID relocations. - Include addend in R_RX_SYM relocations. - -2011-09-30 Tristan Gingold <gingold@adacore.com> - - * dwarf2.c (struct dwarf2_debug): Add field debug_sections. - (read_section): Add sec argument. Adjust the code to get section - names from it. - (read_indirect_string): Adjust call to read_section. - (read_abbrevs): Ditto. - (decode_line_info): Ditto. - (read_debug_ranges): Ditto. - (DWARF2_DEBUG_INFO, DWARF2_COMPRESSED_DEBUG_INFO): Remove. - (find_debug_info): Add debug_sections parameter. Use it instead - the above macros. - (place_sections): Get section names from stash. - (find_line): Add debug_sections argument. Initialize - debug_sections field of stash from it. - Adjust calls to find_debug_info. - (_bfd_dwarf2_find_nearest_line): Add debug_sections argument. - Adjust call to find_line. - (_bfd_dwarf2_find_line): Adjust call to find_line. - * libcoff-in.h (struct dwarf_debug_section): New declaration. - (coff_find_nearest_line_with_names): Likewise. - * libcoff.h: Regenerate. - * libbfd-in.h (struct dwarf_debug_section): Move declaration. - (dwarf_debug_sections): Likewise. - (_bfd_dwarf2_find_nearest_line): Add debug_sections argument. - * libbfd.h: Regenerate. - * elf.c (_bfd_elf_find_nearest_line): Adjust call to - _bfd_dwarf2_find_nearest_line. - * elfxx-mips.c (_bfd_mips_elf_find_nearest_line): Ditto. - * elf64-alpha.c (elf64_alpha_find_nearest_line): Ditto. - * elf32-arm.c (elf32_arm_find_nearest_line): Ditto. - * coffgen.c (coff_find_nearest_line_with_names): New function. - (coff_find_nearest_line): Calls coff_find_nearest_line_with_names. - * coff-rs6000.c (xcoff_debug_sections): New constant. - (xcoff_find_nearest_line): New function. - (rs6000coff_vec): Use xcoff_find_nearest_line. - (pmac_xcoff_vec): Ditto. - -2011-09-30 Alan Modra <amodra@gmail.com> - - PR ld/13235 - * elf64-ppc.c (struct ppc64_elf_obj_tdata): Add ha_relocs_not_using_r2. - (ppc64_elf_edit_toc): Check HA relocs. - (ha_reloc_match): Delete function. - (ppc64_elf_relocate_section): Remove delayed HA nop optimization. - Instead do it and low part optimization based on - ha_relocs_not_using_r2. - -2011-09-29 Alan Modra <amodra@gmail.com> - - PR ld/13233 - * elflink.c (_bfd_elf_gc_mark_extra_sections): Mark single member - debug and special section groups. - -2011-09-29 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/13195 - * elflink.c (_bfd_elf_merge_symbol): Don't set dynamic_def when - clearing def_dynamic. - (elf_link_add_object_symbols): Likewise. Set dynamic_def when - setting def_dynamic. - (bfd_elf_gc_mark_dynamic_ref_symbol): Check if a symbol is - versioned. - -2011-09-27 Kai Tietz <ktietz@redhat.com> - - * coffcode.h (sec_to_styp_flags): Handle - SEC_LINK_DUPLICATES_SAME_CONTENTS, and - SEC_LINK_DUPLICATES_SAME_SIZE. - -2011-09-22 Tristan Gingold <gingold@adacore.com> - - * configure.in: Bump version to 2.22.51 - * configure: Regenerate. - -2011-09-21 David S. Miller <davem@davemloft.net> - - * elfxx-sparc.c (_bfd_sparc_elf_merge_private_bfd_data): New. - * elfxx-sparc.h: Declare it. - * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Call it. - * elf64-sparc.c (elf64_sparc_merge_private_bfd_data): Likewise. - -2011-09-21 Tristan Gingold <gingold@adacore.com> - - * mach-o.c (bfd_mach_o_convert_section_name_to_bfd): Add comment. - Deals with size limited strings. - (bfd_mach_o_build_commands): Initialize more fields. - -2011-09-15 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/13177 - * elflink.c (elf_gc_sweep_symbol): Also hide symbols without PLT - nor GOT references. - -2011-09-15 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12975 - * bfd-in.h (bfd_elf_size_dynamic_sections): Remove pointer - to struct bfd_elf_version_tree. - - * elflink.c (elf_info_failed): Remove verdefs. - (_bfd_elf_export_symbol): Updated. - _bfd_elf_link_assign_sym_version): Likewise. - (bfd_elf_size_dynamic_sections): Remove pointer to struct - bfd_elf_version_tree. Updated. - (bfd_elf_gc_mark_dynamic_ref_symbol): Check if a symbol is hidden - by linker script. - - * linker.c (bfd_hide_sym_by_version): New. - - * bfd-in2.h: Regenerated. - -2011-09-12 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/13178 - * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Use .got.plt - if there are no GOT relocations. - -2011-09-09 Kai Tietz <ktietz@redhat.com> - - * peicode.h (pe_ILF_build_a_bfd): Don't remove leading underscore - for targets without symbol_leading_char. - -2011-09-08 Bernd Jendrissek <bernd.jendrissek@gmail.com> - - * bfdwin.c (bfd_get_file_window): Fix memory leak. - -2011-09-07 Alan Modra <amodra@gmail.com> - - PR ld/13131 - * bfd/elf64-ppc.c (adjust_toc_syms): Ensure ppc64_elf_howto_table - is initialized. - -2011-09-06 Alan Modra <amodra@gmail.com> - - PR ld/13131 - * elf64-ppc.c (adjust_toc_syms): Delete redundant code. - (ppc64_elf_edit_toc): Fix style nit. Report some details - on linker failure due to reference in debug or non-alloc - sections to optimized away toc entry, and don't abort. - -2011-09-01 Christophe Lyon <christophe.lyon@st.com> - - * elf32-arm.c (elf32_arm_output_arch_local_syms): Skip excluded - sections. - -2011-08-26 Nick Clifton <nickc@redhat.com> - - * po/es.po: Updated Spanish translation. - -2011-08-19 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c (ppc64_elf_edit_toc): Ignore can_optimize bit if - we haven't seen expected -mcmodel=medium/large code relocs. - -2011-08-18 Tristan Gingold <gingold@adacore.com> - - * mach-o.c (bfd_mach_o_read_segment): Initialize list. - -2011-08-17 Tristan Gingold <gingold@adacore.com> - - * mach-o.c (bfd_mach_o_write_section_32): Fix typo. - -2011-08-17 Alan Modra <amodra@gmail.com> - - PR ld/12762 - * bfd-in.h (struct bfd_section_already_linked): Forward declare. - (_bfd_handle_already_linked): Declare. - * coff-alpha.c (_bfd_ecoff_section_already_linked): Define as - _bfd_coff_section_already_linked. - * coff-mips.c (_bfd_ecoff_section_already_linked): Likewise. - * coffcode.h (coff_section_already_linked): Likewise. - * cofflink.c (coff_link_add_symbols): Revert 2011-07-09 changes. - * elf-bfd.h: Likewise. - * libbfd-in.h: Likewise. - * targets.c: Likewise. - * linker.c (bfd_section_already_linked): Likewise. - (bfd_section_already_linked_table_lookup): Likewise. - (bfd_section_already_linked_table_insert): Likewise. - (_bfd_generic_section_already_linked): Likewise. Call - _bfd_handle_already_linked. - (_bfd_handle_already_linked): New function, split out from.. - * elflink.c (_bfd_elf_section_already_linked): ..here. Revert - 2011-07-09 changes. Avoid unnecessary strcmp when matching - already_linked_list entries. Match plugin linkonce section. - (section_signature): Delete. - * coffgen.c (_bfd_coff_section_already_linked): New function. - * libcoff-in.h (_bfd_coff_section_already_linked): Declare. - * libbfd.h: Regenerate. - * libcoff.h: Regenerate. - * bfd-in2.h: Regenerate. - -2011-08-14 Alan Modra <amodra@gmail.com> - - * elf32-ppc.c (ppc_elf_select_plt_layout): Force bss-plt when - shared and call to _mcount will go via plt. - -2011-08-14 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c: Prefix all einfo error strings with "%P: ". - * elf32-ppc.c: Likewise. - (ppc_elf_select_plt_layout): Use einfo rather than info to report - forced bss-plt. - -2011-08-12 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/13082 - * elf64-x86-64.c (x86_64_elf_howto_table): Add R_X86_64_RELATIVE64. - (elf_x86_64_relocate_section): Treat R_X86_64_64 like R_X86_64_32 - and zero-extend it to 64bit if addend is zero for x32. Generate - R_X86_64_RELATIVE64 for x32. - -2011-08-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * bfd-in.h (bfd_elf32_arm_set_target_relocs): Update prototype. - * bfd-in2.h (bfd_elf32_arm_set_target_relocs): Likewise. - * elf32-arm.c (elf32_arm_link_hash_table): New field. - (elf232_arm_link_hash_table_create): Initialise new field. - (check_use_blx): Change test depending on fix_arm1176. - (bfd_elf32_arm_set_target_relocs): Set fix_arm1176 from - command line options. - -2011-08-08 Tristan Gingold <gingold@adacore.com> - - * mach-o.c (struct mach_o_segment_name_xlat): Add comments. - (segsec_names_xlat): Reorder elements. - (bfd_mach_o_read_section_32): Fix typo. - (bfd_mach_o_read_section_64): Fix typo. - -2011-08-08 Tristan Gingold <gingold@adacore.com> - - * mach-o.h (BFD_MACH_O_SEGNAME_SIZE): New macro. - (BFD_MACH_O_SECTNAME_SIZE): Ditto. - (bfd_mach_o_section): Use them. Add next field. - (bfd_mach_o_segment_command): Replace sections array by - sect_head and sect_tail. - (bfd_mach_o_get_mach_o_section): New macro. - (bfd_mach_o_lookup_section): Remove. - (bfd_mach_o_new_section_hook): New function. - * mach-o.c (bfd_mach_o_normalize_section_name): Use strncmp - instead of strcmp. - (bfd_mach_o_convert_section_name_to_bfd): Replaces section - parameter with segname and sectname parameters. Adjust. - (bfd_mach_o_append_section_to_segment): New function. Use a - linked list for Mach-O sections. - (bfd_mach_o_write_segment_32): Adjust. - (bfd_mach_o_write_segment_64): Ditto. - (bfd_mach_o_build_commands): Fix comment. Adjust. - (bfd_mach_o_flatten_sections): Adjust. - (bfd_mach_o_print_section_map): Adjust. - (bfd_mach_o_set_section_flags_from_bfd): Ditto. - (bfd_mach_o_new_section_hook): New function. - (bfd_mach_o_init_section_from_mach_o): Ditto. - (bfd_mach_o_read_section_32): Remove section parameter. - Return a section instead. - (bfd_mach_o_read_section_64): Ditto. - (bfd_mach_o_read_section): Ditto. - (bfd_mach_o_make_bfd_section): Adjust. - (bfd_mach_o_read_segment): Adjust for new profile of - bfd_mach_o_read_section. - (bfd_mach_o_lookup_section): Remove. - * mach-o-target.c (bfd_mach_o_new_section_hook): Remove. - -2011-08-08 Tristan Gingold <gingold@adacore.com> - - * mach-o.h (bfd_mach_o_version_min_command): New structure. - (bfd_mach_o_load_command): Add version_min. - (mach_o_data_struct): Fix comment. - * mach-o.c (bfd_mach_o_read_version_min): New function. - (bfd_mach_o_read_command): Handle BFD_MACH_O_LC_FUNCTION_STARTS, - BFD_MACH_O_LC_VERSION_MIN_MACOSX and - BFD_MACH_O_LC_VERSION_MIN_IPHONEOS. - (bfd_mach_o_get_name_or_null): New function. - (bfd_mach_o_get_name): Use the above new one. - (bfd_mach_o_load_command_name): Add the above new commands. - (bfd_mach_o_bfd_print_private_bfd_data): Display numerically - unknown commands. Handle BFD_MACH_O_LC_FUNCTION_STARTS, - BFD_MACH_O_LC_VERSION_MIN_MACOSX and - BFD_MACH_O_LC_VERSION_MIN_IPHONEOS. - -2011-08-08 Tristan Gingold <gingold@adacore.com> - - * mach-o.h: Move size macros to external.h - Move reloc macros to reloc.h and x86-64.h. - * mach-o-i386.c: Includes mach-o/reloc.h - * mach-o-x86-64.c: Ditto and includes mach-o/x86-64.h - * mach-o.c: Add includes. - (bfd_mach_o_write_header): Use structure from external.h to convert. - (bfd_mach_o_write_thread): Ditto. - (bfd_mach_o_write_relocs): Ditto. - (bfd_mach_o_write_section_32): Ditto. - (bfd_mach_o_write_section_64): Ditto. - (bfd_mach_o_write_segment_32): Ditto. - (bfd_mach_o_write_segment_64): Ditto. - (bfd_mach_o_write_symtab): Ditto. - (bfd_mach_o_write_contents): Ditto. - (bfd_mach_o_read_header): Ditto. - (bfd_mach_o_read_section_32): Ditto. - (bfd_mach_o_read_section_64): Ditto. - (bfd_mach_o_read_symtab_symbol): Ditto. - (bfd_mach_o_read_dylinker): Ditto. - (bfd_mach_o_read_dylib): Ditto. - (bfd_mach_o_read_dysymtab): Ditto. - (bfd_mach_o_read_symtab): Ditto. - (bfd_mach_o_read_linkedit): Ditto. - (bfd_mach_o_read_str): Ditto. - (bfd_mach_o_read_dyld_info): Ditto. - (bfd_mach_o_read_segment): Ditto. - (bfd_mach_o_read_command): Ditto. - (bfd_mach_o_archive_p): Ditto. - (bfd_mach_o_canonicalize_one_reloc): Ditto. Change the BUF parameter. - (bfd_mach_o_canonicalize_relocs): Adjust to call the above function. - (bfd_mach_o_read_dysymtab_symbol): Rename BUF variable. - (bfd_mach_o_read_uuid): Remove useless cast. Use a macro instead - of an hard-coded value. - -2011-08-08 Tristan Gingold <gingold@adacore.com> - - * mach-o-x86-64.c (bfd_mach_o_x86_64_mkobject): Fix cut-and-past typos. - (bfd_mach_o_x86_64_swap_reloc_out): Handle BFD_RELOC_32_PCREL, - BFD_RELOC_MACH_O_X86_64_SUBTRACTOR64 and - BFD_RELOC_MACH_O_X86_64_GOT_LOAD. Share common code. - -2011-08-08 Tristan Gingold <gingold@adacore.com> - - * mach-o.c (bfd_mach_o_normalize_section_name): New function. - (bfd_mach_o_convert_section_name_to_bfd): Use it. - (bfd_mach_o_get_section_type_from_name): New function. - (bfd_mach_o_get_section_attribute_from_name): Ditto. - * mach-o.h (bfd_mach_o_section): Move bfdsection field at the end. - Add comments. Add prototypes for the above new functions. - -2011-08-05 Mark Kettenis <kettenis@gnu.org> - - * netbsd-core.c (netbsd_core_vec): Init match_priority field. - -2011-08-05 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c (maybe_strip_output): New function. - (ppc64_elf_size_stubs): Use it to strip .branch_lt and .eh_frame. - -2011-08-05 Alan Modra <amodra@gmail.com> - - PR ld/12762 - * elflink.c (_bfd_elf_section_already_linked): Return matched - status. Remove COFF comdat section handling. - * linker.c (_bfd_generic_section_already_linked): Return matched - status. Don't set SEC_GROUP in l_flags for plugin entries. - (bfd_section_already_linked): Update prototype. - * targets.c (_section_already_linked): Likewise. - * elf-bfd.h (_bfd_elf_section_already_linked): Likewise. - * libbfd-in.h (_bfd_generic_section_already_linked): Likewise. - (_bfd_nolink_section_already_linked): Update. - * libbfd.h: Regenerate. - * bfd-in2.h: Regenerate. - -2011-08-05 Alan Modra <amodra@gmail.com> - - * elf32-ppc.c: Include dwarf2.h. - (struct ppc_elf_link_hash_table): Add glink_eh_frame. - (ppc_elf_create_glink): Create .eh_frame section. - (glink_eh_frame_cie): New array. - (ppc_elf_size_dynamic_sections): Size glink_eh_frame. - (ppc_elf_finish_dynamic_sections): Write glink_eh_frame. - -2011-08-04 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c (_bfd_vms_write_eeom): Round vms_linkage_index. - (_bfd_vms_write_etir): Initialize vms_linkage_index to 0. - -2011-08-03 Tristan Gingold <gingold@adacore.com> - - * mach-o.c (bfd_mach_o_canonicalize_symtab): Handle no symbols case. - (bfd_mach_o_read_symtab_symbols): Return if no symbols. - -2011-08-02 Maciej W. Rozycki <macro@codesourcery.com> - - * elfxx-mips.c (check_4byte_branch): Remove function. - (check_relocated_bzc): New function. - (_bfd_mips_elf_relax_section): Permit the relaxation of LUI - instructions that immediately follow a compact branch - instruction. - -2011-08-02 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c (build_plt_stub): Correct emitted relocs when no - plt_static_chain. - (ppc_build_one_stub): Adjust get_relocs call to suit.. - (ppc_size_one_stub): ..and reloc sizing. Correct plt size corner case. - -2011-08-01 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/13048 - * archures.c (bfd_mach_i386_intel_syntax): New. - (bfd_mach_i386_i8086): Updated. - (bfd_mach_i386_i386): Likewise. - (bfd_mach_x86_64): Likewise. - (bfd_mach_x64_32): Likewise. - (bfd_mach_i386_i386_intel_syntax): Likewise. - (bfd_mach_x86_64_intel_syntax): Likewise. - (bfd_mach_x64_32_intel_syntax): Likewise. - (bfd_mach_l1om): Likewise. - (bfd_mach_l1om_intel_syntax): Likewise. - (bfd_mach_k1om): Likewise. - (bfd_mach_k1om_intel_syntax): Likewise. - - * bfd-in2.h: Regenerated. - - * cpu-i386.c (bfd_i386_compatible): Check mach instead of - bits_per_address. - (bfd_x64_32_arch_intel_syntax): Set bits_per_address to 64. - (bfd_x64_32_arch): Likewise. - - * elf64-x86-64.c: Include "libiberty.h". - (x86_64_elf_howto_table): Append x32 R_X86_64_32. - (elf_x86_64_rtype_to_howto): Support x32 R_X86_64_32. - (elf_x86_64_reloc_type_lookup): Likewise. - (elf_x86_64_reloc_name_lookup): Likewise. - (elf_x86_64_relocate_section): Likewise. - (elf_x86_64_check_relocs): Allow R_X86_64_64 relocations for x32. - -2011-07-29 Maciej W. Rozycki <macro@codesourcery.com> - - * elfxx-mips.c (check_br32): Fix return type. - -2011-07-29 Maciej W. Rozycki <macro@codesourcery.com> - - * elfxx-mips.c (bz_insn_16): Correct opcode mask. - -2011-07-29 Maciej W. Rozycki <macro@codesourcery.com> - - * elfxx-mips.c: Adjust comments throughout. - (mips_elf_relax_delete_bytes): Reshape code. - (_bfd_mips_elf_relax_section): Remove check for - R_MICROMIPS_GPREL16 relocations. Reshape code. - -2011-07-28 Roland McGrath <mcgrathr@google.com> - - * elf32-i386.c (NACL_PLT_ENTRY_SIZE, NACLMASK): New macros. - (elf_i386_nacl_plt0_entry): New variable. - (elf_i386_plt_entry): New variable. - (elf_i386_nacl_pic_plt0_entry): New variable. - (elf_i386_nacl_pic_plt_entry): New variable. - (elf_i386_nacl_plt, elf_i386_nacl_arch_bed): New variables. - (elf_backend_arch_data): New macro setting for elf_i386_nacl_vec stanza. - (elf_backend_plt_alignment): Likewise. - - * config.bfd: Handle i[3-7]86-*-nacl*. - * elf32-i386.c (bfd_elf32_i386_nacl_vec): New backend vector stanza. - * targets.c: Support bfd_elf32_i386_nacl_vec. - * configure.in: Likewise. - * configure: Regenerated. - - * elf32-i386.c (struct elf_i386_plt_layout): New type. - (GET_PLT_ENTRY_SIZE): New macro. - (elf_i386_plt): New variable. - (struct elf_i386_backend_data): New member `plt'. - (elf_i386_arch_bed): Add initializer for it. - (elf_i386_vxworks_arch_bed): Likewise. - (elf_i386_allocate_dynrelocs): Use GET_PLT_ENTRY_SIZE. - (elf_i386_plt_sym_val): Likewise. - (elf_i386_relocate_section): Likewise. - (elf_i386_finish_dynamic_symbol): Likewise. - Also use other elf_i386_plt_layout members for PLT details. - (elf_i386_finish_dynamic_sections): Likewise. - - * elf32-i386.c (struct elf_i386_backend_data): New type. - (get_elf_i386_backend_data): New macro. - (elf_i386_arch_bed): New variable. - (elf_backend_arch_data): New macro. - (struct elf_i386_link_hash_table): Remove plt0_pad_byte and is_vxworks. - (elf_i386_link_hash_table_create): Don't initialize them. - (elf_i386_create_dynamic_sections): Find is_vxworks flags in - elf_i386_backend_data, not elf_i386_link_hash_table. - (elf_i386_adjust_dynamic_symbol): Likewise. - (elf_i386_allocate_dynrelocs): Likewise. - (elf_i386_readonly_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. Same for plt0_pad_byte. - (elf_i386_vxworks_link_hash_table_create): Function removed. - (elf_i386_vxworks_arch_bed): New variable. - (elf_backend_arch_data): New macro in elf32-i386-vxworks stanza. - - * elf-bfd.h (elf_backend_data): New member arch_backend_data. - * elfxx-target.h (elf_backend_arch_data): New macro. - (elfNN_bed): Use it as initializer for the new member. - -2011-07-28 Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz> - - * elf64-hppa.c (elf_hppa_final_link_relocate): Fix handling of out - of range branches. - -2011-07-26 Jakub Jelinek <jakub@redhat.com> - - * dwarf2.c (dwarf_debug_sections): Add .debug_macro - and .zdebug_macro entry. - (dwarf_debug_section_enum): Add debug_macro. - -2011-07-26 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c: Include dwarf2.h. - (struct ppc_link_hash_table): Add glink_eh_frame. - (create_linkage_sections): Create .eh_frame section. - (ppc64_elf_size_dynamic_sections): Arrange to drop unneeded - glink_eh_frame. - (glink_eh_frame_cie): New array. - (ppc64_elf_size_stubs): Size glink_eh_frame. - (ppc64_elf_build_stubs): Init glink_eh_frame contents. - (ppc64_elf_finish_dynamic_sections): Write glink_eh_frame. - -2011-07-25 Hans-Peter Nilsson <hp@bitrange.com> - - PR ld/12815 - * elf64-mmix.c (struct _mmix_elf_section_data): New members - has_warned_bpo and has_warned_pushj. - (mmix_final_link_relocate): Remove PARAMS and PTR macros, - converting to ISO C. Add new parameter error_message. All - callers changed. - (mmix_elf_perform_relocation): Ditto. - <case R_MMIX_PUSHJ_STUBBABLE, case R_MMIX_BASE_PLUS_OFFSET>: - Handle the case where mmix_elf_check_common_relocs has not been - called, missing preparations for relocs of the respective type. - -2011-07-24 Chao-ying Fu <fu@mips.com> - Ilie Garbacea <ilie@mips.com> - Maciej W. Rozycki <macro@codesourcery.com> - Joseph Myers <joseph@codesourcery.com> - Catherine Moore <clm@codesourcery.com> - Richard Sandiford <rdsandiford@googlemail.com> - - * archures.c (bfd_mach_mips_micromips): New macro. - * cpu-mips.c (I_micromips): New enum value. - (arch_info_struct): Add bfd_mach_mips_micromips. - * elfxx-mips.h (_bfd_mips_elf_is_target_special_symbol): New - prototype. - (_bfd_mips_elf_relax_section): Likewise. - (_bfd_mips16_elf_reloc_unshuffle): Rename to... - (_bfd_mips_elf_reloc_unshuffle): ... this. Handle microMIPS - ASE. - (_bfd_mips16_elf_reloc_shuffle): Rename to... - (_bfd_mips_elf_reloc_shuffle): ... this. Handle microMIPS ASE. - (gprel16_reloc_p): Handle microMIPS ASE. - (literal_reloc_p): New function. - * elf32-mips.c (elf_micromips_howto_table_rel): New variable. - (_bfd_mips_elf32_gprel16_reloc): Handle microMIPS ASE. - (mips16_gprel_reloc): Update for _bfd_mips_elf_reloc_unshuffle - and _bfd_mips_elf_reloc_shuffle changes. - (mips_elf_gprel32_reloc): Update comment. - (micromips_reloc_map): New variable. - (bfd_elf32_bfd_reloc_type_lookup): Handle microMIPS ASE. - (mips_elf32_rtype_to_howto): Likewise. - (mips_info_to_howto_rel): Likewise. - (bfd_elf32_bfd_is_target_special_symbol): Define. - (bfd_elf32_bfd_relax_section): Likewise. - * elf64-mips.c (micromips_elf64_howto_table_rel): New variable. - (micromips_elf64_howto_table_rela): Likewise. - (mips16_gprel_reloc): Update for _bfd_mips_elf_reloc_unshuffle - and _bfd_mips_elf_reloc_shuffle changes. - (micromips_reloc_map): Likewise. - (bfd_elf64_bfd_reloc_type_lookup): Handle microMIPS ASE. - (bfd_elf64_bfd_reloc_name_lookup): Likewise. - (mips_elf64_rtype_to_howto): Likewise. - (bfd_elf64_bfd_is_target_special_symbol): Define. - * elfn32-mips.c (elf_micromips_howto_table_rel): New variable. - (elf_micromips_howto_table_rela): Likewise. - (mips16_gprel_reloc): Update for _bfd_mips_elf_reloc_unshuffle - and _bfd_mips_elf_reloc_shuffle changes. - (micromips_reloc_map): Likewise. - (bfd_elf32_bfd_reloc_type_lookup): Handle microMIPS ASE. - (bfd_elf32_bfd_reloc_name_lookup): Likewise. - (mips_elf_n32_rtype_to_howto): Likewise. - (bfd_elf32_bfd_is_target_special_symbol): Define. - * elfxx-mips.c (LA25_LUI_MICROMIPS_1): New macro. - (LA25_LUI_MICROMIPS_2): Likewise. - (LA25_J_MICROMIPS_1, LA25_J_MICROMIPS_2): Likewise. - (LA25_ADDIU_MICROMIPS_1, LA25_ADDIU_MICROMIPS_2): Likewise. - (TLS_RELOC_P): Handle microMIPS ASE. - (mips_elf_create_stub_symbol): Adjust value of stub symbol if - target is a microMIPS function. - (micromips_reloc_p): New function. - (micromips_reloc_shuffle_p): Likewise. - (got16_reloc_p, call16_reloc_p): Handle microMIPS ASE. - (got_disp_reloc_p, got_page_reloc_p): New functions. - (got_ofst_reloc_p): Likewise. - (got_hi16_reloc_p, got_lo16_reloc_p): Likewise. - (call_hi16_reloc_p, call_lo16_reloc_p): Likewise. - (hi16_reloc_p, lo16_reloc_p, jal_reloc_p): Handle microMIPS ASE. - (micromips_branch_reloc_p): New function. - (tls_gd_reloc_p, tls_ldm_reloc_p): Likewise. - (tls_gottprel_reloc_p): Likewise. - (_bfd_mips16_elf_reloc_unshuffle): Rename to... - (_bfd_mips_elf_reloc_unshuffle): ... this. Handle microMIPS - ASE. - (_bfd_mips16_elf_reloc_shuffle): Rename to... - (_bfd_mips_elf_reloc_shuffle): ... this. Handle microMIPS ASE. - (_bfd_mips_elf_lo16_reloc): Handle microMIPS ASE. - (mips_tls_got_index, mips_elf_got_page): Likewise. - (mips_elf_create_local_got_entry): Likewise. - (mips_elf_relocation_needs_la25_stub): Likewise. - (mips_elf_calculate_relocation): Likewise. - (mips_elf_perform_relocation): Likewise. - (_bfd_mips_elf_symbol_processing): Likewise. - (_bfd_mips_elf_add_symbol_hook): Likewise. - (_bfd_mips_elf_link_output_symbol_hook): Likewise. - (mips_elf_add_lo16_rel_addend): Likewise. - (_bfd_mips_elf_check_relocs): Likewise. - (mips_elf_adjust_addend): Likewise. - (_bfd_mips_elf_relocate_section): Likewise. - (mips_elf_create_la25_stub): Likewise. - (_bfd_mips_vxworks_finish_dynamic_symbol): Likewise. - (_bfd_mips_elf_gc_sweep_hook): Likewise. - (_bfd_mips_elf_is_target_special_symbol): New function. - (mips_elf_relax_delete_bytes): Likewise. - (opcode_descriptor): New structure. - (RA): New macro. - (OP32_SREG, OP32_TREG, OP16_VALID_REG): Likewise. - (b_insns_32, bc_insn_32, bz_insn_32, bzal_insn_32): New variables. - (beq_insn_32): Likewise. - (b_insn_16, bz_insn_16): New variables. - (BZC32_REG_FIELD): New macro. - (bz_rs_insns_32, bz_rt_insns_32): New variables. - (bzc_insns_32, bz_insns_16):Likewise. - (BZ16_REG, BZ16_REG_FIELD): New macros. - (jal_insn_32_bd16, jal_insn_32_bd32): New variables. - (jal_x_insn_32_bd32): Likewise. - (j_insn_32, jalr_insn_32): Likewise. - (ds_insns_32_bd16, ds_insns_32_bd32): Likewise. - (jalr_insn_16_bd16, jalr_insn_16_bd32, jr_insn_16): Likewise. - (JR16_REG): New macro. - (ds_insns_16_bd16): New variable. - (lui_insn): Likewise. - (addiu_insn, addiupc_insn): Likewise. - (ADDIUPC_REG_FIELD): New macro. - (MOVE32_RD, MOVE32_RS): Likewise. - (MOVE16_RD_FIELD, MOVE16_RS_FIELD): Likewise. - (move_insns_32, move_insns_16): New variables. - (nop_insn_32, nop_insn_16): Likewise. - (MATCH): New macro. - (find_match): New function. - (check_br16_dslot, check_br32_dslot): Likewise. - (check_br16, check_br32): Likewise. - (IS_BITSIZE): New macro. - (check_4byte_branch): New function. - (_bfd_mips_elf_relax_section): Likewise. - (_bfd_mips_elf_merge_private_bfd_data): Disallow linking MIPS16 - and microMIPS modules together. - (_bfd_mips_elf_print_private_bfd_data): Handle microMIPS ASE. - * reloc.c (BFD_RELOC_MICROMIPS_7_PCREL_S1): New relocation. - (BFD_RELOC_MICROMIPS_10_PCREL_S1): Likewise. - (BFD_RELOC_MICROMIPS_16_PCREL_S1): Likewise. - (BFD_RELOC_MICROMIPS_GPREL16): Likewise. - (BFD_RELOC_MICROMIPS_JMP, BFD_RELOC_MICROMIPS_HI16): Likewise. - (BFD_RELOC_MICROMIPS_HI16_S): Likewise. - (BFD_RELOC_MICROMIPS_LO16): Likewise. - (BFD_RELOC_MICROMIPS_LITERAL): Likewise. - (BFD_RELOC_MICROMIPS_GOT16): Likewise. - (BFD_RELOC_MICROMIPS_CALL16): Likewise. - (BFD_RELOC_MICROMIPS_GOT_HI16): Likewise. - (BFD_RELOC_MICROMIPS_GOT_LO16): Likewise. - (BFD_RELOC_MICROMIPS_CALL_HI16): Likewise. - (BFD_RELOC_MICROMIPS_CALL_LO16): Likewise. - (BFD_RELOC_MICROMIPS_SUB): Likewise. - (BFD_RELOC_MICROMIPS_GOT_PAGE): Likewise. - (BFD_RELOC_MICROMIPS_GOT_OFST): Likewise. - (BFD_RELOC_MICROMIPS_GOT_DISP): Likewise. - (BFD_RELOC_MICROMIPS_HIGHEST): Likewise. - (BFD_RELOC_MICROMIPS_HIGHER): Likewise. - (BFD_RELOC_MICROMIPS_SCN_DISP): Likewise. - (BFD_RELOC_MICROMIPS_JALR): Likewise. - (BFD_RELOC_MICROMIPS_TLS_GD): Likewise. - (BFD_RELOC_MICROMIPS_TLS_LDM): Likewise. - (BFD_RELOC_MICROMIPS_TLS_DTPREL_HI16): Likewise. - (BFD_RELOC_MICROMIPS_TLS_DTPREL_LO16): Likewise. - (BFD_RELOC_MICROMIPS_TLS_GOTTPREL): Likewise. - (BFD_RELOC_MICROMIPS_TLS_TPREL_HI16): Likewise. - (BFD_RELOC_MICROMIPS_TLS_TPREL_LO16): Likewise. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - -2011-07-22 H.J. Lu <hongjiu.lu@intel.com> - - * Makefile.am (ALL_MACHINES): Add cpu-k1om.lo. - (ALL_MACHINES_CFILES): Add cpu-k1om.c. - * Makefile.in: Regenerated. - - * archures.c (bfd_architecture): Add bfd_arch_k1om. - (bfd_k1om_arch): New. - (bfd_archures_list): Add &bfd_k1om_arch. - * bfd-in2.h: Regenerated. - - * config.bfd (targ64_selvecs): Add bfd_elf64_k1om_vec if - bfd_elf64_x86_64_vec is supported. Add bfd_elf64_k1om_freebsd_vec - if bfd_elf64_x86_64_freebsd_vec is supported. - (targ_selvecs): Likewise. - - * configure.in: Support bfd_elf64_k1om_vec and - bfd_elf64_k1om_freebsd_vec. - * configure: Regenerated. - - * cpu-k1om.c: New. - - * elf64-x86-64.c (elf64_k1om_elf_object_p): New. - (bfd_elf64_k1om_vec): Likewise. - (bfd_elf64_k1om_freebsd_vec): Likewise. - - * targets.c (bfd_elf64_k1om_vec): New. - (bfd_elf64_k1om_freebsd_vec): Likewise. - (_bfd_target_vector): Add bfd_elf64_k1om_vec and - bfd_elf64_k1om_freebsd_vec. - -2011-07-20 Jan Kratochvil <jan.kratochvil@redhat.com> - - Fix false coff-go32-exe matches. - * coff-i386.c (TARGET_SYM) <_bfd_check_format>: Conditionally use - COFF_CHECK_FORMAT. - * coff-stgo32.c (go32_check_format): New forward declaration. - (COFF_CHECK_FORMAT): New defintion. - (go32_check_format): New function. - -2011-07-15 Alan Modra <amodra@gmail.com> - - * configure.in: Bump version. - * configure: Regenerate. - -2011-07-14 Alan Modra <amodra@gmail.com> - - * linker.c (_bfd_generic_section_already_linked): Set l_flags. - * elf-bfd.h (struct already_linked): Forward declare. - -2011-07-14 Alan Modra <amodra@gmail.com> - - * elflink.c (_bfd_elf_fix_symbol_flags): Loop on indirect syms. - (_bfd_elf_adjust_dynamic_symbol): Remove FIXME. - -2011-07-14 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c (struct ppc_link_hash_table): Add plt_static_chain. - (build_plt_stub): Add plt_static_chain param, don't load r11 if false. - (build_tls_get_addr_stub): Likewise. - (ppc_build_one_stub): Update calls to above. - (ppc_size_one_stub): Adjust stub size. - (ppc64_elf_size_stubs): Add plt_static_chain param, save to htab. - * elf64-ppc.h (ppc64_elf_size_stubs): Update prototype. - -2011-07-12 Nick Clifton <nickc@redhat.com> - - * elf32-arm.c (elf32_arm_section_flags): Delete. - (elf_backend_section_flags): Remove. - -2011-07-11 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12982 - * elflink.c (bfd_elf_size_dynamic_sections): Also skip BFD_PLUGIN - when setting stack_flags. - -2011-07-11 Catherine Moore <clm@codesourcery.com> - - * aout-adobe.c (aout_32_bfd_lookup_section_flags): New definition. - * aout-target.h (MY_bfd_lookup_section_flags): New definition. - * aout-tic30.c (MY_bfd_lookup_section_flags): New definition. - * bfd-in2.h: Regenerated. - * bfd.c (bfd_lookup_section_flags): New definition. - * binary.c (binary_bfd_lookup_section_flags): New definition. - * bout.c (b_out_bfd_lookup_section_flags): New definition. - * coff-alpha.c (_bfd_ecoff_bfd_lookup_section_flags): New definition. - * coff-mips.c (_bfd_ecoff_bfd_lookup_section_flags): New definition. - * coff-rs6000.c (rs6000coff_vec): Include - bfd_generic_lookup_section_flags. - (pmac_xcoff_vec): Likewise. - * coffcode.h (coff_bfd_lookup_section_flags): New definition. - * coff64-rs6000.c (rs6000coff64_vec): Include - bfd_generic_lookup_section_flags. - (aix5coff64_vec): Likewise. - * ecoff.c (bfd_debug_section): Initialize flag_info field. - * elf-bfd.h (elf_backend_lookup_section_flags_hook): Declare. - (bfd_elf_lookup_section_flags): Declare. - * elflink.c (bfd_elf_lookup_section_flags): New function. - * elfxx-target.h (bfd_elfNN_bfd_lookup_section_flags): Define. - (elf_backend_lookup_section_flags_hook): Define. - (elf_backend_data): Add elf_backend_lookup_section_flags_hook. - * i386msdos.c (msdos_bfd_lookup_section_flags): New define. - * i386os9k.c (os9k_bfd_lookup_section_flags): New define. - * ieee.c (ieee_bfd_lookup_section_flags): New define. - * ihex.c (ihex_bfd_lookup_section_flags): New define. - * libbfd-in.h (_bfd_nolink_bfd_lookup_section_flags): Declare. - (bfd_generic_lookup_section_flags): Declare. - * libbfd.h: Regenerated. - * mach-o-target.c (bfd_mach_o_bfd_lookup_section_flags): New. - * mmo.c (mmo_bfd_lookup_section_flags): New definition. - * nlm-target.h (nlm_bfd_lookup_section_flags): New definition. - * oasys.c (oasys_bfd_lookup_section_flags): New definition. - * pef.c (bfd_pef_bfd_lookup_section_flags): New definition. - * plugin.c (bfd_plugin_bfd_lookup_section_flags): New definition. - * ppcboot.c (ppcboot_bfd_lookup_section_flags): New definition. - * reloc.c (bfd_generic_lookup_section_flags): New function. - * som.c (som_bfd_lookup_section_flags): New definition. - * srec.c (srec_bfd_lookup_section_flags): New definition. - * targets.c (flag_info): Declare. - (NAME##_bfd_lookup_section_flags): Add to LINK jump table. - (_bfd_lookup_section_flags): New. - * tekhex.c (tekhex_bfd_lookup_section_flags): New definition. - * versados.c (versados_bfd_lookup_section_flags): New definition. - * vms-alpha.c (alpha_vms_bfd_lookup_section_flag): New definition. - * xsym.c (bfd_sym_bfd_lookup_section_flags): New definition. - -2011-07-11 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12978 - * elfnn-ia64.c (count_dyn_reloc): Fix a typo. - -2011-07-09 Alan Modra <amodra@gmail.com> - - PR ld/12942 - * elflink.c (elf_link_add_object_symbols): Use elf_discarded_section - rather than kept_section to determine whether a symbol is from - a discarded section. - * cofflink.c (coff_link_add_symbols): Make symbols from discarded - sections appear undefined. - -2011-07-09 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12942 - * elf-bfd.h (_bfd_elf_section_already_linked): Replace - "asection *" with "struct already_linked *". - * libbfd-in.h (_bfd_nolink_section_already_linked): Likewise. - (_bfd_generic_section_already_linked): Likewise. - (bfd_section_already_linked_table_insert): Likewise. - (struct already_linked): New. - (struct bfd_section_already_linked): Use it. - * elflink.c (_bfd_elf_section_already_linked): Replace. - "asection *" with "struct already_linked *". Replace the plugin - dummy with the LTO output. - * linker.c (_bfd_generic_section_already_linked): Likewise. - * targets.c (struct already_linked): Add forward declaration. - (bfd_target): Replace "struct bfd_section *" with - "struct already_linked *" in _section_already_linked. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - -2011-07-06 Tristan Gingold <gingold@adacore.com> - - * mach-o.h: Move loader related definitions to - include/mach-o/loader.h. Include it. - -2011-07-05 H.J. Lu <hongjiu.lu@intel.com> - - * elf64-x86-64.c (elf_backend_post_process_headers): Always - define to _bfd_elf_set_osabi. - -2011-07-03 Samuel Thibault <samuel.thibault@gnu.org> - Thomas Schwinge <thomas@schwinge.name> - - PR binutils/12913 - * elf.c (_bfd_elf_set_osabi): Use ELFOSABI_GNU name instead of - ELFOSABI_LINUX alias. - * elf32-hppa.c: Likewise. - * elf32-i370.c: Likewise. - * elf64-hppa.c: Likewise. - -2011-07-01 Ian Lance Taylor <iant@google.com> - - * elf32-i386.c (elf_i386_eh_frame_plt): Correct expression: change - DW_OP_lit3 to DW_OP_lit2. - -2011-07-01 Alan Modra <amodra@gmail.com> - - * elf32-ppc.c (ppc_elf_copy_indirect_symbol): Don't look at - dyn relocs when called to copy flags for a weak sym. - * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise. - (ppc64_elf_merge_private_bfd_data): Delete. - (bfd_elf64_bfd_merge_private_bfd_data): Define as - _bfd_generic_verify_endian_match. - -2011-06-30 Bernd Schmidt <bernds@codesourcery.com> - - * bfd/elf32-tic6x.c (elf32_tic6x_set_osabi): Also set it if - link_info is NULL. - -2011-06-28 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c (vms_private_data_struct): Make vms_linkage_index - unsigned int. - (_bfd_vms_write_etir): Write linkage index from reloc. - -2011-06-28 Fawzi Mohamed <fawzi.mohamed@nokia.com> - - * mach-o.c (bfd_mach_o_read_command): Also ignore - BFD_MACH_O_LC_ROUTINES_64. - -2011-06-27 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c (_bfd_vms_write_etir): Use 'section' to get current - section target index. - -2011-06-27 Nick Clifton <nickc@redhat.com> - - * cisco-core.c (cisco_core_little_vec): Add initialization of - match_priority field. - -2011-06-27 Tristan Gingold <gingold@adacore.com> - - * cache.c: Include bfd_stdint.h. - (cache_bmmap): Change profile. Return region start and size. - * bfdio.c (struct bfd_iovec): Change bmmap profile. - (bfd_mmap): Change profile and adjust. Update comment. - (memory_bmmap): Change profile. - * opncls.c (opncls_bmmap): Change profile. - * vms-lib.c (vms_lib_bmmap): Likewise. - * libbfd.h: Regenerate. - * bfd-in2.h: Regenerate. - -2011-06-27 Tristan Gingold <gingold@adacore.com> - - * vms-misc.c (vms_time_to_time_t): Adjust overflow detection. - Add comment. - -2011-06-25 H.J. Lu <hongjiu.lu@intel.com> - - * elf64-x86-64.c (elf_backend_post_process_headers): Don't - define for FreeBSD/x86-64 nor FreeBSD/L1OM. Define for L1OM. - -2011-06-25 Jan Kratochvil <jan.kratochvil@redhat.com> - - * elf64-x86-64.c (elf_x86_64_link_hash_table_create): Initialize - PLT_EH_FRAME. - * elf32-i386.c (elf_i386_link_hash_table): Likewise. - -2011-06-24 Richard Henderson <rth@redhat.com> - - PR ld/12928 - * elf64-alpha.c (elf64_alpha_relax_tls_get_addr): Recover the - tlsgd insn before swapping adjacent insns. - -2011-06-24 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c (alpha_vms_slurp_relocs): Add a guard for relocs in the - absolute section. - -2011-06-24 Alan Modra <amodra@gmail.com> - - PR ld/12921 - * elf.c (assign_file_positions_for_load_sections): Don't align - sh_offset for all SHT_NOBITS sections here, just .tbss sections - that don't get a PT_LOAD. - -2011-06-22 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * elf32-sh.c (sh_elf_relocate_section): Allow R_SH_TLS_LE_32 for PIE. - (sh_elf_check_relocs): Likewise. - -2011-06-22 Richard Henderson <rth@redhat.com> - - * elf64-alpha.c (elf64_alpha_check_relocs): No dynamic reloc for - TPREL in a PIE image. - (alpha_dynamic_entries_for_reloc): Likewise. - (elf64_alpha_relocate_section): Allow TPREL in PIE images. - (elf64_alpha_relax_got_load): Likewise. - -2011-06-22 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> - - * elf32-arm.c (elf32_arm_final_link_relocate): Allow R_ARM_TLS_LE32 - for PIE. - -2011-06-22 Alan Modra <amodra@gmail.com> - - * elflink.c (_bfd_elf_merge_symbol): Allow type changes for - plugin symbols. Fix segfault on linker scrip defined syms. - -2011-06-20 Jakub Jelinek <jakub@redhat.com> - - PR ld/12570 - * elf-eh-frame.c (_bfd_elf_parse_eh_frame): Allow no relocations - at all for linker created .eh_frame sections. - (_bfd_elf_discard_section_eh_frame): Handle linker created - .eh_frame sections with no relocations. - * elf64-x86-64.c: Include dwarf2.h. - (elf_x86_64_eh_frame_plt): New variable. - (PLT_CIE_LENGTH, PLT_FDE_LENGTH, PLT_FDE_START_OFFSET, - PLT_FDE_LEN_OFFSET): Define. - (struct elf_x86_64_link_hash_table): Add plt_eh_frame field. - (elf_x86_64_create_dynamic_sections): Create and fill in - .eh_frame section for .plt section. - (elf_x86_64_size_dynamic_sections): Write .plt section size - into .eh_frame FDE covering .plt section. - (elf_x86_64_finish_dynamic_sections): Write .plt section - start into .eh_frame FDE covering .plt section. Call - _bfd_elf_write_section_eh_frame on htab->plt_eh_frame section. - (elf_backend_plt_alignment): Define to 4. - * elf32-i386.c: Include dwarf2.h. - (elf_i386_eh_frame_plt): New variable. - (PLT_CIE_LENGTH, PLT_FDE_LENGTH, PLT_FDE_START_OFFSET, - PLT_FDE_LEN_OFFSET): Define. - (struct elf_i386_link_hash_table): Add plt_eh_frame field. - (elf_i386_create_dynamic_sections): Create and fill in - .eh_frame section for .plt section. - (elf_i386_size_dynamic_sections): Write .plt section size - into .eh_frame FDE covering .plt section. - (elf_i386_finish_dynamic_sections): Write .plt section - start into .eh_frame FDE covering .plt section. Call - _bfd_elf_write_section_eh_frame on htab->plt_eh_frame section. - (elf_backend_plt_alignment): Define to 4. - -2011-06-19 H.J. Lu <hongjiu.lu@intel.com> - - * elf64-x86-64.c (elf_backend_post_process_headers): Defined - for x32. - -2011-06-16 H.J. Lu <hongjiu.lu@intel.com> - - * elf64-x86-64.c: Include <stdarg.h> and CORE_HEADER if - CORE_HEADER is defined. - (elf_x86_64_write_core_note): New. - (elf_backend_write_core_note): Likewise. - - * hosts/x86-64linux.h (uint64_t): New. - (user_regsx32_struct): Likewise. - (elf_gregx32_t): Likewise. - (ELF_NGREGX32): Likewise. - (elf_gregsetx32_t): Likewise. - (elf_prstatusx32): Likewise. - (prstatusx32_t): Likewise. - (user_fpregs32_struct): Removed. - (user_fpxregs32_struct): Likewise. - (user32): Likewise. - (elf_fpregset32_t): Likewise. - (elf_fpxregset32_t): Likewise. - (prgregset32_t): Likewise. - (prfpregset32_t): Likewise. - -2011-06-16 H.J. Lu <hongjiu.lu@intel.com> - - * elf64-x86-64.c (elf_x86_64_grok_prstatus): Support x32. - (elf_x86_64_grok_psinfo): Likewise. - -2011-06-16 Nick Clifton <nickc@redhat.com> - - * elf.c (elf_find_function): Fail if not provided with a symbol - table. - -2011-06-15 Ulrich Weigand <ulrich.weigand@linaro.org> - - * elf-bfd.h (elfcore_write_arm_vfp): Add prototype. - * elf.c (elfcore_grok_arm_vfp): New function. - (elfcore_grok_note): Call it to handle NT_ARM_VFP notes. - (elfcore_write_arm_vfp): New function. - (elfcore_write_register_note): Call it to handle .reg-arm-vfp. - -2011-06-14 Richard Henderson <rth@redhat.com> - - * elf64-alpha.c (elf64_alpha_copy_indirect_symbol): Rename from - elf64_alpha_merge_ind_symbols; adjust for the generic interface. - (elf64_alpha_always_size_sections): Don't call - elf64_alpha_merge_ind_symbols. - (elf_backend_copy_indirect_symbol): New. - -2011-06-14 Alan Modra <amodra@gmail.com> - - PR ld/12887 - * elf-eh-frame.c (_bfd_elf_parse_eh_frame): Check sec_info_type - before doing anything. - (_bfd_elf_discard_section_eh_frame): Likewise. - -2011-06-14 Alan Modra <amodra@gmail.com> - - * Makefile.am: Formatting. - * Makefile.in: Regenerate. - * configure.in (bfd_elf64_tilegx_vec): Add elfxx-tilegx.lo. - * po/SRC-POTFILES.in: Regnerate. - -2011-06-14 Alan Modra <amodra@gmail.com> - - * elf32-tilepro.c (tilepro_elf_size_dynamic_sections): Don't use PTR. - (allocate_dynrelocs, readonly_dynrelocs): Replace PTR with void *. - Don't handle warning symbols here. - * elfxx-tilegx.c (tilegx_elf_size_dynamic_sections): As above. - (allocate_dynrelocs, readonly_dynrelocs): As above. - -2011-06-14 Alan Modra <amodra@gmail.com> - - PR ld/12851 - * elflink.c (_bfd_elf_gc_mark_extra_sections): New function. - (elf_gc_sweep): Don't treat debug and sections like .comment - specially here. - (bfd_elf_gc_sections): Treat note sections as gc roots only when - not part of a group. Always call gc_mark_extra_sections. - * elf-bfd.h (_bfd_elf_gc_mark_extra_sections): Declare. - * elfxx-target.h (elf_backend_gc_mark_extra_sections): Default to - _bfd_elf_gc_mark_extra_sections. - * elf32-arm.c (elf32_arm_gc_mark_extra_sections): Call - _bfd_elf_gc_mark_extra_sections. - * elf32-tic6x.c (elf32_tic6x_gc_mark_extra_sections): Likewise. - -2011-06-13 Nick Clifton <nickc@redhat.com> - - * elf32-tilepro.c (tilepro_elf_check_relocs): Delete unused local - variable 'local_got_offsets'. - * elfxx-tilegx.c (tilegx_elf_check_relocs): Likewise. - (tilegx_finish_dyn): Delete unused local variable 'abi_64_p'. - -2011-06-13 Walter Lee <walt@tilera.com> - - * Makefile.am (ALL_MACHINES): Add cpu-tilegx.lo and cpu-tilepro.lo. - (ALL_MACHINE_CFILES): Add cpu-tilegx.c and cpu-tilepro.c. - (BFD32_BACKENDS): Add elf32-tilegx.lo, elf32-tilepro.lo, - and elfxx-tilegx.lo. - (BFD32_BACKENDS_CFILES): Add elf32-tilegx.c elf32-tilepro.c, and - elfxx-tilegx.c. - (BFD64_BACKENDS): Add elf64-tilegx.lo. - (BFD64_BACKENDS_CFILES): Add elf64-tilegx.c. - * Makefile.in: Regenerate. - * arctures.c (bfd_architecture): Define bfd_arch_tilepro, - bfd_arch_tilegx, bfd_mach_tilepro, bfd_mach_tilegx. - (bfd_arch_info): Add bfd_tilegx_arch, bfd_tilepro_arch. - (bfd_archures_list): Add bfd_tilegx_arch, bfd_tilepro_arch. - bfd-in2.h: Regenerate. - * config.bfd: Handle tilegx-*-* and tilepro-*-*. - * configure.in: Handle bfd_elf32_tilegx_vec, bfd_elf32_tilepro_vec, - and bfd_elf64_tilegx_vec. - * configure: Regenerate. - * elf-bfd.h (enum elf_target_id): Define TILEGX_ELF_DATA and - TILEPRO_ELF_DATA. - * libbfd.h: Regenerate. - * reloc.c: Add BFD_RELOC_TILEPRO_{COPY, GLOB_DAT, JMP_SLOT, - RELATIVE, BROFF_X1, JOFFLONG_X1, JOFFLONG_X1_PLT, IMM8_X0, - IMM8_Y0, IMM8_X1, IMM8_Y1, DEST_IMM8_X1, MT_IMM15_X1, MF_IMM15_X1, - IMM16_X0, IMM16_X1, IMM16_X0_LO, IMM16_X1_LO, IMM16_X0_HI, - IMM16_X1_HI, IMM16_X0_HA, IMM16_X1_HA, IMM16_X0_PCREL, - IMM16_X1_PCREL, IMM16_X0_LO_PCREL, IMM16_X1_LO_PCREL, - IMM16_X0_HI_PCREL, IMM16_X1_HI_PCREL, IMM16_X0_HA_PCREL, - IMM16_X1_HA_PCREL, IMM16_X0_GOT, IMM16_X1_GOT, IMM16_X0_GOT_LO, - IMM16_X1_GOT_LO, IMM16_X0_GOT_HI, IMM16_X1_GOT_HI, - IMM16_X0_GOT_HA, IMM16_X1_GOT_HA, MMSTART_X0, MMEND_X0, - MMSTART_X1, MMEND_X1, SHAMT_X0, SHAMT_X1, SHAMT_Y0, SHAMT_Y1, - IMM16_X0_TLS_GD, IMM16_X1_TLS_GD, IMM16_X0_TLS_GD_LO, - IMM16_X1_TLS_GD_LO, IMM16_X0_TLS_GD_HI, IMM16_X1_TLS_GD_HI, - IMM16_X0_TLS_GD_HA, IMM16_X1_TLS_GD_HA, IMM16_X0_TLS_IE, - IMM16_X1_TLS_IE, IMM16_X0_TLS_IE_LO, IMM16_X1_TLS_IE_LO, - IMM16_X0_TLS_IE_HI, IMM16_X1_TLS_IE_HI, IMM16_X0_TLS_IE_HA, - IMM16_X1_TLS_IE_HA, TLS_DTPMOD32, TLS_DTPOFF32, TLS_TPOFF32} - Add BFD_RELOC_TILEGX_{HW0, HW1, HW2, HW3, HW0_LAST, HW1_LAST, - HW2_LAST, COPY, GLOB_DAT, JMP_SLOT, RELATIVE, BROFF_X1, - JUMPOFF_X1, JUMPOFF_X1_PLT, IMM8_X0, IMM8_Y0, IMM8_X1, IMM8_Y1, - DEST_IMM8_X1, MT_IMM14_X1, MF_IMM14_X1, MMSTART_X0, MMEND_X0, - SHAMT_X0, SHAMT_X1, SHAMT_Y0, SHAMT_Y1, IMM16_X0_HW0, - IMM16_X1_HW0, IMM16_X0_HW1, IMM16_X1_HW1, IMM16_X0_HW2, - IMM16_X1_HW2, IMM16_X0_HW3, IMM16_X1_HW3, IMM16_X0_HW0_LAST, - IMM16_X1_HW0_LAST, IMM16_X0_HW1_LAST, IMM16_X1_HW1_LAST, - IMM16_X0_HW2_LAST, IMM16_X1_HW2_LAST, IMM16_X0_HW0_PCREL, - IMM16_X1_HW0_PCREL, IMM16_X0_HW1_PCREL, IMM16_X1_HW1_PCREL, - IMM16_X0_HW2_PCREL, IMM16_X1_HW2_PCREL, IMM16_X0_HW3_PCREL, - IMM16_X1_HW3_PCREL, IMM16_X0_HW0_LAST_PCREL, - IMM16_X1_HW0_LAST_PCREL, IMM16_X0_HW1_LAST_PCREL, - IMM16_X1_HW1_LAST_PCREL, IMM16_X0_HW2_LAST_PCREL, - IMM16_X1_HW2_LAST_PCREL, IMM16_X0_HW0_GOT, IMM16_X1_HW0_GOT, - IMM16_X0_HW1_GOT, IMM16_X1_HW1_GOT, IMM16_X0_HW2_GOT, - IMM16_X1_HW2_GOT, IMM16_X0_HW3_GOT, IMM16_X1_HW3_GOT, - IMM16_X0_HW0_LAST_GOT, IMM16_X1_HW0_LAST_GOT, - IMM16_X0_HW1_LAST_GOT, IMM16_X1_HW1_LAST_GOT, - IMM16_X0_HW2_LAST_GOT, IMM16_X1_HW2_LAST_GOT, IMM16_X0_HW0_TLS_GD, - IMM16_X1_HW0_TLS_GD, IMM16_X0_HW1_TLS_GD, IMM16_X1_HW1_TLS_GD, - IMM16_X0_HW2_TLS_GD, IMM16_X1_HW2_TLS_GD, IMM16_X0_HW3_TLS_GD, - IMM16_X1_HW3_TLS_GD, IMM16_X0_HW0_LAST_TLS_GD, - IMM16_X1_HW0_LAST_TLS_GD, IMM16_X0_HW1_LAST_TLS_GD, - IMM16_X1_HW1_LAST_TLS_GD, IMM16_X0_HW2_LAST_TLS_GD, - IMM16_X1_HW2_LAST_TLS_GD, IMM16_X0_HW0_TLS_IE, - IMM16_X1_HW0_TLS_IE, IMM16_X0_HW1_TLS_IE, IMM16_X1_HW1_TLS_IE, - IMM16_X0_HW2_TLS_IE, IMM16_X1_HW2_TLS_IE, IMM16_X0_HW3_TLS_IE, - IMM16_X1_HW3_TLS_IE, IMM16_X0_HW0_LAST_TLS_IE, - IMM16_X1_HW0_LAST_TLS_IE, IMM16_X0_HW1_LAST_TLS_IE, - IMM16_X1_HW1_LAST_TLS_IE, IMM16_X0_HW2_LAST_TLS_IE, - IMM16_X1_HW2_LAST_TLS_IE, TLS_DTPMOD64, TLS_DTPOFF64, TLS_TPOFF64, - TLS_DTPMOD32, TLS_DTPOFF32, TLS_TPOFF32} - * targets.c (bfd_elf32_tilegx_vec): Declare. - (bfd_elf32_tilepro_vec): Declare. - (bfd_elf64_tilegx_vec): Declare. - (bfd_target_vector): Add bfd_elf32_tilegx_vec, bfd_elf32_tilepro_vec, - and bfd_elf64_tilegx_vec. - * cpu-tilegx.c: New file. - * cpu-tilepro.c: New file. - * elf32-tilepro.h: New file. - * elf32-tilepro.c: New file. - * elf32-tilegx.c: New file. - * elf32-tilegx.h: New file. - * elf64-tilegx.c: New file. - * elf64-tilegx.h: New file. - * elfxx-tilegx.c: New file. - * elfxx-tilegx.h: New file. - -2011-06-13 Alan Modra <amodra@gmail.com> - - * linker.c (bfd_link_hash_traverse): Follow warning symbol link. - (_bfd_generic_link_write_global_symbol, fix_syms): Don't handle - warning symbols here. - * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Likewise. - * elf32-arm.c (allocate_dynrelocs_for_symbol, - elf32_arm_readonly_dynrelocs): Likewise. - * elf32-bfin.c (bfin_discard_copies): Likewise. - * elf32-cris.c (elf_cris_adjust_gotplt_to_got, - elf_cris_discard_excess_dso_dynamics, - elf_cris_discard_excess_program_dynamics): Likewise. - * elf32-hppa.c (allocate_plt_static, allocate_dynrelocs, - clobber_millicode_symbols, readonly_dynrelocs): Likewise. - * elf32-i370.c (i370_elf_adjust_dynindx): Likewise. - * elf32-i386.c (elf_i386_allocate_dynrelocs, - elf_i386_readonly_dynrelocs): Likewise. - * elf32-lm32.c (allocate_dynrelocs, readonly_dynrelocs): Likewise. - * elf32-m32c.c (m32c_relax_plt_check, m32c_relax_plt_realloc): Likewise. - * elf32-m32r.c (allocate_dynrelocs, readonly_dynrelocs): Likewise. - * elf32-m68k.c (elf_m68k_discard_copies): Likewise. - * elf32-microblaze.c (allocate_dynrelocs): Likewise. - * elf32-ppc.c (allocate_dynrelocs, maybe_set_textrel): Likewise. - * elf32-s390.c (allocate_dynrelocs, readonly_dynrelocs): Likewise. - * elf32-score.c (score_elf_sort_hash_table_f): Likewise. - * elf32-score7.c (score_elf_sort_hash_table_f): Likewise. - * elf32-sh.c (allocate_dynrelocs, readonly_dynrelocs): Likewise. - * elf32-tic6x.c (elf32_tic6x_allocate_dynrelocs, - elf32_tic6x_readonly_dynrelocs): Likewise. - * elf32-vax.c (elf_vax_discard_copies): Likewise. - * elf32-xstormy16.c (xstormy16_relax_plt_check, - xstormy16_relax_plt_realloc): Likewise. - * elf32-xtensa.c (elf_xtensa_allocate_dynrelocs): Likewise. - * elf64-alpha.c (elf64_alpha_output_extsym, - elf64_alpha_calc_got_offsets_for_symbol, - elf64_alpha_calc_dynrel_sizes, elf64_alpha_size_rela_got_1): Likewise. - * elf64-hppa.c (elf64_hppa_mark_exported_functions, - allocate_global_data_opd, elf64_hppa_mark_milli_and_exported_functions, - elf_hppa_unmark_useless_dynamic_symbols, - elf_hppa_remark_useless_dynamic_symbols): Likewise. - * elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref, func_desc_adjust, - adjust_opd_syms, adjust_toc_syms, allocate_dynrelocs, - readonly_dynrelocs, merge_global_got, reallocate_got, - undo_symbol_twiddle): Likewise. - * elf64-s390.c (allocate_dynrelocs, readonly_dynrelocs): Likewise. - * elf64-sh64.c (sh64_elf64_discard_copies): Likewise. - * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs, - elf_x86_64_readonly_dynrelocs): Likewise. - * elflink.c (elf_link_renumber_hash_table_dynsyms, - elf_link_renumber_local_hash_table_dynsyms, _bfd_elf_export_symbol, - _bfd_elf_link_find_version_dependencies, - _bfd_elf_link_assign_sym_version, _bfd_elf_adjust_dynamic_symbol, - _bfd_elf_link_sec_merge_syms, elf_adjust_dynstr_offsets, - elf_collect_hash_codes, elf_collect_gnu_hash_codes, - elf_renumber_gnu_hash_syms, elf_gc_sweep_symbol, - elf_gc_propagate_vtable_entries_used, - elf_gc_smash_unused_vtentry_relocs, bfd_elf_gc_mark_dynamic_ref_symbol, - elf_gc_allocate_got_offsets): Likewise. - * elfnn-ia64.c (elfNN_ia64_global_dyn_info_free, - elfNN_ia64_global_dyn_sym_thunk): Likewise. - * elfxx-mips.c (mips_elf_check_symbols, mips_elf_output_extsym, - mips_elf_sort_hash_table_f, allocate_dynrelocs): Likewise. - * elfxx-sparc.c (allocate_dynrelocs, readonly_dynrelocs): Likewise. - * i386linux.c (linux_tally_symbols): Likewise. - * m68klinux.c (linux_tally_symbols): Likewise. - * sparclinux.c (linux_tally_symbols): Likewise. - * sunos.c (sunos_scan_dynamic_symbol): Likewise. - * xcofflink.c (xcoff_post_gc_symbol): Likewise. - - * elflink.c (elf_link_output_extsym): Make it a bfd_hash_traverse - function. Update all callers. - * aoutx.h (aout_link_write_other_symbol): Likewise. - * pdp11.c (aout_link_write_other_symbol): Likewise. - * cofflink.c (_bfd_coff_write_global_sym): Likewise. - * ecoff.c (ecoff_link_write_external): Likewise. - * xcofflink.c (xcoff_write_global_symbol): Likewise. - * vms-alpha.c (alpha_vms_link_output_symbol): Likewise. Handle - warning symbols. - * ecoff.c (ecoff_link_hash_traverse): Delete. - * coff-ppc.c (ppc_bfd_coff_final_link): Use bfd_hash_traverse for - _bfd_coff_write_global_sym. - * libcoff-in.h (_bfd_coff_write_global_sym): Update prototype. - * libcoff.h: Regenerate. - -2011-06-10 Nick Clifton <nickc@redhat.com> - - * elflink.c (_bfd_elf_link_create_dynamic_sections): If the - backend does not provide a function for creating dynamic sections - then fail. - (bfd_elf_final_link): Issue a warning message if a dynamic section - has the SHT_NOTE type. - (bfd_elf_final_link): Do not look for dynamic strings in a section - that does not have the SHT_STRTAB type or the name .dynstr. - * elf32-arm.c (elf32_arm_finish_dynamic_sections): Fail if the got - section is not in the output binary. - * elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Likewise. - -2011-06-09 Tristan Gingold <gingold@adacore.com> - - * elfnn-ia64.c (elfNN_ia64_relax_section, elfNN_ia64_choose_gp) - (elfNN_ia64_relocate_section, elfNN_vms_object_p): Remove trailing - spaces. - -2011-06-09 Tristan Gingold <gingold@adacore.com> - - * bfd.c (bfd_get_sign_extend_vma): Handle aixcoff. - -2011-06-09 Nick Clifton <nickc@redhat.com> - - PR ld/12845 - * elf.c (_bfd_elf_init_private_section_data): Add an assertion - that the output section has an allocated bfd_elf_section_data - structure. - * elfxx-mips.c (mips_elf_check_symbols): Do not create a stub for - symbols in sections that have been removed by garbage collection. - -2011-06-08 H.J. Lu <hongjiu.lu@intel.com> - - * elf64-x86-64.c (elf_x86_64_check_relocs): Allow R_X86_64_64 - relocations in SEC_DEBUGGING sections when building shared - libraries. - -2011-06-08 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12851 - * elflink.c (elf_gc_sweep): Don't check SHT_NOTE sections here. - (bfd_elf_gc_sections): Also check SHT_NOTE sections. - -2011-06-08 Tristan Gingold <gingold@adacore.com> - - * makefile.vms (OBJS): Add elfxx-ia64.obj - Remove vax case. - -2011-06-08 Alan Modra <amodra@gmail.com> - - * aix386-core.c, * cisco-core.c, * hpux-core.c, * osf-core.c, - * sco5-core.c: Init match_priority field. - -2011-06-08 Alan Modra <amodra@gmail.com> - - * elflink.c (_bfd_elf_archive_symbol_lookup): Follow warning and - indirect links here. - -2011-06-07 Joel Brobecker <brobecker@adacore.com> - - * irix-core.c (irix_core_vec): Add match_priority field. - -2011-06-06 Alan Modra <amodra@gmail.com> - - * targets.c (bfd_target): Make ar_max_namelen an unsigned char. - Add match_priority. - * configure.in: Bump bfd version. - * elfcode.h (elf_object_p): Delete hacks preventing match of - EM_NONE and ELFOSABI_NONE targets when a better match exists. - * elfxx-target.h (elf_match_priority): Define and use. - * format.c (bfd_check_format_matches): Use target match_priority - to choose best of multiple matching targets. In cases with multiple - matches rerun _bfd_check_format if we don't choose the last match. - * aout-adobe.c, * aout-arm.c, * aout-target.h, * aout-tic30.c, - * binary.c, * bout.c, * coff-alpha.c, * coff-i386.c, * coff-i860.c, - * coff-i960.c, * coff-ia64.c, * coff-mips.c, * coff-or32.c, - * coff-ppc.c, * coff-rs6000.c, * coff-sh.c, * coff-tic30.c, - * coff-tic54x.c, * coff-x86_64.c, * coff64-rs6000.c, * coffcode.h, - * i386msdos.c, * i386os9k.c, * ieee.c, * ihex.c, * mach-o-target.c, - * mipsbsd.c, * mmo.c, * nlm-target.h, * oasys.c, * pdp11.c, - * pe-mips.c, * pef.c, * plugin.c, * ppcboot.c, * som.c, * srec.c, - * tekhex.c, * trad-core.c, * verilog.c, * versados.c, * vms-alpha.c, - * vms-lib.c, * xsym.c: Init match_priority field. - * configure: Regenerate. - * bfd-in2.h: Regenerate. - -2011-06-04 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12842 - * elfcode.h (elf_object_p): Revert the last change. - -2011-06-04 Alan Modra <amodra@gmail.com> - - * archures.c (bfd_arch_get_compatible): If one arch is unknown, - return the other arch. - * elfcode.h (elf_object_p): Allow explicit match to generic ELF - target. - -2011-06-03 Bertram Felgenhauer <bertram.felgenhauer@gmail.com> - - PR ld/12682 - * hash.c (higher_primer_number): Add more, small, prime numbers. - (bfd_hash_set_default_size): Likewise. - -2011-06-02 Nick Clifton <nickc@redhat.com> - - * coff-mcore.c: Fix spelling typo. - * coff-stgo32.c: Likewise. - * elf32-arm.c: Likewise. - * elf32-avr.c: Likewise. - * elf-m68hc1x.c: Likewise. - * elf32-mcore.c: Likewise. - * elf32-mep.c: Likewise. - * elf32-mt.c: Likewise. - * elf32-ppc.c: Likewise. - * elf32-xtensa.c: Likewise. - * elf64-ppc.c: Likewise. - * elfxx-mips.c: Likewise. - * netbsd.h: Likewise. - * nlmcode.h: Likewise. - * vms-alpha.c: Likewise. - * po/bfd.pot: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2011-06-01 DJ Delorie <dj@redhat.com> - - * config.bfd: Add bfd_elf32_rx_be_ns_vec. - * target.c: Likewise. - * configure.in: Likewise. - * configure.in: Regenerate. - * elf32-rx.c: Add elf32-rx-be-ns target. - (rx_elf_object_p): Never allow the be-ns target by default, - only allow it if the user requests it. - -2011-06-01 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c (elf_i386_size_dynamic_sections): Properly warn - relocation in readonly section in a shared object. - * elf64-x86-64.c (elf_x86_64_size_dynamic_sections): Likewise. - -2011-05-31 Nick Clifton <nickc@redhat.com> - - * archive.c (adjust_relative_path): Fix comment to prevent it - corrupting the auto-generated bfd.h. - -2011-05-31 Paul Brook <paul@codesourcery.com> - - * elf32-arm.c (elf32_arm_final_link_relocate): Only do bl conversion - for known functions. - (elf32_arm_swap_symbol_in): Only set ST_BRANCH_TO_ARM for function - symbols. - -2011-05-31 Paul Brook <paul@codesourcery.com> - - * elf32-arm.c (arm_stub_is_thumb): Add - arm_stub_long_branch_v4t_thumb_tls_pic. - (elf32_arm_final_link_relocate): TLS stubs are always ARM. - Handle Thumb stubs. - -2011-05-27 Nick Clifton <nickc@redhat.com> - - PR binutils/12710 - * archive.c (_bfd_get_elt_at_filepos): Set correct error value if - unable to read a file pointed to by an entry in a thin archive. - (adjust_relative_path): Use lrealpath to canonicalize paths. - Handle the case where the reference path is above the current - path in the directory tree. - -2011-05-26 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12809 - * elf64-x86-64.c (elf_x86_64_relocate_section): Handle - R_X86_64_TPOFF64 in executable. - -2011-05-26 Alan Modra <amodra@gmail.com> - - * elf-bfd.h (SYMBOL_REFERENCES_LOCAL): Remove most of comment. - * elflink.c (_bfd_elf_symbol_refs_local_p): Expand - local_protected comment. - -2011-05-25 Tristan Gingold <gingold@adacore.com> - - * configure.in (bfd_elf32_ia64_big_vec, bfd_elf32_ia64_hpux_big_vec) - (bfd_elf64_ia64_big_vec, bfd_elf64_ia64_hpux_big_vec) - (bfd_elf64_ia64_little_vec, bfd_elf64_ia64_vms_vec): Add elfxx-ia64.lo - * Makefile.am (BFD64_BACKENDS): Add elfxx-ia64.lo - (BFD64_BACKENDS_CFILES): Add elfxx-ia64.c - (elf32-ia64.c): Created from elfnn-ia64.c - (elf64-ia64.c): Likewise. - * elfxx-ia64.h: New file. - * elfxx-ia64.c: Split with elfnn-ia64.c. Keep only the following - functions.Includes elfxx-ia64.h. - (elfNN_ia64_reloc): Renames to ia64_elf_reloc. Adjust error message. - (IA64_HOWTO): Adjust. - (lookup_howto): Renames to ia64_elf_lookup_howto. Make it public. - (elfNN_ia64_reloc_type_lookup): Renames to - ia64_elf_reloc_type_lookup. Make it public. Adjust calls. - (elfNN_ia64_reloc_name_lookup): Renames to - ia64_elf_reloc_name_lookup. Make it public. - (elfNN_ia64_relax_br): Renames to ia64_elf_relax_br. Make it public. - (elfNN_ia64_relax_brl): Renames to ia64_elf_relax_brl. Make it - public. - (elfNN_ia64_relax_ldxmov): Renames to ia64_elf_relax_ldxmov. - Move it and make it public. Move prototype to elfxx-ia64.h - (elfNN_ia64_install_value): Renames to ia64_elf_install_value. - Move prototype to elfxx-ia64.h - * elfnn-ia64.c: New file, split from elfxx-ia64.c. - (elfNN_ia64_info_to_howto): Adjust calls. - (elfNN_ia64_relax_section): Adjust calls. - (count_dyn_reloc): Fix typo. - (elfNN_ia64_relocate_section): Adjust calls. - (elfNN_ia64_finish_dynamic_symbol): Likewise. - (bfd_elfNN_bfd_reloc_type_lookup) - (bfd_elfNN_bfd_reloc_name_lookup): Adjust macros. - * configure: Regenerate. - * Makefile.in: Regenerate. - -2011-05-23 DJ Delorie <dj@redhat.com> - - * elf32-rx.c (rx_elf_object_p): When reading an RX object in, undo - the vma/lma swapping done in elf32_rx_modify_program_headers. - -2011-05-23 Nick Clifton <nickc@redhat.com> - - * elf-m10300.c (mn10300_elf_mkobject): New function. - (bfd_elf32_mkobject): Define. - -2011-05-23 Alan Modra <amodra@gmail.com> - - * elf-bfd.h: Comment typo fix. - * elf32-ppc.c (struct ppc_elf_dyn_relocs): Delete. Replace with - struct elf_dyn_relocs throughout. - * elf64-ppc.c (struct ppc_dyn_relocs): Likewise. - -2011-05-23 Alan Modra <amodra@gmail.com> - - * elf32-frv.c: Use info->callbacks->einfo throughout file in linker - functions rather than warning callback or _bfd_error_handler. - * elf32-ppc.c: Likewise. - * elf64-ppc.c: Likewise. - * elf32-ppc.c (ppc_elf_tls_optimize): Use %H in __tls_get_addr lost - arg error. - * elf64-ppc.c (ppc64_elf_tls_optimize): Likewise. - -2011-05-23 Alan Modra <amodra@gmail.com> - - PR 12763 - * elf.c (assign_file_positions_for_load_sections): Set sh_offset for - .tbss, and page align same for all SHT_NOBITS sections. - -2011-05-21 Alan Modra <amodra@gmail.com> - - PR 12763 - * elf.c (_bfd_elf_make_section_from_shdr): Set up TLS section LMAs - from PT_TLS header. - (_bfd_elf_map_sections_to_segments): Don't create a final PT_LOAD - segment if just for .tbss. - (assign_file_positions_for_load_sections): Don't report "can't - allocate in segment" errors for .tbss. - (assign_file_positions_for_non_load_sections): Don't set p_filesz - from SHT_NOBITS section filepos. - -2011-05-20 Bernd Schmidt <bernds@codesourcery.com> - - * elf32-tic6x.c (elf32_tic6x_howto_table): Add entries for - R_C6000_PCR_H16 and R_C6000_PCR_L16. - (elf32_tic6x_relocate_section): Handle them. - -2011-05-18 Nick Clifton <nickc@redhat.com> - - PR ld/12761 - * elflink.c (elf_link_add_object_symbols): Process .gnu.warning - sections when building shared libraries. - -2011-05-18 Rafał Krypa <r.krypa@samsung.com> - - PR ld/12778 - * elf32-arm.c (elf32_arm_gc_sweep_hook): Use the computed dynamic - reloc pointer. - -2011-05-18 Tristan Gingold <gingold@adacore.com> - - * xcofflink.c (xcoff_link_add_symbols): Handle C_DWARF symbols. - (xcoff_sweep): Always keep dwarf sections. - (xcoff_link_input_bfd): Handle dwarf symbols and sections. - -2011-05-18 Tristan Gingold <gingold@adacore.com> - - * libxcoff.h (struct xcoff_dwsect_name): New type. - (XCOFF_DWSECT_NBR_NAMES): New macro. - (xcoff_dwsect_names): Declare. - * coffcode.h (sec_to_styp_flags): Handle xcoff dwarf sections. - (styp_to_sec_flags): Ditto. - (coff_new_section_hook): Ditto. - (coff_slurp_symbol_table): Handle C_DWARF and C_INFO. - * coff-rs6000.c (xcoff_dwsect_name): New variable. - -2011-05-17 Tomohiro Kashiwada <kikairoya@gmail.com> - - PR ld/12759 - * elf32-rx.c (ignore_lma): New variable. - (bfd_elf32_rx_set_target_flags): Add ignore_lma parameter. - (rx_modify_program_headers): Only copy the LMA into the VMA if - ignore_lma is true. - -2011-05-17 Alan Modra <amodra@gmail.com> - - PR ld/12760 - * coff-aux.c (coff_m68k_aux_link_add_one_symbol): Adjust "notice" call. - * elflink.c (elf_link_add_object_symbols): Likewise. - * linker.c (_bfd_generic_link_add_one_symbol): Likewise. - -2011-05-16 Alan Modra <amodra@gmail.com> - - * linker.c (_bfd_generic_link_add_one_symbol): Don't init u.undef.weak. - -2011-05-15 Richard Sandiford <rdsandiford@googlemail.com> - - * elfxx-mips.c (_bfd_mips_elf_check_relocs): Record both local and - global GOT entries for GOT_PAGE relocations against global symbols. - -2011-05-13 Bernd Schmidt <bernds@codesourcery.com> - - * config.bfd (tic6x-*-elf, tic6x-*-uclinux): New. - (tic6x-*-*): Replaced by these. - * elf32-tic6x.c (elf32_tic6x_set_osabi): New static function. - (elf32_tic6x_check_relocs): Create dynamic sections if -shared. - (elf_backend_relocs_compatible, elf_backend_post_process_headers): - Define. - (elf32_bed, TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, TARGET_BIG_SYM, - TARGET_BIG_NAME, ELF_OSABI): Redefine twice, and include - "elf32-target.h" two more times. - * configure.in: Handle bfd_elf32_tic6x_linux_be_vec, - bfd_elf32_tic6x_linux_le_vec, bfd_elf32_tic6x_elf_be_vec and - bfd_elf32_tic6x_elf_le_vec. - * configure: Regenerate. - -2011-05-13 Jan Beulich <jbeulich@novell.com> - - * config.bfd: Add targets x86_64-*-pe and x86_64-*-pep. - -2011-05-12 Jan Kratochvil <jan.kratochvil@redhat.com> - - * config.in: Regenerated. - * configure: Regenerated. - * configure.in: New tests for HAVE_PRPSINFO_T_PR_PID, - HAVE_PRPSINFO32_T_PR_PID, HAVE_PSINFO_T_PR_PID and - HAVE_PSINFO32_T_PR_PID. - * elf.c (elfcore_grok_psinfo): Protect reading psinfo.pr_pid by - HAVE_PRPSINFO_T_PR_PID, HAVE_PRPSINFO32_T_PR_PID, HAVE_PSINFO_T_PR_PID - and HAVE_PSINFO32_T_PR_PID. - * hosts/x86-64linux.h (HAVE_PRPSINFO32_T_PR_PID): New redefinition. - -2011-05-10 Jan Kratochvil <jan.kratochvil@redhat.com> - - * elf.c (elfcore_grok_psinfo): Initialize CORE_PID for both native and - 32bit psinfo. - * elf32-ppc.c (ppc_elf_grok_psinfo): Initialize core_pid. - * elf64-ppc.c (ppc64_elf_grok_psinfo): Likewise. - -2011-05-09 Paul Brook <paul@codesourcery.com> - - * bfd-in.h (elf32_tic6x_fix_exidx_coverage): Add prototype. - * bfd-in2.h: Regenerate. - * elf32-tic6x.c: Include limits.h. - (tic6x_unwind_edit_type, tic6x_unwind_table_edit, - _tic6x_elf_section_data): New. - (elf32_tic6x_section_data): Define. - (elf32_tic6x_new_section_hook): Allocate target specific data. - (elf32_tic6x_add_unwind_table_edit): New function. - (get_tic6x_elf_section_data, elf32_tic6x_adjust_exidx_size, - elf32_tic6x_insert_cantunwind_after, elf32_tic6x_add_low31, - elf32_tic6x_copy_exidx_entry): New functions. - (elf_backend_write_section): Define. - -2011-05-09 Paul Brook <paul@codesourcery.com> - - * elf32-tic6x.c (is_tic6x_elf_unwind_section_name, - elf32_tic6x_fake_sections): New functions. - (elf_backend_fake_sections): Define. - -2011-05-09 Paul Brook <paul@codesourcery.com> - - * elf32-tic6x.c (elf32_tic6x_gc_mark_extra_sections): New function. - (elf_backend_gc_mark_extra_sections): Define. - -2011-05-07 Dave Korn <dave.korn.cygwin@gmail.com> - - PR ld/12365 - * cofflink.c (bfd_coff_link_input_bfd): Check for and warn about - references to symbols defined in discarded sections. - -2011-05-07 Dave Korn <dave.korn.cygwin@gmail.com> - - PR ld/12365 - * coffgen.c (coff_write_symbol): Assume input section is its own - output section if output_section member not set. - (coff_write_alien_symbol): Likewise. - -2011-05-07 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12730 - * elf.c (_bfd_elf_section_offset): Check SEC_ELF_REVERSE_COPY. - - * elflink.c (elf_link_input_bfd): Reverse copy .ctors/.dtors - sections if needed. - - * section.c (SEC_ELF_REVERSE_COPY): New. - * bfd-in2.h: Regenerated. - -2011-05-07 Anders Kaseorg <andersk@ksplice.com> - - PR 12739 - * libbfd.c (bfd_get_8, bfd_get_signed_8): Use const cast. - * bfd-in2.h: Regenerate. - -2011-05-06 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c (evax_section_flags): Remove SEC_IN_MEMORY. - (_bfd_vms_slurp_egsd): Rename old_flags to vms_flags. Handle - any code section. Add comments. - (alpha_vms_object_p): Use void * instead of PTR. - (alpha_vms_create_eisd_for_section): Fix test for setting DZRO. - (build_module_list): Guard against no DST section. Add comments. - (alpha_vms_link_output_symbol): Discard undefined symbols. - (alpha_vms_get_section_contents): Simply memcpy if the section was - already loaded. Fix typo. - (vms_new_section_hook): Use void * instead of PTR. - (vms_alpha_vec): Ditto. - -2011-05-06 Richard Sandiford <richard.sandiford@linaro.org> - - * elf32-arm.c (cortex_a8_erratum_scan): If the stub is a Thumb - branch to a PLT entry, redirect it to the PLT's Thumb entry point. - -2011-05-05 Bernd Schmidt <bernds@codesourcery.com> - - * elf32-tic6x.c (elf32_tic6x_final_link): New function. - (elf32_tic6x_merge_attributes): Do not warn for PID or PIC - mismatch. Choose the lower of the two values. - (bfd_elf32_bfd_final_link): New macro. - -2011-04-28 Tristan Gingold <gingold@adacore.com> - - * coff-rs6000.c (_bfd_xcoff_swap_aux_in): Adjust for x_file. - (bfd_xcoff_swap_aux_out): Ditto. - * coff64-rs6000.c (_bfd_xcoff64_swap_aux_in): Ditto. - (bfd_xcoff64_swap_aux_out): Ditto. - -2011-05-04 Alan Modra <amodra@gmail.com> - - PR ld/12727 - * elf64-ppc.c (ppc_build_one_stub <ppc_sub_plt_call>): Clear - was_undefined on dot-symbols. - -2011-05-03 Paul Brook <paul@codesourcery.com> - - - * elf32-tic6x.c (elf32_tic6x_howto_table, - elf32_tic6x_howto_table_rel, (elf32_tic6x_gc_sweep_hook, - elf32_tic6x_relocate_section, elf32_tic6x_check_relocs): - Add R_C6000_EHTYPE. - -2011-05-01 Alan Modra <amodra@gmail.com> - - PR ld/12718 - * elf32-i386.c (elf_i386_check_relocs): Ensure dynobj set before - creating ifunc sections. - * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise. - -2011-04-30 H.J. Lu <hongjiu.lu@intel.com> - - * elf64-x86-64.c (elf_x86_64_merge_symbol): Correct parameter - names. - -2011-04-28 Tom Tromey <tromey@redhat.com> - - * bfdio.c (memory_bstat): Pass correct size to memset. - -2011-04-28 Mike Frysinger <vapier@gentoo.org> - - * dwarf2.c (dwarf_debug_sections): Mark const. - * elf.c (special_sections): Likewise. - * libbfd-in.h (dwarf_debug_sections): Likewise. - * libbfd.h: Regenerate. - -2011-04-26 Kai Tietz <ktietz@redhat.com> - - * coffcode.h (sec_to_styp_flags): Allow linkonce for - debugging sections. - -2011-04-26 Tristan Gingold <gingold@adacore.com> - - * coff64-rs6000.c: Convert to ISO-C. Remove PARAMS and PTR macros. - -2011-04-24 Alan Modra <amodra@gmail.com> - - PR ld/12365 - PR ld/12696 - * coff-aux.c (coff_m68k_aux_link_add_one_symbol): Update "notice" call. - * linker.c (_bfd_link_hash_newfunc): Clear bitfields. - (_bfd_generic_link_add_one_symbol): Update "notice" call. - * elflink.c (_bfd_elf_merge_symbol): Don't skip weak redefs when - it is a redef of an IR symbol in a real BFD. - -2011-04-22 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c (elf_i386_readonly_dynrelocs): Warn relocation - in readonly section in a shared object. - (elf_i386_size_dynamic_sections): Likewise. - * elf64-x86-64.c (elf_x86_64_readonly_dynrelocs): Likewise. - (elf_x86_64_size_dynamic_sections): Likewise. - -2011-04-21 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12694 - * elf32-i386.c (elf_i386_readonly_dynrelocs): Skip local IFUNC - symbols. - * elf64-x86-64.c (elf_x86_64_readonly_dynrelocs): Likewise. - -2011-04-21 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c (elf_i386_finish_dynamic_symbol): Return false - on dynamic symbol error. - * elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Likewise. - -2011-04-20 Tristan Gingold <gingold@adacore.com> - - * config.bfd (alpha*-*-*vms*, ia64*-*-*vms*): Define targ_selvecs. - -2011-04-20 Alan Modra <amodra@gmail.com> - - * hash.c (bfd_default_hash_table_size): Make it an unsigned long. - (bfd_hash_table_init_n): Overflow checking. - (bfd_hash_set_default_size): Return current size. Take unsigned long - arg. Add 65537 to hash_size primes. - * bfd-in.h (bfd_hash_set_default_size): Update prototype. - * bfd-in2.h: Regenerate. - -2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com> - - * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Fix +1 overrun of - memmove elements. - -2011-04-20 Alan Modra <amodra@gmail.com> - - * libbfd.c (bfd_log2): Do return rounded up value. - * elflink.c (bfd_elf_size_dynsym_hash_dynstr): Replace bfd_log2 - call with expanded old round down version of the function. - - * archive.c (_bfd_get_elt_at_filepos): Don't release n_nfd. - * elflink.c (elf_link_add_object_symbols): Delete redundant code. - -2011-04-20 Alan Modra <amodra@gmail.com> - - PR ld/12365 - * elfcode.h (elf_slurp_symbol_table): Put common plugin IR symbols - in their own common section. - * elflink.c (elf_link_add_object_symbols): Likewise. - * linker.c (generic_link_check_archive_element): Don't lose flags - if common section is pre-existing. - (_bfd_generic_link_add_one_symbol): Likewise. - -2011-04-20 Alan Modra <amodra@gmail.com> - - PR ld/12365 - * elflink.c (_bfd_elf_merge_symbol): Update multiple_common calls. - * linker.c (_bfd_generic_link_add_one_symbol): Likewise. Call - multiple_definition regardless of allow_multiple_definition. - * simple.c (simple_dummy_multiple_definition): Update. - * xcofflink.c (xcoff_link_add_symbols): Update multiple_definition - calls. - -2011-04-18 Tristan Gingold <gingold@adacore.com> - - * coff-rs6000.c: Convert to ISO-C. Remove PARAMS macro. - -2011-04-18 Alan Modra <amodra@gmail.com> - - PR ld/12365 - PR ld/12672 - * bfd.c (BFD_PLUGIN): Define. - (BFD_FLAGS_SAVED, BFD_FLAGS_FOR_BFD_USE_MASK): Add BFD_PLUGIN. - * bfd-in2.h: Regenerate. - * elflink.c (elf_link_output_extsym): Strip undefined plugin syms. - * opncls.c (bfd_make_readable): Don't lose original bfd flags. - -2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com> - - * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Do not check for - SEC_LOAD. - -2011-04-15 Sergio Durigan Junior <sergiodj@redhat.com> - - * elf-bfd.h (struct sdt_note): New struct. - (struct elf_obj_tdata) <sdt_note_head>: New field. - * elf.c (elfobj_grok_stapsdt_note_1): New function. - (elfobj_grok_stapsdt_note): Likewise. - (elf_parse_notes): Added code to treat SystemTap note - sections. - -2011-04-12 Richard Henderson <rth@redhat.com> - - * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Do not - exclude empty .got sections. - -2011-04-11 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c (elf_i386_reloc_type_lookup): Fix the out of bound - array access for BFD_RELOC_386_IRELATIVE. - -2011-04-11 Bernd Schmidt <bernds@codesourcery.com> - - * elf32-tic6x.c (elf32_tic6x_check_relocs): Initialize pc_count field. - -2011-04-11 Mark Wielaard <mjw@redhat.com> - - PR 10549 - * elf-bfd.h (has_ifunc_symbols): Renamed to has_gnu_symbols. - (has_gnu_symbols): Renamed from has_ifunc_symbols. - * elf.c (_bfd_elf_set_osabi): Use new has_gnu_symbols name. - * elf32-arm.c (elf32_arm_add_symbol_hook): Set has_gnu_symbols - also if STB_GNU_UNIQUE symbol binding was seen. - * elf32-i386.c (elf_i386_add_symbol_hook): Likewise. - * elf32-ppc.c (ppc_elf_add_symbol_hook): Likewise. - * elf32-sparc.c (elf32_sparc_add_symbol_hook): Likewise. - * elf64-ppc.c (ppc64_elf_add_symbol_hook): Likewise. - * elf64-sparc.c (elf64_sparc_add_symbol_hook): Likewise. - * elf64-x86-64.c (elf_x86_64_add_symbol_hook): Likewise. - -2011-04-11 Alan Modra <amodra@gmail.com> - - * bfd-in.h (bfd_get_section_limit): Don't use rawsize with output - sections. - * libbfd.c (_bfd_generic_get_section_contents): Likewise. - (_bfd_generic_get_section_contents_in_window): Likewise. - * section.c (bfd_get_section_contents): Likewise. - * compress.c (bfd_get_full_section_contents): Likewise. - * elf32-rx.c (rx_final_link): Ignore rawsize. - * elf32-microblaze.c (microblaze_elf_relocate_section): Use correct - bfd with bfd_get_section_limit. - * elfxx-ia64.c (elfNN_ia64_choose_gp): Add "final" parameter. Use - os->size during final link. Update callers. - * bfd-in2.h: Regenerate. - -2011-04-10 Richard Sandiford <rdsandiford@googlemail.com> - - PR ld/12637 - * elfxx-mips.c (mips_elf_merge_got_with): Use arg->global_count - as the number of global entries when merging with the primary GOT. - -2011-04-09 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c: Update copyright year. - * elf64-x86-64.c: Likewise. - -2011-04-09 Kai Tietz <ktietz@redhat.com> - - * peXXigen.c (_bfd_XXi_final_link_postscripte): Sort pdata in temporary - buffer and use rawsize for sorting. - * coffcode.h (coff_compute_section_file_positions): Set rawsize - before doing alignment. - -2011-04-09 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c (elf_i386_relocate_section): Return relocation - error on unsupported relocation. - * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise. - -2011-04-09 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/12657 - * hosts/x86-64linux.h (elf_prstatus32): Replace __pid_t with - pid_t. - -2011-04-08 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12654 - * elf32-i386.c (elf_i386_relocate_section): Check !executable - instead of shared for R_386_TLS_LDO_32. - -2011-04-08 Tristan Gingold <gingold@adacore.com> - - * Makefile.am (SOURCE_HFILES): Remove xcoff-target.h - * coff-pmac: Remove - * xcoff-target.h: Remove - * Makefile.in: Regenerate. - -2011-04-07 Cary Coutant <ccoutant@google.com> - - * dwarf2.c (scan_unit_for_symbols): Check for DW_AT_specification. - -2011-04-07 Paul Brook <paul@codesourcery.com> - - * elf32-tic6x.c (elf32_tic6x_howto_table): R_C6000_PREL31 is - pc-relative. - (elf32_tic6x_howto_table_rel): Ditto. - (elf32_tic6x_relocate_section): Implement R_C6000_PREL31. - (elf32_tic6x_check_relocs): Ditto. - -2011-04-06 Joseph Myers <joseph@codesourcery.com> - - * config.bfd (thumb-*-oabi): Don't handle in list of obsolete - targets. - (strongarm*, thumb*, xscale*): Remove architectures. - (strongarm-*-kaos*, thumb-*-coff, thumb-*-elf, thumb-epoc-pe*, - thumb-*-pe*, strongarm-*-elf, strongarm-*-coff, xscale-*-elf, - xscale-*-coff): Remove targets. - -2011-04-01 Tristan Gingold <gingold@adacore.com> - - * elfxx-ia64.c: include bfd_stdint.h - -2011-03-31 Jan Kratochvil <jan.kratochvil@redhat.com> - - * elf32-tic6x.c (elf32_tic6x_relocate_section): Remove unused variable - dynobj and its initialization. - -2011-03-31 Tristan Gingold <gingold@adacore.com> - - * makefile.vms (DEFS): Add HAVE_bfd_elf64_ia64_vms_vec. - * configure.com: Set BFD_HOST_64BIT_LONG_LONG and - BFD_HOST_LONG_LONG to 1. - -2011-03-31 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c (vms_get_remaining_object_record): Fix dec-c warning. - (_bfd_vms_write_etir): Ditto. - (_bfd_vms_slurp_etir): Avoid to use intptr_t - * configure.com: Generate bfd_stdint.h - -2011-03-31 Bernd Schmidt <bernds@codesourcery.com> - - * elf32-tic6x.h (struct elf32_tic6x_params): New. - (elf32_tic6x_setup): Declare. - * elf32-tic6x.c: Include <limits.h>. - (ELF_DYNAMIC_LINKER, DEFAULT_STACK_SIZE, PLT_ENTRY_SIZE): Define. - (struct elf32_tic6x_link_hash_table, struct elf32_link_hash_entry): - New structures. - (elf32_tic6x_link_hash_table, is_tic6x_elf): New macros. - (tic6x_elf_scom_section, tic6x_elf_scom_symbol, - tic6x_elf_scom_symbol_ptr): New static variables. - (elf32_tic6x_howto_table, elf32_tic6x_howto_table_rel, - elf32_tic6x_reloc_map): Add R_C6000_JUMP_SLOT, R_C6000_EHTYPE, - R_C6000_PCR_H16 and R_C6000_PCR_L16. - (elf32_tic6x_link_hash_newfunc, elf32_tic6x_link_hash_table_create, - elf32_tic6x_link_hash_table_free, elf32_tic6x_setup, - elf32_tic6x_using_dsbt, elf32_tic6x_install_rela, - elf32_tic6x_create_dynamic_sections, elf32_tic6x_make_got_dynreloc, - elf32_tic6x_finish_dynamic_symbol, elf32_tic6x_gc_sweep_hook, - elf32_tic6x_adjust_dynamic_symbol): New static functions. - (elf32_tic6x_relocate_section): For R_C6000_PCR_S21, convert branches - to weak symbols as required by the ABI. - Handle GOT and DSBT_INDEX relocs, and copy relocs to the output file - as needed when generating DSBT output. - (elf32_tic6x_check_relocs, elf32_tic6x_add_symbol_hook, - elf32_tic6x_symbol_processing, elf32_tic6x_section_from_bfd_section, - elf32_tic6x_allocate_dynrelocs, elf32_tic6x_size_dynamic_sections, - elf32_tic6x_always_size_sections, elf32_tic6x_modify_program_headers, - elf32_tic6x_finish_dynamic_sections, elf32_tic6x_plt_sym_val, - elf32_tic6x_copy_private_data, elf32_tic6x_link_omit_section_dynsym): - New static functions. - (ELF_MAXPAGESIZE): Define to 0x1000. - (bfd_elf32_bfd_copy_private_bfd_data, - bfd_elf32_bfd_link_hash_table_create, - bfd_elf32_bfd_link_hash_table_free, elf_backend_can_refcount, - elf_backend_want_got_plt, elf_backend_want_dynbss, - elf_backend_plt_readonly, elf_backend_got_header_size, - elf_backend_gc_sweep_hook, elf_backend_modify_program_headers, - elf_backend_create_dynamic_sections, elf_backend_adjust_dynamic_symbol, - elf_backend_check_relocs, elf_backend_add_symbol_hook, - elf_backend_symbol_processing, elf_backend_link_output_symbol_hook, - elf_backend_section_from_bfd_section, - elf_backend_finish_dynamic_symbol, elf_backend_always_size_sections, - elf32_tic6x_size_dynamic_sections, elf_backend_finish_dynamic_sections, - elf_backend_omit_section_dynsym, elf_backend_plt_sym_val): Define. - - * bfd/reloc.c (BFD_RELOC_C6000_JUMP_SLOT, BFD_RELOC_C6000_EHTYPE, - BFD_RELOC_C6000_PCR_H16, BFD_RELOC_C6000_PCR_S16): Add. - * bfd/bfd-in2.h: Regenerate. - * bfd/libbfd.h: Regenerate. - * config.bfd: Accept tic6x-*-* instead of tic6x-*-elf. - -2011-03-31 Tristan Gingold <gingold@adacore.com> - - * coffcode.h (coff_slurp_symbol_table): Silently discard C_NULL - entry on xcoff when value is C_NULL_VALUE. - -2011-03-31 Tristan Gingold <gingold@adacore.com> - - * libcoff-in.h (exec_hdr): Remove. - * libcoff.h: Regenerate. - -2011-03-30 Nick Clifton <nickc@redhat.com> - - * po/da.po: Updated Danish translation. - -2011-03-29 Richard Henderson <rth@redhat.com> - - * elf64-alpha.c (elf64_alpha_gc_mark_hook): New. - (elf64_alpha_gc_sweep_hook): New. - (elf_backend_gc_mark_hook, elf_backend_gc_sweep_hook): New. - (elf_backend_can_gc_sections): New. - -2011-03-26 John Marino <binutils@marino.st> - - * config.bfd: Add x86_64-*-dragonfly*, fix i386-*-dragonfly*. - * configure.in: Delete unused bfd_elf32_i386_dragonfly_vec. - * configure: Regenerate. - -2011-03-25 Michael Snyder <msnyder@vmware.com> - - * coffcode.h (coff_set_alignment_hook): Check return of bfd_seek. - -2011-03-25 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c (_bfd_vms_find_nearest_dst_line): Allow the use - of find_nearest_line on object files. - -2011-03-25 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c (evax_section_flags): Make $CODE$ section read-only. - Minor reordering. - (alpha_vms_create_eisd_for_section): Make code sections read-only. - -2011-03-24 Alan Modra <amodra@gmail.com> - - * elf32-ppc.c (ppc_elf_tls_optimize): Catch more cases where - old-style __tls_get_addr calls without marker relocs don't match - their arg setup insn one for one. If such mismatches are found - report the reloc and don't do any tls optimization. - * elf64-ppc.c (ppc64_elf_tls_optimize): Likewise. - -2011-03-22 Eric B. Weddington <eric.weddington@atmel.com> - - * bfd-in2.h: Regenerate. - -2011-03-22 Eric B. Weddington <eric.weddington@atmel.com> - - * archures.c: Add AVR XMEGA architecture information. - * cpu-avr.c (arch_info_struct): Likewise. - * elf32-avr.c (bfd_elf_avr_final_write_processing): Likewise. - (elf32_avr_object_p): Likewise. - -2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> - - * reloc.c (BFD_RELOC_ARM_IRELATIVE): New relocation. - * bfd-in2.h: Regenerate. - * elf32-arm.c (elf32_arm_howto_table_2): Rename existing definition - to elf32_arm_howto_table_3 and replace with a single R_ARM_IRELATIVE - entry. - (elf32_arm_howto_from_type): Update accordingly. - (elf32_arm_reloc_map): Map BFD_RELOC_ARM_IRELATIVE to R_ARM_IRELATIVE. - (elf32_arm_reloc_name_lookup): Handle elf32_arm_howto_table_3. - (arm_plt_info): New structure, split out from elf32_arm_link_hash_entry - with an extra noncall_refcount field. - (arm_local_iplt_info): New structure. - (elf_arm_obj_tdata): Add local_iplt. - (elf32_arm_local_iplt): New accessor macro. - (elf32_arm_link_hash_entry): Replace plt_thumb_refcount, - plt_maybe_thumb_refcount and plt_got_offset with an arm_plt_info. - Change tls_type to a bitfield and add is_iplt. - (elf32_arm_link_hash_newfunc): Update accordingly. - (elf32_arm_allocate_local_sym_info): New function. - (elf32_arm_create_local_iplt): Likewise. - (elf32_arm_get_plt_info): Likewise. - (elf32_arm_plt_needs_thumb_stub_p): Likewise. - (elf32_arm_get_local_dynreloc_list): Likewise. - (create_ifunc_sections): Likewise. - (elf32_arm_copy_indirect_symbol): Update after the changes to - elf32_arm_link_hash_entry. Assert the is_iplt has not yet been set. - (arm_type_of_stub): Add an st_type argument. Use elf32_arm_get_plt_info - to get PLT information. Assert that all STT_GNU_IFUNC references - are turned into PLT references. - (arm_build_one_stub): Pass the symbol type to - elf32_arm_final_link_relocate. - (elf32_arm_size_stubs): Pass the symbol type to arm_type_of_stub. - (elf32_arm_allocate_irelocs): New function. - (elf32_arm_add_dynreloc): In static objects, use .rel.iplt for - all R_ARM_IRELATIVE. - (elf32_arm_allocate_plt_entry): New function. - (elf32_arm_populate_plt_entry): Likewise. - (elf32_arm_final_link_relocate): Add an st_type parameter. - Set srelgot to null for static objects. Use separate variables - to record which st_value and st_type should be used when generating - a dynamic relocation. Use elf32_arm_get_plt_info to find the - symbol's PLT information, setting has_iplt_entry, splt, - plt_offset and gotplt_offset accordingly. Check whether - STT_GNU_IFUNC symbols should resolve to an .iplt entry, and change - the relocation target accordingly. Broaden assert to include - .iplts. Don't set sreloc for static relocations. Assert that - we only generate dynamic R_ARM_RELATIVE relocations for R_ARM_ABS32 - and R_ARM_ABS32_NOI. Generate R_ARM_IRELATIVE relocations instead - of R_ARM_RELATIVE relocations if the target is an STT_GNU_IFUNC - symbol. Pass the symbol type to arm_type_of_stub. Conditionally - resolve GOT references to the .igot.plt entry. - (elf32_arm_relocate_section): Update the call to - elf32_arm_final_link_relocate. - (elf32_arm_gc_sweep_hook): Use elf32_arm_get_plt_info to get PLT - information. Treat R_ARM_REL32 and R_ARM_REL32_NOI as call - relocations in shared libraries and relocatable executables. - Count non-call PLT references. Use elf32_arm_get_local_dynreloc_list - to get the list of dynamic relocations for a local symbol. - (elf32_arm_check_relocs): Always create ifunc sections. Set isym - at the same time as setting h. Use elf32_arm_allocate_local_sym_info - to allocate local symbol information. Treat R_ARM_REL32 and - R_ARM_REL32_NOI as call relocations in shared libraries and - relocatable executables. Record PLT information for local - STT_GNU_IFUNC functions as well as global functions. Count - non-call PLT references. Use elf32_arm_get_local_dynreloc_list - to get the list of dynamic relocations for a local symbol. - (elf32_arm_adjust_dynamic_symbol): Handle STT_GNU_IFUNC symbols. - Don't remove STT_GNU_IFUNC PLTs unless all references have been - removed. Update after the changes to elf32_arm_link_hash_entry. - (allocate_dynrelocs_for_symbol): Decide whether STT_GNU_IFUNC PLT - entries should live in .plt or .iplt. Check whether the .igot.plt - and .got entries can be combined. Use elf32_arm_allocate_plt_entry - to allocate .plt and .(i)got.plt entries. Detect which .got - entries will need R_ARM_IRELATIVE relocations and use - elf32_arm_allocate_irelocs to allocate them. Likewise other - non-.got dynamic relocations. - (elf32_arm_size_dynamic_sections): Allocate .iplt, .igot.plt - and dynamic relocations for local STT_GNU_IFUNC symbols. - Check whether the .igot.plt and .got entries can be combined. - Detect which .got entries will need R_ARM_IRELATIVE relocations - and use elf32_arm_allocate_irelocs to allocate them. Use stashed - section pointers intead of strcmp checks. Handle iplt and igotplt. - (elf32_arm_finish_dynamic_symbol): Use elf32_arm_populate_plt_entry - to fill in .plt, .got.plt and .rel(a).plt entries. Point - STT_GNU_IFUNC symbols at an .iplt entry if non-call relocations - resolve to it. - (elf32_arm_output_plt_map_1): New function, split out from - elf32_arm_output_plt_map. Handle .iplt entries. Use - elf32_arm_plt_needs_thumb_stub_p. - (elf32_arm_output_plt_map): Call it. - (elf32_arm_output_arch_local_syms): Add mapping symbols for - local .iplt entries. - (elf32_arm_swap_symbol_in): Handle Thumb STT_GNU_IFUNC symbols. - (elf32_arm_swap_symbol_out): Likewise. - (elf32_arm_add_symbol_hook): New function. - (elf_backend_add_symbol_hook): Define for all targets. - -2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> - - * elf-bfd.h (elf_link_hash_entry): Add target_internal. - * elf.c (swap_out_syms): Set st_target_internal for each - Elf_Internal_Sym. - * elfcode.h (elf_swap_symbol_in): Likewise. - * elf32-i370.c (i370_elf_finish_dynamic_sections): Likewise. - * elf32-sh-symbian.c (sh_symbian_relocate_section): Likewise. - * elf64-sparc.c (elf64_sparc_output_arch_syms): Likewise. - * elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections): Likewise. - * elflink.c (elf_link_output_extsym): Likewise. - (bfd_elf_final_link): Likewise. - (elf_link_add_object_symbols): Copy st_target_internal - to the hash table if we see a definition. - (_bfd_elf_copy_link_hash_symbol_type): Copy target_internal. - * elf32-arm.c (elf32_arm_stub_hash_entry): Replace st_type with - a branch_type field. - (a8_erratum_fix, a8_erratum_reloc): Likewise. - (arm_type_of_stub): Replace actual_st_type with an - actual_branch_type parameter. - (arm_build_one_stub): Use branch types rather than st_types to - determine the type of branch. - (cortex_a8_erratum_scan): Likewise. - (elf32_arm_size_stubs): Likewise. - (bfd_elf32_arm_process_before_allocation): Likewise. - (allocate_dynrelocs_for_symbol): Likewise. - (elf32_arm_finish_dynamic_sections): Likewise. - (elf32_arm_final_link_relocate): Replace sym_flags parameter with - a branch_type parameter. - (elf32_arm_relocate_section): Update call accordingly. - (elf32_arm_adjust_dynamic_symbol): Don't check STT_ARM_TFUNC. - (elf32_arm_output_map_sym): Initialize st_target_internal. - (elf32_arm_output_stub_sym): Likewise. - (elf32_arm_symbol_processing): Delete. - (elf32_arm_swap_symbol_in): Convert STT_ARM_TFUNCs into STT_FUNCs. - Use st_target_internal to record the branch type. - (elf32_arm_swap_symbol_out): Use st_target_internal to test for - Thumb functions. - (elf32_arm_is_function_type): Delete. - (elf_backend_symbol_processing): Likewise. - (elf_backend_is_function_type): Likewise. - -2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> - - * elf32-arm.c (elf32_arm_check_relocs): Always assign a dynobj. - (elf32_arm_finish_dynamic_sections): Move sgot != NULL assertion - into the PLT block. - -2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> - - * elf32-arm.c (elf32_arm_check_relocs): Use call_reloc_p, - may_need_local_target_p and may_become_dynamic_p to classify - the relocation type. Don't check info->symbolic or h->def_regular - when deciding whether to record a potential dynamic reloc. - Don't treat potential dynamic relocs as PLT references. - (elf32_arm_gc_sweep_hook): Update to match. Assert that we don't - try to make the PLT reference count go negative. - -2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> - - * elf32-arm.c (elf32_arm_final_link_relocate): Always fill in the - GOT entry here, rather than leaving it to finish_dynamic_symbol. - Only create a dynamic relocation for local references if - info->shared. - (allocate_dynrelocs_for_symbol): Update dynamic relocation - allocation accordingly. - (elf32_arm_finish_dynamic_symbol): Don't initialise the GOT entry here. - -2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> - - * elf32-arm.c (elf32_arm_allocate_dynrelocs): New function. - (elf32_arm_add_dynreloc): Likewise. - (elf32_arm_adjust_dynamic_symbol): Use elf32_arm_allocate_dynrelocs - to allocate dynamic relocations. - (elf32_arm_size_dynamic_sections): Likewise. - (allocate_dynrelocs): Likewise. Rename to - allocate_dynrelocs_for_symbol. - (elf32_arm_final_link_relocate): Use elf32_arm_add_dynreloc to - create dynamic relocations. - (elf32_arm_finish_dynamic_symbol): Likewise. - -2011-03-12 H.J. Lu <hongjiu.lu@intel.com> - - * elf64-x86-64.c (elf_x86_64_check_tls_transition): Supprt TLS - x32 GD->IE and GD->LE transitions. - (elf_x86_64_relocate_section): Supprt TLS x32 GD->IE, GD->LE - and LD->LE transitions. - -2011-03-10 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c (ppc64_elf_relocate_section): Provide section/offset - for LO_DS error message and correct multiple. - -2011-03-10 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c (bfd_elf64_bfd_link_just_syms): Define. - (ppc64_elf_link_just_syms): New function. - (opd_entry_value): Don't assume big-endian host. - (get_r2off): New function. - (ppc_build_one_stub, ppc_size_one_stub): Use it here. - -2011-03-06 Michael Snyder <msnyder@vmware.com> - - * compress.c (bfd_compress_section_contents): Check for out of mem. - - * elf64-x86-64.c (elf_x86_64_relocate_section): Document - that case statement falls through intentionally. - - * elf32-i386.c (elf_i386_relocate_section): Document fall through. - -2011-03-04 Alan Modra <amodra@gmail.com> - - * archive.c (bsd_write_armap): Don't call stat in deterministic - mode, and don't use st_mtime if stat returns error. - -2011-03-03 Michael Snyder <msnyder@vmware.com> - - * elf64-x86-64.c (elf_x86_64_relocate_section): Remove dead code. - - * coff-x86_64.c (coff_amd64_rtype_to_howto): Fencepost error. - - * aoutx.h (aout_final_link): Use sizeof int not sizeof int*. - (aout_link_write_other_symbol): Missing break statement. - - * dwarf2.c (scan_unit_for_symbols): Stop memory leak. - - * archive.c (_bfd_slurp_extended_name_table): Fail if bfd_seek fails. - -2011-03-03 H.J. Lu <hongjiu.lu@intel.com> - - * elf64-x86-64.c (elf_x86_64_check_tls_transition): Supprt TLS - x32 IE->LE transition. - (elf_x86_64_relocate_section): Likewise. - -2011-03-02 Bernd Schmidt <bernds@codesourcery.com> - - * elflink.c (is_reloc_section): Remove function. - (get_dynamic_reloc_section_name): Construct string manually. - -2011-02-28 Kai Tietz <kai.tietz@onevision.com> - - * archive.c (_bfd_find_nested_archive): Use filename_(n)cmp. - (adjust_relative_path): Likewise. - (_bfd_construct_extended_name_table): Likewise. - * corefile.c (generic_core_file_matches_executable_p): Likewise. - * elf32-bfin.c (bfinfdpic_relocate_section): Likewise. - * elf32-frv.c (elf32_frv_relocate_section): Likewise. - * elf32-spu.c (sort_bfds): Likewise. - (spu_elf_auto_overlay): Likewise. - * syms.c (_bfd_stab_section_find_nearest_line): Likewise. - * xcofflink.c (xcoff_set_import_path): Likewise. - * xtensa-isa.c (xtensa_regfile_lookup): Likewise. - (xtensa_regfile_lookup_shortname): Likewise. - -2011-02-28 Alan Modra <amodra@gmail.com> - - PR 12513 - * archive.c (bfd_slurp_bsd_armap_f2): Sanity check parsed_size and - stringsize. Properly sanity check symdef_count. Remove redundant - bfd_release. - -2011-02-25 Rafael Ávila de Espíndola <respindola@mozilla.com> - - * plugin.c (bfd_plugin_object_p): Correctly set the filesize - and handle claim_file seeking. Only try to load the plugin once. - -2011-02-22 Andreas Schwab <schwab@redhat.com> - - * elf32-m68k.c (elf_m68k_finish_dynamic_symbol): For a TLS_GD - relocation read the value from the second GOT slot. - -2011-02-15 Tristan Gingold <gingold@adacore.com> - - * vms-alpha.c (alpha_vms_link_add_archive_symbols): Add a comment. - -2011-02-15 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c (ppc64_elf_edit_toc): Reinstate second read of - toc relocs. Fuss over free(NULL). - -2011-02-14 Mike Frysinger <vapier@gentoo.org> - - * elflink.c (bfd_elf_size_dynamic_sections): Add - bfd_get_symbol_leading_char to the start of newname. - -2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure: Regenerate. - -2011-02-09 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c (ppc64_elf_edit_toc): Don't free toc relocs until - we are done. When optimising large toc, check that a global - symbol on a toc reloc is defined in a kept section. - -2011-02-08 Nick Clifton <nickc@redhat.com> - - PR binutils/12467 - * elf.c (assign_file_positions_for_load_sections): Set the program - header offset and entry size to zero if there are no program - headers. - -2011-02-08 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c (ppc64_elf_edit_toc): Don't segfault on NULL - local_syms when looking for local symbols in .toc. - -2011-02-01 Alan Modra <amodra@gmail.com> - - * elf64-ppc.c (ppc64_elf_next_input_section): Use elf_gp value - for toc pointer on any section having makes_toc_func_call set. - (check_pasted_section): Ensure pasted .init/.fini fragments use - the same toc if any has makes_toc_func_call set. - -2011-01-28 Joseph Myers <joseph@codesourcery.com> - - * elf32-ppc.c (ppc_elf_link_hash_newfunc): Initialize has_sda_refs - field. - -2011-01-22 Richard Sandiford <rdsandiford@googlemail.com> - - * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Ignore - common sections too. - -2011-01-18 H.J. Lu <hongjiu.lu@intel.com> - - * elf64-x86-64.c (elf_backend_want_plt_sym): Redefine to 0 after - Solaris target. - -2011-01-18 Pierre Muller <muller@ics.u-strasbg.fr> - - Fix compilation for mingw64. - * coffcode.h (coff_slurp_symbol_table): Add intptr_t intermediate - typecast to avoid warning. - * elf32-rx.c: Add "bfd_stdint.h" include required for int32_t type - usage. - * elfxx-ia64.c (elfNN_ia64_relax_br): Use intptr_t typeacast instead - of long for pointer to avoid warning. - (elfNN_ia64_relax_brl): Idem. - (elfNN_ia64_install_value): Idem. - * vms-alpha.c (_bfd_vms_slurp_etir): Idem. - -2011-01-17 Richard Sandiford <richard.sandiford@linaro.org> - - * elf32-arm.c (elf32_arm_check_relocs): Check needs_plt rather than - h->needs_plt when deciding whether to record a possible dynamic reloc. - -2011-01-17 Richard Sandiford <richard.sandiford@linaro.org> - - * elf32-arm.c (elf32_arm_gc_sweep_hook): Remove all registered - dynamic relocs for the removed section. - -2011-01-15 H.J. Lu <hongjiu.lu@intel.com> - - * elf64-x86-64.c (elf_x86_64_check_relocs): Check invalid x32 - relocations. - -2011-01-14 H.J. Lu <hongjiu.lu@intel.com> - - * elf64-x86-64.c (elf_x86_64_link_hash_table): Add pointer_r_type. - (elf_x86_64_link_hash_table_create): Set pointer_r_type. - (elf_x86_64_check_relocs): Handle R_X86_64_32 like R_X86_64_64 - for ILP32. Remove ABI_64_P PIC check for R_X86_64_8, - R_X86_64_16, R_X86_64_32 and R_X86_64_32S. - (elf_x86_64_relocate_section): Handle R_X86_64_32 like R_X86_64_64 - for ILP32. - -2011-01-14 Alan Modra <amodra@gmail.com> - - * bfd.c (bfd_perror): Flush stdout before and stderr after printing - error. - (_bfd_default_error_handler): Likewise. - * elf.c (print_segment_map): Likewise. - * libbfd.c (warn_deprecated): Likewise. - * som.c (som_sizeof_headers): No need to do so here. - * coff-i860.c: Replace use of printf for error messages with - _bfd_error_handler. - * coff-ppc.c: Likewise. - * coff-sh.c: Likewise. - * elf32-bfin.c: Likewise. - * elf32-dlx.c: Likewise. - * elf32-mep.c: Likewise. - * elf32-v850.c: Likewise. - * mach-o.c: Likewise. - * pef.c: Likewise. - -2011-01-13 H.J. Lu <hongjiu.lu@intel.com> - - * elf64-x86-64.c (elf_x86_64_link_hash_table): Remove - swap_reloca_out. - (elf_x86_64_link_hash_table_create): Don't set swap_reloca_out. - (elf_x86_64_check_relocs): Align relocation section to 4 byte - for 32bit. - (elf_x86_64_gc_sweep_hook): Replace ELF64_ST_TYPE with - ELF_ST_TYPE. - (elf_x86_64_finish_dynamic_symbol): Updated. - (elf_x86_64_finish_dynamic_sections): Don't use - Elf64_External_Dyn, bfd_elf64_swap_dyn_in, nor - bfd_elf64_swap_dyn_out. - -2011-01-14 J. Park <grassman@gmail.com> - - PR ld/12339 - * elf32-arm.c (allocate_dynrelocs): Don't set up eh before - following bfd_link_hash_warning symbol link. - -2011-01-10 Nathan Sidwell <nathan@codesourcery.com> - Glauber de Oliveira Costa <glommer@gmail.com> - - * reloc.c (BFD_RELOC_ARM_TLS_GOTDESC, BFD_RELOC_ARM_TLS_CALL, - BFD_RELOC_ARM_THM_TLS_CALL, BFD_RELOC_ARM_TLS_DESCSEQ, - BFD_RELOC_ARM_THM_TLS_DESCSEQ, BFD_RELOC_ARM_TLS_DESC): New - relocations. - * libbfd.h: Rebuilt. - * bfd-in2.h: Rebuilt. - * elf32-arm.c (elf32_arm_howto_table_1): Add new relocations. - (elf32_arm_reloc_map): Likewise. - (tls_trampoline, dl_tlsdesc_lazy_trampoline): New PLT templates. - (elf32_arm_stub_long_branch_any_tls_pic, - elf32_arm_stub_long_branch_v4t_thumb_tls_pic): New stub templates. - (DEF_STUBS): Add new stubs. - (struct_elf_arm_obj_data): Add local_tlsdesc_gotent field. - (elf32_arm_local_tlsdesc_gotent): New. - (GOT_TLS_GDESC): New mask. - (GOT_TLS_GD_ANY): Define. - (struct elf32_arm_link_hash_entry): Add tlsdesc_got field. - (elf32_arm_compute_jump_table_size): New. - (struct elf32_arm_link_hash_table): Add next_tls_desc_index, - num_tls_desc, dt_tlsdesc_plt, dt_tlsdesc_got, tls_trampoline, - sgotplt_jump_table_size fields. - (elf32_arm_link_hash_newfunc): Initialize tlsdesc_got field. - (elf32_arm_link_hash_table_create): Initialize new fields. - (arm_type_of_stub): Check TLS desc relocs too. - (elf32_arm_stub_name): TLS desc relocs can be shared. - (elf32_arm_tls_transition): Determine relaxation. - (arm_stub_required_alignment): Add tls stubs. - (elf32_arm_size_stubs): Likewise. - (elf32_arm_tls_relax): Perform TLS relaxing. - (elf32_arm_final_link_relocate): Process TLS DESC relocations. - (IS_ARM_TLS_GNU_RELOC): New. - (IS_ARM_TLS_RELOC): Use it. - (elf32_arm_relocate_section): Perform TLS relaxing. - (elf32_arm_check_relocs): Anticipate TLS relaxing, process tls - desc relocations. - (allocate_dynrelocs): Allocate tls desc relcoations. - (elf32_arm_output_arch_local_syms): Emit tls trampoline mapping - symbols. - (elf32_arm_size_dynamic_sections): Allocate tls trampolines and - got slots. - (elf32_arm_always_size_sections): New. Create _TLS_MODULE_BASE - symbol. - (elf32_arm_finish_dynamic_symbol): Adjust. - (arm_put_trampoline): New. - (elf32_arm_finish_dynamic_sections): Emit new dynamic tags and tls - trampolines. - (elf_backend_always_size_sections): Define. - -2011-01-06 H.J. Lu <hongjiu.lu@intel.com> - - * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Optimized. - -2011-01-06 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12366 - PR ld/12371 - * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Properly - handle symbols marked with regular reference, but not non-GOT - reference when building shared library. - - * elf32-i386.c (elf_i386_gc_sweep_hook): Properly handle - local and global STT_GNU_IFUNC symols when building shared - library. - * elf64-x86-64.c (elf_x86_64_gc_sweep_hook): Likewise. - -2011-01-05 DJ Delorie <dj@redhat.com> - - * reloc.c: Add BFD_RELOC_RX_OP_NEG. - * libbfd.h: Regenerate. - * bfd-in2.h: Regenerate. - * elf32-rx.c: Add it to the list, corresponding to R_RX_OPneg. - -2011-01-03 H.J. Lu <hongjiu.lu@intel.com> - - * cpu-i386.c (bfd_i386_compatible): New. - (bfd_x64_32_arch_intel_syntax): Replace bfd_default_compatible - with bfd_i386_compatible. - (bfd_x86_64_arch_intel_syntax): Likewise. - (bfd_i386_arch_intel_syntax): Likewise. - (i8086_arch): Likewise. - (bfd_x64_32_arch): Likewise. - (bfd_x86_64_arch): Likewise. - (bfd_i386_arch): Likewise. - -For older changes see ChangeLog-2010 +For older changes see ChangeLog-2011 Local Variables: mode: change-log diff --git a/bfd/ChangeLog-2011 b/bfd/ChangeLog-2011 new file mode 100644 index 0000000..9af9565 --- /dev/null +++ b/bfd/ChangeLog-2011 @@ -0,0 +1,3383 @@ +2011-12-24 Jan Kratochvil <jan.kratochvil@redhat.com> + + * elf32-rl78.c (rl78_elf_relocate_section, rl78_dump_symtab) + (rl78_elf_relax_section): Remove debug prints. + +2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com> + + * elf32-rl78.c (rl78_elf_relocate_section, rl78_elf_relax_section): Use + BFD_VMA_FMT. + +2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com> + + * elf32-rl78.c (prev_alignment, sec_start): Remove unused variables. + +2011-12-23 Tristan Gingold <gingold@adacore.com> + + * vms-lib.c (vms_traverse_index): Move pointer update code. + +2011-12-22 DJ Delorie <dj@redhat.com> + + * elf32-rl78.c (rl78_elf_howto_table): Add R_RL78_RH_RELAX. + (rl78_reloc_map): Add BFD_RELOC_RL78_RELAX. + (rl78_elf_relocate_section): Add R_RL78_RH_RELAX, R_RL78_RH_SFR, + and R_RL78_RH_SADDR. + (rl78_elf_finish_dynamic_sections): Only validate PLT section if + we didn't relax anything, as relaxing might remove a PLT reference + after we've set up the table. + (elf32_rl78_relax_delete_bytes): New. + (reloc_bubblesort): New. + (rl78_offset_for_reloc): New. + (relax_addr16): New. + (rl78_elf_relax_section): Add support for relaxing long + instructions into short ones. + +2011-12-22 Martin Schwidefsky <schwidefsky@de.ibm.com> + + * elf32-s390.c (elf_s390_relocate_section): Add check for debugging + section in LD to LE linker relaxation for R_390_TLS_LDO32. + * elf64-s390.c (elf_s390_relocate_section): Likewise for + R_390_TLS_LDO64. + +2011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org> + + * elf32-arm.c (elf32_arm_nabi_grok_psinfo): Fill in core_pid. + +2011-12-19 Iain Sandoe <idsandoe@googlemail.com> + + * mach-o-i386.c (bfd_mach_o_section_type_valid_for_tgt): Define NULL. + * mach-o-target.c (bfd_mach_o_backend_data): Initialize + bfd_mach_o_section_type_valid_for_tgt + * mach-o-x86-64.c (bfd_mach_o_section_type_valid_for_x86_64): New. + (bfd_mach_o_section_type_valid_for_tgt): Set to + bfd_mach_o_section_type_valid_for_x86_64. + * mach-o.c (bfd_mach_o_section_type_name): Reorder and eliminate dup. + (bfd_mach_o_section_attribute_name): Reorder. + (bfd_mach_o_get_section_type_from_name): If the target has defined a + validator for section types, then use it. + * mach-o.h (bfd_mach_o_get_section_type_from_name): Alter declaration + to include the bfd. + +2011-12-19 Chung-Lin Tang <cltang@codesourcery.com> + + * reloc.c (BFD_RELOC_MIPS16_TLS_GD,BFD_RELOC_MIPS16_TLS_LDM, + BFD_RELOC_MIPS16_TLS_DTPREL_HI16,BFD_RELOC_MIPS16_TLS_DTPREL_LO16, + BFD_RELOC_MIPS16_TLS_GOTTPREL,BFD_RELOC_MIPS16_TLS_TPREL_HI16, + BFD_RELOC_MIPS16_TLS_TPREL_LO16): New relocations for MIPS16 TLS. + * bfd-in2.h (bfd_reloc_code_real): Regenerate. + * libbfd.h (bfd_reloc_code_real_names): Regenerate. + * elf32-mips.c (elf_mips16_howto_table_rel): Add R_MIPS16_TLS_* + entries. + (mips16_reloc_map): Add BFD_RELOC_MIPS16_TLS_* to R_MIPS16_TLS_* + mappings. + * elfn32-mips.c (elf_mips16_howto_table_rel, + elf_mips16_howto_table_rela): Add R_MIPS16_TLS_* entries. + (mips16_reloc_map): Add BFD_RELOC_MIPS16_TLS_* to R_MIPS16_TLS_* + mappings. + * elf64-mips.c (mips16_elf64_howto_table_rel, + mips16_elf64_howto_table_rela): Add R_MIPS16_TLS_* entries. + (mips16_reloc_map): Add BFD_RELOC_MIPS16_TLS_* to R_MIPS16_TLS_* + mappings. + * elfxx-mips.c (TLS_RELOC_P,mips16_reloc_p, + _bfd_mips_elf_check_relocs): Add cases for R_MIPS16_TLS_* relocations. + (tls_gd_reloc_p): Add R_MIPS16_TLS_GD case. + (tls_ldm_reloc_p): Add R_MIPS16_TLS_LDM case. + (tls_gottprel_reloc_p): Add R_MIPS16_TLS_GOTTPREL case. + (mips_elf_calculate_relocation): Add cases for R_MIPS16_TLS_*, + R_MIPS_TLS_DTPREL32/64, and R_MIPS_TLS_TPREL32/64 relocations. + +2011-12-19 Chung-Lin Tang <cltang@codesourcery.com> + Catherine Moore <clm@codesourcery.com> + Sandra Loosemore <sandra@codesourcery.com> + Richard Sandiford <rdsandiford@googlemail.com> + + * elfxx-mips.c (mips_elf_local_pic_function_p): Return true when + H is a MIPS16 function with a kept 32-bit stub. Update comments. + (mips_elf_get_la25_target): New function. + (mips_elf_add_la25_intro): Change to use mips_elf_get_la25_target(). + (mips_elf_add_la25_stub): Move compute of use_trampoline_p down, + change to use mips_elf_get_la25_target(). + (mips_elf_relocation_needs_la25_stub): Add target_is_16_bit_code_p + parameter, add switch case for R_MIPS16_26. + (mips_elf_calculate_relocation): Redirect relocation to point to the + LA25 stub if it exists, instead of the MIPS16 stub. Update arguments + of call to mips_elf_relocation_needs_la25_stub(), don't use la25 stub + for mips16->mips16 calls. + (_bfd_mips_elf_check_relocs): Update arguments of call to + mips_elf_relocation_needs_la25_stub(). + (mips_elf_create_la25_stub): Change to use mips_elf_get_la25_target(). + +2011-12-16 Shinichiro Hamaji <shinichiro.hamaji@gmail.com> + + * mach-o-i386.c (TARGET_PRIORITY): Define as 0 (top priority) + * mach-o-target.c (TARGET_NAME): Use TARGET_PRIORITY + * mach-o-x86-64.c (TARGET_PRIORITY): Define as 0 (top priority) + * mach-o.c (bfd_mach_o_header_p): Remove special handling for + mach-o-i386. + (TARGET_PRIORITY) Set 1 for mach-o-be and mach-o-le, and set 0 for + mach-o-fat. + +2011-12-15 Kevin Buettner <kevinb@redhat.com> + + * elf32-am33lin.c (elf32_am33lin_grok_prstatus): Add case + to correspond to a smaller ELF_NGREG defined by the kernel. + +2011-12-15 H.J. Lu <hongjiu.lu@intel.com> + + * elf64-x86-64.c (ELF32_DYNAMIC_INTERPRETER): Set to + "/lib/ldx32.so.1". + +2011-12-15 Iain Sandoe <iains@gcc.gnu.org> + + * mach-o.c (bfd_mach_o_mkobject_init): Initialize dyn_reloc_cache. + (bfd_mach_o_close_and_cleanup): Only cleanup Mach-O private data + for object files. + +2011-12-15 Shinichiro Hamaji <shinichiro.hamaji@gmail.com> + + * mach-o.c (bfd_mach_o_canonicalize_reloc): Update relocation + table only when there isn't the cahce. + (bfd_mach_o_get_dynamic_reloc_upper_bound): Need one more space + for a pointer for the watchdog. + (bfd_mach_o_canonicalize_dynamic_reloc): Utilize cache like + bfd_mach_o_canonicalize_reloc. + (bfd_mach_o_close_and_cleanup): Call bfd_mach_o_free_cached_info. + (bfd_mach_o_free_cached_info): Free up cache data. + * mach-o.h (reloc_cache): A place to store cache of dynamic relocs. + (bfd_mach_o_free_cached_info): Add declaration. + +2011-12-15 Iain Sandoe <iains@gcc.gnu.org> + + * mach-o-target.c (bfd_mach_o_bfd_set_private_flags): Use + bfd_mach_o_bfd_set_private_flags. + * mach-o.c (bfd_mach_o_bfd_set_private_flags): New. + * mach-o.h (bfd_mach_o_bfd_set_private_flags): Declare. + +2011-12-14 Nick Clifton <nickc@redhat.com> + + PR ld/12451 + * elfcode.h (elf_checksum_contents): Read in the section's + contents if they are not already available, and the section + actually has some contents. + + * compress.c (bfd_get_full_section_contents): Use zmalloc to + allocate the buffers so that excess bytes are guaranteed to be + zero. + +2011-12-14 Iain Sandoe <iains@gcc.gnu.org> + + * mach-o-i386.c (text_section_names_xlat): New table. + (data_section_names_xlat): Likewise. + (import_section_names_xlat): Likewise. + (mach_o_i386_segsec_names_xlat): Likewise. + (bfd_mach_o_tgt_seg_table): Use new tables. + * mach-o-x86-64.c (bfd_mach_o_tgt_seg_table): Set NULL. + * mach-o.c (mach_o_section_name_xlat, mach_o_segment_name_xlat): + Move to mach-o.h as typedefs. + (text_section_names_xlat): Update for current GCC usage. + (data_section_names_xlat): Likewise. + (dwarf_section_names_xlat): Likewise. + (objc_section_names_xlat): New table. + (segsec_names_xlat): Add objc table. + (bfd_mach_o_normalize_section_name): Replace with... + (bfd_mach_o_section_data_for_mach_sect): New. + (bfd_mach_o_section_data_for_bfd_name): New. + (bfd_mach_o_section_data_for_bfd_name): Update to use additional data. + (bfd_mach_o_convert_section_name_to_mach_o): Likewise. + (bfd_mach_o_bfd_copy_private_section_data): Implement. + (bfd_mach_o_write_symtab): Write a zero-length string as the first entry + for compatibility with system tools. + (bfd_mach_o_build_commands): Update section alignment info. + (bfd_mach_o_new_section_hook): Use translation table data to define + default section flags, type, attributes and alignment, when available. + (bfd_mach_o_init_section_from_mach_o): Add TODO comment. + (bfd_mach_o_section_type_name): Add 'symbol_stubs'. + (bfd_mach_o_section_attribute_name): Add 'self_modifying_code'. + (bfd_mach_o_get_section_type_from_name): Change "not-found" return + value. + (bfd_mach_o_tgt_seg_table): Set default NULL. + * mach-o.h (bfd_mach_o_segment_command): Use define for name length. + (bfd_mach_o_backend_data): Move until after contents are defined. + (bfd_mach_o_normalize_section_name): Remove. + (bfd_mach_o_convert_section_name_to_bfd): Declare. + (mach_o_section_name_xlat): Declare. + (mach_o_segment_name_xlat): Declare. + (bfd_mach_o_section_data_for_mach_sect): Declare. + (bfd_mach_o_section_data_for_bfd_name): Declare. + +2011-12-13 Shinichiro Hamaji <shinichiro.hamaji@gmail.com> + + * dwarf2.c (bfd_dwarf2_cleanup_debug_info): Accept stash as an + argument like other functions to support formats other than ELF. + * elf-bfd.h (bfd_dwarf2_cleanup_debug_info): Move to bfd-in.h. + * elf.c (_bfd_elf_close_and_cleanup): Pass dwarf2_find_line_info + in tdata as a parameter. + * libbfd-in.h (bfd_dwarf2_cleanup_debug_info): Move from + elf-bfd.h. + * libbfd.h (bfd_dwarf2_cleanup_debug_info): Regenerate. + * mach-o-target.c (bfd_mach_o_close_and_cleanup): Remove the + fallback macro. + (bfd_mach_o_find_nearest_line): Likewise. + * mach-o.c (bfd_mach_o_find_nearest_line): Add the definition + which calls _bfd_dwarf2_find_nearest_line. + (bfd_mach_o_close_and_cleanup): Likewise. + * mach-o.h (mach_o_data_struct): Add dwarf2_find_line_info. + (bfd_mach_o_find_nearest_line): Add declaration. + (bfd_mach_o_close_and_cleanup): Add declaration. + +2011-12-13 Tristan Gingold <gingold@adacore.com> + + * mach-o.c (bfd_mach_o_read_symtab_symbols): Make global. Remove + prototype. + (bfd_mach_o_section_get_entry_size): Make global. + (bfd_mach_o_section_get_nbr_indirect): Likewise. + (bfd_mach_o_read_symtab_strtab): Likewise. + (struct bfd_mach_o_xlat_name): Move to mach-o.h + (bfd_mach_o_print_flags): Move to binutils/od-macho.c + (bfd_mach_o_get_name_of_null, bfd_mach_o_get_name): Likewise. + (bfd_mach_o_cpu_name, bfd_mach_o_filetype_name): Likewise. + (bfd_mach_o_header_flags_name): Likewise. + (bfd_mach_o_load_command_name): Likewise. + (bfd_mach_o_print_private_header): Likewise. + (bfd_mach_o_print_section_map, bfd_mach_o_print_section): Likwise. + (bfd_mach_o_print_segment, bfd_mach_o_print_dysymtab): Likewise. + (bfd_mach_o_print_dyld_info): Likewise. + (bfd_mach_o_print_private_bfd_data): Remove. + (bfd_mach_o_type_name): Make global. + (bfd_mach_o_section_attribute_name): Likewise. + * mach-o.h (bfd_mach_o_xlat_name): Added. + (bfd_mach_o_section_get_nbr_indirect) + (bfd_mach_o_section_get_entry_size) + (bfd_mach_o_read_symtab_symbols) + (bfd_mach_o_read_symtab_strtab) + (bfd_mach_o_section_attribute_name) + (bfd_mach_o_section_type_name): Likewise. + * mach-o-target.c (bfd_mach_o_bfd_print_private_bfd_data): Define. + +2011-12-13 Chung-Lin Tang <cltang@codesourcery.com> + + * elfxx-mips.c (mips_elf_calculate_relocation): Correct + R_MIPS16_HI16/R_MIPS16_LO16 handling of two cleared lower bits, + update comments. + +2011-12-12 Iain Sandoe <iains@gcc.gnu.org> + + * mach-o.c (bfd_mach_o_read_section_32): Null-terminate sectname. + (bfd_mach_o_read_section_64): Likewise. + +2011-12-11 John Davis Anglin <dave.anglin@nrc-cnrc.gc.ca> + + PR binutils/13476 + * elf32-hppa.c (final_link_relocate): Convert R_PARISC_TLS_GD21L, + R_PARISC_TLS_LDM21L and R_PARISC_TLS_IE21L relocations to + R_PARISC_DPREL21L when not doing a shared link. Likewise convert + R_PARISC_TLS_GD14R, R_PARISC_TLS_LDM14R and R_PARISC_TLS_IE14R to + R_PARISC_DPREL14R. Handle R_PARISC_TLS_GD21L, R_PARISC_TLS_LDM21L + and R_PARISC_TLS_IE21L with R_PARISC_DLTIND21L. + +2011-12-10 David Daney <david.daney@cavium.com> + + * elfxx-mips.c (mips_elf_link_hash_table.rld_value): Remove. + (mips_elf_link_hash_table.rld_symbol): New field; + (MIPS_ELF_RLD_MAP_SIZE): New macro. + (_bfd_mips_elf_add_symbol_hook): Remember __rld_obj_head symbol + in rld_symbol. + (_bfd_mips_elf_create_dynamic_sections): Remember __rld_map symbol + in rld_symbol. + (_bfd_mips_elf_size_dynamic_sections): Set correct size for .rld_map. + (_bfd_mips_elf_finish_dynamic_symbol): Remove .rld_map handling. + (_bfd_mips_elf_finish_dynamic_sections): Use rld_symbol to + calculate DT_MIPS_RLD_MAP value. + (_bfd_mips_elf_link_hash_table_create): Initialize rld_symbol, + quit initializing rld_value. + +2011-12-08 Andrew Pinski <apinski@cavium.com> + Adam Nemet <anemet@caviumnetworks.com> + + * archures.c (bfd_mach_mips_octeon2): New macro + * bfd-in2.h: Regenerate. + * cpu-mips.c (I_mipsocteon2): New enum value. + (arch_info_struct): Add bfd_mach_mips_octeon2. + * elfxx-mips.c (_bfd_elf_mips_mach): Support E_MIPS_MACH_OCTEON2. + (mips_set_isa_flags): Add bfd_mach_mips_octeon2. + (mips_mach_extensions): Add bfd_mach_mips_octeon2. + +2011-12-07 Alan Modra <amodra@gmail.com> + + PR ld/12772 + * elflink.c (elf_gc_sweep_symbol): Discard unmarked symbols + defined in shared libraries. + +2011-12-07 Tristan Gingold <gingold@adacore.com> + + * mach-o.c (bfd_mach_o_canonicalize_symtab): Fix indentation. + Adjust the condition. + (bfd_mach_o_read_symtab_symbol): Now returns a bfd_boolean. + Adjust return statements. + (bfd_mach_o_read_symtab_strtab): Likewise. + (bfd_mach_o_read_symtab_symbols): Likewise. + (bfd_mach_o_scan_start_address): Likewise. Make it static. + (bfd_mach_o_scan): Likewise. + (bfd_mach_o_read_dysymtab_symbol): Remove unused function. + (bfd_mach_o_header_p): Adjust call. + (bfd_mach_o_cpu_name): Make it const. + (bfd_mach_o_filetype_name): Likewise. + (bfd_mach_o_header_flags_name): Likewise. + (bfd_mach_o_section_type_name): Likewise. + (bfd_mach_o_section_attribute_name): Likewise. + (bfd_mach_o_load_command_name): Likewise. + (bfd_mach_o_get_section_type_from_name): Add a const qualifier + after above change. + (bfd_mach_o_get_section_attribute_from_name): Likewise. + * mach-o.h (bfd_mach_o_read_dysymtab_symbol) + (bfd_mach_o_scan_start_address, bfd_mach_o_scan): Remove. + +2011-12-06 Ulrich Weigand <uweigand@de.ibm.com> + + * elf-bfd.h (elfcore_write_s390_last_break): Add prototype. + (elfcore_write_s390_system_call): Likewise. + * elf.c (elfcore_write_s390_last_break): New function. + (elfcore_write_s390_system_call): Likewise. + (elfcore_write_register_note): Call them. + (elfcore_grok_s390_last_break): New function. + (elfcore_grok_s390_system_call): Likewise. + (elfcore_grok_note): Call them. + +2011-12-05 Tristan Gingold <gingold@adacore.com> + + * mach-o.c (bfd_mach_o_read_symtab_symbol): Accept indirect symbols. + +2011-12-05 Tristan Gingold <gingold@adacore.com> + + * mach-o.c (bfd_mach_o_write_contents): Handle LC_LOAD_UPWARD_DYLIB. + (bfd_mach_o_read_dylib): Likewise. + (bfd_mach_o_read_command): Likewise. + (bfd_mach_o_bfd_print_private_bfd_data): Likewise. + +2011-12-05 Tristan Gingold <gingold@adacore.com> + + * mach-o.c (bfd_mach_o_read_command): Add the bfd in the error + message. + (bfd_mach_o_openr_next_archived_file): Use arch name as member name. + (bfd_mach_o_fat_extract): Ditto. + +2011-12-03 Alan Modra <amodra@gmail.com> + + PR ld/13468 + * elflink.c (bfd_elf_final_link): Don't segfault when checking + for DT_TEXTREL and .dynamic does not exist. + +2011-12-03 Alan Modra <amodra@gmail.com> + + PR ld/13470 + * elf32-ppc.c (ppc_elf_copy_indirect_symbol): Revert substantive + change in 2011-07-01 commit. Comment. + * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise. + +2011-12-01 Mikael Pettersson <mikpe@it.uu.se> + + * elf32-m68k.c (elf_m68k_check_relocs) <R_68K_8, R68K_16, R_68K_32>: For + non-SEC_ALLOC sections break before GOT and PLT accounting. + +2011-12-01 Hans-Peter Nilsson <hp@axis.com> + + * elf32-cris.c (cris_elf_check_relocs) <plt accounting for + R_CRIS_8, R_CRIS_16, and R_CRIS_32>: Move early break for + non-SEC_ALLOC sections before GOT and PLT accounting. + +2011-11-29 Andrew Pinski <apinski@cavium.com> + + * archures.c (bfd_mach_mips_octeonp): New macro. + * bfd-in2.h: Regenerate. + * bfd/cpu-mips.c (I_mipsocteonp): New enum value. + (arch_info_struct): Add bfd_mach_mips_octeonp. + * elfxx-mips.c (mips_set_isa_flags): Add bfd_mach_mips_octeonp. + (mips_mach_extensions): Add bfd_mach_mips_octeonp. + +2011-11-23 Tristan Gingold <gingold@adacore.com> + + * vms-lib.c (get_idxlen): Add comments. Fix type in sizeof. + (vms_write_index): Add comments. + +2011-11-22 DJ Delorie <dj@redhat.com> + + * elf32-rx.c (rx_elf_object_p): Add more checks for "scanning" to + avoid using the special non-swapping target when not explicitly + requested. + +2011-11-22 Daniel Calcoen <Daniel.Calcoen@cern.ch> + + * elf32-rx.c (rx_elf_object_p): Correct typo: lma->vma. + +2011-11-22 Tristan Gingold <gingold@adacore.com> + + * mach-o.c (bfd_mach_o_print_symbol): Display COM for common + symbols. Print section name in brackets. + +2011-11-21 Andreas Tobler <andreast@fgznet.ch> + + * config.bfd: Add vectors for powerpc and powerpc64-freebsd. + * configure.in (TDEFINES): Add rules for powerpc*-freebsd. + * configure: Regenerate. + * elf32-ppc.c: Add powerpc-freebsd definitions. + * elf64-ppc.c: Add powerpc64-freebsd definitions. + * targets.c: Add bits for powerpc and powerpc64-freebsd. + +2011-11-17 Philipp Thomas <philipp@thogro.org> + + * elf32-arm.c (elf32_thumb_to_arm_stub): Sync message so that it + needs to be translated only once. + +2011-11-16 Maciej W. Rozycki <macro@codesourcery.com> + + * elf64-mips.c (mips_elf64_howto_table_rela): Set src_mask to + zero throughout. + (mips16_elf64_howto_table_rela): Likewise. + (micromips_elf64_howto_table_rela): Likewise. + * elfn32-mips.c (elf_mips_howto_table_rela): Likewise. + (elf_mips16_howto_table_rela): Likewise. + (elf_micromips_howto_table_rela): Likewise. + +2011-11-15 Alan Modra <amodra@gmail.com> + Andreas Tobler <andreast@fgznet.ch> + + * elflink.c (_bfd_elf_create_got_section): Replace + bfd_make_section_with_flags with bfd_make_section_anyway_with_flags. + (_bfd_elf_link_create_dynamic_sections): Likewise. + * elf32-ppc.c (ppc_elf_create_glink): Likewise. + (ppc_elf_create_dynamic_sections): Likewise. + +2011-11-14 Maxim Kuvyrkov <maxim@codesourcery.com> + + * elfxx-mips.c (mips_n64_exec_plt0_entry): Use 64-bit move. + +2011-11-08 Nick Clifton <nickc@redhat.com> + + * elf-m10300.c (mn10300_elf_relax_section): Fix check for an + immediate move into an address register. + +2011-11-09 Alan Modra <amodra@gmail.com> + + * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Mark syms in + executables when export_dynamic. + +2011-11-08 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (struct ppc64_elf_obj_tdata): Rename + ha_relocs_not_using_r2 to unexpected_toc_insn. + (ok_lo_toc_insn): New function. + (ppc64_elf_edit_toc): Check insn on lo toc reloc. Emit warning. + (ppc64_elf_relocate_section): Don't check insn on lo toc reloc here. + Handle addic on lo toc reloc. + +2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + PR ld/13387 + * elf32-hppa.c (elf32_hppa_hide_symbol): Make STT_GNU_IFUNC symbol + go through PLT. Reset plt field with init_plt_offset. + (elf32_hppa_adjust_dynamic_symbol): Ensure that a PLT slot is + allocated for symbols referenced by a plabel. + +2011-11-02 DJ Delorie <dj@redhat.com> + + * elf32-rl78.c (rl78_elf_merge_private_bfd_data): Delete unused + variable. + +2011-11-02 Jan Beulich <jbeulich@suse.com> + + * coffgen.c (coff_write_alien_symbol): Make public. Add 'struct + internal_syment *' parameter. Extend 'dummy' to an array with two + elements. Set n_numaux early. Handle BSF_FILE. + (coff_write_symbols): Pass NULL as new third argument to + coff_write_alien_symbol(). + * cofflink.c (_bfd_coff_final_link): Don't use COFF-specific + obj_raw_syment_count() on non-COFF input BFD. Insert local symbols + from non-COFF input BFDs. + * libcoff-in.h (coff_write_alien_symbol): Declare. + * libcoff.h (coff_write_alien_symbol): Re-generate. + +2011-11-01 DJ Delorie <dj@redhat.com> + + * Makefile.am (ALL_MACHINES): Add cpu-rl78.lo. + (ALL_MACHINES_CFILES): Add cpu-rl78.c. + (BFD32_BACKENDS): Add elf32-rl78.lo. + (BFD32_BACKENDS_CFILES): Add elf32-rl78.c. + (Makefile.in): Regenerate. + * archures.c (bfd_architecture): Define bfd_arch_rl78. + (bfd_archures_list): Add bfd_rl78_arch. + * config.bfd: Add rl78-*-elf. + * configure.in: Add bfd_elf32_rl78_vec. + * reloc.c (bfd_reloc_code_type): Add BFD_RELOC_RL78_* relocations. + * targets.c (bfd_target_vector): Add bfd_elf32_rl78_vec. + * Makefile.in: Regenerate. + * bfd-in2.h: Regenerate. + * configure: Regenerate. + * libbfd.h: Regenerate. + * cpu-rl78.c: New file. + * elf32-rl78.c: New file. + +2011-10-26 Nick Clifton <nickc@redhat.com> + + PR ld/13049 + * elf64-ppc.c (STUB_SUFFIX): Revert previous delta. + * elf32-hppa.c (STUB_SUFFIX): Likewise. + +2011-10-25 Joern Rennecke <joern.rennecke@embecosm.com> + + * Makefile.am (ALL_MACHINES): Add cpu-epiphany.lo. + (ALL_MACHINES_CFILES): Add cpu-epiphany.c. + (BFD32_BACKENDS): Add elf32-epiphany.lo. + (BFD32_BACKENDS_CFILES): Add elf32-epiphany.c. + * archures.c (bfd_arch_epiphany): Add. + (bfd_mach_epiphany16, bfd_mach_epiphany32): Define. + (bfd_epiphany_arch): Declare. + (bfd_archures_list): Add &bfd_epiphany_arch. + * config.bfd (epiphany-*-elf): New target case. + * configure.in (bfd_elf32_epiphany_vec): New target vector case. + * reloc.c (BFD_RELOC_EPIPHANY_SIMM8): New relocation. + (BFD_RELOC_EPIPHANY_SIMM24, BFD_RELOC_EPIPHANY_HIGH): Likewise. + (BFD_RELOC_EPIPHANY_LOW, BFD_RELOC_EPIPHANY_SIMM11): Likewise. + (BFD_RELOC_EPIPHANY_IMM11, BFD_RELOC_EPIPHANY_IMM8): Likewise. + * targets.c (bfd_elf32_epiphany_vec): Declare. + (_bfd_target_vector): Add bfd_elf32_epiphany_vec. + * Makefile.in: Regenerate. + * bfd-in2.h: Regenerate. + * configure: Regenerate. + * libbfd.h: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + * po/bfd.pot: Regenerate. + * cpu-epiphany.c: New file. + * elf32-epiphany.c: New file. + +2011-10-24 Maciej W. Rozycki <macro@codesourcery.com> + + * elfxx-mips.c (_bfd_mips_elf_symbol_processing): Remove + assertions. + +2011-10-24 Eugeniy Meshcheryakov <eugen@debian.org> + + PR ld/13273 + * elf32-arm.c (elf32_arm_merge_eabi_attributes): Do not warn about + identical TAG_PCS_config attributes. + +2011-10-24 Nick Clifton <nickc@redhat.com> + + * po/ja.po: Updated Japanese translation. + +2011-10-24 Pau Garcia i Quiles <pgquiles@elpauer.org> + + PR binutils/13292 + * bfd-in.h: Include <sys/stat.h> rather than forward defining + struct stat. + * bfd-in2.h: Regenerate. + +2011-10-21 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/13302 + * elf32-i386.c (elf_i386_relocate_section): Replace + R_386_IRELATIVE with R_386_RELATIVE. + + * elf64-x86-64.c (elf_x86_64_relocate_section): Replace + R_X86_64_IRELATIVE with R_X86_64_RELATIVE. + +2011-10-21 H.J. Lu <hongjiu.lu@intel.com>. + + * elf32-i386.c (elf_i386_relocate_section): Fix a typo in + comments. + * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise. + +2011-10-21 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/13302 + * elf32-i386.c (elf_i386_link_hash_table): Add next_jump_slot_index + and next_irelative_index. + (elf_i386_link_hash_table_create): Initialize next_jump_slot_index + and next_irelative_index. + (elf_i386_allocate_dynrelocs): Increment reloc_count instead of + next_tls_desc_index. + (elf_i386_size_dynamic_sections): Set next_tls_desc_index and + next_irelative_index from reloc_count. + (elf_i386_finish_dynamic_symbol): Put R_386_IRELATIVE after + R_386_JUMP_SLOT. + + * elf64-x86-64.c (elf_x86_64_link_hash_table): Add + next_jump_slot_index and next_irelative_index. + (elf_x86_64_link_hash_table_create): Initialize + next_jump_slot_index and next_irelative_index. + (elf_x86_64_size_dynamic_sections): Set next_irelative_index + from reloc_count. + (elf_x86_64_finish_dynamic_symbol): Put R_X86_64_IRELATIVE after + R_X86_64_JUMP_SLOT. + +2011-10-20 Nick Clifton <nickc@redhat.com> + + PR ld/13049 + * elf32-arm.c (STUB_SUFFIX): Avoid collision with user namespace + symbol names. + * elf64-ppc.c (STUB_SUFFIX): Likewise. + * elf32-hppa.c (STUB_SUFFIX): Likewise. + +2011-10-20 Alan Modra <amodra@gmail.com> + + * elf32-i386.c (i386_opcode16): Delete. + (elf_i386_check_tls_transition): Use memcmp to compare contents. + * elf64-x86-64.c (x86_64_opcode16, x86_64_opcode32): Delete. + (elf_x86_64_check_tls_transition): Use memcmp to compare contents. + +2011-10-19 Alan Modra <amodra@gmail.com> + + PR ld/13177 + * elflink.c (_bfd_elf_gc_mark_rsec): Set symbol "mark". + (elf_gc_sweep_symbol): Don't test plt/got refcounts, instead test + "mark". Hide undefweak too. Clear def_regular and ref_regular. + * elf-m10300.c (mn10300_elf_relocate_section): Ignore unresolved + reloc errors from garbage-collected code. + * elf32-arm.c (elf32_arm_relocate_section): Likewise. + * elf32-bfin.c (bfin_relocate_section): Likewise. + (bfinfdpic_relocate_section): Likewise. + * elf32-cris.c (cris_elf_relocate_section): Likewise. + * elf32-frv.c (elf32_frv_relocate_section): Likewise. + * elf32-i386.c (elf_i386_relocate_section): Likewise. + * elf32-m32r.c (m32r_elf_relocate_section): Likewise. + * elf32-m68k.c (elf_m68k_relocate_section): Likewise. + * elf32-ppc.c (ppc_elf_relocate_section): Likewise. + * elf32-s390.c (elf_s390_relocate_section): Likewise. + * elf32-sh.c (sh_elf_relocate_section): Likewise. + * elf32-spu.c (spu_elf_relocate_section): Likewise. + * elf32-tilepro.c (tilepro_elf_relocate_section): Likewise. + * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise. + * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. + * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. + * elf64-s390.c (elf_s390_relocate_section): Likewise. + * elf64-sh64.c (sh_elf64_relocate_section): Likewise. + * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise. + * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise. + * elfxx-tilegx.c (tilegx_elf_relocate_section): Likewise. + +2011-10-19 Alan Modra <amodra@gmail.com> + + PR ld/13311 + * elflink.c (elf_link_output_extsym): Correct test for warning when + forced local executable syms are referenced from shared libraries. + +2011-10-19 Alan Modra <amodra@gmail.com> + + PR ld/13254 + * elflink.c (bfd_elf_final_link): Emit error_textrel error. + +2011-10-18 David S. Miller <davem@davemloft.net> + + PR binutils/13301 + * elfxx-sparc.c (sparc_elf_find_reloc_at_ofs): New function. + (_bfd_sparc_elf_relocate_section): Always move the __tls_get_addr + call delay slot instruction forward 4 bytes when performing + relaxation. + +2011-10-17 Alan Modra <amodra@gmail.com> + + PR ld/12975 + PR ld/13195 + * elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Apply 2011-09-15 + and 2011-09-29 bfd_elf_gc_mark_dynamic_ref_symbol changes here too. + +2011-10-14 Hans-Peter Nilsson <hp@axis.com> + + * elf32-cris.c (cris_elf_gc_sweep_hook) <R_CRIS_16_GOTPLT> + <R_CRIS_32_GOTPLT>: Fix missing update of gotplt refcount for + global symbols. + <R_CRIS_8, R_CRIS_16, R_CRIS_32>: New cases for similar missing + updates of the plt refcount. + (elf_cris_adjust_gotplt_to_got): Assert integrity of the gotplt + refcount in relation to the plt refcount. + +2011-10-13 Richard Sandiford <richard.sandiford@linaro.org> + + * elf32-arm.c (elf32_arm_final_link_relocate): Mark PLT calls via + stubs as resolved. + +2011-10-11 Alan Modra <amodra@gmail.com> + + PR binutils/13278 + * archive.c (bfd_generic_archive_p): Only check first element + when target_defaulted. + (_bfd_construct_extended_name_table): Use ar_maxnamelen. + (_bfd_archive_bsd44_construct_extended_name_table): Likewise. + +2011-10-11 Alan Modra <amodra@gmail.com> + + PR binutils/13257 + * archive.c (_bfd_find_nested_archive, _bfd_get_elt_at_filepos): Open + thin archive element using container target if not defaulted. + +2011-10-10 Nick Clifton <nickc@redhat.com> + + * po/es.po: Updated Spanish translation. + * po/fi.po: Updated Finnish translation. + * po/fr.po: Updated French translation. + * po/ru.po: Updated Russian translation. + +2011-10-10 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (ppc64_elf_howto_table): Add R_PPC64_TOCSAVE entry. + (struct ppc_link_hash_table): Add tocsave_htab. + (struct tocsave_entry): New. + (tocsave_htab_hash, tocsave_htab_eq, tocsave_find): New functions. + (ppc64_elf_link_hash_table_create): Create tocsave_htab.. + (ppc64_elf_link_hash_table_free): ..and delete it. + (build_plt_stub): Always put STD_R2_40R1 first. + (ppc64_elf_size_stubs): Check for R_PPC64_TOCSAVE following reloc + on plt call. If present add prologue nop location to tocsave_htab. + (ppc64_elf_relocate_section): Convert prologue nop to std. Skip + first insn of plt call stub when R_PPC64_TOCSAVE present. + +2011-10-08 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/13250 + * elflink.c (elf_link_add_object_symbols): Preserve the maximum + alignment and size for common symbols. + +2011-10-08 Alan Modra <amodra@gmail.com> + + PR ld/13229 + PR ld/13244 + * elflink.c (elf_link_add_object_symbols): Don't make IR symbols + dynamic. + +2011-10-08 Alan Modra <amodra@gmail.com> + + PR ld/13229 + * elflink.c (elf_link_output_extsym): Strip defined plugin symbols + even when strip_discarded is false. + +2011-10-05 Kai Tietz <ktietz@redhat.com> + + * coffgen.c (coff_write_alien_symbol): Don't write + symbol for discarded sections, if strip_discarded isn't + explicit set to false. + (coff_write_native_symbol): Likewise. + +2011-10-05 DJ Delorie <dj@redhat.com> + Nick Clifton <nickc@redhat.com> + + * elf32-rx.c: Add support for PID mode. + (rx_elf_relocate_section): Add checks for unsafe PID relocations. + Include addend in R_RX_SYM relocations. + +2011-09-30 Tristan Gingold <gingold@adacore.com> + + * dwarf2.c (struct dwarf2_debug): Add field debug_sections. + (read_section): Add sec argument. Adjust the code to get section + names from it. + (read_indirect_string): Adjust call to read_section. + (read_abbrevs): Ditto. + (decode_line_info): Ditto. + (read_debug_ranges): Ditto. + (DWARF2_DEBUG_INFO, DWARF2_COMPRESSED_DEBUG_INFO): Remove. + (find_debug_info): Add debug_sections parameter. Use it instead + the above macros. + (place_sections): Get section names from stash. + (find_line): Add debug_sections argument. Initialize + debug_sections field of stash from it. + Adjust calls to find_debug_info. + (_bfd_dwarf2_find_nearest_line): Add debug_sections argument. + Adjust call to find_line. + (_bfd_dwarf2_find_line): Adjust call to find_line. + * libcoff-in.h (struct dwarf_debug_section): New declaration. + (coff_find_nearest_line_with_names): Likewise. + * libcoff.h: Regenerate. + * libbfd-in.h (struct dwarf_debug_section): Move declaration. + (dwarf_debug_sections): Likewise. + (_bfd_dwarf2_find_nearest_line): Add debug_sections argument. + * libbfd.h: Regenerate. + * elf.c (_bfd_elf_find_nearest_line): Adjust call to + _bfd_dwarf2_find_nearest_line. + * elfxx-mips.c (_bfd_mips_elf_find_nearest_line): Ditto. + * elf64-alpha.c (elf64_alpha_find_nearest_line): Ditto. + * elf32-arm.c (elf32_arm_find_nearest_line): Ditto. + * coffgen.c (coff_find_nearest_line_with_names): New function. + (coff_find_nearest_line): Calls coff_find_nearest_line_with_names. + * coff-rs6000.c (xcoff_debug_sections): New constant. + (xcoff_find_nearest_line): New function. + (rs6000coff_vec): Use xcoff_find_nearest_line. + (pmac_xcoff_vec): Ditto. + +2011-09-30 Alan Modra <amodra@gmail.com> + + PR ld/13235 + * elf64-ppc.c (struct ppc64_elf_obj_tdata): Add ha_relocs_not_using_r2. + (ppc64_elf_edit_toc): Check HA relocs. + (ha_reloc_match): Delete function. + (ppc64_elf_relocate_section): Remove delayed HA nop optimization. + Instead do it and low part optimization based on + ha_relocs_not_using_r2. + +2011-09-29 Alan Modra <amodra@gmail.com> + + PR ld/13233 + * elflink.c (_bfd_elf_gc_mark_extra_sections): Mark single member + debug and special section groups. + +2011-09-29 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/13195 + * elflink.c (_bfd_elf_merge_symbol): Don't set dynamic_def when + clearing def_dynamic. + (elf_link_add_object_symbols): Likewise. Set dynamic_def when + setting def_dynamic. + (bfd_elf_gc_mark_dynamic_ref_symbol): Check if a symbol is + versioned. + +2011-09-27 Kai Tietz <ktietz@redhat.com> + + * coffcode.h (sec_to_styp_flags): Handle + SEC_LINK_DUPLICATES_SAME_CONTENTS, and + SEC_LINK_DUPLICATES_SAME_SIZE. + +2011-09-22 Tristan Gingold <gingold@adacore.com> + + * configure.in: Bump version to 2.22.51 + * configure: Regenerate. + +2011-09-21 David S. Miller <davem@davemloft.net> + + * elfxx-sparc.c (_bfd_sparc_elf_merge_private_bfd_data): New. + * elfxx-sparc.h: Declare it. + * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Call it. + * elf64-sparc.c (elf64_sparc_merge_private_bfd_data): Likewise. + +2011-09-21 Tristan Gingold <gingold@adacore.com> + + * mach-o.c (bfd_mach_o_convert_section_name_to_bfd): Add comment. + Deals with size limited strings. + (bfd_mach_o_build_commands): Initialize more fields. + +2011-09-15 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/13177 + * elflink.c (elf_gc_sweep_symbol): Also hide symbols without PLT + nor GOT references. + +2011-09-15 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12975 + * bfd-in.h (bfd_elf_size_dynamic_sections): Remove pointer + to struct bfd_elf_version_tree. + + * elflink.c (elf_info_failed): Remove verdefs. + (_bfd_elf_export_symbol): Updated. + _bfd_elf_link_assign_sym_version): Likewise. + (bfd_elf_size_dynamic_sections): Remove pointer to struct + bfd_elf_version_tree. Updated. + (bfd_elf_gc_mark_dynamic_ref_symbol): Check if a symbol is hidden + by linker script. + + * linker.c (bfd_hide_sym_by_version): New. + + * bfd-in2.h: Regenerated. + +2011-09-12 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/13178 + * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Use .got.plt + if there are no GOT relocations. + +2011-09-09 Kai Tietz <ktietz@redhat.com> + + * peicode.h (pe_ILF_build_a_bfd): Don't remove leading underscore + for targets without symbol_leading_char. + +2011-09-08 Bernd Jendrissek <bernd.jendrissek@gmail.com> + + * bfdwin.c (bfd_get_file_window): Fix memory leak. + +2011-09-07 Alan Modra <amodra@gmail.com> + + PR ld/13131 + * bfd/elf64-ppc.c (adjust_toc_syms): Ensure ppc64_elf_howto_table + is initialized. + +2011-09-06 Alan Modra <amodra@gmail.com> + + PR ld/13131 + * elf64-ppc.c (adjust_toc_syms): Delete redundant code. + (ppc64_elf_edit_toc): Fix style nit. Report some details + on linker failure due to reference in debug or non-alloc + sections to optimized away toc entry, and don't abort. + +2011-09-01 Christophe Lyon <christophe.lyon@st.com> + + * elf32-arm.c (elf32_arm_output_arch_local_syms): Skip excluded + sections. + +2011-08-26 Nick Clifton <nickc@redhat.com> + + * po/es.po: Updated Spanish translation. + +2011-08-19 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (ppc64_elf_edit_toc): Ignore can_optimize bit if + we haven't seen expected -mcmodel=medium/large code relocs. + +2011-08-18 Tristan Gingold <gingold@adacore.com> + + * mach-o.c (bfd_mach_o_read_segment): Initialize list. + +2011-08-17 Tristan Gingold <gingold@adacore.com> + + * mach-o.c (bfd_mach_o_write_section_32): Fix typo. + +2011-08-17 Alan Modra <amodra@gmail.com> + + PR ld/12762 + * bfd-in.h (struct bfd_section_already_linked): Forward declare. + (_bfd_handle_already_linked): Declare. + * coff-alpha.c (_bfd_ecoff_section_already_linked): Define as + _bfd_coff_section_already_linked. + * coff-mips.c (_bfd_ecoff_section_already_linked): Likewise. + * coffcode.h (coff_section_already_linked): Likewise. + * cofflink.c (coff_link_add_symbols): Revert 2011-07-09 changes. + * elf-bfd.h: Likewise. + * libbfd-in.h: Likewise. + * targets.c: Likewise. + * linker.c (bfd_section_already_linked): Likewise. + (bfd_section_already_linked_table_lookup): Likewise. + (bfd_section_already_linked_table_insert): Likewise. + (_bfd_generic_section_already_linked): Likewise. Call + _bfd_handle_already_linked. + (_bfd_handle_already_linked): New function, split out from.. + * elflink.c (_bfd_elf_section_already_linked): ..here. Revert + 2011-07-09 changes. Avoid unnecessary strcmp when matching + already_linked_list entries. Match plugin linkonce section. + (section_signature): Delete. + * coffgen.c (_bfd_coff_section_already_linked): New function. + * libcoff-in.h (_bfd_coff_section_already_linked): Declare. + * libbfd.h: Regenerate. + * libcoff.h: Regenerate. + * bfd-in2.h: Regenerate. + +2011-08-14 Alan Modra <amodra@gmail.com> + + * elf32-ppc.c (ppc_elf_select_plt_layout): Force bss-plt when + shared and call to _mcount will go via plt. + +2011-08-14 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c: Prefix all einfo error strings with "%P: ". + * elf32-ppc.c: Likewise. + (ppc_elf_select_plt_layout): Use einfo rather than info to report + forced bss-plt. + +2011-08-12 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/13082 + * elf64-x86-64.c (x86_64_elf_howto_table): Add R_X86_64_RELATIVE64. + (elf_x86_64_relocate_section): Treat R_X86_64_64 like R_X86_64_32 + and zero-extend it to 64bit if addend is zero for x32. Generate + R_X86_64_RELATIVE64 for x32. + +2011-08-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * bfd-in.h (bfd_elf32_arm_set_target_relocs): Update prototype. + * bfd-in2.h (bfd_elf32_arm_set_target_relocs): Likewise. + * elf32-arm.c (elf32_arm_link_hash_table): New field. + (elf232_arm_link_hash_table_create): Initialise new field. + (check_use_blx): Change test depending on fix_arm1176. + (bfd_elf32_arm_set_target_relocs): Set fix_arm1176 from + command line options. + +2011-08-08 Tristan Gingold <gingold@adacore.com> + + * mach-o.c (struct mach_o_segment_name_xlat): Add comments. + (segsec_names_xlat): Reorder elements. + (bfd_mach_o_read_section_32): Fix typo. + (bfd_mach_o_read_section_64): Fix typo. + +2011-08-08 Tristan Gingold <gingold@adacore.com> + + * mach-o.h (BFD_MACH_O_SEGNAME_SIZE): New macro. + (BFD_MACH_O_SECTNAME_SIZE): Ditto. + (bfd_mach_o_section): Use them. Add next field. + (bfd_mach_o_segment_command): Replace sections array by + sect_head and sect_tail. + (bfd_mach_o_get_mach_o_section): New macro. + (bfd_mach_o_lookup_section): Remove. + (bfd_mach_o_new_section_hook): New function. + * mach-o.c (bfd_mach_o_normalize_section_name): Use strncmp + instead of strcmp. + (bfd_mach_o_convert_section_name_to_bfd): Replaces section + parameter with segname and sectname parameters. Adjust. + (bfd_mach_o_append_section_to_segment): New function. Use a + linked list for Mach-O sections. + (bfd_mach_o_write_segment_32): Adjust. + (bfd_mach_o_write_segment_64): Ditto. + (bfd_mach_o_build_commands): Fix comment. Adjust. + (bfd_mach_o_flatten_sections): Adjust. + (bfd_mach_o_print_section_map): Adjust. + (bfd_mach_o_set_section_flags_from_bfd): Ditto. + (bfd_mach_o_new_section_hook): New function. + (bfd_mach_o_init_section_from_mach_o): Ditto. + (bfd_mach_o_read_section_32): Remove section parameter. + Return a section instead. + (bfd_mach_o_read_section_64): Ditto. + (bfd_mach_o_read_section): Ditto. + (bfd_mach_o_make_bfd_section): Adjust. + (bfd_mach_o_read_segment): Adjust for new profile of + bfd_mach_o_read_section. + (bfd_mach_o_lookup_section): Remove. + * mach-o-target.c (bfd_mach_o_new_section_hook): Remove. + +2011-08-08 Tristan Gingold <gingold@adacore.com> + + * mach-o.h (bfd_mach_o_version_min_command): New structure. + (bfd_mach_o_load_command): Add version_min. + (mach_o_data_struct): Fix comment. + * mach-o.c (bfd_mach_o_read_version_min): New function. + (bfd_mach_o_read_command): Handle BFD_MACH_O_LC_FUNCTION_STARTS, + BFD_MACH_O_LC_VERSION_MIN_MACOSX and + BFD_MACH_O_LC_VERSION_MIN_IPHONEOS. + (bfd_mach_o_get_name_or_null): New function. + (bfd_mach_o_get_name): Use the above new one. + (bfd_mach_o_load_command_name): Add the above new commands. + (bfd_mach_o_bfd_print_private_bfd_data): Display numerically + unknown commands. Handle BFD_MACH_O_LC_FUNCTION_STARTS, + BFD_MACH_O_LC_VERSION_MIN_MACOSX and + BFD_MACH_O_LC_VERSION_MIN_IPHONEOS. + +2011-08-08 Tristan Gingold <gingold@adacore.com> + + * mach-o.h: Move size macros to external.h + Move reloc macros to reloc.h and x86-64.h. + * mach-o-i386.c: Includes mach-o/reloc.h + * mach-o-x86-64.c: Ditto and includes mach-o/x86-64.h + * mach-o.c: Add includes. + (bfd_mach_o_write_header): Use structure from external.h to convert. + (bfd_mach_o_write_thread): Ditto. + (bfd_mach_o_write_relocs): Ditto. + (bfd_mach_o_write_section_32): Ditto. + (bfd_mach_o_write_section_64): Ditto. + (bfd_mach_o_write_segment_32): Ditto. + (bfd_mach_o_write_segment_64): Ditto. + (bfd_mach_o_write_symtab): Ditto. + (bfd_mach_o_write_contents): Ditto. + (bfd_mach_o_read_header): Ditto. + (bfd_mach_o_read_section_32): Ditto. + (bfd_mach_o_read_section_64): Ditto. + (bfd_mach_o_read_symtab_symbol): Ditto. + (bfd_mach_o_read_dylinker): Ditto. + (bfd_mach_o_read_dylib): Ditto. + (bfd_mach_o_read_dysymtab): Ditto. + (bfd_mach_o_read_symtab): Ditto. + (bfd_mach_o_read_linkedit): Ditto. + (bfd_mach_o_read_str): Ditto. + (bfd_mach_o_read_dyld_info): Ditto. + (bfd_mach_o_read_segment): Ditto. + (bfd_mach_o_read_command): Ditto. + (bfd_mach_o_archive_p): Ditto. + (bfd_mach_o_canonicalize_one_reloc): Ditto. Change the BUF parameter. + (bfd_mach_o_canonicalize_relocs): Adjust to call the above function. + (bfd_mach_o_read_dysymtab_symbol): Rename BUF variable. + (bfd_mach_o_read_uuid): Remove useless cast. Use a macro instead + of an hard-coded value. + +2011-08-08 Tristan Gingold <gingold@adacore.com> + + * mach-o-x86-64.c (bfd_mach_o_x86_64_mkobject): Fix cut-and-past typos. + (bfd_mach_o_x86_64_swap_reloc_out): Handle BFD_RELOC_32_PCREL, + BFD_RELOC_MACH_O_X86_64_SUBTRACTOR64 and + BFD_RELOC_MACH_O_X86_64_GOT_LOAD. Share common code. + +2011-08-08 Tristan Gingold <gingold@adacore.com> + + * mach-o.c (bfd_mach_o_normalize_section_name): New function. + (bfd_mach_o_convert_section_name_to_bfd): Use it. + (bfd_mach_o_get_section_type_from_name): New function. + (bfd_mach_o_get_section_attribute_from_name): Ditto. + * mach-o.h (bfd_mach_o_section): Move bfdsection field at the end. + Add comments. Add prototypes for the above new functions. + +2011-08-05 Mark Kettenis <kettenis@gnu.org> + + * netbsd-core.c (netbsd_core_vec): Init match_priority field. + +2011-08-05 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (maybe_strip_output): New function. + (ppc64_elf_size_stubs): Use it to strip .branch_lt and .eh_frame. + +2011-08-05 Alan Modra <amodra@gmail.com> + + PR ld/12762 + * elflink.c (_bfd_elf_section_already_linked): Return matched + status. Remove COFF comdat section handling. + * linker.c (_bfd_generic_section_already_linked): Return matched + status. Don't set SEC_GROUP in l_flags for plugin entries. + (bfd_section_already_linked): Update prototype. + * targets.c (_section_already_linked): Likewise. + * elf-bfd.h (_bfd_elf_section_already_linked): Likewise. + * libbfd-in.h (_bfd_generic_section_already_linked): Likewise. + (_bfd_nolink_section_already_linked): Update. + * libbfd.h: Regenerate. + * bfd-in2.h: Regenerate. + +2011-08-05 Alan Modra <amodra@gmail.com> + + * elf32-ppc.c: Include dwarf2.h. + (struct ppc_elf_link_hash_table): Add glink_eh_frame. + (ppc_elf_create_glink): Create .eh_frame section. + (glink_eh_frame_cie): New array. + (ppc_elf_size_dynamic_sections): Size glink_eh_frame. + (ppc_elf_finish_dynamic_sections): Write glink_eh_frame. + +2011-08-04 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c (_bfd_vms_write_eeom): Round vms_linkage_index. + (_bfd_vms_write_etir): Initialize vms_linkage_index to 0. + +2011-08-03 Tristan Gingold <gingold@adacore.com> + + * mach-o.c (bfd_mach_o_canonicalize_symtab): Handle no symbols case. + (bfd_mach_o_read_symtab_symbols): Return if no symbols. + +2011-08-02 Maciej W. Rozycki <macro@codesourcery.com> + + * elfxx-mips.c (check_4byte_branch): Remove function. + (check_relocated_bzc): New function. + (_bfd_mips_elf_relax_section): Permit the relaxation of LUI + instructions that immediately follow a compact branch + instruction. + +2011-08-02 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (build_plt_stub): Correct emitted relocs when no + plt_static_chain. + (ppc_build_one_stub): Adjust get_relocs call to suit.. + (ppc_size_one_stub): ..and reloc sizing. Correct plt size corner case. + +2011-08-01 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/13048 + * archures.c (bfd_mach_i386_intel_syntax): New. + (bfd_mach_i386_i8086): Updated. + (bfd_mach_i386_i386): Likewise. + (bfd_mach_x86_64): Likewise. + (bfd_mach_x64_32): Likewise. + (bfd_mach_i386_i386_intel_syntax): Likewise. + (bfd_mach_x86_64_intel_syntax): Likewise. + (bfd_mach_x64_32_intel_syntax): Likewise. + (bfd_mach_l1om): Likewise. + (bfd_mach_l1om_intel_syntax): Likewise. + (bfd_mach_k1om): Likewise. + (bfd_mach_k1om_intel_syntax): Likewise. + + * bfd-in2.h: Regenerated. + + * cpu-i386.c (bfd_i386_compatible): Check mach instead of + bits_per_address. + (bfd_x64_32_arch_intel_syntax): Set bits_per_address to 64. + (bfd_x64_32_arch): Likewise. + + * elf64-x86-64.c: Include "libiberty.h". + (x86_64_elf_howto_table): Append x32 R_X86_64_32. + (elf_x86_64_rtype_to_howto): Support x32 R_X86_64_32. + (elf_x86_64_reloc_type_lookup): Likewise. + (elf_x86_64_reloc_name_lookup): Likewise. + (elf_x86_64_relocate_section): Likewise. + (elf_x86_64_check_relocs): Allow R_X86_64_64 relocations for x32. + +2011-07-29 Maciej W. Rozycki <macro@codesourcery.com> + + * elfxx-mips.c (check_br32): Fix return type. + +2011-07-29 Maciej W. Rozycki <macro@codesourcery.com> + + * elfxx-mips.c (bz_insn_16): Correct opcode mask. + +2011-07-29 Maciej W. Rozycki <macro@codesourcery.com> + + * elfxx-mips.c: Adjust comments throughout. + (mips_elf_relax_delete_bytes): Reshape code. + (_bfd_mips_elf_relax_section): Remove check for + R_MICROMIPS_GPREL16 relocations. Reshape code. + +2011-07-28 Roland McGrath <mcgrathr@google.com> + + * elf32-i386.c (NACL_PLT_ENTRY_SIZE, NACLMASK): New macros. + (elf_i386_nacl_plt0_entry): New variable. + (elf_i386_plt_entry): New variable. + (elf_i386_nacl_pic_plt0_entry): New variable. + (elf_i386_nacl_pic_plt_entry): New variable. + (elf_i386_nacl_plt, elf_i386_nacl_arch_bed): New variables. + (elf_backend_arch_data): New macro setting for elf_i386_nacl_vec stanza. + (elf_backend_plt_alignment): Likewise. + + * config.bfd: Handle i[3-7]86-*-nacl*. + * elf32-i386.c (bfd_elf32_i386_nacl_vec): New backend vector stanza. + * targets.c: Support bfd_elf32_i386_nacl_vec. + * configure.in: Likewise. + * configure: Regenerated. + + * elf32-i386.c (struct elf_i386_plt_layout): New type. + (GET_PLT_ENTRY_SIZE): New macro. + (elf_i386_plt): New variable. + (struct elf_i386_backend_data): New member `plt'. + (elf_i386_arch_bed): Add initializer for it. + (elf_i386_vxworks_arch_bed): Likewise. + (elf_i386_allocate_dynrelocs): Use GET_PLT_ENTRY_SIZE. + (elf_i386_plt_sym_val): Likewise. + (elf_i386_relocate_section): Likewise. + (elf_i386_finish_dynamic_symbol): Likewise. + Also use other elf_i386_plt_layout members for PLT details. + (elf_i386_finish_dynamic_sections): Likewise. + + * elf32-i386.c (struct elf_i386_backend_data): New type. + (get_elf_i386_backend_data): New macro. + (elf_i386_arch_bed): New variable. + (elf_backend_arch_data): New macro. + (struct elf_i386_link_hash_table): Remove plt0_pad_byte and is_vxworks. + (elf_i386_link_hash_table_create): Don't initialize them. + (elf_i386_create_dynamic_sections): Find is_vxworks flags in + elf_i386_backend_data, not elf_i386_link_hash_table. + (elf_i386_adjust_dynamic_symbol): Likewise. + (elf_i386_allocate_dynrelocs): Likewise. + (elf_i386_readonly_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. Same for plt0_pad_byte. + (elf_i386_vxworks_link_hash_table_create): Function removed. + (elf_i386_vxworks_arch_bed): New variable. + (elf_backend_arch_data): New macro in elf32-i386-vxworks stanza. + + * elf-bfd.h (elf_backend_data): New member arch_backend_data. + * elfxx-target.h (elf_backend_arch_data): New macro. + (elfNN_bed): Use it as initializer for the new member. + +2011-07-28 Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz> + + * elf64-hppa.c (elf_hppa_final_link_relocate): Fix handling of out + of range branches. + +2011-07-26 Jakub Jelinek <jakub@redhat.com> + + * dwarf2.c (dwarf_debug_sections): Add .debug_macro + and .zdebug_macro entry. + (dwarf_debug_section_enum): Add debug_macro. + +2011-07-26 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c: Include dwarf2.h. + (struct ppc_link_hash_table): Add glink_eh_frame. + (create_linkage_sections): Create .eh_frame section. + (ppc64_elf_size_dynamic_sections): Arrange to drop unneeded + glink_eh_frame. + (glink_eh_frame_cie): New array. + (ppc64_elf_size_stubs): Size glink_eh_frame. + (ppc64_elf_build_stubs): Init glink_eh_frame contents. + (ppc64_elf_finish_dynamic_sections): Write glink_eh_frame. + +2011-07-25 Hans-Peter Nilsson <hp@bitrange.com> + + PR ld/12815 + * elf64-mmix.c (struct _mmix_elf_section_data): New members + has_warned_bpo and has_warned_pushj. + (mmix_final_link_relocate): Remove PARAMS and PTR macros, + converting to ISO C. Add new parameter error_message. All + callers changed. + (mmix_elf_perform_relocation): Ditto. + <case R_MMIX_PUSHJ_STUBBABLE, case R_MMIX_BASE_PLUS_OFFSET>: + Handle the case where mmix_elf_check_common_relocs has not been + called, missing preparations for relocs of the respective type. + +2011-07-24 Chao-ying Fu <fu@mips.com> + Ilie Garbacea <ilie@mips.com> + Maciej W. Rozycki <macro@codesourcery.com> + Joseph Myers <joseph@codesourcery.com> + Catherine Moore <clm@codesourcery.com> + Richard Sandiford <rdsandiford@googlemail.com> + + * archures.c (bfd_mach_mips_micromips): New macro. + * cpu-mips.c (I_micromips): New enum value. + (arch_info_struct): Add bfd_mach_mips_micromips. + * elfxx-mips.h (_bfd_mips_elf_is_target_special_symbol): New + prototype. + (_bfd_mips_elf_relax_section): Likewise. + (_bfd_mips16_elf_reloc_unshuffle): Rename to... + (_bfd_mips_elf_reloc_unshuffle): ... this. Handle microMIPS + ASE. + (_bfd_mips16_elf_reloc_shuffle): Rename to... + (_bfd_mips_elf_reloc_shuffle): ... this. Handle microMIPS ASE. + (gprel16_reloc_p): Handle microMIPS ASE. + (literal_reloc_p): New function. + * elf32-mips.c (elf_micromips_howto_table_rel): New variable. + (_bfd_mips_elf32_gprel16_reloc): Handle microMIPS ASE. + (mips16_gprel_reloc): Update for _bfd_mips_elf_reloc_unshuffle + and _bfd_mips_elf_reloc_shuffle changes. + (mips_elf_gprel32_reloc): Update comment. + (micromips_reloc_map): New variable. + (bfd_elf32_bfd_reloc_type_lookup): Handle microMIPS ASE. + (mips_elf32_rtype_to_howto): Likewise. + (mips_info_to_howto_rel): Likewise. + (bfd_elf32_bfd_is_target_special_symbol): Define. + (bfd_elf32_bfd_relax_section): Likewise. + * elf64-mips.c (micromips_elf64_howto_table_rel): New variable. + (micromips_elf64_howto_table_rela): Likewise. + (mips16_gprel_reloc): Update for _bfd_mips_elf_reloc_unshuffle + and _bfd_mips_elf_reloc_shuffle changes. + (micromips_reloc_map): Likewise. + (bfd_elf64_bfd_reloc_type_lookup): Handle microMIPS ASE. + (bfd_elf64_bfd_reloc_name_lookup): Likewise. + (mips_elf64_rtype_to_howto): Likewise. + (bfd_elf64_bfd_is_target_special_symbol): Define. + * elfn32-mips.c (elf_micromips_howto_table_rel): New variable. + (elf_micromips_howto_table_rela): Likewise. + (mips16_gprel_reloc): Update for _bfd_mips_elf_reloc_unshuffle + and _bfd_mips_elf_reloc_shuffle changes. + (micromips_reloc_map): Likewise. + (bfd_elf32_bfd_reloc_type_lookup): Handle microMIPS ASE. + (bfd_elf32_bfd_reloc_name_lookup): Likewise. + (mips_elf_n32_rtype_to_howto): Likewise. + (bfd_elf32_bfd_is_target_special_symbol): Define. + * elfxx-mips.c (LA25_LUI_MICROMIPS_1): New macro. + (LA25_LUI_MICROMIPS_2): Likewise. + (LA25_J_MICROMIPS_1, LA25_J_MICROMIPS_2): Likewise. + (LA25_ADDIU_MICROMIPS_1, LA25_ADDIU_MICROMIPS_2): Likewise. + (TLS_RELOC_P): Handle microMIPS ASE. + (mips_elf_create_stub_symbol): Adjust value of stub symbol if + target is a microMIPS function. + (micromips_reloc_p): New function. + (micromips_reloc_shuffle_p): Likewise. + (got16_reloc_p, call16_reloc_p): Handle microMIPS ASE. + (got_disp_reloc_p, got_page_reloc_p): New functions. + (got_ofst_reloc_p): Likewise. + (got_hi16_reloc_p, got_lo16_reloc_p): Likewise. + (call_hi16_reloc_p, call_lo16_reloc_p): Likewise. + (hi16_reloc_p, lo16_reloc_p, jal_reloc_p): Handle microMIPS ASE. + (micromips_branch_reloc_p): New function. + (tls_gd_reloc_p, tls_ldm_reloc_p): Likewise. + (tls_gottprel_reloc_p): Likewise. + (_bfd_mips16_elf_reloc_unshuffle): Rename to... + (_bfd_mips_elf_reloc_unshuffle): ... this. Handle microMIPS + ASE. + (_bfd_mips16_elf_reloc_shuffle): Rename to... + (_bfd_mips_elf_reloc_shuffle): ... this. Handle microMIPS ASE. + (_bfd_mips_elf_lo16_reloc): Handle microMIPS ASE. + (mips_tls_got_index, mips_elf_got_page): Likewise. + (mips_elf_create_local_got_entry): Likewise. + (mips_elf_relocation_needs_la25_stub): Likewise. + (mips_elf_calculate_relocation): Likewise. + (mips_elf_perform_relocation): Likewise. + (_bfd_mips_elf_symbol_processing): Likewise. + (_bfd_mips_elf_add_symbol_hook): Likewise. + (_bfd_mips_elf_link_output_symbol_hook): Likewise. + (mips_elf_add_lo16_rel_addend): Likewise. + (_bfd_mips_elf_check_relocs): Likewise. + (mips_elf_adjust_addend): Likewise. + (_bfd_mips_elf_relocate_section): Likewise. + (mips_elf_create_la25_stub): Likewise. + (_bfd_mips_vxworks_finish_dynamic_symbol): Likewise. + (_bfd_mips_elf_gc_sweep_hook): Likewise. + (_bfd_mips_elf_is_target_special_symbol): New function. + (mips_elf_relax_delete_bytes): Likewise. + (opcode_descriptor): New structure. + (RA): New macro. + (OP32_SREG, OP32_TREG, OP16_VALID_REG): Likewise. + (b_insns_32, bc_insn_32, bz_insn_32, bzal_insn_32): New variables. + (beq_insn_32): Likewise. + (b_insn_16, bz_insn_16): New variables. + (BZC32_REG_FIELD): New macro. + (bz_rs_insns_32, bz_rt_insns_32): New variables. + (bzc_insns_32, bz_insns_16):Likewise. + (BZ16_REG, BZ16_REG_FIELD): New macros. + (jal_insn_32_bd16, jal_insn_32_bd32): New variables. + (jal_x_insn_32_bd32): Likewise. + (j_insn_32, jalr_insn_32): Likewise. + (ds_insns_32_bd16, ds_insns_32_bd32): Likewise. + (jalr_insn_16_bd16, jalr_insn_16_bd32, jr_insn_16): Likewise. + (JR16_REG): New macro. + (ds_insns_16_bd16): New variable. + (lui_insn): Likewise. + (addiu_insn, addiupc_insn): Likewise. + (ADDIUPC_REG_FIELD): New macro. + (MOVE32_RD, MOVE32_RS): Likewise. + (MOVE16_RD_FIELD, MOVE16_RS_FIELD): Likewise. + (move_insns_32, move_insns_16): New variables. + (nop_insn_32, nop_insn_16): Likewise. + (MATCH): New macro. + (find_match): New function. + (check_br16_dslot, check_br32_dslot): Likewise. + (check_br16, check_br32): Likewise. + (IS_BITSIZE): New macro. + (check_4byte_branch): New function. + (_bfd_mips_elf_relax_section): Likewise. + (_bfd_mips_elf_merge_private_bfd_data): Disallow linking MIPS16 + and microMIPS modules together. + (_bfd_mips_elf_print_private_bfd_data): Handle microMIPS ASE. + * reloc.c (BFD_RELOC_MICROMIPS_7_PCREL_S1): New relocation. + (BFD_RELOC_MICROMIPS_10_PCREL_S1): Likewise. + (BFD_RELOC_MICROMIPS_16_PCREL_S1): Likewise. + (BFD_RELOC_MICROMIPS_GPREL16): Likewise. + (BFD_RELOC_MICROMIPS_JMP, BFD_RELOC_MICROMIPS_HI16): Likewise. + (BFD_RELOC_MICROMIPS_HI16_S): Likewise. + (BFD_RELOC_MICROMIPS_LO16): Likewise. + (BFD_RELOC_MICROMIPS_LITERAL): Likewise. + (BFD_RELOC_MICROMIPS_GOT16): Likewise. + (BFD_RELOC_MICROMIPS_CALL16): Likewise. + (BFD_RELOC_MICROMIPS_GOT_HI16): Likewise. + (BFD_RELOC_MICROMIPS_GOT_LO16): Likewise. + (BFD_RELOC_MICROMIPS_CALL_HI16): Likewise. + (BFD_RELOC_MICROMIPS_CALL_LO16): Likewise. + (BFD_RELOC_MICROMIPS_SUB): Likewise. + (BFD_RELOC_MICROMIPS_GOT_PAGE): Likewise. + (BFD_RELOC_MICROMIPS_GOT_OFST): Likewise. + (BFD_RELOC_MICROMIPS_GOT_DISP): Likewise. + (BFD_RELOC_MICROMIPS_HIGHEST): Likewise. + (BFD_RELOC_MICROMIPS_HIGHER): Likewise. + (BFD_RELOC_MICROMIPS_SCN_DISP): Likewise. + (BFD_RELOC_MICROMIPS_JALR): Likewise. + (BFD_RELOC_MICROMIPS_TLS_GD): Likewise. + (BFD_RELOC_MICROMIPS_TLS_LDM): Likewise. + (BFD_RELOC_MICROMIPS_TLS_DTPREL_HI16): Likewise. + (BFD_RELOC_MICROMIPS_TLS_DTPREL_LO16): Likewise. + (BFD_RELOC_MICROMIPS_TLS_GOTTPREL): Likewise. + (BFD_RELOC_MICROMIPS_TLS_TPREL_HI16): Likewise. + (BFD_RELOC_MICROMIPS_TLS_TPREL_LO16): Likewise. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + +2011-07-22 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.am (ALL_MACHINES): Add cpu-k1om.lo. + (ALL_MACHINES_CFILES): Add cpu-k1om.c. + * Makefile.in: Regenerated. + + * archures.c (bfd_architecture): Add bfd_arch_k1om. + (bfd_k1om_arch): New. + (bfd_archures_list): Add &bfd_k1om_arch. + * bfd-in2.h: Regenerated. + + * config.bfd (targ64_selvecs): Add bfd_elf64_k1om_vec if + bfd_elf64_x86_64_vec is supported. Add bfd_elf64_k1om_freebsd_vec + if bfd_elf64_x86_64_freebsd_vec is supported. + (targ_selvecs): Likewise. + + * configure.in: Support bfd_elf64_k1om_vec and + bfd_elf64_k1om_freebsd_vec. + * configure: Regenerated. + + * cpu-k1om.c: New. + + * elf64-x86-64.c (elf64_k1om_elf_object_p): New. + (bfd_elf64_k1om_vec): Likewise. + (bfd_elf64_k1om_freebsd_vec): Likewise. + + * targets.c (bfd_elf64_k1om_vec): New. + (bfd_elf64_k1om_freebsd_vec): Likewise. + (_bfd_target_vector): Add bfd_elf64_k1om_vec and + bfd_elf64_k1om_freebsd_vec. + +2011-07-20 Jan Kratochvil <jan.kratochvil@redhat.com> + + Fix false coff-go32-exe matches. + * coff-i386.c (TARGET_SYM) <_bfd_check_format>: Conditionally use + COFF_CHECK_FORMAT. + * coff-stgo32.c (go32_check_format): New forward declaration. + (COFF_CHECK_FORMAT): New defintion. + (go32_check_format): New function. + +2011-07-15 Alan Modra <amodra@gmail.com> + + * configure.in: Bump version. + * configure: Regenerate. + +2011-07-14 Alan Modra <amodra@gmail.com> + + * linker.c (_bfd_generic_section_already_linked): Set l_flags. + * elf-bfd.h (struct already_linked): Forward declare. + +2011-07-14 Alan Modra <amodra@gmail.com> + + * elflink.c (_bfd_elf_fix_symbol_flags): Loop on indirect syms. + (_bfd_elf_adjust_dynamic_symbol): Remove FIXME. + +2011-07-14 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (struct ppc_link_hash_table): Add plt_static_chain. + (build_plt_stub): Add plt_static_chain param, don't load r11 if false. + (build_tls_get_addr_stub): Likewise. + (ppc_build_one_stub): Update calls to above. + (ppc_size_one_stub): Adjust stub size. + (ppc64_elf_size_stubs): Add plt_static_chain param, save to htab. + * elf64-ppc.h (ppc64_elf_size_stubs): Update prototype. + +2011-07-12 Nick Clifton <nickc@redhat.com> + + * elf32-arm.c (elf32_arm_section_flags): Delete. + (elf_backend_section_flags): Remove. + +2011-07-11 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12982 + * elflink.c (bfd_elf_size_dynamic_sections): Also skip BFD_PLUGIN + when setting stack_flags. + +2011-07-11 Catherine Moore <clm@codesourcery.com> + + * aout-adobe.c (aout_32_bfd_lookup_section_flags): New definition. + * aout-target.h (MY_bfd_lookup_section_flags): New definition. + * aout-tic30.c (MY_bfd_lookup_section_flags): New definition. + * bfd-in2.h: Regenerated. + * bfd.c (bfd_lookup_section_flags): New definition. + * binary.c (binary_bfd_lookup_section_flags): New definition. + * bout.c (b_out_bfd_lookup_section_flags): New definition. + * coff-alpha.c (_bfd_ecoff_bfd_lookup_section_flags): New definition. + * coff-mips.c (_bfd_ecoff_bfd_lookup_section_flags): New definition. + * coff-rs6000.c (rs6000coff_vec): Include + bfd_generic_lookup_section_flags. + (pmac_xcoff_vec): Likewise. + * coffcode.h (coff_bfd_lookup_section_flags): New definition. + * coff64-rs6000.c (rs6000coff64_vec): Include + bfd_generic_lookup_section_flags. + (aix5coff64_vec): Likewise. + * ecoff.c (bfd_debug_section): Initialize flag_info field. + * elf-bfd.h (elf_backend_lookup_section_flags_hook): Declare. + (bfd_elf_lookup_section_flags): Declare. + * elflink.c (bfd_elf_lookup_section_flags): New function. + * elfxx-target.h (bfd_elfNN_bfd_lookup_section_flags): Define. + (elf_backend_lookup_section_flags_hook): Define. + (elf_backend_data): Add elf_backend_lookup_section_flags_hook. + * i386msdos.c (msdos_bfd_lookup_section_flags): New define. + * i386os9k.c (os9k_bfd_lookup_section_flags): New define. + * ieee.c (ieee_bfd_lookup_section_flags): New define. + * ihex.c (ihex_bfd_lookup_section_flags): New define. + * libbfd-in.h (_bfd_nolink_bfd_lookup_section_flags): Declare. + (bfd_generic_lookup_section_flags): Declare. + * libbfd.h: Regenerated. + * mach-o-target.c (bfd_mach_o_bfd_lookup_section_flags): New. + * mmo.c (mmo_bfd_lookup_section_flags): New definition. + * nlm-target.h (nlm_bfd_lookup_section_flags): New definition. + * oasys.c (oasys_bfd_lookup_section_flags): New definition. + * pef.c (bfd_pef_bfd_lookup_section_flags): New definition. + * plugin.c (bfd_plugin_bfd_lookup_section_flags): New definition. + * ppcboot.c (ppcboot_bfd_lookup_section_flags): New definition. + * reloc.c (bfd_generic_lookup_section_flags): New function. + * som.c (som_bfd_lookup_section_flags): New definition. + * srec.c (srec_bfd_lookup_section_flags): New definition. + * targets.c (flag_info): Declare. + (NAME##_bfd_lookup_section_flags): Add to LINK jump table. + (_bfd_lookup_section_flags): New. + * tekhex.c (tekhex_bfd_lookup_section_flags): New definition. + * versados.c (versados_bfd_lookup_section_flags): New definition. + * vms-alpha.c (alpha_vms_bfd_lookup_section_flag): New definition. + * xsym.c (bfd_sym_bfd_lookup_section_flags): New definition. + +2011-07-11 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12978 + * elfnn-ia64.c (count_dyn_reloc): Fix a typo. + +2011-07-09 Alan Modra <amodra@gmail.com> + + PR ld/12942 + * elflink.c (elf_link_add_object_symbols): Use elf_discarded_section + rather than kept_section to determine whether a symbol is from + a discarded section. + * cofflink.c (coff_link_add_symbols): Make symbols from discarded + sections appear undefined. + +2011-07-09 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12942 + * elf-bfd.h (_bfd_elf_section_already_linked): Replace + "asection *" with "struct already_linked *". + * libbfd-in.h (_bfd_nolink_section_already_linked): Likewise. + (_bfd_generic_section_already_linked): Likewise. + (bfd_section_already_linked_table_insert): Likewise. + (struct already_linked): New. + (struct bfd_section_already_linked): Use it. + * elflink.c (_bfd_elf_section_already_linked): Replace. + "asection *" with "struct already_linked *". Replace the plugin + dummy with the LTO output. + * linker.c (_bfd_generic_section_already_linked): Likewise. + * targets.c (struct already_linked): Add forward declaration. + (bfd_target): Replace "struct bfd_section *" with + "struct already_linked *" in _section_already_linked. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + +2011-07-06 Tristan Gingold <gingold@adacore.com> + + * mach-o.h: Move loader related definitions to + include/mach-o/loader.h. Include it. + +2011-07-05 H.J. Lu <hongjiu.lu@intel.com> + + * elf64-x86-64.c (elf_backend_post_process_headers): Always + define to _bfd_elf_set_osabi. + +2011-07-03 Samuel Thibault <samuel.thibault@gnu.org> + Thomas Schwinge <thomas@schwinge.name> + + PR binutils/12913 + * elf.c (_bfd_elf_set_osabi): Use ELFOSABI_GNU name instead of + ELFOSABI_LINUX alias. + * elf32-hppa.c: Likewise. + * elf32-i370.c: Likewise. + * elf64-hppa.c: Likewise. + +2011-07-01 Ian Lance Taylor <iant@google.com> + + * elf32-i386.c (elf_i386_eh_frame_plt): Correct expression: change + DW_OP_lit3 to DW_OP_lit2. + +2011-07-01 Alan Modra <amodra@gmail.com> + + * elf32-ppc.c (ppc_elf_copy_indirect_symbol): Don't look at + dyn relocs when called to copy flags for a weak sym. + * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise. + (ppc64_elf_merge_private_bfd_data): Delete. + (bfd_elf64_bfd_merge_private_bfd_data): Define as + _bfd_generic_verify_endian_match. + +2011-06-30 Bernd Schmidt <bernds@codesourcery.com> + + * bfd/elf32-tic6x.c (elf32_tic6x_set_osabi): Also set it if + link_info is NULL. + +2011-06-28 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c (vms_private_data_struct): Make vms_linkage_index + unsigned int. + (_bfd_vms_write_etir): Write linkage index from reloc. + +2011-06-28 Fawzi Mohamed <fawzi.mohamed@nokia.com> + + * mach-o.c (bfd_mach_o_read_command): Also ignore + BFD_MACH_O_LC_ROUTINES_64. + +2011-06-27 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c (_bfd_vms_write_etir): Use 'section' to get current + section target index. + +2011-06-27 Nick Clifton <nickc@redhat.com> + + * cisco-core.c (cisco_core_little_vec): Add initialization of + match_priority field. + +2011-06-27 Tristan Gingold <gingold@adacore.com> + + * cache.c: Include bfd_stdint.h. + (cache_bmmap): Change profile. Return region start and size. + * bfdio.c (struct bfd_iovec): Change bmmap profile. + (bfd_mmap): Change profile and adjust. Update comment. + (memory_bmmap): Change profile. + * opncls.c (opncls_bmmap): Change profile. + * vms-lib.c (vms_lib_bmmap): Likewise. + * libbfd.h: Regenerate. + * bfd-in2.h: Regenerate. + +2011-06-27 Tristan Gingold <gingold@adacore.com> + + * vms-misc.c (vms_time_to_time_t): Adjust overflow detection. + Add comment. + +2011-06-25 H.J. Lu <hongjiu.lu@intel.com> + + * elf64-x86-64.c (elf_backend_post_process_headers): Don't + define for FreeBSD/x86-64 nor FreeBSD/L1OM. Define for L1OM. + +2011-06-25 Jan Kratochvil <jan.kratochvil@redhat.com> + + * elf64-x86-64.c (elf_x86_64_link_hash_table_create): Initialize + PLT_EH_FRAME. + * elf32-i386.c (elf_i386_link_hash_table): Likewise. + +2011-06-24 Richard Henderson <rth@redhat.com> + + PR ld/12928 + * elf64-alpha.c (elf64_alpha_relax_tls_get_addr): Recover the + tlsgd insn before swapping adjacent insns. + +2011-06-24 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c (alpha_vms_slurp_relocs): Add a guard for relocs in the + absolute section. + +2011-06-24 Alan Modra <amodra@gmail.com> + + PR ld/12921 + * elf.c (assign_file_positions_for_load_sections): Don't align + sh_offset for all SHT_NOBITS sections here, just .tbss sections + that don't get a PT_LOAD. + +2011-06-22 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * elf32-sh.c (sh_elf_relocate_section): Allow R_SH_TLS_LE_32 for PIE. + (sh_elf_check_relocs): Likewise. + +2011-06-22 Richard Henderson <rth@redhat.com> + + * elf64-alpha.c (elf64_alpha_check_relocs): No dynamic reloc for + TPREL in a PIE image. + (alpha_dynamic_entries_for_reloc): Likewise. + (elf64_alpha_relocate_section): Allow TPREL in PIE images. + (elf64_alpha_relax_got_load): Likewise. + +2011-06-22 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> + + * elf32-arm.c (elf32_arm_final_link_relocate): Allow R_ARM_TLS_LE32 + for PIE. + +2011-06-22 Alan Modra <amodra@gmail.com> + + * elflink.c (_bfd_elf_merge_symbol): Allow type changes for + plugin symbols. Fix segfault on linker scrip defined syms. + +2011-06-20 Jakub Jelinek <jakub@redhat.com> + + PR ld/12570 + * elf-eh-frame.c (_bfd_elf_parse_eh_frame): Allow no relocations + at all for linker created .eh_frame sections. + (_bfd_elf_discard_section_eh_frame): Handle linker created + .eh_frame sections with no relocations. + * elf64-x86-64.c: Include dwarf2.h. + (elf_x86_64_eh_frame_plt): New variable. + (PLT_CIE_LENGTH, PLT_FDE_LENGTH, PLT_FDE_START_OFFSET, + PLT_FDE_LEN_OFFSET): Define. + (struct elf_x86_64_link_hash_table): Add plt_eh_frame field. + (elf_x86_64_create_dynamic_sections): Create and fill in + .eh_frame section for .plt section. + (elf_x86_64_size_dynamic_sections): Write .plt section size + into .eh_frame FDE covering .plt section. + (elf_x86_64_finish_dynamic_sections): Write .plt section + start into .eh_frame FDE covering .plt section. Call + _bfd_elf_write_section_eh_frame on htab->plt_eh_frame section. + (elf_backend_plt_alignment): Define to 4. + * elf32-i386.c: Include dwarf2.h. + (elf_i386_eh_frame_plt): New variable. + (PLT_CIE_LENGTH, PLT_FDE_LENGTH, PLT_FDE_START_OFFSET, + PLT_FDE_LEN_OFFSET): Define. + (struct elf_i386_link_hash_table): Add plt_eh_frame field. + (elf_i386_create_dynamic_sections): Create and fill in + .eh_frame section for .plt section. + (elf_i386_size_dynamic_sections): Write .plt section size + into .eh_frame FDE covering .plt section. + (elf_i386_finish_dynamic_sections): Write .plt section + start into .eh_frame FDE covering .plt section. Call + _bfd_elf_write_section_eh_frame on htab->plt_eh_frame section. + (elf_backend_plt_alignment): Define to 4. + +2011-06-19 H.J. Lu <hongjiu.lu@intel.com> + + * elf64-x86-64.c (elf_backend_post_process_headers): Defined + for x32. + +2011-06-16 H.J. Lu <hongjiu.lu@intel.com> + + * elf64-x86-64.c: Include <stdarg.h> and CORE_HEADER if + CORE_HEADER is defined. + (elf_x86_64_write_core_note): New. + (elf_backend_write_core_note): Likewise. + + * hosts/x86-64linux.h (uint64_t): New. + (user_regsx32_struct): Likewise. + (elf_gregx32_t): Likewise. + (ELF_NGREGX32): Likewise. + (elf_gregsetx32_t): Likewise. + (elf_prstatusx32): Likewise. + (prstatusx32_t): Likewise. + (user_fpregs32_struct): Removed. + (user_fpxregs32_struct): Likewise. + (user32): Likewise. + (elf_fpregset32_t): Likewise. + (elf_fpxregset32_t): Likewise. + (prgregset32_t): Likewise. + (prfpregset32_t): Likewise. + +2011-06-16 H.J. Lu <hongjiu.lu@intel.com> + + * elf64-x86-64.c (elf_x86_64_grok_prstatus): Support x32. + (elf_x86_64_grok_psinfo): Likewise. + +2011-06-16 Nick Clifton <nickc@redhat.com> + + * elf.c (elf_find_function): Fail if not provided with a symbol + table. + +2011-06-15 Ulrich Weigand <ulrich.weigand@linaro.org> + + * elf-bfd.h (elfcore_write_arm_vfp): Add prototype. + * elf.c (elfcore_grok_arm_vfp): New function. + (elfcore_grok_note): Call it to handle NT_ARM_VFP notes. + (elfcore_write_arm_vfp): New function. + (elfcore_write_register_note): Call it to handle .reg-arm-vfp. + +2011-06-14 Richard Henderson <rth@redhat.com> + + * elf64-alpha.c (elf64_alpha_copy_indirect_symbol): Rename from + elf64_alpha_merge_ind_symbols; adjust for the generic interface. + (elf64_alpha_always_size_sections): Don't call + elf64_alpha_merge_ind_symbols. + (elf_backend_copy_indirect_symbol): New. + +2011-06-14 Alan Modra <amodra@gmail.com> + + PR ld/12887 + * elf-eh-frame.c (_bfd_elf_parse_eh_frame): Check sec_info_type + before doing anything. + (_bfd_elf_discard_section_eh_frame): Likewise. + +2011-06-14 Alan Modra <amodra@gmail.com> + + * Makefile.am: Formatting. + * Makefile.in: Regenerate. + * configure.in (bfd_elf64_tilegx_vec): Add elfxx-tilegx.lo. + * po/SRC-POTFILES.in: Regnerate. + +2011-06-14 Alan Modra <amodra@gmail.com> + + * elf32-tilepro.c (tilepro_elf_size_dynamic_sections): Don't use PTR. + (allocate_dynrelocs, readonly_dynrelocs): Replace PTR with void *. + Don't handle warning symbols here. + * elfxx-tilegx.c (tilegx_elf_size_dynamic_sections): As above. + (allocate_dynrelocs, readonly_dynrelocs): As above. + +2011-06-14 Alan Modra <amodra@gmail.com> + + PR ld/12851 + * elflink.c (_bfd_elf_gc_mark_extra_sections): New function. + (elf_gc_sweep): Don't treat debug and sections like .comment + specially here. + (bfd_elf_gc_sections): Treat note sections as gc roots only when + not part of a group. Always call gc_mark_extra_sections. + * elf-bfd.h (_bfd_elf_gc_mark_extra_sections): Declare. + * elfxx-target.h (elf_backend_gc_mark_extra_sections): Default to + _bfd_elf_gc_mark_extra_sections. + * elf32-arm.c (elf32_arm_gc_mark_extra_sections): Call + _bfd_elf_gc_mark_extra_sections. + * elf32-tic6x.c (elf32_tic6x_gc_mark_extra_sections): Likewise. + +2011-06-13 Nick Clifton <nickc@redhat.com> + + * elf32-tilepro.c (tilepro_elf_check_relocs): Delete unused local + variable 'local_got_offsets'. + * elfxx-tilegx.c (tilegx_elf_check_relocs): Likewise. + (tilegx_finish_dyn): Delete unused local variable 'abi_64_p'. + +2011-06-13 Walter Lee <walt@tilera.com> + + * Makefile.am (ALL_MACHINES): Add cpu-tilegx.lo and cpu-tilepro.lo. + (ALL_MACHINE_CFILES): Add cpu-tilegx.c and cpu-tilepro.c. + (BFD32_BACKENDS): Add elf32-tilegx.lo, elf32-tilepro.lo, + and elfxx-tilegx.lo. + (BFD32_BACKENDS_CFILES): Add elf32-tilegx.c elf32-tilepro.c, and + elfxx-tilegx.c. + (BFD64_BACKENDS): Add elf64-tilegx.lo. + (BFD64_BACKENDS_CFILES): Add elf64-tilegx.c. + * Makefile.in: Regenerate. + * arctures.c (bfd_architecture): Define bfd_arch_tilepro, + bfd_arch_tilegx, bfd_mach_tilepro, bfd_mach_tilegx. + (bfd_arch_info): Add bfd_tilegx_arch, bfd_tilepro_arch. + (bfd_archures_list): Add bfd_tilegx_arch, bfd_tilepro_arch. + bfd-in2.h: Regenerate. + * config.bfd: Handle tilegx-*-* and tilepro-*-*. + * configure.in: Handle bfd_elf32_tilegx_vec, bfd_elf32_tilepro_vec, + and bfd_elf64_tilegx_vec. + * configure: Regenerate. + * elf-bfd.h (enum elf_target_id): Define TILEGX_ELF_DATA and + TILEPRO_ELF_DATA. + * libbfd.h: Regenerate. + * reloc.c: Add BFD_RELOC_TILEPRO_{COPY, GLOB_DAT, JMP_SLOT, + RELATIVE, BROFF_X1, JOFFLONG_X1, JOFFLONG_X1_PLT, IMM8_X0, + IMM8_Y0, IMM8_X1, IMM8_Y1, DEST_IMM8_X1, MT_IMM15_X1, MF_IMM15_X1, + IMM16_X0, IMM16_X1, IMM16_X0_LO, IMM16_X1_LO, IMM16_X0_HI, + IMM16_X1_HI, IMM16_X0_HA, IMM16_X1_HA, IMM16_X0_PCREL, + IMM16_X1_PCREL, IMM16_X0_LO_PCREL, IMM16_X1_LO_PCREL, + IMM16_X0_HI_PCREL, IMM16_X1_HI_PCREL, IMM16_X0_HA_PCREL, + IMM16_X1_HA_PCREL, IMM16_X0_GOT, IMM16_X1_GOT, IMM16_X0_GOT_LO, + IMM16_X1_GOT_LO, IMM16_X0_GOT_HI, IMM16_X1_GOT_HI, + IMM16_X0_GOT_HA, IMM16_X1_GOT_HA, MMSTART_X0, MMEND_X0, + MMSTART_X1, MMEND_X1, SHAMT_X0, SHAMT_X1, SHAMT_Y0, SHAMT_Y1, + IMM16_X0_TLS_GD, IMM16_X1_TLS_GD, IMM16_X0_TLS_GD_LO, + IMM16_X1_TLS_GD_LO, IMM16_X0_TLS_GD_HI, IMM16_X1_TLS_GD_HI, + IMM16_X0_TLS_GD_HA, IMM16_X1_TLS_GD_HA, IMM16_X0_TLS_IE, + IMM16_X1_TLS_IE, IMM16_X0_TLS_IE_LO, IMM16_X1_TLS_IE_LO, + IMM16_X0_TLS_IE_HI, IMM16_X1_TLS_IE_HI, IMM16_X0_TLS_IE_HA, + IMM16_X1_TLS_IE_HA, TLS_DTPMOD32, TLS_DTPOFF32, TLS_TPOFF32} + Add BFD_RELOC_TILEGX_{HW0, HW1, HW2, HW3, HW0_LAST, HW1_LAST, + HW2_LAST, COPY, GLOB_DAT, JMP_SLOT, RELATIVE, BROFF_X1, + JUMPOFF_X1, JUMPOFF_X1_PLT, IMM8_X0, IMM8_Y0, IMM8_X1, IMM8_Y1, + DEST_IMM8_X1, MT_IMM14_X1, MF_IMM14_X1, MMSTART_X0, MMEND_X0, + SHAMT_X0, SHAMT_X1, SHAMT_Y0, SHAMT_Y1, IMM16_X0_HW0, + IMM16_X1_HW0, IMM16_X0_HW1, IMM16_X1_HW1, IMM16_X0_HW2, + IMM16_X1_HW2, IMM16_X0_HW3, IMM16_X1_HW3, IMM16_X0_HW0_LAST, + IMM16_X1_HW0_LAST, IMM16_X0_HW1_LAST, IMM16_X1_HW1_LAST, + IMM16_X0_HW2_LAST, IMM16_X1_HW2_LAST, IMM16_X0_HW0_PCREL, + IMM16_X1_HW0_PCREL, IMM16_X0_HW1_PCREL, IMM16_X1_HW1_PCREL, + IMM16_X0_HW2_PCREL, IMM16_X1_HW2_PCREL, IMM16_X0_HW3_PCREL, + IMM16_X1_HW3_PCREL, IMM16_X0_HW0_LAST_PCREL, + IMM16_X1_HW0_LAST_PCREL, IMM16_X0_HW1_LAST_PCREL, + IMM16_X1_HW1_LAST_PCREL, IMM16_X0_HW2_LAST_PCREL, + IMM16_X1_HW2_LAST_PCREL, IMM16_X0_HW0_GOT, IMM16_X1_HW0_GOT, + IMM16_X0_HW1_GOT, IMM16_X1_HW1_GOT, IMM16_X0_HW2_GOT, + IMM16_X1_HW2_GOT, IMM16_X0_HW3_GOT, IMM16_X1_HW3_GOT, + IMM16_X0_HW0_LAST_GOT, IMM16_X1_HW0_LAST_GOT, + IMM16_X0_HW1_LAST_GOT, IMM16_X1_HW1_LAST_GOT, + IMM16_X0_HW2_LAST_GOT, IMM16_X1_HW2_LAST_GOT, IMM16_X0_HW0_TLS_GD, + IMM16_X1_HW0_TLS_GD, IMM16_X0_HW1_TLS_GD, IMM16_X1_HW1_TLS_GD, + IMM16_X0_HW2_TLS_GD, IMM16_X1_HW2_TLS_GD, IMM16_X0_HW3_TLS_GD, + IMM16_X1_HW3_TLS_GD, IMM16_X0_HW0_LAST_TLS_GD, + IMM16_X1_HW0_LAST_TLS_GD, IMM16_X0_HW1_LAST_TLS_GD, + IMM16_X1_HW1_LAST_TLS_GD, IMM16_X0_HW2_LAST_TLS_GD, + IMM16_X1_HW2_LAST_TLS_GD, IMM16_X0_HW0_TLS_IE, + IMM16_X1_HW0_TLS_IE, IMM16_X0_HW1_TLS_IE, IMM16_X1_HW1_TLS_IE, + IMM16_X0_HW2_TLS_IE, IMM16_X1_HW2_TLS_IE, IMM16_X0_HW3_TLS_IE, + IMM16_X1_HW3_TLS_IE, IMM16_X0_HW0_LAST_TLS_IE, + IMM16_X1_HW0_LAST_TLS_IE, IMM16_X0_HW1_LAST_TLS_IE, + IMM16_X1_HW1_LAST_TLS_IE, IMM16_X0_HW2_LAST_TLS_IE, + IMM16_X1_HW2_LAST_TLS_IE, TLS_DTPMOD64, TLS_DTPOFF64, TLS_TPOFF64, + TLS_DTPMOD32, TLS_DTPOFF32, TLS_TPOFF32} + * targets.c (bfd_elf32_tilegx_vec): Declare. + (bfd_elf32_tilepro_vec): Declare. + (bfd_elf64_tilegx_vec): Declare. + (bfd_target_vector): Add bfd_elf32_tilegx_vec, bfd_elf32_tilepro_vec, + and bfd_elf64_tilegx_vec. + * cpu-tilegx.c: New file. + * cpu-tilepro.c: New file. + * elf32-tilepro.h: New file. + * elf32-tilepro.c: New file. + * elf32-tilegx.c: New file. + * elf32-tilegx.h: New file. + * elf64-tilegx.c: New file. + * elf64-tilegx.h: New file. + * elfxx-tilegx.c: New file. + * elfxx-tilegx.h: New file. + +2011-06-13 Alan Modra <amodra@gmail.com> + + * linker.c (bfd_link_hash_traverse): Follow warning symbol link. + (_bfd_generic_link_write_global_symbol, fix_syms): Don't handle + warning symbols here. + * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Likewise. + * elf32-arm.c (allocate_dynrelocs_for_symbol, + elf32_arm_readonly_dynrelocs): Likewise. + * elf32-bfin.c (bfin_discard_copies): Likewise. + * elf32-cris.c (elf_cris_adjust_gotplt_to_got, + elf_cris_discard_excess_dso_dynamics, + elf_cris_discard_excess_program_dynamics): Likewise. + * elf32-hppa.c (allocate_plt_static, allocate_dynrelocs, + clobber_millicode_symbols, readonly_dynrelocs): Likewise. + * elf32-i370.c (i370_elf_adjust_dynindx): Likewise. + * elf32-i386.c (elf_i386_allocate_dynrelocs, + elf_i386_readonly_dynrelocs): Likewise. + * elf32-lm32.c (allocate_dynrelocs, readonly_dynrelocs): Likewise. + * elf32-m32c.c (m32c_relax_plt_check, m32c_relax_plt_realloc): Likewise. + * elf32-m32r.c (allocate_dynrelocs, readonly_dynrelocs): Likewise. + * elf32-m68k.c (elf_m68k_discard_copies): Likewise. + * elf32-microblaze.c (allocate_dynrelocs): Likewise. + * elf32-ppc.c (allocate_dynrelocs, maybe_set_textrel): Likewise. + * elf32-s390.c (allocate_dynrelocs, readonly_dynrelocs): Likewise. + * elf32-score.c (score_elf_sort_hash_table_f): Likewise. + * elf32-score7.c (score_elf_sort_hash_table_f): Likewise. + * elf32-sh.c (allocate_dynrelocs, readonly_dynrelocs): Likewise. + * elf32-tic6x.c (elf32_tic6x_allocate_dynrelocs, + elf32_tic6x_readonly_dynrelocs): Likewise. + * elf32-vax.c (elf_vax_discard_copies): Likewise. + * elf32-xstormy16.c (xstormy16_relax_plt_check, + xstormy16_relax_plt_realloc): Likewise. + * elf32-xtensa.c (elf_xtensa_allocate_dynrelocs): Likewise. + * elf64-alpha.c (elf64_alpha_output_extsym, + elf64_alpha_calc_got_offsets_for_symbol, + elf64_alpha_calc_dynrel_sizes, elf64_alpha_size_rela_got_1): Likewise. + * elf64-hppa.c (elf64_hppa_mark_exported_functions, + allocate_global_data_opd, elf64_hppa_mark_milli_and_exported_functions, + elf_hppa_unmark_useless_dynamic_symbols, + elf_hppa_remark_useless_dynamic_symbols): Likewise. + * elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref, func_desc_adjust, + adjust_opd_syms, adjust_toc_syms, allocate_dynrelocs, + readonly_dynrelocs, merge_global_got, reallocate_got, + undo_symbol_twiddle): Likewise. + * elf64-s390.c (allocate_dynrelocs, readonly_dynrelocs): Likewise. + * elf64-sh64.c (sh64_elf64_discard_copies): Likewise. + * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs, + elf_x86_64_readonly_dynrelocs): Likewise. + * elflink.c (elf_link_renumber_hash_table_dynsyms, + elf_link_renumber_local_hash_table_dynsyms, _bfd_elf_export_symbol, + _bfd_elf_link_find_version_dependencies, + _bfd_elf_link_assign_sym_version, _bfd_elf_adjust_dynamic_symbol, + _bfd_elf_link_sec_merge_syms, elf_adjust_dynstr_offsets, + elf_collect_hash_codes, elf_collect_gnu_hash_codes, + elf_renumber_gnu_hash_syms, elf_gc_sweep_symbol, + elf_gc_propagate_vtable_entries_used, + elf_gc_smash_unused_vtentry_relocs, bfd_elf_gc_mark_dynamic_ref_symbol, + elf_gc_allocate_got_offsets): Likewise. + * elfnn-ia64.c (elfNN_ia64_global_dyn_info_free, + elfNN_ia64_global_dyn_sym_thunk): Likewise. + * elfxx-mips.c (mips_elf_check_symbols, mips_elf_output_extsym, + mips_elf_sort_hash_table_f, allocate_dynrelocs): Likewise. + * elfxx-sparc.c (allocate_dynrelocs, readonly_dynrelocs): Likewise. + * i386linux.c (linux_tally_symbols): Likewise. + * m68klinux.c (linux_tally_symbols): Likewise. + * sparclinux.c (linux_tally_symbols): Likewise. + * sunos.c (sunos_scan_dynamic_symbol): Likewise. + * xcofflink.c (xcoff_post_gc_symbol): Likewise. + + * elflink.c (elf_link_output_extsym): Make it a bfd_hash_traverse + function. Update all callers. + * aoutx.h (aout_link_write_other_symbol): Likewise. + * pdp11.c (aout_link_write_other_symbol): Likewise. + * cofflink.c (_bfd_coff_write_global_sym): Likewise. + * ecoff.c (ecoff_link_write_external): Likewise. + * xcofflink.c (xcoff_write_global_symbol): Likewise. + * vms-alpha.c (alpha_vms_link_output_symbol): Likewise. Handle + warning symbols. + * ecoff.c (ecoff_link_hash_traverse): Delete. + * coff-ppc.c (ppc_bfd_coff_final_link): Use bfd_hash_traverse for + _bfd_coff_write_global_sym. + * libcoff-in.h (_bfd_coff_write_global_sym): Update prototype. + * libcoff.h: Regenerate. + +2011-06-10 Nick Clifton <nickc@redhat.com> + + * elflink.c (_bfd_elf_link_create_dynamic_sections): If the + backend does not provide a function for creating dynamic sections + then fail. + (bfd_elf_final_link): Issue a warning message if a dynamic section + has the SHT_NOTE type. + (bfd_elf_final_link): Do not look for dynamic strings in a section + that does not have the SHT_STRTAB type or the name .dynstr. + * elf32-arm.c (elf32_arm_finish_dynamic_sections): Fail if the got + section is not in the output binary. + * elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Likewise. + +2011-06-09 Tristan Gingold <gingold@adacore.com> + + * elfnn-ia64.c (elfNN_ia64_relax_section, elfNN_ia64_choose_gp) + (elfNN_ia64_relocate_section, elfNN_vms_object_p): Remove trailing + spaces. + +2011-06-09 Tristan Gingold <gingold@adacore.com> + + * bfd.c (bfd_get_sign_extend_vma): Handle aixcoff. + +2011-06-09 Nick Clifton <nickc@redhat.com> + + PR ld/12845 + * elf.c (_bfd_elf_init_private_section_data): Add an assertion + that the output section has an allocated bfd_elf_section_data + structure. + * elfxx-mips.c (mips_elf_check_symbols): Do not create a stub for + symbols in sections that have been removed by garbage collection. + +2011-06-08 H.J. Lu <hongjiu.lu@intel.com> + + * elf64-x86-64.c (elf_x86_64_check_relocs): Allow R_X86_64_64 + relocations in SEC_DEBUGGING sections when building shared + libraries. + +2011-06-08 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12851 + * elflink.c (elf_gc_sweep): Don't check SHT_NOTE sections here. + (bfd_elf_gc_sections): Also check SHT_NOTE sections. + +2011-06-08 Tristan Gingold <gingold@adacore.com> + + * makefile.vms (OBJS): Add elfxx-ia64.obj + Remove vax case. + +2011-06-08 Alan Modra <amodra@gmail.com> + + * aix386-core.c, * cisco-core.c, * hpux-core.c, * osf-core.c, + * sco5-core.c: Init match_priority field. + +2011-06-08 Alan Modra <amodra@gmail.com> + + * elflink.c (_bfd_elf_archive_symbol_lookup): Follow warning and + indirect links here. + +2011-06-07 Joel Brobecker <brobecker@adacore.com> + + * irix-core.c (irix_core_vec): Add match_priority field. + +2011-06-06 Alan Modra <amodra@gmail.com> + + * targets.c (bfd_target): Make ar_max_namelen an unsigned char. + Add match_priority. + * configure.in: Bump bfd version. + * elfcode.h (elf_object_p): Delete hacks preventing match of + EM_NONE and ELFOSABI_NONE targets when a better match exists. + * elfxx-target.h (elf_match_priority): Define and use. + * format.c (bfd_check_format_matches): Use target match_priority + to choose best of multiple matching targets. In cases with multiple + matches rerun _bfd_check_format if we don't choose the last match. + * aout-adobe.c, * aout-arm.c, * aout-target.h, * aout-tic30.c, + * binary.c, * bout.c, * coff-alpha.c, * coff-i386.c, * coff-i860.c, + * coff-i960.c, * coff-ia64.c, * coff-mips.c, * coff-or32.c, + * coff-ppc.c, * coff-rs6000.c, * coff-sh.c, * coff-tic30.c, + * coff-tic54x.c, * coff-x86_64.c, * coff64-rs6000.c, * coffcode.h, + * i386msdos.c, * i386os9k.c, * ieee.c, * ihex.c, * mach-o-target.c, + * mipsbsd.c, * mmo.c, * nlm-target.h, * oasys.c, * pdp11.c, + * pe-mips.c, * pef.c, * plugin.c, * ppcboot.c, * som.c, * srec.c, + * tekhex.c, * trad-core.c, * verilog.c, * versados.c, * vms-alpha.c, + * vms-lib.c, * xsym.c: Init match_priority field. + * configure: Regenerate. + * bfd-in2.h: Regenerate. + +2011-06-04 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12842 + * elfcode.h (elf_object_p): Revert the last change. + +2011-06-04 Alan Modra <amodra@gmail.com> + + * archures.c (bfd_arch_get_compatible): If one arch is unknown, + return the other arch. + * elfcode.h (elf_object_p): Allow explicit match to generic ELF + target. + +2011-06-03 Bertram Felgenhauer <bertram.felgenhauer@gmail.com> + + PR ld/12682 + * hash.c (higher_primer_number): Add more, small, prime numbers. + (bfd_hash_set_default_size): Likewise. + +2011-06-02 Nick Clifton <nickc@redhat.com> + + * coff-mcore.c: Fix spelling typo. + * coff-stgo32.c: Likewise. + * elf32-arm.c: Likewise. + * elf32-avr.c: Likewise. + * elf-m68hc1x.c: Likewise. + * elf32-mcore.c: Likewise. + * elf32-mep.c: Likewise. + * elf32-mt.c: Likewise. + * elf32-ppc.c: Likewise. + * elf32-xtensa.c: Likewise. + * elf64-ppc.c: Likewise. + * elfxx-mips.c: Likewise. + * netbsd.h: Likewise. + * nlmcode.h: Likewise. + * vms-alpha.c: Likewise. + * po/bfd.pot: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2011-06-01 DJ Delorie <dj@redhat.com> + + * config.bfd: Add bfd_elf32_rx_be_ns_vec. + * target.c: Likewise. + * configure.in: Likewise. + * configure.in: Regenerate. + * elf32-rx.c: Add elf32-rx-be-ns target. + (rx_elf_object_p): Never allow the be-ns target by default, + only allow it if the user requests it. + +2011-06-01 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c (elf_i386_size_dynamic_sections): Properly warn + relocation in readonly section in a shared object. + * elf64-x86-64.c (elf_x86_64_size_dynamic_sections): Likewise. + +2011-05-31 Nick Clifton <nickc@redhat.com> + + * archive.c (adjust_relative_path): Fix comment to prevent it + corrupting the auto-generated bfd.h. + +2011-05-31 Paul Brook <paul@codesourcery.com> + + * elf32-arm.c (elf32_arm_final_link_relocate): Only do bl conversion + for known functions. + (elf32_arm_swap_symbol_in): Only set ST_BRANCH_TO_ARM for function + symbols. + +2011-05-31 Paul Brook <paul@codesourcery.com> + + * elf32-arm.c (arm_stub_is_thumb): Add + arm_stub_long_branch_v4t_thumb_tls_pic. + (elf32_arm_final_link_relocate): TLS stubs are always ARM. + Handle Thumb stubs. + +2011-05-27 Nick Clifton <nickc@redhat.com> + + PR binutils/12710 + * archive.c (_bfd_get_elt_at_filepos): Set correct error value if + unable to read a file pointed to by an entry in a thin archive. + (adjust_relative_path): Use lrealpath to canonicalize paths. + Handle the case where the reference path is above the current + path in the directory tree. + +2011-05-26 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12809 + * elf64-x86-64.c (elf_x86_64_relocate_section): Handle + R_X86_64_TPOFF64 in executable. + +2011-05-26 Alan Modra <amodra@gmail.com> + + * elf-bfd.h (SYMBOL_REFERENCES_LOCAL): Remove most of comment. + * elflink.c (_bfd_elf_symbol_refs_local_p): Expand + local_protected comment. + +2011-05-25 Tristan Gingold <gingold@adacore.com> + + * configure.in (bfd_elf32_ia64_big_vec, bfd_elf32_ia64_hpux_big_vec) + (bfd_elf64_ia64_big_vec, bfd_elf64_ia64_hpux_big_vec) + (bfd_elf64_ia64_little_vec, bfd_elf64_ia64_vms_vec): Add elfxx-ia64.lo + * Makefile.am (BFD64_BACKENDS): Add elfxx-ia64.lo + (BFD64_BACKENDS_CFILES): Add elfxx-ia64.c + (elf32-ia64.c): Created from elfnn-ia64.c + (elf64-ia64.c): Likewise. + * elfxx-ia64.h: New file. + * elfxx-ia64.c: Split with elfnn-ia64.c. Keep only the following + functions.Includes elfxx-ia64.h. + (elfNN_ia64_reloc): Renames to ia64_elf_reloc. Adjust error message. + (IA64_HOWTO): Adjust. + (lookup_howto): Renames to ia64_elf_lookup_howto. Make it public. + (elfNN_ia64_reloc_type_lookup): Renames to + ia64_elf_reloc_type_lookup. Make it public. Adjust calls. + (elfNN_ia64_reloc_name_lookup): Renames to + ia64_elf_reloc_name_lookup. Make it public. + (elfNN_ia64_relax_br): Renames to ia64_elf_relax_br. Make it public. + (elfNN_ia64_relax_brl): Renames to ia64_elf_relax_brl. Make it + public. + (elfNN_ia64_relax_ldxmov): Renames to ia64_elf_relax_ldxmov. + Move it and make it public. Move prototype to elfxx-ia64.h + (elfNN_ia64_install_value): Renames to ia64_elf_install_value. + Move prototype to elfxx-ia64.h + * elfnn-ia64.c: New file, split from elfxx-ia64.c. + (elfNN_ia64_info_to_howto): Adjust calls. + (elfNN_ia64_relax_section): Adjust calls. + (count_dyn_reloc): Fix typo. + (elfNN_ia64_relocate_section): Adjust calls. + (elfNN_ia64_finish_dynamic_symbol): Likewise. + (bfd_elfNN_bfd_reloc_type_lookup) + (bfd_elfNN_bfd_reloc_name_lookup): Adjust macros. + * configure: Regenerate. + * Makefile.in: Regenerate. + +2011-05-23 DJ Delorie <dj@redhat.com> + + * elf32-rx.c (rx_elf_object_p): When reading an RX object in, undo + the vma/lma swapping done in elf32_rx_modify_program_headers. + +2011-05-23 Nick Clifton <nickc@redhat.com> + + * elf-m10300.c (mn10300_elf_mkobject): New function. + (bfd_elf32_mkobject): Define. + +2011-05-23 Alan Modra <amodra@gmail.com> + + * elf-bfd.h: Comment typo fix. + * elf32-ppc.c (struct ppc_elf_dyn_relocs): Delete. Replace with + struct elf_dyn_relocs throughout. + * elf64-ppc.c (struct ppc_dyn_relocs): Likewise. + +2011-05-23 Alan Modra <amodra@gmail.com> + + * elf32-frv.c: Use info->callbacks->einfo throughout file in linker + functions rather than warning callback or _bfd_error_handler. + * elf32-ppc.c: Likewise. + * elf64-ppc.c: Likewise. + * elf32-ppc.c (ppc_elf_tls_optimize): Use %H in __tls_get_addr lost + arg error. + * elf64-ppc.c (ppc64_elf_tls_optimize): Likewise. + +2011-05-23 Alan Modra <amodra@gmail.com> + + PR 12763 + * elf.c (assign_file_positions_for_load_sections): Set sh_offset for + .tbss, and page align same for all SHT_NOBITS sections. + +2011-05-21 Alan Modra <amodra@gmail.com> + + PR 12763 + * elf.c (_bfd_elf_make_section_from_shdr): Set up TLS section LMAs + from PT_TLS header. + (_bfd_elf_map_sections_to_segments): Don't create a final PT_LOAD + segment if just for .tbss. + (assign_file_positions_for_load_sections): Don't report "can't + allocate in segment" errors for .tbss. + (assign_file_positions_for_non_load_sections): Don't set p_filesz + from SHT_NOBITS section filepos. + +2011-05-20 Bernd Schmidt <bernds@codesourcery.com> + + * elf32-tic6x.c (elf32_tic6x_howto_table): Add entries for + R_C6000_PCR_H16 and R_C6000_PCR_L16. + (elf32_tic6x_relocate_section): Handle them. + +2011-05-18 Nick Clifton <nickc@redhat.com> + + PR ld/12761 + * elflink.c (elf_link_add_object_symbols): Process .gnu.warning + sections when building shared libraries. + +2011-05-18 Rafał Krypa <r.krypa@samsung.com> + + PR ld/12778 + * elf32-arm.c (elf32_arm_gc_sweep_hook): Use the computed dynamic + reloc pointer. + +2011-05-18 Tristan Gingold <gingold@adacore.com> + + * xcofflink.c (xcoff_link_add_symbols): Handle C_DWARF symbols. + (xcoff_sweep): Always keep dwarf sections. + (xcoff_link_input_bfd): Handle dwarf symbols and sections. + +2011-05-18 Tristan Gingold <gingold@adacore.com> + + * libxcoff.h (struct xcoff_dwsect_name): New type. + (XCOFF_DWSECT_NBR_NAMES): New macro. + (xcoff_dwsect_names): Declare. + * coffcode.h (sec_to_styp_flags): Handle xcoff dwarf sections. + (styp_to_sec_flags): Ditto. + (coff_new_section_hook): Ditto. + (coff_slurp_symbol_table): Handle C_DWARF and C_INFO. + * coff-rs6000.c (xcoff_dwsect_name): New variable. + +2011-05-17 Tomohiro Kashiwada <kikairoya@gmail.com> + + PR ld/12759 + * elf32-rx.c (ignore_lma): New variable. + (bfd_elf32_rx_set_target_flags): Add ignore_lma parameter. + (rx_modify_program_headers): Only copy the LMA into the VMA if + ignore_lma is true. + +2011-05-17 Alan Modra <amodra@gmail.com> + + PR ld/12760 + * coff-aux.c (coff_m68k_aux_link_add_one_symbol): Adjust "notice" call. + * elflink.c (elf_link_add_object_symbols): Likewise. + * linker.c (_bfd_generic_link_add_one_symbol): Likewise. + +2011-05-16 Alan Modra <amodra@gmail.com> + + * linker.c (_bfd_generic_link_add_one_symbol): Don't init u.undef.weak. + +2011-05-15 Richard Sandiford <rdsandiford@googlemail.com> + + * elfxx-mips.c (_bfd_mips_elf_check_relocs): Record both local and + global GOT entries for GOT_PAGE relocations against global symbols. + +2011-05-13 Bernd Schmidt <bernds@codesourcery.com> + + * config.bfd (tic6x-*-elf, tic6x-*-uclinux): New. + (tic6x-*-*): Replaced by these. + * elf32-tic6x.c (elf32_tic6x_set_osabi): New static function. + (elf32_tic6x_check_relocs): Create dynamic sections if -shared. + (elf_backend_relocs_compatible, elf_backend_post_process_headers): + Define. + (elf32_bed, TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, TARGET_BIG_SYM, + TARGET_BIG_NAME, ELF_OSABI): Redefine twice, and include + "elf32-target.h" two more times. + * configure.in: Handle bfd_elf32_tic6x_linux_be_vec, + bfd_elf32_tic6x_linux_le_vec, bfd_elf32_tic6x_elf_be_vec and + bfd_elf32_tic6x_elf_le_vec. + * configure: Regenerate. + +2011-05-13 Jan Beulich <jbeulich@novell.com> + + * config.bfd: Add targets x86_64-*-pe and x86_64-*-pep. + +2011-05-12 Jan Kratochvil <jan.kratochvil@redhat.com> + + * config.in: Regenerated. + * configure: Regenerated. + * configure.in: New tests for HAVE_PRPSINFO_T_PR_PID, + HAVE_PRPSINFO32_T_PR_PID, HAVE_PSINFO_T_PR_PID and + HAVE_PSINFO32_T_PR_PID. + * elf.c (elfcore_grok_psinfo): Protect reading psinfo.pr_pid by + HAVE_PRPSINFO_T_PR_PID, HAVE_PRPSINFO32_T_PR_PID, HAVE_PSINFO_T_PR_PID + and HAVE_PSINFO32_T_PR_PID. + * hosts/x86-64linux.h (HAVE_PRPSINFO32_T_PR_PID): New redefinition. + +2011-05-10 Jan Kratochvil <jan.kratochvil@redhat.com> + + * elf.c (elfcore_grok_psinfo): Initialize CORE_PID for both native and + 32bit psinfo. + * elf32-ppc.c (ppc_elf_grok_psinfo): Initialize core_pid. + * elf64-ppc.c (ppc64_elf_grok_psinfo): Likewise. + +2011-05-09 Paul Brook <paul@codesourcery.com> + + * bfd-in.h (elf32_tic6x_fix_exidx_coverage): Add prototype. + * bfd-in2.h: Regenerate. + * elf32-tic6x.c: Include limits.h. + (tic6x_unwind_edit_type, tic6x_unwind_table_edit, + _tic6x_elf_section_data): New. + (elf32_tic6x_section_data): Define. + (elf32_tic6x_new_section_hook): Allocate target specific data. + (elf32_tic6x_add_unwind_table_edit): New function. + (get_tic6x_elf_section_data, elf32_tic6x_adjust_exidx_size, + elf32_tic6x_insert_cantunwind_after, elf32_tic6x_add_low31, + elf32_tic6x_copy_exidx_entry): New functions. + (elf_backend_write_section): Define. + +2011-05-09 Paul Brook <paul@codesourcery.com> + + * elf32-tic6x.c (is_tic6x_elf_unwind_section_name, + elf32_tic6x_fake_sections): New functions. + (elf_backend_fake_sections): Define. + +2011-05-09 Paul Brook <paul@codesourcery.com> + + * elf32-tic6x.c (elf32_tic6x_gc_mark_extra_sections): New function. + (elf_backend_gc_mark_extra_sections): Define. + +2011-05-07 Dave Korn <dave.korn.cygwin@gmail.com> + + PR ld/12365 + * cofflink.c (bfd_coff_link_input_bfd): Check for and warn about + references to symbols defined in discarded sections. + +2011-05-07 Dave Korn <dave.korn.cygwin@gmail.com> + + PR ld/12365 + * coffgen.c (coff_write_symbol): Assume input section is its own + output section if output_section member not set. + (coff_write_alien_symbol): Likewise. + +2011-05-07 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12730 + * elf.c (_bfd_elf_section_offset): Check SEC_ELF_REVERSE_COPY. + + * elflink.c (elf_link_input_bfd): Reverse copy .ctors/.dtors + sections if needed. + + * section.c (SEC_ELF_REVERSE_COPY): New. + * bfd-in2.h: Regenerated. + +2011-05-07 Anders Kaseorg <andersk@ksplice.com> + + PR 12739 + * libbfd.c (bfd_get_8, bfd_get_signed_8): Use const cast. + * bfd-in2.h: Regenerate. + +2011-05-06 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c (evax_section_flags): Remove SEC_IN_MEMORY. + (_bfd_vms_slurp_egsd): Rename old_flags to vms_flags. Handle + any code section. Add comments. + (alpha_vms_object_p): Use void * instead of PTR. + (alpha_vms_create_eisd_for_section): Fix test for setting DZRO. + (build_module_list): Guard against no DST section. Add comments. + (alpha_vms_link_output_symbol): Discard undefined symbols. + (alpha_vms_get_section_contents): Simply memcpy if the section was + already loaded. Fix typo. + (vms_new_section_hook): Use void * instead of PTR. + (vms_alpha_vec): Ditto. + +2011-05-06 Richard Sandiford <richard.sandiford@linaro.org> + + * elf32-arm.c (cortex_a8_erratum_scan): If the stub is a Thumb + branch to a PLT entry, redirect it to the PLT's Thumb entry point. + +2011-05-05 Bernd Schmidt <bernds@codesourcery.com> + + * elf32-tic6x.c (elf32_tic6x_final_link): New function. + (elf32_tic6x_merge_attributes): Do not warn for PID or PIC + mismatch. Choose the lower of the two values. + (bfd_elf32_bfd_final_link): New macro. + +2011-04-28 Tristan Gingold <gingold@adacore.com> + + * coff-rs6000.c (_bfd_xcoff_swap_aux_in): Adjust for x_file. + (bfd_xcoff_swap_aux_out): Ditto. + * coff64-rs6000.c (_bfd_xcoff64_swap_aux_in): Ditto. + (bfd_xcoff64_swap_aux_out): Ditto. + +2011-05-04 Alan Modra <amodra@gmail.com> + + PR ld/12727 + * elf64-ppc.c (ppc_build_one_stub <ppc_sub_plt_call>): Clear + was_undefined on dot-symbols. + +2011-05-03 Paul Brook <paul@codesourcery.com> + + + * elf32-tic6x.c (elf32_tic6x_howto_table, + elf32_tic6x_howto_table_rel, (elf32_tic6x_gc_sweep_hook, + elf32_tic6x_relocate_section, elf32_tic6x_check_relocs): + Add R_C6000_EHTYPE. + +2011-05-01 Alan Modra <amodra@gmail.com> + + PR ld/12718 + * elf32-i386.c (elf_i386_check_relocs): Ensure dynobj set before + creating ifunc sections. + * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise. + +2011-04-30 H.J. Lu <hongjiu.lu@intel.com> + + * elf64-x86-64.c (elf_x86_64_merge_symbol): Correct parameter + names. + +2011-04-28 Tom Tromey <tromey@redhat.com> + + * bfdio.c (memory_bstat): Pass correct size to memset. + +2011-04-28 Mike Frysinger <vapier@gentoo.org> + + * dwarf2.c (dwarf_debug_sections): Mark const. + * elf.c (special_sections): Likewise. + * libbfd-in.h (dwarf_debug_sections): Likewise. + * libbfd.h: Regenerate. + +2011-04-26 Kai Tietz <ktietz@redhat.com> + + * coffcode.h (sec_to_styp_flags): Allow linkonce for + debugging sections. + +2011-04-26 Tristan Gingold <gingold@adacore.com> + + * coff64-rs6000.c: Convert to ISO-C. Remove PARAMS and PTR macros. + +2011-04-24 Alan Modra <amodra@gmail.com> + + PR ld/12365 + PR ld/12696 + * coff-aux.c (coff_m68k_aux_link_add_one_symbol): Update "notice" call. + * linker.c (_bfd_link_hash_newfunc): Clear bitfields. + (_bfd_generic_link_add_one_symbol): Update "notice" call. + * elflink.c (_bfd_elf_merge_symbol): Don't skip weak redefs when + it is a redef of an IR symbol in a real BFD. + +2011-04-22 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c (elf_i386_readonly_dynrelocs): Warn relocation + in readonly section in a shared object. + (elf_i386_size_dynamic_sections): Likewise. + * elf64-x86-64.c (elf_x86_64_readonly_dynrelocs): Likewise. + (elf_x86_64_size_dynamic_sections): Likewise. + +2011-04-21 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12694 + * elf32-i386.c (elf_i386_readonly_dynrelocs): Skip local IFUNC + symbols. + * elf64-x86-64.c (elf_x86_64_readonly_dynrelocs): Likewise. + +2011-04-21 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c (elf_i386_finish_dynamic_symbol): Return false + on dynamic symbol error. + * elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Likewise. + +2011-04-20 Tristan Gingold <gingold@adacore.com> + + * config.bfd (alpha*-*-*vms*, ia64*-*-*vms*): Define targ_selvecs. + +2011-04-20 Alan Modra <amodra@gmail.com> + + * hash.c (bfd_default_hash_table_size): Make it an unsigned long. + (bfd_hash_table_init_n): Overflow checking. + (bfd_hash_set_default_size): Return current size. Take unsigned long + arg. Add 65537 to hash_size primes. + * bfd-in.h (bfd_hash_set_default_size): Update prototype. + * bfd-in2.h: Regenerate. + +2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com> + + * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Fix +1 overrun of + memmove elements. + +2011-04-20 Alan Modra <amodra@gmail.com> + + * libbfd.c (bfd_log2): Do return rounded up value. + * elflink.c (bfd_elf_size_dynsym_hash_dynstr): Replace bfd_log2 + call with expanded old round down version of the function. + + * archive.c (_bfd_get_elt_at_filepos): Don't release n_nfd. + * elflink.c (elf_link_add_object_symbols): Delete redundant code. + +2011-04-20 Alan Modra <amodra@gmail.com> + + PR ld/12365 + * elfcode.h (elf_slurp_symbol_table): Put common plugin IR symbols + in their own common section. + * elflink.c (elf_link_add_object_symbols): Likewise. + * linker.c (generic_link_check_archive_element): Don't lose flags + if common section is pre-existing. + (_bfd_generic_link_add_one_symbol): Likewise. + +2011-04-20 Alan Modra <amodra@gmail.com> + + PR ld/12365 + * elflink.c (_bfd_elf_merge_symbol): Update multiple_common calls. + * linker.c (_bfd_generic_link_add_one_symbol): Likewise. Call + multiple_definition regardless of allow_multiple_definition. + * simple.c (simple_dummy_multiple_definition): Update. + * xcofflink.c (xcoff_link_add_symbols): Update multiple_definition + calls. + +2011-04-18 Tristan Gingold <gingold@adacore.com> + + * coff-rs6000.c: Convert to ISO-C. Remove PARAMS macro. + +2011-04-18 Alan Modra <amodra@gmail.com> + + PR ld/12365 + PR ld/12672 + * bfd.c (BFD_PLUGIN): Define. + (BFD_FLAGS_SAVED, BFD_FLAGS_FOR_BFD_USE_MASK): Add BFD_PLUGIN. + * bfd-in2.h: Regenerate. + * elflink.c (elf_link_output_extsym): Strip undefined plugin syms. + * opncls.c (bfd_make_readable): Don't lose original bfd flags. + +2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com> + + * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Do not check for + SEC_LOAD. + +2011-04-15 Sergio Durigan Junior <sergiodj@redhat.com> + + * elf-bfd.h (struct sdt_note): New struct. + (struct elf_obj_tdata) <sdt_note_head>: New field. + * elf.c (elfobj_grok_stapsdt_note_1): New function. + (elfobj_grok_stapsdt_note): Likewise. + (elf_parse_notes): Added code to treat SystemTap note + sections. + +2011-04-12 Richard Henderson <rth@redhat.com> + + * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Do not + exclude empty .got sections. + +2011-04-11 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c (elf_i386_reloc_type_lookup): Fix the out of bound + array access for BFD_RELOC_386_IRELATIVE. + +2011-04-11 Bernd Schmidt <bernds@codesourcery.com> + + * elf32-tic6x.c (elf32_tic6x_check_relocs): Initialize pc_count field. + +2011-04-11 Mark Wielaard <mjw@redhat.com> + + PR 10549 + * elf-bfd.h (has_ifunc_symbols): Renamed to has_gnu_symbols. + (has_gnu_symbols): Renamed from has_ifunc_symbols. + * elf.c (_bfd_elf_set_osabi): Use new has_gnu_symbols name. + * elf32-arm.c (elf32_arm_add_symbol_hook): Set has_gnu_symbols + also if STB_GNU_UNIQUE symbol binding was seen. + * elf32-i386.c (elf_i386_add_symbol_hook): Likewise. + * elf32-ppc.c (ppc_elf_add_symbol_hook): Likewise. + * elf32-sparc.c (elf32_sparc_add_symbol_hook): Likewise. + * elf64-ppc.c (ppc64_elf_add_symbol_hook): Likewise. + * elf64-sparc.c (elf64_sparc_add_symbol_hook): Likewise. + * elf64-x86-64.c (elf_x86_64_add_symbol_hook): Likewise. + +2011-04-11 Alan Modra <amodra@gmail.com> + + * bfd-in.h (bfd_get_section_limit): Don't use rawsize with output + sections. + * libbfd.c (_bfd_generic_get_section_contents): Likewise. + (_bfd_generic_get_section_contents_in_window): Likewise. + * section.c (bfd_get_section_contents): Likewise. + * compress.c (bfd_get_full_section_contents): Likewise. + * elf32-rx.c (rx_final_link): Ignore rawsize. + * elf32-microblaze.c (microblaze_elf_relocate_section): Use correct + bfd with bfd_get_section_limit. + * elfxx-ia64.c (elfNN_ia64_choose_gp): Add "final" parameter. Use + os->size during final link. Update callers. + * bfd-in2.h: Regenerate. + +2011-04-10 Richard Sandiford <rdsandiford@googlemail.com> + + PR ld/12637 + * elfxx-mips.c (mips_elf_merge_got_with): Use arg->global_count + as the number of global entries when merging with the primary GOT. + +2011-04-09 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c: Update copyright year. + * elf64-x86-64.c: Likewise. + +2011-04-09 Kai Tietz <ktietz@redhat.com> + + * peXXigen.c (_bfd_XXi_final_link_postscripte): Sort pdata in temporary + buffer and use rawsize for sorting. + * coffcode.h (coff_compute_section_file_positions): Set rawsize + before doing alignment. + +2011-04-09 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c (elf_i386_relocate_section): Return relocation + error on unsupported relocation. + * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise. + +2011-04-09 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/12657 + * hosts/x86-64linux.h (elf_prstatus32): Replace __pid_t with + pid_t. + +2011-04-08 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12654 + * elf32-i386.c (elf_i386_relocate_section): Check !executable + instead of shared for R_386_TLS_LDO_32. + +2011-04-08 Tristan Gingold <gingold@adacore.com> + + * Makefile.am (SOURCE_HFILES): Remove xcoff-target.h + * coff-pmac: Remove + * xcoff-target.h: Remove + * Makefile.in: Regenerate. + +2011-04-07 Cary Coutant <ccoutant@google.com> + + * dwarf2.c (scan_unit_for_symbols): Check for DW_AT_specification. + +2011-04-07 Paul Brook <paul@codesourcery.com> + + * elf32-tic6x.c (elf32_tic6x_howto_table): R_C6000_PREL31 is + pc-relative. + (elf32_tic6x_howto_table_rel): Ditto. + (elf32_tic6x_relocate_section): Implement R_C6000_PREL31. + (elf32_tic6x_check_relocs): Ditto. + +2011-04-06 Joseph Myers <joseph@codesourcery.com> + + * config.bfd (thumb-*-oabi): Don't handle in list of obsolete + targets. + (strongarm*, thumb*, xscale*): Remove architectures. + (strongarm-*-kaos*, thumb-*-coff, thumb-*-elf, thumb-epoc-pe*, + thumb-*-pe*, strongarm-*-elf, strongarm-*-coff, xscale-*-elf, + xscale-*-coff): Remove targets. + +2011-04-01 Tristan Gingold <gingold@adacore.com> + + * elfxx-ia64.c: include bfd_stdint.h + +2011-03-31 Jan Kratochvil <jan.kratochvil@redhat.com> + + * elf32-tic6x.c (elf32_tic6x_relocate_section): Remove unused variable + dynobj and its initialization. + +2011-03-31 Tristan Gingold <gingold@adacore.com> + + * makefile.vms (DEFS): Add HAVE_bfd_elf64_ia64_vms_vec. + * configure.com: Set BFD_HOST_64BIT_LONG_LONG and + BFD_HOST_LONG_LONG to 1. + +2011-03-31 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c (vms_get_remaining_object_record): Fix dec-c warning. + (_bfd_vms_write_etir): Ditto. + (_bfd_vms_slurp_etir): Avoid to use intptr_t + * configure.com: Generate bfd_stdint.h + +2011-03-31 Bernd Schmidt <bernds@codesourcery.com> + + * elf32-tic6x.h (struct elf32_tic6x_params): New. + (elf32_tic6x_setup): Declare. + * elf32-tic6x.c: Include <limits.h>. + (ELF_DYNAMIC_LINKER, DEFAULT_STACK_SIZE, PLT_ENTRY_SIZE): Define. + (struct elf32_tic6x_link_hash_table, struct elf32_link_hash_entry): + New structures. + (elf32_tic6x_link_hash_table, is_tic6x_elf): New macros. + (tic6x_elf_scom_section, tic6x_elf_scom_symbol, + tic6x_elf_scom_symbol_ptr): New static variables. + (elf32_tic6x_howto_table, elf32_tic6x_howto_table_rel, + elf32_tic6x_reloc_map): Add R_C6000_JUMP_SLOT, R_C6000_EHTYPE, + R_C6000_PCR_H16 and R_C6000_PCR_L16. + (elf32_tic6x_link_hash_newfunc, elf32_tic6x_link_hash_table_create, + elf32_tic6x_link_hash_table_free, elf32_tic6x_setup, + elf32_tic6x_using_dsbt, elf32_tic6x_install_rela, + elf32_tic6x_create_dynamic_sections, elf32_tic6x_make_got_dynreloc, + elf32_tic6x_finish_dynamic_symbol, elf32_tic6x_gc_sweep_hook, + elf32_tic6x_adjust_dynamic_symbol): New static functions. + (elf32_tic6x_relocate_section): For R_C6000_PCR_S21, convert branches + to weak symbols as required by the ABI. + Handle GOT and DSBT_INDEX relocs, and copy relocs to the output file + as needed when generating DSBT output. + (elf32_tic6x_check_relocs, elf32_tic6x_add_symbol_hook, + elf32_tic6x_symbol_processing, elf32_tic6x_section_from_bfd_section, + elf32_tic6x_allocate_dynrelocs, elf32_tic6x_size_dynamic_sections, + elf32_tic6x_always_size_sections, elf32_tic6x_modify_program_headers, + elf32_tic6x_finish_dynamic_sections, elf32_tic6x_plt_sym_val, + elf32_tic6x_copy_private_data, elf32_tic6x_link_omit_section_dynsym): + New static functions. + (ELF_MAXPAGESIZE): Define to 0x1000. + (bfd_elf32_bfd_copy_private_bfd_data, + bfd_elf32_bfd_link_hash_table_create, + bfd_elf32_bfd_link_hash_table_free, elf_backend_can_refcount, + elf_backend_want_got_plt, elf_backend_want_dynbss, + elf_backend_plt_readonly, elf_backend_got_header_size, + elf_backend_gc_sweep_hook, elf_backend_modify_program_headers, + elf_backend_create_dynamic_sections, elf_backend_adjust_dynamic_symbol, + elf_backend_check_relocs, elf_backend_add_symbol_hook, + elf_backend_symbol_processing, elf_backend_link_output_symbol_hook, + elf_backend_section_from_bfd_section, + elf_backend_finish_dynamic_symbol, elf_backend_always_size_sections, + elf32_tic6x_size_dynamic_sections, elf_backend_finish_dynamic_sections, + elf_backend_omit_section_dynsym, elf_backend_plt_sym_val): Define. + + * bfd/reloc.c (BFD_RELOC_C6000_JUMP_SLOT, BFD_RELOC_C6000_EHTYPE, + BFD_RELOC_C6000_PCR_H16, BFD_RELOC_C6000_PCR_S16): Add. + * bfd/bfd-in2.h: Regenerate. + * bfd/libbfd.h: Regenerate. + * config.bfd: Accept tic6x-*-* instead of tic6x-*-elf. + +2011-03-31 Tristan Gingold <gingold@adacore.com> + + * coffcode.h (coff_slurp_symbol_table): Silently discard C_NULL + entry on xcoff when value is C_NULL_VALUE. + +2011-03-31 Tristan Gingold <gingold@adacore.com> + + * libcoff-in.h (exec_hdr): Remove. + * libcoff.h: Regenerate. + +2011-03-30 Nick Clifton <nickc@redhat.com> + + * po/da.po: Updated Danish translation. + +2011-03-29 Richard Henderson <rth@redhat.com> + + * elf64-alpha.c (elf64_alpha_gc_mark_hook): New. + (elf64_alpha_gc_sweep_hook): New. + (elf_backend_gc_mark_hook, elf_backend_gc_sweep_hook): New. + (elf_backend_can_gc_sections): New. + +2011-03-26 John Marino <binutils@marino.st> + + * config.bfd: Add x86_64-*-dragonfly*, fix i386-*-dragonfly*. + * configure.in: Delete unused bfd_elf32_i386_dragonfly_vec. + * configure: Regenerate. + +2011-03-25 Michael Snyder <msnyder@vmware.com> + + * coffcode.h (coff_set_alignment_hook): Check return of bfd_seek. + +2011-03-25 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c (_bfd_vms_find_nearest_dst_line): Allow the use + of find_nearest_line on object files. + +2011-03-25 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c (evax_section_flags): Make $CODE$ section read-only. + Minor reordering. + (alpha_vms_create_eisd_for_section): Make code sections read-only. + +2011-03-24 Alan Modra <amodra@gmail.com> + + * elf32-ppc.c (ppc_elf_tls_optimize): Catch more cases where + old-style __tls_get_addr calls without marker relocs don't match + their arg setup insn one for one. If such mismatches are found + report the reloc and don't do any tls optimization. + * elf64-ppc.c (ppc64_elf_tls_optimize): Likewise. + +2011-03-22 Eric B. Weddington <eric.weddington@atmel.com> + + * bfd-in2.h: Regenerate. + +2011-03-22 Eric B. Weddington <eric.weddington@atmel.com> + + * archures.c: Add AVR XMEGA architecture information. + * cpu-avr.c (arch_info_struct): Likewise. + * elf32-avr.c (bfd_elf_avr_final_write_processing): Likewise. + (elf32_avr_object_p): Likewise. + +2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> + + * reloc.c (BFD_RELOC_ARM_IRELATIVE): New relocation. + * bfd-in2.h: Regenerate. + * elf32-arm.c (elf32_arm_howto_table_2): Rename existing definition + to elf32_arm_howto_table_3 and replace with a single R_ARM_IRELATIVE + entry. + (elf32_arm_howto_from_type): Update accordingly. + (elf32_arm_reloc_map): Map BFD_RELOC_ARM_IRELATIVE to R_ARM_IRELATIVE. + (elf32_arm_reloc_name_lookup): Handle elf32_arm_howto_table_3. + (arm_plt_info): New structure, split out from elf32_arm_link_hash_entry + with an extra noncall_refcount field. + (arm_local_iplt_info): New structure. + (elf_arm_obj_tdata): Add local_iplt. + (elf32_arm_local_iplt): New accessor macro. + (elf32_arm_link_hash_entry): Replace plt_thumb_refcount, + plt_maybe_thumb_refcount and plt_got_offset with an arm_plt_info. + Change tls_type to a bitfield and add is_iplt. + (elf32_arm_link_hash_newfunc): Update accordingly. + (elf32_arm_allocate_local_sym_info): New function. + (elf32_arm_create_local_iplt): Likewise. + (elf32_arm_get_plt_info): Likewise. + (elf32_arm_plt_needs_thumb_stub_p): Likewise. + (elf32_arm_get_local_dynreloc_list): Likewise. + (create_ifunc_sections): Likewise. + (elf32_arm_copy_indirect_symbol): Update after the changes to + elf32_arm_link_hash_entry. Assert the is_iplt has not yet been set. + (arm_type_of_stub): Add an st_type argument. Use elf32_arm_get_plt_info + to get PLT information. Assert that all STT_GNU_IFUNC references + are turned into PLT references. + (arm_build_one_stub): Pass the symbol type to + elf32_arm_final_link_relocate. + (elf32_arm_size_stubs): Pass the symbol type to arm_type_of_stub. + (elf32_arm_allocate_irelocs): New function. + (elf32_arm_add_dynreloc): In static objects, use .rel.iplt for + all R_ARM_IRELATIVE. + (elf32_arm_allocate_plt_entry): New function. + (elf32_arm_populate_plt_entry): Likewise. + (elf32_arm_final_link_relocate): Add an st_type parameter. + Set srelgot to null for static objects. Use separate variables + to record which st_value and st_type should be used when generating + a dynamic relocation. Use elf32_arm_get_plt_info to find the + symbol's PLT information, setting has_iplt_entry, splt, + plt_offset and gotplt_offset accordingly. Check whether + STT_GNU_IFUNC symbols should resolve to an .iplt entry, and change + the relocation target accordingly. Broaden assert to include + .iplts. Don't set sreloc for static relocations. Assert that + we only generate dynamic R_ARM_RELATIVE relocations for R_ARM_ABS32 + and R_ARM_ABS32_NOI. Generate R_ARM_IRELATIVE relocations instead + of R_ARM_RELATIVE relocations if the target is an STT_GNU_IFUNC + symbol. Pass the symbol type to arm_type_of_stub. Conditionally + resolve GOT references to the .igot.plt entry. + (elf32_arm_relocate_section): Update the call to + elf32_arm_final_link_relocate. + (elf32_arm_gc_sweep_hook): Use elf32_arm_get_plt_info to get PLT + information. Treat R_ARM_REL32 and R_ARM_REL32_NOI as call + relocations in shared libraries and relocatable executables. + Count non-call PLT references. Use elf32_arm_get_local_dynreloc_list + to get the list of dynamic relocations for a local symbol. + (elf32_arm_check_relocs): Always create ifunc sections. Set isym + at the same time as setting h. Use elf32_arm_allocate_local_sym_info + to allocate local symbol information. Treat R_ARM_REL32 and + R_ARM_REL32_NOI as call relocations in shared libraries and + relocatable executables. Record PLT information for local + STT_GNU_IFUNC functions as well as global functions. Count + non-call PLT references. Use elf32_arm_get_local_dynreloc_list + to get the list of dynamic relocations for a local symbol. + (elf32_arm_adjust_dynamic_symbol): Handle STT_GNU_IFUNC symbols. + Don't remove STT_GNU_IFUNC PLTs unless all references have been + removed. Update after the changes to elf32_arm_link_hash_entry. + (allocate_dynrelocs_for_symbol): Decide whether STT_GNU_IFUNC PLT + entries should live in .plt or .iplt. Check whether the .igot.plt + and .got entries can be combined. Use elf32_arm_allocate_plt_entry + to allocate .plt and .(i)got.plt entries. Detect which .got + entries will need R_ARM_IRELATIVE relocations and use + elf32_arm_allocate_irelocs to allocate them. Likewise other + non-.got dynamic relocations. + (elf32_arm_size_dynamic_sections): Allocate .iplt, .igot.plt + and dynamic relocations for local STT_GNU_IFUNC symbols. + Check whether the .igot.plt and .got entries can be combined. + Detect which .got entries will need R_ARM_IRELATIVE relocations + and use elf32_arm_allocate_irelocs to allocate them. Use stashed + section pointers intead of strcmp checks. Handle iplt and igotplt. + (elf32_arm_finish_dynamic_symbol): Use elf32_arm_populate_plt_entry + to fill in .plt, .got.plt and .rel(a).plt entries. Point + STT_GNU_IFUNC symbols at an .iplt entry if non-call relocations + resolve to it. + (elf32_arm_output_plt_map_1): New function, split out from + elf32_arm_output_plt_map. Handle .iplt entries. Use + elf32_arm_plt_needs_thumb_stub_p. + (elf32_arm_output_plt_map): Call it. + (elf32_arm_output_arch_local_syms): Add mapping symbols for + local .iplt entries. + (elf32_arm_swap_symbol_in): Handle Thumb STT_GNU_IFUNC symbols. + (elf32_arm_swap_symbol_out): Likewise. + (elf32_arm_add_symbol_hook): New function. + (elf_backend_add_symbol_hook): Define for all targets. + +2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> + + * elf-bfd.h (elf_link_hash_entry): Add target_internal. + * elf.c (swap_out_syms): Set st_target_internal for each + Elf_Internal_Sym. + * elfcode.h (elf_swap_symbol_in): Likewise. + * elf32-i370.c (i370_elf_finish_dynamic_sections): Likewise. + * elf32-sh-symbian.c (sh_symbian_relocate_section): Likewise. + * elf64-sparc.c (elf64_sparc_output_arch_syms): Likewise. + * elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections): Likewise. + * elflink.c (elf_link_output_extsym): Likewise. + (bfd_elf_final_link): Likewise. + (elf_link_add_object_symbols): Copy st_target_internal + to the hash table if we see a definition. + (_bfd_elf_copy_link_hash_symbol_type): Copy target_internal. + * elf32-arm.c (elf32_arm_stub_hash_entry): Replace st_type with + a branch_type field. + (a8_erratum_fix, a8_erratum_reloc): Likewise. + (arm_type_of_stub): Replace actual_st_type with an + actual_branch_type parameter. + (arm_build_one_stub): Use branch types rather than st_types to + determine the type of branch. + (cortex_a8_erratum_scan): Likewise. + (elf32_arm_size_stubs): Likewise. + (bfd_elf32_arm_process_before_allocation): Likewise. + (allocate_dynrelocs_for_symbol): Likewise. + (elf32_arm_finish_dynamic_sections): Likewise. + (elf32_arm_final_link_relocate): Replace sym_flags parameter with + a branch_type parameter. + (elf32_arm_relocate_section): Update call accordingly. + (elf32_arm_adjust_dynamic_symbol): Don't check STT_ARM_TFUNC. + (elf32_arm_output_map_sym): Initialize st_target_internal. + (elf32_arm_output_stub_sym): Likewise. + (elf32_arm_symbol_processing): Delete. + (elf32_arm_swap_symbol_in): Convert STT_ARM_TFUNCs into STT_FUNCs. + Use st_target_internal to record the branch type. + (elf32_arm_swap_symbol_out): Use st_target_internal to test for + Thumb functions. + (elf32_arm_is_function_type): Delete. + (elf_backend_symbol_processing): Likewise. + (elf_backend_is_function_type): Likewise. + +2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> + + * elf32-arm.c (elf32_arm_check_relocs): Always assign a dynobj. + (elf32_arm_finish_dynamic_sections): Move sgot != NULL assertion + into the PLT block. + +2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> + + * elf32-arm.c (elf32_arm_check_relocs): Use call_reloc_p, + may_need_local_target_p and may_become_dynamic_p to classify + the relocation type. Don't check info->symbolic or h->def_regular + when deciding whether to record a potential dynamic reloc. + Don't treat potential dynamic relocs as PLT references. + (elf32_arm_gc_sweep_hook): Update to match. Assert that we don't + try to make the PLT reference count go negative. + +2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> + + * elf32-arm.c (elf32_arm_final_link_relocate): Always fill in the + GOT entry here, rather than leaving it to finish_dynamic_symbol. + Only create a dynamic relocation for local references if + info->shared. + (allocate_dynrelocs_for_symbol): Update dynamic relocation + allocation accordingly. + (elf32_arm_finish_dynamic_symbol): Don't initialise the GOT entry here. + +2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> + + * elf32-arm.c (elf32_arm_allocate_dynrelocs): New function. + (elf32_arm_add_dynreloc): Likewise. + (elf32_arm_adjust_dynamic_symbol): Use elf32_arm_allocate_dynrelocs + to allocate dynamic relocations. + (elf32_arm_size_dynamic_sections): Likewise. + (allocate_dynrelocs): Likewise. Rename to + allocate_dynrelocs_for_symbol. + (elf32_arm_final_link_relocate): Use elf32_arm_add_dynreloc to + create dynamic relocations. + (elf32_arm_finish_dynamic_symbol): Likewise. + +2011-03-12 H.J. Lu <hongjiu.lu@intel.com> + + * elf64-x86-64.c (elf_x86_64_check_tls_transition): Supprt TLS + x32 GD->IE and GD->LE transitions. + (elf_x86_64_relocate_section): Supprt TLS x32 GD->IE, GD->LE + and LD->LE transitions. + +2011-03-10 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (ppc64_elf_relocate_section): Provide section/offset + for LO_DS error message and correct multiple. + +2011-03-10 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (bfd_elf64_bfd_link_just_syms): Define. + (ppc64_elf_link_just_syms): New function. + (opd_entry_value): Don't assume big-endian host. + (get_r2off): New function. + (ppc_build_one_stub, ppc_size_one_stub): Use it here. + +2011-03-06 Michael Snyder <msnyder@vmware.com> + + * compress.c (bfd_compress_section_contents): Check for out of mem. + + * elf64-x86-64.c (elf_x86_64_relocate_section): Document + that case statement falls through intentionally. + + * elf32-i386.c (elf_i386_relocate_section): Document fall through. + +2011-03-04 Alan Modra <amodra@gmail.com> + + * archive.c (bsd_write_armap): Don't call stat in deterministic + mode, and don't use st_mtime if stat returns error. + +2011-03-03 Michael Snyder <msnyder@vmware.com> + + * elf64-x86-64.c (elf_x86_64_relocate_section): Remove dead code. + + * coff-x86_64.c (coff_amd64_rtype_to_howto): Fencepost error. + + * aoutx.h (aout_final_link): Use sizeof int not sizeof int*. + (aout_link_write_other_symbol): Missing break statement. + + * dwarf2.c (scan_unit_for_symbols): Stop memory leak. + + * archive.c (_bfd_slurp_extended_name_table): Fail if bfd_seek fails. + +2011-03-03 H.J. Lu <hongjiu.lu@intel.com> + + * elf64-x86-64.c (elf_x86_64_check_tls_transition): Supprt TLS + x32 IE->LE transition. + (elf_x86_64_relocate_section): Likewise. + +2011-03-02 Bernd Schmidt <bernds@codesourcery.com> + + * elflink.c (is_reloc_section): Remove function. + (get_dynamic_reloc_section_name): Construct string manually. + +2011-02-28 Kai Tietz <kai.tietz@onevision.com> + + * archive.c (_bfd_find_nested_archive): Use filename_(n)cmp. + (adjust_relative_path): Likewise. + (_bfd_construct_extended_name_table): Likewise. + * corefile.c (generic_core_file_matches_executable_p): Likewise. + * elf32-bfin.c (bfinfdpic_relocate_section): Likewise. + * elf32-frv.c (elf32_frv_relocate_section): Likewise. + * elf32-spu.c (sort_bfds): Likewise. + (spu_elf_auto_overlay): Likewise. + * syms.c (_bfd_stab_section_find_nearest_line): Likewise. + * xcofflink.c (xcoff_set_import_path): Likewise. + * xtensa-isa.c (xtensa_regfile_lookup): Likewise. + (xtensa_regfile_lookup_shortname): Likewise. + +2011-02-28 Alan Modra <amodra@gmail.com> + + PR 12513 + * archive.c (bfd_slurp_bsd_armap_f2): Sanity check parsed_size and + stringsize. Properly sanity check symdef_count. Remove redundant + bfd_release. + +2011-02-25 Rafael Ávila de Espíndola <respindola@mozilla.com> + + * plugin.c (bfd_plugin_object_p): Correctly set the filesize + and handle claim_file seeking. Only try to load the plugin once. + +2011-02-22 Andreas Schwab <schwab@redhat.com> + + * elf32-m68k.c (elf_m68k_finish_dynamic_symbol): For a TLS_GD + relocation read the value from the second GOT slot. + +2011-02-15 Tristan Gingold <gingold@adacore.com> + + * vms-alpha.c (alpha_vms_link_add_archive_symbols): Add a comment. + +2011-02-15 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (ppc64_elf_edit_toc): Reinstate second read of + toc relocs. Fuss over free(NULL). + +2011-02-14 Mike Frysinger <vapier@gentoo.org> + + * elflink.c (bfd_elf_size_dynamic_sections): Add + bfd_get_symbol_leading_char to the start of newname. + +2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * configure: Regenerate. + +2011-02-09 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (ppc64_elf_edit_toc): Don't free toc relocs until + we are done. When optimising large toc, check that a global + symbol on a toc reloc is defined in a kept section. + +2011-02-08 Nick Clifton <nickc@redhat.com> + + PR binutils/12467 + * elf.c (assign_file_positions_for_load_sections): Set the program + header offset and entry size to zero if there are no program + headers. + +2011-02-08 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (ppc64_elf_edit_toc): Don't segfault on NULL + local_syms when looking for local symbols in .toc. + +2011-02-01 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (ppc64_elf_next_input_section): Use elf_gp value + for toc pointer on any section having makes_toc_func_call set. + (check_pasted_section): Ensure pasted .init/.fini fragments use + the same toc if any has makes_toc_func_call set. + +2011-01-28 Joseph Myers <joseph@codesourcery.com> + + * elf32-ppc.c (ppc_elf_link_hash_newfunc): Initialize has_sda_refs + field. + +2011-01-22 Richard Sandiford <rdsandiford@googlemail.com> + + * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Ignore + common sections too. + +2011-01-18 H.J. Lu <hongjiu.lu@intel.com> + + * elf64-x86-64.c (elf_backend_want_plt_sym): Redefine to 0 after + Solaris target. + +2011-01-18 Pierre Muller <muller@ics.u-strasbg.fr> + + Fix compilation for mingw64. + * coffcode.h (coff_slurp_symbol_table): Add intptr_t intermediate + typecast to avoid warning. + * elf32-rx.c: Add "bfd_stdint.h" include required for int32_t type + usage. + * elfxx-ia64.c (elfNN_ia64_relax_br): Use intptr_t typeacast instead + of long for pointer to avoid warning. + (elfNN_ia64_relax_brl): Idem. + (elfNN_ia64_install_value): Idem. + * vms-alpha.c (_bfd_vms_slurp_etir): Idem. + +2011-01-17 Richard Sandiford <richard.sandiford@linaro.org> + + * elf32-arm.c (elf32_arm_check_relocs): Check needs_plt rather than + h->needs_plt when deciding whether to record a possible dynamic reloc. + +2011-01-17 Richard Sandiford <richard.sandiford@linaro.org> + + * elf32-arm.c (elf32_arm_gc_sweep_hook): Remove all registered + dynamic relocs for the removed section. + +2011-01-15 H.J. Lu <hongjiu.lu@intel.com> + + * elf64-x86-64.c (elf_x86_64_check_relocs): Check invalid x32 + relocations. + +2011-01-14 H.J. Lu <hongjiu.lu@intel.com> + + * elf64-x86-64.c (elf_x86_64_link_hash_table): Add pointer_r_type. + (elf_x86_64_link_hash_table_create): Set pointer_r_type. + (elf_x86_64_check_relocs): Handle R_X86_64_32 like R_X86_64_64 + for ILP32. Remove ABI_64_P PIC check for R_X86_64_8, + R_X86_64_16, R_X86_64_32 and R_X86_64_32S. + (elf_x86_64_relocate_section): Handle R_X86_64_32 like R_X86_64_64 + for ILP32. + +2011-01-14 Alan Modra <amodra@gmail.com> + + * bfd.c (bfd_perror): Flush stdout before and stderr after printing + error. + (_bfd_default_error_handler): Likewise. + * elf.c (print_segment_map): Likewise. + * libbfd.c (warn_deprecated): Likewise. + * som.c (som_sizeof_headers): No need to do so here. + * coff-i860.c: Replace use of printf for error messages with + _bfd_error_handler. + * coff-ppc.c: Likewise. + * coff-sh.c: Likewise. + * elf32-bfin.c: Likewise. + * elf32-dlx.c: Likewise. + * elf32-mep.c: Likewise. + * elf32-v850.c: Likewise. + * mach-o.c: Likewise. + * pef.c: Likewise. + +2011-01-13 H.J. Lu <hongjiu.lu@intel.com> + + * elf64-x86-64.c (elf_x86_64_link_hash_table): Remove + swap_reloca_out. + (elf_x86_64_link_hash_table_create): Don't set swap_reloca_out. + (elf_x86_64_check_relocs): Align relocation section to 4 byte + for 32bit. + (elf_x86_64_gc_sweep_hook): Replace ELF64_ST_TYPE with + ELF_ST_TYPE. + (elf_x86_64_finish_dynamic_symbol): Updated. + (elf_x86_64_finish_dynamic_sections): Don't use + Elf64_External_Dyn, bfd_elf64_swap_dyn_in, nor + bfd_elf64_swap_dyn_out. + +2011-01-14 J. Park <grassman@gmail.com> + + PR ld/12339 + * elf32-arm.c (allocate_dynrelocs): Don't set up eh before + following bfd_link_hash_warning symbol link. + +2011-01-10 Nathan Sidwell <nathan@codesourcery.com> + Glauber de Oliveira Costa <glommer@gmail.com> + + * reloc.c (BFD_RELOC_ARM_TLS_GOTDESC, BFD_RELOC_ARM_TLS_CALL, + BFD_RELOC_ARM_THM_TLS_CALL, BFD_RELOC_ARM_TLS_DESCSEQ, + BFD_RELOC_ARM_THM_TLS_DESCSEQ, BFD_RELOC_ARM_TLS_DESC): New + relocations. + * libbfd.h: Rebuilt. + * bfd-in2.h: Rebuilt. + * elf32-arm.c (elf32_arm_howto_table_1): Add new relocations. + (elf32_arm_reloc_map): Likewise. + (tls_trampoline, dl_tlsdesc_lazy_trampoline): New PLT templates. + (elf32_arm_stub_long_branch_any_tls_pic, + elf32_arm_stub_long_branch_v4t_thumb_tls_pic): New stub templates. + (DEF_STUBS): Add new stubs. + (struct_elf_arm_obj_data): Add local_tlsdesc_gotent field. + (elf32_arm_local_tlsdesc_gotent): New. + (GOT_TLS_GDESC): New mask. + (GOT_TLS_GD_ANY): Define. + (struct elf32_arm_link_hash_entry): Add tlsdesc_got field. + (elf32_arm_compute_jump_table_size): New. + (struct elf32_arm_link_hash_table): Add next_tls_desc_index, + num_tls_desc, dt_tlsdesc_plt, dt_tlsdesc_got, tls_trampoline, + sgotplt_jump_table_size fields. + (elf32_arm_link_hash_newfunc): Initialize tlsdesc_got field. + (elf32_arm_link_hash_table_create): Initialize new fields. + (arm_type_of_stub): Check TLS desc relocs too. + (elf32_arm_stub_name): TLS desc relocs can be shared. + (elf32_arm_tls_transition): Determine relaxation. + (arm_stub_required_alignment): Add tls stubs. + (elf32_arm_size_stubs): Likewise. + (elf32_arm_tls_relax): Perform TLS relaxing. + (elf32_arm_final_link_relocate): Process TLS DESC relocations. + (IS_ARM_TLS_GNU_RELOC): New. + (IS_ARM_TLS_RELOC): Use it. + (elf32_arm_relocate_section): Perform TLS relaxing. + (elf32_arm_check_relocs): Anticipate TLS relaxing, process tls + desc relocations. + (allocate_dynrelocs): Allocate tls desc relcoations. + (elf32_arm_output_arch_local_syms): Emit tls trampoline mapping + symbols. + (elf32_arm_size_dynamic_sections): Allocate tls trampolines and + got slots. + (elf32_arm_always_size_sections): New. Create _TLS_MODULE_BASE + symbol. + (elf32_arm_finish_dynamic_symbol): Adjust. + (arm_put_trampoline): New. + (elf32_arm_finish_dynamic_sections): Emit new dynamic tags and tls + trampolines. + (elf_backend_always_size_sections): Define. + +2011-01-06 H.J. Lu <hongjiu.lu@intel.com> + + * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Optimized. + +2011-01-06 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12366 + PR ld/12371 + * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Properly + handle symbols marked with regular reference, but not non-GOT + reference when building shared library. + + * elf32-i386.c (elf_i386_gc_sweep_hook): Properly handle + local and global STT_GNU_IFUNC symols when building shared + library. + * elf64-x86-64.c (elf_x86_64_gc_sweep_hook): Likewise. + +2011-01-05 DJ Delorie <dj@redhat.com> + + * reloc.c: Add BFD_RELOC_RX_OP_NEG. + * libbfd.h: Regenerate. + * bfd-in2.h: Regenerate. + * elf32-rx.c: Add it to the list, corresponding to R_RX_OPneg. + +2011-01-03 H.J. Lu <hongjiu.lu@intel.com> + + * cpu-i386.c (bfd_i386_compatible): New. + (bfd_x64_32_arch_intel_syntax): Replace bfd_default_compatible + with bfd_i386_compatible. + (bfd_x86_64_arch_intel_syntax): Likewise. + (bfd_i386_arch_intel_syntax): Likewise. + (i8086_arch): Likewise. + (bfd_x64_32_arch): Likewise. + (bfd_x86_64_arch): Likewise. + (bfd_i386_arch): Likewise. + +For older changes see ChangeLog-2010 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 88397d2..f1ae3f3 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -7,929 +7,7 @@ * od-macho.c: Update copyright year. (dump_load_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO. -2011-12-28 Ian Lance Taylor <iant@google.com> - - * dwarf.c (read_and_display_attr_value): Handle DW_LANG_Go. - -2011-12-20 Roland McGrath <mcgrathr@google.com> - - * configure.in (--enable-deterministic-archives): Grok new - argument. Set DEFAULT_AR_DETERMINISTIC to 1 or 0 accordingly. - * configure: Regenerated. - * config.in: Regenerated. - * ar.c (deterministic): Initialize to -1. - (decode_options, ranlib_main): Grok U option. - (usage, ranlib_usage): Mention U; say for D and U which is the default. - (default_deterministic): New function. - (ranlib_main): Call it. - (main): Likewise. Make newer_only && deterministic error - non-fatal if it was just DEFAULT_AR_DETERMINISTIC and not the D option. - * doc/binutils.texi (ar cmdline, ranlib): Document U modifier and - --enable-deterministic-archives behavior. - -2011-12-16 Tristan Gingold <gingold@adacore.com> - - * od-macho.c: Include mach-o/codesign.h - (OPT_CODESIGN): Define. - (options): Add an entry for codesign. - (mach_o_help): Likewise. - (dump_header): Fix indentation. - (dump_thread): Do not test result of xmalloc. - (bfd_mach_o_cs_magic, bfd_mach_o_cs_hash_type): New. - (dump_code_signature_superblob): New function. - (swap_code_codedirectory_v1_in): Likewise. - (hexdump): Likewise. - (dump_code_signature_codedirectory): Likewise. - (dump_code_signature_blob, dump_code_signature): Likewise. - (dump_load_command): Dump code signature. - (mach_o_dump): Likewise. - -2011-12-15 Andreas Tobler <andreast@fgznet.ch> - - * readelf.c (get_symbol_type): Add ELFOSABI_FREEBSD to the - supported abi's. - -2011-12-13 Tristan Gingold <gingold@adacore.com> - - * od-macho.c: New file. - * objdump.h (objdump_private_desc_mach_o): Add. - * configure.in: Add Mach-O od_vectors. - * Makefile.am (CFILES): Add od-macho.c - * configure: Regenerate. - * Makefile.in: Regenerate. - -2011-12-06 David Daney <david.daney@cavium.com> - - * readelf.c (dynamic_section_mips_val): Factor out trailing '\n' - from printed strings and move it to the end of the function. - Use BFD_VMA_FMT for printf format specifier for dynamic tag value. - Use print_vma() to print dynamic tag values. - -2011-12-02 Nick Clifton <nickc@redhat.com> - - * readelf.c (ia64_process_unwind): Turn into a void funtion. - (hppa_process_unwind): Likewise. - (arm_process_unwind): Likewise. - (process_unwind): Likewise. - (arm_get_section_word): Rename to get_unwind_section_word. - Add sym_name parameter to return the offset into the string table - of the symbol associated with the reloc applied to the word. - (decode_tic6x_unwind_regmask): Add NULL argument to invocation of - get_unwind_section_word. - (dump_arm_unwind): Likewise. - (decode_arm_unwind_bytecode): Prepend a comma when *not* the first - register in a list. - (decode_arm_unwind): If the returned function address is 0 and a - valid symname offset is provided use that to compute the name - associated with the entry. - Add extra checks of the compact model index entry. - -2011-11-29 Roland McGrath <mcgrathr@google.com> - - * ar.c (ranlib_usage): Describe -D. - (ranlib_main): Parse -D. - (ranlib_touch): Set BFD_DETERMINISTIC_OUTPUT under -D. - * doc/binutils.texi (ranlib): Describe -D, and also --help/-h/-H. - -2011-11-28 Nick Clifton <nickc@redhat.com> - - PR binutils/13421 - * readelf.c (arm_section_get_word): Add descriptive comments. - Initliase the rel_type field of the arm_sec structure. - (expand_prel31): Rename to arm_expand_prel31. - (dump_arm_unwind): Use new name. - Print the function name based on the function address entry. - -2011-11-11 Andreas Schwab <schwab@linux-m68k.org> - - * readelf.c (process_program_headers): Fix typo printing p_memsz - field. - -2011-11-01 DJ Delorie <dj@redhat.com> - - * readelf.c: Include elf/rl78.h - (guess_is_rela): Handle EM_RL78. - (dump_relocations): Likewise. - (get_machine_name): Likewise. - (is_32bit_abs_reloc): Likewise. - * NEWS: Mention addition of RL78 support. - * MAINTAINERS: Add myself as RL78 port maintainer. - -2011-10-28 Ian Lance Taylor <iant@google.com> - - * dwarf.c (display_debug_frames): If do_debug_frames_interp, - DW_CFA_restore goes to DW_CFA_undefined, not DW_CFA_unreferenced. - -2011-10-28 Walter Lee <walt@tilera.com> - - * NEWS: Mention addition of TILEPro and TILE-Gx support. - * MAINTAINERS: Add myself as TILEPro and TILE-Gx port maintainer. - -2011-10-27 Joern Rennecke <joern.rennecke@embecosm.com> - - * MAINTAINERS: Add myself as EPIPHANY port maintainer. - -2011-10-25 Mike Frysinger <vapier@gentoo.org> - - * Makefile.am (syslex.@OBJEXT@): Add -I$(srcdir). - * Makefile.in: Regen. - -2011-10-25 Joern Rennecke <joern.rennecke@embecosm.com> - - * readelf.c: Include "elf/epiphany.h". - (guess_is_rela, dump_relocation): Handle EM_ADAPTEVA_EPIPHANY. - (get_machine_name, is_32bit_abs_reloc, is_32bit_pcrel_reloc): Likewise. - (is_16bit_abs_reloc, is_none_reloc): Likewise. - * po/binutils.pot: Regenerate. - -2011-10-25 Kai Tietz <ktietz@redhat.com> - - * winduni.h (unicode_from_ascii_len): New prototype. - * winduni.c (unicode_from_ascii_len): New function. - * windres.h (define_stringtable): Add additional length argument. - * windres.c (define_stringtable): Add length argument for string. - * rcparse.y (res_unicode_sizedstring): New rule. - (res_unicode_sizedstring_concat): Likewise. - (string_data): Adjust rule. - -2011-10-24 Jan Kratochvil <jan.kratochvil@redhat.com> - - * dwarf.c (read_and_display_attr_value) <DW_AT_import>: Add CU_OFFSET - also for DW_FORM_ref_udata. - -2011-10-24 Nick Clifton <nickc@redhat.com> - - * po/ja.po: Updated Japanese translation. - -2011-10-16 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/13278 - * ar.c (open_inarch): Set the target from the the first object - on the list only if it isn't set. - -2011-10-13 Nick Clifton <nickc@redhat.com> - - Fixes to aid translation: - * addr2line.c (translate_address): Add comments describing context - of a couple of printf statements. - * ar.c (write_archive): Allow translation of error message. - * bucomm.c (endian_string): Allow translation of strings. - (display_target_list): Allow translation. - * coffdump.c (dump_coff_type): Allow translation of output. - (dump_coff_where): Likewise. - (dump_coff_symbol): Likewise. - (dump_coff_scope): Likewise. - (dump_coff_sfile): Likewise. - (dump_coff_section): Likewise. - (coff_dump): Likewise. - * dlltool (def_version): Allow translation of output. - (run): Likewise. - * dllwrap.c (run): Allow translation of output. - * dwarf.c (print_dwarf_vma): Allow translation of output. - (process_extended_line_op): Remove spurious translation. - Add translation for strings that can be translated. - (decode_location_exression): Allow translation of output. - (read_and_display_attr_value): Allow translation of output. - * readelf.c (slurp_rela_relocs): Add translation for error - messages when failing to get data. - (slurp_rel_relocs): Likewise. - (get_32bit_elf_symbols): Likewise. - (get_64bit_elf_symbols): Likewise. - (dump_ia64_vms_dynamic_relocs): Replace abbreviation with full - word. - (process_relocs): Remove spurious translation. - (decode_tic6x_unwind_bytecode): Likewise. - (process_version_section): Improve error messages. - (process_mips_specific): Likewise. - (print_gnu_note): Remove spurious translation. - (print_stapsdt_note): Likewise. - (get_ia64_vms_note_type): Likewise. - * sysdump.c (getCHARS): Allow translation. - (fillup): Allow translation of output. - (getone): Likewise. - (must): Likewise. - (derived_type): Likewise. - * doc/binutils.doc (addr2line): Extend description of command line - options. - * po/binutils.pot: Regenerate. - -2011-10-13 Nick Clifton <nickc@redhat.com> - - PR binutils/13219 - * readelf.c (GET_ELF_SYMBOLS): Add sym_count parameter. - (get_32bit_elf_symbols): Add num_syms_return argument. - Return the number of symbols loaded into the symbol table. - (get_64bit_elf_symbols): Likewise. - (process_section_headers): Use GET_ELF_SYMBOLS to initialise - symbol count. - (proces_relocs): Likewise. - (ia64_process_unwind): Likewise. - (hppa_process_unwind): Likewise. - (arm_process_unwind): Likewise. - (process_dynamic_section): Likewise. - (process_version_sections): Likewise. - (process_symbol_table): Likewise. - (process_section_groups): Likewise. - Add check before indexing into the symbol table. - (apply_relocations): Likewise. - -2011-10-11 Chris <player1@onet.eu> - - PR binutils/13051 - Fix a syntax error bug when compiling rc files with the VERSIONINFO resource - containing more than one language block inside a single StringFileInfo block. - - * windint.h (rc_ver_stringtable): New structure definition. - (rc_ver_info): Use it. - * rcparse.y (verstringtable): New variable. - (verstringtables): New type. - (verstringtables:): New rule declaration. - (verblocks:): Use it. - * resrc.c (append_ver_stringtable): New function. - (append_ver_stringfileinfo): Update to use stringtables. - * windres.h (append_ver_stringfileinfo): Update declaration. - (append_ver_stringtable): New declaration. - * resrc.c (write_rc_versioninfo): Update to support multiple blocks. - * resbin.c (bin_to_res_version): Likewise. - (res_to_bin_versioninfo): Likewise. - -2011-10-10 Nick Clifton <nickc@redhat.com> - - * po/bg.po: Updated Bulgarian translation. - * po/es.po: Updated Spansih translation. - * po/fi.po: Updated Finnish translation. - * po/fr.po: Updated French translation. - -2011-10-05 DJ Delorie <dj@redhat.com> - Nick Clifton <nickc@redhat.com> - - * readelf.c (get_machine_dlags): Add support for RX's PID mode. - -2011-10-04 Paul Woegerer <paul_woegerer@mentor.com> - Carlos O'Donell <carlos@codesourcery.com> - - * dwarf.c (display_debug_lines_decoded): Index directory_table with - directory_index from file_table entry. - -2011-09-30 Cary Coutant <ccoutant@google.com> - - * binutils/dwarf.h (dwarf_section_display_enum): Add missing enum - constant. - -2011-09-28 Tristan Gingold <gingold@adacore.com> - - * od-xcoff.c (dump_xcoff32_aout_header): Fix typo. - -2011-09-27 Tristan Gingold <gingold@adacore.com> - - * od-xcoff.c (dump_xcoff32_aout_header): Remove some gettext macros. - (dump_xcoff32_sections_header): Likewise. - (dump_xcoff32_symbols, dump_xcoff32_relocs): Likewise. - (dump_xcoff32_lineno, dump_xcoff32_loader): Likewise. - (dump_xcoff32_except): Likewise. - (dump_xcoff32_typchk, dump_xcoff32_tbtags): Likewise. - -2011-09-27 Tristan Gingold <gingold@adacore.com> - - * readelf.c (print_ia64_vms_note): Fix xgettext warnings. - -2011-09-22 Tristan Gingold <gingold@adacore.com> - - * NEWS: Add marker for 2.22. - -2011-09-21 David S. Miller <davem@davemloft.net> - - * MAINTAINER: Take over from Jakub Jalinek as SPARC maintainer. - - * readelf.c (display_sparc_hwcaps): New. - (display_sparc_gnu_attribute): New. - (process_sparc_specific): New. - (process_arch_specific): When EM_SPARC, EM_SPARC32PLUS, - or EM_SPARCV9 invoke process_sparc_specific. - -2011-09-18 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/13196 - * dwarf.c (display_debug_aranges): Check zero address size. - -2011-09-15 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/13180 - * objcopy.c (is_strip_section_1): New. - (is_strip_section): Use it. Remove the group section if all - members are removed. - -2011-09-08 Nick Clifton <nickc@redhat.com> - - * po/ja.po: Updated Japanese translation. - -2011-08-26 Nick Clifton <nickc@redhat.com> - - * po/es.po: Updated Spanish translation. - -2011-08-08 Marcus Comstedt <marcus@mc.pp.se> - - PR binutils/12964 - * Makefile.am (embedspu): Use awk rather than sed. - * Makefile.in: Regenerate. - -2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com> - - * dwarf.c (read_and_display_attr_value): Recognize DW_FORM_data4 and - DW_FORM_data8 as location list pointers only for DWARF < 4. - -2011-07-26 Jakub Jelinek <jakub@redhat.com> - - * NEWS: Mention .debug_macro support. - * dwarf.c (read_and_display_attr_value): Don't print a tab - if attribute is 0. - (get_AT_name): Handle DW_AT_GNU_macros. - (get_line_filename_and_dirname, display_debug_macro): New - functions. - (debug_displays): Add an entry for .debug_macro and .zdebug_macro. - * readelf.c (process_section_headers): With do_debug_macinfo - handle also .debug_macro sections. - * dwarf.h (dwarf_section_display_enum): Add macro. - -2011-07-24 Chao-ying Fu <fu@mips.com> - Maciej W. Rozycki <macro@codesourcery.com> - - * readelf.c (get_machine_flags): Handle microMIPS ASE. - (get_mips_symbol_other): Likewise. - -2011-07-22 H.J. Lu <hongjiu.lu@intel.com> - - * dwarf.c (init_dwarf_regnames): Handle EM_K1OM. - - * elfedit.c (elf_machine): Support EM_K1OM. - (elf_class): Likewise. - - * readelf.c (guess_is_rela): Handle EM_K1OM. - (dump_relocations): Likewise. - (get_machine_name): Likewise. - (get_section_type_name): Likewise. - (get_elf_section_flags): Likewise. - (process_section_headers): 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. - - * doc/binutils.texi: Mention K1OM for elfedit. - -2011-07-11 Cary Coutant <ccoutant@google.com> - - PR 12983 - * binutils/nm.c (display_file): Decompress debug sections when - printing line numbers. - -2011-07-03 Samuel Thibault <samuel.thibault@gnu.org> - Thomas Schwinge <thomas@schwinge.name> - - PR binutils/12913 - * elfedit.c (osabis): Use ELFOSABI_GNU name instead of ELFOSABI_LINUX - alias and ELFOSABI_HURD. Add GNU alias. - * readelf.c (get_osabi_name, get_symbol_binding, get_symbol_type): - Likewise. - * doc/binutils.texi <elfedit>: Update accordingly. - -2011-07-01 Nick Clifton <nickc@redhat.com> - - PR binutils/12325 - * doc/binutils.texi (ar cmdline): Document --target, --version and - --help command line options. - -2011-06-30 Nick Clifton <nickc@redhat.com> - - PR binutils/12558 - * ar.c (main): When asked to move members in an archive that is - being created, ignore the move request. - -2011-06-29 Nick Clifton <nickc@redhat.com> - - * readelf.c (get_section_type_name): When displaying an unknown - section type display the hex value first on the assumption that - the full message will probably be truncated into a 15 character - field. - -2011-06-22 Jakub Jelinek <jakub@redhat.com> - - * dwarf.c (decode_location_expression): For DW_OP_GNU_convert and - DW_OP_GNU_reinterpret, if uvalue is 0, don't add cu_offset. - Handle DW_OP_GNU_parameter_ref. - -2011-06-16 Tom Tromey <tromey@redhat.com> - - * dwarf-mode.el (dwarf-do-insert-substructure): Call - expand-file-name. - (dwarf-do-refresh): Likewise. - -2011-06-15 Ulrich Weigand <ulrich.weigand@linaro.org> - - * readelf.c (get_note_type): Handle NT_ARM_VFP. - -2011-06-13 Walter Lee <walt@tilera.com> - - * readelf.c: Include tilepro.h and tilegx.h. - (guess_is_rela): Handle EM_TILEGX and EM_TILEPRO. - (dump_relocations): Likewise. - (get_machine_name): Likewise. - (is_32bit_abs_reloc): Likewise. - (is_32bit_pcerel_reloc): Likewise. - (is_64bit_abs_reloc): Likewise. - (is_64bit_pcrel_reloc): Likewise. - -2011-06-09 Tristan Gingold <gingold@adacore.com> - - * od-xcoff.c (xcoff32_read_symbols): Allow missing string table - length. - -2011-06-08 Nick Clifton <nickc@redhat.com> - - PR binutils/12855 - * readelf.c (process_version_sections): Handle binaries containing - corrupt version information. - (process_symbol_table): Stop processing a symbol's version - information if it could not be read in. - - (get_data): Add comment describing the function. - (process_section_headers): Set dynamic_strings_length to 0 if the - dynamic strings could not be read in. - (process_dynamic_section): Likewise. - (process_section_groups): Stop processing the group information if - the data could not be read in. - (hppa_processs_unwind): Assert that there is only one string table - in the file. - (arm_process_unwind): Likewise. - (ia64_process_unwind): Likewise. - Set the size of the unwind auxillary information to 0 if the data - could not be read. - (load_specific_debug_section): Handle a failure to read in the - section. - (process_mips_specific): Stop display of the PLT GOT section if it - could not be read in. - -2011-06-08 Tristan Gingold <gingold@adacore.com> - - * makefile.vms (DEFS): Define OBJDUMP_PRIVATE_VECTORS. - -2011-06-07 Cary Coutant <ccoutant@google.com> - - * dwarf.c: Fix conversion to TU number. - -2011-06-02 Nick Clifton <nickc@redhat.com> - - * resres.c: Fix spelling typo. - * windint.h: Likewise. - * windmc.c: Likewise. - * windres.c: Likewise. - * po/POTFILES.in: Regenerate. - * po/binutils.pot: Regenerate. - -2011-06-01 Daniel Jacobowitz <drow@false.org> - - * MAINTAINERS: Update my email address. - -2011-05-31 Matthias Klose <doko@ubuntu.com> - - * configure.in (BUILD_INSTALL_MISC): Only add embedspu once. - * configure: Regenerate. - -2011-05-30 Alan Modra <amodra@gmail.com> - - PR binutils/12820 - * Makefile.am (bin_PROGRAMS): Move BUILD_INSTALL_MISC to.. - (bin_SCRIPTS): ..here. - (EXTRA_SCRIPTS): Define. - (EXTRA_DIST): Add embedspu.sh. - (DISTCLEANFILES): Add embedspu. - (embedspu): Depend on Makefile. Replace sed "s" command with "c". - * Makefile.in: Regenerate. - -2011-05-25 Jakub Jelinek <jakub@redhat.com> - - * dwarf.c (loc_offsets): New variable. - (loc_offsets_compar): New routine. - (display_debug_loc): Handle loc_offsets not being in ascending order - and also a single .debug_loc entry being used multiple times. - -2011-05-18 Nick Clifton <nickc@redhat.com> - - PR binutils/12753 - * nm.c (filter_symbols): Treat unique symbols as global symbols. - * doc/binutils.texi (nm): Mention that some lowercase letters - actually indicate global symbols. - -2011-05-15 Tristan Gingold <gingold@adacore.com> - - * od-xcoff.c: New file. - * objdump.h: New file. - * objdump.c: Include objdump.h - (dump_private_options, objdump_private_vectors): New variables. - (usage): Mention -P/--private. Display handled options. - (long_options): Add -P/--private. - (dump_target_specific): New function. - (dump_bfd): Handle dump_private_options. - (main): Handle -P. - * doc/binutils.texi (objdump): Document -P/--private. - * configure.in (OBJDUMP_PRIVATE_VECTORS, OBJDUMP_PRIVATE_OFILES): - New variables, compute them. - (od_vectors): Add vectors for private dumpers. Make them uniq. - (OBJDUMP_DEFS): Add OBJDUMP_PRIVATE_VECTORS. - * Makefile.am (HFILES): Add objdump.h - (CFILES): Add od-xcoff.c - (OBJDUMP_PRIVATE_OFILES): New variable. - (objdump_DEPENDENCIES): Append OBJDUMP_PRIVATE_OFILES. - (objdump_LDADD): Ditto. - (EXTRA_objdump_SOURCES): Define. - * Makefile.in: Regenerate. - * configure: Regenerate. - -2011-05-10 Tristan Gingold <gingold@adacore.com> - - * dwarf.c (process_extended_line_op): Dump unknown records. - -2011-05-07 Alan Modra <amodra@gmail.com> - - PR binutils/12632 - * objcopy.c (copy_archive): Check bfd_openw result in unknown object - case. Rewrite without goto. - -2011-05-03 Jakub Jelinek <jakub@redhat.com> - - * dwarf.c (decode_location_expression): Handle DW_OP_GNU_const_type, - DW_OP_GNU_regval_type, DW_OP_GNU_deref_type, DW_OP_GNU_convert - and DW_OP_GNU_reinterpret. - - * MAINTAINERS: Add myself as DWARF2 maintainer. - -2011-05-02 Alan Modra <amodra@gmail.com> - - PR binutils/12720 - Revert the following change - Michael Snyder <msnyder@vmware.com> - * ar.c (move_members): Plug memory leak. - (delete_members): Plug memory leak. - -2011-04-28 Tom Tromey <tromey@redhat.com> - - * NEWS: Add note about --dwarf-depth, --dwarf-start, and - dwarf-mode.el. - * objdump.c (suppress_bfd_header): New global. - (usage): Update. - (OPTION_DWARF_DEPTH, OPTION_DWARF_START): New constants. - (options): Add dwarf-depth and dwarf-start entries. - (dump_bfd): Use suppress_bfd_header. - (main): Handle OPTION_DWARF_START, OPTION_DWARF_DEPTH. - * doc/binutils.texi (objcopy): Document --dwarf-depth and - --dwarf-start. - (readelf): Likewise. - * dwarf-mode.el: New file. - * dwarf.c (dwarf_cutoff_level, dwarf_start_die): New globals. - (read_and_display_attr_value): Also check debug_info_p. - (process_debug_info): Handle dwarf_start_die and - dwarf_cutoff_level. - * dwarf.h (dwarf_cutoff_level, dwarf_start_die): Declare. - * readelf.c (usage): Update. - (OPTION_DWARF_DEPTH): New macro. - (OPTION_DWARF_START): Likewise. - (options): Add dwarf-depth and dwarf-start entries. - (parse_args): Handle OPTION_DWARF_START and OPTION_DWARF_DEPTH. - -2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com> - - * dwarf.c (display_gdb_index): Support version 5, warn on version 4. - -2011-04-27 Tristan Gingold <gingold@adacore.com> - - * dwarf.c (process_extended_line_op): Handle - DW_LNE_HP_source_file_correlation. - -2011-04-27 Nick Clifton <nickc@redhat.com> - - * po/da.po: Updated Danish translation. - -2011-04-21 Tom Tromey <tromey@redhat.com> - - * readelf.c (print_stapsdt_note): New function. - (process_note): Use it. - -2011-04-21 Tom Tromey <tromey@redhat.com> - - * readelf.c (get_stapsdt_note_type): New function. - (process_note): Recognize "stapsdt" notes. - -2011-04-21 Tom Tromey <tromey@redhat.com> - - * readelf.c (process_corefile_note_segment): Change header field - widths. - (process_note): Change field widths. - -2011-04-21 Tom Tromey <tromey@redhat.com> - - * readelf.c (print_gnu_note): New function. - (process_note): Use it. - -2011-04-21 Jie Zhang <jzhang918@gmail.com> - - * MAINTAINERS: Update my email address. - -2011-04-11 Kai Tietz <ktietz@redhat.com> - - * windres.c (usage): Add new --preprocessor-arg option. - (option_values): Add new OPTION_PREPROCESSOR_ARG enumerator. - (option long_options): Add preprocessor-arg option. - (main): Handle it. - * doc/binutils.texi: Add documentation for --preprocessor-arg - option. - * NEWS: Add line about new --preprocessor-arg option for windres. - -2011-04-08 John Marino <binutils@marino.st> - - * arlex.l: Prevent redefinition of YY_NO_UNPUT. - * syslex.l: Likewise. - -2011-04-07 Paul Brook <paul@codesourcery.com> - - * readelf.c (arm_section_get_word): Handle C6000 relocations. - (decode_tic6x_unwind_regmask, decode_arm_unwind_bytecode, - decode_tic6x_unwind_bytecode, expand_prel31): New functions. - (decode_arm_unwind): Split out common code from ARM specific bits. - (dump_arm_unwind): Use expand_prel31. - (arm_process_unwind): Handle SHT_C6000_UNWIND sections. - (process_unwind): Add SHT_C6000_UNWIND. - -2011-04-06 Joseph Myers <joseph@codesourcery.com> - - * configure.in (thumb-*-pe*): Remove. - * configure: Regenerate. - -2011-04-05 Sterling Augustine <augustine.sterling@gmail.com> - - * MAINTAINERS: Update my email address. - -2011-04-03 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/12632 - * objcopy.c (copy_unknown_object): Make the archive element - readable. - -2011-04-03 David S. Miller <davem@davemloft.net> - - * objdump.c (dump_reloc_set): Output R_SPARC_OLO10 relocations - accurately, rather than how they are represented internally. - -2011-03-31 Tristan Gingold <gingold@adacore.com> - - * makefile.vms (readelf.exe): New target. - -2011-03-31 Tristan Gingold <gingold@adacore.com> - - * makefile.vms (DEBUG_OBJS): Add elfcomm.obj. - -2011-03-31 Bernd Schmidt <bernds@codesourcery.com> - - * readelf.c (get_symbol_index_type): Handle SCOM for TIC6X. - (dump_relocations): Likewise. - -2011-03-31 Tristan Gingold <gingold@adacore.com> - - * readelf.c (get_ia64_vms_note_type): New function. - (print_ia64_vms_note): Ditto. - (process_note): Recognize VMS/ia64 specific notes. - Display them. - (process_corefile_note_segment): Decode VMS notes. - -2011-03-30 Catherine Moore <clm@codesourcery.com> - - * addr2line.c (translate_addresses): Sign extend the pc - if sign_extend_vma is enabled. - -2011-03-30 Michael Snyder <msnyder@msnyder-server.eng.vmware.com> - - * readelf.c (process_gnu_liblist): Stop memory leak. - -2011-03-29 Alan Modra <amodra@gmail.com> - - * coffdump.c: Include bfd_stdint.h - -2011-03-28 Pierre Muller <muller@ics.u-strasbg.fr> - - * coffdump.c (coff_dump): Correct spelling error. - (show_usage): Replace SYSROFF by COFF. - -2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr> - - * coffdump.c (dump_coff_scope): Use double typecast for pointer P - to allow compilation for all targets. - -2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr> - - * dwarf.c (process_debug_info): Use offset_size to determine - the bit-size of the computation unit's offset. - (decode_location_expression): Use dwarf_vmatoa function to display - DW_OP_addr OP. - (process_debug_info): Use dwarf_vma type for local variables - length and type_offset. - -2011-03-25 Michael Snyder <msnyder@vmware.com> - - * strings.c (print_strings): Plug memory leak. - * ar.c (move_members): Plug memory leak. - (delete_members): Plug memory leak. - (write_archive): Plug memory leak. - * ieee.c (ieee_add_bb11): Plug memory leak. - (ieee_function_type): Likewise. - (ieee_class_baseclass): Likewise. - * prdbg.c (pr_function_type): Close memory leaks. - (pr_method_type): Likewise. - (tg_class_static_member): Likewise. - (tg_class_method_variant): Likewise. - (tg_class_static_method_variant): Likewise. - * stabs.c (parse_stab_enum_type): Fix memory leaks. - (parse_stab_struct_type): Likewise. - (parse_stab_struct_fields): Likewise. - (parse_stab_one_struct_field): Likewise. - (parse_stab_members): Likewise. - (stab_demangle_qualified): Likewise. - * objdump.c (dump_reloc_set): Free malloced memory. - * bucomm.c (make_tempname): Stop memory leak. - -2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr> - - Replace bfd_vma type and analog types by dwarf_vma and analogs. - Use dwarf specific print functions to display these type values. - * dwarf.h (dwarf_signed_vma): New type; - (DWARF2_External_LineInfo): Replace bfd_vma by dwarf_vma. - (DWARF2_External_PubNames): Likewise. - (DWARF2_External_CompUnit): Likewise. - (DWARF2_External_ARange): Likewise. - (read_leb128): Change return type to dwarf_vma. - * dwarf.c (print_dwarf_vma): Use __MINGW32__ conditional and - check byte_size values. - (dwarf_vmatoa): Change parameter type to dwarf_vma. - (dwarf_svmatoa): New static function. - (read_leb128): Change return type to dwarf_vma. - (read_sleb128): New static function. - (struct State_Machine_Registers): Change address field type to - dwarf_vma. - (process_extended_line_op): Adapt to type changes. - (fetch_indirect_string): Likewise. - (idisplay_block): Likewise. - (decode_location_expression): Likewise. - (read_and_display_attr_value): Likewise. - (process_debug_info): Likewise. - (display_debug_lines_raw): Likewise. - (display_debug_lines_decoded): Likewise. - (SLEB macro): Use new read_sleb128 function. - -2011-03-17 Alan Modra <amodra@gmail.com> - - PR 12590 - * ar.c (ranlib_main): Init arg_index properly. - (usage): Describe --target. - -2011-03-16 Jakub Jelinek <jakub@redhat.com> - - * dwarf.c (dw_TAG_name): Handle DW_TAG_GNU_call_site_parameter. - (read_and_display_attr_value): Handle DW_AT_GNU_call_site_data_value, - DW_AT_GNU_call_site_target and DW_AT_GNU_call_site_target_clobbered. - (get_AT_name): Handle DW_AT_GNU_call_site_value, - DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target, - DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call, - DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites and - DW_AT_GNU_all_source_call_sites. - (decode_location_expression) <case DW_OP_GNU_entry_value>: Adjust - handling. - -2011-03-16 Jan Kratochvil <jan.kratochvil@redhat.com> - - * dwarf.c (get_TAG_name): Handle DW_TAG_GNU_call_site. - (decode_location_expression): Handle DW_OP_GNU_entry_value. - (read_and_display_attr_value): Handle DW_AT_GNU_call_site_value. - (get_AT_name): Likewise. - -2011-03-14 Michael Snyder <msnyder@vmware.com> - - * objcopy.c (set_pe_subsystem): Free subsystem. - - * wrstabs.c (stab_start_struct_type): Close memory leak. - - * readelf.c (process_version_sections): Free symbols. - - * nm.c (display_rel_file): Free symsizes. - -2011-03-10 Nick Clifton <nickc@redhat.com> - - * readelf.c (get_machine_name): Update EM_V850 entry. - -2011-03-03 Mike Frysinger <vapier@gentoo.org> - - * objdump.c (usage): Fix single typo. - * po/bg.po, po/binutils.pot, po/da.po, po/es.po, po/fi.po, - po/fr.po, po/id.po, po/ja.po, po/ru.po, po/vi.po: Likewise. - -2011-03-01 Akos Pasztory <akos.pasztory@gmail.com> - - PR binutils/12523 - * readelf.c (process_object): Clear dynamic_info_DT_GNU_HASH. - -2011-02-28 Kai Tietz <kai.tietz@onevision.com> - - * debug.c (debug_start_source): Use filename_(n)cmp. - * ieee.c (ieee_finish_compilation_unit): Likewise. - (ieee_lineno): Likewise. - * nlmconv.c (main): Likewise. - * objcopy.c (strip_main): Likewise. - (copy_main): Likewise. - * objdump.c (show_line): Likewise. - (dump_reloc_set): Likewise. - * srconv.c (main): Likewise. - * wrstabs.c (stab_lineno): Likewise. - -2011-02-24 Zachary T Welch <zwelch@codesourcery.com> - - * readelf.c (decode_arm_unwind): Implement decoding of remaining - ARM unwind instructions (i.e. VFP/NEON and Intel Wireless MMX). - -2011-02-23 Kai Tietz <kai.tietz@onevision.com> - - * dwarf.c (read_leb128): Use bfd_vma instead of - long type. - (dwarf_vmatoa): New helper routine. - (process_extended_line_op): Use for adr bfd_vma - type and print those typed values via BFD_VMA_FMT - or via dwarf_vmatoa for localized prints. - (fetch_indirect_string): Adjust offset's type. - (decode_location_expression): Adjust argument types - and uvalue type. - (read_and_display_attr_value): Likewise. - (read_and_display_attr): Likewise. - (decode_location_expression): Adjust printf format. - (process_debug_info): Likewise. - (display_debug_lines_raw): Likewise. - (display_debug_lines_decoded): Likewise. - (display_debug_pubnames): Likewise. - (display_debug_loc): Likewise. - (display_debug_aranges): Likewise. - * dwarf.h (DWARF2_External_LineInfo, - DWARF2_Internal_LineInfo, DWARF2_External_PubNames, - DWARF2_Internal_PubNames, DWARF2_External_CompUnit, - DWARF2_Internal_CompUnit, DWARF2_External_ARange, - DWARF2_Internal_ARange): Added.. - (read_leb128): Adjust return type. - -2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure: Regenerate. - -2011-02-08 Nick Clifton <nickc@redhat.com> - - PR binutils/12467 - * readelf.c (process_program_headers): Issue a warning if there - are no program headers but the file header has a non-zero program - header offset. - (process_section_headers): Issue a warning if there are no section - headers but the file header has a non-zero section header offset. - (process_section_groups): Reword the no section message so that it - can be distinguished from the one issued by process_section_headers. - -2011-01-26 Jan Kratochvil <jan.kratochvil@redhat.com> - Doug Evans <dje@google.com> - - * dwarf.c (display_gdb_index): Support version 4, warn on version 3. - -2011-01-19 Maciej W. Rozycki <macro@codesourcery.com> - - * readelf.c (process_object): Free dynamic_section after use. - -2011-01-18 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/12408 - * readelf.c (process_archive): Free and reset dump_sects - after processing each archive member. - -2011-01-11 Andreas Schwab <schwab@redhat.com> - - * readelf.c (print_symbol): Handle symbol characters as unsigned. - Whitespace fixes. - -2011-01-10 Nick Clifton <nickc@redhat.com> - - * po/da.po: Updated Danish translation. - -2011-01-06 Vladimir Siminov <sv@sw.ru> - - * bucomm.c (get_file_size): Check for negative sizes and issue a - warning message if encountered. - -2011-01-01 H.J. Lu <hongjiu.lu@intel.com> - - * version.c (print_version): Update copyright to 2011. - -For older changes see ChangeLog-2010 +For older changes see ChangeLog-2011 Local Variables: mode: change-log diff --git a/binutils/ChangeLog-2011 b/binutils/ChangeLog-2011 new file mode 100644 index 0000000..b81c81d --- /dev/null +++ b/binutils/ChangeLog-2011 @@ -0,0 +1,930 @@ +2011-12-28 Ian Lance Taylor <iant@google.com> + + * dwarf.c (read_and_display_attr_value): Handle DW_LANG_Go. + +2011-12-20 Roland McGrath <mcgrathr@google.com> + + * configure.in (--enable-deterministic-archives): Grok new + argument. Set DEFAULT_AR_DETERMINISTIC to 1 or 0 accordingly. + * configure: Regenerated. + * config.in: Regenerated. + * ar.c (deterministic): Initialize to -1. + (decode_options, ranlib_main): Grok U option. + (usage, ranlib_usage): Mention U; say for D and U which is the default. + (default_deterministic): New function. + (ranlib_main): Call it. + (main): Likewise. Make newer_only && deterministic error + non-fatal if it was just DEFAULT_AR_DETERMINISTIC and not the D option. + * doc/binutils.texi (ar cmdline, ranlib): Document U modifier and + --enable-deterministic-archives behavior. + +2011-12-16 Tristan Gingold <gingold@adacore.com> + + * od-macho.c: Include mach-o/codesign.h + (OPT_CODESIGN): Define. + (options): Add an entry for codesign. + (mach_o_help): Likewise. + (dump_header): Fix indentation. + (dump_thread): Do not test result of xmalloc. + (bfd_mach_o_cs_magic, bfd_mach_o_cs_hash_type): New. + (dump_code_signature_superblob): New function. + (swap_code_codedirectory_v1_in): Likewise. + (hexdump): Likewise. + (dump_code_signature_codedirectory): Likewise. + (dump_code_signature_blob, dump_code_signature): Likewise. + (dump_load_command): Dump code signature. + (mach_o_dump): Likewise. + +2011-12-15 Andreas Tobler <andreast@fgznet.ch> + + * readelf.c (get_symbol_type): Add ELFOSABI_FREEBSD to the + supported abi's. + +2011-12-13 Tristan Gingold <gingold@adacore.com> + + * od-macho.c: New file. + * objdump.h (objdump_private_desc_mach_o): Add. + * configure.in: Add Mach-O od_vectors. + * Makefile.am (CFILES): Add od-macho.c + * configure: Regenerate. + * Makefile.in: Regenerate. + +2011-12-06 David Daney <david.daney@cavium.com> + + * readelf.c (dynamic_section_mips_val): Factor out trailing '\n' + from printed strings and move it to the end of the function. + Use BFD_VMA_FMT for printf format specifier for dynamic tag value. + Use print_vma() to print dynamic tag values. + +2011-12-02 Nick Clifton <nickc@redhat.com> + + * readelf.c (ia64_process_unwind): Turn into a void funtion. + (hppa_process_unwind): Likewise. + (arm_process_unwind): Likewise. + (process_unwind): Likewise. + (arm_get_section_word): Rename to get_unwind_section_word. + Add sym_name parameter to return the offset into the string table + of the symbol associated with the reloc applied to the word. + (decode_tic6x_unwind_regmask): Add NULL argument to invocation of + get_unwind_section_word. + (dump_arm_unwind): Likewise. + (decode_arm_unwind_bytecode): Prepend a comma when *not* the first + register in a list. + (decode_arm_unwind): If the returned function address is 0 and a + valid symname offset is provided use that to compute the name + associated with the entry. + Add extra checks of the compact model index entry. + +2011-11-29 Roland McGrath <mcgrathr@google.com> + + * ar.c (ranlib_usage): Describe -D. + (ranlib_main): Parse -D. + (ranlib_touch): Set BFD_DETERMINISTIC_OUTPUT under -D. + * doc/binutils.texi (ranlib): Describe -D, and also --help/-h/-H. + +2011-11-28 Nick Clifton <nickc@redhat.com> + + PR binutils/13421 + * readelf.c (arm_section_get_word): Add descriptive comments. + Initliase the rel_type field of the arm_sec structure. + (expand_prel31): Rename to arm_expand_prel31. + (dump_arm_unwind): Use new name. + Print the function name based on the function address entry. + +2011-11-11 Andreas Schwab <schwab@linux-m68k.org> + + * readelf.c (process_program_headers): Fix typo printing p_memsz + field. + +2011-11-01 DJ Delorie <dj@redhat.com> + + * readelf.c: Include elf/rl78.h + (guess_is_rela): Handle EM_RL78. + (dump_relocations): Likewise. + (get_machine_name): Likewise. + (is_32bit_abs_reloc): Likewise. + * NEWS: Mention addition of RL78 support. + * MAINTAINERS: Add myself as RL78 port maintainer. + +2011-10-28 Ian Lance Taylor <iant@google.com> + + * dwarf.c (display_debug_frames): If do_debug_frames_interp, + DW_CFA_restore goes to DW_CFA_undefined, not DW_CFA_unreferenced. + +2011-10-28 Walter Lee <walt@tilera.com> + + * NEWS: Mention addition of TILEPro and TILE-Gx support. + * MAINTAINERS: Add myself as TILEPro and TILE-Gx port maintainer. + +2011-10-27 Joern Rennecke <joern.rennecke@embecosm.com> + + * MAINTAINERS: Add myself as EPIPHANY port maintainer. + +2011-10-25 Mike Frysinger <vapier@gentoo.org> + + * Makefile.am (syslex.@OBJEXT@): Add -I$(srcdir). + * Makefile.in: Regen. + +2011-10-25 Joern Rennecke <joern.rennecke@embecosm.com> + + * readelf.c: Include "elf/epiphany.h". + (guess_is_rela, dump_relocation): Handle EM_ADAPTEVA_EPIPHANY. + (get_machine_name, is_32bit_abs_reloc, is_32bit_pcrel_reloc): Likewise. + (is_16bit_abs_reloc, is_none_reloc): Likewise. + * po/binutils.pot: Regenerate. + +2011-10-25 Kai Tietz <ktietz@redhat.com> + + * winduni.h (unicode_from_ascii_len): New prototype. + * winduni.c (unicode_from_ascii_len): New function. + * windres.h (define_stringtable): Add additional length argument. + * windres.c (define_stringtable): Add length argument for string. + * rcparse.y (res_unicode_sizedstring): New rule. + (res_unicode_sizedstring_concat): Likewise. + (string_data): Adjust rule. + +2011-10-24 Jan Kratochvil <jan.kratochvil@redhat.com> + + * dwarf.c (read_and_display_attr_value) <DW_AT_import>: Add CU_OFFSET + also for DW_FORM_ref_udata. + +2011-10-24 Nick Clifton <nickc@redhat.com> + + * po/ja.po: Updated Japanese translation. + +2011-10-16 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/13278 + * ar.c (open_inarch): Set the target from the the first object + on the list only if it isn't set. + +2011-10-13 Nick Clifton <nickc@redhat.com> + + Fixes to aid translation: + * addr2line.c (translate_address): Add comments describing context + of a couple of printf statements. + * ar.c (write_archive): Allow translation of error message. + * bucomm.c (endian_string): Allow translation of strings. + (display_target_list): Allow translation. + * coffdump.c (dump_coff_type): Allow translation of output. + (dump_coff_where): Likewise. + (dump_coff_symbol): Likewise. + (dump_coff_scope): Likewise. + (dump_coff_sfile): Likewise. + (dump_coff_section): Likewise. + (coff_dump): Likewise. + * dlltool (def_version): Allow translation of output. + (run): Likewise. + * dllwrap.c (run): Allow translation of output. + * dwarf.c (print_dwarf_vma): Allow translation of output. + (process_extended_line_op): Remove spurious translation. + Add translation for strings that can be translated. + (decode_location_exression): Allow translation of output. + (read_and_display_attr_value): Allow translation of output. + * readelf.c (slurp_rela_relocs): Add translation for error + messages when failing to get data. + (slurp_rel_relocs): Likewise. + (get_32bit_elf_symbols): Likewise. + (get_64bit_elf_symbols): Likewise. + (dump_ia64_vms_dynamic_relocs): Replace abbreviation with full + word. + (process_relocs): Remove spurious translation. + (decode_tic6x_unwind_bytecode): Likewise. + (process_version_section): Improve error messages. + (process_mips_specific): Likewise. + (print_gnu_note): Remove spurious translation. + (print_stapsdt_note): Likewise. + (get_ia64_vms_note_type): Likewise. + * sysdump.c (getCHARS): Allow translation. + (fillup): Allow translation of output. + (getone): Likewise. + (must): Likewise. + (derived_type): Likewise. + * doc/binutils.doc (addr2line): Extend description of command line + options. + * po/binutils.pot: Regenerate. + +2011-10-13 Nick Clifton <nickc@redhat.com> + + PR binutils/13219 + * readelf.c (GET_ELF_SYMBOLS): Add sym_count parameter. + (get_32bit_elf_symbols): Add num_syms_return argument. + Return the number of symbols loaded into the symbol table. + (get_64bit_elf_symbols): Likewise. + (process_section_headers): Use GET_ELF_SYMBOLS to initialise + symbol count. + (proces_relocs): Likewise. + (ia64_process_unwind): Likewise. + (hppa_process_unwind): Likewise. + (arm_process_unwind): Likewise. + (process_dynamic_section): Likewise. + (process_version_sections): Likewise. + (process_symbol_table): Likewise. + (process_section_groups): Likewise. + Add check before indexing into the symbol table. + (apply_relocations): Likewise. + +2011-10-11 Chris <player1@onet.eu> + + PR binutils/13051 + Fix a syntax error bug when compiling rc files with the VERSIONINFO resource + containing more than one language block inside a single StringFileInfo block. + + * windint.h (rc_ver_stringtable): New structure definition. + (rc_ver_info): Use it. + * rcparse.y (verstringtable): New variable. + (verstringtables): New type. + (verstringtables:): New rule declaration. + (verblocks:): Use it. + * resrc.c (append_ver_stringtable): New function. + (append_ver_stringfileinfo): Update to use stringtables. + * windres.h (append_ver_stringfileinfo): Update declaration. + (append_ver_stringtable): New declaration. + * resrc.c (write_rc_versioninfo): Update to support multiple blocks. + * resbin.c (bin_to_res_version): Likewise. + (res_to_bin_versioninfo): Likewise. + +2011-10-10 Nick Clifton <nickc@redhat.com> + + * po/bg.po: Updated Bulgarian translation. + * po/es.po: Updated Spansih translation. + * po/fi.po: Updated Finnish translation. + * po/fr.po: Updated French translation. + +2011-10-05 DJ Delorie <dj@redhat.com> + Nick Clifton <nickc@redhat.com> + + * readelf.c (get_machine_dlags): Add support for RX's PID mode. + +2011-10-04 Paul Woegerer <paul_woegerer@mentor.com> + Carlos O'Donell <carlos@codesourcery.com> + + * dwarf.c (display_debug_lines_decoded): Index directory_table with + directory_index from file_table entry. + +2011-09-30 Cary Coutant <ccoutant@google.com> + + * binutils/dwarf.h (dwarf_section_display_enum): Add missing enum + constant. + +2011-09-28 Tristan Gingold <gingold@adacore.com> + + * od-xcoff.c (dump_xcoff32_aout_header): Fix typo. + +2011-09-27 Tristan Gingold <gingold@adacore.com> + + * od-xcoff.c (dump_xcoff32_aout_header): Remove some gettext macros. + (dump_xcoff32_sections_header): Likewise. + (dump_xcoff32_symbols, dump_xcoff32_relocs): Likewise. + (dump_xcoff32_lineno, dump_xcoff32_loader): Likewise. + (dump_xcoff32_except): Likewise. + (dump_xcoff32_typchk, dump_xcoff32_tbtags): Likewise. + +2011-09-27 Tristan Gingold <gingold@adacore.com> + + * readelf.c (print_ia64_vms_note): Fix xgettext warnings. + +2011-09-22 Tristan Gingold <gingold@adacore.com> + + * NEWS: Add marker for 2.22. + +2011-09-21 David S. Miller <davem@davemloft.net> + + * MAINTAINER: Take over from Jakub Jalinek as SPARC maintainer. + + * readelf.c (display_sparc_hwcaps): New. + (display_sparc_gnu_attribute): New. + (process_sparc_specific): New. + (process_arch_specific): When EM_SPARC, EM_SPARC32PLUS, + or EM_SPARCV9 invoke process_sparc_specific. + +2011-09-18 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/13196 + * dwarf.c (display_debug_aranges): Check zero address size. + +2011-09-15 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/13180 + * objcopy.c (is_strip_section_1): New. + (is_strip_section): Use it. Remove the group section if all + members are removed. + +2011-09-08 Nick Clifton <nickc@redhat.com> + + * po/ja.po: Updated Japanese translation. + +2011-08-26 Nick Clifton <nickc@redhat.com> + + * po/es.po: Updated Spanish translation. + +2011-08-08 Marcus Comstedt <marcus@mc.pp.se> + + PR binutils/12964 + * Makefile.am (embedspu): Use awk rather than sed. + * Makefile.in: Regenerate. + +2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com> + + * dwarf.c (read_and_display_attr_value): Recognize DW_FORM_data4 and + DW_FORM_data8 as location list pointers only for DWARF < 4. + +2011-07-26 Jakub Jelinek <jakub@redhat.com> + + * NEWS: Mention .debug_macro support. + * dwarf.c (read_and_display_attr_value): Don't print a tab + if attribute is 0. + (get_AT_name): Handle DW_AT_GNU_macros. + (get_line_filename_and_dirname, display_debug_macro): New + functions. + (debug_displays): Add an entry for .debug_macro and .zdebug_macro. + * readelf.c (process_section_headers): With do_debug_macinfo + handle also .debug_macro sections. + * dwarf.h (dwarf_section_display_enum): Add macro. + +2011-07-24 Chao-ying Fu <fu@mips.com> + Maciej W. Rozycki <macro@codesourcery.com> + + * readelf.c (get_machine_flags): Handle microMIPS ASE. + (get_mips_symbol_other): Likewise. + +2011-07-22 H.J. Lu <hongjiu.lu@intel.com> + + * dwarf.c (init_dwarf_regnames): Handle EM_K1OM. + + * elfedit.c (elf_machine): Support EM_K1OM. + (elf_class): Likewise. + + * readelf.c (guess_is_rela): Handle EM_K1OM. + (dump_relocations): Likewise. + (get_machine_name): Likewise. + (get_section_type_name): Likewise. + (get_elf_section_flags): Likewise. + (process_section_headers): 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. + + * doc/binutils.texi: Mention K1OM for elfedit. + +2011-07-11 Cary Coutant <ccoutant@google.com> + + PR 12983 + * binutils/nm.c (display_file): Decompress debug sections when + printing line numbers. + +2011-07-03 Samuel Thibault <samuel.thibault@gnu.org> + Thomas Schwinge <thomas@schwinge.name> + + PR binutils/12913 + * elfedit.c (osabis): Use ELFOSABI_GNU name instead of ELFOSABI_LINUX + alias and ELFOSABI_HURD. Add GNU alias. + * readelf.c (get_osabi_name, get_symbol_binding, get_symbol_type): + Likewise. + * doc/binutils.texi <elfedit>: Update accordingly. + +2011-07-01 Nick Clifton <nickc@redhat.com> + + PR binutils/12325 + * doc/binutils.texi (ar cmdline): Document --target, --version and + --help command line options. + +2011-06-30 Nick Clifton <nickc@redhat.com> + + PR binutils/12558 + * ar.c (main): When asked to move members in an archive that is + being created, ignore the move request. + +2011-06-29 Nick Clifton <nickc@redhat.com> + + * readelf.c (get_section_type_name): When displaying an unknown + section type display the hex value first on the assumption that + the full message will probably be truncated into a 15 character + field. + +2011-06-22 Jakub Jelinek <jakub@redhat.com> + + * dwarf.c (decode_location_expression): For DW_OP_GNU_convert and + DW_OP_GNU_reinterpret, if uvalue is 0, don't add cu_offset. + Handle DW_OP_GNU_parameter_ref. + +2011-06-16 Tom Tromey <tromey@redhat.com> + + * dwarf-mode.el (dwarf-do-insert-substructure): Call + expand-file-name. + (dwarf-do-refresh): Likewise. + +2011-06-15 Ulrich Weigand <ulrich.weigand@linaro.org> + + * readelf.c (get_note_type): Handle NT_ARM_VFP. + +2011-06-13 Walter Lee <walt@tilera.com> + + * readelf.c: Include tilepro.h and tilegx.h. + (guess_is_rela): Handle EM_TILEGX and EM_TILEPRO. + (dump_relocations): Likewise. + (get_machine_name): Likewise. + (is_32bit_abs_reloc): Likewise. + (is_32bit_pcerel_reloc): Likewise. + (is_64bit_abs_reloc): Likewise. + (is_64bit_pcrel_reloc): Likewise. + +2011-06-09 Tristan Gingold <gingold@adacore.com> + + * od-xcoff.c (xcoff32_read_symbols): Allow missing string table + length. + +2011-06-08 Nick Clifton <nickc@redhat.com> + + PR binutils/12855 + * readelf.c (process_version_sections): Handle binaries containing + corrupt version information. + (process_symbol_table): Stop processing a symbol's version + information if it could not be read in. + + (get_data): Add comment describing the function. + (process_section_headers): Set dynamic_strings_length to 0 if the + dynamic strings could not be read in. + (process_dynamic_section): Likewise. + (process_section_groups): Stop processing the group information if + the data could not be read in. + (hppa_processs_unwind): Assert that there is only one string table + in the file. + (arm_process_unwind): Likewise. + (ia64_process_unwind): Likewise. + Set the size of the unwind auxillary information to 0 if the data + could not be read. + (load_specific_debug_section): Handle a failure to read in the + section. + (process_mips_specific): Stop display of the PLT GOT section if it + could not be read in. + +2011-06-08 Tristan Gingold <gingold@adacore.com> + + * makefile.vms (DEFS): Define OBJDUMP_PRIVATE_VECTORS. + +2011-06-07 Cary Coutant <ccoutant@google.com> + + * dwarf.c: Fix conversion to TU number. + +2011-06-02 Nick Clifton <nickc@redhat.com> + + * resres.c: Fix spelling typo. + * windint.h: Likewise. + * windmc.c: Likewise. + * windres.c: Likewise. + * po/POTFILES.in: Regenerate. + * po/binutils.pot: Regenerate. + +2011-06-01 Daniel Jacobowitz <drow@false.org> + + * MAINTAINERS: Update my email address. + +2011-05-31 Matthias Klose <doko@ubuntu.com> + + * configure.in (BUILD_INSTALL_MISC): Only add embedspu once. + * configure: Regenerate. + +2011-05-30 Alan Modra <amodra@gmail.com> + + PR binutils/12820 + * Makefile.am (bin_PROGRAMS): Move BUILD_INSTALL_MISC to.. + (bin_SCRIPTS): ..here. + (EXTRA_SCRIPTS): Define. + (EXTRA_DIST): Add embedspu.sh. + (DISTCLEANFILES): Add embedspu. + (embedspu): Depend on Makefile. Replace sed "s" command with "c". + * Makefile.in: Regenerate. + +2011-05-25 Jakub Jelinek <jakub@redhat.com> + + * dwarf.c (loc_offsets): New variable. + (loc_offsets_compar): New routine. + (display_debug_loc): Handle loc_offsets not being in ascending order + and also a single .debug_loc entry being used multiple times. + +2011-05-18 Nick Clifton <nickc@redhat.com> + + PR binutils/12753 + * nm.c (filter_symbols): Treat unique symbols as global symbols. + * doc/binutils.texi (nm): Mention that some lowercase letters + actually indicate global symbols. + +2011-05-15 Tristan Gingold <gingold@adacore.com> + + * od-xcoff.c: New file. + * objdump.h: New file. + * objdump.c: Include objdump.h + (dump_private_options, objdump_private_vectors): New variables. + (usage): Mention -P/--private. Display handled options. + (long_options): Add -P/--private. + (dump_target_specific): New function. + (dump_bfd): Handle dump_private_options. + (main): Handle -P. + * doc/binutils.texi (objdump): Document -P/--private. + * configure.in (OBJDUMP_PRIVATE_VECTORS, OBJDUMP_PRIVATE_OFILES): + New variables, compute them. + (od_vectors): Add vectors for private dumpers. Make them uniq. + (OBJDUMP_DEFS): Add OBJDUMP_PRIVATE_VECTORS. + * Makefile.am (HFILES): Add objdump.h + (CFILES): Add od-xcoff.c + (OBJDUMP_PRIVATE_OFILES): New variable. + (objdump_DEPENDENCIES): Append OBJDUMP_PRIVATE_OFILES. + (objdump_LDADD): Ditto. + (EXTRA_objdump_SOURCES): Define. + * Makefile.in: Regenerate. + * configure: Regenerate. + +2011-05-10 Tristan Gingold <gingold@adacore.com> + + * dwarf.c (process_extended_line_op): Dump unknown records. + +2011-05-07 Alan Modra <amodra@gmail.com> + + PR binutils/12632 + * objcopy.c (copy_archive): Check bfd_openw result in unknown object + case. Rewrite without goto. + +2011-05-03 Jakub Jelinek <jakub@redhat.com> + + * dwarf.c (decode_location_expression): Handle DW_OP_GNU_const_type, + DW_OP_GNU_regval_type, DW_OP_GNU_deref_type, DW_OP_GNU_convert + and DW_OP_GNU_reinterpret. + + * MAINTAINERS: Add myself as DWARF2 maintainer. + +2011-05-02 Alan Modra <amodra@gmail.com> + + PR binutils/12720 + Revert the following change + Michael Snyder <msnyder@vmware.com> + * ar.c (move_members): Plug memory leak. + (delete_members): Plug memory leak. + +2011-04-28 Tom Tromey <tromey@redhat.com> + + * NEWS: Add note about --dwarf-depth, --dwarf-start, and + dwarf-mode.el. + * objdump.c (suppress_bfd_header): New global. + (usage): Update. + (OPTION_DWARF_DEPTH, OPTION_DWARF_START): New constants. + (options): Add dwarf-depth and dwarf-start entries. + (dump_bfd): Use suppress_bfd_header. + (main): Handle OPTION_DWARF_START, OPTION_DWARF_DEPTH. + * doc/binutils.texi (objcopy): Document --dwarf-depth and + --dwarf-start. + (readelf): Likewise. + * dwarf-mode.el: New file. + * dwarf.c (dwarf_cutoff_level, dwarf_start_die): New globals. + (read_and_display_attr_value): Also check debug_info_p. + (process_debug_info): Handle dwarf_start_die and + dwarf_cutoff_level. + * dwarf.h (dwarf_cutoff_level, dwarf_start_die): Declare. + * readelf.c (usage): Update. + (OPTION_DWARF_DEPTH): New macro. + (OPTION_DWARF_START): Likewise. + (options): Add dwarf-depth and dwarf-start entries. + (parse_args): Handle OPTION_DWARF_START and OPTION_DWARF_DEPTH. + +2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com> + + * dwarf.c (display_gdb_index): Support version 5, warn on version 4. + +2011-04-27 Tristan Gingold <gingold@adacore.com> + + * dwarf.c (process_extended_line_op): Handle + DW_LNE_HP_source_file_correlation. + +2011-04-27 Nick Clifton <nickc@redhat.com> + + * po/da.po: Updated Danish translation. + +2011-04-21 Tom Tromey <tromey@redhat.com> + + * readelf.c (print_stapsdt_note): New function. + (process_note): Use it. + +2011-04-21 Tom Tromey <tromey@redhat.com> + + * readelf.c (get_stapsdt_note_type): New function. + (process_note): Recognize "stapsdt" notes. + +2011-04-21 Tom Tromey <tromey@redhat.com> + + * readelf.c (process_corefile_note_segment): Change header field + widths. + (process_note): Change field widths. + +2011-04-21 Tom Tromey <tromey@redhat.com> + + * readelf.c (print_gnu_note): New function. + (process_note): Use it. + +2011-04-21 Jie Zhang <jzhang918@gmail.com> + + * MAINTAINERS: Update my email address. + +2011-04-11 Kai Tietz <ktietz@redhat.com> + + * windres.c (usage): Add new --preprocessor-arg option. + (option_values): Add new OPTION_PREPROCESSOR_ARG enumerator. + (option long_options): Add preprocessor-arg option. + (main): Handle it. + * doc/binutils.texi: Add documentation for --preprocessor-arg + option. + * NEWS: Add line about new --preprocessor-arg option for windres. + +2011-04-08 John Marino <binutils@marino.st> + + * arlex.l: Prevent redefinition of YY_NO_UNPUT. + * syslex.l: Likewise. + +2011-04-07 Paul Brook <paul@codesourcery.com> + + * readelf.c (arm_section_get_word): Handle C6000 relocations. + (decode_tic6x_unwind_regmask, decode_arm_unwind_bytecode, + decode_tic6x_unwind_bytecode, expand_prel31): New functions. + (decode_arm_unwind): Split out common code from ARM specific bits. + (dump_arm_unwind): Use expand_prel31. + (arm_process_unwind): Handle SHT_C6000_UNWIND sections. + (process_unwind): Add SHT_C6000_UNWIND. + +2011-04-06 Joseph Myers <joseph@codesourcery.com> + + * configure.in (thumb-*-pe*): Remove. + * configure: Regenerate. + +2011-04-05 Sterling Augustine <augustine.sterling@gmail.com> + + * MAINTAINERS: Update my email address. + +2011-04-03 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/12632 + * objcopy.c (copy_unknown_object): Make the archive element + readable. + +2011-04-03 David S. Miller <davem@davemloft.net> + + * objdump.c (dump_reloc_set): Output R_SPARC_OLO10 relocations + accurately, rather than how they are represented internally. + +2011-03-31 Tristan Gingold <gingold@adacore.com> + + * makefile.vms (readelf.exe): New target. + +2011-03-31 Tristan Gingold <gingold@adacore.com> + + * makefile.vms (DEBUG_OBJS): Add elfcomm.obj. + +2011-03-31 Bernd Schmidt <bernds@codesourcery.com> + + * readelf.c (get_symbol_index_type): Handle SCOM for TIC6X. + (dump_relocations): Likewise. + +2011-03-31 Tristan Gingold <gingold@adacore.com> + + * readelf.c (get_ia64_vms_note_type): New function. + (print_ia64_vms_note): Ditto. + (process_note): Recognize VMS/ia64 specific notes. + Display them. + (process_corefile_note_segment): Decode VMS notes. + +2011-03-30 Catherine Moore <clm@codesourcery.com> + + * addr2line.c (translate_addresses): Sign extend the pc + if sign_extend_vma is enabled. + +2011-03-30 Michael Snyder <msnyder@msnyder-server.eng.vmware.com> + + * readelf.c (process_gnu_liblist): Stop memory leak. + +2011-03-29 Alan Modra <amodra@gmail.com> + + * coffdump.c: Include bfd_stdint.h + +2011-03-28 Pierre Muller <muller@ics.u-strasbg.fr> + + * coffdump.c (coff_dump): Correct spelling error. + (show_usage): Replace SYSROFF by COFF. + +2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr> + + * coffdump.c (dump_coff_scope): Use double typecast for pointer P + to allow compilation for all targets. + +2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr> + + * dwarf.c (process_debug_info): Use offset_size to determine + the bit-size of the computation unit's offset. + (decode_location_expression): Use dwarf_vmatoa function to display + DW_OP_addr OP. + (process_debug_info): Use dwarf_vma type for local variables + length and type_offset. + +2011-03-25 Michael Snyder <msnyder@vmware.com> + + * strings.c (print_strings): Plug memory leak. + * ar.c (move_members): Plug memory leak. + (delete_members): Plug memory leak. + (write_archive): Plug memory leak. + * ieee.c (ieee_add_bb11): Plug memory leak. + (ieee_function_type): Likewise. + (ieee_class_baseclass): Likewise. + * prdbg.c (pr_function_type): Close memory leaks. + (pr_method_type): Likewise. + (tg_class_static_member): Likewise. + (tg_class_method_variant): Likewise. + (tg_class_static_method_variant): Likewise. + * stabs.c (parse_stab_enum_type): Fix memory leaks. + (parse_stab_struct_type): Likewise. + (parse_stab_struct_fields): Likewise. + (parse_stab_one_struct_field): Likewise. + (parse_stab_members): Likewise. + (stab_demangle_qualified): Likewise. + * objdump.c (dump_reloc_set): Free malloced memory. + * bucomm.c (make_tempname): Stop memory leak. + +2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr> + + Replace bfd_vma type and analog types by dwarf_vma and analogs. + Use dwarf specific print functions to display these type values. + * dwarf.h (dwarf_signed_vma): New type; + (DWARF2_External_LineInfo): Replace bfd_vma by dwarf_vma. + (DWARF2_External_PubNames): Likewise. + (DWARF2_External_CompUnit): Likewise. + (DWARF2_External_ARange): Likewise. + (read_leb128): Change return type to dwarf_vma. + * dwarf.c (print_dwarf_vma): Use __MINGW32__ conditional and + check byte_size values. + (dwarf_vmatoa): Change parameter type to dwarf_vma. + (dwarf_svmatoa): New static function. + (read_leb128): Change return type to dwarf_vma. + (read_sleb128): New static function. + (struct State_Machine_Registers): Change address field type to + dwarf_vma. + (process_extended_line_op): Adapt to type changes. + (fetch_indirect_string): Likewise. + (idisplay_block): Likewise. + (decode_location_expression): Likewise. + (read_and_display_attr_value): Likewise. + (process_debug_info): Likewise. + (display_debug_lines_raw): Likewise. + (display_debug_lines_decoded): Likewise. + (SLEB macro): Use new read_sleb128 function. + +2011-03-17 Alan Modra <amodra@gmail.com> + + PR 12590 + * ar.c (ranlib_main): Init arg_index properly. + (usage): Describe --target. + +2011-03-16 Jakub Jelinek <jakub@redhat.com> + + * dwarf.c (dw_TAG_name): Handle DW_TAG_GNU_call_site_parameter. + (read_and_display_attr_value): Handle DW_AT_GNU_call_site_data_value, + DW_AT_GNU_call_site_target and DW_AT_GNU_call_site_target_clobbered. + (get_AT_name): Handle DW_AT_GNU_call_site_value, + DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target, + DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call, + DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites and + DW_AT_GNU_all_source_call_sites. + (decode_location_expression) <case DW_OP_GNU_entry_value>: Adjust + handling. + +2011-03-16 Jan Kratochvil <jan.kratochvil@redhat.com> + + * dwarf.c (get_TAG_name): Handle DW_TAG_GNU_call_site. + (decode_location_expression): Handle DW_OP_GNU_entry_value. + (read_and_display_attr_value): Handle DW_AT_GNU_call_site_value. + (get_AT_name): Likewise. + +2011-03-14 Michael Snyder <msnyder@vmware.com> + + * objcopy.c (set_pe_subsystem): Free subsystem. + + * wrstabs.c (stab_start_struct_type): Close memory leak. + + * readelf.c (process_version_sections): Free symbols. + + * nm.c (display_rel_file): Free symsizes. + +2011-03-10 Nick Clifton <nickc@redhat.com> + + * readelf.c (get_machine_name): Update EM_V850 entry. + +2011-03-03 Mike Frysinger <vapier@gentoo.org> + + * objdump.c (usage): Fix single typo. + * po/bg.po, po/binutils.pot, po/da.po, po/es.po, po/fi.po, + po/fr.po, po/id.po, po/ja.po, po/ru.po, po/vi.po: Likewise. + +2011-03-01 Akos Pasztory <akos.pasztory@gmail.com> + + PR binutils/12523 + * readelf.c (process_object): Clear dynamic_info_DT_GNU_HASH. + +2011-02-28 Kai Tietz <kai.tietz@onevision.com> + + * debug.c (debug_start_source): Use filename_(n)cmp. + * ieee.c (ieee_finish_compilation_unit): Likewise. + (ieee_lineno): Likewise. + * nlmconv.c (main): Likewise. + * objcopy.c (strip_main): Likewise. + (copy_main): Likewise. + * objdump.c (show_line): Likewise. + (dump_reloc_set): Likewise. + * srconv.c (main): Likewise. + * wrstabs.c (stab_lineno): Likewise. + +2011-02-24 Zachary T Welch <zwelch@codesourcery.com> + + * readelf.c (decode_arm_unwind): Implement decoding of remaining + ARM unwind instructions (i.e. VFP/NEON and Intel Wireless MMX). + +2011-02-23 Kai Tietz <kai.tietz@onevision.com> + + * dwarf.c (read_leb128): Use bfd_vma instead of + long type. + (dwarf_vmatoa): New helper routine. + (process_extended_line_op): Use for adr bfd_vma + type and print those typed values via BFD_VMA_FMT + or via dwarf_vmatoa for localized prints. + (fetch_indirect_string): Adjust offset's type. + (decode_location_expression): Adjust argument types + and uvalue type. + (read_and_display_attr_value): Likewise. + (read_and_display_attr): Likewise. + (decode_location_expression): Adjust printf format. + (process_debug_info): Likewise. + (display_debug_lines_raw): Likewise. + (display_debug_lines_decoded): Likewise. + (display_debug_pubnames): Likewise. + (display_debug_loc): Likewise. + (display_debug_aranges): Likewise. + * dwarf.h (DWARF2_External_LineInfo, + DWARF2_Internal_LineInfo, DWARF2_External_PubNames, + DWARF2_Internal_PubNames, DWARF2_External_CompUnit, + DWARF2_Internal_CompUnit, DWARF2_External_ARange, + DWARF2_Internal_ARange): Added.. + (read_leb128): Adjust return type. + +2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * configure: Regenerate. + +2011-02-08 Nick Clifton <nickc@redhat.com> + + PR binutils/12467 + * readelf.c (process_program_headers): Issue a warning if there + are no program headers but the file header has a non-zero program + header offset. + (process_section_headers): Issue a warning if there are no section + headers but the file header has a non-zero section header offset. + (process_section_groups): Reword the no section message so that it + can be distinguished from the one issued by process_section_headers. + +2011-01-26 Jan Kratochvil <jan.kratochvil@redhat.com> + Doug Evans <dje@google.com> + + * dwarf.c (display_gdb_index): Support version 4, warn on version 3. + +2011-01-19 Maciej W. Rozycki <macro@codesourcery.com> + + * readelf.c (process_object): Free dynamic_section after use. + +2011-01-18 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/12408 + * readelf.c (process_archive): Free and reset dump_sects + after processing each archive member. + +2011-01-11 Andreas Schwab <schwab@redhat.com> + + * readelf.c (print_symbol): Handle symbol characters as unsigned. + Whitespace fixes. + +2011-01-10 Nick Clifton <nickc@redhat.com> + + * po/da.po: Updated Danish translation. + +2011-01-06 Vladimir Siminov <sv@sw.ru> + + * bucomm.c (get_file_size): Check for negative sizes and issue a + warning message if encountered. + +2011-01-01 H.J. Lu <hongjiu.lu@intel.com> + + * version.c (print_version): Update copyright to 2011. + +For older changes see ChangeLog-2010 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index 5126053..2775719 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -1,987 +1,5 @@ -2011-11-25 Nick Clifton <nickc@redhat.com> - * binutils-all/objdump.exp (cpus): Add MicroBlaze. - (objdump -WL): Skip this test on MCore, Moxie and OpenRisc - targets. - - * binutils-all/objcopy.exp (localize-hidden-1): Expect this test - to fail on MIPS based targets. - -2011-10-25 Kai Tietz <ktietz@redhat.com> - - * binutils-all/windres/strtab4.rc: New test. - * binutils-all/windres/strtab4.rsd: Likewise. - -2011-10-11 Chris <player1@onet.eu> - - PR binutils/13051 - * binutils-all\windres\version.rsd: Regenerate. - * binutils-all\windres\version_cat.rsd: Regenerate. - * binutils-all\windres\version_mlang.rc: Add new test. - * binutils-all\windres\version_mlang.rsd: Likewise. - -2011-10-07 H.J. Lu <hongjiu.lu@intel.com> - - * binutils-all/objdump.exp: Don't run dw2-decodedline.S on ia64. - -2011-10-04 Carlos O'Donell <carlos@codesourcery.com> - - * binutils-all/dw2-decodedline.S: New file. - * binutils-all/objdump.WL: New file. - * binutils-all/objdump.exp: Update copyright year. - New test case for -WL. - -2011-09-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * binutils-all/elfedit-4.d: Give test a unique name. - -2011-09-15 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/13180 - * binutils-all/group-6.d: New. - * binutils-all/group-6.s: Likewise. - - * binutils-all/objcopy.exp: Run group-6 for ELF targrts. - -2011-07-22 H.J. Lu <hongjiu.lu@intel.com> - - * binutils-all/elfedit.exp: Run elfedit-4. - - * binutils-all/elfedit-4.d: New. - -2011-06-30 Bernd Schmidt <bernds@codesourcery.com> - - * binutils-all/objcopy.exp (strip_test, strip_executable): - On ELF targets, test that OS/ABI is preserved. - (copy_setup): Do test on tic6x-*-uclinux. - -2011-06-19 H.J. Lu <hongjiu.lu@intel.com> - - * binutils-all/elfedit-1.d: Updated for x32. - -2011-05-18 Nick Clifton <nickc@redhat.com> - - PR binutils/12753 - * lib/utils-lib.exp (run_dump_test): Allow nm as a program. - * binutils-all/nm.exp: Test running "nm -g" on an object file - containing a unique symbol. - -2011-05-13 Alan Modra <amodra@gmail.com> - - * binutils-all/objcopy.exp objcopy_text): Remove xfails for sh-rtems - and tic4x. - -2011-05-02 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/12720 - * binutils-all/ar.exp (delete_an_element): New. - (move_an_element): Likewise. - Run delete_an_element and move_an_element. - -2011-04-30 H.J. Lu <hongjiu.lu@intel.com> - - * binutils-all/x86-64/compressed-1a.d: Adjust for change in output - format. - -2011-04-29 Hans-Peter Nilsson <hp@axis.com> - - * binutils-all/i386/compressed-1a.d: Adjust for change in output - format. - -2011-04-28 Tom Tromey <tromey@redhat.com> - - * binutils-all/objdump.W: Correct output. - -011-04-11 Kai Tietz - - * binutils-all/windres/windres.exp: Add '// cpparg <option>' command - to rc file interpretation to specify addition pre-processor commands - as script option. - * binutils-all/windres/strtab3.rc: New. - * binutils-all/windres/strtab3.rsd: New. - * binutils-all/windres/README: Add note about cpparg script option. - argument - -2011-04-11 Nick Clifton <nickc@redhat.com> - - * binutils-all/arm/simple.s: Fix assembly problems for COFF based - ARM toolchaisn by removing .type and .size directives. - -2011-04-07 Paul Carroll<pcarroll@codesourcery.com> - - * binutils-all/arm/simple.s: Demo issue with objdump with - multiple input files - * binutils-all/arm/objdump.exp: added new ARM test case code - -2011-04-06 Joseph Myers <joseph@codesourcery.com> - - * binutils-all/objcopy.exp (*arm*-*-coff): Change to arm*-*-coff. - (xscale-*-coff, thumb*-*-coff, thumb*-*-pe): Don't handle. - -2011-03-31 Bernd Schmidt <bernds@codesourcery.com> - - * lib/binutils-common.exp (is_elf_format): Accept tic6x*-*-uclinux*. - -2011-01-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * lib/binutils-common.exp (regexp_diff): Use "==" instead of "eq". - -2010-12-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * binutils-all/copy-2.d: Change "hppa" to "hppa*" in not-target list. - * binutils-all/copy-3.d: Add hppa*-*-hpux* to not-target list. - * binutils-all/objcopy.exp (reverse-bytes): xfail on 32-bit hpux. - -2010-12-31 Richard Sandiford <rdsandiford@googlemail.com> - - * binutils-all/readelf.exp: Handle MIPS FreeBSD targets. - -2010-12-09 Maciej W. Rozycki <macro@codesourcery.com> - - * lib/binutils-common.exp (regexp_diff): Implement inverse - matching, requested by `!'. - -2010-11-20 Richard Sandiford <rdsandiford@googlemail.com> - - * lib/binutils-common.exp (regexp_diff): New procedure. - * lib/utils-lib.exp (regexp_diff): Delete. - -2010-11-20 Richard Sandiford <rdsandiford@googlemail.com> - - * lib/binutils-common.exp: New file. - * lib/utils-lib.exp (load_common_lib): New function. Load - binutils-common.exp. - (is_elf_format): Delete. - -2010-11-15 H.J. Lu <hongjiu.lu@intel.com> - - * binutils-all/compress.exp: Replace binutils_assemble with - binutils_assemble_flags for --nocompress-debug-sections. - -2010-11-15 H.J. Lu <hongjiu.lu@intel.com> - - * binutils-all/compress.exp: Pass --nocompress-debug-sections to - assembler for uncompressed debug sections. - - * binutils-all/testranges.d: Also expect .zdebug in section name. - -2010-11-08 Thomas Schwinge <thomas@schwinge.name> - - * lib/utils-lib.exp (is_elf_format): Consider for *-*-gnu*, too. - * binutils-all/elfedit-2.d (target): Likewise. - * binutils-all/elfedit-3.d (target): Likewise. - * binutils-all/i386/i386.exp: Likewise. - * binutils-all/objcopy.exp: Likewise. - * binutils-all/strip-3.d (target): Likewise. - -2010-11-08 Alan Modra <amodra@gmail.com> - - * binutils-all/objdump.W: Adjust expected result for debug section - rename. - -2010-11-02 H.J. Lu <hongjiu.lu@intel.com> - - * binutils-all/libdw2.out: Also accept MIPS_DWARF. - -2010-10-29 H.J. Lu <hongjiu.lu@intel.com> - - * binutils-all/compress.exp: New. - * binutils-all/dw2-1.S: Likewise. - * binutils-all/dw2-2.S: Likewise. - * binutils-all/libdw2-compressed.out: Likewise. - * binutils-all/libdw2.out: Likewise. - -2010-10-22 Mark Mitchell <mark@codesourcery.com> - - * binutils-all/group-5.d: Expect ".group" for the name of group - sections. - * binutils-all/strip-2.d: Likewise. - -2010-10-12 Andreas Schwab <schwab@linux-m68k.org> - - * binutils-all/m68k/objdump.exp: Add fnop test. - * binutils-all/m68k/fnop.s: New file. - -2010-09-29 Alan Modra <amodra@gmail.com> - - * lib/utils-lib.exp (is_elf_format): Merge with gas and ld versions. - -2010-09-23 Alan Modra <amodra@gmail.com> - - * binutils-all/ar.exp: Don't run unique_symbol on msp or hpux. - * binutils-all/copy-2.d: Update not-target list. - * binutils-all/note-1.d: Don't run on h8300. - * binutils-all/objcopy.exp: Don't run strip-10 on msp or hpux. - (objcopy_test): Remove h8300-rtems from xfails. - -2010-09-16 Alan Modra <amodra@gmail.com> - - * binutils-all/i386/i386.exp: Don't run on linuxaout. - -2010-09-10 Ben Gardiner <bengardiner@nanometrics.ca> - - * binutils-all/objcopy.exp: Add test of new --interleave-width - option. - -2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com> - - * binutils-all/objdump.W: Update DW_OP_reg5 expected output. - -2010-08-23 H.J. Lu <hongjiu.lu@intel.com> - - * binutils-all/elfedit-3.d: New. - - * binutils-all/elfedit.exp: Run elfedit-3. - -2010-07-19 Andreas Schwab <schwab@redhat.com> - - * binutils-all/readelf.s: Ignore "Key to Flags" contents. - * binutils-all/readelf.s-64: Likewise. - * binutils-all/i386/compressed-1b.d: Likewise. - * binutils-all/i386/compressed-1c.d: Likewise. - * binutils-all/x86-64/compressed-1b.d: Likewise. - * binutils-all/x86-64/compressed-1c.d: Likewise. - -2010-07-14 H.J. Lu <hongjiu.lu@intel.com> - - * binutils-all/i386/compressed-1a.d: Fix a typo. - * binutils-all/i386/compressed-1b.d: Likewise. - * binutils-all/i386/compressed-1c.d: Likewise. - * binutils-all/x86-64/compressed-1a.d: Likewise. - * binutils-all/x86-64/compressed-1b.d: Likewise. - * binutils-all/x86-64/compressed-1c.d: Likewise. - -2010-07-14 H.J. Lu <hongjiu.lu@intel.com> - - * config/default.exp (binutils_assemble): Use - default_binutils_assemble_flags. - (binutils_assemble_flags): New. - - * lib/utils-lib.exp (default_binutils_assemble): Renamed to ... - (default_binutils_assemble_flags): This. Add asflags and - pass it to target_assemble. - (run_dump_test): Support assembler flags. - - * binutils-all/i386/compressed-1.s: New. - * binutils-all/i386/compressed-1a.d: Likewise. - * binutils-all/i386/compressed-1b.d: Likewise. - * binutils-all/i386/compressed-1c.d: Likewise. - * binutils-all/i386/i386.exp: Likewise. - * binutils-all/x86-64/compressed-1.s: Likewise. - * binutils-all/x86-64/compressed-1a.d: Likewise. - * binutils-all/x86-64/compressed-1b.d: Likewise. - * binutils-all/x86-64/compressed-1c.d: Likewise. - * binutils-all/x86-64/x86-64.exp: Likewise. - -2010-07-05 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/10531 - PR gas/11789 - * binutils-all/objdump.W: Remove bogus line debug info. - -2010-05-18 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/11600 - * binutils-all/objcopy.exp: Run exclude-1a and exclude-1b for - ELF targets. - - * binutils-all/exclude-1.s: New. - * binutils-all/exclude-1a.d: Likewise. - * binutils-all/exclude-1b.d: Likewise. - -2010-04-30 H.J. Lu <hongjiu.lu@intel.com> - - * binutils-all/dlltool.exp: Add a missing `"'. - -2010-04-27 Kai Tietz <kai.tietz@onevision.com> - - * binutils-all/dlltool.exp: Allow test for - arm-wince-pe target. - -2010-03-30 Kai TIetz <kai.tietz@onevision.com> - - * binutils-all/objcopy.exp: Mark simple copy executable - as failing for all *-*-mingw32* targets. - -2010-03-26 Matt Rice <ratmice@gmail.com> - - * binutils-all/ar.exp (unique_symbol): New test. - -2010-02-18 Alan Modra <amodra@gmail.com> - - * binutils-all/group-5.s, * binutils-all/group-5.d: New test. - * binutils-all/objcopy.exp: Run it. - -2010-02-01 Nathan Sidwell <nathan@codesourcery.com> - - * binutils-all/note-1.d: New. - * binutils-all/objcopy.exp: Add it. - -2010-01-30 Dave Korn <dave.korn.cygwin@gmail.com> - - * binutils-all/windres/html.rc: Don't xfail x86_64-*-mingw*. - * binutils-all/windres/lang.rc: Likewise. - * binutils-all/windres/messagetable.rc: Likewise. - * binutils-all/windres/strtab1.rc: Likewise. - * binutils-all/windres/strtab2.rc: Likewise. - * binutils-all/windres/version.rc: Likewise. - * binutils-all/windres/version_cat.rc: Likewise. - -2010-01-19 Ian Lance Taylor <iant@google.com> - - * lib/utils-lib.exp (run_dump_test): Permit option values to use - $srcdir to refer to the source directory. - * binutils-all/add-section.d: New test. - * binutils-all/add-empty-section.d: New test. - * binutils-all/empty-file: New test input file. - * binutils-all/objcopy.exp: Run new tests. - -2010-01-08 H.J. Lu <hongjiu.lu@intel.com> - - * binutils-all/elfedit-2.d: New. - - * binutils-all/elfedit.exp: Run elfedit-2. - -2010-01-06 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/11131 - * binutils-all/elfedit-1.d: New. - * binutils-all/elfedit.exp: Likewise. - - * config/default.exp (ELFEDIT): New. Set if it doesn't exist. - (ELFEDITFLAGS): Likewise. - - * lib/utils-lib.exp (run_dump_test): Support elfedit. - -2009-10-28 Kai Tietz <kai.tietz@onevision.com> - - * binutils-all/dlltool.exp: Add tests for --no-leading-underscore - and --leading-underscore option for dlltool. - -2009-10-23 Kai Tietz <kai.tietz@onevision.com> - - * binutils-all/dlltool.exp: Add new test. - * binutils-all/alias-2.def: New file. - -2009-10-18 Vincent Rivière <vincent.riviere@freesbee.fr> - - * binutils-all/copy-2.d: Exclude more aout targets. - * binutils-all/copy-3.d: Likewise. - -2009-09-23 Alan Modra <amodra@bigpond.net.au> - - * binutils-all/readelf.s: Tolerate some whitespace differences. - * binutils-all/readelf.s-64: Likewise. - * binutils-all/readelf.ss: Likewise. - * binutils-all/readelf.ss-64: Likewise. - * binutils-all/readelf.ss-mips: Likewise. - * binutils-all/readelf.ss-tmips: Likewise. - * binutils-all/strip-10.d: Likewise. - -2009-09-08 Alan Modra <amodra@bigpond.net.au> - - * binutils-all/objdump.exp (cpus_expected): Add ms1. - -2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com> - - * binutils-all/testranges.s (.debug_info): Pad the only CU. - -2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com> - - * binutils-all/testranges.s: Replace all .long by .4byte. - -2009-09-04 DJ Delorie <dj@redhat.com> - - * binutils-all/objdump.exp: Add m16c and m32c to the list of - expected cpus. - -2009-09-02 Jie Zhang <jie.zhang@analog.com> - - * binutils-all/bfin/unknown-mode.s: New test. - * binutils-all/bfin/objdump.exp: New test. - -2009-08-17 Nick Clifton <nickc@redhat.com> - - * binutils-all/strip-10.d: Accept "<OS specific>: 10" for the type - of the UNIQUE symbol. - -2009-08-07 Daniel Jacobowitz <dan@codesourcery.com> - - * binutils-all/testranges.s: Use %progbits. Use ";#" for comments. - -2009-08-06 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/10492 - * binutils-all/objcopy.exp: Run strip-10. - - * binutils-all/strip-10.d: New. - * binutils-all/unique.s: Likewise. - -2009-07-31 Daniel Gutson <dgutson@codesourcery.com> - Daniel Jacobowitz <dan@codesourcery.com> - - * binutils-all/arm/thumb2-cond.s: Use instructions instead of - .short. - -2009-07-29 Alan Modra <amodra@bigpond.net.au> - - * binutils-all/testranges.s: Replace .value with .short. - -2009-07-16 Dave Korn <dave.korn.cygwin@gmail.com> - H.J. Lu <hongjiu.lu@intel.com> - - * binutils-all/objcopy.exp: Run testranges and testranges-ia64 - for ELF targets only. - -2009-07-16 H.J. Lu <hongjiu.lu@intel.com> - - * binutils-all/objcopy.exp; Run testranges-ia64. - - * binutils-all/testranges.d: Don't run for ia64. - - * binutils-all/testranges-ia64.d: New. - * binutils-all/testranges-ia64.s: Likewise. - -2009-07-14 Jan Kratochvil <jan.kratochvil@redhat.com> - - * binutils-all/objcopy.exp (testranges): New test. - * binutils-all/testranges.d, binutils-all/testranges.s: New files. - -2009-06-25 Christopher Faylor <me+cygwin@cgf.cx> - - * binutils-all/objcopy.exp: Move XFAIL from objcopy_test to - copy_executable. - -2009-06-25 Christopher Faylor <me+cygwin@cgf.cx> - - * binutils-all/objcopy.exp: Always treat objcopy_test as XFAIL on - cygwin. - -2009-04-16 Alan Modra <amodra@bigpond.net.au> - - * binutils-all/localize-hidden-1.s: Use "==" instead of ".set". - * binutils-all/localize-hidden-2.s: Likewise. - -2009-04-02 Dave Korn <dave.korn.cygwin@gmail.com> - - * inutils-all/objcopy.exp (strip_executable): Delete remote dest - file before downloading. - (strip_executable_with_saving_a_symbol): Likewise. - (keep_debug_symbols_and_test_copy): Likewise. - -2009-03-11 Joseph Myers <joseph@codesourcery.com> - - * binutils-all/objdump.W, binutils-all/objdump.s: Don't match - literal "tmpdir/" in expected output. - -2009-03-11 Chris Demetriou <cgd@google.com> - - * binutils-all/ar.exp (deterministic_archive): New test. - -2009-03-09 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/9933 - * binutils-all/copy-4.d: New. - - * binutils-all/objcopy.exp: Run copy-4. - -2009-03-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * config/hppa.sed: Fix spelling. - -2009-03-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * binutils-all/localize-hidden-1.s: Change .equ to .set. - * binutils-all/localize-hidden-2.s: Likewise. - -2009-01-29 Nick Clifton <nickc@redhat.com> - - * binutils-all/objdump.W: Do not assume that high and low PC - addresses will have been computed. - -2008-10-06 Tom Tromey <tromey@redhat.com> - - * binutils-all/objdump.W: Update. - -2008-10-03 H.J. Lu <hongjiu.lu@intel.com> - - * binutils-all/group.s: Updated. - * binutils-all/group-2.s: Likewise. - * binutils-all/group-3.s: Likewise. - * binutils-all/group-4.s: Likewise. - * binutils-all/strip-7.d: Likewise. - * binutils-all/strip-9.d: Likewise. - -2008-10-01 H.J. Lu <hongjiu.lu@intel.com> - - * binutils-all/group-4.s: New. - * binutils-all/strip-8.d: Likewise. - * binutils-all/strip-9.d: Likewise. - - * binutils-all/objcopy.exp: Test objcopy on group-4.s. Run - strip-8 and strip-9. - -2008-10-01 H.J. Lu <hongjiu.lu@intel.com> - - * binutils-all/group-3.s: New. - * binutils-all/strip-6.d: Likewise. - * binutils-all/strip-7.d: Likewise. - - * binutils-all/objcopy.exp: Test objcopy on group-3.s. Run - strip-6 and strip-7. - -2008-10-01 H.J. Lu <hongjiu.lu@intel.com> - - * binutils-all/group-2.s: New. - * binutils-all/strip-4.d: Likewise. - * binutils-all/strip-5.d: Likewise. - - * binutils-all/objcopy.exp: Test objcopy on group-2.s. Run - strip-4 and strip-5. - -2008-07-26 Alan Modra <amodra@bigpond.net.au> - - * binutils-all/objdump.exp: Run compressed debug test only for ELF. - -2008-07-11 Hans-Peter Nilsson <hp@axis.com> - - * binutils-all/objdump.W: Generalize to adjust for targets with - non-byte-size instructions. - -2008-07-09 Craig Silverstein <csilvers@google.com> - - * binutils-all/objdump.exp: Add test for objdump -s on a file - with a compressed debug section. Add test for objdump -W on a - file that contains a compressed debug section. - * binutils-all/readelf.exp: Call readelf_compressed_wa_test. - (readelf_compressed_wa_test): New function. - * binutils-all/dw2-compressed.S: New file. - * binutils-all/objdump.W: New file. - * binutils-all/objdump.s: New file. - * binutils-all/readelf.wa: New file. - -2008-07-08 Kai Tietz <kai.tietz@onevision.com> - - * binutils-all/objcopy.exp (copy_setup): Check if host-triplet - is target-triplet for execution tests. - (copy_executable): Likewise. - (strip_executable): Likewise. - (strip_executable_with_saving_a_symbol): Likewise. - -2008-05-29 Jan Kratochvil <jan.kratochvil@redhat.com> - - * binutils-all/objcopy.exp: Call KEEP_DEBUG_SYMBOLS_AND_TEST_COPY. - (keep_debug_symbols_and_test_copy): New function. - (test5, test6): New variables. - -2008-03-27 Cary Coutant <ccoutant@google.com> - - * binutils-all/ar.exp: Add thin archive tests. - -2008-02-26 Joseph Myers <joseph@codesourcery.com> - - * config/default.exp (gcc_gas_flag, dlltool_gas_flag): Define to - empty for testing an installed toolchain. - -2008-02-04 Bob Wilson <bob.wilson@acm.org> - - * binutils-all/objdump.exp (cpus_expected): Add xtensa. - -2007-10-26 Alan Modra <amodra@bigpond.net.au> - - * binutils-all/windres/windres.exp: Don't xfail. - -2007-10-16 Nick Clifton <nickc@redhat.com> - - * binutils-all/readelf.ss: Accept COMMON in readelf's output. - * binutils-all/readelf.ss-64: Likewise. - * binutils-all/readelf.ss-mips: Likewise. - * binutils-all/readelf.ss-tmips: Likewise. - -2007-08-30 Nick Clifton <nickc@redhat.com> - - * binutils-all/dumptest.s: New test file. - * binutils-all/readelf.exp: Add test of readelf's -p switch. - -2007-08-28 Mark Shinwell <shinwell@codesourcery.com> - Joseph Myers <joseph@codesourcery.com> - - * binutils-all/ar.exp (long_filenames): Delete temporary files on - the host. - * binutils-all/arm/objdump.exp: Only check "which $OBJDUMP" if - host is local. - * binutils-all/objcopy.exp: Use ${srecfile} to get the name of the - srec file to be passed to binutils_run. - (objcopy_test_readelf): Use remote_exec. - * binutils-all/readelf.exp (readelf_find_size): Use remote_exec. - (readelf_test): Likewise. - (readelf_wi_test): Likewise. - * lib/utils-lib.exp (run_dump_test): Only check "which $binary" if - host is local. Use remote_exec. Use $tempfile not - tmpdir/bintest.o. - -2007-08-09 Alan Modra <amodra@bigpond.net.au> - - * binutils-all/copy-2.d (not-target): Match *-*-*aout. - * binutils-all/copy-3.d (not-target): Likewise. - * binutils-all/objcopy.exp (objcopy_test): Remove extraneous - setup_xfail. - * windres/windres.exp: Return unsupported rather than fail if - windows.h not found. - -2007-07-05 Nick Clifton <nickc@redhat.com> - - * lib/utils-lib.exp: Update copyright notice to refer to GPLv3. - * config/default.exp, binutils-all/ar.exp, - binutils-all/dlltool.exp, binutils-all/nm.exp, - binutils-all/objcopy.exp, binutils-all/arm/objdump.exp, - binutils-all/hppa/objdump.exp, binutils-all/m68k/objdump.exp, - binutils-all/vax/objdump.exp, binutils-all/windres/windres.exp, - binutils-all/windres/msupdate: Likewise. - -2007-06-23 H.J. Lu <hongjiu.lu@intel.com> - - * binutils-all/strip-3.d: Also strip .xtensa.info section. - -2007-05-24 Kai Tietz <Kai.Tietz@onevision.com> - - * binutils-all/windres/version_cat.rc: New. - * binutils-all/windres/version_cat.rsd: New. - -2007-05-23 Kai Tietz <Kai.Tietz@onevision.com> - - * binutils-all/windres/html.rc: New. - * binutils-all/windres/html.rsd: New. - * binutils-all/windres/html1.hm: New. - * binutils-all/windres/html2.hm: New. - * binutils-all/windres/messagetable.rc: New. - * binutils-all/windres/messagetable.rsd: New. - * binutils-all/windres/MSG00001.bin: New. - * binutils-all/windres/strtab2.rc: New. - * binutils-all/windres/strtab2.rsd: New. - * binutils-all/windres/version.rc: New. - * binutils-all/windres/version.rsd: New. - * binutils-all/windres/dialog.rsd: Fix expected results. - -2007-05-17 Joseph Myers <joseph@codesourcery.com> - - * binutils-all/strip-3.d: Strip .pdr section. - -2007-05-15 Alan Modra <amodra@bigpond.net.au> - - * binutils-all/objcopy.exp: Only run needed-by-reloc test for ELF. - -2007-05-11 Alan Modra <amodra@bigpond.net.au> - - * binutils-all/needed-by-reloc.s: Use .long rather than .4byte. - -2007-05-08 Mark Shinwell <shinwell@codesourcery.com> - - * binutils-all/strip-3.d: Strip .ARM.attributes and .reginfo - sections. - -2007-05-02 Alan Modra <amodra@bigpond.net.au> - - * binutils-all/objcopy.exp (copy_setup): Don't perror, use send_log. - (copy_executable): Return early if test2 is blank. - Return unsupported rather than unresolved if we can't run - executables. Do test1 if we can compile. - -2007-04-24 Nathan Froyd <froydnj@codesourcery.com> - Phil Edwards <phil@codesourcery.com> - - * binutils-all/objcopy.exp: Add test for stripping a symbol - used in a relocation. - * binutils-all/needed-by-reloc.s: New file. - -2007-04-20 Nathan Froyd <froydnj@codesourcery.com> - Phil Edwards <phil@codesourcery.com> - Thomas de Lellis <tdel@windriver.com> - - * binutils-all/objcopy.exp: Add test for --reverse-bytes. - -2007-04-21 Richard Earnshaw <rearnsha@arm.com> - - * binutils-all/readelf.exp (regexp_diff): Delete. - -2007-04-20 Richard Earnshaw <rearnsha@arm.com> - - * binutils-all/arm/thumb2-cond.s: Allow for tab expansion by the pty. - Rename the second test. - -2007-04-12 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/4348 - * binutils-all/empty.s: New file. - * binutils-all/strip-3.d: Likewise. - - * binutils-all/objcopy.exp: Run strip-3 for ELF target. - -2007-02-27 Nathan Sidwell <nathan@codesourcery.com> - - * binutils-all/objcopy.exp: Skip for uclinux targets. - -2007-02-14 Nick Clifton <nickc@redhat.com> - - * binutils-all/readelf.exp (readelf_wi_test): Fix unexpected - output failure message. - -2007-01-08 Kai Tietz <kai.tietz@onevision.com> - - * copy-3.d: Renamed target x86_64-*-mingw64 to x86_64-*-mingw* - * dlltool.exp: Dito - * lang.rc: Dito - * strtab1.rc: Dito - * windres.exp: Dito - -2006-09-20 Kai Tietz <Kai.Tietz@onevision.com> - - * binutils-all/copy-3.d: Add support for target x86_64-pc-mingw64. - * binutils-all/dlltool.exp: Likewise. - * binutils-all/objcopy.exp: Likewise. - * binutils-all/windres/windres.exp: Likewise. - * binutils-all/windres/lang.rc: xfail it as long as there is no windows.h. - * binutils-all/windres/strtab1.rc: Likewise. - * lib/utils-lib.exp: Adjust executable prefix detection (as .exe). - -2006-09-14 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/3181 - * binutils-all/objcopy.exp: Run strip-1 and strip-2 for ELF - targets. - - * binutils-all/strip-1.d: New file. - * binutils-all/strip-2.d: Likewise. - - * lib/utils-lib.exp (run_dump_test): Support strip. - -2006-08-15 Thiemo Seufer <ths@mips.com> - Nigel Stephens <nigel@mips.com> - David Ung <davidu@mips.com> - - * binutils-all/readelf.exp (readelf_test): Handle mips*-sde-elf*. - -2006-06-24 Richard Sandiford <richard@codesourcery.com> - - * binutils-all/localize-hidden-1.d: Use objdump --syms instead - of readelf. - -2006-06-23 Richard Sandiford <richard@codesourcery.com> - - * binutils-all/localize-hidden-1.s, - * binutils-all/localize-hidden-1.d, - * binutils-all/localize-hidden-2.s, - * binutils-all/localize-hidden-2.d: New tests. - * binutils-all/objcopy.exp: Run them. - -2006-06-06 Paul Brook <paul@codesourcery.com> - - * binutils-all/arm/objdump.exp: New file. - * binutils-all/arm/thumb2-cond.s: New test. - -2006-05-03 H.J. Lu <hongjiu.lu@intel.com> - - * binutils-all/copy-3.d: Fix a typo. - -2006-05-03 H.J. Lu <hongjiu.lu@intel.com> - - * binutils-all/copy-3.d: New. - - * objcopy.exp: Run copy-3. - -2006-05-02 Dave Korn <dave.korn@artimi.com> - - * binutils-all/copy-1.d (name): Correct spelling of 'setting'. - * binutils-all/copy-1.d (name): Likewise. - -2006-05-02 Nick Clifton <nickc@redhat.com> - - * binutils-all/copy-2.d: Change the name of the section whose - flags are changed to "foo" so that the test will work with PE - based targets. Skip this test for AOUT based targeted. - * binutils-all/copytest.s: New file. - -2006-05-01 H.J. Lu <hongjiu.lu@intel.com> - - * binutils-all/objcopy.exp: Run "copy-1" for ELF only. - -2006-05-01 Ben Elliston <bje@au.ibm.com> - - * binutils-all/objcopy.exp (objcopy_test_readelf): Remove stray ; - -2006-04-26 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/2593 - * binutils-all/copy-1.d: New file. - * binutils-all/copy-1.s: Likewise. - * binutils-all/copy-2.d: Likewise. - - * binutils-all/objcopy.exp: Add run_dump_test "copy-1" and - run_dump_test "copy-2". - - * lib/utils-lib.exp (run_dump_test): New. - (slurp_options): Likewise. - (regexp_diff): Likewise. - (file_contents): Likewise. - (verbose_eval): Likewise. - -2006-04-25 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/2467 - * binutils-all/objcopy.exp (strip_test): Also test "strip -g" - on archive. - -2006-04-10 H.J. Lu <hongjiu.lu@intel.com> - - * lib/utils-lib.exp (default_binutils_run): Check exit status. - -2005-12-24 Ben Elliston <bje@gnu.org> - - * config/default.exp: Do not load the unneeded util-defs.exp. - -2005-11-15 Jan Beulich <jbeulich@novell.com> - - * config/default.exp (link_or_copy): New. Use it for setting - up assembler and linker for the compiler to use. - -2005-10-20 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/251 - * binutils-all/group.s: New file. - - * binutils-all/objcopy.exp (objcopy_test_readelf): New - procedure. - Use it to test ELF group. - -2005-10-19 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/1487 - * binutils-all/objcopy.exp (objcopy_test): New procedure. - Use it to test simple copy, ia64 link order and ELF unknown - section type. - - * binutils-all/unknown.s: New file. - -2005-10-19 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/1321 - * binutils-all/link-order.s: New. - - * binutils-all/objcopy.exp: Check ia64 link order. - -2005-10-11 Danny Smith <dannysmith@users.sourceforge.net> - - * binutils-all/windres/escapex-2.rc: New file. - * binutils-all/windres/escapex-2.rsd: Generate. - -2005-08-26 Christian Groessler <chris@groessler.org> - - * binutils-all/objcopy.exp: Don't setup_xfail "z8*-*". - -2005-08-18 Alan Modra <amodra@bigpond.net.au> - - * binutils-all/objcopy.exp: Remove a29k support. - * binutils-all/objdump.exp: Likewise, alliant and convex too. - -2005-05-07 Nick Clifton <nickc@redhat.com> - - * Update the address and phone number of the FSF organization in - the GPL notices in the following files: - binutils-all/ar.exp, binutils-all/dlltool.exp, - binutils-all/nm.exp, binutils-all/objcopy.exp, - binutils-all/objdump.exp, binutils-all/readelf.exp, - binutils-all/size.exp, binutils-all/hppa/objdump.exp, - binutils-all/m68k/objdump.exp, binutils-all/vax/objdump.exp, - binutils-all/windres/msupdate, binutils-all/windres/windres.exp, - config/default.exp, lib/utils-lib.exp - -2005-04-04 Jan-Benedict Glaw <jbglaw@lug-owl.> - - * binutils-all/vax/objdump.exp: Condense the two tests into one - and add a "-M entry:" for the second label. - -2005-03-29 Jan-Benedict Glaw <jbglaw@lug-owl.de> - - * binutils-all/vax: New directory. - * binutils-all/vax/objdump.exp: New script. Test the -Mentry: - switch added to the VAX disassembler. - * binutils-all/vax/entrymask.s: New assembler source file. - -2005-03-08 Ben Elliston <bje@au.ibm.com> - - * config/default.exp: Remove send_user call for stray output. - -2005-01-04 Martin Koegler <mkoegler@auto.tuwien.ac.at> - - * binutils-all/testprog.c: Add prototype for printf() and make - type of "string" array be "char" in order to avoid compile time - warnings. - -2004-12-31 Alan Modra <amodra@bigpond.net.au> - - * binutils-all/readelf.ss: Allow for both .rel and .rela sections. - -2004-11-04 Hans-Peter Nilsson <hp@axis.com> - - * binutils-all/objdump.exp (cpus_expected): Append cris. - -2004-10-28 H.J. Lu <hongjiu.lu@intel.com> - - * binutils-all/dlltool.exp: Set XFAIL if $target_xfail is yes. - -2004-10-23 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> - - * binutils-all/alias.def: New file. - * binutils-all/dlltool.exp: Two new -p tests. - * config/default.exp (dlltool_gas_flag): New variable. - Copy gas and lds executables into tmpdir/gas directory rather than - making symlinks which might not be supported by the host OS. - Attempt to handle the case where the host OS does not use the .exe - extension but the target OS does. - * lib/utils-lib.exp (exe_ext): New procedure. - -2004-07-12 Nick Clifton <nickc@redhat.com> - - * binutils-all/dlltool.exp: Check that the -p switch is not - rejected. - -2004-07-09 Andreas Schwab <schwab@suse.de> - - * binutils-all/m68k/movem.s: New file. - - * binutils-all/m68k/objdump.exp: New file. - -2004-05-15 Nick Clifton <nickc@redhat.com> - - * binutils-all/readelf.ss: Allow for ARM mapping symbols. - -2004-05-12 Ben Elliston <bje@au.ibm.com> - - * binutils-all/ar.exp: Remove stray semicolons. - * binutils-all/dlltool.exp: Likewise. - * binutils-all/objcopy.exp: Likewise. - * binutils-all/readelf.exp: Likewise. - * binutils-all/windres/windres.exp: Likewise. - * lib/utils-lib.exp: Likewise. - -2004-04-14 Richard Sandiford <rsandifo@redhat.com> - - * binutils-all/readelf.ss-mips: Allow named section symbols. - -2004-03-30 Jakub Jelinek <jakub@redhat.com> - - * binutils-all/objcopy.exp: Accept main as a data symbol as well. - -2004-02-27 Andreas Schwab <schwab@suse.de> - - * binutils-all/ar.exp (argument_parsing): New test. - -2004-02-20 Nathan Sidwell <nathan@codesourcery.com> - - * binutils-all/objcopy.exp: Reorder arguments for POSIXLY_CORRECT - systems. - -For older changes see ChangeLog-9303 +For older changes see ChangeLog-0411 Local Variables: mode: change-log diff --git a/binutils/testsuite/ChangeLog-0411 b/binutils/testsuite/ChangeLog-0411 new file mode 100644 index 0000000..5126053 --- /dev/null +++ b/binutils/testsuite/ChangeLog-0411 @@ -0,0 +1,991 @@ +2011-11-25 Nick Clifton <nickc@redhat.com> + + * binutils-all/objdump.exp (cpus): Add MicroBlaze. + (objdump -WL): Skip this test on MCore, Moxie and OpenRisc + targets. + + * binutils-all/objcopy.exp (localize-hidden-1): Expect this test + to fail on MIPS based targets. + +2011-10-25 Kai Tietz <ktietz@redhat.com> + + * binutils-all/windres/strtab4.rc: New test. + * binutils-all/windres/strtab4.rsd: Likewise. + +2011-10-11 Chris <player1@onet.eu> + + PR binutils/13051 + * binutils-all\windres\version.rsd: Regenerate. + * binutils-all\windres\version_cat.rsd: Regenerate. + * binutils-all\windres\version_mlang.rc: Add new test. + * binutils-all\windres\version_mlang.rsd: Likewise. + +2011-10-07 H.J. Lu <hongjiu.lu@intel.com> + + * binutils-all/objdump.exp: Don't run dw2-decodedline.S on ia64. + +2011-10-04 Carlos O'Donell <carlos@codesourcery.com> + + * binutils-all/dw2-decodedline.S: New file. + * binutils-all/objdump.WL: New file. + * binutils-all/objdump.exp: Update copyright year. + New test case for -WL. + +2011-09-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * binutils-all/elfedit-4.d: Give test a unique name. + +2011-09-15 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/13180 + * binutils-all/group-6.d: New. + * binutils-all/group-6.s: Likewise. + + * binutils-all/objcopy.exp: Run group-6 for ELF targrts. + +2011-07-22 H.J. Lu <hongjiu.lu@intel.com> + + * binutils-all/elfedit.exp: Run elfedit-4. + + * binutils-all/elfedit-4.d: New. + +2011-06-30 Bernd Schmidt <bernds@codesourcery.com> + + * binutils-all/objcopy.exp (strip_test, strip_executable): + On ELF targets, test that OS/ABI is preserved. + (copy_setup): Do test on tic6x-*-uclinux. + +2011-06-19 H.J. Lu <hongjiu.lu@intel.com> + + * binutils-all/elfedit-1.d: Updated for x32. + +2011-05-18 Nick Clifton <nickc@redhat.com> + + PR binutils/12753 + * lib/utils-lib.exp (run_dump_test): Allow nm as a program. + * binutils-all/nm.exp: Test running "nm -g" on an object file + containing a unique symbol. + +2011-05-13 Alan Modra <amodra@gmail.com> + + * binutils-all/objcopy.exp objcopy_text): Remove xfails for sh-rtems + and tic4x. + +2011-05-02 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/12720 + * binutils-all/ar.exp (delete_an_element): New. + (move_an_element): Likewise. + Run delete_an_element and move_an_element. + +2011-04-30 H.J. Lu <hongjiu.lu@intel.com> + + * binutils-all/x86-64/compressed-1a.d: Adjust for change in output + format. + +2011-04-29 Hans-Peter Nilsson <hp@axis.com> + + * binutils-all/i386/compressed-1a.d: Adjust for change in output + format. + +2011-04-28 Tom Tromey <tromey@redhat.com> + + * binutils-all/objdump.W: Correct output. + +011-04-11 Kai Tietz + + * binutils-all/windres/windres.exp: Add '// cpparg <option>' command + to rc file interpretation to specify addition pre-processor commands + as script option. + * binutils-all/windres/strtab3.rc: New. + * binutils-all/windres/strtab3.rsd: New. + * binutils-all/windres/README: Add note about cpparg script option. + argument + +2011-04-11 Nick Clifton <nickc@redhat.com> + + * binutils-all/arm/simple.s: Fix assembly problems for COFF based + ARM toolchaisn by removing .type and .size directives. + +2011-04-07 Paul Carroll<pcarroll@codesourcery.com> + + * binutils-all/arm/simple.s: Demo issue with objdump with + multiple input files + * binutils-all/arm/objdump.exp: added new ARM test case code + +2011-04-06 Joseph Myers <joseph@codesourcery.com> + + * binutils-all/objcopy.exp (*arm*-*-coff): Change to arm*-*-coff. + (xscale-*-coff, thumb*-*-coff, thumb*-*-pe): Don't handle. + +2011-03-31 Bernd Schmidt <bernds@codesourcery.com> + + * lib/binutils-common.exp (is_elf_format): Accept tic6x*-*-uclinux*. + +2011-01-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * lib/binutils-common.exp (regexp_diff): Use "==" instead of "eq". + +2010-12-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * binutils-all/copy-2.d: Change "hppa" to "hppa*" in not-target list. + * binutils-all/copy-3.d: Add hppa*-*-hpux* to not-target list. + * binutils-all/objcopy.exp (reverse-bytes): xfail on 32-bit hpux. + +2010-12-31 Richard Sandiford <rdsandiford@googlemail.com> + + * binutils-all/readelf.exp: Handle MIPS FreeBSD targets. + +2010-12-09 Maciej W. Rozycki <macro@codesourcery.com> + + * lib/binutils-common.exp (regexp_diff): Implement inverse + matching, requested by `!'. + +2010-11-20 Richard Sandiford <rdsandiford@googlemail.com> + + * lib/binutils-common.exp (regexp_diff): New procedure. + * lib/utils-lib.exp (regexp_diff): Delete. + +2010-11-20 Richard Sandiford <rdsandiford@googlemail.com> + + * lib/binutils-common.exp: New file. + * lib/utils-lib.exp (load_common_lib): New function. Load + binutils-common.exp. + (is_elf_format): Delete. + +2010-11-15 H.J. Lu <hongjiu.lu@intel.com> + + * binutils-all/compress.exp: Replace binutils_assemble with + binutils_assemble_flags for --nocompress-debug-sections. + +2010-11-15 H.J. Lu <hongjiu.lu@intel.com> + + * binutils-all/compress.exp: Pass --nocompress-debug-sections to + assembler for uncompressed debug sections. + + * binutils-all/testranges.d: Also expect .zdebug in section name. + +2010-11-08 Thomas Schwinge <thomas@schwinge.name> + + * lib/utils-lib.exp (is_elf_format): Consider for *-*-gnu*, too. + * binutils-all/elfedit-2.d (target): Likewise. + * binutils-all/elfedit-3.d (target): Likewise. + * binutils-all/i386/i386.exp: Likewise. + * binutils-all/objcopy.exp: Likewise. + * binutils-all/strip-3.d (target): Likewise. + +2010-11-08 Alan Modra <amodra@gmail.com> + + * binutils-all/objdump.W: Adjust expected result for debug section + rename. + +2010-11-02 H.J. Lu <hongjiu.lu@intel.com> + + * binutils-all/libdw2.out: Also accept MIPS_DWARF. + +2010-10-29 H.J. Lu <hongjiu.lu@intel.com> + + * binutils-all/compress.exp: New. + * binutils-all/dw2-1.S: Likewise. + * binutils-all/dw2-2.S: Likewise. + * binutils-all/libdw2-compressed.out: Likewise. + * binutils-all/libdw2.out: Likewise. + +2010-10-22 Mark Mitchell <mark@codesourcery.com> + + * binutils-all/group-5.d: Expect ".group" for the name of group + sections. + * binutils-all/strip-2.d: Likewise. + +2010-10-12 Andreas Schwab <schwab@linux-m68k.org> + + * binutils-all/m68k/objdump.exp: Add fnop test. + * binutils-all/m68k/fnop.s: New file. + +2010-09-29 Alan Modra <amodra@gmail.com> + + * lib/utils-lib.exp (is_elf_format): Merge with gas and ld versions. + +2010-09-23 Alan Modra <amodra@gmail.com> + + * binutils-all/ar.exp: Don't run unique_symbol on msp or hpux. + * binutils-all/copy-2.d: Update not-target list. + * binutils-all/note-1.d: Don't run on h8300. + * binutils-all/objcopy.exp: Don't run strip-10 on msp or hpux. + (objcopy_test): Remove h8300-rtems from xfails. + +2010-09-16 Alan Modra <amodra@gmail.com> + + * binutils-all/i386/i386.exp: Don't run on linuxaout. + +2010-09-10 Ben Gardiner <bengardiner@nanometrics.ca> + + * binutils-all/objcopy.exp: Add test of new --interleave-width + option. + +2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com> + + * binutils-all/objdump.W: Update DW_OP_reg5 expected output. + +2010-08-23 H.J. Lu <hongjiu.lu@intel.com> + + * binutils-all/elfedit-3.d: New. + + * binutils-all/elfedit.exp: Run elfedit-3. + +2010-07-19 Andreas Schwab <schwab@redhat.com> + + * binutils-all/readelf.s: Ignore "Key to Flags" contents. + * binutils-all/readelf.s-64: Likewise. + * binutils-all/i386/compressed-1b.d: Likewise. + * binutils-all/i386/compressed-1c.d: Likewise. + * binutils-all/x86-64/compressed-1b.d: Likewise. + * binutils-all/x86-64/compressed-1c.d: Likewise. + +2010-07-14 H.J. Lu <hongjiu.lu@intel.com> + + * binutils-all/i386/compressed-1a.d: Fix a typo. + * binutils-all/i386/compressed-1b.d: Likewise. + * binutils-all/i386/compressed-1c.d: Likewise. + * binutils-all/x86-64/compressed-1a.d: Likewise. + * binutils-all/x86-64/compressed-1b.d: Likewise. + * binutils-all/x86-64/compressed-1c.d: Likewise. + +2010-07-14 H.J. Lu <hongjiu.lu@intel.com> + + * config/default.exp (binutils_assemble): Use + default_binutils_assemble_flags. + (binutils_assemble_flags): New. + + * lib/utils-lib.exp (default_binutils_assemble): Renamed to ... + (default_binutils_assemble_flags): This. Add asflags and + pass it to target_assemble. + (run_dump_test): Support assembler flags. + + * binutils-all/i386/compressed-1.s: New. + * binutils-all/i386/compressed-1a.d: Likewise. + * binutils-all/i386/compressed-1b.d: Likewise. + * binutils-all/i386/compressed-1c.d: Likewise. + * binutils-all/i386/i386.exp: Likewise. + * binutils-all/x86-64/compressed-1.s: Likewise. + * binutils-all/x86-64/compressed-1a.d: Likewise. + * binutils-all/x86-64/compressed-1b.d: Likewise. + * binutils-all/x86-64/compressed-1c.d: Likewise. + * binutils-all/x86-64/x86-64.exp: Likewise. + +2010-07-05 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/10531 + PR gas/11789 + * binutils-all/objdump.W: Remove bogus line debug info. + +2010-05-18 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/11600 + * binutils-all/objcopy.exp: Run exclude-1a and exclude-1b for + ELF targets. + + * binutils-all/exclude-1.s: New. + * binutils-all/exclude-1a.d: Likewise. + * binutils-all/exclude-1b.d: Likewise. + +2010-04-30 H.J. Lu <hongjiu.lu@intel.com> + + * binutils-all/dlltool.exp: Add a missing `"'. + +2010-04-27 Kai Tietz <kai.tietz@onevision.com> + + * binutils-all/dlltool.exp: Allow test for + arm-wince-pe target. + +2010-03-30 Kai TIetz <kai.tietz@onevision.com> + + * binutils-all/objcopy.exp: Mark simple copy executable + as failing for all *-*-mingw32* targets. + +2010-03-26 Matt Rice <ratmice@gmail.com> + + * binutils-all/ar.exp (unique_symbol): New test. + +2010-02-18 Alan Modra <amodra@gmail.com> + + * binutils-all/group-5.s, * binutils-all/group-5.d: New test. + * binutils-all/objcopy.exp: Run it. + +2010-02-01 Nathan Sidwell <nathan@codesourcery.com> + + * binutils-all/note-1.d: New. + * binutils-all/objcopy.exp: Add it. + +2010-01-30 Dave Korn <dave.korn.cygwin@gmail.com> + + * binutils-all/windres/html.rc: Don't xfail x86_64-*-mingw*. + * binutils-all/windres/lang.rc: Likewise. + * binutils-all/windres/messagetable.rc: Likewise. + * binutils-all/windres/strtab1.rc: Likewise. + * binutils-all/windres/strtab2.rc: Likewise. + * binutils-all/windres/version.rc: Likewise. + * binutils-all/windres/version_cat.rc: Likewise. + +2010-01-19 Ian Lance Taylor <iant@google.com> + + * lib/utils-lib.exp (run_dump_test): Permit option values to use + $srcdir to refer to the source directory. + * binutils-all/add-section.d: New test. + * binutils-all/add-empty-section.d: New test. + * binutils-all/empty-file: New test input file. + * binutils-all/objcopy.exp: Run new tests. + +2010-01-08 H.J. Lu <hongjiu.lu@intel.com> + + * binutils-all/elfedit-2.d: New. + + * binutils-all/elfedit.exp: Run elfedit-2. + +2010-01-06 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/11131 + * binutils-all/elfedit-1.d: New. + * binutils-all/elfedit.exp: Likewise. + + * config/default.exp (ELFEDIT): New. Set if it doesn't exist. + (ELFEDITFLAGS): Likewise. + + * lib/utils-lib.exp (run_dump_test): Support elfedit. + +2009-10-28 Kai Tietz <kai.tietz@onevision.com> + + * binutils-all/dlltool.exp: Add tests for --no-leading-underscore + and --leading-underscore option for dlltool. + +2009-10-23 Kai Tietz <kai.tietz@onevision.com> + + * binutils-all/dlltool.exp: Add new test. + * binutils-all/alias-2.def: New file. + +2009-10-18 Vincent Rivière <vincent.riviere@freesbee.fr> + + * binutils-all/copy-2.d: Exclude more aout targets. + * binutils-all/copy-3.d: Likewise. + +2009-09-23 Alan Modra <amodra@bigpond.net.au> + + * binutils-all/readelf.s: Tolerate some whitespace differences. + * binutils-all/readelf.s-64: Likewise. + * binutils-all/readelf.ss: Likewise. + * binutils-all/readelf.ss-64: Likewise. + * binutils-all/readelf.ss-mips: Likewise. + * binutils-all/readelf.ss-tmips: Likewise. + * binutils-all/strip-10.d: Likewise. + +2009-09-08 Alan Modra <amodra@bigpond.net.au> + + * binutils-all/objdump.exp (cpus_expected): Add ms1. + +2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com> + + * binutils-all/testranges.s (.debug_info): Pad the only CU. + +2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com> + + * binutils-all/testranges.s: Replace all .long by .4byte. + +2009-09-04 DJ Delorie <dj@redhat.com> + + * binutils-all/objdump.exp: Add m16c and m32c to the list of + expected cpus. + +2009-09-02 Jie Zhang <jie.zhang@analog.com> + + * binutils-all/bfin/unknown-mode.s: New test. + * binutils-all/bfin/objdump.exp: New test. + +2009-08-17 Nick Clifton <nickc@redhat.com> + + * binutils-all/strip-10.d: Accept "<OS specific>: 10" for the type + of the UNIQUE symbol. + +2009-08-07 Daniel Jacobowitz <dan@codesourcery.com> + + * binutils-all/testranges.s: Use %progbits. Use ";#" for comments. + +2009-08-06 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/10492 + * binutils-all/objcopy.exp: Run strip-10. + + * binutils-all/strip-10.d: New. + * binutils-all/unique.s: Likewise. + +2009-07-31 Daniel Gutson <dgutson@codesourcery.com> + Daniel Jacobowitz <dan@codesourcery.com> + + * binutils-all/arm/thumb2-cond.s: Use instructions instead of + .short. + +2009-07-29 Alan Modra <amodra@bigpond.net.au> + + * binutils-all/testranges.s: Replace .value with .short. + +2009-07-16 Dave Korn <dave.korn.cygwin@gmail.com> + H.J. Lu <hongjiu.lu@intel.com> + + * binutils-all/objcopy.exp: Run testranges and testranges-ia64 + for ELF targets only. + +2009-07-16 H.J. Lu <hongjiu.lu@intel.com> + + * binutils-all/objcopy.exp; Run testranges-ia64. + + * binutils-all/testranges.d: Don't run for ia64. + + * binutils-all/testranges-ia64.d: New. + * binutils-all/testranges-ia64.s: Likewise. + +2009-07-14 Jan Kratochvil <jan.kratochvil@redhat.com> + + * binutils-all/objcopy.exp (testranges): New test. + * binutils-all/testranges.d, binutils-all/testranges.s: New files. + +2009-06-25 Christopher Faylor <me+cygwin@cgf.cx> + + * binutils-all/objcopy.exp: Move XFAIL from objcopy_test to + copy_executable. + +2009-06-25 Christopher Faylor <me+cygwin@cgf.cx> + + * binutils-all/objcopy.exp: Always treat objcopy_test as XFAIL on + cygwin. + +2009-04-16 Alan Modra <amodra@bigpond.net.au> + + * binutils-all/localize-hidden-1.s: Use "==" instead of ".set". + * binutils-all/localize-hidden-2.s: Likewise. + +2009-04-02 Dave Korn <dave.korn.cygwin@gmail.com> + + * inutils-all/objcopy.exp (strip_executable): Delete remote dest + file before downloading. + (strip_executable_with_saving_a_symbol): Likewise. + (keep_debug_symbols_and_test_copy): Likewise. + +2009-03-11 Joseph Myers <joseph@codesourcery.com> + + * binutils-all/objdump.W, binutils-all/objdump.s: Don't match + literal "tmpdir/" in expected output. + +2009-03-11 Chris Demetriou <cgd@google.com> + + * binutils-all/ar.exp (deterministic_archive): New test. + +2009-03-09 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/9933 + * binutils-all/copy-4.d: New. + + * binutils-all/objcopy.exp: Run copy-4. + +2009-03-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * config/hppa.sed: Fix spelling. + +2009-03-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * binutils-all/localize-hidden-1.s: Change .equ to .set. + * binutils-all/localize-hidden-2.s: Likewise. + +2009-01-29 Nick Clifton <nickc@redhat.com> + + * binutils-all/objdump.W: Do not assume that high and low PC + addresses will have been computed. + +2008-10-06 Tom Tromey <tromey@redhat.com> + + * binutils-all/objdump.W: Update. + +2008-10-03 H.J. Lu <hongjiu.lu@intel.com> + + * binutils-all/group.s: Updated. + * binutils-all/group-2.s: Likewise. + * binutils-all/group-3.s: Likewise. + * binutils-all/group-4.s: Likewise. + * binutils-all/strip-7.d: Likewise. + * binutils-all/strip-9.d: Likewise. + +2008-10-01 H.J. Lu <hongjiu.lu@intel.com> + + * binutils-all/group-4.s: New. + * binutils-all/strip-8.d: Likewise. + * binutils-all/strip-9.d: Likewise. + + * binutils-all/objcopy.exp: Test objcopy on group-4.s. Run + strip-8 and strip-9. + +2008-10-01 H.J. Lu <hongjiu.lu@intel.com> + + * binutils-all/group-3.s: New. + * binutils-all/strip-6.d: Likewise. + * binutils-all/strip-7.d: Likewise. + + * binutils-all/objcopy.exp: Test objcopy on group-3.s. Run + strip-6 and strip-7. + +2008-10-01 H.J. Lu <hongjiu.lu@intel.com> + + * binutils-all/group-2.s: New. + * binutils-all/strip-4.d: Likewise. + * binutils-all/strip-5.d: Likewise. + + * binutils-all/objcopy.exp: Test objcopy on group-2.s. Run + strip-4 and strip-5. + +2008-07-26 Alan Modra <amodra@bigpond.net.au> + + * binutils-all/objdump.exp: Run compressed debug test only for ELF. + +2008-07-11 Hans-Peter Nilsson <hp@axis.com> + + * binutils-all/objdump.W: Generalize to adjust for targets with + non-byte-size instructions. + +2008-07-09 Craig Silverstein <csilvers@google.com> + + * binutils-all/objdump.exp: Add test for objdump -s on a file + with a compressed debug section. Add test for objdump -W on a + file that contains a compressed debug section. + * binutils-all/readelf.exp: Call readelf_compressed_wa_test. + (readelf_compressed_wa_test): New function. + * binutils-all/dw2-compressed.S: New file. + * binutils-all/objdump.W: New file. + * binutils-all/objdump.s: New file. + * binutils-all/readelf.wa: New file. + +2008-07-08 Kai Tietz <kai.tietz@onevision.com> + + * binutils-all/objcopy.exp (copy_setup): Check if host-triplet + is target-triplet for execution tests. + (copy_executable): Likewise. + (strip_executable): Likewise. + (strip_executable_with_saving_a_symbol): Likewise. + +2008-05-29 Jan Kratochvil <jan.kratochvil@redhat.com> + + * binutils-all/objcopy.exp: Call KEEP_DEBUG_SYMBOLS_AND_TEST_COPY. + (keep_debug_symbols_and_test_copy): New function. + (test5, test6): New variables. + +2008-03-27 Cary Coutant <ccoutant@google.com> + + * binutils-all/ar.exp: Add thin archive tests. + +2008-02-26 Joseph Myers <joseph@codesourcery.com> + + * config/default.exp (gcc_gas_flag, dlltool_gas_flag): Define to + empty for testing an installed toolchain. + +2008-02-04 Bob Wilson <bob.wilson@acm.org> + + * binutils-all/objdump.exp (cpus_expected): Add xtensa. + +2007-10-26 Alan Modra <amodra@bigpond.net.au> + + * binutils-all/windres/windres.exp: Don't xfail. + +2007-10-16 Nick Clifton <nickc@redhat.com> + + * binutils-all/readelf.ss: Accept COMMON in readelf's output. + * binutils-all/readelf.ss-64: Likewise. + * binutils-all/readelf.ss-mips: Likewise. + * binutils-all/readelf.ss-tmips: Likewise. + +2007-08-30 Nick Clifton <nickc@redhat.com> + + * binutils-all/dumptest.s: New test file. + * binutils-all/readelf.exp: Add test of readelf's -p switch. + +2007-08-28 Mark Shinwell <shinwell@codesourcery.com> + Joseph Myers <joseph@codesourcery.com> + + * binutils-all/ar.exp (long_filenames): Delete temporary files on + the host. + * binutils-all/arm/objdump.exp: Only check "which $OBJDUMP" if + host is local. + * binutils-all/objcopy.exp: Use ${srecfile} to get the name of the + srec file to be passed to binutils_run. + (objcopy_test_readelf): Use remote_exec. + * binutils-all/readelf.exp (readelf_find_size): Use remote_exec. + (readelf_test): Likewise. + (readelf_wi_test): Likewise. + * lib/utils-lib.exp (run_dump_test): Only check "which $binary" if + host is local. Use remote_exec. Use $tempfile not + tmpdir/bintest.o. + +2007-08-09 Alan Modra <amodra@bigpond.net.au> + + * binutils-all/copy-2.d (not-target): Match *-*-*aout. + * binutils-all/copy-3.d (not-target): Likewise. + * binutils-all/objcopy.exp (objcopy_test): Remove extraneous + setup_xfail. + * windres/windres.exp: Return unsupported rather than fail if + windows.h not found. + +2007-07-05 Nick Clifton <nickc@redhat.com> + + * lib/utils-lib.exp: Update copyright notice to refer to GPLv3. + * config/default.exp, binutils-all/ar.exp, + binutils-all/dlltool.exp, binutils-all/nm.exp, + binutils-all/objcopy.exp, binutils-all/arm/objdump.exp, + binutils-all/hppa/objdump.exp, binutils-all/m68k/objdump.exp, + binutils-all/vax/objdump.exp, binutils-all/windres/windres.exp, + binutils-all/windres/msupdate: Likewise. + +2007-06-23 H.J. Lu <hongjiu.lu@intel.com> + + * binutils-all/strip-3.d: Also strip .xtensa.info section. + +2007-05-24 Kai Tietz <Kai.Tietz@onevision.com> + + * binutils-all/windres/version_cat.rc: New. + * binutils-all/windres/version_cat.rsd: New. + +2007-05-23 Kai Tietz <Kai.Tietz@onevision.com> + + * binutils-all/windres/html.rc: New. + * binutils-all/windres/html.rsd: New. + * binutils-all/windres/html1.hm: New. + * binutils-all/windres/html2.hm: New. + * binutils-all/windres/messagetable.rc: New. + * binutils-all/windres/messagetable.rsd: New. + * binutils-all/windres/MSG00001.bin: New. + * binutils-all/windres/strtab2.rc: New. + * binutils-all/windres/strtab2.rsd: New. + * binutils-all/windres/version.rc: New. + * binutils-all/windres/version.rsd: New. + * binutils-all/windres/dialog.rsd: Fix expected results. + +2007-05-17 Joseph Myers <joseph@codesourcery.com> + + * binutils-all/strip-3.d: Strip .pdr section. + +2007-05-15 Alan Modra <amodra@bigpond.net.au> + + * binutils-all/objcopy.exp: Only run needed-by-reloc test for ELF. + +2007-05-11 Alan Modra <amodra@bigpond.net.au> + + * binutils-all/needed-by-reloc.s: Use .long rather than .4byte. + +2007-05-08 Mark Shinwell <shinwell@codesourcery.com> + + * binutils-all/strip-3.d: Strip .ARM.attributes and .reginfo + sections. + +2007-05-02 Alan Modra <amodra@bigpond.net.au> + + * binutils-all/objcopy.exp (copy_setup): Don't perror, use send_log. + (copy_executable): Return early if test2 is blank. + Return unsupported rather than unresolved if we can't run + executables. Do test1 if we can compile. + +2007-04-24 Nathan Froyd <froydnj@codesourcery.com> + Phil Edwards <phil@codesourcery.com> + + * binutils-all/objcopy.exp: Add test for stripping a symbol + used in a relocation. + * binutils-all/needed-by-reloc.s: New file. + +2007-04-20 Nathan Froyd <froydnj@codesourcery.com> + Phil Edwards <phil@codesourcery.com> + Thomas de Lellis <tdel@windriver.com> + + * binutils-all/objcopy.exp: Add test for --reverse-bytes. + +2007-04-21 Richard Earnshaw <rearnsha@arm.com> + + * binutils-all/readelf.exp (regexp_diff): Delete. + +2007-04-20 Richard Earnshaw <rearnsha@arm.com> + + * binutils-all/arm/thumb2-cond.s: Allow for tab expansion by the pty. + Rename the second test. + +2007-04-12 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/4348 + * binutils-all/empty.s: New file. + * binutils-all/strip-3.d: Likewise. + + * binutils-all/objcopy.exp: Run strip-3 for ELF target. + +2007-02-27 Nathan Sidwell <nathan@codesourcery.com> + + * binutils-all/objcopy.exp: Skip for uclinux targets. + +2007-02-14 Nick Clifton <nickc@redhat.com> + + * binutils-all/readelf.exp (readelf_wi_test): Fix unexpected + output failure message. + +2007-01-08 Kai Tietz <kai.tietz@onevision.com> + + * copy-3.d: Renamed target x86_64-*-mingw64 to x86_64-*-mingw* + * dlltool.exp: Dito + * lang.rc: Dito + * strtab1.rc: Dito + * windres.exp: Dito + +2006-09-20 Kai Tietz <Kai.Tietz@onevision.com> + + * binutils-all/copy-3.d: Add support for target x86_64-pc-mingw64. + * binutils-all/dlltool.exp: Likewise. + * binutils-all/objcopy.exp: Likewise. + * binutils-all/windres/windres.exp: Likewise. + * binutils-all/windres/lang.rc: xfail it as long as there is no windows.h. + * binutils-all/windres/strtab1.rc: Likewise. + * lib/utils-lib.exp: Adjust executable prefix detection (as .exe). + +2006-09-14 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/3181 + * binutils-all/objcopy.exp: Run strip-1 and strip-2 for ELF + targets. + + * binutils-all/strip-1.d: New file. + * binutils-all/strip-2.d: Likewise. + + * lib/utils-lib.exp (run_dump_test): Support strip. + +2006-08-15 Thiemo Seufer <ths@mips.com> + Nigel Stephens <nigel@mips.com> + David Ung <davidu@mips.com> + + * binutils-all/readelf.exp (readelf_test): Handle mips*-sde-elf*. + +2006-06-24 Richard Sandiford <richard@codesourcery.com> + + * binutils-all/localize-hidden-1.d: Use objdump --syms instead + of readelf. + +2006-06-23 Richard Sandiford <richard@codesourcery.com> + + * binutils-all/localize-hidden-1.s, + * binutils-all/localize-hidden-1.d, + * binutils-all/localize-hidden-2.s, + * binutils-all/localize-hidden-2.d: New tests. + * binutils-all/objcopy.exp: Run them. + +2006-06-06 Paul Brook <paul@codesourcery.com> + + * binutils-all/arm/objdump.exp: New file. + * binutils-all/arm/thumb2-cond.s: New test. + +2006-05-03 H.J. Lu <hongjiu.lu@intel.com> + + * binutils-all/copy-3.d: Fix a typo. + +2006-05-03 H.J. Lu <hongjiu.lu@intel.com> + + * binutils-all/copy-3.d: New. + + * objcopy.exp: Run copy-3. + +2006-05-02 Dave Korn <dave.korn@artimi.com> + + * binutils-all/copy-1.d (name): Correct spelling of 'setting'. + * binutils-all/copy-1.d (name): Likewise. + +2006-05-02 Nick Clifton <nickc@redhat.com> + + * binutils-all/copy-2.d: Change the name of the section whose + flags are changed to "foo" so that the test will work with PE + based targets. Skip this test for AOUT based targeted. + * binutils-all/copytest.s: New file. + +2006-05-01 H.J. Lu <hongjiu.lu@intel.com> + + * binutils-all/objcopy.exp: Run "copy-1" for ELF only. + +2006-05-01 Ben Elliston <bje@au.ibm.com> + + * binutils-all/objcopy.exp (objcopy_test_readelf): Remove stray ; + +2006-04-26 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/2593 + * binutils-all/copy-1.d: New file. + * binutils-all/copy-1.s: Likewise. + * binutils-all/copy-2.d: Likewise. + + * binutils-all/objcopy.exp: Add run_dump_test "copy-1" and + run_dump_test "copy-2". + + * lib/utils-lib.exp (run_dump_test): New. + (slurp_options): Likewise. + (regexp_diff): Likewise. + (file_contents): Likewise. + (verbose_eval): Likewise. + +2006-04-25 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/2467 + * binutils-all/objcopy.exp (strip_test): Also test "strip -g" + on archive. + +2006-04-10 H.J. Lu <hongjiu.lu@intel.com> + + * lib/utils-lib.exp (default_binutils_run): Check exit status. + +2005-12-24 Ben Elliston <bje@gnu.org> + + * config/default.exp: Do not load the unneeded util-defs.exp. + +2005-11-15 Jan Beulich <jbeulich@novell.com> + + * config/default.exp (link_or_copy): New. Use it for setting + up assembler and linker for the compiler to use. + +2005-10-20 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/251 + * binutils-all/group.s: New file. + + * binutils-all/objcopy.exp (objcopy_test_readelf): New + procedure. + Use it to test ELF group. + +2005-10-19 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/1487 + * binutils-all/objcopy.exp (objcopy_test): New procedure. + Use it to test simple copy, ia64 link order and ELF unknown + section type. + + * binutils-all/unknown.s: New file. + +2005-10-19 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/1321 + * binutils-all/link-order.s: New. + + * binutils-all/objcopy.exp: Check ia64 link order. + +2005-10-11 Danny Smith <dannysmith@users.sourceforge.net> + + * binutils-all/windres/escapex-2.rc: New file. + * binutils-all/windres/escapex-2.rsd: Generate. + +2005-08-26 Christian Groessler <chris@groessler.org> + + * binutils-all/objcopy.exp: Don't setup_xfail "z8*-*". + +2005-08-18 Alan Modra <amodra@bigpond.net.au> + + * binutils-all/objcopy.exp: Remove a29k support. + * binutils-all/objdump.exp: Likewise, alliant and convex too. + +2005-05-07 Nick Clifton <nickc@redhat.com> + + * Update the address and phone number of the FSF organization in + the GPL notices in the following files: + binutils-all/ar.exp, binutils-all/dlltool.exp, + binutils-all/nm.exp, binutils-all/objcopy.exp, + binutils-all/objdump.exp, binutils-all/readelf.exp, + binutils-all/size.exp, binutils-all/hppa/objdump.exp, + binutils-all/m68k/objdump.exp, binutils-all/vax/objdump.exp, + binutils-all/windres/msupdate, binutils-all/windres/windres.exp, + config/default.exp, lib/utils-lib.exp + +2005-04-04 Jan-Benedict Glaw <jbglaw@lug-owl.> + + * binutils-all/vax/objdump.exp: Condense the two tests into one + and add a "-M entry:" for the second label. + +2005-03-29 Jan-Benedict Glaw <jbglaw@lug-owl.de> + + * binutils-all/vax: New directory. + * binutils-all/vax/objdump.exp: New script. Test the -Mentry: + switch added to the VAX disassembler. + * binutils-all/vax/entrymask.s: New assembler source file. + +2005-03-08 Ben Elliston <bje@au.ibm.com> + + * config/default.exp: Remove send_user call for stray output. + +2005-01-04 Martin Koegler <mkoegler@auto.tuwien.ac.at> + + * binutils-all/testprog.c: Add prototype for printf() and make + type of "string" array be "char" in order to avoid compile time + warnings. + +2004-12-31 Alan Modra <amodra@bigpond.net.au> + + * binutils-all/readelf.ss: Allow for both .rel and .rela sections. + +2004-11-04 Hans-Peter Nilsson <hp@axis.com> + + * binutils-all/objdump.exp (cpus_expected): Append cris. + +2004-10-28 H.J. Lu <hongjiu.lu@intel.com> + + * binutils-all/dlltool.exp: Set XFAIL if $target_xfail is yes. + +2004-10-23 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> + + * binutils-all/alias.def: New file. + * binutils-all/dlltool.exp: Two new -p tests. + * config/default.exp (dlltool_gas_flag): New variable. + Copy gas and lds executables into tmpdir/gas directory rather than + making symlinks which might not be supported by the host OS. + Attempt to handle the case where the host OS does not use the .exe + extension but the target OS does. + * lib/utils-lib.exp (exe_ext): New procedure. + +2004-07-12 Nick Clifton <nickc@redhat.com> + + * binutils-all/dlltool.exp: Check that the -p switch is not + rejected. + +2004-07-09 Andreas Schwab <schwab@suse.de> + + * binutils-all/m68k/movem.s: New file. + + * binutils-all/m68k/objdump.exp: New file. + +2004-05-15 Nick Clifton <nickc@redhat.com> + + * binutils-all/readelf.ss: Allow for ARM mapping symbols. + +2004-05-12 Ben Elliston <bje@au.ibm.com> + + * binutils-all/ar.exp: Remove stray semicolons. + * binutils-all/dlltool.exp: Likewise. + * binutils-all/objcopy.exp: Likewise. + * binutils-all/readelf.exp: Likewise. + * binutils-all/windres/windres.exp: Likewise. + * lib/utils-lib.exp: Likewise. + +2004-04-14 Richard Sandiford <rsandifo@redhat.com> + + * binutils-all/readelf.ss-mips: Allow named section symbols. + +2004-03-30 Jakub Jelinek <jakub@redhat.com> + + * binutils-all/objcopy.exp: Accept main as a data symbol as well. + +2004-02-27 Andreas Schwab <schwab@suse.de> + + * binutils-all/ar.exp (argument_parsing): New test. + +2004-02-20 Nathan Sidwell <nathan@codesourcery.com> + + * binutils-all/objcopy.exp: Reorder arguments for POSIXLY_CORRECT + systems. + +For older changes see ChangeLog-9303 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/gas/ChangeLog b/gas/ChangeLog index a0bca6c..b2a8f63 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -14,2090 +14,7 @@ * config/obj-macho.h (OBJ_PROCESS_STAB): Define. (obj_macho_process_stab): Declare. -2011-12-29 Iain Sandoe <idsandoe@googlemail.com> - - * as.c (perform_an_assembly_pass): Do not create text, data and bss - sections for MACH-O. Do not switch to the text section. - * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Forward decl. - (mach_o_begin): Startup with only text section unless suppressed. - * config/obj-macho.h (obj_begin): define to mach_o_begin (). - -2011-12-22 DJ Delorie <dj@redhat.com> - - * config/rl78-defs.h (rl78_linkrelax_addr16): Add. - (rl78_linkrelax_dsp, rl78_linkrelax_imm): Remove. - * config/rl78-parse.y: Tag all addr16 and branch patterns with - relaxation markers. - * config/tc-rl78.c (rl78_linkrelax_addr16): New. - (rl78_linkrelax_branch): New. - (OPTION_RELAX): New. - (md_longopts): Add relax option. - (md_parse_option): Add OPTION_RELAX. - (rl78_frag_init): Support relaxation. - (rl78_handle_align): New. - (md_assemble): Support relaxation. - (md_apply_fix): Likewise. - (md_convert_frag): Likewise. - * config/tc-rl78.h (MAX_MEM_FOR_RS_ALIGN_CODE): New. - (HANDLE_ALIGN): New. - (rl78_handle_align): Declare. - - * config/rl78-parse.y (rl78_bit_insn): New. Set it for all bit - insn patterns. - (find_bit_index): New. Strip .BIT suffix off relevent - expressions for bit insns. - (rl78_lex): Exclude bit suffixes from expression parsing. - -2011-12-21 Nick Clifton <nickc@redhat.com> - - PR gas/13449 - * config/tc-arm.c (create_unwind_entry): Zero allocated table - entries. - -2011-12-19 Iain Sandoe <idsandoe@googlemail.com> - - * config/obj-macho.c (obj_mach_o_section): Account for target- - dependent section types. Improve error handling when wrong section - types/attributes are specified. - -2011-12-19 Chung-Lin Tang <cltang@codesourcery.com> - - * config/tc-mips.c (mips_pseudo_table): Add tprelword/tpreldword - entries. - (mips16_percent_op): Add MIPS16 TLS relocation ops. - (md_apply_fix): Add BFD_RELOC_MIPS16_TLS_* switch cases. - (s_tls_rel_directive): Rename from s_dtprel_internal(). Abstract out - directive string and reloc type as function parameters. Update - comments. - (s_dtprelword,s_dtpreldword): Change to use s_tls_rel_directive(). - (s_tprelword,s_tpreldword): New functions. - -2011-12-15 Tristan Gingold <gingold@adacore.com> - - * config/obj-macho.c (obj_mach_o_fileprop): Fix typo. - -2011-12-15 Konstantin Belousov <kib@FreeBSD.org> - - * config/obj-elf.c (obj_elf_type): Add ELFOSABI_FREEBSD to the - supported abi's. - -2011-12-15 Iain Sandoe <iains@gcc.gnu.org> - - * config/obj-macho.c (obj_mach_o_subsections_by_symbols): New global. - (obj_mach_o_file_properties): New enum. - (obj_mach_o_subsections_via_symbols): Generalize name to... - ... (obj_mach_o_fileprop) and use to set subsections_via_symbols. - -2011-12-14 Stuart Henderson <shenders@gcc.gnu.org> - - * config/bfin-parse.y (asm_1): set SRCx fields to all 1s for - dspalu32 instrs that don't use them. - -2011-12-14 Nick Clifton <nickc@redhat.com> - - * config/tc-cris.c (md_convert_frag): Mark the length_code local - variable as unused as it is only used when ENABLE_CHECKING is on. - -2011-12-14 Iain Sandoe <iains@gcc.gnu.org> - - * config/obj-macho.c: Add some more top-level comments. - (collect_16char_name): New. - (obj_mach_o_section): Amend to allow syntax compatible with - existing system tools. Use section translation data when available. - (obj_mach_o_segT_from_bfd_name): New. - (known_sections): Update. - (obj_mach_o_known_section): Use obj_mach_o_segT_from_bfd_name. - (objc_sections): New. - (obj_mach_o_objc_section): New. - (debug_sections): New. - (obj_mach_o_debug_section): New. - (tgt_sections): New. - (obj_mach_o_opt_tgt_section): New. - (obj_mach_o_base_section): New. - (obj_mach_o_common_parse): Update to create BSS on demand and to handle - lcomm optional alignment param. - (obj_mach_o_comm): Update parameter name. - (obj_mach_o_placeholder): New. - (mach_o_pseudo_table): Update for GCC section directives. - * config/obj-macho.h (_OBJ_MACH_O_H): New. - (USE_ALIGN_PTWO): Define. - (S_SET_ALIGN) Define. - -2011-12-13 Andrew Burgess <aburgess@broadcom.com> - - * doc/internals.texi (TC_FORCE_RELOCATION_SUB_SAME): Update - to match code. - -2011-12-08 Andrew Pinski <apinski@cavium.com> - Adam Nemet <anemet@caviumnetworks.com> - - * tc-mips.c (CPU_IS_OCTEON): Add Octeon2. - (mips_cpu_info_table): Add Octeon2. - * doc/c-mips.texi: Document octeon2 as an acceptable value for -march=. - -2011-12-07 Sameera Deshpande <sameera.deshpande@arm.com> - - * config/tc-arm.c (do_t_ldstd): Warn for unpredictable cases. - -2011-11-07 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * config/tc-arm.c (ARM_IT_MAX_OPERANDS): New define. - (arm_it): Use ARM_IT_MAX_OPERANDS. - (neon_select_shape): Ensure we have matched all operands. - -2011-11-07 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * config/tc-arm.c (parse_neon_mov): Update which_operand - correctly. - -2011-12-05 Richard Earnshaw <rearnsha@arm.com> - - * tc-arm.c (aeabi_set_public_attributes): Correctly set - Tag_ARM_ISA_use and Tag_Thumb_ISA_use. - -2011-11-30 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * config/tc-arm.c (arm_cpu_option_table): Add name_len field. - (arm_arch_option_table): Likewise. - (arm_option_extension_value_table): Likewise. - (ARM_CPU_OPT): New define. - (ARM_ARCH_OPT): Likewise. - (ARM_EXT_OPT): Likewise. - (arm_cpus): Use ARM_CPU_OPT to initialize. - (arm_archs): Use ARM_ARCH_OPT to initialize. - (arm_extensions): Use ARM_EXT_OPT to initialize. - (arm_parse_extension): Ensure option string matching matches - the whole string. - (arm_parse_cpu): Likewise. - (arm_parse_arch): Likewise. - -2011-11-29 Andrew Pinski <apinski@cavium.com> - - * config/tc-mips.c (CPU_IS_OCTEON): New macro function. - (CPU_HAS_SEQ): Change to use CPU_IS_OCTEON. - (NO_ISA_COP): Likewise. - (macro) <ld_st>: Add support when off0 is true. - Add support for M_SAA_AB, M_SAA_OB, M_SAAD_OB and M_SAAD_AB. - (mips_cpu_info_table): Add octeon+. - * doc/c-mips.texi: Document octeon+ as an acceptable value for -march=. - -2011-11-25 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * config/tc-arm.c (do_t_mov_cmp): Allow MOV lowreg, lowreg when no CPU - is specified. - -2011-11-23 Tristan Gingold <gingold@adacore.com> - - * config/tc-alpha.c (s_alpha_prologue): Requires empty line. - -2011-11-23 Tristan Gingold <gingold@adacore.com> - - * config/tc-alpha.c (s_alpha_frame): Emit a warning if bad value - of RA. - (s_alpha_pdesc): Adjust comment. - -2011-11-23 Thomas Klein <th.r.klein@web.de> - - * config/tc-arm.c (do_t_mov_cmp): Prevent emitting code for MOV - with two low register at arch v4t or v5t when assember using - unified syntax. - -2011-11-21 DJ Delorie <dj@redhat.com> - - * config/rl78-defs.h (rl78_error): Add "const". - * config/rl78-parse.y (rl78_error): Likewise. - -2011-11-21 Andreas Tobler <andreast@fgznet.ch> - - * config/tc-ppc.c (ppc_target_format): Add format for powerpc*-freebsd. - -2011-11-16 David S. Miller <davem@davemloft.net> - - * config/tc-sparc.c (md_apply_fix): Handle BFD_RELOC_8. - -2011-11-16 Maciej W. Rozycki <macro@codesourcery.com> - - * config/tc-mips.c (macro): Fix unsupported opcode message - capitalization. - (mips_ip, mips16_ip): Likewise. - -2011-11-16 Maciej W. Rozycki <macro@codesourcery.com> - - * config/tc-mips.c (ISA_SUPPORTS_MCU_ASE): Also set if microMIPS - mode. - -2011-11-16 Maciej W. Rozycki <macro@codesourcery.com> - - * config/tc-mips.c (macro_build_jalr): Reverse a negative - conditional. - (mips_ip): Likewise. - -2011-11-16 Catherine Moore <clm@codesourcery.com> - Maciej W. Rozycki <macro@codesourcery.com> - - * config/tc-mips.c (mips_cpu_info_table): Add "m14ke" and - "m14kec". - * doc/c-mips.texi (MIPS architecture options): Add "m14ke" and - "m14kec" to the list of -march options. - -2011-11-15 Maciej W. Rozycki <macro@codesourcery.com> - - * write.c (dump_section_relocs): Don't convert PC-relative relocs - that have an in-place addend narrower than the addresses used. - -2011-11-14 Maciej W. Rozycki <macro@codesourcery.com> - - * config/tc-mips.c (can_swap_branch_p): Exclude microMIPS - variant frags too. - -2011-11-07 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * config/tc-arm.c (arm_cpus): Add cortex-a7 entry. - * doc/c-arm.texi (ARM Options): Add cortex-a7 to list of accepted - CPUs. - -2011-11-04 DJ Delorie <dj@redhat.com> - - * doc/c-rl78.texi (RL78-Float): Remove unused menu entry. - -2011-11-02 DJ Delorie <dj@redhat.com> - - * config/tc-rl78.c (tc_gen_reloc): Remove unused variable. - -2011-11-02 Nick Clifton <nickc@redhat.com> - - * config/tc-arm.c (md_begin): Remove ARM_PLT32 reloc associated - with the (PLT) instruction suffix when operating in eabi mode. - * doc/c-arm.texi (ARM_Relocations): Extend description of (PLT) - suffix. - -2011-11-01 DJ Delorie <dj@redhat.com> - - * Makefile.am (TARGET_CPU_CFILES): Add tc-rl78.c. - (TARGET_CPU_HFILES): Add rc-rl78.h. - (EXTRA_DIST): Add rl78-parse.c and rl78-parse.y. - (rl78-parse.c, rl78-parse.h, rl78-parse.o, rl78-defs.h): New rules. - * Makefile.in: Regenerate. - * configure.in: Add rl78 case. - * configure: Regenerate. - * configure.tgt: Add rl78 case. - * config/rl78-defs.h: New file. - * config/rl78-parse.y: New file. - * config/tc-rl78.c: New file. - * config/tc-rl78.h: New file. - * NEWS: Add Renesas RL78. - - * doc/Makefile.am (c-rl78.texi): New. - * doc/Makefile.in: Likewise. - * doc/all.texi: Enable it. - * doc/as.texi: Add it. - * doc/c-rl78.texi: New file. - -2011-10-28 Walter Lee <walt@tilera.com> - - * NEWS: Fix TILEPro capitalization. - * config/tc-tilegx.c (emit_tilegx_instruction) Handle - relocations of aliases. - * config/tc-tilepro.c: (emit_tilepro_instruction) Likewise. - -2011-10-28 Nick Clifton <nickc@redhat.com> - - * po/ja.po: New Japanese translation. - * configure.in (ALL_LINGUAS): Add ja. - * configure: Regenerate. - -2011-10-26 Joern Rennecke <joern.rennecke@embecosm.com> - - * doc/as.texinfo [EPIPHANY]: Include c-epiphany.texi to avoid - duplication. - -2011-10-25 Mike Frysinger <vapier@gentoo.org> - - * config/rx-defs.h (rx_error): Add const to first arg. - * config/rx-parse.y (rx_error): Likewise. - -2011-10-25 Nick Clifton <nickc@redhat.com> - - * config/tc-ns32k.c (md_begin): Rename local variable 'stat' to - 'status'. - -2011-10-25 Joern Rennecke <joern.rennecke@embecosm.com> - - * NEWS: Mention addition of Adapteva Epiphany support. - * config/tc-epiphany.c: New file. - * config/tc-epiphany.h: New file. - * Makefile.am (TARGET_CPU_CFILES): Add config/tc-epiphany.c . - (TARGET_CPU_HFILES): Add config/tc-epiphany.h . - * configure.in: Also set using_cgen for epiphany. - * configure.tgt: Handle epiphany. - * doc/Makefile.am (CPU_DOCS): Add c-epiphany.texi . - * doc/all.texi: Set EPIPHANY. - * doc/as.texinfo: Add EPIPHANY-specific text. - * doc/c-epiphany.texi: New file. - * po/gas.pot: Regenerate. - * Makefile.in: Regenerate. - * configure: Regenerate. - * doc/Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2011-10-24 Maciej W. Rozycki <macro@codesourcery.com> - - * config/tc-mips.c (move_register): Fix formatting. - -2011-10-24 Maciej W. Rozycki <macro@codesourcery.com> - - * config/tc-mips.c (can_swap_branch_p): Remove empty line. - (start_noreorder): Likewise. - -2011-10-24 Maciej W. Rozycki <macro@codesourcery.com> - - * config/tc-mips.c (s_option): Fix formatting. - (mips_elf_final_processing): Likewise. - -2011-10-24 Maciej W. Rozycki <macro@codesourcery.com> - - * config/tc-mips.c (validate_micromips_insn): Fix formatting. - -2011-10-24 David Binderman <dcb314@hotmail.com> - - * config/tc-mn10200.c (md_convert_frag): Add missing break. - -2011-10-21 Tristan Gingold <gingold@adacore.com> - - * config/tc-alpha.c (load_expression): Use symbol_mark_used accessor. - (s_alpha_comm): Use symbol_set_frag accessor. - -2011-10-20 Alan Modra <amodra@gmail.com> - - * config/tc-mips.c (micromips_add_label): Avoid gcc warning. - (md_convert_frag): Likewise. - -2011-10-18 Jie Zhang <jie@codesourcery.com> - Julian Brown <julian@codesourcery.com> - - * config/tc-arm.c (parse_shifter_operand): Fix handling of explicit - rotation. - (encode_arm_shifter_operand): Likewise. - -2011-10-13 James Greenhalgh <james.greenhalgh@arm.com> - - * config/tc-arm.c (check_ldr_r15_aligned): New. - (do_ldst): Warn in upredictable cases. - (do_t_ldst): Likewise. - (insns): Update accordingly. - -2011-10-13 Alan Modra <amodra@gmail.com> - - * as.c (main): Define .gasversion. rather than __GAS_VERSION__. - * frags.h (bss_address_frag): Delete - (predefined_address_frag): New. - * frags.c (frag_init): Init predefined_address_frag. Delete ref - to bss_address_frag. - * symbols.c (S_CAN_BE_REDEFINED): New function. - * symbols.h (S_CAN_BE_REDEFINED): Declare. - * read.c (assign_symbol): Use S_CAN_BE_REDEFINED. - -2011-10-12 Alan Modra <amodra@gmail.com> - - * symbols.c (local_symbol_make): Make global. - * symbols.h (local_symbol_make): Declare. - * as.c (main): Define __GAS_VERSION__. - -2011-10-10 Nick Clifton <nickc@redhat.com> - - * po/es.po: Updated Spanish translation. - * po/fi.po: Updated Finnish translation. - * po/fr.po: Updated French translation. - -2011-10-05 DJ Delorie <dj@redhat.com> - Nick Clifton <nickc@redhat.com> - - * config/rx-defs.h (rx_pid_register): New. - (rx_gp_register): New. - * config/rx-parse.y (rx_lex): Add support for %gpreg and %pidreg. - (displacement): Add PID support. - * config/tc-rx.c (rx_pid_mode): New. - (rx_num_int_regs): New. - (rx_pid_register): New. - (rx_gp_register): New. - (options): Add -mpid and -mint-register= options. - (md_longopts): Likewise. - (md_parse_option): Likewise. - (md_show_usage): Likewise. - (rx_pid_symbol): New. - (rx_pidreg_symbol): New. - (rx_gpreg_symbol): New. - (md_begin): Support PID. - (rx_validate_fix_sub): Support PID. - (tc_gen_reloc): Support PID. - * doc/c-rx.texi: Document PID support. - -2011-09-27 Kai Tietz <ktietz@redhat.com> - - * config/obj-coff.c (obj_coff_section): Add 'e' as specifier - for marking section SEC_EXCLUDE. - -2011-09-22 Tristan Gingold <gingold@adacore.com> - - * NEWS: Add marker for 2.22. - -2011-09-21 David S. Miller <davem@davemloft.net> - - * config/tc-sparc.c (hwcap_allowed): New. - (struct sparc_arch): New field 'hwcap_allowed' containing a bitmask - of F_FOO flags which are enabled by the particular arch setting. - Add new options that provide explicit access to new instructions. - (md_parse_option): Only bump max_architecture if the requested one - is larger, or this is the first explicit request. - (get_hwcap_name): New function. - (sparc_ip): Validate that hwcaps used by an instruction have actually - been enabled. - * doc/c-sparc.texi: Document new sparc options. - -2011-09-21 David S. Miller <davem@davemloft.net> - - * config/tc-sparc.c (hwcap_seen): New bitmask, defined when - not TE_SOLARIS. - (sparc_ip): When not TE_SOLARIS, accumulate hwcap bits from - sparc_opcode->flags of instruction into hwcap_seen. - (sparc_md_end): Create Tag_GNU_Sparc_HWCAPS attribute if - hwcap_seen is non-zero and not TE_SOLARIS. - -2011-09-19 Tristan Gingold <gingold@adacore.com> - - * config/tc-alpha.c (insert_operand): Call as_bad_value_out_of_range - instead of as_warn_out_of_range. - -2011-09-08 Mark Fortescue <mark@mtfhpc.demon.co.uk> - - * config/tc-sparc.c (sparc_ip): Handle 'i' + r<0..31> - in addition to 'i' + [goli]<0..7>. - -2011-09-08 Joern Rennecke <joern.rennecke@embecosm.com> - - * cgen.c (gas_cgen_pcrel_r_type): New function. - (gas_cgen_tc_gen_reloc): Check for GAS_CGEN_PCREL_R_TYPE. - * cgen.h (gas_cgen_pcrel_r_type): Declare. - -2011-09-08 Richard Sandiford <rdsandiford@googlemail.com> - - PR gas/13167 - * dwarf2dbg.c (dwarf2_flush_pending_lines): Use symbol_temp_new_now. - -2011-09-05 Richard Sandiford <rdsandiford@googlemail.com> - - PR gas/13024 - * dwarf2dbg.c (pending_lines, pending_lines_tail): New variables. - (dwarf2_gen_line_info_1): Delete. - (dwarf2_push_line, dwarf2_flush_pending_lines): New functions. - (dwarf2_gen_line_info, dwarf2_emit_label): Use them. - (dwarf2_consume_line_info): Call dwarf2_flush_pending_lines. - (dwarf2_directive_loc): Push previous .locs instead of generating - them immediately. - -2011-08-26 Nick Clifton <nickc@redhat.com> - - * po/es.po: Updated Spanish translation. - -2011-08-26 Tristan Gingold <gingold@adacore.com> - - * config/tc-alpha.c (s_alpha_linkage): Simplify. Add comments. - -2011-08-26 Tristan Gingold <gingold@adacore.com> - - * config/tc-alpha.c (add_to_link_pool): Improve comment. - (s_alpha_fp_save): Fix indentation. - -2011-08-19 Nick Clifton <nickc@redhat.com> - - * doc/as.texinfo: Include c-xstormy16.texi. - -2011-08-18 Alan Modra <amodra@gmail.com> - - * write.c (resolve_reloc_expr_symbols): Convert local symbols - on relocs to section+offset. - (get_frag_for_reloc): New function. - (write_relocs): Merge sort fixup relocs with those from .reloc - directives. - -2011-08-10 Maciej W. Rozycki <macro@codesourcery.com> - - * config/tc-mips.c (can_swap_branch_p): Update the comment on - MIPS16 fixups. - -2011-08-09 Chao-ying Fu <fu@mips.com> - Daniel Jacobowitz <dan@codesourcery.com> - - * config/tc-mips.c (mips_cpu_info_table): Add "m14k" and - "m14kc". - * doc/c-mips.texi (MIPS architecture options): Add "m14k" and - "m14kc" to the list of -march options. - -2011-08-09 Chao-ying Fu <fu@mips.com> - Maciej W. Rozycki <macro@codesourcery.com> - - * config/tc-mips.c (mips_set_options): Add ase_mcu. - (mips_opts): Initialise ase_mcu to -1. - (ISA_SUPPORTS_MCU_ASE): New macro. - (MIPS_CPU_ASE_MCU): Likewise. - (is_opcode_valid): Handle MCU. - (macro_build, macro): Likewise. - (validate_mips_insn, validate_micromips_insn): Likewise. - (mips_ip): Likewise. - (options): Add OPTION_MCU and OPTION_NO_MCU. - (md_longopts): Add mmcu and mno-mcu. - (md_parse_option): Handle OPTION_MCU and OPTION_NO_MCU. - (mips_after_parse_args): Handle MCU. - (s_mipsset): Likewise. - (md_show_usage): Handle MCU options. - - * doc/as.texinfo: Document -mmcu and -mno-mcu options. - * doc/c-mips.texi: Likewise, and document ".set mcu" and - ".set nomcu" directives. - -2011-08-09 Maciej W. Rozycki <macro@codesourcery.com> - - * config/tc-mips.c (gpr_mod_mask): Remove INSN2_MOD_GPR_MB, - INSN2_MOD_GPR_MC, INSN2_MOD_GPR_ME, INSN2_MOD_GPR_MG, - INSN2_MOD_GPR_MHI, INSN2_MOD_GPR_MJ, INSN2_MOD_GPR_MM, - INSN2_MOD_GPR_MN, INSN2_MOD_GPR_MP and INSN2_MOD_GPR_MQ opcode - register use checks. - (gpr_read_mask): Add INSN2_READ_GPR_MC, INSN2_READ_GPR_ME - INSN2_READ_GPR_MG, INSN2_READ_GPR_MJ, INSN2_READ_GPR_MMN, - INSN2_READ_GPR_MP and INSN2_READ_GPR_MQ opcode register use - checks. - (gpr_write_mask): Replace INSN2_WRITE_GPR_S opcode register - use flag with INSN_WRITE_GPR_S. Add INSN2_WRITE_GPR_MB, - INSN2_WRITE_GPR_MHI, INSN2_WRITE_GPR_MJ and INSN2_WRITE_GPR_MP - opcode register use checks. - (can_swap_branch_p): Enable microMIPS branch swapping. - (append_insn): Likewise. - -2011-08-09 Maciej W. Rozycki <macro@codesourcery.com> - - * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Remove forced 16-bit - branch size information. - (RELAX_MICROMIPS_U16BIT): Remove macro. - (RELAX_MICROMIPS_UNCOND): Adjust accordingly. - (RELAX_MICROMIPS_COMPACT, RELAX_MICROMIPS_LINK): Likewise. - (RELAX_MICROMIPS_RELAX32): Likewise. - (RELAX_MICROMIPS_TOOFAR16): Likewise. - (RELAX_MICROMIPS_MARK_TOOFAR16): Likewise. - (RELAX_MICROMIPS_CLEAR_TOOFAR16): Likewise. - (RELAX_MICROMIPS_TOOFAR32): Likewise. - (RELAX_MICROMIPS_MARK_TOOFAR32): Likewise. - (RELAX_MICROMIPS_CLEAR_TOOFAR32): Likewise. - (append_insn): Always check forced_insn_length for microMIPS - relaxation. Adjust code for the removal of - RELAX_MICROMIPS_U16BIT. - (mips_ip) <'D', 'E'>: If forced_insn_length, then emit the - relocation straight away. - (relaxed_micromips_16bit_branch_length): Adjust code for the - removal of RELAX_MICROMIPS_U16BIT. - -2011-08-08 Tristan Gingold <gingold@adacore.com> - - * config/obj-macho.c (obj_mach_o_section): New function. - (struct known_section): New type. - (known_sections): Declare. - (obj_mach_o_known_section): New function. - (obj_mach_o_common_parse): Ditto. - (obj_mach_o_comm): Ditto. - (obj_mach_o_subsections_via_symbols): Ditto. - (mach_o_pseudo_table): Add new pseudos. - -2011-08-06 Richard Henderson <rth@redhat.com> - - * dw2gencfi.c (all_fde_data): Export. - * dw2gencfi.h (all_fde_data): Declare. - * config/tc-alpha.c (alpha_elf_md_end): Don't convert legacy unwind - info to cfi unwind info if the user already has supplied some. - -2011-08-06 Richard Sandiford <rdsandiford@googlemail.com> - - * config/tc-mips.c (emit_nop): Delete. - (get_delay_slot_nop): New function. - (nops_for_insn_or_target): Use it. - (append_insn): Likewise. When avoiding hazards, call add_fixed_insn - and insert_into_history directly. - -2011-08-06 Richard Sandiford <rdsandiford@googlemail.com> - - * config/tc-mips.c (delayed_branch_p, compact_branch_p) - (uncond_branch_p, branch_likely_p): New functions. - (insns_between, nops_for_insn_or_target, append_insn) - (macro_start): Use them. - (get_append_method): Likewise. Remove redundant test. - -2011-08-05 David S. Miller <davem@davemloft.net> - - * config/tc-sparc.c (v9a_asr_table): Add "cps". - (sparc_ip): Handle '4', '5' and '(' format codes. - -2011-08-04 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/13056 - * output-file.c (output_file_close): Call bfd_cache_close_all - on error. - - * write.c (write_object_file): Revert the last change. - -2011-08-04 Alan Modra <amodra@gmail.com> - - * write.c (write_object_file): Call set_symtab even if we had - errors. - -2011-08-04 Tristan Gingold <gingold@adacore.com> - - * config/obj-elf.c (obj_elf_section): Do not free name. - -2011-08-03 James Greenhalgh <james.greenhalgh@arm.com> - - * config/tc-arm.c (do_t_strexbh): New. - (insns): Update accordingly. - -2011-08-01 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/13048 - * config/tc-i386.c (handle_quad): Removed. - (md_pseudo_table): Remove "quad". - (tc_gen_reloc): Don't check BFD_RELOC_64 for disallow_64bit_reloc. - (x86_dwarf2_addr_size): New. - - * config/tc-i386.h (x86_dwarf2_addr_size): New. - (DWARF2_ADDR_SIZE): Likewise. - -2011-08-01 Nick Clifton <nickc@redhat.com> - - PR ld/12974 - * config/tc-arm.c (literal_pool): Add locs field. - (add_to_lit_pool): Initialise the locs entry for the new literal. - (s_ltorg): Generate a DWARF2 line number entry for each emitted - literal pool entry. - -2011-08-01 Tristan Gingold <gingold@adacore.com> - - * write.c (write_relocs): Fix -Wshadow in DEBUG3 and DEBUG4. - -2011-08-01 Tristan Gingold <gingold@adacore.com> - - * frags.c (frag_grow): Simplify the code. - -2011-07-30 Richard Sandiford <rdsandiford@googlemail.com> - - * config/tc-mips.c (nops_for_vr4130): Revert previous commit. - -2011-07-29 Maciej W. Rozycki <macro@codesourcery.com> - - * config/tc-mips.c: Adjust comments throughout. - (reglist_lookup): Reshape code. - (jmp_reloc_p, jalr_reloc_p): Reformat. - (got16_reloc_p, hi16_reloc_p, lo16_reloc_p): Handle microMIPS - relocations. - (gpr_mod_mask): Remove unused variable. - (gpr_read_mask, gpr_write_mask): Reshape code. - (fpr_read_mask, fpr_write_mask): Likewise. - (nops_for_vr4130): Ensure non-microMIPS mode. - (can_swap_branch_p): Correct pinfo2 reference. Reshape code. - (append_insn): Skip Loongson 2F workaround in MIPS16 mode. Use - the outermost operator of a compound relocation to determines - the relocated field. Fix formatting. - (md_convert_frag): Reshape code. - -2011-07-29 Tristan Gingold <gingold@adacore.com> - - * frags.c (frag_var_init): New function. - (frag_var): Call frag_var_init to initialize. - (frag_variant): Ditto. - -2011-07-27 Nathan Sidwell <nathan@codesourcery.com> - - * dwarf2dbg.c (out_debug_line): Ignore non-normal segments, with a - warning. - * doc/as.texinfo (Offset): Document .offset directive. - -2011-07-27 Tristan Gingold <gingold@adacore.com> - - * frags.c (frag_grow): Revert previous patch. - -2011-07-26 Kazuhiro Inaoka <kazuhiro.inaoka.ud@renesas.com> - - * config/tc-rx.c (md_convert_frag): Fix encoding of beq.a - synthetic instruction. - -2011-07-25 Tristan Gingold <gingold@adacore.com> - - * frags.c (frag_grow): Simplify the code. - -2011-07-24 Maciej W. Rozycki <macro@codesourcery.com> - Chao-ying Fu <fu@mips.com> - Richard Sandiford <rdsandiford@googlemail.com> - - * config/tc-mips.h (mips_segment_info): Add one bit for - microMIPS. - (TC_LABEL_IS_LOCAL): New macro. - (mips_label_is_local): New prototype. - * config/tc-mips.c (S0, S7): New macros. - (emit_branch_likely_macro): New variable. - (mips_set_options): Add micromips. - (mips_opts): Initialise micromips to -1. - (file_ase_micromips): New variable. - (CPU_HAS_MICROMIPS): New macro. - (hilo_interlocks): Set for microMIPS too. - (gpr_interlocks): Likewise. - (cop_interlocks): Likewise. - (cop_mem_interlocks): Likewise. - (HAVE_CODE_COMPRESSION): New macro. - (micromips_op_hash): New variable. - (micromips_nop16_insn, micromips_nop32_insn): New variables. - (NOP_INSN): Handle microMIPS ASE. - (mips32_to_micromips_reg_b_map): New macro. - (mips32_to_micromips_reg_c_map): Likewise. - (mips32_to_micromips_reg_d_map): Likewise. - (mips32_to_micromips_reg_e_map): Likewise. - (mips32_to_micromips_reg_f_map): Likewise. - (mips32_to_micromips_reg_g_map): Likewise. - (mips32_to_micromips_reg_l_map): Likewise. - (mips32_to_micromips_reg_n_map): Likewise. - (mips32_to_micromips_reg_h_map): New variable. - (mips32_to_micromips_reg_m_map): Likewise. - (mips32_to_micromips_reg_q_map): Likewise. - (micromips_to_32_reg_h_map): New variable. - (micromips_to_32_reg_i_map): Likewise. - (micromips_to_32_reg_m_map): Likewise. - (micromips_to_32_reg_q_map): Likewise. - (micromips_to_32_reg_b_map): New macro. - (micromips_to_32_reg_c_map): Likewise. - (micromips_to_32_reg_d_map): Likewise. - (micromips_to_32_reg_e_map): Likewise. - (micromips_to_32_reg_f_map): Likewise. - (micromips_to_32_reg_g_map): Likewise. - (micromips_to_32_reg_l_map): Likewise. - (micromips_to_32_reg_n_map): Likewise. - (micromips_imm_b_map, micromips_imm_c_map): New macros. - (RELAX_DELAY_SLOT_16BIT): New macro. - (RELAX_DELAY_SLOT_SIZE_FIRST): Likewise. - (RELAX_DELAY_SLOT_SIZE_SECOND): Likewise. - (RELAX_MICROMIPS_ENCODE, RELAX_MICROMIPS_P): New macros. - (RELAX_MICROMIPS_TYPE, RELAX_MICROMIPS_AT): Likewise. - (RELAX_MICROMIPS_U16BIT, RELAX_MICROMIPS_UNCOND): Likewise. - (RELAX_MICROMIPS_COMPACT, RELAX_MICROMIPS_LINK): Likewise. - (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16): Likewise. - (RELAX_MICROMIPS_MARK_TOOFAR16): Likewise. - (RELAX_MICROMIPS_CLEAR_TOOFAR16): Likewise. - (RELAX_MICROMIPS_TOOFAR32): Likewise. - (RELAX_MICROMIPS_MARK_TOOFAR32): Likewise. - (RELAX_MICROMIPS_CLEAR_TOOFAR32): Likewise. - (INSERT_OPERAND, EXTRACT_OPERAND): Handle microMIPS ASE. - (mips_macro_warning): Add delay_slot_16bit_p, delay_slot_32bit_p, - fsize and insns. - (mips_mark_labels): New function. - (mips16_small, mips16_ext): Remove variables, replacing with... - (forced_insn_size): ... this. - (append_insn, mips16_ip): Update accordingly. - (micromips_insn_length): New function. - (insn_length): Return the length of microMIPS instructions. - (mips_record_mips16_mode): Rename to... - (mips_record_compressed_mode): ... this. Handle microMIPS ASE. - (install_insn): Handle microMIPS ASE. - (reglist_lookup): New function. - (is_size_valid, is_delay_slot_valid): Likewise. - (md_begin): Handle microMIPS ASE. - (md_assemble): Likewise. Update for append_insn interface change. - (micromips_reloc_p): New function. - (got16_reloc_p): Handle microMIPS ASE. - (hi16_reloc_p): Likewise. - (lo16_reloc_p): Likewise. - (jmp_reloc_p): New function. - (jalr_reloc_p): Likewise. - (matching_lo_reloc): Handle microMIPS ASE. - (insn_uses_reg, reg_needs_delay): Likewise. - (mips_move_labels): Likewise. - (mips16_mark_labels): Rename to... - (mips_compressed_mark_labels): ... this. Handle microMIPS ASE. - (gpr_mod_mask): New function. - (gpr_read_mask, gpr_write_mask): Handle microMIPS ASE. - (fpr_read_mask, fpr_write_mask): Likewise. - (insns_between, nops_for_vr4130, nops_for_insn): Likewise. - (fix_loongson2f_nop, fix_loongson2f_jump): Likewise. - (MICROMIPS_LABEL_CHAR): New macro. - (micromips_target_label, micromips_target_name): New variables. - (micromips_label_name, micromips_label_expr): New functions. - (micromips_label_inc, micromips_add_label): Likewise. - (mips_label_is_local): Likewise. - (micromips_map_reloc): Likewise. - (can_swap_branch_p): Handle microMIPS ASE. - (append_insn): Add expansionp argument. Handle microMIPS ASE. - (start_noreorder, end_noreorder): Handle microMIPS ASE. - (macro_start, macro_warning, macro_end): Likewise. - (brk_fmt, cop12_fmt, jalr_fmt, lui_fmt): New variables. - (mem12_fmt, mfhl_fmt, shft_fmt, trap_fmt): Likewise. - (BRK_FMT, COP12_FMT, JALR_FMT, LUI_FMT): New macros. - (MEM12_FMT, MFHL_FMT, SHFT_FMT, TRAP_FMT): Likewise. - (macro_build): Handle microMIPS ASE. Update for append_insn - interface change. - (mips16_macro_build): Update for append_insn interface change. - (macro_build_jalr): Handle microMIPS ASE. - (macro_build_lui): Likewise. Simplify. - (load_register): Handle microMIPS ASE. - (load_address): Likewise. - (move_register): Likewise. - (macro_build_branch_likely): New function. - (macro_build_branch_ccl): Likewise. - (macro_build_branch_rs): Likewise. - (macro_build_branch_rsrt): Likewise. - (macro): Handle microMIPS ASE. - (validate_micromips_insn): New function. - (expr_const_in_range): Likewise. - (mips_ip): Handle microMIPS ASE. - (options): Add OPTION_MICROMIPS and OPTION_NO_MICROMIPS. - (md_longopts): Add mmicromips and mno-micromips. - (md_parse_option): Handle OPTION_MICROMIPS and - OPTION_NO_MICROMIPS. - (mips_after_parse_args): Handle microMIPS ASE. - (md_pcrel_from): Handle microMIPS relocations. - (mips_force_relocation): Likewise. - (md_apply_fix): Likewise. - (mips_align): Handle microMIPS ASE. - (s_mipsset): Likewise. - (s_cpload, s_cpsetup, s_cpreturn): Use relocation wrappers. - (s_dtprel_internal): Likewise. - (s_gpword, s_gpdword): Likewise. - (s_insn): Handle microMIPS ASE. - (s_mips_stab): Likewise. - (relaxed_micromips_32bit_branch_length): New function. - (relaxed_micromips_16bit_branch_length): New function. - (md_estimate_size_before_relax): Handle microMIPS ASE. - (mips_fix_adjustable): Likewise. - (tc_gen_reloc): Handle microMIPS relocations. - (mips_relax_frag): Handle microMIPS ASE. - (md_convert_frag): Likewise. - (mips_frob_file_after_relocs): Likewise. - (mips_elf_final_processing): Likewise. - (mips_nop_opcode): Likewise. - (mips_handle_align): Likewise. - (md_show_usage): Handle microMIPS options. - * symbols.c (TC_LABEL_IS_LOCAL): New macro. - (S_IS_LOCAL): Add a TC_LABEL_IS_LOCAL check. - - * doc/as.texinfo (Target MIPS options): Add -mmicromips and - -mno-micromips. - (-mmicromips, -mno-micromips): New options. - * doc/c-mips.texi (-mmicromips, -mno-micromips): New options. - (MIPS ISA): Document .set micromips and .set nomicromips. - (MIPS insn): Update for microMIPS support. - -2011-07-24 Maciej W. Rozycki <macro@codesourcery.com> - - * config/tc-mips.c (mips_ip): Make a copy of the instruction's - mnemonic and use it for further processing. - -2011-07-24 Maciej W. Rozycki <macro@codesourcery.com> - - * config/tc-mips.c (can_swap_branch_p): Adjust for the rename of - INSN_TRAP to INSN_NO_DELAY_SLOT. Remove the check for INSN_SYNC - as well as explicit checks for ERET and DERET when scheduling - branch delay slots. - -2011-07-22 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (cpu_arch): Add k1om. - (i386_align_code): Handle PROCESSOR_K1OM. - (check_cpu_arch_compatible): Check EM_K1OM. - (i386_arch): Handle Intel K1OM. - (i386_mach): Return bfd_mach_k1om for Intel K1OM. - (i386_target_format): Return ELF_TARGET_K1OM_FORMAT for Intel - K1OM. - - * config/tc-i386.h (ELF_TARGET_K1OM_FORMAT): New. - (processor_type): Add PROCESSOR_K1OM. - - * doc/c-i386.texi: Document k1om. - -2011-07-18 H.J. Lu <hongjiu.lu@intel.com> - - * doc/c-i386.texi: Fix a typo. - -2011-07-06 Aurelien Jarno <aurelien@aurel32.net> - - * config/tc-mips.c (append_insn): delete prev_pinfo2 and pinfo2. - -2011-07-04 Richard Sandiford <rdsandiford@googlemail.com> - - * config/tc-mips.c (gpr_read_mask, gpr_write_mask): Fix handling - of register 0. - -2011-07-04 Maciej W. Rozycki <macro@codesourcery.com> - - * config/tc-mips.c (append_insn): Make sure DWARF-2 location - information is properly adjusted for branches that get swapped. - -2011-07-03 Samuel Thibault <samuel.thibault@gnu.org> - Thomas Schwinge <thomas@schwinge.name> - - PR binutils/12913 - * config/obj-elf.c (obj_elf_type): Use ELFOSABI_GNU name instead of - ELFOSABI_LINUX alias. - * config/tc-ia64.c: Likewise. - -2011-06-30 Paul Carroll <pcarroll@codesourcery.com> - - * config/tc-arm.c (do_t_add_sub): Only allow LSL shifts of less - than 4 in Thumb mode. - -2011-06-30 Nick Clifton <nickc@redhat.com> - - PR gas/12848 - * config/tc-arm.c (BAD_RANGE): New error message define. - (md_apply_fix): Use it. - Fix range check for thumb branch instructions. - -2011-06-29 Richard Sandiford <rdsandiford@googlemail.com> - - * config/tc-mips.c (append_method): New enum. - (can_swap_branch_p, get_append_method): New functions. - (append_insn): Use get_append_method to decide how the instruction - should be added. - -2011-06-29 Richard Sandiford <rdsandiford@googlemail.com> - - * config/tc-mips.c (append_insn): Remove bogus goto. - -2011-06-29 Richard Sandiford <rdsandiford@googlemail.com> - - * config/tc-mips.c (append_insn): Always clear the history after an - unconditional branch. - -2011-06-29 Richard Sandiford <rdsandiford@googlemail.com> - - * config/tc-mips.c (find_altered_mips16_opcode): New function. - (append_insn): Use it. - -2011-06-29 Richard Sandiford <rdsandiford@googlemail.com> - - * config/tc-mips.c (insn_uses_reg): Delete. - (gpr_read_mask, gpr_write_mask): New functions. - (fpr_read_mask, fpr_write_mask): Likewise. - (insns_between, nops_for_vr4130, append_insn): Use them. - -2011-06-29 Richard Sandiford <rdsandiford@googlemail.com> - - * config/tc-mips.c (md_mips_end): Call mips_emit_delays. - -2011-06-29 Dave Martin <dave.martin@linaro.org> - - PR gas/12931 - * config/tc-arm.c (mapping_state): When changing to ARM or THUMB - state set the minimum required alignment of the section. - -2011-06-29 Tristan Gingold <gingold@adacore.com> - - * config/tc-i386.c (i386_mach): Convert to ISO-C. - (md_begin, pe_directive_secrel, md_estimate_size_before_relax): Ditto. - (md_convert_frag, md_apply_fix, md_undefined_symbol): Ditto. - (md_section_align, tc_gen_reloc): Ditto. - -2011-06-28 Tristan Gingold <gingold@adacore.com> - - * config/tc-alpha.c (s_alpha_pdesc): Fix indentation. Do not - generate dummy fix. - -2011-06-28 Tristan Gingold <gingold@adacore.com> - - * config/tc-alpha.c (load_expression): Use alloca instead of xmalloc. - (emit_jsrjmp): Ditto. - (tc_gen_reloc): Ditto. - -2011-06-28 Tristan Gingold <gingold@adacore.com> - - * config/tc-alpha.c (alpha_evax_proc_hash): Remove. - (alpha_evax_proc_data): New variable. - (s_alpha_ent): Prevent nested function. Remove has_insert call. - (s_alpha_pdesc): Do not call demand_empty_rest_of_line in case of - error. Do not search in the hash table. Check if match with .ent. - (s_alpha_name): Remove unused variable. - (md_begin): Remove initialization of alpha_evax_proc_hash. - -2011-06-27 Tristan Gingold <gingold@adacore.com> - - * config/tc-alpha.c (add_to_link_pool): Remove basesym parameter. - Locally declare basesym. Add comments. Do not set literal_pool_size. - (load_expression): Adjust call to add_to_link_pool. - (s_alpha_pdesc): Define pdesc symbol using dot. - Do not set literal_pool_size. - (s_alpha_end): Use NULL instead of 0. - -2011-06-27 Tristan Gingold <gingold@adacore.com> - - * config/obj-evax.c (evax_frob_file_before_adjust): Add comments. - Fix style. - * config/obj-evax.h (struct alpha_linkage_fixups): Remove seg - field. Add comments. - (obj_symbol_type, object_headers, OBJ_SYMFIELD_TYPE): Remove - -2011-06-26 Richard Sandiford <rdsandiford@googlemail.com> - - * config/tc-mips.c (fix_24k_record_store_info): If the previous - instruction was a store, and the next instructions are unknown, - assume the worst. - -2011-06-25 Richard Sandiford <rdsandiford@googlemail.com> - - PR gas/12915 - * config/tc-mips.c (nops_for_vr4130, nops_for_24k, nops_for_insn) - (nops_for_sequence, nops_for_insn_or_target): Add ignore parameters. - (mips_emit_delays, start_noreorder): Update accordingly. - (append_insn): Likewise. Revert original fix for this PR - and use the ignore parameter instead. - -2011-06-24 Tristan Gingold <gingold@adacore.com> - - PR gas/11625 - * config/obj-evax.c (evax_frob_symbol): Use as_bad instead of abort. - -2011-06-24 Tristan Gingold <gingold@adacore.com> - - * config/tc-alpha.c (add_to_link_pool): Remove useless offset - variable. Fix style. - -2011-06-23 Richard Sandiford <rdsandiford@googlemail.com> - - PR gas/12915 - * config/tc-mips.c (append_insn): Only consider hazards between the - pre-noreorder block and ip. - -2011-06-21 Sameera Deshpande <sameera.deshpande@arm.com> - - * config/tc-arm.c (vfp_conv): Add check on range of immediate operand - in vcvt instruction between floating-point and fixed-point. - (operand_parse_code): Add "OP_oI32z". - (parse_operands): OP_oI32z case added. - -2011-06-20 H.J. Lu <hongjiu.lu@intel.com> - - * configure.tgt: Revert x32 change. - -2011-06-20 Nick Clifton <nickc@redhat.com> - - * doc/Makefile.am: (CPU_DOCS): Add c-xstormy16.texi. - * doc/Makefile.in: Regenerate. - * doc/all.texi: Set XSTORMY16. - * doc/c-xstormy16.texi: New file. - -2011-06-19 H.J. Lu <hongjiu.lu@intel.com> - - * configure.tgt: Support x32. - -2011-06-15 Nick Clifton <nickc@redhat.com> - - * NEWS: Mention addition of TILEPRO and TIKE-Gx support. - -2011-06-14 Tristan Gingold <gingold@adacore.com> - - * config/tc-ppc.h (struct ppc_tc_sy): Complete comment on within. - (tc_new_dot_label): Define. - (ppc_new_dot_label): Declare. - * config/tc-ppc.c (ppc_frob_label): Set within target field. - (ppc_fix_adjustable): Use this field to adjust the reloc. - (ppc_new_dot_label): New function. - -2011-06-14 Alan Modra <amodra@gmail.com> - - * po/POTFILES.in: Regenerate. - -2011-06-13 Walter Lee <walt@tilera.com> - - * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tilegx.c and - config/tc-tilepro.c. - (TARGET_CPU_HFILES): Add config/tc-tilegx.h and - config/tc-tilepro.h. - * Makefile.in: Regenerate. - * configure.tgt (tilepro-*-*): New. - (tilegx-*-*): Likewise. - * config/tc-tilegx.c: New file. - * config/tc-tilegx.h: Likewise. - * config/tc-tilepro.h: Likewise. - * config/tc-tilepro.c: Likewise. - * doc/Makefile.am (CPU_DOCS): Add c-tilegx.texi and - c-tilepro.texi. - * doc/Makefile.in: Regenerate. - * doc/all.texi (TILEGX): Define. - (TILEPRO): Define. - * doc/as.texinfo: Add Tile-Gx and TILEPro documentation. Include - c-tilegx.texi and c-tilepro.texi. - * doc/c-tilegx.texi: New. - * doc/c-tilepro.texi: New. - -2011-06-13 Nick Clifton <nickc@redhat.com> - - PR gas/12854 - * config/tc-arm.c (do_shift): Do not allow shift operations at the - end of a register based shift insn. - (do_t_shift): Likewise. - -2011-06-13 Nick Clifton <nickc@redhat.com> - - * config/tc-score.c (s3_my_get_expression): Delete unused local - variable 'seg'. - (s3_do_ldst_insn): Delete unused local variable 'strbak'. - (s3_do16_ldst_insn): Delete unused local variable 'temp'. - (s3_do_macro_bcmp): Zero inst_expand array. - (s3_do_macro_bcmpz): Likewise. - (s3_s_score_end): Delete unused local variable 'dot'. - (s3_gen_reloc): Delete unused local variables 'f', 's', and 'e'. - * config/tc-score7.c (s7_my_get_expression): Delete unused local - variable 'seg'. - (s7_do_ldst_insn): Delete unused local variable 'strbak'. - (s7_b32_relax_to_b16): Delete unused local variables 'r_old' and - 'r_new'. - (s7_s_score_end): Delete unused local variable 'dot'. - (s7_relax_frag): Delete unused local variable 'relax_size'. - (s7_gen_reloc): Delete unused local variables 'f', 's', and 'e'. - -2011-06-10 H.J. Lu <hongjiu.lu@intel.com> - - AVX Programming Reference (June, 2011) - * config/tc-i386.c (i386_error): Add invalid_vsib_address and - unsupported_vector_index_register. - (cpu_arch): Add .avx2, .bmi2, .lzcnt and .invpcid. - (check_VecOperands): New. - (match_template): Call check_VecOperands. Handle - invalid_vsib_address and unsupported_vector_index_register. - (build_modrm_byte): Support VecSIB. Check register-only source - operand when two source operands are swapped. - (i386_index_check): Allow Xmm/Ymm index registers. - - * doc/c-i386.texi: Document avx2/.avx2, bmi2/.bmi2, lzcnt/.lzcnt - and invpcid./invpcid. - -2011-06-09 Nick Clifton <nickc@redhat.com> - - PR gas/12861 - * config/tc-cr16.c (tc_gen_reloc): Remove unused local variable - code. - (check_cinv_options): Remove unused local variables. Make - function void. - (md_assemble): Remove unused local variable. - -2011-06-09 James Greenhalgh <james.greenhalgh@arm.com> - - * config/tc-arm.c (do_ldrd): Warn in unpredictable cases. - -2011-06-03 Arnaud Patard <arnaud.patard@rtp-net.org> - - PR gas/12698 - * config/tc-arm.c (parse_psr): Set m_profile to false when - assembling for any architecture. - -2011-06-02 Jie Zhang jie@codesourcery.com - Nathan Sidwell nathan@codesourcery.com - - * config/tc-arm.c (parse_address_main): Handle -0 offsets. - (encode_arm_addr_mode_2): Set default sign of zero here ... - (encode_arm_addr_mode_3): ... and here. - (encode_arm_cp_address): ... and here. - (md_apply_fix): Use default sign of zero here. - -2011-06-02 Nick Clifton <nickc@redhat.com> - - * as.c: Fix spelling typo. - * read.c: Likewise. - * config/tc-ppc.c: Likewise. - * po/gas.pit: Regenerate. - -2011-05-31 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (arm_cpus): Add Cortex-R5. - (arm_extensions): Allow idiv on ARMv7-R. - * doc/c-arm.text: Update idiv extension restrictions. - -2011-05-31 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (arm_force_relocation): Resolve all pc-relative - loads. - -2011-05-31 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (do_t_branch): Avoid relaxing branches to constant - addresses. - -2011-05-31 Paul Brook <paul@codesourcery.com> - Nathan Sidwell <nathan@codesourcery.com> - - * config/tc-arm.c (fix_new_arm): Create an absolute symbol for - pc-relative fixes to constants. - * config/tc-arm.h (TC_FORCE_RELOCATATION_ABS): Define. - -2011-05-27 Nick Clifton <nickc@redhat.com> - - * config/tc-s390.c (md_begin): Remove unused variable dup_insn. - -2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * config/tc-s390.c (md_gather_operands): Fix check for floating - register pair operands. - -2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * config/tc-s390.c (md_gather_operands): Emit an error for odd - numbered registers used as register pair operand. - -2011-05-23 Nick Clifton <nickc@redhat.com> - - * config/tc-v850.h (TC_FX_SIZE_SLACK): Define. - -2011-05-20 Bernd Schmidt <bernds@codesourcery.com> - - * config/tc-tic6x.c (tic6x_operators): Add "pcr_offset". - (tic6x_parse_name): Handle it. - (tic6x_fix_new_exp): Handle O_pcr_offset. - (tic6x_fix_adjustable): Return 0 for the new relocs. - (md_apply_fix): Handle them. - (tc_gen_reloc): Likewise. - * config/tc-tic6x.h (tic6x_fix_info): Add a fix_subsy member. - -2011-05-18 Nick Clifton <nickc@redhat.com> - - PR gas/12754 - * config/tc-tic30.c (ordinal_names): Allow translation of the - ordinal names. - -2011-05-18 Nick Clifton <nickc@redhat.com> - - * config/tc-arm.c (s_unreq): Reword warning message to make it - easier to translate. - * config/tc-ia64.c (md_show_usage): Add note for translators. - * configure.in (ALL_LINGUAS): Add "fi". - * configure: Regenerate. - -2011-05-18 Tristan Gingold <gingold@adacore.com> - - * config/tc-ppc.h (ppc_tc_sy): Reorder fields. - Put size into an union with dw. - (OBJ_COPY_SYMBOL_ATTRIBUTES): Adjust. - (ppc_xcoff_end): Declare. - (md_end): Define. - * config/tc-ppc.c: Add includes for xcoff. - (ppc_dwsect): New function. - (md_pseudo_table): Add dwsect. - (struct dw_subsection): New. - (dw_sections): New. - (ppc_change_debug_section): New function. - (ppc_xcoff_end): Ditto. - (ppc_function): Adjust for ppc_tc_sy. - (ppc_symbol_new_hook): Ditto. - (ppc_frob_symbol): Ditto. - (ppc_frob_section): Do not set vma for debug sections. - (ppc_fix_adjustable): Return true for debug sections. - * config/obj-coff.c: Add includes for xcoff. - (coff_frob_section): Handle dwarf section. - -2011-05-17 Nick Clifton <nickc@redhat.com> - - * po/fi.po: New Finnish translation. - * po/fr.po: Updated French translation. - - * config/tc-m32r.c (md_show_usage): Fix typos in descriptions. - * config/tc-mt.c (md_assemble): Fix typos in warning messages. - * cond.c (s_else): Fix typos in error messages. - * config/tc-pj.c (md_assemble): Fix typo in error message. - -2011-05-16 Hans-Peter Nilsson <hp@axis.com> - - * config/tc-cris.c (md_parse_option) <OPTION_PIC>: Error if not - emitting ELF object. - (md_show_usage): Only mention --pic if the assembler can generate - ELF objects. - * doc/c-cris.texi (CRIS-Opt): Mention that generating ELF is a - prerequisite for --pic being a valid option. - -2011-05-13 Frederic Marchal <fmarchal@perso.be> - - PR gas/12755 - * config/tc-v850.c (parse_register_list): Correct error string. - -2011-05-12 Quentin Neill <quentin.neill@amd.com> - - * config/tc-i386.c (cpu_arch): Rename PROCESSOR_BDVER1 to PROCESSOR_BD. - (i386_align_code): Ditto - -2011-05-12 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - PR gas/12715 - * config/tc-arm.c (parse_big_immediate): Fix parsing of 64-bit - immediates on 32-bit hosts. - -2011-05-10 Quentin Neill <quentin.neill@amd.com> - - * config/tc-i386.c (cpu_arch): Add bdver2 and rename - PROCESSOR_BDVER1 to PROCESSOR_BDVER. - (i386_align_code): Rename PROCESSOR_BDVER1. - (processor_type): Ditto. - * doc/c-i386.texi: Add bdver2. - -2011-05-10 Alan Modra <amodra@gmail.com> - - * dw2gencfi.c (tc_cfi_endproc): Avoid "set but not used" error. - -2011-05-09 Paul Brook <paul@codesourcery.com> - - * config/tc-tic6x.c (streq): Define. - (tic6x_get_unwind): New. - (s_tic6x_cantunwind, s_tic6x_handlerdata, s_tic6x_endp, - s_tic6x_personalityindex, s_tic6x_personality): New functions. - (md_pseudo_table): Add "endp", "handlerdata", "personalityindex", - "personality" and "cantunwind". - (tic6x_regname_to_dw2regnum, tic6x_frame_initial_instructions, - tic6x_start_unwind_section, tic6x_unwind_frame_regs, - tic6x_pop_rts_offset_little, tic6x_pop_rts_offset_big, - tic6x_unwind_reg_from_dwarf, tic6x_flush_unwind_word, - tic6x_unwind_byte, tic6x_unwind_2byte, tic6x_unwind_uleb, - tic6x_cfi_startproc, output_exidx_entry, tic6x_output_unwinding, - tic6x_cfi_endproc): New. - * config/tc-tic6x.h (TIC6X_NUM_UNWIND_REGS): Define. - (tic6x_unwind_info): New. - (tic6x_segment_info_type): Add marked_pr_dependency, unwind and - text_unwind. - (TARGET_USE_CFIPOP, tc_regname_to_dw2regnum, - tc_cfi_frame_initial_instructions, DWARF2_DEFAULT_RETURN_COLUMN, - DWARF2_CIE_DATA_ALIGNMENT, tc_cfi_startproc, tc_cfi_endproc, - tc_cfi_section_name): Define. - * doc/c-tic6x.texi: Document new unwinding directives. - * dw2gencfi.c (tc_cfi_startproc, tc_cfi_endproc): Add default - definitions. - (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset, CFI_return_column, - CFI_rel_offset, CFI_escape, CFI_signal_frame, CFI_val_encoded_addr): - Move to dw2gencfi.h. - (CFI_EMIT_target): Define. - (dot_cfi_sections): Check tc_cfi_section_name. - (dot_cfi_startproc): Use tc_cfi_startproc. - (dot_cfi_endproc): Use tc_cfi_endproc. - * dw2gencfi.h (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset, - CFI_return_column, CFI_rel_offset, CFI_escape, CFI_signal_frame, - CFI_val_encoded_addr): Move to here from dw2gencfi.c. - -2011-05-07 Alan Modra <amodra@gmail.com> - - * dw2gencfi.c (CUR_SEG, SET_CUR_SEG, HANDLED, SET_HANDLED): Define. - Use throughout in place of #if SUPPORT_FRAME_LINKONCE. - (struct fde_entry): Rename cseg to cur_seg. - (cfi_change_reg_numbers): Remove ATTRIBUTE_UNUSED. - (get_cfi_seg): Likewise. Use if (SUPPORT_FRAME_LINKONCE) rather - that #if SUPPORT_FRAME_LINKONCE. - (cfi_finish): Likewise. - -2011-05-06 Tristan Gingold <gingold@adacore.com> - - * read.c (s_comm_internal): Remove code for OBJ_VMS. - (s_data): Ditto. - (s_text): Ditto. - * write.c (write_object_file): Ditto. - * symbols.c (define_sym_at_dot): Ditto. - (colon): Ditto. - -2011-05-05 Alan Modra <amodra@gmail.com> - - * dw2gencfi.c (SUPPORT_FRAME_LINKONCE): Define. Use throughout - file to conditionally compile code added 2011-04-26. - (cfi_change_reg_numbers): Add ATTRIBUTE_UNUSED on params only used - when SUPPORT_FRAME_LINKONCE. - (get_cfi_seg): Likewise. Reintroduce old code for when not - SUPPORT_FRAME_LINKONCE. - (cfi_finish): Move get_cfi_seg calls out of loop when not - SUPPORT_FRAME_LINKONCE. Avoid unused var warning. - -2011-05-03 Paul Brook <paul@codesourcery.com> - - * config/tc-tic6x.c (s_ehtype): New function. - (md_pseudo_table): Add "ehtype". - (tic6x_fix_adjustable, md_apply_fix): BFD_RELOC_C6000_EHTYPE. - * doc/c-tic6x.texi: Document .ehtype directive. - -2011-04-26 Kai Tietz <ktietz@redhat.com> - - * dw2gencfi.c (dwcfi_seg_list): New struct. - (dwcfi_hash): New static hash variable. - (get_debugseg_name): New. - (alloc_debugseg_item): New. - (make_debug_seg): New. - (dwcfi_hash_insert): New. - (dwcfi_hash_find): New. - (dwcfi_hash_find_or_make): New. - (cfi_insn_data): New member cur_seg. - (cie_entry): Likewise. - (fde_entry): New cseg and handled members. - (alloc_fde_entry): Initialize cseg member. - (alloc_cfi_insn_data): Initialize cur_seg member. - (dot_cfi_sections): Compare for beginning of - section names via strncmp. - (get_cfi_seg): New. - (cfi_finish): Treat link-once sections. - (is_now_linkonce_segment): New local helper. - (output_cie): Ignore cie entries not member of current - segment. - (output_fde): Likewise. - (select_cie_for_fde): Likewise. - (cfi_change_reg_numbers): Add new argument for current segment - and ignore insn elements, if not part of current segment. - * ehopt.c (get_cie_info): Use strncmp for - section name matching. - (heck_eh_frame): Likewise. - -2011-04-20 Catherine Moore <clm@codesourcery.com> - David Ung <davidu@mips.com> - - * config/mips.c (mips_cl_insn): Add new field complete_p. - (create_insn): Initialize complete_p to zero. - (BASE_REG_EQ): New. - (fix_24k_align_to): New. - (fix_24k_store_info): Declare. - (fix_24k_sort): New. - (fix_24k_record_store_info): New. - (nops_for_24k): New. - (nops_for_insn): Call nops_for_24k. - (append_insn): Move O_constant expression handling. - -2011-04-20 Alan Modra <amodra@gmail.com> - - * hash.c (set_gas_hash_table_size): Use bfd_hash_set_default_size. - (hash_new_sized): New function, split out from.. - (hash_new): ..here. - -2011-04-19 Nick Clifton <nickc@redhat.com> - - * config/tc-arm.c (v7m_psrs): Revert previous delta. - -2011-04-18 Julian Brown <julian@codesourcery.com> - Nick Clifton <nickc@redhat.com> - - * config/tc-arm.c (parse_psr): Use selected_cpu not cpu_variant to - detect M-profile targets. - (do_t_swi): Exclude v7 and higher variants from arm_ext_os test. - (v7m_psrs): Fix typo: basepri_max should be basepri_mask. - -2011-04-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * config/tc-s390.c (s390_machine): New prototype. - (md_pseudo_table): New pseudo-op .machine. - (s390_opcode_hash): Initialize to NULL. - (s390_parse_cpu): New function. - (md_parse_option): Use s390_parse_cpu. - (s390_setup_opcodes): New function. - (md_begin): Use s390_setup_opcodes. - (s390_machine): New hook handling the new .machine pseudo. - - * doc/c-s390.texi: Document the new pseudo op .machine. - -2011-04-12 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (i386_mach): Start error message with lower - case. - (md_begin): Likewise. - (md_parse_option): Likewise. - (i386_target_format): Likewise. - (check_byte_reg): Likewise. - (check_long_reg): Likewise. - (check_qword_reg): Likewise. - (check_word_reg): Likewise. - -2011-04-12 Nick Clifton <nickc@redhat.com> - - PR gas/12532 - * config/tc-arm.c (relax_branch): Do not relax branches to - preemptable global symbols. - -2011-04-11 Julian Brown <julian@codesourcery.com> - - * config/tc-arm.c (parse_psr): Add LHS argument. Improve support - for *APSR bitmasks. - (operand_parse_code): Replace OP_PSR with OP_wPSR and OP_rPSR. - Remove OP_RVC_PSR. - (parse_operands): Likewise. - (do_mrs): Tweak error message for constraint. - (do_t_mrs): Update constraints for changes to APSR support. - (do_t_msr): Likewise. Don't set PSR_f flag here. - (psrs): Remove "g", "nzcvq", "nzcvqg". - (insns): Tweak entries for msr and mrs instructions. - -2011-04-11 Kai Tietz <ktietz@redhat.com> - - * config/tc-i386.c (x86_cons): Initialize adjust with zero. - -2011-04-11 Nick Clifton <nickc@redhat.com> - - * config/tc-i386.c (x86_cons): Define even for non-ELF targets. - * config/tc-i386.h (x86_cons): Always prototype. - - * config/tc-cr16.c (getprocregp_image): Fix type of 'r' parameter - in order to avoid a compile time warning. - (getprocreg_image): Likewise. - -2011-04-11 Alan Modra <amodra@gmail.com> - - * config/tc-cr16.c (getprocreg_image): Correct range check. - (getprocregp_image): Likewise. - -2011-04-06 Joseph Myers <joseph@codesourcery.com> - - * configure.tgt (strongarm*be, strongarm*b, strongarm*, - xscale*be|xscale*b, xscale*): Remove architectures. - (thumb-*-coff, thumb-*-rtems*, thumb-*-elf, thumb-epoc-pe, - thumb-*-pe, xscale-*-coff, xscale-*-elf): Remove targets. - -2011-04-01 Tristan Gingold <gingold@adacore.com> - - * config/tc-ia64.c (md_apply_fix): Add a cast to avoid a warning. - -2011-03-31 Bernd Schmidt <bernds@codesourcery.com> - - * config/tc-tic6x.c (sbss_section, scom_section, scom_symbol): New - static variables. - (md_begin): Initialize them. - (s_tic6x_scomm): New static function. - (md_pseudo_table): Add "scomm". - (tc_gen_reloc): Really undo all adjustments made by - bfd_install_relocation. - * doc/c-tic6x.texi: Document the .scomm directive. - -2011-03-31 Tristan Gingold <gingold@adacore.com> - - * dwarf2dbg.c (DWARF2_VERSION): Define. - (out_debug_line): Use it. - (out_debug_aranges): Ditto. - (out_debug_info): Ditto. - * config/tc-ia64.h (DWARF2_VERSION): Override it. - -2011-03-30 Michael Snyder <msnyder@vmware.com> - - * obj-elf.c (obj_elf_section): Free malloced name. - * macro.c (get_any_string): Free malloced br_buf. - (do_formals): Free 'formal'. - -2011-03-30 Tristan Gingold <gingold@adacore.com> - - * config/tc-ppc.c (ppc_frob_symbol): Convert stsym symbols value - to offset only if within is set. - (ppc_stabx): Reformat. For stsym stabs, add a check and set - within only for symbols. - -2011-03-29 Richard Henderson <rth@redhat.com> - - PR 12610 - * config/tc-alpha.c (s_alpha_align): Don't auto-align a previous - label; zap alpha_insn_label. - -2011-03-29 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (handle_quad): Properly handle multiple - operands. - -2011-03-29 Mike Frysinger <vapier@gentoo.org> - - * config/bfin-parse.y (BYTEUNPACK): Return yyerror when dest - reg $2 is the same as dest reg $4. - -2011-03-29 Mike Frysinger <vapier@gentoo.org> - - * config/bfin-parse.y (BYTEOP16M): Return yyerror when dest - reg $2 is the same as dest reg $4. - -2011-03-29 Mike Frysinger <vapier@gentoo.org> - - * config/bfin-parse.y (BYTEOP16P): Return yyerror when dest - reg $2 is the same as dest reg $4. - -2011-03-28 Mike Frysinger <vapier@gentoo.org> - - * config/bfin-parse.y (16bit acc add): Return yyerror when dest - reg $1 is the same as dest reg $7. - -2011-03-28 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (handle_quad): New. - (md_pseudo_table): Add "quad". - -2011-03-26 John Marino <binutils@marino.st> - - * configure.tgt: Fix support for *-*-dragonfly*. - * config/tc-i386.c: define SVR4_COMMENT_CHARS for dragonfly. - * config/te-dragonfly.h: New file. - -2011-03-24 Eric B. Weddington <eric.weddington@atmel.com> - - * config/tc-avr.c (mcu_types): Add new devices: atmega325pa, - atmega3250pa, atmega3290pa, atmega16hvbrevb, atmega32hvbrevb, - at90pwm161. - * doc/c-avr.texi: Document new device names. - -2011-03-24 Mike Frysinger <vapier@gentoo.org> - - * config/bfin-parse.y (dual 32bit add/sub): Return yyerror when dest - reg $1 is the same as dest reg $7. - (quad 16bit add/sub): Return yyerror when dest reg $1 is the same as - dest reg $7. - -2011-03-24 Mike Frysinger <vapier@gentoo.org> - - * config/bfin-parse.y (check_macfuncs): Clarify error message when - P is mismatched. Check destination regno are off by one when P is - set, or are equal when P is not set. - -2011-03-23 Mike Frysinger <vapier@gentoo.org> - - * config/bfin-parse.y (SEARCH): Return yyerror when dest reg $2 is - the same as dest reg $4. - (BITMUX): Return yyerror when dest reg $3 is the same as dest reg $5. - -2011-03-23 Eric B. Weddington <eric.weddington@atmel.com> - - * config/tc-avr.c (mcu_types): Add new xmega devices: atxmega64a1u, - atxmega128a1u, atxmega16x1, atxmega32x1, atxmega128b1, atxmega256a3bu. - * doc/c-avr.texi: Document new device names. - -2011-03-22 Eric B. Weddington <eric.weddington@atmel.com> - - * config/tc-avr.c (struct avr_opcodes_s): Add opcode field. - (AVR_INSN): Change definition to match. - (avr_opcodes): Likewise, change to match. - (mcu_types): Add XMEGA architecture names and new XMEGA device names. - (md_show_usage): Add XMEGA architecture names. - (avr_operand): Add 'E' constraint for DES instruction of XMEGA devices. - Add support for SPM Z+ instruction. - * doc/c-avr.texi: Add documentation for XMEGA architectures and - devices. - -2011-03-21 Eric B. Weddington <eric.weddington@atmel.com> - - * config/tc-avr.c (md_show_usage): Add "Assembler" text to output. - -2011-03-18 Alan Modra <amodra@gmail.com> - - * config/obj-elf.c (elf_frob_symbol): Report S_SET_SIZE symbol - on .size expression errors rather than symbols in the size expression. - -2011-03-18 Alan Modra <amodra@gmail.com> - - * input-scrub.c (line_numberT): Delete. - (input_scrub_close): Reset line counters. - * messages.c (as_show_where): Don't print invalid line number. - (as_warn_internal, as_bad_internal): Likewise. - -2011-03-18 Alan Modra <amodra@gmail.com> - - * read.c (read_a_source_file): Remove md_after_pass_hook. - Move "quit" label before set of dot_symbol. - * config/tc-d10v.h (md_after_pass_hook): Don't define. - * config/tc-d30v.h (md_after_pass_hook): Likewise. - * config/tc-m32r.h (md_after_pass_hook): Likewise. - (md_cleanup): Define to call m32r_fill_insn. - -2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * config/tc-s390.c (md_parse_option): Add -march=all option which - switches to the highest available CPU. - -2011-03-17 Alan Modra <amodra@gmail.com> - - PR 12569 - * expr.c (operand): Correct passing of "mode" to expr. - * read.c (do_org): Allow expr_section. - (get_known_segmented_expression): Don't assert anything about the - segment. - -2011-03-16 H.J. Lu <hongjiu.lu@intel.com> - - * as.c (show_usage): Add --size-check=. - (parse_args): Add and handle OPTION_SIZE_CHECK. - - * as.h (flag_size_check): New. - - * config/obj-elf.c (elf_frob_symbol): Use as_bad to report - bad .size directive only for --size-check=error. - - * doc/as.texinfo: Document --size-check=. - -2011-03-14 Mike Frysinger <vapier@gentoo.org> - - * config/tc-bfin.c (bfin_cpus[]): Add 0.4 for - bf542/bf544/bf547/bf548/bf549. - -2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> - - * config/tc-arm.c (md_pcrel_from_section): Use S_FORCE_RELOC to - determine whether a relocation is needed. - (md_apply_fix, arm_apply_sym_value): Likewise. - -2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> - - * config/tc-arm.c (arm_adjust_symtab): Set the branch type - for Thumb symbols. - -2011-03-11 Nick Clifton <nickc@redhat.com> - - * remap.c (remap_debug_filename): Always allocate a buffer for the - returned pointer. - * stabs.c (stabs_generate_asm_file): Free the pointer returned by - remap_debug_filename. - -2011-03-10 Michael Snyder <msnyder@vmware.com> - - Revert the following change: - * dwarf2dbg.c (out_file_list): Free malloced 'dir'. - (out_debug_info): Free malloced 'dirname' and 'comp_dir'. - -2011-03-10 Alan Modra <amodra@gmail.com> - - * gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS, - TARGET_SYMBOL_FIELDS): Don't define. - * gas/config/tc-arc.c (arc_common): Use correct symbol "local" field. - -2011-03-09 Michael Snyder <msnyder@vmware.com> - - * dwarf2dbg.c (out_file_list): Free malloced 'dir'. - (out_debug_info): Free malloced 'dirname' and 'comp_dir'. - (emit_fixed_inc_line_addr): Assign instead of conditional in - assert. - -2011-03-05 H.J. Lu <hongjiu.lu@intel.com> - - * config/obj-elf.c (elf_frob_symbol): Mention symbol name in - non-constant .size expression. - -2011-03-02 Nick Clifton <nickc@redhat.com> - - * ecoff.c: Incldue filenames.h - -2011-02-28 Kai Tietz <kai.tietz@onevision.com> - - * depend.c (register_dependency): Use filename_(n)cmp. - * dwarf2dbg.c (get_filenum): Likewise. - * ecoff.c (add_file): Likewise. - (ecoff_generate_asm_lineno): Likewise. - * input-scrub.c (new_logical_line_flags): Likewise. - * listing.c (file_info): Likewise. - (listing_newline): Likewise. - * remap.c (remap_debug_filename): Likewise. - * stabs.c (generate_asm_file): Likewise. - (stabs_generate_asm_lineno): Likewise. - -2011-02-28 Maciej W. Rozycki <macro@codesourcery.com> - - * config/tc-mips.c (append_insn): Disable branch relaxation for - DSP instructions. - -2011-02-28 Maciej W. Rozycki <macro@codesourcery.com> - - * config/tc-mips.c (macro): Handle M_PREF_AB. - -2011-02-28 Maciej W. Rozycki <macro@codesourcery.com> - - * config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary - register to use. - (RELAX_BRANCH_UNCOND): Adjust accordingly. - (RELAX_BRANCH_LIKELY): Likewise. - (RELAX_BRANCH_LINK): Likewise. - (RELAX_BRANCH_TOOFAR): Likewise. - (RELAX_BRANCH_AT): New macro. - (append_insn): Encode the temporary register to use in standard - MIPS branch relaxation. - (relaxed_branch_length): Update according to changes to - RELAX_BRANCH_ENCODE. - (md_convert_frag): Use the encoded register as the temporary. - -2011-02-28 Maciej W. Rozycki <macro@codesourcery.com> - - * config/tc-mips.c (mips_fix_adjustable): On REL targets also - reject PC-relative relocations. - -2011-02-28 Maciej W. Rozycki <macro@codesourcery.com> - - * config/tc-mips.c (md_convert_frag): Correct message - capitalization. - -2011-02-28 Alan Modra <amodra@gmail.com> - - * symbols.c (report_op_error): Remove unnecessary forward declaration. - Add "op" parameter. Report operator and operand segments in error - message, not operand symbols. - (resolve_symbol_value): Always set segment for equated symbols, not - just when finalizing. Adjust report_op_error calls. - -2011-02-25 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (reloc): Don't sign-check 4-byte relocations - if 64bit relocations aren't allowed. - -2011-02-25 Alan Modra <amodra@gmail.com> - - PR gas/12519 - * config/obj-elf.c (elf_frob_symbol): Properly handle size expression. - -2011-02-21 Maciej W. Rozycki <macro@codesourcery.com> - - * config/tc-mips.c (mips_ip) <'o'>: Remove duplicate - initialization of offset_reloc. - -2011-02-15 Richard Henderson <rth@redhat.com> - - * dw2gencfi.c (dot_cfi_dummy): New. - (cfi_pseudo_table) [!TARGET_USE_CFIPOP]: New. - * read.c (pobegin): Unconditionally call cfi_pop_insert. - -2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure: Regenerate. - -2011-02-13 Mike Frysinger <vapier@gentoo.org> - - * config/bfin-lex.l (BYTEOP2M): Remove tokenization. - * config/bfin-parse.y (BYTEOP2M): Delete token. - (asm_1): Remove BYTEOP2M insn matching. - -2011-02-12 Mike Frysinger <vapier@gentoo.org> - - * config/bfin-defs.h: Include opcode/bfin.h. - (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH, M_IU): Delete. - -2011-02-11 Mike Frysinger <vapier@gentoo.org> - - * doc/c-bfin.texi (Instruction Delimiting): Fix occur typo. - (Modify Registers): Fix subtracted typo. - (.byte2): Extend and swap descriptions with .byte4. - (.byte4): Extend and swap descriptions with .byte2. - (.db, .dw, .dd): Document behavior. - -2011-02-11 Mike Frysinger <vapier@gentoo.org> - - * config/bfin-parse.y (TESTSET): Reject REG_SP and REG_FP. - -2011-02-11 Alan Modra <amodra@gmail.com> - - * doc/c-ppc.texi (PowerPC-Opts <-nops>): Clarify. - -2011-02-10 Alan Modra <amodra@gmail.com> - - * doc/as.texinfo (Overview): Add missing markup around Blackfin - and PowerPC options. - -2011-02-10 Alan Modra <amodra@gmail.com> - - * config/tc-ppc.c (md_show_usage): Remove -l and -b. Add -K PIC. - * doc/as.texinfo: Refer to and include c-ppc.texi for PowerPC options. - (Overview <Target PowerPC options>): Add a number of missing options. - * doc/c-ppc.texi: Likewise. Add markup for use in manpage generation. - -2011-02-08 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/6957 - * config/tc-i386.c (i386_align_code): Use f32_patt when tuning - for i686. - -2011-02-08 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (set_cpu_arch): Also update cpu_arch_isa_flags - for ISA extensions. - (md_parse_option): Likewise. - -2011-02-04 Bernd Schmidt <bernds@codesourcery.com> - - * doc/as.texinfo (Target TIC6X options): Don't mention "-matomic". - * doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic". - (TIC6X Options): Don't mention "-matomic". - * config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete. - (md_longopts): Remove corresponding entries. - (md_parse_option): Don't handle them. - (md_show_usage): Don't document them. - (tic6x_atomic): Delete variable. - (tic6x_update_features): Always copy tic6x_arch_enable to - tic6x_features. - (tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC. - (s_tic6x_atomic, s_tic6x_noatomic): Remove functions. - (md_pseudo_table): Remove ".atomic" and ".noatomic". - -2011-01-31 Nick Clifton <nickc@redhat.com> - - * write.c (write_contents): Include output file name and bfd error - value when reporting the inability to write to the output file. - * config/tc-rx.c (rx_handle_align): Do not insert NOPs into align - frag that has a non-zero fill value. - -2011-01-27 DJ Delorie <dj@redhat.com> - - * config/tc-rx.c (md_convert_frag): If we can't compute the target - address, zero out the values stored in the object file to make - objdump's output consistent. - -2011-01-26 Kai Tietz <kai.tietz@onevision.com> - - * config/tc-i386.c (md_begin): Set for x64 windows COFF target - x86_dwarf2_return_column to 32. - -2011-01-20 Nick Clifton <nickc@redhat.com> - - PR gas/12384 - * config/tc-h8300.c (constant_fits_width_p): Use correct type for - comparison. - -2011-01-18 H.J. Lu <hongjiu.lu@intel.com> - - * write.c (compress_debug): Return if section size is smaller - than 32 bytes. - -2011-01-18 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/12409 - * write.c (compress_debug): Return if section size is 0. - -2011-01-18 Mingfeng Wu <mingfeng@faraday-tech.com> - - * config/tc-arm.c (arm_cpus): Add Faraday ARMv5TE compatible - cores: fa606te, fa616te, fmp626. Modify the VFP of fa626te. - * doc/c-arm.texi (ARM Options): Add -mcpu={fa606te, fa616te, - fmp626} options. - -2011-01-18 Nick Clifton <nickc@redhat.com> - - PR gas/12390 - * doc/all.texi: Add NS32K - * doc/as.texinfo: Remove target specific details of which - characters act as comment initiators and statement separators into - individual target specific files. - * doc/c-alpha.texi (Alpha-Chars): Document special behaviour of - the hash character at the start of a line. - * doc/c-arm.texi (ARM-Chars): Likewise. - * doc/c-avr.texi (AVR-Chars): Likewise. - * doc/c-d10v.texi (D10V-Chars): Likewise. - * doc/c-d30v.texi (D30V-Chars): Likewise. - * doc/c-mmix.texi (MMIX-Chars): Likewise. - * doc/c-s390.texi (s390 characters): Likewise. - * doc/c-sh.texi (SH-Chars): Likewise. - * doc/c-sh64.texi (SH64-Chars): Likewise. - * doc/c-sparc.texi (SPARC-Chars): Likewise. - * doc/c-tic6x.texi (TIC6X Syntax): Likewise. - * doc/c-xtensa.texi (Xtensa Syntax): Likewise. - * doc/c-z80.texi (Z80-Chars): Likewise. - * doc/c-z8k.texi (Z8000-Chars): Likewise. - * doc/c-pdp11.texi (PDP11-Syntax): Document line separator character. - * doc/c-arc.texi (ARC-Chars): Fill in this subsection. - * doc/c-bfin.texi (Blackfin Syntax): Document line comment and - line separator characters. - * doc/c-cr16.texi (CR16 Syntax): Likewise. - * doc/c-i386.texi (i386-Chars): Likewise. - * doc/c-i860.texi (i860-Chars): Likewise. - * doc/c-i960.texi (i960-Chars): Likewise. - * doc/c-ip2k.texi (IP2K-Chars): Likewise. - * doc/c-lm32.texi (LM32-Chars): likewise. - * doc/c-m32c.texi (M32C-Chars): Likewise. - * doc/c-m68hc11.texi (M68HC11-syntax): Likewise. - * doc/c-m68k.texi (M68K-Chars): Likewise. - * doc/c-microblaze.texi (MicroBlaze-Chars): Likewise. - * doc/c-msp430.texi (MSP430-Chars): Likewise. - * doc/c-mt.texi (MT-Chars): Likewise. - * doc/c-ns32k.texi (NS32K-Chars): Likewise. - * doc/c-pj.texi (PJ-Chars): Likewise. - * doc/c-ppc.texi (PowerPC-Chars): Likewise. - * doc/c-rx.texi (RX-Chars): Likewise. - * doc/c-score.texi (SCORE-Chars): Likewise. - * doc/c-tic54x.texi (TIC54X-Chars): Likewise. - * doc/c-v850.texi (V850-Chars): Likewise. - * doc/c-vax.texi (VAX-Chars): Likewise. - * doc/c-xc16x.texi (xc16x-Chars): Likewise. - -2011-01-17 Quentin Neill <quentin.neill@amd.com> - - * config/tc-i386.c (cpu_arch): Add CPU_TBM_FLAGS. - - * doc/c-i386.texi (i386-TBM): New section. - -2011-01-16 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (disallow_64bit_disp): Renamed to ... - (disallow_64bit_reloc): This. - (md_assemble): Don't check movabs for x32 mode here. - (i386_target_format): Updated. - (tc_gen_reloc): Check if 64bit relocations are allowed. - -2011-01-15 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (disallow_64bit_disp): New. - (x86_elf_abi): Replace X86_64_LP64_ABI/X86_64_ILP32_ABI with - X86_64_ABI/X86_64_X32_ABI. - (md_assemble): Don't allow movabs with relocation in x32 mode. - (i386_target_format): Updated. - -2011-01-14 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (OPTION_N32): Renamed to ... - (OPTION_X32): This. - (md_longopts): Replace n32 with x32. - (md_parse_option): Updated. - (md_show_usage): Likewise. - - * doc/c-i386.texi: Replace --n32 with --x32. - -2011-01-11 Mingjie Xing <mingjie.xing@gmail.com> - - * config/tc-mips.c (mips_ip): Update error messages. Take an - unadjusted offset for "+c" argument. - -2011-01-10 Nick Clifton <nickc@redhat.com> - - * config/tc-i386.c (x86_elf_abi): Only define for targets that use - it. - -2011-01-10 Nick Clifton <nickc@redhat.com> - - * config/tc-arm.c (s_arm_tls_desceq): Move code into ELF-only - part of the file. - -2011-01-10 Nathan Sidwell <nathan@codesourcery.com> - Glauber de Oliveira Costa <glommer@gmail.com> - - * doc/c-arm.texi: Document TLSDESC and TLSCALL relocations, and - .tlsdescseq directive. - * config/tc-arm.c (arm_typed_reg_parse): Check for potential reloc - following a symbol. - (s_arm_tls_descseq): New directive. - (md_pseudo_table): Add it. - (encode_branch): Allow TLS_CALL relocs too. - (do_t_blx, do_t_branch23): Use encode_branch. - (reloc_names): Add tlsdesc and tlscall. - (md_apply_fix): Process tls desc relocations. - (tc_gen_reloc): Likewise. - (arm_fix_adjustable): Likewise. - -2011-01-07 Quentin Neill <quentin.neill@amd.com> - - * config/tc-i386.c (cpu_arch): Add CPU_BMI_FLAGS. - - * doc/c-i386.texi (i386-BMI): New section. - -2011-01-06 Paul Koning <ni1d@arrl.net> - - * config/tc-pdp11.c (parse_op_no_deferred): Allow PC-relative - references to absolute addresses. - -2011-01-05 DJ Delorie <dj@redhat.com> - - * config/tc-rx.c (tc_gen_reloc): Emit an RX_OP_NEG expression - instead of an RH_NEG32 one. - -2011-01-05 Jonathan Wakely <jwakely.gcc@gmail.com> - - * doc/c-i386.texi: Clarify --n32. - -2011-01-04 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (build_modrm_byte): Allow encoding 32/64bit - integer registers in VEX.vvvv. Check register-only source - operand when two source operands are swapped. Properly update - destination when two source operands are swapped. - -2011-01-01 H.J. Lu <hongjiu.lu@intel.com> - - * gas.c (parse_args): Update copyright to 2011. - -For older changes see ChangeLog-2010 +For older changes see ChangeLog-2011 Local Variables: mode: change-log diff --git a/gas/ChangeLog-2011 b/gas/ChangeLog-2011 new file mode 100644 index 0000000..26e4fc5 --- /dev/null +++ b/gas/ChangeLog-2011 @@ -0,0 +1,2091 @@ +2011-12-29 Iain Sandoe <idsandoe@googlemail.com> + + * as.c (perform_an_assembly_pass): Do not create text, data and bss + sections for MACH-O. Do not switch to the text section. + * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Forward decl. + (mach_o_begin): Startup with only text section unless suppressed. + * config/obj-macho.h (obj_begin): define to mach_o_begin (). + +2011-12-22 DJ Delorie <dj@redhat.com> + + * config/rl78-defs.h (rl78_linkrelax_addr16): Add. + (rl78_linkrelax_dsp, rl78_linkrelax_imm): Remove. + * config/rl78-parse.y: Tag all addr16 and branch patterns with + relaxation markers. + * config/tc-rl78.c (rl78_linkrelax_addr16): New. + (rl78_linkrelax_branch): New. + (OPTION_RELAX): New. + (md_longopts): Add relax option. + (md_parse_option): Add OPTION_RELAX. + (rl78_frag_init): Support relaxation. + (rl78_handle_align): New. + (md_assemble): Support relaxation. + (md_apply_fix): Likewise. + (md_convert_frag): Likewise. + * config/tc-rl78.h (MAX_MEM_FOR_RS_ALIGN_CODE): New. + (HANDLE_ALIGN): New. + (rl78_handle_align): Declare. + + * config/rl78-parse.y (rl78_bit_insn): New. Set it for all bit + insn patterns. + (find_bit_index): New. Strip .BIT suffix off relevent + expressions for bit insns. + (rl78_lex): Exclude bit suffixes from expression parsing. + +2011-12-21 Nick Clifton <nickc@redhat.com> + + PR gas/13449 + * config/tc-arm.c (create_unwind_entry): Zero allocated table + entries. + +2011-12-19 Iain Sandoe <idsandoe@googlemail.com> + + * config/obj-macho.c (obj_mach_o_section): Account for target- + dependent section types. Improve error handling when wrong section + types/attributes are specified. + +2011-12-19 Chung-Lin Tang <cltang@codesourcery.com> + + * config/tc-mips.c (mips_pseudo_table): Add tprelword/tpreldword + entries. + (mips16_percent_op): Add MIPS16 TLS relocation ops. + (md_apply_fix): Add BFD_RELOC_MIPS16_TLS_* switch cases. + (s_tls_rel_directive): Rename from s_dtprel_internal(). Abstract out + directive string and reloc type as function parameters. Update + comments. + (s_dtprelword,s_dtpreldword): Change to use s_tls_rel_directive(). + (s_tprelword,s_tpreldword): New functions. + +2011-12-15 Tristan Gingold <gingold@adacore.com> + + * config/obj-macho.c (obj_mach_o_fileprop): Fix typo. + +2011-12-15 Konstantin Belousov <kib@FreeBSD.org> + + * config/obj-elf.c (obj_elf_type): Add ELFOSABI_FREEBSD to the + supported abi's. + +2011-12-15 Iain Sandoe <iains@gcc.gnu.org> + + * config/obj-macho.c (obj_mach_o_subsections_by_symbols): New global. + (obj_mach_o_file_properties): New enum. + (obj_mach_o_subsections_via_symbols): Generalize name to... + ... (obj_mach_o_fileprop) and use to set subsections_via_symbols. + +2011-12-14 Stuart Henderson <shenders@gcc.gnu.org> + + * config/bfin-parse.y (asm_1): set SRCx fields to all 1s for + dspalu32 instrs that don't use them. + +2011-12-14 Nick Clifton <nickc@redhat.com> + + * config/tc-cris.c (md_convert_frag): Mark the length_code local + variable as unused as it is only used when ENABLE_CHECKING is on. + +2011-12-14 Iain Sandoe <iains@gcc.gnu.org> + + * config/obj-macho.c: Add some more top-level comments. + (collect_16char_name): New. + (obj_mach_o_section): Amend to allow syntax compatible with + existing system tools. Use section translation data when available. + (obj_mach_o_segT_from_bfd_name): New. + (known_sections): Update. + (obj_mach_o_known_section): Use obj_mach_o_segT_from_bfd_name. + (objc_sections): New. + (obj_mach_o_objc_section): New. + (debug_sections): New. + (obj_mach_o_debug_section): New. + (tgt_sections): New. + (obj_mach_o_opt_tgt_section): New. + (obj_mach_o_base_section): New. + (obj_mach_o_common_parse): Update to create BSS on demand and to handle + lcomm optional alignment param. + (obj_mach_o_comm): Update parameter name. + (obj_mach_o_placeholder): New. + (mach_o_pseudo_table): Update for GCC section directives. + * config/obj-macho.h (_OBJ_MACH_O_H): New. + (USE_ALIGN_PTWO): Define. + (S_SET_ALIGN) Define. + +2011-12-13 Andrew Burgess <aburgess@broadcom.com> + + * doc/internals.texi (TC_FORCE_RELOCATION_SUB_SAME): Update + to match code. + +2011-12-08 Andrew Pinski <apinski@cavium.com> + Adam Nemet <anemet@caviumnetworks.com> + + * tc-mips.c (CPU_IS_OCTEON): Add Octeon2. + (mips_cpu_info_table): Add Octeon2. + * doc/c-mips.texi: Document octeon2 as an acceptable value for -march=. + +2011-12-07 Sameera Deshpande <sameera.deshpande@arm.com> + + * config/tc-arm.c (do_t_ldstd): Warn for unpredictable cases. + +2011-11-07 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * config/tc-arm.c (ARM_IT_MAX_OPERANDS): New define. + (arm_it): Use ARM_IT_MAX_OPERANDS. + (neon_select_shape): Ensure we have matched all operands. + +2011-11-07 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * config/tc-arm.c (parse_neon_mov): Update which_operand + correctly. + +2011-12-05 Richard Earnshaw <rearnsha@arm.com> + + * tc-arm.c (aeabi_set_public_attributes): Correctly set + Tag_ARM_ISA_use and Tag_Thumb_ISA_use. + +2011-11-30 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * config/tc-arm.c (arm_cpu_option_table): Add name_len field. + (arm_arch_option_table): Likewise. + (arm_option_extension_value_table): Likewise. + (ARM_CPU_OPT): New define. + (ARM_ARCH_OPT): Likewise. + (ARM_EXT_OPT): Likewise. + (arm_cpus): Use ARM_CPU_OPT to initialize. + (arm_archs): Use ARM_ARCH_OPT to initialize. + (arm_extensions): Use ARM_EXT_OPT to initialize. + (arm_parse_extension): Ensure option string matching matches + the whole string. + (arm_parse_cpu): Likewise. + (arm_parse_arch): Likewise. + +2011-11-29 Andrew Pinski <apinski@cavium.com> + + * config/tc-mips.c (CPU_IS_OCTEON): New macro function. + (CPU_HAS_SEQ): Change to use CPU_IS_OCTEON. + (NO_ISA_COP): Likewise. + (macro) <ld_st>: Add support when off0 is true. + Add support for M_SAA_AB, M_SAA_OB, M_SAAD_OB and M_SAAD_AB. + (mips_cpu_info_table): Add octeon+. + * doc/c-mips.texi: Document octeon+ as an acceptable value for -march=. + +2011-11-25 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * config/tc-arm.c (do_t_mov_cmp): Allow MOV lowreg, lowreg when no CPU + is specified. + +2011-11-23 Tristan Gingold <gingold@adacore.com> + + * config/tc-alpha.c (s_alpha_prologue): Requires empty line. + +2011-11-23 Tristan Gingold <gingold@adacore.com> + + * config/tc-alpha.c (s_alpha_frame): Emit a warning if bad value + of RA. + (s_alpha_pdesc): Adjust comment. + +2011-11-23 Thomas Klein <th.r.klein@web.de> + + * config/tc-arm.c (do_t_mov_cmp): Prevent emitting code for MOV + with two low register at arch v4t or v5t when assember using + unified syntax. + +2011-11-21 DJ Delorie <dj@redhat.com> + + * config/rl78-defs.h (rl78_error): Add "const". + * config/rl78-parse.y (rl78_error): Likewise. + +2011-11-21 Andreas Tobler <andreast@fgznet.ch> + + * config/tc-ppc.c (ppc_target_format): Add format for powerpc*-freebsd. + +2011-11-16 David S. Miller <davem@davemloft.net> + + * config/tc-sparc.c (md_apply_fix): Handle BFD_RELOC_8. + +2011-11-16 Maciej W. Rozycki <macro@codesourcery.com> + + * config/tc-mips.c (macro): Fix unsupported opcode message + capitalization. + (mips_ip, mips16_ip): Likewise. + +2011-11-16 Maciej W. Rozycki <macro@codesourcery.com> + + * config/tc-mips.c (ISA_SUPPORTS_MCU_ASE): Also set if microMIPS + mode. + +2011-11-16 Maciej W. Rozycki <macro@codesourcery.com> + + * config/tc-mips.c (macro_build_jalr): Reverse a negative + conditional. + (mips_ip): Likewise. + +2011-11-16 Catherine Moore <clm@codesourcery.com> + Maciej W. Rozycki <macro@codesourcery.com> + + * config/tc-mips.c (mips_cpu_info_table): Add "m14ke" and + "m14kec". + * doc/c-mips.texi (MIPS architecture options): Add "m14ke" and + "m14kec" to the list of -march options. + +2011-11-15 Maciej W. Rozycki <macro@codesourcery.com> + + * write.c (dump_section_relocs): Don't convert PC-relative relocs + that have an in-place addend narrower than the addresses used. + +2011-11-14 Maciej W. Rozycki <macro@codesourcery.com> + + * config/tc-mips.c (can_swap_branch_p): Exclude microMIPS + variant frags too. + +2011-11-07 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * config/tc-arm.c (arm_cpus): Add cortex-a7 entry. + * doc/c-arm.texi (ARM Options): Add cortex-a7 to list of accepted + CPUs. + +2011-11-04 DJ Delorie <dj@redhat.com> + + * doc/c-rl78.texi (RL78-Float): Remove unused menu entry. + +2011-11-02 DJ Delorie <dj@redhat.com> + + * config/tc-rl78.c (tc_gen_reloc): Remove unused variable. + +2011-11-02 Nick Clifton <nickc@redhat.com> + + * config/tc-arm.c (md_begin): Remove ARM_PLT32 reloc associated + with the (PLT) instruction suffix when operating in eabi mode. + * doc/c-arm.texi (ARM_Relocations): Extend description of (PLT) + suffix. + +2011-11-01 DJ Delorie <dj@redhat.com> + + * Makefile.am (TARGET_CPU_CFILES): Add tc-rl78.c. + (TARGET_CPU_HFILES): Add rc-rl78.h. + (EXTRA_DIST): Add rl78-parse.c and rl78-parse.y. + (rl78-parse.c, rl78-parse.h, rl78-parse.o, rl78-defs.h): New rules. + * Makefile.in: Regenerate. + * configure.in: Add rl78 case. + * configure: Regenerate. + * configure.tgt: Add rl78 case. + * config/rl78-defs.h: New file. + * config/rl78-parse.y: New file. + * config/tc-rl78.c: New file. + * config/tc-rl78.h: New file. + * NEWS: Add Renesas RL78. + + * doc/Makefile.am (c-rl78.texi): New. + * doc/Makefile.in: Likewise. + * doc/all.texi: Enable it. + * doc/as.texi: Add it. + * doc/c-rl78.texi: New file. + +2011-10-28 Walter Lee <walt@tilera.com> + + * NEWS: Fix TILEPro capitalization. + * config/tc-tilegx.c (emit_tilegx_instruction) Handle + relocations of aliases. + * config/tc-tilepro.c: (emit_tilepro_instruction) Likewise. + +2011-10-28 Nick Clifton <nickc@redhat.com> + + * po/ja.po: New Japanese translation. + * configure.in (ALL_LINGUAS): Add ja. + * configure: Regenerate. + +2011-10-26 Joern Rennecke <joern.rennecke@embecosm.com> + + * doc/as.texinfo [EPIPHANY]: Include c-epiphany.texi to avoid + duplication. + +2011-10-25 Mike Frysinger <vapier@gentoo.org> + + * config/rx-defs.h (rx_error): Add const to first arg. + * config/rx-parse.y (rx_error): Likewise. + +2011-10-25 Nick Clifton <nickc@redhat.com> + + * config/tc-ns32k.c (md_begin): Rename local variable 'stat' to + 'status'. + +2011-10-25 Joern Rennecke <joern.rennecke@embecosm.com> + + * NEWS: Mention addition of Adapteva Epiphany support. + * config/tc-epiphany.c: New file. + * config/tc-epiphany.h: New file. + * Makefile.am (TARGET_CPU_CFILES): Add config/tc-epiphany.c . + (TARGET_CPU_HFILES): Add config/tc-epiphany.h . + * configure.in: Also set using_cgen for epiphany. + * configure.tgt: Handle epiphany. + * doc/Makefile.am (CPU_DOCS): Add c-epiphany.texi . + * doc/all.texi: Set EPIPHANY. + * doc/as.texinfo: Add EPIPHANY-specific text. + * doc/c-epiphany.texi: New file. + * po/gas.pot: Regenerate. + * Makefile.in: Regenerate. + * configure: Regenerate. + * doc/Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2011-10-24 Maciej W. Rozycki <macro@codesourcery.com> + + * config/tc-mips.c (move_register): Fix formatting. + +2011-10-24 Maciej W. Rozycki <macro@codesourcery.com> + + * config/tc-mips.c (can_swap_branch_p): Remove empty line. + (start_noreorder): Likewise. + +2011-10-24 Maciej W. Rozycki <macro@codesourcery.com> + + * config/tc-mips.c (s_option): Fix formatting. + (mips_elf_final_processing): Likewise. + +2011-10-24 Maciej W. Rozycki <macro@codesourcery.com> + + * config/tc-mips.c (validate_micromips_insn): Fix formatting. + +2011-10-24 David Binderman <dcb314@hotmail.com> + + * config/tc-mn10200.c (md_convert_frag): Add missing break. + +2011-10-21 Tristan Gingold <gingold@adacore.com> + + * config/tc-alpha.c (load_expression): Use symbol_mark_used accessor. + (s_alpha_comm): Use symbol_set_frag accessor. + +2011-10-20 Alan Modra <amodra@gmail.com> + + * config/tc-mips.c (micromips_add_label): Avoid gcc warning. + (md_convert_frag): Likewise. + +2011-10-18 Jie Zhang <jie@codesourcery.com> + Julian Brown <julian@codesourcery.com> + + * config/tc-arm.c (parse_shifter_operand): Fix handling of explicit + rotation. + (encode_arm_shifter_operand): Likewise. + +2011-10-13 James Greenhalgh <james.greenhalgh@arm.com> + + * config/tc-arm.c (check_ldr_r15_aligned): New. + (do_ldst): Warn in upredictable cases. + (do_t_ldst): Likewise. + (insns): Update accordingly. + +2011-10-13 Alan Modra <amodra@gmail.com> + + * as.c (main): Define .gasversion. rather than __GAS_VERSION__. + * frags.h (bss_address_frag): Delete + (predefined_address_frag): New. + * frags.c (frag_init): Init predefined_address_frag. Delete ref + to bss_address_frag. + * symbols.c (S_CAN_BE_REDEFINED): New function. + * symbols.h (S_CAN_BE_REDEFINED): Declare. + * read.c (assign_symbol): Use S_CAN_BE_REDEFINED. + +2011-10-12 Alan Modra <amodra@gmail.com> + + * symbols.c (local_symbol_make): Make global. + * symbols.h (local_symbol_make): Declare. + * as.c (main): Define __GAS_VERSION__. + +2011-10-10 Nick Clifton <nickc@redhat.com> + + * po/es.po: Updated Spanish translation. + * po/fi.po: Updated Finnish translation. + * po/fr.po: Updated French translation. + +2011-10-05 DJ Delorie <dj@redhat.com> + Nick Clifton <nickc@redhat.com> + + * config/rx-defs.h (rx_pid_register): New. + (rx_gp_register): New. + * config/rx-parse.y (rx_lex): Add support for %gpreg and %pidreg. + (displacement): Add PID support. + * config/tc-rx.c (rx_pid_mode): New. + (rx_num_int_regs): New. + (rx_pid_register): New. + (rx_gp_register): New. + (options): Add -mpid and -mint-register= options. + (md_longopts): Likewise. + (md_parse_option): Likewise. + (md_show_usage): Likewise. + (rx_pid_symbol): New. + (rx_pidreg_symbol): New. + (rx_gpreg_symbol): New. + (md_begin): Support PID. + (rx_validate_fix_sub): Support PID. + (tc_gen_reloc): Support PID. + * doc/c-rx.texi: Document PID support. + +2011-09-27 Kai Tietz <ktietz@redhat.com> + + * config/obj-coff.c (obj_coff_section): Add 'e' as specifier + for marking section SEC_EXCLUDE. + +2011-09-22 Tristan Gingold <gingold@adacore.com> + + * NEWS: Add marker for 2.22. + +2011-09-21 David S. Miller <davem@davemloft.net> + + * config/tc-sparc.c (hwcap_allowed): New. + (struct sparc_arch): New field 'hwcap_allowed' containing a bitmask + of F_FOO flags which are enabled by the particular arch setting. + Add new options that provide explicit access to new instructions. + (md_parse_option): Only bump max_architecture if the requested one + is larger, or this is the first explicit request. + (get_hwcap_name): New function. + (sparc_ip): Validate that hwcaps used by an instruction have actually + been enabled. + * doc/c-sparc.texi: Document new sparc options. + +2011-09-21 David S. Miller <davem@davemloft.net> + + * config/tc-sparc.c (hwcap_seen): New bitmask, defined when + not TE_SOLARIS. + (sparc_ip): When not TE_SOLARIS, accumulate hwcap bits from + sparc_opcode->flags of instruction into hwcap_seen. + (sparc_md_end): Create Tag_GNU_Sparc_HWCAPS attribute if + hwcap_seen is non-zero and not TE_SOLARIS. + +2011-09-19 Tristan Gingold <gingold@adacore.com> + + * config/tc-alpha.c (insert_operand): Call as_bad_value_out_of_range + instead of as_warn_out_of_range. + +2011-09-08 Mark Fortescue <mark@mtfhpc.demon.co.uk> + + * config/tc-sparc.c (sparc_ip): Handle 'i' + r<0..31> + in addition to 'i' + [goli]<0..7>. + +2011-09-08 Joern Rennecke <joern.rennecke@embecosm.com> + + * cgen.c (gas_cgen_pcrel_r_type): New function. + (gas_cgen_tc_gen_reloc): Check for GAS_CGEN_PCREL_R_TYPE. + * cgen.h (gas_cgen_pcrel_r_type): Declare. + +2011-09-08 Richard Sandiford <rdsandiford@googlemail.com> + + PR gas/13167 + * dwarf2dbg.c (dwarf2_flush_pending_lines): Use symbol_temp_new_now. + +2011-09-05 Richard Sandiford <rdsandiford@googlemail.com> + + PR gas/13024 + * dwarf2dbg.c (pending_lines, pending_lines_tail): New variables. + (dwarf2_gen_line_info_1): Delete. + (dwarf2_push_line, dwarf2_flush_pending_lines): New functions. + (dwarf2_gen_line_info, dwarf2_emit_label): Use them. + (dwarf2_consume_line_info): Call dwarf2_flush_pending_lines. + (dwarf2_directive_loc): Push previous .locs instead of generating + them immediately. + +2011-08-26 Nick Clifton <nickc@redhat.com> + + * po/es.po: Updated Spanish translation. + +2011-08-26 Tristan Gingold <gingold@adacore.com> + + * config/tc-alpha.c (s_alpha_linkage): Simplify. Add comments. + +2011-08-26 Tristan Gingold <gingold@adacore.com> + + * config/tc-alpha.c (add_to_link_pool): Improve comment. + (s_alpha_fp_save): Fix indentation. + +2011-08-19 Nick Clifton <nickc@redhat.com> + + * doc/as.texinfo: Include c-xstormy16.texi. + +2011-08-18 Alan Modra <amodra@gmail.com> + + * write.c (resolve_reloc_expr_symbols): Convert local symbols + on relocs to section+offset. + (get_frag_for_reloc): New function. + (write_relocs): Merge sort fixup relocs with those from .reloc + directives. + +2011-08-10 Maciej W. Rozycki <macro@codesourcery.com> + + * config/tc-mips.c (can_swap_branch_p): Update the comment on + MIPS16 fixups. + +2011-08-09 Chao-ying Fu <fu@mips.com> + Daniel Jacobowitz <dan@codesourcery.com> + + * config/tc-mips.c (mips_cpu_info_table): Add "m14k" and + "m14kc". + * doc/c-mips.texi (MIPS architecture options): Add "m14k" and + "m14kc" to the list of -march options. + +2011-08-09 Chao-ying Fu <fu@mips.com> + Maciej W. Rozycki <macro@codesourcery.com> + + * config/tc-mips.c (mips_set_options): Add ase_mcu. + (mips_opts): Initialise ase_mcu to -1. + (ISA_SUPPORTS_MCU_ASE): New macro. + (MIPS_CPU_ASE_MCU): Likewise. + (is_opcode_valid): Handle MCU. + (macro_build, macro): Likewise. + (validate_mips_insn, validate_micromips_insn): Likewise. + (mips_ip): Likewise. + (options): Add OPTION_MCU and OPTION_NO_MCU. + (md_longopts): Add mmcu and mno-mcu. + (md_parse_option): Handle OPTION_MCU and OPTION_NO_MCU. + (mips_after_parse_args): Handle MCU. + (s_mipsset): Likewise. + (md_show_usage): Handle MCU options. + + * doc/as.texinfo: Document -mmcu and -mno-mcu options. + * doc/c-mips.texi: Likewise, and document ".set mcu" and + ".set nomcu" directives. + +2011-08-09 Maciej W. Rozycki <macro@codesourcery.com> + + * config/tc-mips.c (gpr_mod_mask): Remove INSN2_MOD_GPR_MB, + INSN2_MOD_GPR_MC, INSN2_MOD_GPR_ME, INSN2_MOD_GPR_MG, + INSN2_MOD_GPR_MHI, INSN2_MOD_GPR_MJ, INSN2_MOD_GPR_MM, + INSN2_MOD_GPR_MN, INSN2_MOD_GPR_MP and INSN2_MOD_GPR_MQ opcode + register use checks. + (gpr_read_mask): Add INSN2_READ_GPR_MC, INSN2_READ_GPR_ME + INSN2_READ_GPR_MG, INSN2_READ_GPR_MJ, INSN2_READ_GPR_MMN, + INSN2_READ_GPR_MP and INSN2_READ_GPR_MQ opcode register use + checks. + (gpr_write_mask): Replace INSN2_WRITE_GPR_S opcode register + use flag with INSN_WRITE_GPR_S. Add INSN2_WRITE_GPR_MB, + INSN2_WRITE_GPR_MHI, INSN2_WRITE_GPR_MJ and INSN2_WRITE_GPR_MP + opcode register use checks. + (can_swap_branch_p): Enable microMIPS branch swapping. + (append_insn): Likewise. + +2011-08-09 Maciej W. Rozycki <macro@codesourcery.com> + + * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Remove forced 16-bit + branch size information. + (RELAX_MICROMIPS_U16BIT): Remove macro. + (RELAX_MICROMIPS_UNCOND): Adjust accordingly. + (RELAX_MICROMIPS_COMPACT, RELAX_MICROMIPS_LINK): Likewise. + (RELAX_MICROMIPS_RELAX32): Likewise. + (RELAX_MICROMIPS_TOOFAR16): Likewise. + (RELAX_MICROMIPS_MARK_TOOFAR16): Likewise. + (RELAX_MICROMIPS_CLEAR_TOOFAR16): Likewise. + (RELAX_MICROMIPS_TOOFAR32): Likewise. + (RELAX_MICROMIPS_MARK_TOOFAR32): Likewise. + (RELAX_MICROMIPS_CLEAR_TOOFAR32): Likewise. + (append_insn): Always check forced_insn_length for microMIPS + relaxation. Adjust code for the removal of + RELAX_MICROMIPS_U16BIT. + (mips_ip) <'D', 'E'>: If forced_insn_length, then emit the + relocation straight away. + (relaxed_micromips_16bit_branch_length): Adjust code for the + removal of RELAX_MICROMIPS_U16BIT. + +2011-08-08 Tristan Gingold <gingold@adacore.com> + + * config/obj-macho.c (obj_mach_o_section): New function. + (struct known_section): New type. + (known_sections): Declare. + (obj_mach_o_known_section): New function. + (obj_mach_o_common_parse): Ditto. + (obj_mach_o_comm): Ditto. + (obj_mach_o_subsections_via_symbols): Ditto. + (mach_o_pseudo_table): Add new pseudos. + +2011-08-06 Richard Henderson <rth@redhat.com> + + * dw2gencfi.c (all_fde_data): Export. + * dw2gencfi.h (all_fde_data): Declare. + * config/tc-alpha.c (alpha_elf_md_end): Don't convert legacy unwind + info to cfi unwind info if the user already has supplied some. + +2011-08-06 Richard Sandiford <rdsandiford@googlemail.com> + + * config/tc-mips.c (emit_nop): Delete. + (get_delay_slot_nop): New function. + (nops_for_insn_or_target): Use it. + (append_insn): Likewise. When avoiding hazards, call add_fixed_insn + and insert_into_history directly. + +2011-08-06 Richard Sandiford <rdsandiford@googlemail.com> + + * config/tc-mips.c (delayed_branch_p, compact_branch_p) + (uncond_branch_p, branch_likely_p): New functions. + (insns_between, nops_for_insn_or_target, append_insn) + (macro_start): Use them. + (get_append_method): Likewise. Remove redundant test. + +2011-08-05 David S. Miller <davem@davemloft.net> + + * config/tc-sparc.c (v9a_asr_table): Add "cps". + (sparc_ip): Handle '4', '5' and '(' format codes. + +2011-08-04 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/13056 + * output-file.c (output_file_close): Call bfd_cache_close_all + on error. + + * write.c (write_object_file): Revert the last change. + +2011-08-04 Alan Modra <amodra@gmail.com> + + * write.c (write_object_file): Call set_symtab even if we had + errors. + +2011-08-04 Tristan Gingold <gingold@adacore.com> + + * config/obj-elf.c (obj_elf_section): Do not free name. + +2011-08-03 James Greenhalgh <james.greenhalgh@arm.com> + + * config/tc-arm.c (do_t_strexbh): New. + (insns): Update accordingly. + +2011-08-01 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/13048 + * config/tc-i386.c (handle_quad): Removed. + (md_pseudo_table): Remove "quad". + (tc_gen_reloc): Don't check BFD_RELOC_64 for disallow_64bit_reloc. + (x86_dwarf2_addr_size): New. + + * config/tc-i386.h (x86_dwarf2_addr_size): New. + (DWARF2_ADDR_SIZE): Likewise. + +2011-08-01 Nick Clifton <nickc@redhat.com> + + PR ld/12974 + * config/tc-arm.c (literal_pool): Add locs field. + (add_to_lit_pool): Initialise the locs entry for the new literal. + (s_ltorg): Generate a DWARF2 line number entry for each emitted + literal pool entry. + +2011-08-01 Tristan Gingold <gingold@adacore.com> + + * write.c (write_relocs): Fix -Wshadow in DEBUG3 and DEBUG4. + +2011-08-01 Tristan Gingold <gingold@adacore.com> + + * frags.c (frag_grow): Simplify the code. + +2011-07-30 Richard Sandiford <rdsandiford@googlemail.com> + + * config/tc-mips.c (nops_for_vr4130): Revert previous commit. + +2011-07-29 Maciej W. Rozycki <macro@codesourcery.com> + + * config/tc-mips.c: Adjust comments throughout. + (reglist_lookup): Reshape code. + (jmp_reloc_p, jalr_reloc_p): Reformat. + (got16_reloc_p, hi16_reloc_p, lo16_reloc_p): Handle microMIPS + relocations. + (gpr_mod_mask): Remove unused variable. + (gpr_read_mask, gpr_write_mask): Reshape code. + (fpr_read_mask, fpr_write_mask): Likewise. + (nops_for_vr4130): Ensure non-microMIPS mode. + (can_swap_branch_p): Correct pinfo2 reference. Reshape code. + (append_insn): Skip Loongson 2F workaround in MIPS16 mode. Use + the outermost operator of a compound relocation to determines + the relocated field. Fix formatting. + (md_convert_frag): Reshape code. + +2011-07-29 Tristan Gingold <gingold@adacore.com> + + * frags.c (frag_var_init): New function. + (frag_var): Call frag_var_init to initialize. + (frag_variant): Ditto. + +2011-07-27 Nathan Sidwell <nathan@codesourcery.com> + + * dwarf2dbg.c (out_debug_line): Ignore non-normal segments, with a + warning. + * doc/as.texinfo (Offset): Document .offset directive. + +2011-07-27 Tristan Gingold <gingold@adacore.com> + + * frags.c (frag_grow): Revert previous patch. + +2011-07-26 Kazuhiro Inaoka <kazuhiro.inaoka.ud@renesas.com> + + * config/tc-rx.c (md_convert_frag): Fix encoding of beq.a + synthetic instruction. + +2011-07-25 Tristan Gingold <gingold@adacore.com> + + * frags.c (frag_grow): Simplify the code. + +2011-07-24 Maciej W. Rozycki <macro@codesourcery.com> + Chao-ying Fu <fu@mips.com> + Richard Sandiford <rdsandiford@googlemail.com> + + * config/tc-mips.h (mips_segment_info): Add one bit for + microMIPS. + (TC_LABEL_IS_LOCAL): New macro. + (mips_label_is_local): New prototype. + * config/tc-mips.c (S0, S7): New macros. + (emit_branch_likely_macro): New variable. + (mips_set_options): Add micromips. + (mips_opts): Initialise micromips to -1. + (file_ase_micromips): New variable. + (CPU_HAS_MICROMIPS): New macro. + (hilo_interlocks): Set for microMIPS too. + (gpr_interlocks): Likewise. + (cop_interlocks): Likewise. + (cop_mem_interlocks): Likewise. + (HAVE_CODE_COMPRESSION): New macro. + (micromips_op_hash): New variable. + (micromips_nop16_insn, micromips_nop32_insn): New variables. + (NOP_INSN): Handle microMIPS ASE. + (mips32_to_micromips_reg_b_map): New macro. + (mips32_to_micromips_reg_c_map): Likewise. + (mips32_to_micromips_reg_d_map): Likewise. + (mips32_to_micromips_reg_e_map): Likewise. + (mips32_to_micromips_reg_f_map): Likewise. + (mips32_to_micromips_reg_g_map): Likewise. + (mips32_to_micromips_reg_l_map): Likewise. + (mips32_to_micromips_reg_n_map): Likewise. + (mips32_to_micromips_reg_h_map): New variable. + (mips32_to_micromips_reg_m_map): Likewise. + (mips32_to_micromips_reg_q_map): Likewise. + (micromips_to_32_reg_h_map): New variable. + (micromips_to_32_reg_i_map): Likewise. + (micromips_to_32_reg_m_map): Likewise. + (micromips_to_32_reg_q_map): Likewise. + (micromips_to_32_reg_b_map): New macro. + (micromips_to_32_reg_c_map): Likewise. + (micromips_to_32_reg_d_map): Likewise. + (micromips_to_32_reg_e_map): Likewise. + (micromips_to_32_reg_f_map): Likewise. + (micromips_to_32_reg_g_map): Likewise. + (micromips_to_32_reg_l_map): Likewise. + (micromips_to_32_reg_n_map): Likewise. + (micromips_imm_b_map, micromips_imm_c_map): New macros. + (RELAX_DELAY_SLOT_16BIT): New macro. + (RELAX_DELAY_SLOT_SIZE_FIRST): Likewise. + (RELAX_DELAY_SLOT_SIZE_SECOND): Likewise. + (RELAX_MICROMIPS_ENCODE, RELAX_MICROMIPS_P): New macros. + (RELAX_MICROMIPS_TYPE, RELAX_MICROMIPS_AT): Likewise. + (RELAX_MICROMIPS_U16BIT, RELAX_MICROMIPS_UNCOND): Likewise. + (RELAX_MICROMIPS_COMPACT, RELAX_MICROMIPS_LINK): Likewise. + (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16): Likewise. + (RELAX_MICROMIPS_MARK_TOOFAR16): Likewise. + (RELAX_MICROMIPS_CLEAR_TOOFAR16): Likewise. + (RELAX_MICROMIPS_TOOFAR32): Likewise. + (RELAX_MICROMIPS_MARK_TOOFAR32): Likewise. + (RELAX_MICROMIPS_CLEAR_TOOFAR32): Likewise. + (INSERT_OPERAND, EXTRACT_OPERAND): Handle microMIPS ASE. + (mips_macro_warning): Add delay_slot_16bit_p, delay_slot_32bit_p, + fsize and insns. + (mips_mark_labels): New function. + (mips16_small, mips16_ext): Remove variables, replacing with... + (forced_insn_size): ... this. + (append_insn, mips16_ip): Update accordingly. + (micromips_insn_length): New function. + (insn_length): Return the length of microMIPS instructions. + (mips_record_mips16_mode): Rename to... + (mips_record_compressed_mode): ... this. Handle microMIPS ASE. + (install_insn): Handle microMIPS ASE. + (reglist_lookup): New function. + (is_size_valid, is_delay_slot_valid): Likewise. + (md_begin): Handle microMIPS ASE. + (md_assemble): Likewise. Update for append_insn interface change. + (micromips_reloc_p): New function. + (got16_reloc_p): Handle microMIPS ASE. + (hi16_reloc_p): Likewise. + (lo16_reloc_p): Likewise. + (jmp_reloc_p): New function. + (jalr_reloc_p): Likewise. + (matching_lo_reloc): Handle microMIPS ASE. + (insn_uses_reg, reg_needs_delay): Likewise. + (mips_move_labels): Likewise. + (mips16_mark_labels): Rename to... + (mips_compressed_mark_labels): ... this. Handle microMIPS ASE. + (gpr_mod_mask): New function. + (gpr_read_mask, gpr_write_mask): Handle microMIPS ASE. + (fpr_read_mask, fpr_write_mask): Likewise. + (insns_between, nops_for_vr4130, nops_for_insn): Likewise. + (fix_loongson2f_nop, fix_loongson2f_jump): Likewise. + (MICROMIPS_LABEL_CHAR): New macro. + (micromips_target_label, micromips_target_name): New variables. + (micromips_label_name, micromips_label_expr): New functions. + (micromips_label_inc, micromips_add_label): Likewise. + (mips_label_is_local): Likewise. + (micromips_map_reloc): Likewise. + (can_swap_branch_p): Handle microMIPS ASE. + (append_insn): Add expansionp argument. Handle microMIPS ASE. + (start_noreorder, end_noreorder): Handle microMIPS ASE. + (macro_start, macro_warning, macro_end): Likewise. + (brk_fmt, cop12_fmt, jalr_fmt, lui_fmt): New variables. + (mem12_fmt, mfhl_fmt, shft_fmt, trap_fmt): Likewise. + (BRK_FMT, COP12_FMT, JALR_FMT, LUI_FMT): New macros. + (MEM12_FMT, MFHL_FMT, SHFT_FMT, TRAP_FMT): Likewise. + (macro_build): Handle microMIPS ASE. Update for append_insn + interface change. + (mips16_macro_build): Update for append_insn interface change. + (macro_build_jalr): Handle microMIPS ASE. + (macro_build_lui): Likewise. Simplify. + (load_register): Handle microMIPS ASE. + (load_address): Likewise. + (move_register): Likewise. + (macro_build_branch_likely): New function. + (macro_build_branch_ccl): Likewise. + (macro_build_branch_rs): Likewise. + (macro_build_branch_rsrt): Likewise. + (macro): Handle microMIPS ASE. + (validate_micromips_insn): New function. + (expr_const_in_range): Likewise. + (mips_ip): Handle microMIPS ASE. + (options): Add OPTION_MICROMIPS and OPTION_NO_MICROMIPS. + (md_longopts): Add mmicromips and mno-micromips. + (md_parse_option): Handle OPTION_MICROMIPS and + OPTION_NO_MICROMIPS. + (mips_after_parse_args): Handle microMIPS ASE. + (md_pcrel_from): Handle microMIPS relocations. + (mips_force_relocation): Likewise. + (md_apply_fix): Likewise. + (mips_align): Handle microMIPS ASE. + (s_mipsset): Likewise. + (s_cpload, s_cpsetup, s_cpreturn): Use relocation wrappers. + (s_dtprel_internal): Likewise. + (s_gpword, s_gpdword): Likewise. + (s_insn): Handle microMIPS ASE. + (s_mips_stab): Likewise. + (relaxed_micromips_32bit_branch_length): New function. + (relaxed_micromips_16bit_branch_length): New function. + (md_estimate_size_before_relax): Handle microMIPS ASE. + (mips_fix_adjustable): Likewise. + (tc_gen_reloc): Handle microMIPS relocations. + (mips_relax_frag): Handle microMIPS ASE. + (md_convert_frag): Likewise. + (mips_frob_file_after_relocs): Likewise. + (mips_elf_final_processing): Likewise. + (mips_nop_opcode): Likewise. + (mips_handle_align): Likewise. + (md_show_usage): Handle microMIPS options. + * symbols.c (TC_LABEL_IS_LOCAL): New macro. + (S_IS_LOCAL): Add a TC_LABEL_IS_LOCAL check. + + * doc/as.texinfo (Target MIPS options): Add -mmicromips and + -mno-micromips. + (-mmicromips, -mno-micromips): New options. + * doc/c-mips.texi (-mmicromips, -mno-micromips): New options. + (MIPS ISA): Document .set micromips and .set nomicromips. + (MIPS insn): Update for microMIPS support. + +2011-07-24 Maciej W. Rozycki <macro@codesourcery.com> + + * config/tc-mips.c (mips_ip): Make a copy of the instruction's + mnemonic and use it for further processing. + +2011-07-24 Maciej W. Rozycki <macro@codesourcery.com> + + * config/tc-mips.c (can_swap_branch_p): Adjust for the rename of + INSN_TRAP to INSN_NO_DELAY_SLOT. Remove the check for INSN_SYNC + as well as explicit checks for ERET and DERET when scheduling + branch delay slots. + +2011-07-22 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (cpu_arch): Add k1om. + (i386_align_code): Handle PROCESSOR_K1OM. + (check_cpu_arch_compatible): Check EM_K1OM. + (i386_arch): Handle Intel K1OM. + (i386_mach): Return bfd_mach_k1om for Intel K1OM. + (i386_target_format): Return ELF_TARGET_K1OM_FORMAT for Intel + K1OM. + + * config/tc-i386.h (ELF_TARGET_K1OM_FORMAT): New. + (processor_type): Add PROCESSOR_K1OM. + + * doc/c-i386.texi: Document k1om. + +2011-07-18 H.J. Lu <hongjiu.lu@intel.com> + + * doc/c-i386.texi: Fix a typo. + +2011-07-06 Aurelien Jarno <aurelien@aurel32.net> + + * config/tc-mips.c (append_insn): delete prev_pinfo2 and pinfo2. + +2011-07-04 Richard Sandiford <rdsandiford@googlemail.com> + + * config/tc-mips.c (gpr_read_mask, gpr_write_mask): Fix handling + of register 0. + +2011-07-04 Maciej W. Rozycki <macro@codesourcery.com> + + * config/tc-mips.c (append_insn): Make sure DWARF-2 location + information is properly adjusted for branches that get swapped. + +2011-07-03 Samuel Thibault <samuel.thibault@gnu.org> + Thomas Schwinge <thomas@schwinge.name> + + PR binutils/12913 + * config/obj-elf.c (obj_elf_type): Use ELFOSABI_GNU name instead of + ELFOSABI_LINUX alias. + * config/tc-ia64.c: Likewise. + +2011-06-30 Paul Carroll <pcarroll@codesourcery.com> + + * config/tc-arm.c (do_t_add_sub): Only allow LSL shifts of less + than 4 in Thumb mode. + +2011-06-30 Nick Clifton <nickc@redhat.com> + + PR gas/12848 + * config/tc-arm.c (BAD_RANGE): New error message define. + (md_apply_fix): Use it. + Fix range check for thumb branch instructions. + +2011-06-29 Richard Sandiford <rdsandiford@googlemail.com> + + * config/tc-mips.c (append_method): New enum. + (can_swap_branch_p, get_append_method): New functions. + (append_insn): Use get_append_method to decide how the instruction + should be added. + +2011-06-29 Richard Sandiford <rdsandiford@googlemail.com> + + * config/tc-mips.c (append_insn): Remove bogus goto. + +2011-06-29 Richard Sandiford <rdsandiford@googlemail.com> + + * config/tc-mips.c (append_insn): Always clear the history after an + unconditional branch. + +2011-06-29 Richard Sandiford <rdsandiford@googlemail.com> + + * config/tc-mips.c (find_altered_mips16_opcode): New function. + (append_insn): Use it. + +2011-06-29 Richard Sandiford <rdsandiford@googlemail.com> + + * config/tc-mips.c (insn_uses_reg): Delete. + (gpr_read_mask, gpr_write_mask): New functions. + (fpr_read_mask, fpr_write_mask): Likewise. + (insns_between, nops_for_vr4130, append_insn): Use them. + +2011-06-29 Richard Sandiford <rdsandiford@googlemail.com> + + * config/tc-mips.c (md_mips_end): Call mips_emit_delays. + +2011-06-29 Dave Martin <dave.martin@linaro.org> + + PR gas/12931 + * config/tc-arm.c (mapping_state): When changing to ARM or THUMB + state set the minimum required alignment of the section. + +2011-06-29 Tristan Gingold <gingold@adacore.com> + + * config/tc-i386.c (i386_mach): Convert to ISO-C. + (md_begin, pe_directive_secrel, md_estimate_size_before_relax): Ditto. + (md_convert_frag, md_apply_fix, md_undefined_symbol): Ditto. + (md_section_align, tc_gen_reloc): Ditto. + +2011-06-28 Tristan Gingold <gingold@adacore.com> + + * config/tc-alpha.c (s_alpha_pdesc): Fix indentation. Do not + generate dummy fix. + +2011-06-28 Tristan Gingold <gingold@adacore.com> + + * config/tc-alpha.c (load_expression): Use alloca instead of xmalloc. + (emit_jsrjmp): Ditto. + (tc_gen_reloc): Ditto. + +2011-06-28 Tristan Gingold <gingold@adacore.com> + + * config/tc-alpha.c (alpha_evax_proc_hash): Remove. + (alpha_evax_proc_data): New variable. + (s_alpha_ent): Prevent nested function. Remove has_insert call. + (s_alpha_pdesc): Do not call demand_empty_rest_of_line in case of + error. Do not search in the hash table. Check if match with .ent. + (s_alpha_name): Remove unused variable. + (md_begin): Remove initialization of alpha_evax_proc_hash. + +2011-06-27 Tristan Gingold <gingold@adacore.com> + + * config/tc-alpha.c (add_to_link_pool): Remove basesym parameter. + Locally declare basesym. Add comments. Do not set literal_pool_size. + (load_expression): Adjust call to add_to_link_pool. + (s_alpha_pdesc): Define pdesc symbol using dot. + Do not set literal_pool_size. + (s_alpha_end): Use NULL instead of 0. + +2011-06-27 Tristan Gingold <gingold@adacore.com> + + * config/obj-evax.c (evax_frob_file_before_adjust): Add comments. + Fix style. + * config/obj-evax.h (struct alpha_linkage_fixups): Remove seg + field. Add comments. + (obj_symbol_type, object_headers, OBJ_SYMFIELD_TYPE): Remove + +2011-06-26 Richard Sandiford <rdsandiford@googlemail.com> + + * config/tc-mips.c (fix_24k_record_store_info): If the previous + instruction was a store, and the next instructions are unknown, + assume the worst. + +2011-06-25 Richard Sandiford <rdsandiford@googlemail.com> + + PR gas/12915 + * config/tc-mips.c (nops_for_vr4130, nops_for_24k, nops_for_insn) + (nops_for_sequence, nops_for_insn_or_target): Add ignore parameters. + (mips_emit_delays, start_noreorder): Update accordingly. + (append_insn): Likewise. Revert original fix for this PR + and use the ignore parameter instead. + +2011-06-24 Tristan Gingold <gingold@adacore.com> + + PR gas/11625 + * config/obj-evax.c (evax_frob_symbol): Use as_bad instead of abort. + +2011-06-24 Tristan Gingold <gingold@adacore.com> + + * config/tc-alpha.c (add_to_link_pool): Remove useless offset + variable. Fix style. + +2011-06-23 Richard Sandiford <rdsandiford@googlemail.com> + + PR gas/12915 + * config/tc-mips.c (append_insn): Only consider hazards between the + pre-noreorder block and ip. + +2011-06-21 Sameera Deshpande <sameera.deshpande@arm.com> + + * config/tc-arm.c (vfp_conv): Add check on range of immediate operand + in vcvt instruction between floating-point and fixed-point. + (operand_parse_code): Add "OP_oI32z". + (parse_operands): OP_oI32z case added. + +2011-06-20 H.J. Lu <hongjiu.lu@intel.com> + + * configure.tgt: Revert x32 change. + +2011-06-20 Nick Clifton <nickc@redhat.com> + + * doc/Makefile.am: (CPU_DOCS): Add c-xstormy16.texi. + * doc/Makefile.in: Regenerate. + * doc/all.texi: Set XSTORMY16. + * doc/c-xstormy16.texi: New file. + +2011-06-19 H.J. Lu <hongjiu.lu@intel.com> + + * configure.tgt: Support x32. + +2011-06-15 Nick Clifton <nickc@redhat.com> + + * NEWS: Mention addition of TILEPRO and TIKE-Gx support. + +2011-06-14 Tristan Gingold <gingold@adacore.com> + + * config/tc-ppc.h (struct ppc_tc_sy): Complete comment on within. + (tc_new_dot_label): Define. + (ppc_new_dot_label): Declare. + * config/tc-ppc.c (ppc_frob_label): Set within target field. + (ppc_fix_adjustable): Use this field to adjust the reloc. + (ppc_new_dot_label): New function. + +2011-06-14 Alan Modra <amodra@gmail.com> + + * po/POTFILES.in: Regenerate. + +2011-06-13 Walter Lee <walt@tilera.com> + + * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tilegx.c and + config/tc-tilepro.c. + (TARGET_CPU_HFILES): Add config/tc-tilegx.h and + config/tc-tilepro.h. + * Makefile.in: Regenerate. + * configure.tgt (tilepro-*-*): New. + (tilegx-*-*): Likewise. + * config/tc-tilegx.c: New file. + * config/tc-tilegx.h: Likewise. + * config/tc-tilepro.h: Likewise. + * config/tc-tilepro.c: Likewise. + * doc/Makefile.am (CPU_DOCS): Add c-tilegx.texi and + c-tilepro.texi. + * doc/Makefile.in: Regenerate. + * doc/all.texi (TILEGX): Define. + (TILEPRO): Define. + * doc/as.texinfo: Add Tile-Gx and TILEPro documentation. Include + c-tilegx.texi and c-tilepro.texi. + * doc/c-tilegx.texi: New. + * doc/c-tilepro.texi: New. + +2011-06-13 Nick Clifton <nickc@redhat.com> + + PR gas/12854 + * config/tc-arm.c (do_shift): Do not allow shift operations at the + end of a register based shift insn. + (do_t_shift): Likewise. + +2011-06-13 Nick Clifton <nickc@redhat.com> + + * config/tc-score.c (s3_my_get_expression): Delete unused local + variable 'seg'. + (s3_do_ldst_insn): Delete unused local variable 'strbak'. + (s3_do16_ldst_insn): Delete unused local variable 'temp'. + (s3_do_macro_bcmp): Zero inst_expand array. + (s3_do_macro_bcmpz): Likewise. + (s3_s_score_end): Delete unused local variable 'dot'. + (s3_gen_reloc): Delete unused local variables 'f', 's', and 'e'. + * config/tc-score7.c (s7_my_get_expression): Delete unused local + variable 'seg'. + (s7_do_ldst_insn): Delete unused local variable 'strbak'. + (s7_b32_relax_to_b16): Delete unused local variables 'r_old' and + 'r_new'. + (s7_s_score_end): Delete unused local variable 'dot'. + (s7_relax_frag): Delete unused local variable 'relax_size'. + (s7_gen_reloc): Delete unused local variables 'f', 's', and 'e'. + +2011-06-10 H.J. Lu <hongjiu.lu@intel.com> + + AVX Programming Reference (June, 2011) + * config/tc-i386.c (i386_error): Add invalid_vsib_address and + unsupported_vector_index_register. + (cpu_arch): Add .avx2, .bmi2, .lzcnt and .invpcid. + (check_VecOperands): New. + (match_template): Call check_VecOperands. Handle + invalid_vsib_address and unsupported_vector_index_register. + (build_modrm_byte): Support VecSIB. Check register-only source + operand when two source operands are swapped. + (i386_index_check): Allow Xmm/Ymm index registers. + + * doc/c-i386.texi: Document avx2/.avx2, bmi2/.bmi2, lzcnt/.lzcnt + and invpcid./invpcid. + +2011-06-09 Nick Clifton <nickc@redhat.com> + + PR gas/12861 + * config/tc-cr16.c (tc_gen_reloc): Remove unused local variable + code. + (check_cinv_options): Remove unused local variables. Make + function void. + (md_assemble): Remove unused local variable. + +2011-06-09 James Greenhalgh <james.greenhalgh@arm.com> + + * config/tc-arm.c (do_ldrd): Warn in unpredictable cases. + +2011-06-03 Arnaud Patard <arnaud.patard@rtp-net.org> + + PR gas/12698 + * config/tc-arm.c (parse_psr): Set m_profile to false when + assembling for any architecture. + +2011-06-02 Jie Zhang jie@codesourcery.com + Nathan Sidwell nathan@codesourcery.com + + * config/tc-arm.c (parse_address_main): Handle -0 offsets. + (encode_arm_addr_mode_2): Set default sign of zero here ... + (encode_arm_addr_mode_3): ... and here. + (encode_arm_cp_address): ... and here. + (md_apply_fix): Use default sign of zero here. + +2011-06-02 Nick Clifton <nickc@redhat.com> + + * as.c: Fix spelling typo. + * read.c: Likewise. + * config/tc-ppc.c: Likewise. + * po/gas.pit: Regenerate. + +2011-05-31 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (arm_cpus): Add Cortex-R5. + (arm_extensions): Allow idiv on ARMv7-R. + * doc/c-arm.text: Update idiv extension restrictions. + +2011-05-31 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (arm_force_relocation): Resolve all pc-relative + loads. + +2011-05-31 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (do_t_branch): Avoid relaxing branches to constant + addresses. + +2011-05-31 Paul Brook <paul@codesourcery.com> + Nathan Sidwell <nathan@codesourcery.com> + + * config/tc-arm.c (fix_new_arm): Create an absolute symbol for + pc-relative fixes to constants. + * config/tc-arm.h (TC_FORCE_RELOCATATION_ABS): Define. + +2011-05-27 Nick Clifton <nickc@redhat.com> + + * config/tc-s390.c (md_begin): Remove unused variable dup_insn. + +2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * config/tc-s390.c (md_gather_operands): Fix check for floating + register pair operands. + +2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * config/tc-s390.c (md_gather_operands): Emit an error for odd + numbered registers used as register pair operand. + +2011-05-23 Nick Clifton <nickc@redhat.com> + + * config/tc-v850.h (TC_FX_SIZE_SLACK): Define. + +2011-05-20 Bernd Schmidt <bernds@codesourcery.com> + + * config/tc-tic6x.c (tic6x_operators): Add "pcr_offset". + (tic6x_parse_name): Handle it. + (tic6x_fix_new_exp): Handle O_pcr_offset. + (tic6x_fix_adjustable): Return 0 for the new relocs. + (md_apply_fix): Handle them. + (tc_gen_reloc): Likewise. + * config/tc-tic6x.h (tic6x_fix_info): Add a fix_subsy member. + +2011-05-18 Nick Clifton <nickc@redhat.com> + + PR gas/12754 + * config/tc-tic30.c (ordinal_names): Allow translation of the + ordinal names. + +2011-05-18 Nick Clifton <nickc@redhat.com> + + * config/tc-arm.c (s_unreq): Reword warning message to make it + easier to translate. + * config/tc-ia64.c (md_show_usage): Add note for translators. + * configure.in (ALL_LINGUAS): Add "fi". + * configure: Regenerate. + +2011-05-18 Tristan Gingold <gingold@adacore.com> + + * config/tc-ppc.h (ppc_tc_sy): Reorder fields. + Put size into an union with dw. + (OBJ_COPY_SYMBOL_ATTRIBUTES): Adjust. + (ppc_xcoff_end): Declare. + (md_end): Define. + * config/tc-ppc.c: Add includes for xcoff. + (ppc_dwsect): New function. + (md_pseudo_table): Add dwsect. + (struct dw_subsection): New. + (dw_sections): New. + (ppc_change_debug_section): New function. + (ppc_xcoff_end): Ditto. + (ppc_function): Adjust for ppc_tc_sy. + (ppc_symbol_new_hook): Ditto. + (ppc_frob_symbol): Ditto. + (ppc_frob_section): Do not set vma for debug sections. + (ppc_fix_adjustable): Return true for debug sections. + * config/obj-coff.c: Add includes for xcoff. + (coff_frob_section): Handle dwarf section. + +2011-05-17 Nick Clifton <nickc@redhat.com> + + * po/fi.po: New Finnish translation. + * po/fr.po: Updated French translation. + + * config/tc-m32r.c (md_show_usage): Fix typos in descriptions. + * config/tc-mt.c (md_assemble): Fix typos in warning messages. + * cond.c (s_else): Fix typos in error messages. + * config/tc-pj.c (md_assemble): Fix typo in error message. + +2011-05-16 Hans-Peter Nilsson <hp@axis.com> + + * config/tc-cris.c (md_parse_option) <OPTION_PIC>: Error if not + emitting ELF object. + (md_show_usage): Only mention --pic if the assembler can generate + ELF objects. + * doc/c-cris.texi (CRIS-Opt): Mention that generating ELF is a + prerequisite for --pic being a valid option. + +2011-05-13 Frederic Marchal <fmarchal@perso.be> + + PR gas/12755 + * config/tc-v850.c (parse_register_list): Correct error string. + +2011-05-12 Quentin Neill <quentin.neill@amd.com> + + * config/tc-i386.c (cpu_arch): Rename PROCESSOR_BDVER1 to PROCESSOR_BD. + (i386_align_code): Ditto + +2011-05-12 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + PR gas/12715 + * config/tc-arm.c (parse_big_immediate): Fix parsing of 64-bit + immediates on 32-bit hosts. + +2011-05-10 Quentin Neill <quentin.neill@amd.com> + + * config/tc-i386.c (cpu_arch): Add bdver2 and rename + PROCESSOR_BDVER1 to PROCESSOR_BDVER. + (i386_align_code): Rename PROCESSOR_BDVER1. + (processor_type): Ditto. + * doc/c-i386.texi: Add bdver2. + +2011-05-10 Alan Modra <amodra@gmail.com> + + * dw2gencfi.c (tc_cfi_endproc): Avoid "set but not used" error. + +2011-05-09 Paul Brook <paul@codesourcery.com> + + * config/tc-tic6x.c (streq): Define. + (tic6x_get_unwind): New. + (s_tic6x_cantunwind, s_tic6x_handlerdata, s_tic6x_endp, + s_tic6x_personalityindex, s_tic6x_personality): New functions. + (md_pseudo_table): Add "endp", "handlerdata", "personalityindex", + "personality" and "cantunwind". + (tic6x_regname_to_dw2regnum, tic6x_frame_initial_instructions, + tic6x_start_unwind_section, tic6x_unwind_frame_regs, + tic6x_pop_rts_offset_little, tic6x_pop_rts_offset_big, + tic6x_unwind_reg_from_dwarf, tic6x_flush_unwind_word, + tic6x_unwind_byte, tic6x_unwind_2byte, tic6x_unwind_uleb, + tic6x_cfi_startproc, output_exidx_entry, tic6x_output_unwinding, + tic6x_cfi_endproc): New. + * config/tc-tic6x.h (TIC6X_NUM_UNWIND_REGS): Define. + (tic6x_unwind_info): New. + (tic6x_segment_info_type): Add marked_pr_dependency, unwind and + text_unwind. + (TARGET_USE_CFIPOP, tc_regname_to_dw2regnum, + tc_cfi_frame_initial_instructions, DWARF2_DEFAULT_RETURN_COLUMN, + DWARF2_CIE_DATA_ALIGNMENT, tc_cfi_startproc, tc_cfi_endproc, + tc_cfi_section_name): Define. + * doc/c-tic6x.texi: Document new unwinding directives. + * dw2gencfi.c (tc_cfi_startproc, tc_cfi_endproc): Add default + definitions. + (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset, CFI_return_column, + CFI_rel_offset, CFI_escape, CFI_signal_frame, CFI_val_encoded_addr): + Move to dw2gencfi.h. + (CFI_EMIT_target): Define. + (dot_cfi_sections): Check tc_cfi_section_name. + (dot_cfi_startproc): Use tc_cfi_startproc. + (dot_cfi_endproc): Use tc_cfi_endproc. + * dw2gencfi.h (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset, + CFI_return_column, CFI_rel_offset, CFI_escape, CFI_signal_frame, + CFI_val_encoded_addr): Move to here from dw2gencfi.c. + +2011-05-07 Alan Modra <amodra@gmail.com> + + * dw2gencfi.c (CUR_SEG, SET_CUR_SEG, HANDLED, SET_HANDLED): Define. + Use throughout in place of #if SUPPORT_FRAME_LINKONCE. + (struct fde_entry): Rename cseg to cur_seg. + (cfi_change_reg_numbers): Remove ATTRIBUTE_UNUSED. + (get_cfi_seg): Likewise. Use if (SUPPORT_FRAME_LINKONCE) rather + that #if SUPPORT_FRAME_LINKONCE. + (cfi_finish): Likewise. + +2011-05-06 Tristan Gingold <gingold@adacore.com> + + * read.c (s_comm_internal): Remove code for OBJ_VMS. + (s_data): Ditto. + (s_text): Ditto. + * write.c (write_object_file): Ditto. + * symbols.c (define_sym_at_dot): Ditto. + (colon): Ditto. + +2011-05-05 Alan Modra <amodra@gmail.com> + + * dw2gencfi.c (SUPPORT_FRAME_LINKONCE): Define. Use throughout + file to conditionally compile code added 2011-04-26. + (cfi_change_reg_numbers): Add ATTRIBUTE_UNUSED on params only used + when SUPPORT_FRAME_LINKONCE. + (get_cfi_seg): Likewise. Reintroduce old code for when not + SUPPORT_FRAME_LINKONCE. + (cfi_finish): Move get_cfi_seg calls out of loop when not + SUPPORT_FRAME_LINKONCE. Avoid unused var warning. + +2011-05-03 Paul Brook <paul@codesourcery.com> + + * config/tc-tic6x.c (s_ehtype): New function. + (md_pseudo_table): Add "ehtype". + (tic6x_fix_adjustable, md_apply_fix): BFD_RELOC_C6000_EHTYPE. + * doc/c-tic6x.texi: Document .ehtype directive. + +2011-04-26 Kai Tietz <ktietz@redhat.com> + + * dw2gencfi.c (dwcfi_seg_list): New struct. + (dwcfi_hash): New static hash variable. + (get_debugseg_name): New. + (alloc_debugseg_item): New. + (make_debug_seg): New. + (dwcfi_hash_insert): New. + (dwcfi_hash_find): New. + (dwcfi_hash_find_or_make): New. + (cfi_insn_data): New member cur_seg. + (cie_entry): Likewise. + (fde_entry): New cseg and handled members. + (alloc_fde_entry): Initialize cseg member. + (alloc_cfi_insn_data): Initialize cur_seg member. + (dot_cfi_sections): Compare for beginning of + section names via strncmp. + (get_cfi_seg): New. + (cfi_finish): Treat link-once sections. + (is_now_linkonce_segment): New local helper. + (output_cie): Ignore cie entries not member of current + segment. + (output_fde): Likewise. + (select_cie_for_fde): Likewise. + (cfi_change_reg_numbers): Add new argument for current segment + and ignore insn elements, if not part of current segment. + * ehopt.c (get_cie_info): Use strncmp for + section name matching. + (heck_eh_frame): Likewise. + +2011-04-20 Catherine Moore <clm@codesourcery.com> + David Ung <davidu@mips.com> + + * config/mips.c (mips_cl_insn): Add new field complete_p. + (create_insn): Initialize complete_p to zero. + (BASE_REG_EQ): New. + (fix_24k_align_to): New. + (fix_24k_store_info): Declare. + (fix_24k_sort): New. + (fix_24k_record_store_info): New. + (nops_for_24k): New. + (nops_for_insn): Call nops_for_24k. + (append_insn): Move O_constant expression handling. + +2011-04-20 Alan Modra <amodra@gmail.com> + + * hash.c (set_gas_hash_table_size): Use bfd_hash_set_default_size. + (hash_new_sized): New function, split out from.. + (hash_new): ..here. + +2011-04-19 Nick Clifton <nickc@redhat.com> + + * config/tc-arm.c (v7m_psrs): Revert previous delta. + +2011-04-18 Julian Brown <julian@codesourcery.com> + Nick Clifton <nickc@redhat.com> + + * config/tc-arm.c (parse_psr): Use selected_cpu not cpu_variant to + detect M-profile targets. + (do_t_swi): Exclude v7 and higher variants from arm_ext_os test. + (v7m_psrs): Fix typo: basepri_max should be basepri_mask. + +2011-04-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * config/tc-s390.c (s390_machine): New prototype. + (md_pseudo_table): New pseudo-op .machine. + (s390_opcode_hash): Initialize to NULL. + (s390_parse_cpu): New function. + (md_parse_option): Use s390_parse_cpu. + (s390_setup_opcodes): New function. + (md_begin): Use s390_setup_opcodes. + (s390_machine): New hook handling the new .machine pseudo. + + * doc/c-s390.texi: Document the new pseudo op .machine. + +2011-04-12 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (i386_mach): Start error message with lower + case. + (md_begin): Likewise. + (md_parse_option): Likewise. + (i386_target_format): Likewise. + (check_byte_reg): Likewise. + (check_long_reg): Likewise. + (check_qword_reg): Likewise. + (check_word_reg): Likewise. + +2011-04-12 Nick Clifton <nickc@redhat.com> + + PR gas/12532 + * config/tc-arm.c (relax_branch): Do not relax branches to + preemptable global symbols. + +2011-04-11 Julian Brown <julian@codesourcery.com> + + * config/tc-arm.c (parse_psr): Add LHS argument. Improve support + for *APSR bitmasks. + (operand_parse_code): Replace OP_PSR with OP_wPSR and OP_rPSR. + Remove OP_RVC_PSR. + (parse_operands): Likewise. + (do_mrs): Tweak error message for constraint. + (do_t_mrs): Update constraints for changes to APSR support. + (do_t_msr): Likewise. Don't set PSR_f flag here. + (psrs): Remove "g", "nzcvq", "nzcvqg". + (insns): Tweak entries for msr and mrs instructions. + +2011-04-11 Kai Tietz <ktietz@redhat.com> + + * config/tc-i386.c (x86_cons): Initialize adjust with zero. + +2011-04-11 Nick Clifton <nickc@redhat.com> + + * config/tc-i386.c (x86_cons): Define even for non-ELF targets. + * config/tc-i386.h (x86_cons): Always prototype. + + * config/tc-cr16.c (getprocregp_image): Fix type of 'r' parameter + in order to avoid a compile time warning. + (getprocreg_image): Likewise. + +2011-04-11 Alan Modra <amodra@gmail.com> + + * config/tc-cr16.c (getprocreg_image): Correct range check. + (getprocregp_image): Likewise. + +2011-04-06 Joseph Myers <joseph@codesourcery.com> + + * configure.tgt (strongarm*be, strongarm*b, strongarm*, + xscale*be|xscale*b, xscale*): Remove architectures. + (thumb-*-coff, thumb-*-rtems*, thumb-*-elf, thumb-epoc-pe, + thumb-*-pe, xscale-*-coff, xscale-*-elf): Remove targets. + +2011-04-01 Tristan Gingold <gingold@adacore.com> + + * config/tc-ia64.c (md_apply_fix): Add a cast to avoid a warning. + +2011-03-31 Bernd Schmidt <bernds@codesourcery.com> + + * config/tc-tic6x.c (sbss_section, scom_section, scom_symbol): New + static variables. + (md_begin): Initialize them. + (s_tic6x_scomm): New static function. + (md_pseudo_table): Add "scomm". + (tc_gen_reloc): Really undo all adjustments made by + bfd_install_relocation. + * doc/c-tic6x.texi: Document the .scomm directive. + +2011-03-31 Tristan Gingold <gingold@adacore.com> + + * dwarf2dbg.c (DWARF2_VERSION): Define. + (out_debug_line): Use it. + (out_debug_aranges): Ditto. + (out_debug_info): Ditto. + * config/tc-ia64.h (DWARF2_VERSION): Override it. + +2011-03-30 Michael Snyder <msnyder@vmware.com> + + * obj-elf.c (obj_elf_section): Free malloced name. + * macro.c (get_any_string): Free malloced br_buf. + (do_formals): Free 'formal'. + +2011-03-30 Tristan Gingold <gingold@adacore.com> + + * config/tc-ppc.c (ppc_frob_symbol): Convert stsym symbols value + to offset only if within is set. + (ppc_stabx): Reformat. For stsym stabs, add a check and set + within only for symbols. + +2011-03-29 Richard Henderson <rth@redhat.com> + + PR 12610 + * config/tc-alpha.c (s_alpha_align): Don't auto-align a previous + label; zap alpha_insn_label. + +2011-03-29 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (handle_quad): Properly handle multiple + operands. + +2011-03-29 Mike Frysinger <vapier@gentoo.org> + + * config/bfin-parse.y (BYTEUNPACK): Return yyerror when dest + reg $2 is the same as dest reg $4. + +2011-03-29 Mike Frysinger <vapier@gentoo.org> + + * config/bfin-parse.y (BYTEOP16M): Return yyerror when dest + reg $2 is the same as dest reg $4. + +2011-03-29 Mike Frysinger <vapier@gentoo.org> + + * config/bfin-parse.y (BYTEOP16P): Return yyerror when dest + reg $2 is the same as dest reg $4. + +2011-03-28 Mike Frysinger <vapier@gentoo.org> + + * config/bfin-parse.y (16bit acc add): Return yyerror when dest + reg $1 is the same as dest reg $7. + +2011-03-28 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (handle_quad): New. + (md_pseudo_table): Add "quad". + +2011-03-26 John Marino <binutils@marino.st> + + * configure.tgt: Fix support for *-*-dragonfly*. + * config/tc-i386.c: define SVR4_COMMENT_CHARS for dragonfly. + * config/te-dragonfly.h: New file. + +2011-03-24 Eric B. Weddington <eric.weddington@atmel.com> + + * config/tc-avr.c (mcu_types): Add new devices: atmega325pa, + atmega3250pa, atmega3290pa, atmega16hvbrevb, atmega32hvbrevb, + at90pwm161. + * doc/c-avr.texi: Document new device names. + +2011-03-24 Mike Frysinger <vapier@gentoo.org> + + * config/bfin-parse.y (dual 32bit add/sub): Return yyerror when dest + reg $1 is the same as dest reg $7. + (quad 16bit add/sub): Return yyerror when dest reg $1 is the same as + dest reg $7. + +2011-03-24 Mike Frysinger <vapier@gentoo.org> + + * config/bfin-parse.y (check_macfuncs): Clarify error message when + P is mismatched. Check destination regno are off by one when P is + set, or are equal when P is not set. + +2011-03-23 Mike Frysinger <vapier@gentoo.org> + + * config/bfin-parse.y (SEARCH): Return yyerror when dest reg $2 is + the same as dest reg $4. + (BITMUX): Return yyerror when dest reg $3 is the same as dest reg $5. + +2011-03-23 Eric B. Weddington <eric.weddington@atmel.com> + + * config/tc-avr.c (mcu_types): Add new xmega devices: atxmega64a1u, + atxmega128a1u, atxmega16x1, atxmega32x1, atxmega128b1, atxmega256a3bu. + * doc/c-avr.texi: Document new device names. + +2011-03-22 Eric B. Weddington <eric.weddington@atmel.com> + + * config/tc-avr.c (struct avr_opcodes_s): Add opcode field. + (AVR_INSN): Change definition to match. + (avr_opcodes): Likewise, change to match. + (mcu_types): Add XMEGA architecture names and new XMEGA device names. + (md_show_usage): Add XMEGA architecture names. + (avr_operand): Add 'E' constraint for DES instruction of XMEGA devices. + Add support for SPM Z+ instruction. + * doc/c-avr.texi: Add documentation for XMEGA architectures and + devices. + +2011-03-21 Eric B. Weddington <eric.weddington@atmel.com> + + * config/tc-avr.c (md_show_usage): Add "Assembler" text to output. + +2011-03-18 Alan Modra <amodra@gmail.com> + + * config/obj-elf.c (elf_frob_symbol): Report S_SET_SIZE symbol + on .size expression errors rather than symbols in the size expression. + +2011-03-18 Alan Modra <amodra@gmail.com> + + * input-scrub.c (line_numberT): Delete. + (input_scrub_close): Reset line counters. + * messages.c (as_show_where): Don't print invalid line number. + (as_warn_internal, as_bad_internal): Likewise. + +2011-03-18 Alan Modra <amodra@gmail.com> + + * read.c (read_a_source_file): Remove md_after_pass_hook. + Move "quit" label before set of dot_symbol. + * config/tc-d10v.h (md_after_pass_hook): Don't define. + * config/tc-d30v.h (md_after_pass_hook): Likewise. + * config/tc-m32r.h (md_after_pass_hook): Likewise. + (md_cleanup): Define to call m32r_fill_insn. + +2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * config/tc-s390.c (md_parse_option): Add -march=all option which + switches to the highest available CPU. + +2011-03-17 Alan Modra <amodra@gmail.com> + + PR 12569 + * expr.c (operand): Correct passing of "mode" to expr. + * read.c (do_org): Allow expr_section. + (get_known_segmented_expression): Don't assert anything about the + segment. + +2011-03-16 H.J. Lu <hongjiu.lu@intel.com> + + * as.c (show_usage): Add --size-check=. + (parse_args): Add and handle OPTION_SIZE_CHECK. + + * as.h (flag_size_check): New. + + * config/obj-elf.c (elf_frob_symbol): Use as_bad to report + bad .size directive only for --size-check=error. + + * doc/as.texinfo: Document --size-check=. + +2011-03-14 Mike Frysinger <vapier@gentoo.org> + + * config/tc-bfin.c (bfin_cpus[]): Add 0.4 for + bf542/bf544/bf547/bf548/bf549. + +2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> + + * config/tc-arm.c (md_pcrel_from_section): Use S_FORCE_RELOC to + determine whether a relocation is needed. + (md_apply_fix, arm_apply_sym_value): Likewise. + +2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> + + * config/tc-arm.c (arm_adjust_symtab): Set the branch type + for Thumb symbols. + +2011-03-11 Nick Clifton <nickc@redhat.com> + + * remap.c (remap_debug_filename): Always allocate a buffer for the + returned pointer. + * stabs.c (stabs_generate_asm_file): Free the pointer returned by + remap_debug_filename. + +2011-03-10 Michael Snyder <msnyder@vmware.com> + + Revert the following change: + * dwarf2dbg.c (out_file_list): Free malloced 'dir'. + (out_debug_info): Free malloced 'dirname' and 'comp_dir'. + +2011-03-10 Alan Modra <amodra@gmail.com> + + * gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS, + TARGET_SYMBOL_FIELDS): Don't define. + * gas/config/tc-arc.c (arc_common): Use correct symbol "local" field. + +2011-03-09 Michael Snyder <msnyder@vmware.com> + + * dwarf2dbg.c (out_file_list): Free malloced 'dir'. + (out_debug_info): Free malloced 'dirname' and 'comp_dir'. + (emit_fixed_inc_line_addr): Assign instead of conditional in + assert. + +2011-03-05 H.J. Lu <hongjiu.lu@intel.com> + + * config/obj-elf.c (elf_frob_symbol): Mention symbol name in + non-constant .size expression. + +2011-03-02 Nick Clifton <nickc@redhat.com> + + * ecoff.c: Incldue filenames.h + +2011-02-28 Kai Tietz <kai.tietz@onevision.com> + + * depend.c (register_dependency): Use filename_(n)cmp. + * dwarf2dbg.c (get_filenum): Likewise. + * ecoff.c (add_file): Likewise. + (ecoff_generate_asm_lineno): Likewise. + * input-scrub.c (new_logical_line_flags): Likewise. + * listing.c (file_info): Likewise. + (listing_newline): Likewise. + * remap.c (remap_debug_filename): Likewise. + * stabs.c (generate_asm_file): Likewise. + (stabs_generate_asm_lineno): Likewise. + +2011-02-28 Maciej W. Rozycki <macro@codesourcery.com> + + * config/tc-mips.c (append_insn): Disable branch relaxation for + DSP instructions. + +2011-02-28 Maciej W. Rozycki <macro@codesourcery.com> + + * config/tc-mips.c (macro): Handle M_PREF_AB. + +2011-02-28 Maciej W. Rozycki <macro@codesourcery.com> + + * config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary + register to use. + (RELAX_BRANCH_UNCOND): Adjust accordingly. + (RELAX_BRANCH_LIKELY): Likewise. + (RELAX_BRANCH_LINK): Likewise. + (RELAX_BRANCH_TOOFAR): Likewise. + (RELAX_BRANCH_AT): New macro. + (append_insn): Encode the temporary register to use in standard + MIPS branch relaxation. + (relaxed_branch_length): Update according to changes to + RELAX_BRANCH_ENCODE. + (md_convert_frag): Use the encoded register as the temporary. + +2011-02-28 Maciej W. Rozycki <macro@codesourcery.com> + + * config/tc-mips.c (mips_fix_adjustable): On REL targets also + reject PC-relative relocations. + +2011-02-28 Maciej W. Rozycki <macro@codesourcery.com> + + * config/tc-mips.c (md_convert_frag): Correct message + capitalization. + +2011-02-28 Alan Modra <amodra@gmail.com> + + * symbols.c (report_op_error): Remove unnecessary forward declaration. + Add "op" parameter. Report operator and operand segments in error + message, not operand symbols. + (resolve_symbol_value): Always set segment for equated symbols, not + just when finalizing. Adjust report_op_error calls. + +2011-02-25 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (reloc): Don't sign-check 4-byte relocations + if 64bit relocations aren't allowed. + +2011-02-25 Alan Modra <amodra@gmail.com> + + PR gas/12519 + * config/obj-elf.c (elf_frob_symbol): Properly handle size expression. + +2011-02-21 Maciej W. Rozycki <macro@codesourcery.com> + + * config/tc-mips.c (mips_ip) <'o'>: Remove duplicate + initialization of offset_reloc. + +2011-02-15 Richard Henderson <rth@redhat.com> + + * dw2gencfi.c (dot_cfi_dummy): New. + (cfi_pseudo_table) [!TARGET_USE_CFIPOP]: New. + * read.c (pobegin): Unconditionally call cfi_pop_insert. + +2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * configure: Regenerate. + +2011-02-13 Mike Frysinger <vapier@gentoo.org> + + * config/bfin-lex.l (BYTEOP2M): Remove tokenization. + * config/bfin-parse.y (BYTEOP2M): Delete token. + (asm_1): Remove BYTEOP2M insn matching. + +2011-02-12 Mike Frysinger <vapier@gentoo.org> + + * config/bfin-defs.h: Include opcode/bfin.h. + (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH, M_IU): Delete. + +2011-02-11 Mike Frysinger <vapier@gentoo.org> + + * doc/c-bfin.texi (Instruction Delimiting): Fix occur typo. + (Modify Registers): Fix subtracted typo. + (.byte2): Extend and swap descriptions with .byte4. + (.byte4): Extend and swap descriptions with .byte2. + (.db, .dw, .dd): Document behavior. + +2011-02-11 Mike Frysinger <vapier@gentoo.org> + + * config/bfin-parse.y (TESTSET): Reject REG_SP and REG_FP. + +2011-02-11 Alan Modra <amodra@gmail.com> + + * doc/c-ppc.texi (PowerPC-Opts <-nops>): Clarify. + +2011-02-10 Alan Modra <amodra@gmail.com> + + * doc/as.texinfo (Overview): Add missing markup around Blackfin + and PowerPC options. + +2011-02-10 Alan Modra <amodra@gmail.com> + + * config/tc-ppc.c (md_show_usage): Remove -l and -b. Add -K PIC. + * doc/as.texinfo: Refer to and include c-ppc.texi for PowerPC options. + (Overview <Target PowerPC options>): Add a number of missing options. + * doc/c-ppc.texi: Likewise. Add markup for use in manpage generation. + +2011-02-08 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/6957 + * config/tc-i386.c (i386_align_code): Use f32_patt when tuning + for i686. + +2011-02-08 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (set_cpu_arch): Also update cpu_arch_isa_flags + for ISA extensions. + (md_parse_option): Likewise. + +2011-02-04 Bernd Schmidt <bernds@codesourcery.com> + + * doc/as.texinfo (Target TIC6X options): Don't mention "-matomic". + * doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic". + (TIC6X Options): Don't mention "-matomic". + * config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete. + (md_longopts): Remove corresponding entries. + (md_parse_option): Don't handle them. + (md_show_usage): Don't document them. + (tic6x_atomic): Delete variable. + (tic6x_update_features): Always copy tic6x_arch_enable to + tic6x_features. + (tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC. + (s_tic6x_atomic, s_tic6x_noatomic): Remove functions. + (md_pseudo_table): Remove ".atomic" and ".noatomic". + +2011-01-31 Nick Clifton <nickc@redhat.com> + + * write.c (write_contents): Include output file name and bfd error + value when reporting the inability to write to the output file. + * config/tc-rx.c (rx_handle_align): Do not insert NOPs into align + frag that has a non-zero fill value. + +2011-01-27 DJ Delorie <dj@redhat.com> + + * config/tc-rx.c (md_convert_frag): If we can't compute the target + address, zero out the values stored in the object file to make + objdump's output consistent. + +2011-01-26 Kai Tietz <kai.tietz@onevision.com> + + * config/tc-i386.c (md_begin): Set for x64 windows COFF target + x86_dwarf2_return_column to 32. + +2011-01-20 Nick Clifton <nickc@redhat.com> + + PR gas/12384 + * config/tc-h8300.c (constant_fits_width_p): Use correct type for + comparison. + +2011-01-18 H.J. Lu <hongjiu.lu@intel.com> + + * write.c (compress_debug): Return if section size is smaller + than 32 bytes. + +2011-01-18 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/12409 + * write.c (compress_debug): Return if section size is 0. + +2011-01-18 Mingfeng Wu <mingfeng@faraday-tech.com> + + * config/tc-arm.c (arm_cpus): Add Faraday ARMv5TE compatible + cores: fa606te, fa616te, fmp626. Modify the VFP of fa626te. + * doc/c-arm.texi (ARM Options): Add -mcpu={fa606te, fa616te, + fmp626} options. + +2011-01-18 Nick Clifton <nickc@redhat.com> + + PR gas/12390 + * doc/all.texi: Add NS32K + * doc/as.texinfo: Remove target specific details of which + characters act as comment initiators and statement separators into + individual target specific files. + * doc/c-alpha.texi (Alpha-Chars): Document special behaviour of + the hash character at the start of a line. + * doc/c-arm.texi (ARM-Chars): Likewise. + * doc/c-avr.texi (AVR-Chars): Likewise. + * doc/c-d10v.texi (D10V-Chars): Likewise. + * doc/c-d30v.texi (D30V-Chars): Likewise. + * doc/c-mmix.texi (MMIX-Chars): Likewise. + * doc/c-s390.texi (s390 characters): Likewise. + * doc/c-sh.texi (SH-Chars): Likewise. + * doc/c-sh64.texi (SH64-Chars): Likewise. + * doc/c-sparc.texi (SPARC-Chars): Likewise. + * doc/c-tic6x.texi (TIC6X Syntax): Likewise. + * doc/c-xtensa.texi (Xtensa Syntax): Likewise. + * doc/c-z80.texi (Z80-Chars): Likewise. + * doc/c-z8k.texi (Z8000-Chars): Likewise. + * doc/c-pdp11.texi (PDP11-Syntax): Document line separator character. + * doc/c-arc.texi (ARC-Chars): Fill in this subsection. + * doc/c-bfin.texi (Blackfin Syntax): Document line comment and + line separator characters. + * doc/c-cr16.texi (CR16 Syntax): Likewise. + * doc/c-i386.texi (i386-Chars): Likewise. + * doc/c-i860.texi (i860-Chars): Likewise. + * doc/c-i960.texi (i960-Chars): Likewise. + * doc/c-ip2k.texi (IP2K-Chars): Likewise. + * doc/c-lm32.texi (LM32-Chars): likewise. + * doc/c-m32c.texi (M32C-Chars): Likewise. + * doc/c-m68hc11.texi (M68HC11-syntax): Likewise. + * doc/c-m68k.texi (M68K-Chars): Likewise. + * doc/c-microblaze.texi (MicroBlaze-Chars): Likewise. + * doc/c-msp430.texi (MSP430-Chars): Likewise. + * doc/c-mt.texi (MT-Chars): Likewise. + * doc/c-ns32k.texi (NS32K-Chars): Likewise. + * doc/c-pj.texi (PJ-Chars): Likewise. + * doc/c-ppc.texi (PowerPC-Chars): Likewise. + * doc/c-rx.texi (RX-Chars): Likewise. + * doc/c-score.texi (SCORE-Chars): Likewise. + * doc/c-tic54x.texi (TIC54X-Chars): Likewise. + * doc/c-v850.texi (V850-Chars): Likewise. + * doc/c-vax.texi (VAX-Chars): Likewise. + * doc/c-xc16x.texi (xc16x-Chars): Likewise. + +2011-01-17 Quentin Neill <quentin.neill@amd.com> + + * config/tc-i386.c (cpu_arch): Add CPU_TBM_FLAGS. + + * doc/c-i386.texi (i386-TBM): New section. + +2011-01-16 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (disallow_64bit_disp): Renamed to ... + (disallow_64bit_reloc): This. + (md_assemble): Don't check movabs for x32 mode here. + (i386_target_format): Updated. + (tc_gen_reloc): Check if 64bit relocations are allowed. + +2011-01-15 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (disallow_64bit_disp): New. + (x86_elf_abi): Replace X86_64_LP64_ABI/X86_64_ILP32_ABI with + X86_64_ABI/X86_64_X32_ABI. + (md_assemble): Don't allow movabs with relocation in x32 mode. + (i386_target_format): Updated. + +2011-01-14 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (OPTION_N32): Renamed to ... + (OPTION_X32): This. + (md_longopts): Replace n32 with x32. + (md_parse_option): Updated. + (md_show_usage): Likewise. + + * doc/c-i386.texi: Replace --n32 with --x32. + +2011-01-11 Mingjie Xing <mingjie.xing@gmail.com> + + * config/tc-mips.c (mips_ip): Update error messages. Take an + unadjusted offset for "+c" argument. + +2011-01-10 Nick Clifton <nickc@redhat.com> + + * config/tc-i386.c (x86_elf_abi): Only define for targets that use + it. + +2011-01-10 Nick Clifton <nickc@redhat.com> + + * config/tc-arm.c (s_arm_tls_desceq): Move code into ELF-only + part of the file. + +2011-01-10 Nathan Sidwell <nathan@codesourcery.com> + Glauber de Oliveira Costa <glommer@gmail.com> + + * doc/c-arm.texi: Document TLSDESC and TLSCALL relocations, and + .tlsdescseq directive. + * config/tc-arm.c (arm_typed_reg_parse): Check for potential reloc + following a symbol. + (s_arm_tls_descseq): New directive. + (md_pseudo_table): Add it. + (encode_branch): Allow TLS_CALL relocs too. + (do_t_blx, do_t_branch23): Use encode_branch. + (reloc_names): Add tlsdesc and tlscall. + (md_apply_fix): Process tls desc relocations. + (tc_gen_reloc): Likewise. + (arm_fix_adjustable): Likewise. + +2011-01-07 Quentin Neill <quentin.neill@amd.com> + + * config/tc-i386.c (cpu_arch): Add CPU_BMI_FLAGS. + + * doc/c-i386.texi (i386-BMI): New section. + +2011-01-06 Paul Koning <ni1d@arrl.net> + + * config/tc-pdp11.c (parse_op_no_deferred): Allow PC-relative + references to absolute addresses. + +2011-01-05 DJ Delorie <dj@redhat.com> + + * config/tc-rx.c (tc_gen_reloc): Emit an RX_OP_NEG expression + instead of an RH_NEG32 one. + +2011-01-05 Jonathan Wakely <jwakely.gcc@gmail.com> + + * doc/c-i386.texi: Clarify --n32. + +2011-01-04 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (build_modrm_byte): Allow encoding 32/64bit + integer registers in VEX.vvvv. Check register-only source + operand when two source operands are swapped. Properly update + destination when two source operands are swapped. + +2011-01-01 H.J. Lu <hongjiu.lu@intel.com> + + * gas.c (parse_args): Update copyright to 2011. + +For older changes see ChangeLog-2010 + +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 50ff4c3..cc2aa28 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -16,1464 +16,7 @@ * gas/mach-o/symbols-base-64.s: New. * gas/mach-o/symbols-base.s: New. -2011-12-29 Iain Sandoe <idsandoe@googlemail.com> - - * gas/mach-o/sections-1.d: Amend to recognize that bss is not emitted - by default. - * gas/mach-o/sections-2.d: New. - -2011-12-19 Iain Sandoe <idsandoe@googlemail.com> - - * gas/mach-o/err-sections-1.s: New. - * gas/mach-o/err-sections-2.s: New. - * gas/mach-o/sections-3.d: New. - * gas/mach-o/sections-3.s: New. - -2011-12-15 Iain Sandoe <iains@gcc.gnu.org> - - * gas/mach-o/subsect-via-symbols-0.d: New. - * gas/mach-o/subsect-via-symbols-1.d: New. - * gas/mach-o/subsect-via-symbols.s: New. - -2011-12-15 Nick Clifton <nickc@redhat.com> - - * gas/frv/immediates.s: New test file - checks assembly of - constant values. - * gas/frv/immediates.d: Expected disassembly. - * gas/frv/allinsn.exp: Run the new test. - -2011-12-14 Stuart Henderson <shenders@gcc.gnu.org> - - * gas/bfin/move.d: Update SRCx field expectations. - * gas/bfin/move2.d: Likewise. - * gas/bfin/parallel.d: Likewise. - * gas/bfin/parallel2.d: Likewise. - * gas/bfin/parallel3.d: Likewise. - * gas/bfin/parallel4.d: Likewise. - * gas/bfin/video.d: Likewise. - * gas/bfin/video2.d: Likewise. - -2011-12-14 Iain Sandoe <iains@gcc.gnu.org> - - * gas/mach-o/comm-1.d: New. - * gas/mach-o/comm-1.s: New. - * gas/mach-o/lcomm-1.s: New. - * gas/mach-o/mach-o.exp: Update to use run_dump_tests[]. - * gas/mach-o/sections-1.d: New. - * gas/mach-o/sections-1.s: New. - * gas/mach-o/warn-1.s: Add .comm alignment range warning. - -2011-12-14 Iain Sandoe <iains@gcc.gnu.org> - - * gas/mach-o: New. - * gas/mach-o/mach-o.exp: New. - * gas/mach-o/warn-1.s: New. - * gas/mach-o/lcomm-1.s: New. - * gas/mach-o/lcomm-1.d: New. - -2011-12-08 Andrew Pinski <apinski@cavium.com> - - * gas/mips/mips32-mt.d: Add pause instruction encoding to the end. - * gas/mips/micromips@mips32r2.d: Likewise. - * gas/mips/mips32r2.d: Likewise. - * gas/mips/mips32-mt.s: Add pause instruction to the end. - * gas/mips/mips32r2.s: Likewise. - -2011-12-08 Andrew Pinski <apinski@cavium.com> - Adam Nemet <anemet@caviumnetworks.com> - - * gas/mips/mips.exp: Add Octeon2 for an architecture. - Run octeon2 test. - * gas/mips/octeon2.d: New file. - * gas/mips/octeon2.s: New file. - -2011-12-07 Sameera Deshpande <sameera.deshpande@arm.com> - - * gas/arm/thumb2_ldstd_unpredictable.d: New testcase. - * gas/arm/thumb2_ldstd_unpredictable.l: Likewise. - * gas/arm/thumb2_ldstd_unpredictable.s: Likewise. - * gas/testsuite/gas/arm/sp-pc-validations-bad-t.l: Update - testcase. - * gas/testsuite/gas/arm/sp-pc-validations-bad-t.s: Likewise. - -2011-11-07 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * gas/arm/neon-suffix-bad.l: Add testcase. - * gas/arm/neon-suffix-bad.s: Likewise. - -2011-12-05 Richard Earnshaw <rearnsha@arm.com> - - * gas/arm/attr-any-armv4t.d: New test. - * gas/arm/attr-any-armv4t.s: New file. - * gas/arm/attr-any-thumbv6.d: New test. - * gas/arm/attr-any-thumbv6.s: New file. - -2011-11-30 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * gas/arm/cmdline-bad-arch.d: New test case. - * gas/arm/cmdline-bad-cpu.d: Likewise. - -2011-12-03 Richard Sandiford <rdsandiford@googlemail.com> - - * gas/mips/mips.exp (run_dump_test_arch): Add an opts parameter. - (run_dump_test_arches): Allow additional options to be passed. - (run_list_test_arch): Add opts to the name. - (run_list_test_arches): Allow the options to be elided. - (mips4-fp, mips5-fp): Run twice, one with -32 and once with -mabi=o64. - (mips64r2-ill, octeon-ill): Remove empty options string. - -2011-11-29 Andrew Pinski <apinski@cavium.com> - - * gas/mips/mips.exp: Add octeon+ for an architecture. - Run octeon-saa-saad test. - (run_dump_test_arch): For Octeon architectures, also try octeon@. - * gas/mips/octeon-pref.d: Remove -march=octeon from command line. - * gas/mips/octeon.d: Likewise. - * gas/mips/octeon-saa-saad.d: New file. - * gas/mips/octeon-saa-saad.s: New file - -2011-11-25 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * gas/arm/mov-highregs-any.d: New testcase. - * gas/arm/mov-highregs-any.s: Likewise. - * gas/arm/mov-lowregs-any.d: Likewise. - * gas/arm/mov-lowregs-any.s: Likewise. - -2011-11-21 Maciej W. Rozycki <macro@codesourcery.com> - - * gas/mips/micromips@24k-branch-delay-1.d: New test. - * gas/mips/micromips@24k-triple-stores-1.d: New test. - * gas/mips/micromips@24k-triple-stores-2.d: New test. - * gas/mips/micromips@24k-triple-stores-3.d: New test. - * gas/mips/micromips@24k-triple-stores-4.d: New test. - * gas/mips/micromips@24k-triple-stores-5.d: New test. - * gas/mips/micromips@24k-triple-stores-6.d: New test. - * gas/mips/micromips@24k-triple-stores-7.d: New test. - * gas/mips/micromips@24k-triple-stores-8.d: New test. - * gas/mips/micromips@24k-triple-stores-9.d: New test. - * gas/mips/micromips@24k-triple-stores-10.d: New test. - * gas/mips/micromips@24k-triple-stores-11.d: New test. - * gas/mips/24k-triple-stores-1.s: Adjust for microMIPS - disassembly. - * gas/mips/24k-triple-stores-2.s: Likewise. - * gas/mips/24k-triple-stores-3.s: Likewise. - * gas/mips/24k-triple-stores-4.s: Likewise. - * gas/mips/24k-triple-stores-5.s: Likewise. - * gas/mips/24k-triple-stores-6.s: Likewise. - * gas/mips/24k-triple-stores-7.s: Likewise. - * gas/mips/24k-triple-stores-8.s: Likewise. - * gas/mips/24k-triple-stores-9.s: Likewise. - * gas/mips/24k-triple-stores-10.s: Likewise. - * gas/mips/24k-triple-stores-11.s: Likewise. - * gas/mips/mips.exp: Run the new tests. - -2011-11-21 Maciej W. Rozycki <macro@codesourcery.com> - - * gas/mips/micromips@loc-swap-2.d: Correct test case. - -2011-11-16 Maciej W. Rozycki <macro@codesourcery.com> - - * gas/mips/mips-double-float-flag.l: Adjust according to - unsupported opcode message capitalization fix. - * gas/mips/mips-hard-float-flag.l: Likewise. - * gas/mips/mips-macro-ill-nofp.l: Likewise. - * gas/mips/mips-macro-ill-sfp.l: Likewise. - * gas/mips/mips1-fp.l: Likewise. - * gas/mips/mips16e-64.l: Likewise. - * gas/mips/mips32-sf32.l: Likewise. - * gas/mips/mips32r2-fp32.l: Likewise. - * gas/mips/mips4-branch-likely.l: Likewise. - * gas/mips/mips4-fp.l: Likewise. - * gas/mips/octeon-ill.l: Likewise. - -2011-11-14 Maciej W. Rozycki <macro@codesourcery.com> - - * gas/mips/relax-swap3.d: New test. - * gas/mips/mips16@relax-swap3.d: Likewise. - * gas/mips/micromips@relax-swap3.d: Likewise. - * gas/mips/relax-swap3.s: New test source. - * gas/mips/mips.exp: Run the new tests. - -2011-11-02 Nick Clifton <nickc@redhat.com> - - * gas/arm/pic.d: Update expected output. - -2011-10-25 Joern Rennecke <joern.rennecke@embecosm.com> - - * gas/epiphany: New directory. - * gas/testsuite/gas/epiphany/addr-syntax.d: New file. - * gas/testsuite/gas/epiphany/addr-syntax.s: New file. - * gas/testsuite/gas/epiphany/allinsn.d: New file. - * gas/testsuite/gas/epiphany/allinsn.exp: New file. - * gas/testsuite/gas/epiphany/allinsn.s: New file. - * gas/testsuite/gas/epiphany/badpostmod.s: New file. - * gas/testsuite/gas/epiphany/badrelax.d: New file. - * gas/testsuite/gas/epiphany/badrelax.s: New file. - * gas/testsuite/gas/epiphany/branch_lit.d: New file. - * gas/testsuite/gas/epiphany/branch_lit.s: New file. - * gas/testsuite/gas/epiphany/regression.d: New file. - * gas/testsuite/gas/epiphany/regression.s: New file. - * gas/testsuite/gas/epiphany/sample.d: New file. - * gas/testsuite/gas/epiphany/sample.s: New file. - -2011-10-24 Julian Brown <julian@codesourcery.com> - - * gas/m68k/all.exp (movem-offset): Add test. - * gas/m68k/movem-offset.s: New test. - * gas/m68k/movem-offset.d: New. - -2011-10-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * gas/s390/zarch-z10.d: Add CPUMF instructions. - * gas/s390/zarch-z10.s: Likewise. - -2011-10-18 Jie Zhang <jie@codesourcery.com> - Julian Brown <julian@codesourcery.com> - - * gas/arm/adrl.d: Adjust. - * gas/arm/immed2.d: New test. - * gas/arm/immed2.s: New test. - -2011-10-13 James Greenhalgh <james.greenhalgh@arm.com> - - * gas/arm/ldr-bad.s: New testcase. - * gas/arm/ldr-bad.l: Likewise. - * gas/arm/ldr-bad.d: Likewise. - * gas/arm/ldr.s: Likewise. - * gas/arm/ldr.d: Likewise. - * gas/arm/ldr-t-bad.s: Likewise. - * gas/arm/ldr-t-bad.l: Likewise. - * gas/arm/ldr-t-bad.d: Likewise. - * gas/arm/ldr-t.s: Likewise. - * gas/arm/ldr-t.d: Likewise. - * gas/arm/sp-pc-usage-t.s: Correct. - * gas/arm/sp-pc-usage-t.d: Update accordingly. - -2011-09-28 Jan Beulich <jbeulich@suse.com> - - * gas/ppc/476.s: Fix lswi first operand. - * gas/ppc/476.d: Adjust expected output. - * gas/ppc/a2.s: Fix lswi first operand. - * gas/ppc/a2.d: Adjust expected output. - * gas/ppc/power6.s: Fix lfdpx first operand. - * gas/ppc/power6.d: Adjust expected output. - -2011-09-28 Kai Tietz <ktietz@redhat.com> - - * gas/pe/section-exclude.d: Correct testcase. - -2011-09-27 Kai Tietz <ktietz@redhat.com> - - * gas/pe/pe.exp: Add new testcase. - * gas/pe/section-exclude.d: New file. - * gas/pe/section-exclude.s: New file. - -2011-09-27 David S. Miller <davem@davemloft.net> - - * gas/sparc/hpcvis3.s: Update to use float reg for random insn. - * gas/sparc/hpcvis3.d: Likewise. - -2011-09-26 David S. Miller <davem@davemloft.net> - - * gas/sparc/ima.d: New test. - * gas/sparc/ima.s: New test source. - * gas/sparc/sparc.exp: Run new test. - -2011-09-21 David S. Miller <davem@davemloft.net> - - * gas/sparc/hpcvis3.s: Update for fixed fchksum16 mnemonic. - * gas/sparc/hpcvis3.d: Likewise. - - * gas/sparc/imm-plus-rreg.d: Fix address regex for 64-bit. - * gas/sparc/save-args.d: Likewise. - * gas/sparc/ticc-imm-reg.d: Likewise, add -32 to options. - * gas/sparc/v8-movwr-imm.d: Likewise. - - * gas/sparc/hpcvis3.d: Pass '-Av9v'. - -2011-09-08 Mark Fortescue <mark@mtfhpc.demon.co.uk> - - * gas/sparc/imm-plus-rreg.[sd]: New test. - * gas/sparc/sparc.exp: Run new test. - - * gas/sparc/ticc-imm-reg.[sd]: New test. - * gas/sparc/v8-movwr-imm.[sd]: New test. - * gas/sparc/sparc.exp: Run new tests. - - * gas/sparc/save-args.[sd]: New test. - * gas/sparc/sparc.exp: Run new test. - -2011-09-08 David S. Miller <davem@davemloft.net> - - * gas/sparc/hpcvis3.s: Correct pdistn test. - * gas/sparc/hpcvis3.d: Likewise. - -2011-09-08 Richard Sandiford <rdsandiford@googlemail.com> - - PR gas/13167 - * gas/ia64/pr13167.d, gas/ia64/pr13167.s: New test. - * gas/ia64/ia64.exp: Run it. - -2011-09-07 Andreas Schwab <schwab@linux-m68k.org> - - PR gas/13145 - * gas/m68k/all.exp: Run "mode5" test also with -mcpu=5200. - * gas/m68k/mode5.s: Add moveml testcases. - * gas/m68k/mode5.d: Update. - -2011-09-05 Richard Sandiford <rdsandiford@googlemail.com> - - * gas/mips/loc-swap-2.s, gas/mips/loc-swap-2.d, - gas/mips/micromips@loc-swap-2.d, - gas/mips/mips16@loc-swap-2.d: New test. - * gas/mips/mips.exp: Run it. - -2011-08-19 Sergey A. Guriev <sergeya.a.guriev@intel.com> - - * gas/i386/avx-gather-intel.d: Added missing vpgather tests. - * gas/i386/avx-gather.d: Likewise. - * gas/i386/x86-64-avx-gather-intel.d: Likewise. - * gas/i386/x86-64-avx-gather.d: Likewise. - - * gas/i386/avx-intel.d: Added missing vpinsrd and removed - duplicated vpinsrb instructions. - * gas/i386/avx.d: Likewise. - * gas/i386/avx.s: Likewise. - * gas/i386/ilp32/x86-64-avx-intel.d: Likewise. - * gas/i386/ilp32/x86-64-avx.d: Likewise. - * gas/i386/x86-64-avx-intel.d: Likewise. - * gas/i386/x86-64-avx.d: Likewise. - * gas/i386/x86-64-avx.s: Likewise. - -2011-08-10 Maciej W. Rozycki <macro@codesourcery.com> - - * gas/mips/micromips@mips5.d: Rename to... - * gas/mips/micromips@mips5-fp.d: ... this. - * gas/mips/mips5.d: Rename to... - * gas/mips/mips5-fp.d: ... this. - * gas/mips/mips5.l: Rename to... - * gas/mips/mips5-fp.l: ... this. - * gas/mips/mips5.s: Rename to... - * gas/mips/mips5-fp.s: ... this. - * gas/mips/mips.exp: Update accordingly. - -2011-08-10 Maciej W. Rozycki <macro@codesourcery.com> - - * gas/mips/mips.exp: Define new "fpisa3", "fpisa4" and "fpisa5" - architecture properties adding them to "mips3", "mips4", "mips5" - and "mips32r2" architectures. Use the new properties for the - "24k-triple-stores-1", "24k-triple-stores-3", "mips4-fp", - "mips5" and "alnv_ps-swap" tests. - -2011-08-09 Maciej W. Rozycki <macro@codesourcery.com> - Chao-ying Fu <fu@mips.com> - - * gas/mips/micromips@mcu.d: New test. - * gas/mips/mcu.d: Likewise. - * gas/mips/mcu.s: New test source. - * gas/mips/mips.exp: Run the new tests. - -2011-08-09 Maciej W. Rozycki <macro@codesourcery.com> - - * gas/mips/micromips.d: Update according to changes to enable - microMIPS branch swapping. - * gas/mips/micromips-trap.d: Likewise. - * gas/mips/micromips@jal-svr4pic.d: Likewise. - * gas/mips/micromips@loc-swap.d: Likewise. - * gas/mips/micromips@loc-swap-dis.d: Likewise. - -2011-08-05 David S. Miller <davem@davemloft.net> - - * gas/sparc/hpcvis3.d: New test. - * gas/sparc/hpcvis3.s: New test source. - * gas/sparc/sparc.exp: Run new test. - -2011-08-05 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/x86-64-branch.d: Pass -dw to objdump and support - win64. - -2011-08-04 H.J. Lu <hongjiu.lu@intel.com> - - * gas/elf/bad-group.d: New. - * gas/elf/bad-group.err: Likewise. - * gas/elf/bad-group.s: Likewise. - - * gas/elf/elf.exp: Run bad-group. - -2011-08-03 James Greenhalgh <james.greenhalgh@arm.com> - - * gas/arm/strex-bad-t.d: New testcase. - * gas/arm/strex-bad-t.s: Likewise. - * gas/arm/strex-bad-t.l: Likewise. - * gas/arm/strex-t.s: Likewise. - * gas/arm/strex-t.d: Likewise. - -2011-08-01 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/13048 - * gas/i386/ilp32/ilp32.exp: Don't run inval. - - * gas/i386/ilp32/inval.l: Removed. - * gas/i386/ilp32/inval.s: Likewise. - - * gas/i386/ilp32/quad.d: Expect R_X86_64_64 instead of - R_X86_64_32. - - * gas/i386/ilp32/x86-64-pcrel.s: Add tests for movabs. - * gas/i386/ilp32/x86-64-pcrel.d: Updated. - -2011-08-01 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/13046 - * gas/i386/x86-64-branch.s: Add tests for direct branch. - * gas/i386/x86-64-branch.d: Updated. - * gas/i386/ilp32/x86-64-branch.d: Likewise. - -2011-07-29 Nick Clifton <nickc@redhat.com> - - * gas/elf/warn-2.s: Add other types of NOP insn. - -2011-07-27 Nathan Sidwell <nathan@codesourcery.com> - - * gas/elf/warn-2.s: New. - * gas/elf/elf.exp: Run the new test. - -2011-07-26 Kazuhiro Inaoka <kazuhiro.inaoka.ud@renesas.com> - - * gas/rx/r-bcc.d: Update expected disassembly of synthetic beq.a - instruction. - -2011-07-24 Maciej W. Rozycki <macro@codesourcery.com> - Chao-ying Fu <fu@mips.com> - Richard Sandiford <rdsandiford@googlemail.com> - - * gas/mips/micromips.d: New test. - * gas/mips/micromips-branch-delay.d: Likewise. - * gas/mips/micromips-branch-relax.d: Likewise. - * gas/mips/micromips-branch-relax-pic.d: Likewise. - * gas/mips/micromips-size-1.d: Likewise. - * gas/mips/micromips-trap.d: Likewise. - * gas/mips/micromips.l: New stderr output. - * gas/mips/micromips-branch-delay.l: Likewise. - * gas/mips/micromips-branch-relax.l: Likewise. - * gas/mips/micromips-branch-relax-pic.l: Likewise. - * gas/mips/micromips-size-0.l: New list test. - * gas/mips/micromips-size-1.l: New stderr output. - * gas/mips/micromips.s: New test source. - * gas/mips/micromips-branch-delay.s: Likewise. - * gas/mips/micromips-branch-relax.s: Likewise. - * gas/mips/micromips-size-0.s: Likewise. - * gas/mips/micromips-size-1.s: Likewise. - * gas/mips/mips.exp: Run the new tests. - - * gas/mips/dli.s: Use .p2align. - * gas/mips/elf_ase_micromips.d: New test. - * gas/mips/elf_ase_micromips-2.d: Likewise. - * gas/mips/micromips@abs.d: Likewise. - * gas/mips/micromips@add.d: Likewise. - * gas/mips/micromips@alnv_ps-swap.d: Likewise. - * gas/mips/micromips@and.d: Likewise. - * gas/mips/micromips@beq.d: Likewise. - * gas/mips/micromips@bge.d: Likewise. - * gas/mips/micromips@bgeu.d: Likewise. - * gas/mips/micromips@blt.d: Likewise. - * gas/mips/micromips@bltu.d: Likewise. - * gas/mips/micromips@branch-likely.d: Likewise. - * gas/mips/micromips@branch-misc-1.d: Likewise. - * gas/mips/micromips@branch-misc-2-64.d: Likewise. - * gas/mips/micromips@branch-misc-2.d: Likewise. - * gas/mips/micromips@branch-misc-2pic-64.d: Likewise. - * gas/mips/micromips@branch-misc-2pic.d: Likewise. - * gas/mips/micromips@branch-misc-4-64.d: Likewise. - * gas/mips/micromips@branch-misc-4.d: Likewise. - * gas/mips/micromips@branch-self.d: Likewise. - * gas/mips/micromips@cache.d: Likewise. - * gas/mips/micromips@daddi.d: Likewise. - * gas/mips/micromips@dli.d: Likewise. - * gas/mips/micromips@elf-jal.d: Likewise. - * gas/mips/micromips@elf-rel2.d: Likewise. - * gas/mips/micromips@elfel-rel2.d: Likewise. - * gas/mips/micromips@elf-rel4.d: Likewise. - * gas/mips/micromips@jal-svr4pic.d: Likewise. - * gas/mips/micromips@jal-svr4pic-noreorder.d: Likewise. - * gas/mips/micromips@lb-svr4pic-ilocks.d: Likewise. - * gas/mips/micromips@li.d: Likewise. - * gas/mips/micromips@loc-swap-dis.d: Likewise. - * gas/mips/micromips@loc-swap.d: Likewise. - * gas/mips/micromips@mips1-fp.d: Likewise. - * gas/mips/micromips@mips32-cp2.d: Likewise. - * gas/mips/micromips@mips32-imm.d: Likewise. - * gas/mips/micromips@mips32-sf32.d: Likewise. - * gas/mips/micromips@mips32.d: Likewise. - * gas/mips/micromips@mips32r2-cp2.d: Likewise. - * gas/mips/micromips@mips32r2-fp32.d: Likewise. - * gas/mips/micromips@mips32r2-sync.d: Likewise. - * gas/mips/micromips@mips32r2.d: Likewise. - * gas/mips/micromips@mips4-branch-likely.d: Likewise. - * gas/mips/micromips@mips4-fp.d: Likewise. - * gas/mips/micromips@mips4.d: Likewise. - * gas/mips/micromips@mips5.d: Likewise. - * gas/mips/micromips@mips64-cp2.d: Likewise. - * gas/mips/micromips@mips64.d: Likewise. - * gas/mips/micromips@mips64r2.d: Likewise. - * gas/mips/micromips@pref.d: Likewise. - * gas/mips/micromips@relax-at.d: Likewise. - * gas/mips/micromips@relax.d: Likewise. - * gas/mips/micromips@rol-hw.d: Likewise. - * gas/mips/micromips@uld2-eb.d: Likewise. - * gas/mips/micromips@uld2-el.d: Likewise. - * gas/mips/micromips@ulh2-eb.d: Likewise. - * gas/mips/micromips@ulh2-el.d: Likewise. - * gas/mips/micromips@ulw2-eb-ilocks.d: Likewise. - * gas/mips/micromips@ulw2-el-ilocks.d: Likewise. - * gas/mips/cache.d: Likewise. - * gas/mips/daddi.d: Likewise. - * gas/mips/mips32-imm.d: Likewise. - * gas/mips/pref.d: Likewise. - * gas/mips/elf-rel27.d: Handle microMIPS ASE. - * gas/mips/l_d.d: Likewise. - * gas/mips/l_d-n32.d: Likewise. - * gas/mips/l_d-n64.d: Likewise. - * gas/mips/ld.d: Likewise. - * gas/mips/ld-n32.d: Likewise. - * gas/mips/ld-n64.d: Likewise. - * gas/mips/s_d.d: Likewise. - * gas/mips/s_d-n32.d: Likewise. - * gas/mips/s_d-n64.d: Likewise. - * gas/mips/sd.d: Likewise. - * gas/mips/sd-n32.d: Likewise. - * gas/mips/sd-n64.d: Likewise. - * gas/mips/mips32.d: Update immediates. - * gas/mips/micromips@mips32-cp2.s: New test source. - * gas/mips/micromips@mips32-imm.s: Likewise. - * gas/mips/micromips@mips32r2-cp2.s: Likewise. - * gas/mips/micromips@mips64-cp2.s: Likewise. - * gas/mips/cache.s: Likewise. - * gas/mips/daddi.s: Likewise. - * gas/mips/mips32-imm.s: Likewise. - * gas/mips/elf-rel4.s: Handle microMIPS ASE. - * gas/mips/lb-pic.s: Likewise. - * gas/mips/ld.s: Likewise. - * gas/mips/mips32.s: Likewise. - * gas/mips/mips.exp: Add the micromips arch. Exclude mips16e - from micromips. Run mips32-imm. - - * gas/mips/jal-mask-11.d: New test. - * gas/mips/jal-mask-12.d: Likewise. - * gas/mips/micromips@jal-mask-11.d: Likewise. - * gas/mips/jal-mask-1.s: Source for the new tests. - * gas/mips/jal-mask-21.d: New test. - * gas/mips/jal-mask-22.d: Likewise. - * gas/mips/micromips@jal-mask-12.d: Likewise. - * gas/mips/jal-mask-2.s: Source for the new tests. - * gas/mips/mips.exp: Run the new tests. - - * gas/mips/mips16-e.d: Add --special-syms to `objdump'. - * gas/mips/tmips16-e.d: Likewise. - * gas/mips/mipsel16-e.d: Likewise. - * gas/mips/tmipsel16-e.d: Likewise. - - * gas/mips/and.s: Adjust padding. - * gas/mips/beq.s: Likewise. - * gas/mips/bge.s: Likewise. - * gas/mips/bgeu.s: Likewise. - * gas/mips/blt.s: Likewise. - * gas/mips/bltu.s: Likewise. - * gas/mips/branch-misc-2.s: Likewise. - * gas/mips/jal.s: Likewise. - * gas/mips/li.s: Likewise. - * gas/mips/mips4.s: Likewise. - * gas/mips/mips4-fp.s: Likewise. - * gas/mips/relax.s: Likewise. - * gas/mips/and.d: Update accordingly. - * gas/mips/elf-jal.d: Likewise. - * gas/mips/jal.d: Likewise. - * gas/mips/li.d: Likewise. - * gas/mips/relax-at.d: Likewise. - * gas/mips/relax.d: Likewise. - -2011-07-22 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/k1om.d: New. - * gas/i386/k1om-inval.l: Likewise. - * gas/i386/k1om-inval.s: Likewise. - - * gas/i386/i386.exp: Run k1om-inval and k1om. - -2011-07-04 Maciej W. Rozycki <macro@codesourcery.com> - - * gas/mips/loc-swap.d: New test case for DWARF-2 location with - branch swapping. - * gas/mips/loc-swap-dis.d: Likewise. - * gas/mips/mips16@loc-swap.d: Likewise, MIPS16 version. - * gas/mips/mips16@loc-swap-dis.d: Likewise. - * gas/mips/loc-swap.s: Source for the new tests. - * gas/mips/mips.exp: Run the new tests. - -2011-06-30 H.J. Lu <hongjiu.lu@intel.com> - - AVX Programming Reference (June, 2011) - * gas/i386/bmi2.s: Correct rorx tests. - * gas/i386/x86-64-bmi2.s: Likewise. - - * gas/i386/bmi2-intel.d: Updated. - * gas/i386/bmi2.d: Likewise. - * gas/i386/x86-64-bmi2-intel.d: Likewise. - * gas/i386/x86-64-bmi2.d: Likewise. - -2011-06-30 Paul Carroll <pcarroll@codesourcery.com> - - * gas/arm/addthumb2err.s: New test file. - * gas/arm/addthumb2err.d: Test control file. - * gas/arm/addthumb2err.l: Expected error messages. - -2011-06-30 Nick Clifton <nickc@redhat.com> - - PR gas/12931 - * gas/arm/blx-bad.d: Add exrta nop at end of disassembly. - * gas/arm/inst-po-be.d: Add exrta nop at end of disassembly. - * gas/arm/inst-po.d: Add exrta nop at end of disassembly. - -2011-06-30 Nick Clifton <nickc@redhat.com> - - PR gas/12848 - * gas/arm/thumb-b-bad.s: New test. - * gas/arm/thumb-b-bad.d: Test control file. - * gas/arm/thumb-b-bad.l: Expected error output. - -2011-06-29 Richard Sandiford <rdsandiford@googlemail.com> - - * gas/mips/mips16-e.d, gas/mips/mips16-f.d, - gas/mips/mipsel16-e.d, gas/mips/mipsel16-f.d, - gas/mips/tmips16-e.d, gas/mips/tmips16-f.d, - gas/mips/tmipsel16-e.d, gas/mips/tmipsel16-f.d: Fix GPR mask. - * gas/mips/reginfo-1.s, gas/mips/reginfo-1a.d, - gas/mips/reginfo-1b.d: New tests. - * gas/mips/mips.exp: Run them. - -2011-06-29 Richard Sandiford <rdsandiford@googlemail.com> - - * gas/mips/24k-triple-stores-9.d: Add -z to dump options and - explicitly match one nop. - * gas/mips/24k-triple-stores-10.d: Likewise. - * gas/mips/24k-triple-stores-11.d: Likewise. - * gas/mips/lifloat.d: Likewise. - * gas/mips/trunc.d: Likewise 1 extra nop. - * gas/mips/vr4111.d: Likewise 2 nops. - -2011-06-26 Richard Sandiford <rdsandiford@googlemail.com> - - * gas/mips/24k-branch-delay-1.d: Do not allow stores to be put - into delay slots. - * gas/mips/24k-triple-stores-1.d: Put the first nop after the - second store, rather than the first. - * gas/mips/24k-triple-stores-2.d: Likewise. - * gas/mips/24k-triple-stores-4.d: Likewise. - * gas/mips/24k-triple-stores-8.d: Likewise. - * gas/mips/24k-triple-stores-3.d: Remove first nop. - * gas/mips/24k-triple-stores-5.d: Likewise. - * gas/mips/24k-triple-stores-6.d: Likewise. - * gas/mips/24k-triple-stores-7.d: Likewise. - * gas/mips/24k-triple-stores-9.d: Add a nop after the second store. - Expect a nop at the end. - * gas/mips/24k-triple-stores-10.d: Put the first nop after the - second store, rather than the first. Expect a nop at the end. - -2011-06-25 Richard Sandiford <rdsandiford@googlemail.com> - - * gas/mips/vr4130.s: Add some more ".set noreorder" tests. - * gas/mips/vr4130.d: Update accordingly. - -2011-06-23 Richard Sandiford <rdsandiford@googlemail.com> - - * gas/mips/pr12915.s, gas/mips/pr12915.d: New test. - * gas/mips/mips.exp: Run it. - -2011-06-21 Sameera Deshpande <sameera.deshpande@arm.com> - - * gas/arm/vcvt-bad.d: New test. - * gas/arm/vcvt-bad.l: Likewise. - * gas/arm/vcvt-bad.s: Likewise. - * gas/arm/vcvt.d: Likewise. - * gas/arm/vcvt.s: Likewise. - -2011-06-14 Tristan Gingold <gingold@adacore.com> - - * gas/ppc/test1xcoff32.d: Adjust for csect anchor. - -2011-06-13 Walter Lee <walt@tilera.com> - - * gas/tilepro/t_constants.s: New file. - * gas/tilepro/t_constants.d: Likewise. - * gas/tilepro/t_insns.s: Likewise. - * gas/tilepro/tilepro.exp: Likewise. - * gas/tilepro/t_insns.d: Likewise. - * gas/tilegx/tilegx.exp: Likewise. - * gas/tilegx/t_insns.d: Likewise. - * gas/tilegx/t_insns.s: Likewise. - -2011-06-13 Nick Clifton <nickc@redhat.com> - - PR gas/12854 - * gas/arm/shift-bad.s: New test. - * gas/arm/shift-bad.l: Expcted error output. - * gas/arm/shift-bad.s: New control file. - -2011-06-12 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/arch-10-lzcnt.d: Updated. - * gas/i386/x86-64-arch-2-lzcnt.d: Likewise. - -2011-06-10 H.J. Lu <hongjiu.lu@intel.com> - - AVX Programming Reference (June, 2011) - * gas/i386/arch-10-1.l: Updated. - * gas/i386/arch-10-2.l: Likewise. - * gas/i386/arch-10-3.l: Likewise. - * gas/i386/arch-10-4.l: Likewise. - - * gas/i386/arch-10.s: Add LZCNT to comments. - * gas/i386/x86-64-arch-2.s: Likewise. - - * gas/i386/arch-10-lzcnt.d: New. - * gas/i386/avx-gather-intel.d: Likewise. - * gas/i386/avx-gather.d: Likewise. - * gas/i386/avx-gather.s: Likewise. - * gas/i386/avx2-intel.d: Likewise. - * gas/i386/avx2.d: Likewise. - * gas/i386/avx2.s: Likewise - * gas/i386/avx256int-intel.d: Likewise. - * gas/i386/avx256int.d: Likewise. - * gas/i386/avx256int.s: Likewise. - * gas/i386/bmi2-intel.d: Likewise. - * gas/i386/bmi2.d: Likewise. - * gas/i386/bmi2.s: Likewise. - * gas/i386/inval-invpcid.l:Likewise. - * gas/i386/inval-invpcid.s: Likewise. - * gas/i386/invpcid-intel.d: Likewise. - * gas/i386/invpcid.d: Likewise. - * gas/i386/invpcid.s: Likewise. - * gas/i386/x86-64-arch-2-lzcnt.d: Likewise. - * gas/i386/x86-64-avx-gather-intel.d: Likewise. - * gas/i386/x86-64-avx-gather.d: Likewise. - * gas/i386/x86-64-avx-gather.s: Likewise. - * gas/i386/x86-64-avx2-intel.d: Likewise. - * gas/i386/x86-64-avx2.d: Likewise. - * gas/i386/x86-64-avx2.s: Likewise. - * gas/i386/x86-64-avx256int-intel.d: Likewise. - * gas/i386/x86-64-avx256int.d: Likewise. - * gas/i386/x86-64-avx256int.s: Likewise. - * gas/i386/x86-64-bmi2-intel.d: Likewise. - * gas/i386/x86-64-bmi2.d: Likewise. - * gas/i386/x86-64-bmi2.s: Likewise. - * gas/i386/x86-64-inval-invpcid.l: Likewise. - * gas/i386/x86-64-inval-invpcid.s: Likewise. - * gas/i386/x86-64-invpcid-intel.d: Likewise. - * gas/i386/x86-64-invpcid.d: Likewise. - * gas/i386/x86-64-invpcid.s: Likewise. - -2011-06-09 James Greenhalgh <james.greenhalgh@arm.com> - - * gas/arm/ldrd-unpredicatble.d: New testcase. - * gas/arm/ldrd-unpredicatble.s: Likewise. - * gas/arm/ldrd-unpredicatble.l: Likewise. - -2011-06-02 Jie Zhang <jie@codesourcery.com> - Nathan Sidwell <nathan@codesourcery.com> - - * gas/arm/inst.d: Adjust for signed zero offsets. - * gas/arm/ldst-offset0.d: New test. - * gas/arm/ldst-offset0.s: New test. - * gas/arm/offset-1.d: New test. - * gas/arm/offset-1.s: New test. - -2011-05-31 Paul Brook <paul@codesourcery.com> - - * gas/arm/arm-idiv-bad.d: New test. - * gas/arm/arm-idiv-bad.s: New test. - * gas/arm/arm-idiv-bad.l: New test. - * gas/arm/arm-idiv.d: New test. - * gas/arm/arm-idiv.s: New test. - -2011-05-31 Paul Brook <paul@codesourcery.com> - - * gas/arm/ldr-global.d: New test. - * gas/arm/ldr-global.s: New test. - -2011-05-31 Paul Brook <paul@codesourcery.com> - - * arm/t2-branch-global.d: New test. - * arm/t2-branch-global.s: New test. - -2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * gas/s390/esa-g5.d: Fix fp register pair operands. - * gas/s390/esa-g5.s: Likewise. - * gas/s390/zarch-z196.d: Likewise. - * gas/s390/zarch-z196.s: Likewise. - * gas/s390/zarch-z9-109.d: Likewise. - * gas/s390/zarch-z9-109.s: Likewise. - * gas/s390/zarch-z9-ec.d: Likewise. - * gas/s390/zarch-z9-ec.s: Likewise. - -2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * gas/s390/esa-g5.d: Fix register pair operands. - * gas/s390/esa-g5.s: Likewise. - * gas/s390/esa-z9-109.d: Likewise. - * gas/s390/esa-z9-109.s: Likewise. - * gas/s390/zarch-z196.d: Likewise. - * gas/s390/zarch-z196.s: Likewise. - * gas/s390/zarch-z9-109.d: Likewise. - * gas/s390/zarch-z9-109.s: Likewise. - * gas/s390/zarch-z900.d: Likewise. - * gas/s390/zarch-z900.s: Likewise. - * gas/s390/zarch-z990.d: Likewise. - * gas/s390/zarch-z990.s: Likewise. - -2011-05-20 Bernd Schmidt <bernds@codesourcery.com> - - * gas/tic6x/pcr-relocs.d: New test. - * gas/tic6x/pcr-relocs.s: New test. - * gas/tic6x/pcr-relocs-undef.d: New test. - * gas/tic6x/pcr-relocs-undef.s: New test. - * gas/tic6x/reloc-bad-2.s: Update for pcr_offset. - * gas/tic6x/reloc-bad-2.l: Update for pcr_offset. - -2011-05-18 Nick Clifton <nickc@redhat.com> - - * gas/arm/req.l: Updated expected warning message. - -2011-05-18 Tristan Gingold <gingold@adacore.com> - - * gas/ppc/xcoff-dwsect-1-32.d: New test. - * gas/ppc/xcoff-dwsect-1-64.d: Ditto. - * gas/ppc/xcoff-dwsect-1.s: New file. - * gas/ppc/aix.exp (do_align_test): Add tests. - -2011-05-16 Hans-Peter Nilsson <hp@axis.com> - - * gas/cris/rd-brokw-pic-1.d, gas/cris/rd-brokw-pic-2.d, - gas/cris/rd-fragtest-pic.d: Gate on targets cris-*-*elf* and - cris-*-linux-gnu. - * gas/cris/pic-err-2.s, gas/cris/pic-err-3.s: New tests. - -2011-05-14 Alan Modra <amodra@gmail.com> - - * gas/all/gas.exp: Fix typo last change. - -2011-05-13 Alan Modra <amodra@gmail.com> - - * gas/all/gas.exp: Remove some xfails on redef2 and redef3 tests. - Update comments. - * gas/hppa/unsorted/unsorted.exp: Run globalbug test on appropriate - targets rather than xfailing. - -2011-05-12 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - PR gas/12715 - * gas/arm/neon-const.s: Add testcase for 64-bit Neon constants. - * gas/arm/neon-const.d: Likewise. - -2011-05-11 Richard Sandiford <rdsandiford@googlemail.com> - - * gas/mips/24k-branch-delay-1.d: Allow 64-bit addresses. Stub out - function names. - * gas/mips/24k-triple-stores-1.d: Likewise. - * gas/mips/24k-triple-stores-2.d: Likewise. - * gas/mips/24k-triple-stores-3.d: Likewise. - * gas/mips/24k-triple-stores-4.d: Likewise. - * gas/mips/24k-triple-stores-5.d: Likewise. - * gas/mips/24k-triple-stores-7.d: Likewise. - * gas/mips/24k-triple-stores-8.d: Likewise. - * gas/mips/24k-triple-stores-9.d: Likewise. - * gas/mips/24k-triple-stores-10.d: Likewise. - * gas/mips/24k-triple-stores-11.d: Likewise. - * gas/mips/24k-triple-stores-6.d: Likewise. Add -EB. - * gas/mips/mips.exp: Only run 24k-triple-stores-11.d on ELF targets. - -2011-05-11 Richard Sandiford <rdsandiford@googlemail.com> - - * gas/mips/24k-branch-delay-1.d: Add -32 to assembler options. - * gas/mips/24k-triple-stores-1.d: Likewise. - * gas/mips/24k-triple-stores-2.d: Likewise. - * gas/mips/24k-triple-stores-3.d: Likewise. - * gas/mips/24k-triple-stores-4.d: Likewise. - * gas/mips/24k-triple-stores-5.d: Likewise. - * gas/mips/24k-triple-stores-6.d: Likewise. - * gas/mips/24k-triple-stores-7.d: Likewise. - * gas/mips/24k-triple-stores-8.d: Likewise. - * gas/mips/24k-triple-stores-9.d: Likewise. - * gas/mips/24k-triple-stores-10.d: Likewise. - * gas/mips/24k-triple-stores-11.d: Likewise. - -2011-05-11 Tejas Belagod <tejas.belagod@arm.com> - - * gas/arm/ld-sp-warn-cortex-m3.d: New test. - * gas/arm/ld-sp-warn-cortex-m3.l: New test. - * gas/arm/ld-sp-warn-cortex-m4.d: New test. - * gas/arm/ld-sp-warn-cortex-m4.l: New test. - * gas/arm/ld-sp-warn-v7.d: New test. - * gas/arm/ld-sp-warn-v7.l: New test. - * gas/arm/ld-sp-warn-v7a.d: New test. - * gas/arm/ld-sp-warn-v7a.l: New test. - * gas/arm/ld-sp-warn-v7e-m.l: New test. - * gas/arm/ld-sp-warn-v7em.d: New test. - * gas/arm/ld-sp-warn-v7m.d: New test. - * gas/arm/ld-sp-warn-v7m.l: New test. - * gas/arm/ld-sp-warn-v7r.d: New test. - * gas/arm/ld-sp-warn-v7r.l: New test. - * gas/arm/ld-sp-warn.s: New test. - -2010-05-10 Quentin Neill <quentin.neill@amd.com> - - * gas/i386/i386.exp: Add new bdver2 test cases. - * gas/i386/nops-1-bdver2.d: New. - * gas/i386/x86-64-nops-1-bdver2.d: New. - -2011-05-09 Paul Brook <paul@codesourcery.com> - - * gas/tic6x/unwind-1.d: New test. - * gas/tic6x/unwind-1.s: New test. - * gas/tic6x/unwind-2.d: New test. - * gas/tic6x/unwind-2.s: New test. - * gas/tic6x/unwind-3.d: New test. - * gas/tic6x/unwind-3.s: New test. - * gas/tic6x/unwind-bad-1.d: New test. - * gas/tic6x/unwind-bad-1.s: New test. - * gas/tic6x/unwind-bad-1.l: New test. - * gas/tic6x/unwind-bad-2.d: New test. - * gas/tic6x/unwind-bad-2.s: New test. - * gas/tic6x/unwind-bad-2.l: New test. - -2011-04-29 Hans-Peter Nilsson <hp@axis.com> - - * gas/elf/dwarf2-1.d, gas/elf/dwarf2-2.d: Adjust for change in - output format. - * gas/i386/dw2-compress-1.d: Ditto. - -2011-04-20 Catherine Moore <clm@codesourcery.com> - David Ung <davidu@mips.com> - - * gas/mips/24k-branch-delay-1.d: New. - * gas/mips/24k-branch-delay-1.s: New. - * gas/mips/24k-triple-stores-1.d: New. - * gas/mips/24k-triple-stores-1.s: New. - * gas/mips/24k-triple-stores-2.d: New. - * gas/mips/24k-triple-stores-2.s: New. - * gas/mips/24k-triple-stores-3.d: New. - * gas/mips/24k-triple-stores-3.s: New. - * gas/mips/24k-triple-stores-4.s: New. - * gas/mips/24k-triple-stores-4.d: New. - * gas/mips/24k-triple-stores-5.d: New. - * gas/mips/24k-triple-stores-5.s: New. - * gas/mips/24k-triple-stores-6.d: New. - * gas/mips/24k-triple-stores-6.s: New. - * gas/mips/24k-triple-stores-7.d: New. - * gas/mips/24k-triple-stores-7.s: New. - * gas/mips/24k-triple-stores-8.d: New. - * gas/mips/24k-triple-stores-8.s: New. - * gas/mips/24k-triple-stores-9.d: New. - * gas/mips/24k-triple-stores-9.s: New. - * gas/mips/24k-triple-stores-10.d: New. - * gas/mips/24k-triple-stores-10.s: New. - * gas/mips/24k-triple-stores-11.d: New. - * gas/mips/24k-triple-stores-11.s: New. - * gas/mips/mips.exp: Invoke new tests. - -2011-04-19 Nick Clifton <nickc@redhat.com> - - * gas/arm/mrs-msr-thumb-v7e-m.s: Restore name of basepri_max - register. - * gas/arm/mrs-msr-thumb-v7e-m.d: Likewise. - * gas/arm/arch7.d: Likewise. - * gas/arm/arch7.s: Likewise. - -2011-04-18 Nick Clifton <nickc@redhat.com> - - * gas/arm/arch7.s: Fix typo basepri_max should be basepri_mask. - * gas/arm/mrs-msr-thumb-v7e-m.s: Likewise. - * gas/arm/arch7.d: Update expected disassembly. - * gas/arm/attr-march-armv7.d: Remove Microcontroller tag. - * gas/arm/blx-bad.d: Only run for ELF based targets. - * gas/arm/mrs-msr-thumb-v6t2.d: Likewise. - * gas/arm/vldm-arm.d: Likewise. - * gas/arm/mrs-msr-thumb-v7-m.d: Likewise. - Remove qualifiers from PSR and IAPSR regsiter names. - * gas/arm/mrs-msr-thumb-v7e-m.d: Likewise. - * gas/arm/thumb2_bcond.d: Update expected disassembly to allow for - relaxing of branch insns. - * gas/arm/thumb32.d: Fix whitespace problems in disassembly. - -2011-04-18 Tristan Gingold <gingold@adacore.com> - - * gas/macros/app1.s: Export symbol - * gas/macros/app2.s: Ditto - * gas/macros/app3.s: Ditto - * gas/macros/app4.s: Ditto - * gas/macros/app4b.s: Ditto - * gas/macros/app1.d: Adjust. - * gas/macros/app2.d: Ditto. - * gas/macros/app3.d: Ditto. - * gas/macros/app4.d: Ditto. - -2011-04-18 Tristan Gingold <gingold@adacore.com> - - * lib/gas-defs.exp (get_standard_section_names): Add names for - alpha vms. - * gas/all/gas.exp: Do not test diff1.s on alpha-vms. - -2011-04-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * gas/s390/zarch-machine.s: New testcase. - * gas/s390/zarch-machine.d: New testcase output. - * gas/s390/s390.exp: Execute the new testcase. - -2011-04-13 Nick Clifton <nickc@redhat.com> - - * gas/v850/v850e1.s: Add a insn using reg+offset addressing. - * gas/v850/v850e1.d: Add expected disassembly. - -2011-04-12 Nick Clifton <nickc@redhat.com> - - PR binutils/12534 - * gas/arm/thumb32.s: Add PC relative LDRD and STRD insns. - * gas/arm/thumb32.l: Update expected output. - * gas/arm/thumb32.d: Update expected disassembly. - - PR gas/12532 - * gas/arm/plt-1.d: Update expected disassembly. - * gas/arm/thumb2_bcond.d: Likewise. - * gas/arm/weakdef-1.d: Likewise. - -2011-04-12 Alan Modra <amodra@gmail.com> - - * gas/all/gas.exp (do_930509a): Don't xfail h8300 and mn10200. - -2011-04-11 Julian Brown <julian@codesourcery.com> - - * gas/arm/mrs-msr-thumb-v7-m.s: New. - * gas/arm/mrs-msr-thumb-v7-m.d: New. - * gas/arm/mrs-msr-thumb-v7-m-bad.d: New. - * gas/arm/mrs-msr-thumb-v7-m-bad.l: New. - * gas/arm/mrs-msr-thumb-v7-m-bad.s: New. - * gas/arm/mrs-msr-thumb-v7e-m.d: New. - * gas/arm/mrs-msr-thumb-v7e-m.s: New. - * gas/arm/mrs-msr-arm-v7-a-bad.d: New. - * gas/arm/mrs-msr-arm-v7-a-bad.l: New. - * gas/arm/mrs-msr-arm-v7-a-bad.s: New. - * gas/arm/mrs-msr-arm-v7-a.d: New. - * gas/arm/mrs-msr-arm-v7-a.s: New. - * gas/arm/mrs-msr-arm-v6.d: New. - * gas/arm/mrs-msr-arm-v6.s: New. - * gas/arm/mrs-msr-thumb-v6t2.d: New. - * gas/arm/mrs-msr-thumb-v6t2.s: New. - * gas/arm/arch7.d: Fix typo in disassembly for BASEPRI_MAX, - bitmasks for IAPSR etc. - * gas/arm/arch7.s: Specify bitmask for APSR writes. - * gas/arm/archv6m.s: Likewise. - * msr-imm-bad.l: Tweak expected disassembly in error message. - * msr-reg-bad.l: Likewise. - * msr-imm.d: Tweak expected disassembly. - * msr-reg.d: Likewise. - * msr-reg-thumb.d: Likewise. - * msr-imm.s: Specify bitmask on APSR writes. - * msr-reg.s: Add comment about deprecated usage. - -2011-04-11 Dan McDonald <dan@wellkeeper.com> - - PR gas/12296 - * gas/arm/arch7.s: Add SVC insn. - * gas/arm/arch7.d: Add disassembly of SVC insn. - * gas/arm/attr-march-armv7.d: Add arch profile tag. - -2011-04-06 Joseph Myers <joseph@codesourcery.com> - - * gas/all/gas.exp (*arm*-*-coff): Change to arm*-*-coff. - (thumb*-*-coff, thumb*-*-pe*): Don;t handle. - * gas/arm/arm.exp (*arm*-*-*): Change to arm*-*-*. - (*xscale*-*-*): Don't handle. - * gas/cfi/cfi.exp (xscale*-*): Don't handle. - * gas/elf/elf.exp (*arm*-*-*): Change to arm*-*-*. - (xscale*-*-*): Don't handle. - -2011-03-31 Bernd Schmidt <bernds@codesourcery.com> - - * gas/tic6x/scomm-directive-1.s: New test. - * gas/tic6x/scomm-directive-1.d: New test. - * gas/tic6x/scomm-directive-2.s: New test. - * gas/tic6x/scomm-directive-2.d: New test. - * gas/tic6x/scomm-directive-3.s: New test. - * gas/tic6x/scomm-directive-3.d: New test. - * gas/tic6x/scomm-directive-4.s: New test. - * gas/tic6x/scomm-directive-4.d: New test. - * gas/tic6x/scomm-directive-5.s: New test. - * gas/tic6x/scomm-directive-5.d: New test. - * gas/tic6x/scomm-directive-6.s: New test. - * gas/tic6x/scomm-directive-6.d: New test. - * gas/tic6x/scomm-directive-7.s: New test. - * gas/tic6x/scomm-directive-7.d: New test. - * gas/tic6x/scomm-directive-8.s: New test. - * gas/tic6x/scomm-directive-8.d: New test. - -2011-03-29 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/ilp32/quad.d: Add tests for multiple operands. - * gas/i386/ilp32/quad.s: Likewise. - -2011-03-29 Mike Frysinger <vapier@gentoo.org> - - * gas/bfin/expected_errors.s: Add invalid BYTEUNPACK insn tests. - * gas/bfin/expected_errors.l: Add new error messages. - -2011-03-29 Mike Frysinger <vapier@gentoo.org> - - * gas/bfin/expected_errors.s: Add invalid BYTEOP16M insn tests. - * gas/bfin/expected_errors.l: Add new error messages. - -2011-03-29 Mike Frysinger <vapier@gentoo.org> - - * gas/bfin/expected_errors.s: Add invalid BYTEOP16P insn tests. - * gas/bfin/expected_errors.l: Add new error messages. - -2011-03-28 Mike Frysinger <vapier@gentoo.org> - - * gas/bfin/expected_errors.s: Add invalid 16bit acc add insn tests. - * gas/bfin/expected_errors.l: Add new error messages. - * testsuite/gas/bfin/video2.s: Drop invalid 16bit acc add insn. - * testsuite/gas/bfin/video2.d: Updated disassembly output. - -2011-03-28 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/ilp32/inval.s: Remove .quad. - * gas/i386/ilp32/inval.l: Updated. - - * gas/i386/ilp32/quad.d: New. - * gas/i386/ilp32/quad.s: Likewise. - -2011-03-24 Mike Frysinger <vapier@gentoo.org> - - * gas/bfin/expected_errors.s: Add invalid vector add/sub insn tests. - * gas/bfin/expected_errors.l: Add new error messages. - -2011-03-24 Mike Frysinger <vapier@gentoo.org> - - * gas/bfin/16bit_illegals.d, gas/bfin/16bit_illegals.s: Delete. - * gas/bfin/allinsn16.d, gas/bfin/allinsn16.s: New files. - * gas/bfin/bfin.exp: Change 16bit_illegals to allinsn16. - -2011-03-24 Mike Frysinger <vapier@gentoo.org> - - * gas/bfin/expected_errors.s: Add invalid dsp mult insn tests. - * gas/bfin/expected_errors.l: Add new error messages. - -2011-03-23 Mike Frysinger <vapier@gentoo.org> - - * gas/bfin/expected_errors.s: Add invalid SEARCH/BITMUX insns. - * gas/bfin/expected_errors.l: Add expected errors. - -2011-03-18 Alan Modra <amodra@gmail.com> - - * gas/elf/bad-size.err: Adjust expected error. - * gas/i386/bad-size.warn: Likewise. - * gas/i386/inval-equ-2.l: Likewise. - * gas/symver/symver2.l: Likewise. - -2011-03-17 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/12589 - * gas/i386/pr12589-1.d: New. - * gas/i386/pr12589-1.s: Likewise. - - * gas/i386/i386.exp: Run pr12589-1. - -2011-03-16 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/bad-size.d: New. - * gas/i386/bad-size.s: Likewise. - * gas/i386/bad-size.warn: Likewise. - - * gas/i386/i386.exp: Run bad-size for ELF targets. - -2011-03-06 H.J. Lu <hongjiu.lu@intel.com> - - * gas/elf/bad-size.err: Revert the last change. - -2011-03-05 H.J. Lu <hongjiu.lu@intel.com> - - * gas/elf/bad-size.err: Updated. - -2011-02-28 Maciej W. Rozycki <macro@codesourcery.com> - - * gas/mips/alnv_ps-swap.d: New test for ALNV.PS instruction - branch swapping. - * gas/mips/alnv_ps-swap.s: Source for the new test. - * gas/mips/mips.exp: Run the new test. - -2011-02-28 Maciej W. Rozycki <macro@codesourcery.com> - - * gas/mips/relax-bposge.l: New test for DSP branch relaxation. - * gas/mips/relax-bposge.s: Source for the new test. - * gas/mips/mips.exp: Run the new test. - -2011-02-28 Maciej W. Rozycki <macro@codesourcery.com> - - * gas/mips/relax-at.d: New test for branch relaxation with .set - at. - * gas/mips/relax.s: Update to support the new test. - * gas/mips/relax.l: Update accordingly. - * gas/mips/relax.d: Update for multi-arch invocation. - * gas/mips/mips.exp: Run the new test. Adjust to run "relax" - across all applicable architectures. - -2011-02-28 Maciej W. Rozycki <macro@codesourcery.com> - - * gas/mips/branch-misc-2.d: Adjust for relocation change. - * gas/mips/branch-misc-2pic.d: Likewise. - * gas/mips/branch-misc-4.d: New test for PC-relative relocation - overflow. - * gas/mips/branch-misc-4-64.d: Likewise. - * gas/mips/branch-misc-4.s: Source for the new tests. - * testsuite/gas/mips/mips.exp: Run the new tests. - -2011-02-28 Maciej W. Rozycki <macro@codesourcery.com> - - * gas/mips/relax-swap1.l: Adjust for message capitalization - correction. - * gas/mips/relax-swap2.l: Likewise. - * gas/mips/relax.l: Likewise. - -2011-02-25 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/ilp32/ilp32.exp: Run reloc64. - - * gas/i386/ilp32/reloc64.s: Allow TLS relocations with 32bit - register destinations. - * gas/i386/ilp32/reloc64.d: Updated. - - * gas/i386/ilp32/reloc64.l: New. - -2011-02-25 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/12519 - * gas/elf/bad-size.d: New. - * gas/elf/bad-size.err: Likewise. - * gas/elf/bad-size.s: Likewise. - - * gas/elf/elf.exp: Run bad-size. - -2011-02-13 Mike Frysinger <vapier@gentoo.org> - - * gas/bfin/arithmetic.d, gas/bfin/parallel.d: Change A0 to A1. - -2011-02-13 Mike Frysinger <vapier@gentoo.org> - - * gas/bfin/arithmetic.d, gas/bfin/parallel.d, gas/bfin/parallel3.d, - gas/bfin/vector.d, gas/bfin/vector2.d: Add ".L" to dsp mult insns. - -2011-02-13 Mike Frysinger <vapier@gentoo.org> - - * gas/bfin/video.d, gas/bfin/video.s, gas/bfin/video2.d, - gas/bfin/video2.s: Remove BYTEOP2M insns. - -2011-02-10 Kai Tietz <kai.tietz@onevision.com> - - * gas/cfi/cfi-x86_64.d: Adjust for x64 PE+. - -2011-02-10 Vincent Rivière <vincent.riviere@freesbee.fr> - - * gas/m68k/cpu32.d: Set explicit architecture for objdump. - * gas/m68k/mcf-coproc.d: Likewise. - * gas/m68k/mcf-wdebug.d: Likewise. - -2011-02-10 Alan Modra <amodra@gmail.com> - - * gas/elf/dwarf2-4.s: Don't use @. - -2011-02-08 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/6957 - * gas/i386/nops-1-i686.d: Updated. - * gas/i386/nops-3-i686.d: Likewise. - * gas/i386/nops-4-i686.d: Likewise. - -2011-02-08 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/i386.exp: Run nops-4a-i686 and nops-6. - - * gas/i386/nops-4a-i686.d: New. - * gas/i386/nops-6.d: Likewise. - * gas/i386/nops-6.s: Likewise. - -2011-02-07 Vincent Riviere <vincent.riviere@freesbee.fr> - - PR gas/3041 - * gas/m68k/p3041pcrel.s, * gas/m68k/p3041pcrel.d: New test. - * gas/m68k/all.exp: Add "p3041pcrel" and enable p3041 tests for - all m68k-aout targets. - -2011-02-04 Bernd Schmidt <bernds@codesourcery.com> - - * gas/tic6x/dir-junk.l: Remove tests for .atomic and .noatomic. - * gas/tic6x/dir-junk.s: Likewise. - * gas/tic6x/insns-c674x-bad.d: Remove test. - * gas/tic6x/insns-c674x-bad.l: Likewise. - * gas/tic6x/insns-c674x-bad.s: Likewise. - * gas/tic6x/insns-atomic.d: Remove "-matomic" switch. - -2011-01-31 Nick Clifton <nickc@redhat.com> - - * gas/all/align.d: Skip for the RX. - * gas/elf/group1a.d: Likewise. - * gas/elf/groupautoa.d: Likewise. - * gas/elf/elf.exp: Do not run section5 test for the RX port. - * gas/elf/section4.d: Likewise. - * gas/elf/section7.d: Likewise. - * gas/macros/semi.s: Fill with a non-zero pattern. - * gas/macros/semi.d: Expect non-zero fill value. - * gas/rx/bcnd.d: Update expected disassembly. - * gas/rx/bra.d: Likewise. - * gas/rx/macros.inc: Add reg1 macro. - * gas/rx/max.sm: Use reg1 macro to avoid generating illegal NOP - instruction. - * gas/rx/mov.sm: Likewise. - * gas/rx/max.d: Update expected disassembly. - * gas/rx/mov.d: Likewise. - * gas/rx/rx-asm-good.s: Use Renesas section names. - * gas/rx/rx-asm-good.d: Update expected disassembly. - -2011-01-18 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/12409 - * gas/elf/dwarf2-4.d: New. - * gas/elf/dwarf2-4.s: Likewise. - - * gas/elf/elf.exp: Run dwarf2-4. - -2011-01-18 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/intel.d: Updated. - * gas/i386/opcode-intel.d: Likewise. - * gas/i386/opcode-suffix.d: Likewise. - * gas/i386/opcode.d: Likewise. - -2011-01-18 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/ilp32/x86-64-arch-2.d: Add tbm flag and TBM instruction - pattern. - -2011-01-17 Quentin Neill <quentin.neill@amd.com> - - * gas/i386/tbm.s: New. - * gas/i386/tbm.d: New. - * gas/i386/tbm-intel.d: New. - * gas/i386/x86-64-tbm.s: New. - * gas/i386/x86-64-tbm.d: New. - * gas/i386/x86-64-tbm-intel.d: New. - * gas/i386/arch-10.d: Add tbm flag and TBM instruction pattern. - * gas/i386/arch-10.s: Add a TBM instruction. - * gas/i386/arch-10-1.l: Add TBM instruction pattern. - * 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.s: Likewise. - * gas/i386/x86-64-arch-2.d: Likewise. - -2011-01-16 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/ilp32/immed64.s: New. - * gas/i386/ilp32/reloc64.s: Likewise. - * gas/i386/ilp32/x86-64-pcrel.s: Likewise. - - * gas/i386/ilp32/inval.s: Add more tests. - - * gas/i386/ilp32/immed64.d: Updated. - * gas/i386/ilp32/inval.l: Likewise. - * gas/i386/ilp32/reloc64.d: Likewise. - * gas/i386/ilp32/x86-64-pcrel.d: Likewise. - -2011-01-15 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/ilp32/ilp32.exp: Run inval. - - * gas/i386/ilp32/inval.l: New. - * gas/i386/ilp32/inval.s: Likewise. - * gas/i386/ilp32/x86-64.s: Likewise. - - * gas/i386/ilp32/x86-64.d: Don't use ../x86_64.s. Updated. - -2011-01-14 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/ilp32/cfi/ilp32.exp: Replace --n32 with --x32. - * gas/i386/ilp32/elf/ilp32.exp: Likewise. - * gas/i386/ilp32/ilp32.exp: Likewise. - * gas/i386/ilp32/lns/ilp32.exp: Likewise. - -2011-01-11 Mingjie Xing <mingjie.xing@gmail.com> - - * mips/loongson-3a-2.s, mips/loongson-3a-2.d: Use the real offset - value in assembly. - -2011-01-10 Nathan Sidwell <nathan@codesourcery.com> - Glauber de Oliveira Costa <glommer@gmail.com> - - * gas/arm/tls.s: Add tlsdesc tests. - * gas/arm/tls.d: Adjust. - -2011-01-07 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/ilp32/x86-64-arch-2.d: Add bmi flag and BMI instruction - pattern. - -2011-01-07 Quentin Neill <quentin.neill@amd.com> - - * gas/i386/arch-10.s: Add a BMI instruction. - * gas/i386/x86-64-arch-2.s: Likewise. - * gas/i386/arch-10.d: Add bmi flag and BMI instruction pattern. - * gas/i386/x86-64-arch-2.d: Likewise. - * gas/i386/arch-10-1.l: Add BMI instruction pattern. - * gas/i386/arch-10-2.l: Likewise. - * gas/i386/arch-10-3.l: Likewise. - * gas/i386/arch-10-4.l: Likewise. - -2011-01-06 Paul Koning <ni1d@arrl.net> - - * gas/pdp11/pdp11.exp: Add run of absreloc. - -2011-01-06 Paul Koning <ni1d@arrl.net> - - * gas/pdp11/absreloc.s: New. - * gas/pdp11/absreloc.d: New. - -2011-01-06 Paul Koning <ni1d@arrl.net> - - * gas/pdp11/opcode.d: Fix expected output for sec instruction. - -2011-01-05 Nathan Sidwell <nathan@codesourcery.com> - - * gas/arm/blx-bad.s: New. - * gas/arm/blx-bad.d: New. - -2011-01-04 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/bmi-intel.d: New. - * gas/i386/bmi.d: Likewise. - * gas/i386/bmi.s: Likewise. - * gas/i386/x86-64-bmi-intel.d: Likewise. - * gas/i386/x86-64-bmi.d: Likewise. - * gas/i386/x86-64-bmi.s: Likewise. - - * gas/i386/i386.exp: Run bmi, bmi-intel, x86-64-bmi and - x86-64-bmi-intel. - -2011-01-01 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/ilp32/lns/lns-common-1.d: Also expect .zdebug in - section name. - * gas/i386/ilp32/lns/lns-duplicate.d: Likewise. - -For older changes see ChangeLog-2010 +For older changes see ChangeLog-2011 Local Variables: mode: change-log diff --git a/gas/testsuite/ChangeLog-2011 b/gas/testsuite/ChangeLog-2011 new file mode 100644 index 0000000..80f9a73 --- /dev/null +++ b/gas/testsuite/ChangeLog-2011 @@ -0,0 +1,1465 @@ +2011-12-29 Iain Sandoe <idsandoe@googlemail.com> + + * gas/mach-o/sections-1.d: Amend to recognize that bss is not emitted + by default. + * gas/mach-o/sections-2.d: New. + +2011-12-19 Iain Sandoe <idsandoe@googlemail.com> + + * gas/mach-o/err-sections-1.s: New. + * gas/mach-o/err-sections-2.s: New. + * gas/mach-o/sections-3.d: New. + * gas/mach-o/sections-3.s: New. + +2011-12-15 Iain Sandoe <iains@gcc.gnu.org> + + * gas/mach-o/subsect-via-symbols-0.d: New. + * gas/mach-o/subsect-via-symbols-1.d: New. + * gas/mach-o/subsect-via-symbols.s: New. + +2011-12-15 Nick Clifton <nickc@redhat.com> + + * gas/frv/immediates.s: New test file - checks assembly of + constant values. + * gas/frv/immediates.d: Expected disassembly. + * gas/frv/allinsn.exp: Run the new test. + +2011-12-14 Stuart Henderson <shenders@gcc.gnu.org> + + * gas/bfin/move.d: Update SRCx field expectations. + * gas/bfin/move2.d: Likewise. + * gas/bfin/parallel.d: Likewise. + * gas/bfin/parallel2.d: Likewise. + * gas/bfin/parallel3.d: Likewise. + * gas/bfin/parallel4.d: Likewise. + * gas/bfin/video.d: Likewise. + * gas/bfin/video2.d: Likewise. + +2011-12-14 Iain Sandoe <iains@gcc.gnu.org> + + * gas/mach-o/comm-1.d: New. + * gas/mach-o/comm-1.s: New. + * gas/mach-o/lcomm-1.s: New. + * gas/mach-o/mach-o.exp: Update to use run_dump_tests[]. + * gas/mach-o/sections-1.d: New. + * gas/mach-o/sections-1.s: New. + * gas/mach-o/warn-1.s: Add .comm alignment range warning. + +2011-12-14 Iain Sandoe <iains@gcc.gnu.org> + + * gas/mach-o: New. + * gas/mach-o/mach-o.exp: New. + * gas/mach-o/warn-1.s: New. + * gas/mach-o/lcomm-1.s: New. + * gas/mach-o/lcomm-1.d: New. + +2011-12-08 Andrew Pinski <apinski@cavium.com> + + * gas/mips/mips32-mt.d: Add pause instruction encoding to the end. + * gas/mips/micromips@mips32r2.d: Likewise. + * gas/mips/mips32r2.d: Likewise. + * gas/mips/mips32-mt.s: Add pause instruction to the end. + * gas/mips/mips32r2.s: Likewise. + +2011-12-08 Andrew Pinski <apinski@cavium.com> + Adam Nemet <anemet@caviumnetworks.com> + + * gas/mips/mips.exp: Add Octeon2 for an architecture. + Run octeon2 test. + * gas/mips/octeon2.d: New file. + * gas/mips/octeon2.s: New file. + +2011-12-07 Sameera Deshpande <sameera.deshpande@arm.com> + + * gas/arm/thumb2_ldstd_unpredictable.d: New testcase. + * gas/arm/thumb2_ldstd_unpredictable.l: Likewise. + * gas/arm/thumb2_ldstd_unpredictable.s: Likewise. + * gas/testsuite/gas/arm/sp-pc-validations-bad-t.l: Update + testcase. + * gas/testsuite/gas/arm/sp-pc-validations-bad-t.s: Likewise. + +2011-11-07 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * gas/arm/neon-suffix-bad.l: Add testcase. + * gas/arm/neon-suffix-bad.s: Likewise. + +2011-12-05 Richard Earnshaw <rearnsha@arm.com> + + * gas/arm/attr-any-armv4t.d: New test. + * gas/arm/attr-any-armv4t.s: New file. + * gas/arm/attr-any-thumbv6.d: New test. + * gas/arm/attr-any-thumbv6.s: New file. + +2011-11-30 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * gas/arm/cmdline-bad-arch.d: New test case. + * gas/arm/cmdline-bad-cpu.d: Likewise. + +2011-12-03 Richard Sandiford <rdsandiford@googlemail.com> + + * gas/mips/mips.exp (run_dump_test_arch): Add an opts parameter. + (run_dump_test_arches): Allow additional options to be passed. + (run_list_test_arch): Add opts to the name. + (run_list_test_arches): Allow the options to be elided. + (mips4-fp, mips5-fp): Run twice, one with -32 and once with -mabi=o64. + (mips64r2-ill, octeon-ill): Remove empty options string. + +2011-11-29 Andrew Pinski <apinski@cavium.com> + + * gas/mips/mips.exp: Add octeon+ for an architecture. + Run octeon-saa-saad test. + (run_dump_test_arch): For Octeon architectures, also try octeon@. + * gas/mips/octeon-pref.d: Remove -march=octeon from command line. + * gas/mips/octeon.d: Likewise. + * gas/mips/octeon-saa-saad.d: New file. + * gas/mips/octeon-saa-saad.s: New file + +2011-11-25 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * gas/arm/mov-highregs-any.d: New testcase. + * gas/arm/mov-highregs-any.s: Likewise. + * gas/arm/mov-lowregs-any.d: Likewise. + * gas/arm/mov-lowregs-any.s: Likewise. + +2011-11-21 Maciej W. Rozycki <macro@codesourcery.com> + + * gas/mips/micromips@24k-branch-delay-1.d: New test. + * gas/mips/micromips@24k-triple-stores-1.d: New test. + * gas/mips/micromips@24k-triple-stores-2.d: New test. + * gas/mips/micromips@24k-triple-stores-3.d: New test. + * gas/mips/micromips@24k-triple-stores-4.d: New test. + * gas/mips/micromips@24k-triple-stores-5.d: New test. + * gas/mips/micromips@24k-triple-stores-6.d: New test. + * gas/mips/micromips@24k-triple-stores-7.d: New test. + * gas/mips/micromips@24k-triple-stores-8.d: New test. + * gas/mips/micromips@24k-triple-stores-9.d: New test. + * gas/mips/micromips@24k-triple-stores-10.d: New test. + * gas/mips/micromips@24k-triple-stores-11.d: New test. + * gas/mips/24k-triple-stores-1.s: Adjust for microMIPS + disassembly. + * gas/mips/24k-triple-stores-2.s: Likewise. + * gas/mips/24k-triple-stores-3.s: Likewise. + * gas/mips/24k-triple-stores-4.s: Likewise. + * gas/mips/24k-triple-stores-5.s: Likewise. + * gas/mips/24k-triple-stores-6.s: Likewise. + * gas/mips/24k-triple-stores-7.s: Likewise. + * gas/mips/24k-triple-stores-8.s: Likewise. + * gas/mips/24k-triple-stores-9.s: Likewise. + * gas/mips/24k-triple-stores-10.s: Likewise. + * gas/mips/24k-triple-stores-11.s: Likewise. + * gas/mips/mips.exp: Run the new tests. + +2011-11-21 Maciej W. Rozycki <macro@codesourcery.com> + + * gas/mips/micromips@loc-swap-2.d: Correct test case. + +2011-11-16 Maciej W. Rozycki <macro@codesourcery.com> + + * gas/mips/mips-double-float-flag.l: Adjust according to + unsupported opcode message capitalization fix. + * gas/mips/mips-hard-float-flag.l: Likewise. + * gas/mips/mips-macro-ill-nofp.l: Likewise. + * gas/mips/mips-macro-ill-sfp.l: Likewise. + * gas/mips/mips1-fp.l: Likewise. + * gas/mips/mips16e-64.l: Likewise. + * gas/mips/mips32-sf32.l: Likewise. + * gas/mips/mips32r2-fp32.l: Likewise. + * gas/mips/mips4-branch-likely.l: Likewise. + * gas/mips/mips4-fp.l: Likewise. + * gas/mips/octeon-ill.l: Likewise. + +2011-11-14 Maciej W. Rozycki <macro@codesourcery.com> + + * gas/mips/relax-swap3.d: New test. + * gas/mips/mips16@relax-swap3.d: Likewise. + * gas/mips/micromips@relax-swap3.d: Likewise. + * gas/mips/relax-swap3.s: New test source. + * gas/mips/mips.exp: Run the new tests. + +2011-11-02 Nick Clifton <nickc@redhat.com> + + * gas/arm/pic.d: Update expected output. + +2011-10-25 Joern Rennecke <joern.rennecke@embecosm.com> + + * gas/epiphany: New directory. + * gas/testsuite/gas/epiphany/addr-syntax.d: New file. + * gas/testsuite/gas/epiphany/addr-syntax.s: New file. + * gas/testsuite/gas/epiphany/allinsn.d: New file. + * gas/testsuite/gas/epiphany/allinsn.exp: New file. + * gas/testsuite/gas/epiphany/allinsn.s: New file. + * gas/testsuite/gas/epiphany/badpostmod.s: New file. + * gas/testsuite/gas/epiphany/badrelax.d: New file. + * gas/testsuite/gas/epiphany/badrelax.s: New file. + * gas/testsuite/gas/epiphany/branch_lit.d: New file. + * gas/testsuite/gas/epiphany/branch_lit.s: New file. + * gas/testsuite/gas/epiphany/regression.d: New file. + * gas/testsuite/gas/epiphany/regression.s: New file. + * gas/testsuite/gas/epiphany/sample.d: New file. + * gas/testsuite/gas/epiphany/sample.s: New file. + +2011-10-24 Julian Brown <julian@codesourcery.com> + + * gas/m68k/all.exp (movem-offset): Add test. + * gas/m68k/movem-offset.s: New test. + * gas/m68k/movem-offset.d: New. + +2011-10-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * gas/s390/zarch-z10.d: Add CPUMF instructions. + * gas/s390/zarch-z10.s: Likewise. + +2011-10-18 Jie Zhang <jie@codesourcery.com> + Julian Brown <julian@codesourcery.com> + + * gas/arm/adrl.d: Adjust. + * gas/arm/immed2.d: New test. + * gas/arm/immed2.s: New test. + +2011-10-13 James Greenhalgh <james.greenhalgh@arm.com> + + * gas/arm/ldr-bad.s: New testcase. + * gas/arm/ldr-bad.l: Likewise. + * gas/arm/ldr-bad.d: Likewise. + * gas/arm/ldr.s: Likewise. + * gas/arm/ldr.d: Likewise. + * gas/arm/ldr-t-bad.s: Likewise. + * gas/arm/ldr-t-bad.l: Likewise. + * gas/arm/ldr-t-bad.d: Likewise. + * gas/arm/ldr-t.s: Likewise. + * gas/arm/ldr-t.d: Likewise. + * gas/arm/sp-pc-usage-t.s: Correct. + * gas/arm/sp-pc-usage-t.d: Update accordingly. + +2011-09-28 Jan Beulich <jbeulich@suse.com> + + * gas/ppc/476.s: Fix lswi first operand. + * gas/ppc/476.d: Adjust expected output. + * gas/ppc/a2.s: Fix lswi first operand. + * gas/ppc/a2.d: Adjust expected output. + * gas/ppc/power6.s: Fix lfdpx first operand. + * gas/ppc/power6.d: Adjust expected output. + +2011-09-28 Kai Tietz <ktietz@redhat.com> + + * gas/pe/section-exclude.d: Correct testcase. + +2011-09-27 Kai Tietz <ktietz@redhat.com> + + * gas/pe/pe.exp: Add new testcase. + * gas/pe/section-exclude.d: New file. + * gas/pe/section-exclude.s: New file. + +2011-09-27 David S. Miller <davem@davemloft.net> + + * gas/sparc/hpcvis3.s: Update to use float reg for random insn. + * gas/sparc/hpcvis3.d: Likewise. + +2011-09-26 David S. Miller <davem@davemloft.net> + + * gas/sparc/ima.d: New test. + * gas/sparc/ima.s: New test source. + * gas/sparc/sparc.exp: Run new test. + +2011-09-21 David S. Miller <davem@davemloft.net> + + * gas/sparc/hpcvis3.s: Update for fixed fchksum16 mnemonic. + * gas/sparc/hpcvis3.d: Likewise. + + * gas/sparc/imm-plus-rreg.d: Fix address regex for 64-bit. + * gas/sparc/save-args.d: Likewise. + * gas/sparc/ticc-imm-reg.d: Likewise, add -32 to options. + * gas/sparc/v8-movwr-imm.d: Likewise. + + * gas/sparc/hpcvis3.d: Pass '-Av9v'. + +2011-09-08 Mark Fortescue <mark@mtfhpc.demon.co.uk> + + * gas/sparc/imm-plus-rreg.[sd]: New test. + * gas/sparc/sparc.exp: Run new test. + + * gas/sparc/ticc-imm-reg.[sd]: New test. + * gas/sparc/v8-movwr-imm.[sd]: New test. + * gas/sparc/sparc.exp: Run new tests. + + * gas/sparc/save-args.[sd]: New test. + * gas/sparc/sparc.exp: Run new test. + +2011-09-08 David S. Miller <davem@davemloft.net> + + * gas/sparc/hpcvis3.s: Correct pdistn test. + * gas/sparc/hpcvis3.d: Likewise. + +2011-09-08 Richard Sandiford <rdsandiford@googlemail.com> + + PR gas/13167 + * gas/ia64/pr13167.d, gas/ia64/pr13167.s: New test. + * gas/ia64/ia64.exp: Run it. + +2011-09-07 Andreas Schwab <schwab@linux-m68k.org> + + PR gas/13145 + * gas/m68k/all.exp: Run "mode5" test also with -mcpu=5200. + * gas/m68k/mode5.s: Add moveml testcases. + * gas/m68k/mode5.d: Update. + +2011-09-05 Richard Sandiford <rdsandiford@googlemail.com> + + * gas/mips/loc-swap-2.s, gas/mips/loc-swap-2.d, + gas/mips/micromips@loc-swap-2.d, + gas/mips/mips16@loc-swap-2.d: New test. + * gas/mips/mips.exp: Run it. + +2011-08-19 Sergey A. Guriev <sergeya.a.guriev@intel.com> + + * gas/i386/avx-gather-intel.d: Added missing vpgather tests. + * gas/i386/avx-gather.d: Likewise. + * gas/i386/x86-64-avx-gather-intel.d: Likewise. + * gas/i386/x86-64-avx-gather.d: Likewise. + + * gas/i386/avx-intel.d: Added missing vpinsrd and removed + duplicated vpinsrb instructions. + * gas/i386/avx.d: Likewise. + * gas/i386/avx.s: Likewise. + * gas/i386/ilp32/x86-64-avx-intel.d: Likewise. + * gas/i386/ilp32/x86-64-avx.d: Likewise. + * gas/i386/x86-64-avx-intel.d: Likewise. + * gas/i386/x86-64-avx.d: Likewise. + * gas/i386/x86-64-avx.s: Likewise. + +2011-08-10 Maciej W. Rozycki <macro@codesourcery.com> + + * gas/mips/micromips@mips5.d: Rename to... + * gas/mips/micromips@mips5-fp.d: ... this. + * gas/mips/mips5.d: Rename to... + * gas/mips/mips5-fp.d: ... this. + * gas/mips/mips5.l: Rename to... + * gas/mips/mips5-fp.l: ... this. + * gas/mips/mips5.s: Rename to... + * gas/mips/mips5-fp.s: ... this. + * gas/mips/mips.exp: Update accordingly. + +2011-08-10 Maciej W. Rozycki <macro@codesourcery.com> + + * gas/mips/mips.exp: Define new "fpisa3", "fpisa4" and "fpisa5" + architecture properties adding them to "mips3", "mips4", "mips5" + and "mips32r2" architectures. Use the new properties for the + "24k-triple-stores-1", "24k-triple-stores-3", "mips4-fp", + "mips5" and "alnv_ps-swap" tests. + +2011-08-09 Maciej W. Rozycki <macro@codesourcery.com> + Chao-ying Fu <fu@mips.com> + + * gas/mips/micromips@mcu.d: New test. + * gas/mips/mcu.d: Likewise. + * gas/mips/mcu.s: New test source. + * gas/mips/mips.exp: Run the new tests. + +2011-08-09 Maciej W. Rozycki <macro@codesourcery.com> + + * gas/mips/micromips.d: Update according to changes to enable + microMIPS branch swapping. + * gas/mips/micromips-trap.d: Likewise. + * gas/mips/micromips@jal-svr4pic.d: Likewise. + * gas/mips/micromips@loc-swap.d: Likewise. + * gas/mips/micromips@loc-swap-dis.d: Likewise. + +2011-08-05 David S. Miller <davem@davemloft.net> + + * gas/sparc/hpcvis3.d: New test. + * gas/sparc/hpcvis3.s: New test source. + * gas/sparc/sparc.exp: Run new test. + +2011-08-05 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/x86-64-branch.d: Pass -dw to objdump and support + win64. + +2011-08-04 H.J. Lu <hongjiu.lu@intel.com> + + * gas/elf/bad-group.d: New. + * gas/elf/bad-group.err: Likewise. + * gas/elf/bad-group.s: Likewise. + + * gas/elf/elf.exp: Run bad-group. + +2011-08-03 James Greenhalgh <james.greenhalgh@arm.com> + + * gas/arm/strex-bad-t.d: New testcase. + * gas/arm/strex-bad-t.s: Likewise. + * gas/arm/strex-bad-t.l: Likewise. + * gas/arm/strex-t.s: Likewise. + * gas/arm/strex-t.d: Likewise. + +2011-08-01 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/13048 + * gas/i386/ilp32/ilp32.exp: Don't run inval. + + * gas/i386/ilp32/inval.l: Removed. + * gas/i386/ilp32/inval.s: Likewise. + + * gas/i386/ilp32/quad.d: Expect R_X86_64_64 instead of + R_X86_64_32. + + * gas/i386/ilp32/x86-64-pcrel.s: Add tests for movabs. + * gas/i386/ilp32/x86-64-pcrel.d: Updated. + +2011-08-01 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/13046 + * gas/i386/x86-64-branch.s: Add tests for direct branch. + * gas/i386/x86-64-branch.d: Updated. + * gas/i386/ilp32/x86-64-branch.d: Likewise. + +2011-07-29 Nick Clifton <nickc@redhat.com> + + * gas/elf/warn-2.s: Add other types of NOP insn. + +2011-07-27 Nathan Sidwell <nathan@codesourcery.com> + + * gas/elf/warn-2.s: New. + * gas/elf/elf.exp: Run the new test. + +2011-07-26 Kazuhiro Inaoka <kazuhiro.inaoka.ud@renesas.com> + + * gas/rx/r-bcc.d: Update expected disassembly of synthetic beq.a + instruction. + +2011-07-24 Maciej W. Rozycki <macro@codesourcery.com> + Chao-ying Fu <fu@mips.com> + Richard Sandiford <rdsandiford@googlemail.com> + + * gas/mips/micromips.d: New test. + * gas/mips/micromips-branch-delay.d: Likewise. + * gas/mips/micromips-branch-relax.d: Likewise. + * gas/mips/micromips-branch-relax-pic.d: Likewise. + * gas/mips/micromips-size-1.d: Likewise. + * gas/mips/micromips-trap.d: Likewise. + * gas/mips/micromips.l: New stderr output. + * gas/mips/micromips-branch-delay.l: Likewise. + * gas/mips/micromips-branch-relax.l: Likewise. + * gas/mips/micromips-branch-relax-pic.l: Likewise. + * gas/mips/micromips-size-0.l: New list test. + * gas/mips/micromips-size-1.l: New stderr output. + * gas/mips/micromips.s: New test source. + * gas/mips/micromips-branch-delay.s: Likewise. + * gas/mips/micromips-branch-relax.s: Likewise. + * gas/mips/micromips-size-0.s: Likewise. + * gas/mips/micromips-size-1.s: Likewise. + * gas/mips/mips.exp: Run the new tests. + + * gas/mips/dli.s: Use .p2align. + * gas/mips/elf_ase_micromips.d: New test. + * gas/mips/elf_ase_micromips-2.d: Likewise. + * gas/mips/micromips@abs.d: Likewise. + * gas/mips/micromips@add.d: Likewise. + * gas/mips/micromips@alnv_ps-swap.d: Likewise. + * gas/mips/micromips@and.d: Likewise. + * gas/mips/micromips@beq.d: Likewise. + * gas/mips/micromips@bge.d: Likewise. + * gas/mips/micromips@bgeu.d: Likewise. + * gas/mips/micromips@blt.d: Likewise. + * gas/mips/micromips@bltu.d: Likewise. + * gas/mips/micromips@branch-likely.d: Likewise. + * gas/mips/micromips@branch-misc-1.d: Likewise. + * gas/mips/micromips@branch-misc-2-64.d: Likewise. + * gas/mips/micromips@branch-misc-2.d: Likewise. + * gas/mips/micromips@branch-misc-2pic-64.d: Likewise. + * gas/mips/micromips@branch-misc-2pic.d: Likewise. + * gas/mips/micromips@branch-misc-4-64.d: Likewise. + * gas/mips/micromips@branch-misc-4.d: Likewise. + * gas/mips/micromips@branch-self.d: Likewise. + * gas/mips/micromips@cache.d: Likewise. + * gas/mips/micromips@daddi.d: Likewise. + * gas/mips/micromips@dli.d: Likewise. + * gas/mips/micromips@elf-jal.d: Likewise. + * gas/mips/micromips@elf-rel2.d: Likewise. + * gas/mips/micromips@elfel-rel2.d: Likewise. + * gas/mips/micromips@elf-rel4.d: Likewise. + * gas/mips/micromips@jal-svr4pic.d: Likewise. + * gas/mips/micromips@jal-svr4pic-noreorder.d: Likewise. + * gas/mips/micromips@lb-svr4pic-ilocks.d: Likewise. + * gas/mips/micromips@li.d: Likewise. + * gas/mips/micromips@loc-swap-dis.d: Likewise. + * gas/mips/micromips@loc-swap.d: Likewise. + * gas/mips/micromips@mips1-fp.d: Likewise. + * gas/mips/micromips@mips32-cp2.d: Likewise. + * gas/mips/micromips@mips32-imm.d: Likewise. + * gas/mips/micromips@mips32-sf32.d: Likewise. + * gas/mips/micromips@mips32.d: Likewise. + * gas/mips/micromips@mips32r2-cp2.d: Likewise. + * gas/mips/micromips@mips32r2-fp32.d: Likewise. + * gas/mips/micromips@mips32r2-sync.d: Likewise. + * gas/mips/micromips@mips32r2.d: Likewise. + * gas/mips/micromips@mips4-branch-likely.d: Likewise. + * gas/mips/micromips@mips4-fp.d: Likewise. + * gas/mips/micromips@mips4.d: Likewise. + * gas/mips/micromips@mips5.d: Likewise. + * gas/mips/micromips@mips64-cp2.d: Likewise. + * gas/mips/micromips@mips64.d: Likewise. + * gas/mips/micromips@mips64r2.d: Likewise. + * gas/mips/micromips@pref.d: Likewise. + * gas/mips/micromips@relax-at.d: Likewise. + * gas/mips/micromips@relax.d: Likewise. + * gas/mips/micromips@rol-hw.d: Likewise. + * gas/mips/micromips@uld2-eb.d: Likewise. + * gas/mips/micromips@uld2-el.d: Likewise. + * gas/mips/micromips@ulh2-eb.d: Likewise. + * gas/mips/micromips@ulh2-el.d: Likewise. + * gas/mips/micromips@ulw2-eb-ilocks.d: Likewise. + * gas/mips/micromips@ulw2-el-ilocks.d: Likewise. + * gas/mips/cache.d: Likewise. + * gas/mips/daddi.d: Likewise. + * gas/mips/mips32-imm.d: Likewise. + * gas/mips/pref.d: Likewise. + * gas/mips/elf-rel27.d: Handle microMIPS ASE. + * gas/mips/l_d.d: Likewise. + * gas/mips/l_d-n32.d: Likewise. + * gas/mips/l_d-n64.d: Likewise. + * gas/mips/ld.d: Likewise. + * gas/mips/ld-n32.d: Likewise. + * gas/mips/ld-n64.d: Likewise. + * gas/mips/s_d.d: Likewise. + * gas/mips/s_d-n32.d: Likewise. + * gas/mips/s_d-n64.d: Likewise. + * gas/mips/sd.d: Likewise. + * gas/mips/sd-n32.d: Likewise. + * gas/mips/sd-n64.d: Likewise. + * gas/mips/mips32.d: Update immediates. + * gas/mips/micromips@mips32-cp2.s: New test source. + * gas/mips/micromips@mips32-imm.s: Likewise. + * gas/mips/micromips@mips32r2-cp2.s: Likewise. + * gas/mips/micromips@mips64-cp2.s: Likewise. + * gas/mips/cache.s: Likewise. + * gas/mips/daddi.s: Likewise. + * gas/mips/mips32-imm.s: Likewise. + * gas/mips/elf-rel4.s: Handle microMIPS ASE. + * gas/mips/lb-pic.s: Likewise. + * gas/mips/ld.s: Likewise. + * gas/mips/mips32.s: Likewise. + * gas/mips/mips.exp: Add the micromips arch. Exclude mips16e + from micromips. Run mips32-imm. + + * gas/mips/jal-mask-11.d: New test. + * gas/mips/jal-mask-12.d: Likewise. + * gas/mips/micromips@jal-mask-11.d: Likewise. + * gas/mips/jal-mask-1.s: Source for the new tests. + * gas/mips/jal-mask-21.d: New test. + * gas/mips/jal-mask-22.d: Likewise. + * gas/mips/micromips@jal-mask-12.d: Likewise. + * gas/mips/jal-mask-2.s: Source for the new tests. + * gas/mips/mips.exp: Run the new tests. + + * gas/mips/mips16-e.d: Add --special-syms to `objdump'. + * gas/mips/tmips16-e.d: Likewise. + * gas/mips/mipsel16-e.d: Likewise. + * gas/mips/tmipsel16-e.d: Likewise. + + * gas/mips/and.s: Adjust padding. + * gas/mips/beq.s: Likewise. + * gas/mips/bge.s: Likewise. + * gas/mips/bgeu.s: Likewise. + * gas/mips/blt.s: Likewise. + * gas/mips/bltu.s: Likewise. + * gas/mips/branch-misc-2.s: Likewise. + * gas/mips/jal.s: Likewise. + * gas/mips/li.s: Likewise. + * gas/mips/mips4.s: Likewise. + * gas/mips/mips4-fp.s: Likewise. + * gas/mips/relax.s: Likewise. + * gas/mips/and.d: Update accordingly. + * gas/mips/elf-jal.d: Likewise. + * gas/mips/jal.d: Likewise. + * gas/mips/li.d: Likewise. + * gas/mips/relax-at.d: Likewise. + * gas/mips/relax.d: Likewise. + +2011-07-22 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/k1om.d: New. + * gas/i386/k1om-inval.l: Likewise. + * gas/i386/k1om-inval.s: Likewise. + + * gas/i386/i386.exp: Run k1om-inval and k1om. + +2011-07-04 Maciej W. Rozycki <macro@codesourcery.com> + + * gas/mips/loc-swap.d: New test case for DWARF-2 location with + branch swapping. + * gas/mips/loc-swap-dis.d: Likewise. + * gas/mips/mips16@loc-swap.d: Likewise, MIPS16 version. + * gas/mips/mips16@loc-swap-dis.d: Likewise. + * gas/mips/loc-swap.s: Source for the new tests. + * gas/mips/mips.exp: Run the new tests. + +2011-06-30 H.J. Lu <hongjiu.lu@intel.com> + + AVX Programming Reference (June, 2011) + * gas/i386/bmi2.s: Correct rorx tests. + * gas/i386/x86-64-bmi2.s: Likewise. + + * gas/i386/bmi2-intel.d: Updated. + * gas/i386/bmi2.d: Likewise. + * gas/i386/x86-64-bmi2-intel.d: Likewise. + * gas/i386/x86-64-bmi2.d: Likewise. + +2011-06-30 Paul Carroll <pcarroll@codesourcery.com> + + * gas/arm/addthumb2err.s: New test file. + * gas/arm/addthumb2err.d: Test control file. + * gas/arm/addthumb2err.l: Expected error messages. + +2011-06-30 Nick Clifton <nickc@redhat.com> + + PR gas/12931 + * gas/arm/blx-bad.d: Add exrta nop at end of disassembly. + * gas/arm/inst-po-be.d: Add exrta nop at end of disassembly. + * gas/arm/inst-po.d: Add exrta nop at end of disassembly. + +2011-06-30 Nick Clifton <nickc@redhat.com> + + PR gas/12848 + * gas/arm/thumb-b-bad.s: New test. + * gas/arm/thumb-b-bad.d: Test control file. + * gas/arm/thumb-b-bad.l: Expected error output. + +2011-06-29 Richard Sandiford <rdsandiford@googlemail.com> + + * gas/mips/mips16-e.d, gas/mips/mips16-f.d, + gas/mips/mipsel16-e.d, gas/mips/mipsel16-f.d, + gas/mips/tmips16-e.d, gas/mips/tmips16-f.d, + gas/mips/tmipsel16-e.d, gas/mips/tmipsel16-f.d: Fix GPR mask. + * gas/mips/reginfo-1.s, gas/mips/reginfo-1a.d, + gas/mips/reginfo-1b.d: New tests. + * gas/mips/mips.exp: Run them. + +2011-06-29 Richard Sandiford <rdsandiford@googlemail.com> + + * gas/mips/24k-triple-stores-9.d: Add -z to dump options and + explicitly match one nop. + * gas/mips/24k-triple-stores-10.d: Likewise. + * gas/mips/24k-triple-stores-11.d: Likewise. + * gas/mips/lifloat.d: Likewise. + * gas/mips/trunc.d: Likewise 1 extra nop. + * gas/mips/vr4111.d: Likewise 2 nops. + +2011-06-26 Richard Sandiford <rdsandiford@googlemail.com> + + * gas/mips/24k-branch-delay-1.d: Do not allow stores to be put + into delay slots. + * gas/mips/24k-triple-stores-1.d: Put the first nop after the + second store, rather than the first. + * gas/mips/24k-triple-stores-2.d: Likewise. + * gas/mips/24k-triple-stores-4.d: Likewise. + * gas/mips/24k-triple-stores-8.d: Likewise. + * gas/mips/24k-triple-stores-3.d: Remove first nop. + * gas/mips/24k-triple-stores-5.d: Likewise. + * gas/mips/24k-triple-stores-6.d: Likewise. + * gas/mips/24k-triple-stores-7.d: Likewise. + * gas/mips/24k-triple-stores-9.d: Add a nop after the second store. + Expect a nop at the end. + * gas/mips/24k-triple-stores-10.d: Put the first nop after the + second store, rather than the first. Expect a nop at the end. + +2011-06-25 Richard Sandiford <rdsandiford@googlemail.com> + + * gas/mips/vr4130.s: Add some more ".set noreorder" tests. + * gas/mips/vr4130.d: Update accordingly. + +2011-06-23 Richard Sandiford <rdsandiford@googlemail.com> + + * gas/mips/pr12915.s, gas/mips/pr12915.d: New test. + * gas/mips/mips.exp: Run it. + +2011-06-21 Sameera Deshpande <sameera.deshpande@arm.com> + + * gas/arm/vcvt-bad.d: New test. + * gas/arm/vcvt-bad.l: Likewise. + * gas/arm/vcvt-bad.s: Likewise. + * gas/arm/vcvt.d: Likewise. + * gas/arm/vcvt.s: Likewise. + +2011-06-14 Tristan Gingold <gingold@adacore.com> + + * gas/ppc/test1xcoff32.d: Adjust for csect anchor. + +2011-06-13 Walter Lee <walt@tilera.com> + + * gas/tilepro/t_constants.s: New file. + * gas/tilepro/t_constants.d: Likewise. + * gas/tilepro/t_insns.s: Likewise. + * gas/tilepro/tilepro.exp: Likewise. + * gas/tilepro/t_insns.d: Likewise. + * gas/tilegx/tilegx.exp: Likewise. + * gas/tilegx/t_insns.d: Likewise. + * gas/tilegx/t_insns.s: Likewise. + +2011-06-13 Nick Clifton <nickc@redhat.com> + + PR gas/12854 + * gas/arm/shift-bad.s: New test. + * gas/arm/shift-bad.l: Expcted error output. + * gas/arm/shift-bad.s: New control file. + +2011-06-12 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/arch-10-lzcnt.d: Updated. + * gas/i386/x86-64-arch-2-lzcnt.d: Likewise. + +2011-06-10 H.J. Lu <hongjiu.lu@intel.com> + + AVX Programming Reference (June, 2011) + * gas/i386/arch-10-1.l: Updated. + * gas/i386/arch-10-2.l: Likewise. + * gas/i386/arch-10-3.l: Likewise. + * gas/i386/arch-10-4.l: Likewise. + + * gas/i386/arch-10.s: Add LZCNT to comments. + * gas/i386/x86-64-arch-2.s: Likewise. + + * gas/i386/arch-10-lzcnt.d: New. + * gas/i386/avx-gather-intel.d: Likewise. + * gas/i386/avx-gather.d: Likewise. + * gas/i386/avx-gather.s: Likewise. + * gas/i386/avx2-intel.d: Likewise. + * gas/i386/avx2.d: Likewise. + * gas/i386/avx2.s: Likewise + * gas/i386/avx256int-intel.d: Likewise. + * gas/i386/avx256int.d: Likewise. + * gas/i386/avx256int.s: Likewise. + * gas/i386/bmi2-intel.d: Likewise. + * gas/i386/bmi2.d: Likewise. + * gas/i386/bmi2.s: Likewise. + * gas/i386/inval-invpcid.l:Likewise. + * gas/i386/inval-invpcid.s: Likewise. + * gas/i386/invpcid-intel.d: Likewise. + * gas/i386/invpcid.d: Likewise. + * gas/i386/invpcid.s: Likewise. + * gas/i386/x86-64-arch-2-lzcnt.d: Likewise. + * gas/i386/x86-64-avx-gather-intel.d: Likewise. + * gas/i386/x86-64-avx-gather.d: Likewise. + * gas/i386/x86-64-avx-gather.s: Likewise. + * gas/i386/x86-64-avx2-intel.d: Likewise. + * gas/i386/x86-64-avx2.d: Likewise. + * gas/i386/x86-64-avx2.s: Likewise. + * gas/i386/x86-64-avx256int-intel.d: Likewise. + * gas/i386/x86-64-avx256int.d: Likewise. + * gas/i386/x86-64-avx256int.s: Likewise. + * gas/i386/x86-64-bmi2-intel.d: Likewise. + * gas/i386/x86-64-bmi2.d: Likewise. + * gas/i386/x86-64-bmi2.s: Likewise. + * gas/i386/x86-64-inval-invpcid.l: Likewise. + * gas/i386/x86-64-inval-invpcid.s: Likewise. + * gas/i386/x86-64-invpcid-intel.d: Likewise. + * gas/i386/x86-64-invpcid.d: Likewise. + * gas/i386/x86-64-invpcid.s: Likewise. + +2011-06-09 James Greenhalgh <james.greenhalgh@arm.com> + + * gas/arm/ldrd-unpredicatble.d: New testcase. + * gas/arm/ldrd-unpredicatble.s: Likewise. + * gas/arm/ldrd-unpredicatble.l: Likewise. + +2011-06-02 Jie Zhang <jie@codesourcery.com> + Nathan Sidwell <nathan@codesourcery.com> + + * gas/arm/inst.d: Adjust for signed zero offsets. + * gas/arm/ldst-offset0.d: New test. + * gas/arm/ldst-offset0.s: New test. + * gas/arm/offset-1.d: New test. + * gas/arm/offset-1.s: New test. + +2011-05-31 Paul Brook <paul@codesourcery.com> + + * gas/arm/arm-idiv-bad.d: New test. + * gas/arm/arm-idiv-bad.s: New test. + * gas/arm/arm-idiv-bad.l: New test. + * gas/arm/arm-idiv.d: New test. + * gas/arm/arm-idiv.s: New test. + +2011-05-31 Paul Brook <paul@codesourcery.com> + + * gas/arm/ldr-global.d: New test. + * gas/arm/ldr-global.s: New test. + +2011-05-31 Paul Brook <paul@codesourcery.com> + + * arm/t2-branch-global.d: New test. + * arm/t2-branch-global.s: New test. + +2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * gas/s390/esa-g5.d: Fix fp register pair operands. + * gas/s390/esa-g5.s: Likewise. + * gas/s390/zarch-z196.d: Likewise. + * gas/s390/zarch-z196.s: Likewise. + * gas/s390/zarch-z9-109.d: Likewise. + * gas/s390/zarch-z9-109.s: Likewise. + * gas/s390/zarch-z9-ec.d: Likewise. + * gas/s390/zarch-z9-ec.s: Likewise. + +2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * gas/s390/esa-g5.d: Fix register pair operands. + * gas/s390/esa-g5.s: Likewise. + * gas/s390/esa-z9-109.d: Likewise. + * gas/s390/esa-z9-109.s: Likewise. + * gas/s390/zarch-z196.d: Likewise. + * gas/s390/zarch-z196.s: Likewise. + * gas/s390/zarch-z9-109.d: Likewise. + * gas/s390/zarch-z9-109.s: Likewise. + * gas/s390/zarch-z900.d: Likewise. + * gas/s390/zarch-z900.s: Likewise. + * gas/s390/zarch-z990.d: Likewise. + * gas/s390/zarch-z990.s: Likewise. + +2011-05-20 Bernd Schmidt <bernds@codesourcery.com> + + * gas/tic6x/pcr-relocs.d: New test. + * gas/tic6x/pcr-relocs.s: New test. + * gas/tic6x/pcr-relocs-undef.d: New test. + * gas/tic6x/pcr-relocs-undef.s: New test. + * gas/tic6x/reloc-bad-2.s: Update for pcr_offset. + * gas/tic6x/reloc-bad-2.l: Update for pcr_offset. + +2011-05-18 Nick Clifton <nickc@redhat.com> + + * gas/arm/req.l: Updated expected warning message. + +2011-05-18 Tristan Gingold <gingold@adacore.com> + + * gas/ppc/xcoff-dwsect-1-32.d: New test. + * gas/ppc/xcoff-dwsect-1-64.d: Ditto. + * gas/ppc/xcoff-dwsect-1.s: New file. + * gas/ppc/aix.exp (do_align_test): Add tests. + +2011-05-16 Hans-Peter Nilsson <hp@axis.com> + + * gas/cris/rd-brokw-pic-1.d, gas/cris/rd-brokw-pic-2.d, + gas/cris/rd-fragtest-pic.d: Gate on targets cris-*-*elf* and + cris-*-linux-gnu. + * gas/cris/pic-err-2.s, gas/cris/pic-err-3.s: New tests. + +2011-05-14 Alan Modra <amodra@gmail.com> + + * gas/all/gas.exp: Fix typo last change. + +2011-05-13 Alan Modra <amodra@gmail.com> + + * gas/all/gas.exp: Remove some xfails on redef2 and redef3 tests. + Update comments. + * gas/hppa/unsorted/unsorted.exp: Run globalbug test on appropriate + targets rather than xfailing. + +2011-05-12 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + PR gas/12715 + * gas/arm/neon-const.s: Add testcase for 64-bit Neon constants. + * gas/arm/neon-const.d: Likewise. + +2011-05-11 Richard Sandiford <rdsandiford@googlemail.com> + + * gas/mips/24k-branch-delay-1.d: Allow 64-bit addresses. Stub out + function names. + * gas/mips/24k-triple-stores-1.d: Likewise. + * gas/mips/24k-triple-stores-2.d: Likewise. + * gas/mips/24k-triple-stores-3.d: Likewise. + * gas/mips/24k-triple-stores-4.d: Likewise. + * gas/mips/24k-triple-stores-5.d: Likewise. + * gas/mips/24k-triple-stores-7.d: Likewise. + * gas/mips/24k-triple-stores-8.d: Likewise. + * gas/mips/24k-triple-stores-9.d: Likewise. + * gas/mips/24k-triple-stores-10.d: Likewise. + * gas/mips/24k-triple-stores-11.d: Likewise. + * gas/mips/24k-triple-stores-6.d: Likewise. Add -EB. + * gas/mips/mips.exp: Only run 24k-triple-stores-11.d on ELF targets. + +2011-05-11 Richard Sandiford <rdsandiford@googlemail.com> + + * gas/mips/24k-branch-delay-1.d: Add -32 to assembler options. + * gas/mips/24k-triple-stores-1.d: Likewise. + * gas/mips/24k-triple-stores-2.d: Likewise. + * gas/mips/24k-triple-stores-3.d: Likewise. + * gas/mips/24k-triple-stores-4.d: Likewise. + * gas/mips/24k-triple-stores-5.d: Likewise. + * gas/mips/24k-triple-stores-6.d: Likewise. + * gas/mips/24k-triple-stores-7.d: Likewise. + * gas/mips/24k-triple-stores-8.d: Likewise. + * gas/mips/24k-triple-stores-9.d: Likewise. + * gas/mips/24k-triple-stores-10.d: Likewise. + * gas/mips/24k-triple-stores-11.d: Likewise. + +2011-05-11 Tejas Belagod <tejas.belagod@arm.com> + + * gas/arm/ld-sp-warn-cortex-m3.d: New test. + * gas/arm/ld-sp-warn-cortex-m3.l: New test. + * gas/arm/ld-sp-warn-cortex-m4.d: New test. + * gas/arm/ld-sp-warn-cortex-m4.l: New test. + * gas/arm/ld-sp-warn-v7.d: New test. + * gas/arm/ld-sp-warn-v7.l: New test. + * gas/arm/ld-sp-warn-v7a.d: New test. + * gas/arm/ld-sp-warn-v7a.l: New test. + * gas/arm/ld-sp-warn-v7e-m.l: New test. + * gas/arm/ld-sp-warn-v7em.d: New test. + * gas/arm/ld-sp-warn-v7m.d: New test. + * gas/arm/ld-sp-warn-v7m.l: New test. + * gas/arm/ld-sp-warn-v7r.d: New test. + * gas/arm/ld-sp-warn-v7r.l: New test. + * gas/arm/ld-sp-warn.s: New test. + +2010-05-10 Quentin Neill <quentin.neill@amd.com> + + * gas/i386/i386.exp: Add new bdver2 test cases. + * gas/i386/nops-1-bdver2.d: New. + * gas/i386/x86-64-nops-1-bdver2.d: New. + +2011-05-09 Paul Brook <paul@codesourcery.com> + + * gas/tic6x/unwind-1.d: New test. + * gas/tic6x/unwind-1.s: New test. + * gas/tic6x/unwind-2.d: New test. + * gas/tic6x/unwind-2.s: New test. + * gas/tic6x/unwind-3.d: New test. + * gas/tic6x/unwind-3.s: New test. + * gas/tic6x/unwind-bad-1.d: New test. + * gas/tic6x/unwind-bad-1.s: New test. + * gas/tic6x/unwind-bad-1.l: New test. + * gas/tic6x/unwind-bad-2.d: New test. + * gas/tic6x/unwind-bad-2.s: New test. + * gas/tic6x/unwind-bad-2.l: New test. + +2011-04-29 Hans-Peter Nilsson <hp@axis.com> + + * gas/elf/dwarf2-1.d, gas/elf/dwarf2-2.d: Adjust for change in + output format. + * gas/i386/dw2-compress-1.d: Ditto. + +2011-04-20 Catherine Moore <clm@codesourcery.com> + David Ung <davidu@mips.com> + + * gas/mips/24k-branch-delay-1.d: New. + * gas/mips/24k-branch-delay-1.s: New. + * gas/mips/24k-triple-stores-1.d: New. + * gas/mips/24k-triple-stores-1.s: New. + * gas/mips/24k-triple-stores-2.d: New. + * gas/mips/24k-triple-stores-2.s: New. + * gas/mips/24k-triple-stores-3.d: New. + * gas/mips/24k-triple-stores-3.s: New. + * gas/mips/24k-triple-stores-4.s: New. + * gas/mips/24k-triple-stores-4.d: New. + * gas/mips/24k-triple-stores-5.d: New. + * gas/mips/24k-triple-stores-5.s: New. + * gas/mips/24k-triple-stores-6.d: New. + * gas/mips/24k-triple-stores-6.s: New. + * gas/mips/24k-triple-stores-7.d: New. + * gas/mips/24k-triple-stores-7.s: New. + * gas/mips/24k-triple-stores-8.d: New. + * gas/mips/24k-triple-stores-8.s: New. + * gas/mips/24k-triple-stores-9.d: New. + * gas/mips/24k-triple-stores-9.s: New. + * gas/mips/24k-triple-stores-10.d: New. + * gas/mips/24k-triple-stores-10.s: New. + * gas/mips/24k-triple-stores-11.d: New. + * gas/mips/24k-triple-stores-11.s: New. + * gas/mips/mips.exp: Invoke new tests. + +2011-04-19 Nick Clifton <nickc@redhat.com> + + * gas/arm/mrs-msr-thumb-v7e-m.s: Restore name of basepri_max + register. + * gas/arm/mrs-msr-thumb-v7e-m.d: Likewise. + * gas/arm/arch7.d: Likewise. + * gas/arm/arch7.s: Likewise. + +2011-04-18 Nick Clifton <nickc@redhat.com> + + * gas/arm/arch7.s: Fix typo basepri_max should be basepri_mask. + * gas/arm/mrs-msr-thumb-v7e-m.s: Likewise. + * gas/arm/arch7.d: Update expected disassembly. + * gas/arm/attr-march-armv7.d: Remove Microcontroller tag. + * gas/arm/blx-bad.d: Only run for ELF based targets. + * gas/arm/mrs-msr-thumb-v6t2.d: Likewise. + * gas/arm/vldm-arm.d: Likewise. + * gas/arm/mrs-msr-thumb-v7-m.d: Likewise. + Remove qualifiers from PSR and IAPSR regsiter names. + * gas/arm/mrs-msr-thumb-v7e-m.d: Likewise. + * gas/arm/thumb2_bcond.d: Update expected disassembly to allow for + relaxing of branch insns. + * gas/arm/thumb32.d: Fix whitespace problems in disassembly. + +2011-04-18 Tristan Gingold <gingold@adacore.com> + + * gas/macros/app1.s: Export symbol + * gas/macros/app2.s: Ditto + * gas/macros/app3.s: Ditto + * gas/macros/app4.s: Ditto + * gas/macros/app4b.s: Ditto + * gas/macros/app1.d: Adjust. + * gas/macros/app2.d: Ditto. + * gas/macros/app3.d: Ditto. + * gas/macros/app4.d: Ditto. + +2011-04-18 Tristan Gingold <gingold@adacore.com> + + * lib/gas-defs.exp (get_standard_section_names): Add names for + alpha vms. + * gas/all/gas.exp: Do not test diff1.s on alpha-vms. + +2011-04-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * gas/s390/zarch-machine.s: New testcase. + * gas/s390/zarch-machine.d: New testcase output. + * gas/s390/s390.exp: Execute the new testcase. + +2011-04-13 Nick Clifton <nickc@redhat.com> + + * gas/v850/v850e1.s: Add a insn using reg+offset addressing. + * gas/v850/v850e1.d: Add expected disassembly. + +2011-04-12 Nick Clifton <nickc@redhat.com> + + PR binutils/12534 + * gas/arm/thumb32.s: Add PC relative LDRD and STRD insns. + * gas/arm/thumb32.l: Update expected output. + * gas/arm/thumb32.d: Update expected disassembly. + + PR gas/12532 + * gas/arm/plt-1.d: Update expected disassembly. + * gas/arm/thumb2_bcond.d: Likewise. + * gas/arm/weakdef-1.d: Likewise. + +2011-04-12 Alan Modra <amodra@gmail.com> + + * gas/all/gas.exp (do_930509a): Don't xfail h8300 and mn10200. + +2011-04-11 Julian Brown <julian@codesourcery.com> + + * gas/arm/mrs-msr-thumb-v7-m.s: New. + * gas/arm/mrs-msr-thumb-v7-m.d: New. + * gas/arm/mrs-msr-thumb-v7-m-bad.d: New. + * gas/arm/mrs-msr-thumb-v7-m-bad.l: New. + * gas/arm/mrs-msr-thumb-v7-m-bad.s: New. + * gas/arm/mrs-msr-thumb-v7e-m.d: New. + * gas/arm/mrs-msr-thumb-v7e-m.s: New. + * gas/arm/mrs-msr-arm-v7-a-bad.d: New. + * gas/arm/mrs-msr-arm-v7-a-bad.l: New. + * gas/arm/mrs-msr-arm-v7-a-bad.s: New. + * gas/arm/mrs-msr-arm-v7-a.d: New. + * gas/arm/mrs-msr-arm-v7-a.s: New. + * gas/arm/mrs-msr-arm-v6.d: New. + * gas/arm/mrs-msr-arm-v6.s: New. + * gas/arm/mrs-msr-thumb-v6t2.d: New. + * gas/arm/mrs-msr-thumb-v6t2.s: New. + * gas/arm/arch7.d: Fix typo in disassembly for BASEPRI_MAX, + bitmasks for IAPSR etc. + * gas/arm/arch7.s: Specify bitmask for APSR writes. + * gas/arm/archv6m.s: Likewise. + * msr-imm-bad.l: Tweak expected disassembly in error message. + * msr-reg-bad.l: Likewise. + * msr-imm.d: Tweak expected disassembly. + * msr-reg.d: Likewise. + * msr-reg-thumb.d: Likewise. + * msr-imm.s: Specify bitmask on APSR writes. + * msr-reg.s: Add comment about deprecated usage. + +2011-04-11 Dan McDonald <dan@wellkeeper.com> + + PR gas/12296 + * gas/arm/arch7.s: Add SVC insn. + * gas/arm/arch7.d: Add disassembly of SVC insn. + * gas/arm/attr-march-armv7.d: Add arch profile tag. + +2011-04-06 Joseph Myers <joseph@codesourcery.com> + + * gas/all/gas.exp (*arm*-*-coff): Change to arm*-*-coff. + (thumb*-*-coff, thumb*-*-pe*): Don;t handle. + * gas/arm/arm.exp (*arm*-*-*): Change to arm*-*-*. + (*xscale*-*-*): Don't handle. + * gas/cfi/cfi.exp (xscale*-*): Don't handle. + * gas/elf/elf.exp (*arm*-*-*): Change to arm*-*-*. + (xscale*-*-*): Don't handle. + +2011-03-31 Bernd Schmidt <bernds@codesourcery.com> + + * gas/tic6x/scomm-directive-1.s: New test. + * gas/tic6x/scomm-directive-1.d: New test. + * gas/tic6x/scomm-directive-2.s: New test. + * gas/tic6x/scomm-directive-2.d: New test. + * gas/tic6x/scomm-directive-3.s: New test. + * gas/tic6x/scomm-directive-3.d: New test. + * gas/tic6x/scomm-directive-4.s: New test. + * gas/tic6x/scomm-directive-4.d: New test. + * gas/tic6x/scomm-directive-5.s: New test. + * gas/tic6x/scomm-directive-5.d: New test. + * gas/tic6x/scomm-directive-6.s: New test. + * gas/tic6x/scomm-directive-6.d: New test. + * gas/tic6x/scomm-directive-7.s: New test. + * gas/tic6x/scomm-directive-7.d: New test. + * gas/tic6x/scomm-directive-8.s: New test. + * gas/tic6x/scomm-directive-8.d: New test. + +2011-03-29 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/ilp32/quad.d: Add tests for multiple operands. + * gas/i386/ilp32/quad.s: Likewise. + +2011-03-29 Mike Frysinger <vapier@gentoo.org> + + * gas/bfin/expected_errors.s: Add invalid BYTEUNPACK insn tests. + * gas/bfin/expected_errors.l: Add new error messages. + +2011-03-29 Mike Frysinger <vapier@gentoo.org> + + * gas/bfin/expected_errors.s: Add invalid BYTEOP16M insn tests. + * gas/bfin/expected_errors.l: Add new error messages. + +2011-03-29 Mike Frysinger <vapier@gentoo.org> + + * gas/bfin/expected_errors.s: Add invalid BYTEOP16P insn tests. + * gas/bfin/expected_errors.l: Add new error messages. + +2011-03-28 Mike Frysinger <vapier@gentoo.org> + + * gas/bfin/expected_errors.s: Add invalid 16bit acc add insn tests. + * gas/bfin/expected_errors.l: Add new error messages. + * testsuite/gas/bfin/video2.s: Drop invalid 16bit acc add insn. + * testsuite/gas/bfin/video2.d: Updated disassembly output. + +2011-03-28 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/ilp32/inval.s: Remove .quad. + * gas/i386/ilp32/inval.l: Updated. + + * gas/i386/ilp32/quad.d: New. + * gas/i386/ilp32/quad.s: Likewise. + +2011-03-24 Mike Frysinger <vapier@gentoo.org> + + * gas/bfin/expected_errors.s: Add invalid vector add/sub insn tests. + * gas/bfin/expected_errors.l: Add new error messages. + +2011-03-24 Mike Frysinger <vapier@gentoo.org> + + * gas/bfin/16bit_illegals.d, gas/bfin/16bit_illegals.s: Delete. + * gas/bfin/allinsn16.d, gas/bfin/allinsn16.s: New files. + * gas/bfin/bfin.exp: Change 16bit_illegals to allinsn16. + +2011-03-24 Mike Frysinger <vapier@gentoo.org> + + * gas/bfin/expected_errors.s: Add invalid dsp mult insn tests. + * gas/bfin/expected_errors.l: Add new error messages. + +2011-03-23 Mike Frysinger <vapier@gentoo.org> + + * gas/bfin/expected_errors.s: Add invalid SEARCH/BITMUX insns. + * gas/bfin/expected_errors.l: Add expected errors. + +2011-03-18 Alan Modra <amodra@gmail.com> + + * gas/elf/bad-size.err: Adjust expected error. + * gas/i386/bad-size.warn: Likewise. + * gas/i386/inval-equ-2.l: Likewise. + * gas/symver/symver2.l: Likewise. + +2011-03-17 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/12589 + * gas/i386/pr12589-1.d: New. + * gas/i386/pr12589-1.s: Likewise. + + * gas/i386/i386.exp: Run pr12589-1. + +2011-03-16 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/bad-size.d: New. + * gas/i386/bad-size.s: Likewise. + * gas/i386/bad-size.warn: Likewise. + + * gas/i386/i386.exp: Run bad-size for ELF targets. + +2011-03-06 H.J. Lu <hongjiu.lu@intel.com> + + * gas/elf/bad-size.err: Revert the last change. + +2011-03-05 H.J. Lu <hongjiu.lu@intel.com> + + * gas/elf/bad-size.err: Updated. + +2011-02-28 Maciej W. Rozycki <macro@codesourcery.com> + + * gas/mips/alnv_ps-swap.d: New test for ALNV.PS instruction + branch swapping. + * gas/mips/alnv_ps-swap.s: Source for the new test. + * gas/mips/mips.exp: Run the new test. + +2011-02-28 Maciej W. Rozycki <macro@codesourcery.com> + + * gas/mips/relax-bposge.l: New test for DSP branch relaxation. + * gas/mips/relax-bposge.s: Source for the new test. + * gas/mips/mips.exp: Run the new test. + +2011-02-28 Maciej W. Rozycki <macro@codesourcery.com> + + * gas/mips/relax-at.d: New test for branch relaxation with .set + at. + * gas/mips/relax.s: Update to support the new test. + * gas/mips/relax.l: Update accordingly. + * gas/mips/relax.d: Update for multi-arch invocation. + * gas/mips/mips.exp: Run the new test. Adjust to run "relax" + across all applicable architectures. + +2011-02-28 Maciej W. Rozycki <macro@codesourcery.com> + + * gas/mips/branch-misc-2.d: Adjust for relocation change. + * gas/mips/branch-misc-2pic.d: Likewise. + * gas/mips/branch-misc-4.d: New test for PC-relative relocation + overflow. + * gas/mips/branch-misc-4-64.d: Likewise. + * gas/mips/branch-misc-4.s: Source for the new tests. + * testsuite/gas/mips/mips.exp: Run the new tests. + +2011-02-28 Maciej W. Rozycki <macro@codesourcery.com> + + * gas/mips/relax-swap1.l: Adjust for message capitalization + correction. + * gas/mips/relax-swap2.l: Likewise. + * gas/mips/relax.l: Likewise. + +2011-02-25 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/ilp32/ilp32.exp: Run reloc64. + + * gas/i386/ilp32/reloc64.s: Allow TLS relocations with 32bit + register destinations. + * gas/i386/ilp32/reloc64.d: Updated. + + * gas/i386/ilp32/reloc64.l: New. + +2011-02-25 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/12519 + * gas/elf/bad-size.d: New. + * gas/elf/bad-size.err: Likewise. + * gas/elf/bad-size.s: Likewise. + + * gas/elf/elf.exp: Run bad-size. + +2011-02-13 Mike Frysinger <vapier@gentoo.org> + + * gas/bfin/arithmetic.d, gas/bfin/parallel.d: Change A0 to A1. + +2011-02-13 Mike Frysinger <vapier@gentoo.org> + + * gas/bfin/arithmetic.d, gas/bfin/parallel.d, gas/bfin/parallel3.d, + gas/bfin/vector.d, gas/bfin/vector2.d: Add ".L" to dsp mult insns. + +2011-02-13 Mike Frysinger <vapier@gentoo.org> + + * gas/bfin/video.d, gas/bfin/video.s, gas/bfin/video2.d, + gas/bfin/video2.s: Remove BYTEOP2M insns. + +2011-02-10 Kai Tietz <kai.tietz@onevision.com> + + * gas/cfi/cfi-x86_64.d: Adjust for x64 PE+. + +2011-02-10 Vincent Rivière <vincent.riviere@freesbee.fr> + + * gas/m68k/cpu32.d: Set explicit architecture for objdump. + * gas/m68k/mcf-coproc.d: Likewise. + * gas/m68k/mcf-wdebug.d: Likewise. + +2011-02-10 Alan Modra <amodra@gmail.com> + + * gas/elf/dwarf2-4.s: Don't use @. + +2011-02-08 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/6957 + * gas/i386/nops-1-i686.d: Updated. + * gas/i386/nops-3-i686.d: Likewise. + * gas/i386/nops-4-i686.d: Likewise. + +2011-02-08 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/i386.exp: Run nops-4a-i686 and nops-6. + + * gas/i386/nops-4a-i686.d: New. + * gas/i386/nops-6.d: Likewise. + * gas/i386/nops-6.s: Likewise. + +2011-02-07 Vincent Riviere <vincent.riviere@freesbee.fr> + + PR gas/3041 + * gas/m68k/p3041pcrel.s, * gas/m68k/p3041pcrel.d: New test. + * gas/m68k/all.exp: Add "p3041pcrel" and enable p3041 tests for + all m68k-aout targets. + +2011-02-04 Bernd Schmidt <bernds@codesourcery.com> + + * gas/tic6x/dir-junk.l: Remove tests for .atomic and .noatomic. + * gas/tic6x/dir-junk.s: Likewise. + * gas/tic6x/insns-c674x-bad.d: Remove test. + * gas/tic6x/insns-c674x-bad.l: Likewise. + * gas/tic6x/insns-c674x-bad.s: Likewise. + * gas/tic6x/insns-atomic.d: Remove "-matomic" switch. + +2011-01-31 Nick Clifton <nickc@redhat.com> + + * gas/all/align.d: Skip for the RX. + * gas/elf/group1a.d: Likewise. + * gas/elf/groupautoa.d: Likewise. + * gas/elf/elf.exp: Do not run section5 test for the RX port. + * gas/elf/section4.d: Likewise. + * gas/elf/section7.d: Likewise. + * gas/macros/semi.s: Fill with a non-zero pattern. + * gas/macros/semi.d: Expect non-zero fill value. + * gas/rx/bcnd.d: Update expected disassembly. + * gas/rx/bra.d: Likewise. + * gas/rx/macros.inc: Add reg1 macro. + * gas/rx/max.sm: Use reg1 macro to avoid generating illegal NOP + instruction. + * gas/rx/mov.sm: Likewise. + * gas/rx/max.d: Update expected disassembly. + * gas/rx/mov.d: Likewise. + * gas/rx/rx-asm-good.s: Use Renesas section names. + * gas/rx/rx-asm-good.d: Update expected disassembly. + +2011-01-18 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/12409 + * gas/elf/dwarf2-4.d: New. + * gas/elf/dwarf2-4.s: Likewise. + + * gas/elf/elf.exp: Run dwarf2-4. + +2011-01-18 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/intel.d: Updated. + * gas/i386/opcode-intel.d: Likewise. + * gas/i386/opcode-suffix.d: Likewise. + * gas/i386/opcode.d: Likewise. + +2011-01-18 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/ilp32/x86-64-arch-2.d: Add tbm flag and TBM instruction + pattern. + +2011-01-17 Quentin Neill <quentin.neill@amd.com> + + * gas/i386/tbm.s: New. + * gas/i386/tbm.d: New. + * gas/i386/tbm-intel.d: New. + * gas/i386/x86-64-tbm.s: New. + * gas/i386/x86-64-tbm.d: New. + * gas/i386/x86-64-tbm-intel.d: New. + * gas/i386/arch-10.d: Add tbm flag and TBM instruction pattern. + * gas/i386/arch-10.s: Add a TBM instruction. + * gas/i386/arch-10-1.l: Add TBM instruction pattern. + * 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.s: Likewise. + * gas/i386/x86-64-arch-2.d: Likewise. + +2011-01-16 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/ilp32/immed64.s: New. + * gas/i386/ilp32/reloc64.s: Likewise. + * gas/i386/ilp32/x86-64-pcrel.s: Likewise. + + * gas/i386/ilp32/inval.s: Add more tests. + + * gas/i386/ilp32/immed64.d: Updated. + * gas/i386/ilp32/inval.l: Likewise. + * gas/i386/ilp32/reloc64.d: Likewise. + * gas/i386/ilp32/x86-64-pcrel.d: Likewise. + +2011-01-15 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/ilp32/ilp32.exp: Run inval. + + * gas/i386/ilp32/inval.l: New. + * gas/i386/ilp32/inval.s: Likewise. + * gas/i386/ilp32/x86-64.s: Likewise. + + * gas/i386/ilp32/x86-64.d: Don't use ../x86_64.s. Updated. + +2011-01-14 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/ilp32/cfi/ilp32.exp: Replace --n32 with --x32. + * gas/i386/ilp32/elf/ilp32.exp: Likewise. + * gas/i386/ilp32/ilp32.exp: Likewise. + * gas/i386/ilp32/lns/ilp32.exp: Likewise. + +2011-01-11 Mingjie Xing <mingjie.xing@gmail.com> + + * mips/loongson-3a-2.s, mips/loongson-3a-2.d: Use the real offset + value in assembly. + +2011-01-10 Nathan Sidwell <nathan@codesourcery.com> + Glauber de Oliveira Costa <glommer@gmail.com> + + * gas/arm/tls.s: Add tlsdesc tests. + * gas/arm/tls.d: Adjust. + +2011-01-07 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/ilp32/x86-64-arch-2.d: Add bmi flag and BMI instruction + pattern. + +2011-01-07 Quentin Neill <quentin.neill@amd.com> + + * gas/i386/arch-10.s: Add a BMI instruction. + * gas/i386/x86-64-arch-2.s: Likewise. + * gas/i386/arch-10.d: Add bmi flag and BMI instruction pattern. + * gas/i386/x86-64-arch-2.d: Likewise. + * gas/i386/arch-10-1.l: Add BMI instruction pattern. + * gas/i386/arch-10-2.l: Likewise. + * gas/i386/arch-10-3.l: Likewise. + * gas/i386/arch-10-4.l: Likewise. + +2011-01-06 Paul Koning <ni1d@arrl.net> + + * gas/pdp11/pdp11.exp: Add run of absreloc. + +2011-01-06 Paul Koning <ni1d@arrl.net> + + * gas/pdp11/absreloc.s: New. + * gas/pdp11/absreloc.d: New. + +2011-01-06 Paul Koning <ni1d@arrl.net> + + * gas/pdp11/opcode.d: Fix expected output for sec instruction. + +2011-01-05 Nathan Sidwell <nathan@codesourcery.com> + + * gas/arm/blx-bad.s: New. + * gas/arm/blx-bad.d: New. + +2011-01-04 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/bmi-intel.d: New. + * gas/i386/bmi.d: Likewise. + * gas/i386/bmi.s: Likewise. + * gas/i386/x86-64-bmi-intel.d: Likewise. + * gas/i386/x86-64-bmi.d: Likewise. + * gas/i386/x86-64-bmi.s: Likewise. + + * gas/i386/i386.exp: Run bmi, bmi-intel, x86-64-bmi and + x86-64-bmi-intel. + +2011-01-01 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/ilp32/lns/lns-common-1.d: Also expect .zdebug in + section name. + * gas/i386/ilp32/lns/lns-duplicate.d: Likewise. + +For older changes see ChangeLog-2010 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 06177b6..555390b 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,79 +1,5 @@ -2011-10-26 Nick Clifton <nickc@redhat.com> - * hist.c (hist_assign_samples_1): Update comment. - -2011-10-25 Wei Guozhi <carrot@google.com> - - PR gprof/13325 - * hist.c (hist_assign_samples_1): Make sure that inner loop - iterator remains valid. - -2011-10-24 Nick Clifton <nickc@redhat.com> - - * po/ja.po: New Japanese translation. - * configure.in (ALL_LINGUAS): Add ja. - * configure: Regenerate. - -2011-10-18 Nick Clifton <nickc@redhat.com> - - * po/it.po: New Italian translation. - * po/gprof.pot: Regenerate. - -2011-10-10 Nick Clifton <nickc@redhat.com> - - * po/uk.po: New Ukranian translation. - * po/bg.po: Updated Bulgarian translation. - * po/es.po: Updated Spanish translation. - * po/fi.po: Updated Finnish translation. - -2011-08-26 Nick Clifton <nickc@redhat.com> - - * po/es.po: Updated Spanish translation. - -2011-06-07 David Warme <dwarme@groupw.com> - - * corefile.c (core_sym_class): Allow for multiple iterations of - clone clones and subprograms. - -2011-04-28 Jonathan Nieder <jrnieder@gmail.com> - - * cg_print.c (print_header): Add no-c-format comment to prevent - confusion when translating "%time". - -2011-04-27 Nick Clifton <nickc@redhat.com> - - * po/eo.po: Updated Esperanto translation. - * po/fr.po: Updated French translation. - -2011-03-30 Nick Clifton <nickc@redhat.com> - - * po/eo.po: New Esperanto translation. - * configure.in (ALL_LINGUAS): Add eo. - * configure: Regenerate. - -2011-02-28 Kai Tietz <kai.tietz@onevision.com> - - * basic_blocks.c (cmp_bb): Use filename_(n)cmp. - * cg_print.c (order_and_dump_functions_by_arcs): Likewise. - (cg_print_file_ordering): Likewise. - * corefile.c (read_function_mappings): Likewise. - (core_create_line_syms): Likewise. - -2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure: Regenerate. - -2011-02-07 Alan Modra <amodra@gmail.com> - - PR gprof/12468 - * corefile.c (core_create_function_syms): Set is_func for targets - that have no BSF_FUNCTION syms. - -2011-01-10 Nick Clifton <nickc@redhat.com> - - * po/da.po: Updated Danish translation. - -For older changes see ChangeLog-2010 +For older changes see ChangeLog-2011 Local Variables: mode: change-log diff --git a/gprof/ChangeLog-2011 b/gprof/ChangeLog-2011 new file mode 100644 index 0000000..06177b6 --- /dev/null +++ b/gprof/ChangeLog-2011 @@ -0,0 +1,83 @@ +2011-10-26 Nick Clifton <nickc@redhat.com> + + * hist.c (hist_assign_samples_1): Update comment. + +2011-10-25 Wei Guozhi <carrot@google.com> + + PR gprof/13325 + * hist.c (hist_assign_samples_1): Make sure that inner loop + iterator remains valid. + +2011-10-24 Nick Clifton <nickc@redhat.com> + + * po/ja.po: New Japanese translation. + * configure.in (ALL_LINGUAS): Add ja. + * configure: Regenerate. + +2011-10-18 Nick Clifton <nickc@redhat.com> + + * po/it.po: New Italian translation. + * po/gprof.pot: Regenerate. + +2011-10-10 Nick Clifton <nickc@redhat.com> + + * po/uk.po: New Ukranian translation. + * po/bg.po: Updated Bulgarian translation. + * po/es.po: Updated Spanish translation. + * po/fi.po: Updated Finnish translation. + +2011-08-26 Nick Clifton <nickc@redhat.com> + + * po/es.po: Updated Spanish translation. + +2011-06-07 David Warme <dwarme@groupw.com> + + * corefile.c (core_sym_class): Allow for multiple iterations of + clone clones and subprograms. + +2011-04-28 Jonathan Nieder <jrnieder@gmail.com> + + * cg_print.c (print_header): Add no-c-format comment to prevent + confusion when translating "%time". + +2011-04-27 Nick Clifton <nickc@redhat.com> + + * po/eo.po: Updated Esperanto translation. + * po/fr.po: Updated French translation. + +2011-03-30 Nick Clifton <nickc@redhat.com> + + * po/eo.po: New Esperanto translation. + * configure.in (ALL_LINGUAS): Add eo. + * configure: Regenerate. + +2011-02-28 Kai Tietz <kai.tietz@onevision.com> + + * basic_blocks.c (cmp_bb): Use filename_(n)cmp. + * cg_print.c (order_and_dump_functions_by_arcs): Likewise. + (cg_print_file_ordering): Likewise. + * corefile.c (read_function_mappings): Likewise. + (core_create_line_syms): Likewise. + +2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * configure: Regenerate. + +2011-02-07 Alan Modra <amodra@gmail.com> + + PR gprof/12468 + * corefile.c (core_create_function_syms): Set is_func for targets + that have no BSF_FUNCTION syms. + +2011-01-10 Nick Clifton <nickc@redhat.com> + + * po/da.po: Updated Danish translation. + +For older changes see ChangeLog-2010 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/ld/ChangeLog b/ld/ChangeLog index f8c48e6..555390b 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,1070 +1,5 @@ -2011-12-20 Joseph Myers <joseph@codesourcery.com> - * emulparams/elf32bmip.sh (OTHER_SECTIONS): Put .mdebug.* and - .gcc_compiled_long* sections at address 0. - -2011-12-13 Nick Clifton <nickc@redhat.com> - - * po/it.po: New Italian translation. - * configure.in (ALL_LINGUAS): Add it. - * configure: Regenerate. - -2011-12-01 Nick Clifton <nickc@redhat.com> - - * emultempl/spuelf.em (spu_elf_relink): Use pex_one in place - of execvp. - -2011-11-25 John Tytgat <john@bass-software.com> - - * emultempl/armelf.em: Update copyright to 2010 and 2011. - (PARSE_AND_LIST_OPTIONS): Fix formatting. - -2011-11-21 Andreas Tobler <andreast@fgznet.ch> - - * Makefile.am (ALL_64_EMULATION_SOURCES): Add powerpc64-*-freebsd - source. - (eelf64ppc_fbsd.c): Add rules to build this file. - * Makefile.in: Regenerate. - * configure.tgt: Add target definition for powerpc64-*-freebsd*. - Adjust powerpc-*-freebsd*. - * emultempl/ppc64elf.em: Add a mechanism to override the default - value of 0 for plt_static_chain. - * emulparams/elf32ppc_fbsd.sh (OUTPUT_FORMAT): Override the default. - * emulparams/elf64ppc_fbsd.sh (OUTPUT_FORMAT): Likewise. - (DEFAULT_PLT_STATIC_CHAIN): Define to 1. - -2011-11-15 Andreas Schwab <schwab@linux-m68k.org> - - * ldlang.c (insert_pad): Change alignment_needed argument to - bfd_size_type. - (size_input_section): Change alignment_needed varible to - bfd_size_type. - * ldlang.h (lang_padding_statement_type): Change size field to - bfd_size_type. - -2011-11-03 Tristan Gingold <gingold@adacore.com> - - * scripttempl/aix.sc: Consider header size for .text and .data - alignment. - -2011-11-02 Tristan Gingold <gingold@adacore.com> - - * emultempl/aix.em (read_file_list): New function. - (_handle_option): Handle '-f'. - * NEWS: Mention this feature. - -2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> - - * configure.tgt (x86_64-*-solaris2*): Use $targ_extra_emuls for - targ_extra_libpath. - -2011-11-01 DJ Delorie <dj@redhat.com> - - * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32rl78.c. - (+eelf32rl78.c): New rule. - * Makefile.in: Regenerate. - * configure.tgt: Add rl78-*-* case. - * emulparams/elf32rl78.sh: New file. - * NEWS: Mention addition of Renesas RL78 support. - -2011-10-28 Walter Lee <walt@tilera.com> - - * NEWS: Fix TILEPro capitalization. - -2011-10-25 Joern Rennecke <joern.rennecke@embecosm.com> - - * NEWS: Mention addition of Adapteva Epiphany support. - * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32epiphany.c . - (eelf32epiphany.c): New rule. - * configure.tgt: Handle epiphany-*-elf. - * emulparams/elf32epiphany.sh: New file. - * Makefile.in: Regenerate. - * po/ld.pot: Regenerate. - -2011-10-24 Nick Clifton <nickc@redhat.com> - - * po/ja.po: Updated Japanese translation. - -2011-10-20 Alan Modra <amodra@gmail.com> - - PR ld/13287 - * plugin.c (plugin_should_reload): New function. - * plugin.h (plugin_should_reload): Declare. - * ldlang.c (open_input_bfds): Use above function. - -2011-10-19 Alan Modra <amodra@gmail.com> - - PR ld/13254 - * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add - -z text, -z notext, -z textoff options for all targets having - shared lib support. - -2011-10-15 Alan Modra <amodra@gmail.com> - - * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Remove toc check. - -2011-10-13 Dave Korn <dave.korn.cygwin@gmail.com> - - * pe-dll.c (generate_reloc): Don't emit a base reloc for an - underlying BFD reloc that will be discarded in eh_frame data. - -2011-10-10 Nick Clifton <nickc@redhat.com> - - * po/bg.po: Updated Bulgarian translation. - * po/es.po: Updated Spanish translation. - * po/fi.po: Updated Finnish translation. - * po/fr.po: Updated French translation. - -2011-10-10 Alan Modra <amodra@gmail.com> - - * ldmain.c (main): Move code twiddling various config and link_info - bits to.. - * lexsup.c (parse_args): ..here. Move plugin_load_plugins call - into main. - * plugin.c (set_tv_header): Test link_info.executable, not - link_info.shared. - (is_visible_from_outside): Likewise. Delete redundant - is_ir_dummy_bfd check and "section" parameter. - -2011-10-10 Alan Modra <amodra@gmail.com> - - * emultempl/ppc64elf.em (ppc_add_stub_section): Align to 32 bytes. - -2011-10-09 Alan Modra <amodra@gmail.com> - - * emultempl/ppc64elf.em (ppc_create_output_section_statements): Add - missing colon to error message. - (ppc_before_allocation): Likewise. - -2011-10-06 Alan Modra <amodra@gmail.com> - - PR ld/13229 - * plugin.c (tv_header_tags): Add LDPT_GET_SYMBOLS_V2. - (set_tv_header): Handle it. Adjust LDPT_GET_SYMBOLS. Return void. - (get_symbols): Add def_ironly_exp param. Return that value for - syms exported from shared libs. - (get_symbols_v1, get_symbols_v2): New wrapper functions. - * testplug.c: Update for above changes. - -2011-09-27 Kai Tietz <ktietz@redhat.com> - - * scripttempl/pe.sc (.text): Add support for - .gnu.linkonce.t.* section. - (.debug_info): Only use .gnu.linkonce.wi.* for - relocating. - * scripttempl/pep.sc: Likewise. - -2011-09-22 Tristan Gingold <gingold@adacore.com> - - * NEWS: Add marker for 2.22. - -2011-09-20 Alan Modra <amodra@gmail.com> - - PR ld/13201 - * ldlang.h (lang_input_statement_type): Add "reload" bitfield. - Clarify comments. - * ldlang.c (new_afile): Init new field. - (load_symbols): Don't call ldlang_add_file when reloading. - (open_input_bfds): Reload as-needed libs during plugin rescan. - -2011-09-15 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12975 - * ldlang.c (lang_elf_version_info): Removed. - (lang_register_vers_node): Replace lang_elf_version_info with - link_info.version_info. - (lang_add_vers_depend): Likewise. - * pe-dll.c (process_def_file_and_drectve): Likewise. - * emultempl/solaris2.em (elf_solaris2_before_allocation): Likewise. - - * ldlang.h (lang_elf_version_info): Removed. - - * plugin.c (is_visible_from_outside): Check if symbol is hidden - by version script. - - * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): - Remove lang_elf_version_info. - -2011-09-15 Dmitry Gorbachev <d.g.gorbachev@gmail.com> - - PR ld/13183 - * ldmain.c (add_archive_element): Support thin archive member - for LTO. - -2011-08-26 Nick Clifton <nickc@redhat.com> - - * po/es.po: Updated Spanish translation. - -2011-08-26 Nick Clifton <nickc@redhat.com> - - * NEWS: Mention that --no-copy-dt-needed-entries is now the - default. - -2011-08-22 Michael Matz <matz@suse.de> - - * ldmain.c (add_DT_NEEDED_for_dynamic): Default to FALSE. - * ld.texinfo (--copy-dt-needed-entries): Mention new default. - -2011-08-17 Alan Modra <amodra@gmail.com> - - PR ld/12762 - * ldlang.c (section_already_linked): Revert 2011-07-09 changes. - * plugin.c: Likewise. - (asymbol_from_plugin_symbol): Create linkonce section for syms - with comdat_key. - -2011-08-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * emultempl/armelf.em (fix_arm1176): New variable. - (arm_elf_create_output_section_statements): Pass - fix_arm1176 option to bfd backend. - (OPTION_FIX_ARM1176): New define. - (OPTION_NO_FIX_ARM1176): Likewise. - (PARSE_AND_LIST_LONGOPTS): Add new command line options. - (PARSE_AND_LIST_OPTIONS): Likewise. - (PARSE_AND_LIST_ARGS_CASES): Likewise. - * ld.texinfo: Document new command line options. - -2011-08-09 Alan Modra <amodra@gmail.com> - - PR ld/13066 - * plugin.c (add_symbols): Revert 2011-08-05. - -2011-08-06 Kai Tietz <ktietz@redhat.com> - - * scripttempl/pep.sc: Add .debug_macro section. - * scripttempl/pe.sc: Likewise. - -2011-08-05 Alan Modra <amodra@gmail.com> - - PR ld/12762 - * plugin.c (add_symbols): Exclude comdat_key symbols from symbol - table if already seen. - -2011-08-04 H.J. Lu <hongjiu.lu@intel.com> - - * ldmain.c (main): Replace remove_output with ld_cleanup in - comments. - -2011-07-26 Alan Modra <amodra@gmail.com> - - * emulparams/elf32ppc.sh: Source plt_unwind.sh. - * emulparams/elf64ppc.sh: Likewise. - * emultempl/ppc32elf.em (OPTION_NO_TLS_OPT): Adjust. - (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS, - PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Append to - existing values. - * emultempl/ppc64elf.em (OPTION_STUBGROUP_SIZE): Adjust. - (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS, - PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Append to - existing values. - -2011-07-22 H.J. Lu <hongjiu.lu@intel.com> - - * Makefile.am (ALL_64_EMULATIONS): Add eelf_k1om.o and - eelf_k1om_fbsd.o - (eelf_k1om.c): New. - (eelf_k1om_fbsd.c): Likewise. - * Makefile.in: Regenerated. - - * configure.tgt (targ64_extra_emuls): Add elf_k1om if elf_x86_64 - is supported. Add elf_k1om_fbsd if elf_x86_64_fbsd is supported. - (targ_extra_emuls): Likewise. - - * emulparams/elf_k1om.sh: New. - * emulparams/elf_k1om_fbsd.sh: Likewise. - -2011-07-16 Roland McGrath <roland@hack.frob.com> - - * ld.h (args_type): New field print_output_format. - * lexsup.c (enum option_values, ld_options, parse_args): - Handle --print-output-format. - * ldmain.c (main): Implement --print-output-format. - * ld.texinfo (Options): Document it. - - * ldlang.c (lang_get_output_target): Don't return current_target - when it's NULL. - -2011-07-15 Alan Modra <amodra@gmail.com> - - * Makefile.am (e*.c): Sort. - * Makefile.in: Regenerate. - -2011-07-14 Alan Modra <amodra@gmail.com> - - * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option, - gld${EMULATION_NAME}_list_options): Don't condition -z relro - and -z norelro on COMMONPAGESIZE being defined. - -2011-07-14 Alan Modra <amodra@gmail.com> - - * emultempl/ppc64elf.em (plt_static_chain): New var. - (gld${EMULATION_NAME}_after_allocation): Pass to ppc64_elf_size_stubs. - (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS, - PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Handle - --plt-static-chain and --no-plt-static-chain. - -2011-07-14 Alan Modra <amodra@gmail.com> - - * emultempl/elf32.em (gld${EMULATION_NAME}_add_options, - gld${EMULATION_NAME}_handle_option, gld${EMULATION_NAME}_list_options): - Provide --build-id, -z defs, -z muldefs, -z max-page-size, - -z common-page-size, -z execstack, -z noexecstack for all targets. - Add help for --exclude-libs. - (OPTION_LD_GENERATED_UNWIND_INFO, - OPTION_NO_LD_GENERATED_UNWIND_INFO): Move this.. - (gld${EMULATION_NAME}_handle_option): ..and code handling - --ld-generated-unwind-info and --no-ld-generated-unwind-info.. - * emulparams/plt_unwind.sh: ..to here. New file. Add help. - * emulparams/elf32_x86_64.sh: Include plt_unwind.sh. - * emulparams/elf_i386.sh: Likewise. - * emulparams/elf_i386_chaos.sh: Likewise. - * emulparams/elf_i386_ldso.sh: Likewise. - * emulparams/elf_l1om.sh: Likewise. - * emulparams/elf_x86_64.sh: Likewise. - -2011-07-11 Catherine Moore <clm@codesourcery.com> - - * ld.h (section_flag_list): Add field to struct wildcard_spec. - * ld.texinfo (INPUT_SECTION_FLAGS): Document. - * ldgram.y (flag_info_list, flag_info): Add to union. - (INPUT_SECTION_FLAGS): New token. - (wildcard_spec): Initialize section_flag_list to NULL for - each alternative. - (sect_flag_list, sect_flags): New rules. - (input_section_spec_no_keep): Add alternatives to recognize - sect_flags. - * ldlang.c (walk_wild_consider_section): Initialize - section_flag_info field of the section struct. - (lang_add_section): Check input section flags. - (lang_add_wild): Initialize section_flag_list field of - the statement struct. - * ldlang.h (lang_input_statement_struct): Add section_flag_list field. - (lang_wild_statement_struct): Likewise. - * ldlex.l (INPUT_SECTION_FLAGS): New token. - * mri.c (mri_draw_tree): Initialize section_flag_list to NULL. - * NEWS: Announce INPUT_SECTION_FLAGS enhancement. - -2011-07-09 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12942 - * ldlang.c (section_already_linked): Pass "struct already_linked *" - to bfd_section_already_linked. - (lang_process): Set link_info.loading_lto_outputs before - loading LTO outputs. - * plugin.c: Include "libbfd.h". - (add_symbols): Call bfd_section_already_linked with comdat_key. - -2011-06-20 H.J. Lu <hongjiu.lu@intel.com> - - * configure.tgt: Revert x32 change. - -2011-06-20 Jakub Jelinek <jakub@redhat.com> - - PR ld/12570 - * emultempl/elf32.em (OPTION_LD_GENERATED_UNWIND_INFO, - OPTION_NO_LD_GENERATED_UNWIND_INFO): Define. - (gld${EMULATION_NAME}_handle_option): Handle - --ld-generated-unwind-info and --no-ld-generated-unwind-info. - * ld.texinfo (--ld-generated-unwind-info, - --no-ld-generated-unwind-info): Document. - -2011-06-19 H.J. Lu <hongjiu.lu@intel.com> - - * configure.tgt: Support x32. - -2011-06-15 Nick Clifton <nickc@redhat.com> - - * NEWS: Mention addition of TILEPRO and TIKE-Gx support. - -2011-06-13 Walter Lee <walt@tilera.com> - - * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32tilegx.c and - eelf32tilepro.c. - (ALL_64_EMULATION_SOURCES): Add eelf64tilegx.c. - (eelf32tilegx.c): New target. - (eelf32tilepro.c): Likewise. - (eelf64tilegx.c): Likewise. - * Makefile.in: Regenerate. - * configure.tgt: Handle tilegx-*-* and tilepro-*-*. - * emulparams/elf32tilegx.sh: New file. - * emulparams/elf64tilegx.sh: New file. - * emulparams/elf32tilepro.sh: New file. - -2011-06-13 Alan Modra <amodra@gmail.com> - - * ldlang.c (sort_def_symbol, lang_one_common): Don't handle - warning symbols here. - * emultempl/pe.em (pr_sym): Remove redundant test. - * emultempl/pep.em (pr_sym): Likewise. - -2011-06-09 Nick Clifton <nickc@redhat.com> - - PR ld/12845 - * emultempl/mipself.em (mips_add_stub_section): Do not add stubs - for sections that have been removed by garbage collection. - -2011-06-08 Alan Modra <amodra@gmail.com> - - * ldlang.c (lang_one_common): Handle warning symbols. - -2011-06-07 Nick Clifton <nickc@redhat.com> - - * configure.tgt: Accept any V850 architecture. - -2011-06-03 Nick Clifton <nickc@redhat.com> - - * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32am33lin.c - Add rule to build eelf32am33lin.c - * Makefile.in: Regenerate. - -2011-06-02 Nick Clifton <nickc@redhat.com> - - * lexsup.c: Fix spelling mistake in comment. - * scripttempl/epocpe.sc: Likewise. - * scripttempl/i386beos.sc: Likewise. - * scripttempl/mcorepe.sc: Likewise. - * scripttempl/pe.sc: Likewise. - * scripttempl/pep.sc: Likewise. - * po/ld.pot: Regenerate. - -2011-05-27 Nick Clifton <nickc@redhat.com> - - * scripttempl/v850.sc (_heap_start): Provide. - -2011-05-23 Alan Modra <amodra@gmail.com> - - * ldmisc.c (vfinfo): Add %H. - * ldmain.c (reloc_overflow): Use %H rather than %C. - (reloc_dangerous, unattached_reloc): Likewise. - -2011-05-23 Alan Modra <amodra@gmail.com> - - PR 12763 - * ldlang.c (lang_output_section_find_by_flags): Match orphan .sdata2 - like sections to existing .sdata2, and similarly for orphan TLS - sections. - * emultempl/elf32.em (place_orphan): Exclude .tbss from orphan_bss. - -2011-05-17 Tomohiro Kashiwada <kikairoya@gmail.com> - - PR ld/12759 - * emultempl/rxelf.em (ignore_lma): New variable. - (rx_elf_create_output_section_statements): Pass the setiing of - ignore_lma to bfd_elf32_rx_set_target_flags. - (OPTION_IGNORE_LMA): Define. - (OPTION_NO_IGNORE_LMA): Define. - (PARSE_AND_LIST_LONGOPTS): Add ignore lma. - (PARSE_AND_LIST_OPTIONS): Add ignore lma. - (PARSE_AND_LIST_ARGS_CASES): Add ignore lma. - -2011-05-17 Alan Modra <amodra@gmail.com> - - PR ld/12760 - * ldmain.c (notice): Add "flags" and "string" param. - * plugin.c (plugin_notice): Likewise. Handle indirect, warning - and constructor syms. - -2010-05-16 Daniel Jacobowitz <dan@codesourcery.com> - - * ldlang.c (print_assignment): Use the symbol's section if we - use its value. - * ldexp.c (exp_fold_tree_1): Skip self-assignment. Expand - comment on copying symbol type. - -2011-05-16 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12760 - * plugin.c (plugin_notice): Set u.undef.abfd for symbols made - undefweak. - -2011-05-16 Alan Modra <amodra@gmail.com> - - * ldlang.c (lang_leave_output_section_statement): Don't copy - previous lma_region if given address. - -2011-05-13 Bernd Schmidt <bernds@codesourcery.com> - - (eelf32_tic6x_linux_be.c, eelf32_tic6x_linux_le.c, - eelf32_tic6x_elf_be.c, eelf32_tic6x_elf_le.c): New rules. - * Makefile.am (ALL_EMULATIONS): Add these files. - (eelf32_tic6x_be.c, eelf32_tic6x_le.c): Depend on tic6xdsbt.em. - * Makefile.in: Regenerated. - * emultempl/tic6xdsbt.em (is_tic6x_target): Allow more tic6x target - vectors. - * emulparams/elf32_tic6x_elf_be.sh: New file. - * emulparams/elf32_tic6x_elf_le.sh: New file. - * emulparams/elf32_tic6x_linux_be.sh: New file. - * emulparams/elf32_tic6x_linux_le.sh: New file. - * configure.tgt (tic6x-*-elf, tic6x-*-uclinux): New. - (tic6x-*-*): Replaced by these. - -2011-05-13 Jan Beulich <jbeulich@novell.com> - - * configure.tgt: Add targets x86_64-*-pe and x86_64-*-pep. - -2011-05-09 Paul Brook <paul@codesourcery.com> - - * emultempl/tic6xdsbt.em (merge_exidx_entries): New. - (compare_output_sec_vma): New function. - (gld${EMULATION_NAME}_after_allocation): New function. - (OPTION_NO_MERGE_EXIDX_ENTRIES): Define. - (PARSE_AND_LIST_OPTIONS): Add --no-merge-exidx-entries. - (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_MERGE_EXIDX_ENTRIES. - (LDEMUL_AFTER_ALLOCATION): Set. - * ld.texinfo: Document c6x --no-merge-exidx-entries. - -2011-05-07 Dave Korn <dave.korn.cygwin@gmail.com> - - PR ld/12365 - * scripttempl/pe.sc (__rt_psrelocs_start): New symbol definition. - (__rt_psrelocs_end): Likewise. - (__rt_psrelocs_size): Likewise difference between the above. - (__RUNTIME_PSEUDO_RELOC_LIST_END__): Move outside .rdata section - immediately after end of pseudo-reloc data. - (___RUNTIME_PSEUDO_RELOC_LIST_END___): Likewise. - (__RUNTIME_PSEUDO_RELOC_LIST__): Move outside .rdata section and - calculate backward from list end. - (___RUNTIME_PSEUDO_RELOC_LIST___): Likewise. - * scripttempl/pep.sc: Likewise. - -2011-05-06 Tristan Gingold <gingold@adacore.com> - - * scripttempl/alphavms.sc (CODE): Add *$CODE*. - -2011-05-04 Tristan Gingold <gingold@adacore.com> - - * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Add - LDEMUL_ADD_OPTIONS and LDEMUL_HANDLE_OPTION. - * emultempl/vms.em (OPTION_IDENTIFICATION): New macro. - (gld${EMULATION_NAME}_add_options): New function. - (gld${EMULATION_NAME}_list_options): Ditto. - (gld${EMULATION_NAME}_handle_option): Ditto. - (LDEMUL_ADD_OPTIONS, LDEMUL_HANDLE_OPTION) - (LDEMUL_LIST_OPTIONS): Define. - -2011-05-04 Alan Modra <amodra@gmail.com> - - PR ld/12726 - * ldexp.h (lang_phase_type): Add lang_assigning_phase_enum. - * ldexp.c (exp_fold_tree_1): Correct assign to dot comment. Don't - assign to dot when lang_assigning_phase_enum. - * ldlang.h (lang_do_assignments): Update prototype. - * ldlang.c (lang_do_assignments): Add phase parameter. Update all - callers. - * pe-dll.c (pe_dll_fill_sections, pe_exe_fill_sections): Update - lang_do_assignments calls. - -2011-04-28 Daniel C. Klauer <daniel.c.klauer@web.de> - - PR ld/12614 - * emultempl/pe.em (_after_open): Correctly check whether symbol is - in undef list. - -2011-04-26 Kai Tietz <ktietz@redhat.com> - - * scripttempl/pe.sc: Handle .eh_frame($|.)* sections. - * scripttempl/pep.sc: Likewise. - -2011-04-24 Alan Modra <amodra@gmail.com> - - PR ld/12365 - PR ld/12696 - * ldmain.c (notice): Delete "name" param, add "h". - * plugin.c (plugin_notice): Likewise. Set non_ir_ref. Handle - redefinitions of IR symbols in real BFDs. - (plugin_multiple_definition, plugin_multiple_common): Delete. - (non_ironly_hash, init_non_ironly_hash): Delete. - (is_visible_from_outside): Traverse entry_symbol chain. - (get_symbols): Use non_ir_ref flag rather than hash lookup. - -2011-04-21 Tristan Gingold <gingold@adacore.com> - - * scripttempl/alphavms.sc: Add dwarf2 embedding marks. - -2011-04-20 Tristan Gingold <gingold@adacore.com> - - * emultempl/aix.em (_add_options): Ignore -bbigtoc switch. - -2011-04-20 Alan Modra <amodra@gmail.com> - - * ld.h (ld_config_type <hash_table_size>): Make it an unsigned long. - -2011-04-20 Alan Modra <amodra@gmail.com> - - PR ld/12365 - * ldfile.c (ldfile_try_open_bfd): Move code creating and switching - to plugin IR BFD.. - * ldmain.c (add_archive_element): ..and similar code here.. - * plugin.c (plugin_maybe_claim): ..to here. New function. - (plugin_call_claim_file): Make static. - (asymbol_from_plugin_symbol): Set ELF st_shndx for common syms. - (plugin_multiple_common): New function. - (plugin_call_all_symbols_read): Hook in plugin_multiple_common. - * plugin.h (plugin_call_claim_file): Don't declare. - (plugin_maybe_claim): Declare. - -2011-04-20 Alan Modra <amodra@gmail.com> - - PR ld/12365 - * ldmain.c (multiple_definition): Take a bfd_link_hash_entry - pointer arg rather than "name", "obfd", "osec", "oval". Add code - removed from linker.c. Hack around xcofflink.c oddity in - passing NULL nbfd. - (multiple_common): Similarly. - * plugin.c (orig_allow_multiple_defs): Delete. - (plugin_call_all_symbols_read): Don't twiddle allow_multiple_definition. - (plugin_multiple_definition): Update. - -2011-04-18 Kai Tietz <ktietz@redhat.com> - - * deffilep.y (def_aligncomm): Avoid duplets. - - * deffilep.y (def_pool_str): New type. - (pool_strs): Local static. - (def_pool_alloc): Local function. - (def_pool_strdup): Likewise. - (def_pool_free): Likewise. - (opt_name): Replace xmalloc/xstrdup by - def_pool_alloc/def_pool_strdup. - (dot_name): Likewise. - (anylang_id): Likewise. - (def_lex): Likewise. - (def_file_parse): Call def_pool_free on - exit and cleanup directives elements. - (def_file_add_directive): Call def_pool_free. - -2011-04-18 Paul Brook <paul@codesourcery.com> - - * emulparams/elf32_tic6x_le.sh: Define OTHER_READONLY_SECTIONS - for unwinding tables. - -2011-04-18 Alan Modra <amodra@gmail.com> - - PR ld/12365 - PR ld/12672 - * ldfile.c (ldfile_try_open_bfd): Don't attempt any plugin action - when no_more_claiming. - * ldmain.c (add_archive_element): Likewise. - (multiple_definition): Remove plugin_multiple_definition call. - (notice): Remove plugin_notice call. - * ldlang.c (lang_list_insert_after, void lang_list_remove_tail): Move. - Delete prototype. - (plugin_insert): New static var. - (open_input_bfds): Only rescan libs after plugin insert point. - (lang_gc_sections): Omit plugin claimed files. - (lang_process): Set plugin_insert. Only rescan when plugin adds - objects. - * plugin.h (no_more_claiming): Declare. - (plugin_notice, plugin_multiple_definition): Don't declare. - * plugin.c: Formatting. - (orig_notice_all, orig_allow_multiple_defs, orig_callbacks, - plugin_callbacks): New static vars. - (no_more_claiming): Make global. - (plugin_cached_allow_multiple_defs): Delete. - (plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy .text section, - use newer bfd_make_section variant. Make COMMON section too. - Error handling. Correct setting of gp size. - (asymbol_from_plugin_symbol): Properly cast last arg of concat. - (message): Likewise for ACONCAT. - (asymbol_from_plugin_symbol): Use our COMMON section. - (get_symbols): When report_plugin_symbols, show visibility too. - (init_non_ironly_hash): Move. Don't test non_ironly_hash. - (plugin_load_plugins): Save state of linker callbacks, set up to - call plugin_notice instead. Call init_non_ironly_hash here. - (plugin_call_all_symbols_read): Set plugin_multiple_definition in - plugin callbacks. - (plugin_notice): Rewrite. - (plugin_multiple_definition): Make static, call original callback. - -2011-04-15 Alan Modra <amodra@gmail.com> - - PR ld/12672 - * ldlang.c (enum open_bfd_mode): New. - (open_input_bfds): Replace "force" param with "mode". Reload - archives for rescan. Update all callers. - (lang_process): Make another open_input_bfds pass for plugins. - -2011-04-13 Kai Tietz <ktietz@redhat.com> - - PR binutils/12658 - * deffile.h (def_file_add_export): Add is_dup argument. - (def_file_add_import): Likewise. - * deffilep.y (are_names_equal): New helper. - (cmp_export_elem): New helper. - (find_export_in_list): Add search routine for exports. - (def_file_add_export): Check for duplicates. - (cmp_import_elem): New helper. - (find_import_in_list): Add search routine for imports. - (def_file_add_import): Check for duplicates. - (def_exports): Handle duplicates. - (def_imports): Likewise. - * pe-dll.c (process_def_file_and_drectve): Likewise. - (pe_implied_import_dll): Likewise. - -2011-04-11 Chris Quenelle <chris.quenelle@oracle.com> - - * scripttempl/elf.sc (.exception_ranges): Add new section. - -2011-04-08 Hector Oron <hector.oron@gmail.com> - - PR ld/12643 - * configure.tgt: Add support for arm-*-gnueabihf targets. - -2011-04-07 Eric B. Weddington <eric.weddington@atmel.com> - - * Makefile.in: Regenerate. Remove stray eavrtiny10 rules. - -2011-04-07 Joseph Myers <joseph@codesourcery.com> - - * configure.tgt: Remove stray ;;. - -2011-04-06 Joseph Myers <joseph@codesourcery.com> - - * configure.tgt (thumb-*-linux-* | thumb-*-uclinux*, - strongarm-*-coff, strongarm-*-elf, strongarm-*-kaos*, - thumb-*-coff, thumb-*-elf, thumb-epoc-pe, thumb-*-pe, - xscale-*-coff, xscale-*-elf): Remove targets. - -2011-03-31 H.J. Lu <hongjiu.lu@intel.com> - - * configure.tgt: Add elf_l1om to targ_extra_libpath for - x86_64-*-linux-*. - - * emulparams/elf_l1om.sh: Remove duplicates. - -2011-03-31 Bernd Schmidt <bernds@codesourcery.com> - - * emulparams/elf32_tic6x_le.sh (BIG_OUTPUT_FORMAT, EXTRA_EM_FILE, - GENERATE_SHLIB_SCRIPT): New defines. - (TEXT_START_ADDR): Define differently depending on target. - (.got): Redefine to include "*(.dsbt)". - (SDATA_START_SYMBOLS): Remove, replace with - (OTHER_GOT_SYMBOLS): New. - (OTHER_BSS_SECTIONS): Define only for ELF targets. - * emultempl/tic6xdsbt.em: New file. - * gen-doc.texi: Set C6X. - * ld.texinfo: Likewise. - (Options specific to C6X uClinux targets): New section. - -2011-03-29 Alan Modra <amodra@gmail.com> - - PR ld/12613 - * ldlex.l (lex_warn_invalid): Don't assume char is unsigned. - -2011-03-26 John Marino <binutils@marino.st> - - * configure.host: Update *-*-dragonfly* host entry. - * configure.tgt: Update *-*-dragonfly* target entry. - * ldlex.l: Prevent redefinition of YY_NO_UNPUT. - -2011-03-28 Joseph Myers <joseph@codesourcery.com> - - * configure.in: Check for windows.h, not Windows.h. - * configure: Regenerate. - * plugin.c: Include windows.h, not Windows.h. - -2011-03-25 Eric B. Weddington <eric.weddington@atmel.com> - - * Makefile.in: Regenerate. - -2011-03-23 Joseph Myers <joseph@codesourcery.com> - - * lexsup.c (parse_args): Only set report_plugin_symbols if plugins - are enabled. Mark level as possibly unused. - -2011-03-22 Eric B. Weddington <eric.weddington@atmel.com> - - * Makefile.am (ALL_EMULATION_SOURCES): Add AVR XMEGA architectures. - (eavrxmega?.c): Likewise. - * configure.tgt (targ_extra_emuls): Likewise. - * emulparams/avrxmega1.sh: New file. - * emulparams/avrxmega2.sh: Likewise. - * emulparams/avrxmega3.sh: Likewise. - * emulparams/avrxmega4.sh: Likewise. - * emulparams/avrxmega5.sh: Likewise. - * emulparams/avrxmega6.sh: Likewise. - * emulparams/avrxmega7.sh: Likewise. - * emultempl/avrelf.em (avr_elf_${EMULATION_NAME}_before_allocation): - Add avrxmega6, avrxmega7 to list of architectures for no stubs. - -2011-03-21 Eric B. Weddington <eric.weddington@atmel.com> - - * scripttempl/avr.sc: Add fuse, lock, and signature memory regions. - -2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> - - * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Check - eh->target_internal. - -2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> - - * emultempl/armelf.em (arm_elf_before_allocation): Check dynobj - instead of dynamic_sections_created. - -2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> - - * plugin.c (get_symbols): Use wrapped lookup for undefined symbols. - -2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> - - * ldlang.c (lang_check): Don't run checks on dummy IR BFDs. - -2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> - - * ldlang.h (lang_input_statement_type): Add new 'claim_archive' flag, - wrapping both it and 'claim' flag in #ifdef ENABLE_PLUGINS. - * ldmain.c (add_archive_element): Set it if the member is claimed. - * ldlang.c (new_afile): Initialise claim_archive and claimed members. - (find_replacements_insert_point): New helper function. - (lang_process): After adding and opening replacement files passed - from plugin, splice them into correct place in statement list and - file chains to preserve critical link order. - (lang_list_insert_after): New helper function. - (lang_list_remove_tail): Likewise. - -2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> - - * plugin.c (IRONLY_SUFFIX): Revise to nicely human-readable form. - (IRONLY_SUFFIX_LEN): Delete. - (plugin_get_ir_dummy_bfd): Don't append IRONLY_SUFFIX. - (is_ir_dummy_bfd): Don't look for suffix; check claimed flag of - enclosing lang input statement instead. - -2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> - - * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Preserve - alignment of input sections when creating orphan output sections - during relocatable link. - * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise. - -2011-03-04 H.J. Lu <hongjiu.lu@intel.com> - - * ld.texinfo: Document --verbose[=NUMBER]. - - * lexsup.c (ld_options): Update --verbose. - (parse_args): Set report_plugin_symbols. - - * plugin.c (report_plugin_symbols): New. - (get_symbols): Report plugin symbols if report_plugin_symbols - is TRUE. - - * plugin.h (report_plugin_symbols): New. - -2011-03-01 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12529 - * testplug.c: Don't include "filenames.h". - (onclaim_file): Don't use filename_cmp. - -2011-02-28 Kai Tietz <kai.tietz@onevision.com> - - * emultempl/beos.em (sort_by_file_name): Use filename_(n)cmp. - * emultempl/elf32.em (gld${EMULATION_NAME}_vercheck): - Likewise. - (gld${EMULATION_NAME}_stat_needed): Likewise. - (gld${EMULATION_NAME}_check_needed): Likewise. - * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise. - (gld_${EMULATION_NAME}_unrecognized_file): Likewise. - * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise. - (gld_${EMULATION_NAME}_unrecognized_file): Likewise. - * ldfile.c (ldfile_open_file): Likewise. - * ldlang.c (wild_sort): Likewise. - (lookup_name): Likewise. - (check_excluded_libs): Likewise. - * ldmisc.c (vfinfo): Likewise. - * pe-dll.c (libnamencmp): Likewise. - (auto_export): Likewise. - (pe_dll_generate_implib): Likewise. - * testplug.c (onclaim_file): Likewise. - -2011-02-24 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12507 - * plugin.c (get_symbols): Don't check entry symbol here. - (init_non_ironly_hash): Add entry_symbol chain into - non_ironly_hash. - -2011-02-24 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12507 - * plugin.c (get_symbols): Don't mark entry symbol IR only. - -2011-02-18 John David Anglin <dave.anglin@nrc-cnnrc.gc.ca> - - PR ld/12376 - emulparams/hppalinux.sh (DATA_ADDR): Define. - (SHLIB_DATA_ADDR): Likewise. - -2011-02-16 H.J. Lu <hongjiu.lu@intel.com> - - * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX): Changed to - x32 for x32. - -2011-02-15 Kai Tietz <kai.tietz@onevision.com> - - * pe-dll.c (process_def_file_and_drectve): Don't strip - leading underscore from symbol by calling bfd_find_version_for_sym. - -2011-02-14 Mike Frysinger <vapier@gentoo.org> - - * ldlang.c (lang_vers_match): Declare a new c_sym, assign it to - the bfd_demangle of sym, change users of sym to c_sym when not - already demangling, and free when done. Change callers of - cplus_demangle to bfd_demangle. - -2011-02-14 Alan Modra <amodra@gmail.com> - - * plugin.c (plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy - .text section, use newer bfd_make_section variant. Error handling. - Correct setting of gp size. - (asymbol_from_plugin_symbol): Properly cast last arg of concat. - (message): Likewise for ACONCAT. - (get_symbols): Formatting. - -2011-02-14 Alan Modra <amodra@gmail.com> - - * ldmain.c (remove_output): Rename to.. - (ld_cleanup): ..this. Call bfd_cache_close_all and plugin_call_cleanup. - (main): Adjust. - * plugin.c (plugin_call_cleanup): Make global. - (plugin_load_plugins): Don't register plugin_call_cleanup with xatexit. - * plugin.h (plugin_call_cleanup): Declare. - -2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure: Regenerate. - -2011-02-10 Alan Modra <amodra@gmail.com> - - * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu. - * scripttempl/avr.sc: Likewise. - * scripttempl/elf32cr16.sc: Likewise. - * scripttempl/elf32crx.sc: Likewise. - * scripttempl/elf32msp430.sc: Likewise. - * scripttempl/elf32msp430_3.sc: Likewise. - * scripttempl/elf32sh-symbian.sc: Likewise. - * scripttempl/elf64hppa.sc: Likewise. - * scripttempl/elf_chaos.sc: Likewise. - * scripttempl/elfd10v.sc: Likewise. - * scripttempl/elfd30v.sc: Likewise. - * scripttempl/elfi370.sc: Likewise. - * scripttempl/elfm68hc11.sc: Likewise. - * scripttempl/elfm68hc12.sc: Likewise. - * scripttempl/elfxtensa.sc: Likewise. - * scripttempl/ip2k.sc: Likewise. - * scripttempl/iq2000.sc: Likewise. - * scripttempl/mep.sc: Likewise. - * scripttempl/mmo.sc: Likewise. - * scripttempl/v850.sc: Likewise. - * scripttempl/xstormy16.sc: Likewise. - * scripttempl/elf.sc: Revert 2010-10-29 H.J. Lu. - -2011-01-22 H.J. Lu <hongjiu.lu@intel.com> - - * Makefile.am (CXX): Removed. - - * configure.in: Add AC_PROG_CXX. - - * Makefile.in: Regenerated. - * configure: Likewise. - -2011-01-22 Richard Sandiford <rdsandiford@googlemail.com> - - * plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's - private data and GP size. - -2011-01-21 Alan Modra <amodra@gmail.com> - - * ldexp.c (fold_binary): Set result section for arithmetic and - logical operations to NULL when both operands are in same section. - * ld.texinfo (Expression Section): Describe this. - -2011-01-14 Alan Modra <amodra@gmail.com> - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't - attempt to put non-alloc orphans before debug sections, just place - them after .comment. - -2011-01-14 J. Park <grassman@gmail.com> - - PR ld/12339 - * ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols. - -2011-01-14 Alan Modra <amodra@gmail.com> - - * Makefile.am: Sort emulation rules. - (eelf32am33lin.c): Delete. - (ALL_EMULATION_SOURCES): Sort, add missing entries. - (ALL_64_EMULATION_SOURCES): Likewise. - * Makefile.in: Regenerate. - -2011-01-13 Alan Modra <amodra@gmail.com> - - PR ld/12356 - * ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE. - (Expression Section): Update. - * ld.h (ld_config_type): Add sane_expr. - * ldgram.y (ifile_p1): Add LD_FEATURE. - * ldlex.l (LD_FEATYRE): New. - * ldemul.c (after_parse_default): Delete code handling ld_compatibility. - * ldexp.h (struct ldexp_control): Delete uses_defined. - * ldexp.c: Remove all uses of uses_defined. - (fold_name): Test config.sane_expr rather than ld_compatibility. - (exp_fold_tree_1): Likewise. Adjust handling of assignments - during first phase. - * ldlang.h (ld_compatibility): Delete. - (lang_ld_feature): Declare. - * ldlang.c (ld_compatibility): Delete. - (open_input_bfds): Only handle assignments for --defsym. - (lang_ld_feature): New function. - - PR ld/12356 - * ldexp.h (exp_assop): Delete. - (exp_assign, exp_defsym): Declare. - * ldexp.c (exp_assop): Make static, handle all assignment variations. - (exp_assign, exp_defsym): New functions. - (exp_provide): Use exp_assop. - * ldgram.y (defsym_expr): Use exp_defsym. - * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em, - * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em, - * emultempl/xtensaelf.em: Update exp_assop -> exp_assign. - -2011-01-12 Alan Modra <amodra@gmail.com> - - PR ld/12380 - * ldexp.h (enum phase_enum): Comment. Add exp_dataseg_done. - * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code. Test - for exp_dataseg_done rather than expld.phase == lang_final_phase_enum - to detect when we've finished sizing sections. - (fold_binary <DATA_SEGMENT_ALIGN>): Likewise. - (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise. Also test - that we are not inside an output section statement. - * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if - not exp_dataseg_relro_adjust or exp_dataseg_adjust. Don't set - lang_final_phase_enum here. - (lang_process): Set lang_final_phase_enum here. - -2011-01-10 Nick Clifton <nickc@redhat.com> - - * po/da.po: Updated Danish translation. - -2011-01-10 H.J. Lu <hongjiu.lu@intel.com> - - * ldlang.c (startup_file): Removed. - (lang_startup): Updated. - -2011-01-05 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12364 - * plugin.c (get_symbols): Check if owner_sec->owner is NULL - before accessing its flags field. - -2011-01-01 H.J. Lu <hongjiu.lu@intel.com> - - * ldver.c (ldversion): Update copyright to 2011. - -For older changes see ChangeLog-2010 +For older changes see ChangeLog-2011 Local Variables: mode: change-log diff --git a/ld/ChangeLog-2011 b/ld/ChangeLog-2011 new file mode 100644 index 0000000..f8c48e6 --- /dev/null +++ b/ld/ChangeLog-2011 @@ -0,0 +1,1074 @@ +2011-12-20 Joseph Myers <joseph@codesourcery.com> + + * emulparams/elf32bmip.sh (OTHER_SECTIONS): Put .mdebug.* and + .gcc_compiled_long* sections at address 0. + +2011-12-13 Nick Clifton <nickc@redhat.com> + + * po/it.po: New Italian translation. + * configure.in (ALL_LINGUAS): Add it. + * configure: Regenerate. + +2011-12-01 Nick Clifton <nickc@redhat.com> + + * emultempl/spuelf.em (spu_elf_relink): Use pex_one in place + of execvp. + +2011-11-25 John Tytgat <john@bass-software.com> + + * emultempl/armelf.em: Update copyright to 2010 and 2011. + (PARSE_AND_LIST_OPTIONS): Fix formatting. + +2011-11-21 Andreas Tobler <andreast@fgznet.ch> + + * Makefile.am (ALL_64_EMULATION_SOURCES): Add powerpc64-*-freebsd + source. + (eelf64ppc_fbsd.c): Add rules to build this file. + * Makefile.in: Regenerate. + * configure.tgt: Add target definition for powerpc64-*-freebsd*. + Adjust powerpc-*-freebsd*. + * emultempl/ppc64elf.em: Add a mechanism to override the default + value of 0 for plt_static_chain. + * emulparams/elf32ppc_fbsd.sh (OUTPUT_FORMAT): Override the default. + * emulparams/elf64ppc_fbsd.sh (OUTPUT_FORMAT): Likewise. + (DEFAULT_PLT_STATIC_CHAIN): Define to 1. + +2011-11-15 Andreas Schwab <schwab@linux-m68k.org> + + * ldlang.c (insert_pad): Change alignment_needed argument to + bfd_size_type. + (size_input_section): Change alignment_needed varible to + bfd_size_type. + * ldlang.h (lang_padding_statement_type): Change size field to + bfd_size_type. + +2011-11-03 Tristan Gingold <gingold@adacore.com> + + * scripttempl/aix.sc: Consider header size for .text and .data + alignment. + +2011-11-02 Tristan Gingold <gingold@adacore.com> + + * emultempl/aix.em (read_file_list): New function. + (_handle_option): Handle '-f'. + * NEWS: Mention this feature. + +2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * configure.tgt (x86_64-*-solaris2*): Use $targ_extra_emuls for + targ_extra_libpath. + +2011-11-01 DJ Delorie <dj@redhat.com> + + * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32rl78.c. + (+eelf32rl78.c): New rule. + * Makefile.in: Regenerate. + * configure.tgt: Add rl78-*-* case. + * emulparams/elf32rl78.sh: New file. + * NEWS: Mention addition of Renesas RL78 support. + +2011-10-28 Walter Lee <walt@tilera.com> + + * NEWS: Fix TILEPro capitalization. + +2011-10-25 Joern Rennecke <joern.rennecke@embecosm.com> + + * NEWS: Mention addition of Adapteva Epiphany support. + * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32epiphany.c . + (eelf32epiphany.c): New rule. + * configure.tgt: Handle epiphany-*-elf. + * emulparams/elf32epiphany.sh: New file. + * Makefile.in: Regenerate. + * po/ld.pot: Regenerate. + +2011-10-24 Nick Clifton <nickc@redhat.com> + + * po/ja.po: Updated Japanese translation. + +2011-10-20 Alan Modra <amodra@gmail.com> + + PR ld/13287 + * plugin.c (plugin_should_reload): New function. + * plugin.h (plugin_should_reload): Declare. + * ldlang.c (open_input_bfds): Use above function. + +2011-10-19 Alan Modra <amodra@gmail.com> + + PR ld/13254 + * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add + -z text, -z notext, -z textoff options for all targets having + shared lib support. + +2011-10-15 Alan Modra <amodra@gmail.com> + + * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Remove toc check. + +2011-10-13 Dave Korn <dave.korn.cygwin@gmail.com> + + * pe-dll.c (generate_reloc): Don't emit a base reloc for an + underlying BFD reloc that will be discarded in eh_frame data. + +2011-10-10 Nick Clifton <nickc@redhat.com> + + * po/bg.po: Updated Bulgarian translation. + * po/es.po: Updated Spanish translation. + * po/fi.po: Updated Finnish translation. + * po/fr.po: Updated French translation. + +2011-10-10 Alan Modra <amodra@gmail.com> + + * ldmain.c (main): Move code twiddling various config and link_info + bits to.. + * lexsup.c (parse_args): ..here. Move plugin_load_plugins call + into main. + * plugin.c (set_tv_header): Test link_info.executable, not + link_info.shared. + (is_visible_from_outside): Likewise. Delete redundant + is_ir_dummy_bfd check and "section" parameter. + +2011-10-10 Alan Modra <amodra@gmail.com> + + * emultempl/ppc64elf.em (ppc_add_stub_section): Align to 32 bytes. + +2011-10-09 Alan Modra <amodra@gmail.com> + + * emultempl/ppc64elf.em (ppc_create_output_section_statements): Add + missing colon to error message. + (ppc_before_allocation): Likewise. + +2011-10-06 Alan Modra <amodra@gmail.com> + + PR ld/13229 + * plugin.c (tv_header_tags): Add LDPT_GET_SYMBOLS_V2. + (set_tv_header): Handle it. Adjust LDPT_GET_SYMBOLS. Return void. + (get_symbols): Add def_ironly_exp param. Return that value for + syms exported from shared libs. + (get_symbols_v1, get_symbols_v2): New wrapper functions. + * testplug.c: Update for above changes. + +2011-09-27 Kai Tietz <ktietz@redhat.com> + + * scripttempl/pe.sc (.text): Add support for + .gnu.linkonce.t.* section. + (.debug_info): Only use .gnu.linkonce.wi.* for + relocating. + * scripttempl/pep.sc: Likewise. + +2011-09-22 Tristan Gingold <gingold@adacore.com> + + * NEWS: Add marker for 2.22. + +2011-09-20 Alan Modra <amodra@gmail.com> + + PR ld/13201 + * ldlang.h (lang_input_statement_type): Add "reload" bitfield. + Clarify comments. + * ldlang.c (new_afile): Init new field. + (load_symbols): Don't call ldlang_add_file when reloading. + (open_input_bfds): Reload as-needed libs during plugin rescan. + +2011-09-15 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12975 + * ldlang.c (lang_elf_version_info): Removed. + (lang_register_vers_node): Replace lang_elf_version_info with + link_info.version_info. + (lang_add_vers_depend): Likewise. + * pe-dll.c (process_def_file_and_drectve): Likewise. + * emultempl/solaris2.em (elf_solaris2_before_allocation): Likewise. + + * ldlang.h (lang_elf_version_info): Removed. + + * plugin.c (is_visible_from_outside): Check if symbol is hidden + by version script. + + * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): + Remove lang_elf_version_info. + +2011-09-15 Dmitry Gorbachev <d.g.gorbachev@gmail.com> + + PR ld/13183 + * ldmain.c (add_archive_element): Support thin archive member + for LTO. + +2011-08-26 Nick Clifton <nickc@redhat.com> + + * po/es.po: Updated Spanish translation. + +2011-08-26 Nick Clifton <nickc@redhat.com> + + * NEWS: Mention that --no-copy-dt-needed-entries is now the + default. + +2011-08-22 Michael Matz <matz@suse.de> + + * ldmain.c (add_DT_NEEDED_for_dynamic): Default to FALSE. + * ld.texinfo (--copy-dt-needed-entries): Mention new default. + +2011-08-17 Alan Modra <amodra@gmail.com> + + PR ld/12762 + * ldlang.c (section_already_linked): Revert 2011-07-09 changes. + * plugin.c: Likewise. + (asymbol_from_plugin_symbol): Create linkonce section for syms + with comdat_key. + +2011-08-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * emultempl/armelf.em (fix_arm1176): New variable. + (arm_elf_create_output_section_statements): Pass + fix_arm1176 option to bfd backend. + (OPTION_FIX_ARM1176): New define. + (OPTION_NO_FIX_ARM1176): Likewise. + (PARSE_AND_LIST_LONGOPTS): Add new command line options. + (PARSE_AND_LIST_OPTIONS): Likewise. + (PARSE_AND_LIST_ARGS_CASES): Likewise. + * ld.texinfo: Document new command line options. + +2011-08-09 Alan Modra <amodra@gmail.com> + + PR ld/13066 + * plugin.c (add_symbols): Revert 2011-08-05. + +2011-08-06 Kai Tietz <ktietz@redhat.com> + + * scripttempl/pep.sc: Add .debug_macro section. + * scripttempl/pe.sc: Likewise. + +2011-08-05 Alan Modra <amodra@gmail.com> + + PR ld/12762 + * plugin.c (add_symbols): Exclude comdat_key symbols from symbol + table if already seen. + +2011-08-04 H.J. Lu <hongjiu.lu@intel.com> + + * ldmain.c (main): Replace remove_output with ld_cleanup in + comments. + +2011-07-26 Alan Modra <amodra@gmail.com> + + * emulparams/elf32ppc.sh: Source plt_unwind.sh. + * emulparams/elf64ppc.sh: Likewise. + * emultempl/ppc32elf.em (OPTION_NO_TLS_OPT): Adjust. + (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS, + PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Append to + existing values. + * emultempl/ppc64elf.em (OPTION_STUBGROUP_SIZE): Adjust. + (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS, + PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Append to + existing values. + +2011-07-22 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.am (ALL_64_EMULATIONS): Add eelf_k1om.o and + eelf_k1om_fbsd.o + (eelf_k1om.c): New. + (eelf_k1om_fbsd.c): Likewise. + * Makefile.in: Regenerated. + + * configure.tgt (targ64_extra_emuls): Add elf_k1om if elf_x86_64 + is supported. Add elf_k1om_fbsd if elf_x86_64_fbsd is supported. + (targ_extra_emuls): Likewise. + + * emulparams/elf_k1om.sh: New. + * emulparams/elf_k1om_fbsd.sh: Likewise. + +2011-07-16 Roland McGrath <roland@hack.frob.com> + + * ld.h (args_type): New field print_output_format. + * lexsup.c (enum option_values, ld_options, parse_args): + Handle --print-output-format. + * ldmain.c (main): Implement --print-output-format. + * ld.texinfo (Options): Document it. + + * ldlang.c (lang_get_output_target): Don't return current_target + when it's NULL. + +2011-07-15 Alan Modra <amodra@gmail.com> + + * Makefile.am (e*.c): Sort. + * Makefile.in: Regenerate. + +2011-07-14 Alan Modra <amodra@gmail.com> + + * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option, + gld${EMULATION_NAME}_list_options): Don't condition -z relro + and -z norelro on COMMONPAGESIZE being defined. + +2011-07-14 Alan Modra <amodra@gmail.com> + + * emultempl/ppc64elf.em (plt_static_chain): New var. + (gld${EMULATION_NAME}_after_allocation): Pass to ppc64_elf_size_stubs. + (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS, + PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Handle + --plt-static-chain and --no-plt-static-chain. + +2011-07-14 Alan Modra <amodra@gmail.com> + + * emultempl/elf32.em (gld${EMULATION_NAME}_add_options, + gld${EMULATION_NAME}_handle_option, gld${EMULATION_NAME}_list_options): + Provide --build-id, -z defs, -z muldefs, -z max-page-size, + -z common-page-size, -z execstack, -z noexecstack for all targets. + Add help for --exclude-libs. + (OPTION_LD_GENERATED_UNWIND_INFO, + OPTION_NO_LD_GENERATED_UNWIND_INFO): Move this.. + (gld${EMULATION_NAME}_handle_option): ..and code handling + --ld-generated-unwind-info and --no-ld-generated-unwind-info.. + * emulparams/plt_unwind.sh: ..to here. New file. Add help. + * emulparams/elf32_x86_64.sh: Include plt_unwind.sh. + * emulparams/elf_i386.sh: Likewise. + * emulparams/elf_i386_chaos.sh: Likewise. + * emulparams/elf_i386_ldso.sh: Likewise. + * emulparams/elf_l1om.sh: Likewise. + * emulparams/elf_x86_64.sh: Likewise. + +2011-07-11 Catherine Moore <clm@codesourcery.com> + + * ld.h (section_flag_list): Add field to struct wildcard_spec. + * ld.texinfo (INPUT_SECTION_FLAGS): Document. + * ldgram.y (flag_info_list, flag_info): Add to union. + (INPUT_SECTION_FLAGS): New token. + (wildcard_spec): Initialize section_flag_list to NULL for + each alternative. + (sect_flag_list, sect_flags): New rules. + (input_section_spec_no_keep): Add alternatives to recognize + sect_flags. + * ldlang.c (walk_wild_consider_section): Initialize + section_flag_info field of the section struct. + (lang_add_section): Check input section flags. + (lang_add_wild): Initialize section_flag_list field of + the statement struct. + * ldlang.h (lang_input_statement_struct): Add section_flag_list field. + (lang_wild_statement_struct): Likewise. + * ldlex.l (INPUT_SECTION_FLAGS): New token. + * mri.c (mri_draw_tree): Initialize section_flag_list to NULL. + * NEWS: Announce INPUT_SECTION_FLAGS enhancement. + +2011-07-09 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12942 + * ldlang.c (section_already_linked): Pass "struct already_linked *" + to bfd_section_already_linked. + (lang_process): Set link_info.loading_lto_outputs before + loading LTO outputs. + * plugin.c: Include "libbfd.h". + (add_symbols): Call bfd_section_already_linked with comdat_key. + +2011-06-20 H.J. Lu <hongjiu.lu@intel.com> + + * configure.tgt: Revert x32 change. + +2011-06-20 Jakub Jelinek <jakub@redhat.com> + + PR ld/12570 + * emultempl/elf32.em (OPTION_LD_GENERATED_UNWIND_INFO, + OPTION_NO_LD_GENERATED_UNWIND_INFO): Define. + (gld${EMULATION_NAME}_handle_option): Handle + --ld-generated-unwind-info and --no-ld-generated-unwind-info. + * ld.texinfo (--ld-generated-unwind-info, + --no-ld-generated-unwind-info): Document. + +2011-06-19 H.J. Lu <hongjiu.lu@intel.com> + + * configure.tgt: Support x32. + +2011-06-15 Nick Clifton <nickc@redhat.com> + + * NEWS: Mention addition of TILEPRO and TIKE-Gx support. + +2011-06-13 Walter Lee <walt@tilera.com> + + * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32tilegx.c and + eelf32tilepro.c. + (ALL_64_EMULATION_SOURCES): Add eelf64tilegx.c. + (eelf32tilegx.c): New target. + (eelf32tilepro.c): Likewise. + (eelf64tilegx.c): Likewise. + * Makefile.in: Regenerate. + * configure.tgt: Handle tilegx-*-* and tilepro-*-*. + * emulparams/elf32tilegx.sh: New file. + * emulparams/elf64tilegx.sh: New file. + * emulparams/elf32tilepro.sh: New file. + +2011-06-13 Alan Modra <amodra@gmail.com> + + * ldlang.c (sort_def_symbol, lang_one_common): Don't handle + warning symbols here. + * emultempl/pe.em (pr_sym): Remove redundant test. + * emultempl/pep.em (pr_sym): Likewise. + +2011-06-09 Nick Clifton <nickc@redhat.com> + + PR ld/12845 + * emultempl/mipself.em (mips_add_stub_section): Do not add stubs + for sections that have been removed by garbage collection. + +2011-06-08 Alan Modra <amodra@gmail.com> + + * ldlang.c (lang_one_common): Handle warning symbols. + +2011-06-07 Nick Clifton <nickc@redhat.com> + + * configure.tgt: Accept any V850 architecture. + +2011-06-03 Nick Clifton <nickc@redhat.com> + + * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32am33lin.c + Add rule to build eelf32am33lin.c + * Makefile.in: Regenerate. + +2011-06-02 Nick Clifton <nickc@redhat.com> + + * lexsup.c: Fix spelling mistake in comment. + * scripttempl/epocpe.sc: Likewise. + * scripttempl/i386beos.sc: Likewise. + * scripttempl/mcorepe.sc: Likewise. + * scripttempl/pe.sc: Likewise. + * scripttempl/pep.sc: Likewise. + * po/ld.pot: Regenerate. + +2011-05-27 Nick Clifton <nickc@redhat.com> + + * scripttempl/v850.sc (_heap_start): Provide. + +2011-05-23 Alan Modra <amodra@gmail.com> + + * ldmisc.c (vfinfo): Add %H. + * ldmain.c (reloc_overflow): Use %H rather than %C. + (reloc_dangerous, unattached_reloc): Likewise. + +2011-05-23 Alan Modra <amodra@gmail.com> + + PR 12763 + * ldlang.c (lang_output_section_find_by_flags): Match orphan .sdata2 + like sections to existing .sdata2, and similarly for orphan TLS + sections. + * emultempl/elf32.em (place_orphan): Exclude .tbss from orphan_bss. + +2011-05-17 Tomohiro Kashiwada <kikairoya@gmail.com> + + PR ld/12759 + * emultempl/rxelf.em (ignore_lma): New variable. + (rx_elf_create_output_section_statements): Pass the setiing of + ignore_lma to bfd_elf32_rx_set_target_flags. + (OPTION_IGNORE_LMA): Define. + (OPTION_NO_IGNORE_LMA): Define. + (PARSE_AND_LIST_LONGOPTS): Add ignore lma. + (PARSE_AND_LIST_OPTIONS): Add ignore lma. + (PARSE_AND_LIST_ARGS_CASES): Add ignore lma. + +2011-05-17 Alan Modra <amodra@gmail.com> + + PR ld/12760 + * ldmain.c (notice): Add "flags" and "string" param. + * plugin.c (plugin_notice): Likewise. Handle indirect, warning + and constructor syms. + +2010-05-16 Daniel Jacobowitz <dan@codesourcery.com> + + * ldlang.c (print_assignment): Use the symbol's section if we + use its value. + * ldexp.c (exp_fold_tree_1): Skip self-assignment. Expand + comment on copying symbol type. + +2011-05-16 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12760 + * plugin.c (plugin_notice): Set u.undef.abfd for symbols made + undefweak. + +2011-05-16 Alan Modra <amodra@gmail.com> + + * ldlang.c (lang_leave_output_section_statement): Don't copy + previous lma_region if given address. + +2011-05-13 Bernd Schmidt <bernds@codesourcery.com> + + (eelf32_tic6x_linux_be.c, eelf32_tic6x_linux_le.c, + eelf32_tic6x_elf_be.c, eelf32_tic6x_elf_le.c): New rules. + * Makefile.am (ALL_EMULATIONS): Add these files. + (eelf32_tic6x_be.c, eelf32_tic6x_le.c): Depend on tic6xdsbt.em. + * Makefile.in: Regenerated. + * emultempl/tic6xdsbt.em (is_tic6x_target): Allow more tic6x target + vectors. + * emulparams/elf32_tic6x_elf_be.sh: New file. + * emulparams/elf32_tic6x_elf_le.sh: New file. + * emulparams/elf32_tic6x_linux_be.sh: New file. + * emulparams/elf32_tic6x_linux_le.sh: New file. + * configure.tgt (tic6x-*-elf, tic6x-*-uclinux): New. + (tic6x-*-*): Replaced by these. + +2011-05-13 Jan Beulich <jbeulich@novell.com> + + * configure.tgt: Add targets x86_64-*-pe and x86_64-*-pep. + +2011-05-09 Paul Brook <paul@codesourcery.com> + + * emultempl/tic6xdsbt.em (merge_exidx_entries): New. + (compare_output_sec_vma): New function. + (gld${EMULATION_NAME}_after_allocation): New function. + (OPTION_NO_MERGE_EXIDX_ENTRIES): Define. + (PARSE_AND_LIST_OPTIONS): Add --no-merge-exidx-entries. + (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_MERGE_EXIDX_ENTRIES. + (LDEMUL_AFTER_ALLOCATION): Set. + * ld.texinfo: Document c6x --no-merge-exidx-entries. + +2011-05-07 Dave Korn <dave.korn.cygwin@gmail.com> + + PR ld/12365 + * scripttempl/pe.sc (__rt_psrelocs_start): New symbol definition. + (__rt_psrelocs_end): Likewise. + (__rt_psrelocs_size): Likewise difference between the above. + (__RUNTIME_PSEUDO_RELOC_LIST_END__): Move outside .rdata section + immediately after end of pseudo-reloc data. + (___RUNTIME_PSEUDO_RELOC_LIST_END___): Likewise. + (__RUNTIME_PSEUDO_RELOC_LIST__): Move outside .rdata section and + calculate backward from list end. + (___RUNTIME_PSEUDO_RELOC_LIST___): Likewise. + * scripttempl/pep.sc: Likewise. + +2011-05-06 Tristan Gingold <gingold@adacore.com> + + * scripttempl/alphavms.sc (CODE): Add *$CODE*. + +2011-05-04 Tristan Gingold <gingold@adacore.com> + + * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Add + LDEMUL_ADD_OPTIONS and LDEMUL_HANDLE_OPTION. + * emultempl/vms.em (OPTION_IDENTIFICATION): New macro. + (gld${EMULATION_NAME}_add_options): New function. + (gld${EMULATION_NAME}_list_options): Ditto. + (gld${EMULATION_NAME}_handle_option): Ditto. + (LDEMUL_ADD_OPTIONS, LDEMUL_HANDLE_OPTION) + (LDEMUL_LIST_OPTIONS): Define. + +2011-05-04 Alan Modra <amodra@gmail.com> + + PR ld/12726 + * ldexp.h (lang_phase_type): Add lang_assigning_phase_enum. + * ldexp.c (exp_fold_tree_1): Correct assign to dot comment. Don't + assign to dot when lang_assigning_phase_enum. + * ldlang.h (lang_do_assignments): Update prototype. + * ldlang.c (lang_do_assignments): Add phase parameter. Update all + callers. + * pe-dll.c (pe_dll_fill_sections, pe_exe_fill_sections): Update + lang_do_assignments calls. + +2011-04-28 Daniel C. Klauer <daniel.c.klauer@web.de> + + PR ld/12614 + * emultempl/pe.em (_after_open): Correctly check whether symbol is + in undef list. + +2011-04-26 Kai Tietz <ktietz@redhat.com> + + * scripttempl/pe.sc: Handle .eh_frame($|.)* sections. + * scripttempl/pep.sc: Likewise. + +2011-04-24 Alan Modra <amodra@gmail.com> + + PR ld/12365 + PR ld/12696 + * ldmain.c (notice): Delete "name" param, add "h". + * plugin.c (plugin_notice): Likewise. Set non_ir_ref. Handle + redefinitions of IR symbols in real BFDs. + (plugin_multiple_definition, plugin_multiple_common): Delete. + (non_ironly_hash, init_non_ironly_hash): Delete. + (is_visible_from_outside): Traverse entry_symbol chain. + (get_symbols): Use non_ir_ref flag rather than hash lookup. + +2011-04-21 Tristan Gingold <gingold@adacore.com> + + * scripttempl/alphavms.sc: Add dwarf2 embedding marks. + +2011-04-20 Tristan Gingold <gingold@adacore.com> + + * emultempl/aix.em (_add_options): Ignore -bbigtoc switch. + +2011-04-20 Alan Modra <amodra@gmail.com> + + * ld.h (ld_config_type <hash_table_size>): Make it an unsigned long. + +2011-04-20 Alan Modra <amodra@gmail.com> + + PR ld/12365 + * ldfile.c (ldfile_try_open_bfd): Move code creating and switching + to plugin IR BFD.. + * ldmain.c (add_archive_element): ..and similar code here.. + * plugin.c (plugin_maybe_claim): ..to here. New function. + (plugin_call_claim_file): Make static. + (asymbol_from_plugin_symbol): Set ELF st_shndx for common syms. + (plugin_multiple_common): New function. + (plugin_call_all_symbols_read): Hook in plugin_multiple_common. + * plugin.h (plugin_call_claim_file): Don't declare. + (plugin_maybe_claim): Declare. + +2011-04-20 Alan Modra <amodra@gmail.com> + + PR ld/12365 + * ldmain.c (multiple_definition): Take a bfd_link_hash_entry + pointer arg rather than "name", "obfd", "osec", "oval". Add code + removed from linker.c. Hack around xcofflink.c oddity in + passing NULL nbfd. + (multiple_common): Similarly. + * plugin.c (orig_allow_multiple_defs): Delete. + (plugin_call_all_symbols_read): Don't twiddle allow_multiple_definition. + (plugin_multiple_definition): Update. + +2011-04-18 Kai Tietz <ktietz@redhat.com> + + * deffilep.y (def_aligncomm): Avoid duplets. + + * deffilep.y (def_pool_str): New type. + (pool_strs): Local static. + (def_pool_alloc): Local function. + (def_pool_strdup): Likewise. + (def_pool_free): Likewise. + (opt_name): Replace xmalloc/xstrdup by + def_pool_alloc/def_pool_strdup. + (dot_name): Likewise. + (anylang_id): Likewise. + (def_lex): Likewise. + (def_file_parse): Call def_pool_free on + exit and cleanup directives elements. + (def_file_add_directive): Call def_pool_free. + +2011-04-18 Paul Brook <paul@codesourcery.com> + + * emulparams/elf32_tic6x_le.sh: Define OTHER_READONLY_SECTIONS + for unwinding tables. + +2011-04-18 Alan Modra <amodra@gmail.com> + + PR ld/12365 + PR ld/12672 + * ldfile.c (ldfile_try_open_bfd): Don't attempt any plugin action + when no_more_claiming. + * ldmain.c (add_archive_element): Likewise. + (multiple_definition): Remove plugin_multiple_definition call. + (notice): Remove plugin_notice call. + * ldlang.c (lang_list_insert_after, void lang_list_remove_tail): Move. + Delete prototype. + (plugin_insert): New static var. + (open_input_bfds): Only rescan libs after plugin insert point. + (lang_gc_sections): Omit plugin claimed files. + (lang_process): Set plugin_insert. Only rescan when plugin adds + objects. + * plugin.h (no_more_claiming): Declare. + (plugin_notice, plugin_multiple_definition): Don't declare. + * plugin.c: Formatting. + (orig_notice_all, orig_allow_multiple_defs, orig_callbacks, + plugin_callbacks): New static vars. + (no_more_claiming): Make global. + (plugin_cached_allow_multiple_defs): Delete. + (plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy .text section, + use newer bfd_make_section variant. Make COMMON section too. + Error handling. Correct setting of gp size. + (asymbol_from_plugin_symbol): Properly cast last arg of concat. + (message): Likewise for ACONCAT. + (asymbol_from_plugin_symbol): Use our COMMON section. + (get_symbols): When report_plugin_symbols, show visibility too. + (init_non_ironly_hash): Move. Don't test non_ironly_hash. + (plugin_load_plugins): Save state of linker callbacks, set up to + call plugin_notice instead. Call init_non_ironly_hash here. + (plugin_call_all_symbols_read): Set plugin_multiple_definition in + plugin callbacks. + (plugin_notice): Rewrite. + (plugin_multiple_definition): Make static, call original callback. + +2011-04-15 Alan Modra <amodra@gmail.com> + + PR ld/12672 + * ldlang.c (enum open_bfd_mode): New. + (open_input_bfds): Replace "force" param with "mode". Reload + archives for rescan. Update all callers. + (lang_process): Make another open_input_bfds pass for plugins. + +2011-04-13 Kai Tietz <ktietz@redhat.com> + + PR binutils/12658 + * deffile.h (def_file_add_export): Add is_dup argument. + (def_file_add_import): Likewise. + * deffilep.y (are_names_equal): New helper. + (cmp_export_elem): New helper. + (find_export_in_list): Add search routine for exports. + (def_file_add_export): Check for duplicates. + (cmp_import_elem): New helper. + (find_import_in_list): Add search routine for imports. + (def_file_add_import): Check for duplicates. + (def_exports): Handle duplicates. + (def_imports): Likewise. + * pe-dll.c (process_def_file_and_drectve): Likewise. + (pe_implied_import_dll): Likewise. + +2011-04-11 Chris Quenelle <chris.quenelle@oracle.com> + + * scripttempl/elf.sc (.exception_ranges): Add new section. + +2011-04-08 Hector Oron <hector.oron@gmail.com> + + PR ld/12643 + * configure.tgt: Add support for arm-*-gnueabihf targets. + +2011-04-07 Eric B. Weddington <eric.weddington@atmel.com> + + * Makefile.in: Regenerate. Remove stray eavrtiny10 rules. + +2011-04-07 Joseph Myers <joseph@codesourcery.com> + + * configure.tgt: Remove stray ;;. + +2011-04-06 Joseph Myers <joseph@codesourcery.com> + + * configure.tgt (thumb-*-linux-* | thumb-*-uclinux*, + strongarm-*-coff, strongarm-*-elf, strongarm-*-kaos*, + thumb-*-coff, thumb-*-elf, thumb-epoc-pe, thumb-*-pe, + xscale-*-coff, xscale-*-elf): Remove targets. + +2011-03-31 H.J. Lu <hongjiu.lu@intel.com> + + * configure.tgt: Add elf_l1om to targ_extra_libpath for + x86_64-*-linux-*. + + * emulparams/elf_l1om.sh: Remove duplicates. + +2011-03-31 Bernd Schmidt <bernds@codesourcery.com> + + * emulparams/elf32_tic6x_le.sh (BIG_OUTPUT_FORMAT, EXTRA_EM_FILE, + GENERATE_SHLIB_SCRIPT): New defines. + (TEXT_START_ADDR): Define differently depending on target. + (.got): Redefine to include "*(.dsbt)". + (SDATA_START_SYMBOLS): Remove, replace with + (OTHER_GOT_SYMBOLS): New. + (OTHER_BSS_SECTIONS): Define only for ELF targets. + * emultempl/tic6xdsbt.em: New file. + * gen-doc.texi: Set C6X. + * ld.texinfo: Likewise. + (Options specific to C6X uClinux targets): New section. + +2011-03-29 Alan Modra <amodra@gmail.com> + + PR ld/12613 + * ldlex.l (lex_warn_invalid): Don't assume char is unsigned. + +2011-03-26 John Marino <binutils@marino.st> + + * configure.host: Update *-*-dragonfly* host entry. + * configure.tgt: Update *-*-dragonfly* target entry. + * ldlex.l: Prevent redefinition of YY_NO_UNPUT. + +2011-03-28 Joseph Myers <joseph@codesourcery.com> + + * configure.in: Check for windows.h, not Windows.h. + * configure: Regenerate. + * plugin.c: Include windows.h, not Windows.h. + +2011-03-25 Eric B. Weddington <eric.weddington@atmel.com> + + * Makefile.in: Regenerate. + +2011-03-23 Joseph Myers <joseph@codesourcery.com> + + * lexsup.c (parse_args): Only set report_plugin_symbols if plugins + are enabled. Mark level as possibly unused. + +2011-03-22 Eric B. Weddington <eric.weddington@atmel.com> + + * Makefile.am (ALL_EMULATION_SOURCES): Add AVR XMEGA architectures. + (eavrxmega?.c): Likewise. + * configure.tgt (targ_extra_emuls): Likewise. + * emulparams/avrxmega1.sh: New file. + * emulparams/avrxmega2.sh: Likewise. + * emulparams/avrxmega3.sh: Likewise. + * emulparams/avrxmega4.sh: Likewise. + * emulparams/avrxmega5.sh: Likewise. + * emulparams/avrxmega6.sh: Likewise. + * emulparams/avrxmega7.sh: Likewise. + * emultempl/avrelf.em (avr_elf_${EMULATION_NAME}_before_allocation): + Add avrxmega6, avrxmega7 to list of architectures for no stubs. + +2011-03-21 Eric B. Weddington <eric.weddington@atmel.com> + + * scripttempl/avr.sc: Add fuse, lock, and signature memory regions. + +2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> + + * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Check + eh->target_internal. + +2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> + + * emultempl/armelf.em (arm_elf_before_allocation): Check dynobj + instead of dynamic_sections_created. + +2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> + + * plugin.c (get_symbols): Use wrapped lookup for undefined symbols. + +2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> + + * ldlang.c (lang_check): Don't run checks on dummy IR BFDs. + +2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> + + * ldlang.h (lang_input_statement_type): Add new 'claim_archive' flag, + wrapping both it and 'claim' flag in #ifdef ENABLE_PLUGINS. + * ldmain.c (add_archive_element): Set it if the member is claimed. + * ldlang.c (new_afile): Initialise claim_archive and claimed members. + (find_replacements_insert_point): New helper function. + (lang_process): After adding and opening replacement files passed + from plugin, splice them into correct place in statement list and + file chains to preserve critical link order. + (lang_list_insert_after): New helper function. + (lang_list_remove_tail): Likewise. + +2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> + + * plugin.c (IRONLY_SUFFIX): Revise to nicely human-readable form. + (IRONLY_SUFFIX_LEN): Delete. + (plugin_get_ir_dummy_bfd): Don't append IRONLY_SUFFIX. + (is_ir_dummy_bfd): Don't look for suffix; check claimed flag of + enclosing lang input statement instead. + +2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> + + * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Preserve + alignment of input sections when creating orphan output sections + during relocatable link. + * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise. + +2011-03-04 H.J. Lu <hongjiu.lu@intel.com> + + * ld.texinfo: Document --verbose[=NUMBER]. + + * lexsup.c (ld_options): Update --verbose. + (parse_args): Set report_plugin_symbols. + + * plugin.c (report_plugin_symbols): New. + (get_symbols): Report plugin symbols if report_plugin_symbols + is TRUE. + + * plugin.h (report_plugin_symbols): New. + +2011-03-01 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12529 + * testplug.c: Don't include "filenames.h". + (onclaim_file): Don't use filename_cmp. + +2011-02-28 Kai Tietz <kai.tietz@onevision.com> + + * emultempl/beos.em (sort_by_file_name): Use filename_(n)cmp. + * emultempl/elf32.em (gld${EMULATION_NAME}_vercheck): + Likewise. + (gld${EMULATION_NAME}_stat_needed): Likewise. + (gld${EMULATION_NAME}_check_needed): Likewise. + * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise. + (gld_${EMULATION_NAME}_unrecognized_file): Likewise. + * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise. + (gld_${EMULATION_NAME}_unrecognized_file): Likewise. + * ldfile.c (ldfile_open_file): Likewise. + * ldlang.c (wild_sort): Likewise. + (lookup_name): Likewise. + (check_excluded_libs): Likewise. + * ldmisc.c (vfinfo): Likewise. + * pe-dll.c (libnamencmp): Likewise. + (auto_export): Likewise. + (pe_dll_generate_implib): Likewise. + * testplug.c (onclaim_file): Likewise. + +2011-02-24 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12507 + * plugin.c (get_symbols): Don't check entry symbol here. + (init_non_ironly_hash): Add entry_symbol chain into + non_ironly_hash. + +2011-02-24 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12507 + * plugin.c (get_symbols): Don't mark entry symbol IR only. + +2011-02-18 John David Anglin <dave.anglin@nrc-cnnrc.gc.ca> + + PR ld/12376 + emulparams/hppalinux.sh (DATA_ADDR): Define. + (SHLIB_DATA_ADDR): Likewise. + +2011-02-16 H.J. Lu <hongjiu.lu@intel.com> + + * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX): Changed to + x32 for x32. + +2011-02-15 Kai Tietz <kai.tietz@onevision.com> + + * pe-dll.c (process_def_file_and_drectve): Don't strip + leading underscore from symbol by calling bfd_find_version_for_sym. + +2011-02-14 Mike Frysinger <vapier@gentoo.org> + + * ldlang.c (lang_vers_match): Declare a new c_sym, assign it to + the bfd_demangle of sym, change users of sym to c_sym when not + already demangling, and free when done. Change callers of + cplus_demangle to bfd_demangle. + +2011-02-14 Alan Modra <amodra@gmail.com> + + * plugin.c (plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy + .text section, use newer bfd_make_section variant. Error handling. + Correct setting of gp size. + (asymbol_from_plugin_symbol): Properly cast last arg of concat. + (message): Likewise for ACONCAT. + (get_symbols): Formatting. + +2011-02-14 Alan Modra <amodra@gmail.com> + + * ldmain.c (remove_output): Rename to.. + (ld_cleanup): ..this. Call bfd_cache_close_all and plugin_call_cleanup. + (main): Adjust. + * plugin.c (plugin_call_cleanup): Make global. + (plugin_load_plugins): Don't register plugin_call_cleanup with xatexit. + * plugin.h (plugin_call_cleanup): Declare. + +2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * configure: Regenerate. + +2011-02-10 Alan Modra <amodra@gmail.com> + + * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu. + * scripttempl/avr.sc: Likewise. + * scripttempl/elf32cr16.sc: Likewise. + * scripttempl/elf32crx.sc: Likewise. + * scripttempl/elf32msp430.sc: Likewise. + * scripttempl/elf32msp430_3.sc: Likewise. + * scripttempl/elf32sh-symbian.sc: Likewise. + * scripttempl/elf64hppa.sc: Likewise. + * scripttempl/elf_chaos.sc: Likewise. + * scripttempl/elfd10v.sc: Likewise. + * scripttempl/elfd30v.sc: Likewise. + * scripttempl/elfi370.sc: Likewise. + * scripttempl/elfm68hc11.sc: Likewise. + * scripttempl/elfm68hc12.sc: Likewise. + * scripttempl/elfxtensa.sc: Likewise. + * scripttempl/ip2k.sc: Likewise. + * scripttempl/iq2000.sc: Likewise. + * scripttempl/mep.sc: Likewise. + * scripttempl/mmo.sc: Likewise. + * scripttempl/v850.sc: Likewise. + * scripttempl/xstormy16.sc: Likewise. + * scripttempl/elf.sc: Revert 2010-10-29 H.J. Lu. + +2011-01-22 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.am (CXX): Removed. + + * configure.in: Add AC_PROG_CXX. + + * Makefile.in: Regenerated. + * configure: Likewise. + +2011-01-22 Richard Sandiford <rdsandiford@googlemail.com> + + * plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's + private data and GP size. + +2011-01-21 Alan Modra <amodra@gmail.com> + + * ldexp.c (fold_binary): Set result section for arithmetic and + logical operations to NULL when both operands are in same section. + * ld.texinfo (Expression Section): Describe this. + +2011-01-14 Alan Modra <amodra@gmail.com> + + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't + attempt to put non-alloc orphans before debug sections, just place + them after .comment. + +2011-01-14 J. Park <grassman@gmail.com> + + PR ld/12339 + * ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols. + +2011-01-14 Alan Modra <amodra@gmail.com> + + * Makefile.am: Sort emulation rules. + (eelf32am33lin.c): Delete. + (ALL_EMULATION_SOURCES): Sort, add missing entries. + (ALL_64_EMULATION_SOURCES): Likewise. + * Makefile.in: Regenerate. + +2011-01-13 Alan Modra <amodra@gmail.com> + + PR ld/12356 + * ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE. + (Expression Section): Update. + * ld.h (ld_config_type): Add sane_expr. + * ldgram.y (ifile_p1): Add LD_FEATURE. + * ldlex.l (LD_FEATYRE): New. + * ldemul.c (after_parse_default): Delete code handling ld_compatibility. + * ldexp.h (struct ldexp_control): Delete uses_defined. + * ldexp.c: Remove all uses of uses_defined. + (fold_name): Test config.sane_expr rather than ld_compatibility. + (exp_fold_tree_1): Likewise. Adjust handling of assignments + during first phase. + * ldlang.h (ld_compatibility): Delete. + (lang_ld_feature): Declare. + * ldlang.c (ld_compatibility): Delete. + (open_input_bfds): Only handle assignments for --defsym. + (lang_ld_feature): New function. + + PR ld/12356 + * ldexp.h (exp_assop): Delete. + (exp_assign, exp_defsym): Declare. + * ldexp.c (exp_assop): Make static, handle all assignment variations. + (exp_assign, exp_defsym): New functions. + (exp_provide): Use exp_assop. + * ldgram.y (defsym_expr): Use exp_defsym. + * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em, + * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em, + * emultempl/xtensaelf.em: Update exp_assop -> exp_assign. + +2011-01-12 Alan Modra <amodra@gmail.com> + + PR ld/12380 + * ldexp.h (enum phase_enum): Comment. Add exp_dataseg_done. + * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code. Test + for exp_dataseg_done rather than expld.phase == lang_final_phase_enum + to detect when we've finished sizing sections. + (fold_binary <DATA_SEGMENT_ALIGN>): Likewise. + (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise. Also test + that we are not inside an output section statement. + * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if + not exp_dataseg_relro_adjust or exp_dataseg_adjust. Don't set + lang_final_phase_enum here. + (lang_process): Set lang_final_phase_enum here. + +2011-01-10 Nick Clifton <nickc@redhat.com> + + * po/da.po: Updated Danish translation. + +2011-01-10 H.J. Lu <hongjiu.lu@intel.com> + + * ldlang.c (startup_file): Removed. + (lang_startup): Updated. + +2011-01-05 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12364 + * plugin.c (get_symbols): Check if owner_sec->owner is NULL + before accessing its flags field. + +2011-01-01 H.J. Lu <hongjiu.lu@intel.com> + + * ldver.c (ldversion): Update copyright to 2011. + +For older changes see ChangeLog-2010 + +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 6dd2e3d..555390b 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,1272 +1,5 @@ -2011-12-15 David Daney <david.daney@cavium.com> - Nick Clifton <nickc@redhat.com> - * ld-elfvers/vers.exp (picflag): Set to -fpic for mips*-*-* when - using GCC-4.3 or later. - (pic): Set to "yes" for mips*-*-linux*. - * ld-elfvsb/elfvsb.exp: Don't test non-PIC shared libraried on - mips*-*-linux*. - (picflag): Set to -fpic for mips*-*-* when using GCC-4.3 or later. - * ld-elfweak/elfweak.exp (picflag): Set to -fpic for mips*-*-* - when using GCC-4.3 or later. - * ld-shared/shared.exp (picflag): Same. - * lib/ld-lib.exp (at_least_gcc_version): New proc. - -2011-12-10 David Daney <david.daney@cavium.com> - - * ld-mips-elf/pic-and-nonpic-6-n64.dd: Use correct encoding for - 64-bit MOVE instruction. - -2011-12-09 David Daney <david.daney@cavium.com> - - * ld-mips-elf/tls-multi-got-1.r: Add "0x" to match value for - MIPS_BASE_ADDRESS. - * ld-mips-elf/textrel-1.d: Same. - * ld-mips-elf/multi-got-1.d: Same. - -2011-12-05 Nick Clifton <nickc@redhat.com> - - * ld-cris/weakref4.d: Updated pattern match for the message from - readelf stating that there are no decoded unwind sections. - * tls-js1.d: Likewise. - * tls-local-63.d: Likewise. - * tls-local-64.d: Likewise. - * tls-und-38.d: Likewise. - * tls-und-42.d: Likewise. - * tls-und-46.d: Likewise. - * tls-und-50.d: Likewise. - * weakref3.d: Likewise. - * weakref4.d: Likewise. - -2011-12-03 David Daney <david.daney@cavium.com> - - * ld-bootstrap/bootstrap.exp: Use consistent flags for final link - in ia64 and mips cases. - -2011-11-29 Maciej W. Rozycki <macro@codesourcery.com> - - PR ld/10144 - * lib/ld-lib.exp (run_ld_link_tests): Handle sources from other - directories. - (run_ld_link_exec_tests): Likewise. - (run_cc_link_tests): Likewise. - * ld-elf/comm-data1.sd: New test. - * ld-elf/comm-data1.s: Source for the new test. - * ld-elf/comm-data2.sd: New test. - * ld-elf/comm-data2.rd: Likewise. - * ld-elf/comm-data2.xd: Likewise. - * ld-elf/comm-data2.s: Source for the new tests. - * ld-elf/comm-data.exp: New file. - * ld-mips-elf/comm-data.exp: Likewise. - -2011-11-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * ld-arm/jump-reloc-veneers.s: Update for changes to assembler output. - -2011-11-08 Alan Modra <amodra@gmail.com> - - * ld-powerpc/powerpc.exp: Expect ld warnings for tocopt test. - * ld-powerpc/tocopt.out: New file. - -2011-10-25 Joern Rennecke <joern.rennecke@embecosm.com> - - * ld-srec/srec.exp: xfail epiphany. - * lib/ld-lib.exp (check_shared_lib_support): Add Epiphany to list - of targets not supporting shared libraries. - -2011-10-21 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/13302 - * ld-i386/i386.exp: Run pr13302. - - * ld-i386/pr13302.d: New. - * ld-i386/pr13302.s: Likewise. - - * ld-x86-64/pr13082-5b.d: Updated. - * ld-x86-64/pr13082-6a.d: Likewise. - * ld-x86-64/pr13082-6b.d: Likewise. - -2011-10-21 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/13302 - * ld-ifunc/ifunc-16-i386.d: New. - * ld-ifunc/ifunc-16-x86-64.d: Likewise. - * ld-ifunc/ifunc-16-x86.s: Likewise. - -2011-10-20 Alan Modra <amodra@gmail.com> - - * ld-selective/selective.exp: Use check_gc_sections_available. - Remove redundant xfails. - * ld-selective/sel-dump.exp: Likewise. - -2011-10-19 Alan Modra <amodra@gmail.com> - - * ld-elf/elf.exp: Move test for shared lib support.. - * lib/ld-lib.exp (check_shared_lib_support): ..to here. Add m68hc1*, - and s/ms1/mt/. - (check_gc_sections_available): Match hppa*64 not hppa64. Comment. - * ld-gc/libpersonality.s: New. - * ld-gc/personality.s, * ld-gc/personality.d: New. - * ld-gc/gc.exp: Run personality test. - -2011-10-18 David S. Miller <davem@davemloft.net> - - * ld-sparc/tlssunbin32.dd: Update for TLS call relaxation fix - for PR 13301. - * ld-sparc/tlssunbin64.dd: Likewise. - * ld-sparc/tlssunpic32.dd: Likewise. - * ld-sparc/tlssunpic64.dd: Likewise. - -2011-10-18 Jie Zhang <jie@codesourcery.com> - Julian Brown <julian@codesourcery.com> - - * ld-arm/cortex-a8-fix-b-plt.d: Adjust. - * ld-arm/cortex-a8-fix-bcc-plt.d: Adjust. - * ld-arm/cortex-a8-fix-bl-plt.d: Adjust. - * ld-arm/cortex-a8-fix-bl-rel-plt.d: Adjust. - * ld-arm/cortex-a8-fix-blx-plt.d: Adjust. - * ld-arm/ifunc-1.dd: Adjust. - * ld-arm/ifunc-2.dd: Adjust. - * ld-arm/ifunc-3.dd: Adjust. - * ld-arm/ifunc-4.dd: Adjust. - * ld-arm/ifunc-5.dd: Adjust. - * ld-arm/ifunc-6.dd: Adjust. - * ld-arm/ifunc-7.dd: Adjust. - * ld-arm/ifunc-8.dd: Adjust. - * ld-arm/ifunc-9.dd: Adjust. - * ld-arm/ifunc-10.dd: Adjust. - * ld-arm/ifunc-14.dd: Adjust. - * ld-arm/ifunc-15.dd: Adjust. - * ld-arm/ifunc-16.dd: Adjust. - -2011-10-14 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/pic-gc-72.d: Adjust for dropping unused undefined - dynamic symbol "dsofn". - -2011-10-10 Alan Modra <amodra@gmail.com> - - * ld-powerpc/relbrlt.d: Update for stub alignment change. - * ld-powerpc/tlsexe.g: Likewise. - * ld-powerpc/tlsexe.r: Likewise. - * ld-powerpc/tlsexetoc.g: Likewise. - * ld-powerpc/tlsexetoc.r: Likewise. - * ld-powerpc/tlsso.g: Likewise. - * ld-powerpc/tlsso.r: Likewise. - -2011-10-08 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/13250 - * ld-elf/shared.exp (build_tests): Add tests for PR ld/13250. - (run_tests): Likewise. - - * ld-elf/pr13250-1.c: New. - * ld-elf/pr13250-2.c: Likewise. - * ld-elf/pr13250-3.c: Likewise. - -2011-10-07 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elf/elf.exp: Run --gc-sections tests only if --gc-sections - is available. - -2011-10-06 Alan Modra <amodra@gmail.com> - - * ld-plugin/plugin-1.d, * ld-plugin/plugin-2.d, * ld-plugin/plugin-3.d, - * ld-plugin/plugin-4.d, * ld-plugin/plugin-5.d, * ld-plugin/plugin-6.d, - * ld-plugin/plugin-7.d, * ld-plugin/plugin-8.d, * ld-plugin/plugin-9.d, - * ld-plugin/plugin-10.d, * ld-plugin/plugin-11.d: Update. - -2011-10-05 Nick Clifton <nickc@redhat.com> - - * ld-scripts/phdrs.exp: Expect to fail for the RX. - -2011-09-30 Alan Modra <amodra@gmail.com> - - * ld-powerpc/tocopt.d: Update. - * ld-powerpc/tocopt5.d, * ld-powerpc/tocopt5.s: New test. - * ld-powerpc/powerpc.exp: Run new test. - -2011-09-29 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/13195 - * ld-elf/elf.exp: Add a C link testcase for PR ld/13195. - - * ld-elf/pr13195.c: New. - * ld-elf/pr13195.d: Likewise. - * ld-elf/pr13195.s: Likewise. - * ld-elf/pr13195.t: Likewise. - -2011-09-16 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elf/pr12975.d: Only run for *-*-linux* and *-*-gnu* - targets. - * ld-elf/pr13177.d: Likewise. - - * ld-elf/pr13177.s: Avoid relocations in text sections. - -2011-09-15 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/13177 - * ld-elf/pr13177.d: New. - * ld-elf/pr13177.s: Likewise. - -2011-09-15 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12975 - * ld-elf/pr12975.d: New. - * ld-elf/pr12975.s: Likewise. - * ld-elf/pr12975.t: Likewise. - -2011-09-12 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/13178 - * ld-ifunc/ifunc-13-i386.d: Updated. - * ld-ifunc/ifunc-13-x86-64.d: Likewise. - * ld-ifunc/ifunc-3a-x86.d: Likewise. - * ld-x86-64/pr13082-5a.d: Likewise. - - * ld-ifunc/ifunc-15-i386.d: New. - * ld-ifunc/ifunc-15-i386.s: Likewise. - * ld-ifunc/ifunc-15-x86-64.d: Likewise. - * ld-ifunc/ifunc-15-x86-64.s: Likewise. - -2011-09-01 Christophe Lyon <christophe.lyon@st.com> - - * ld-arm/arm-elf.exp: Add new rodata-merge-map test. - * ld-arm/rodata-merge-map.ld: New file. - * ld-arm/rodata-merge-map.sym: Likewise. - * ld-arm/rodata-merge-map1.s Likewise. - * ld-arm/rodata-merge-map2.s: Likewise. - * ld-arm/rodata-merge-map3.s: Likewise. - -2011-08-22 Alan Modra <amodra@gmail.com> - - * ld-powerpc/tocopt4a.s, * ld-powerpc/tocopt4b.s, - * ld-powerpc/tocopt4.d: New test. - * ld-powerpc/powerpc.exp: Run it. - -2011-08-12 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/13082 - * ld-x86-64/pr13082-1.s: New. - * ld-x86-64/pr13082-1a.d: Likewise. - * ld-x86-64/pr13082-1b.d: Likewise. - * ld-x86-64/pr13082-2.s: Likewise. - * ld-x86-64/pr13082-2a.d: Likewise. - * ld-x86-64/pr13082-2b.d: Likewise. - * ld-x86-64/pr13082-3.s: Likewise. - * ld-x86-64/pr13082-3a.d: Likewise. - * ld-x86-64/pr13082-3b.d: Likewise. - * ld-x86-64/pr13082-4.s: Likewise. - * ld-x86-64/pr13082-4a.d: Likewise. - * ld-x86-64/pr13082-4b.d: Likewise. - * ld-x86-64/pr13082-5.s: Likewise. - * ld-x86-64/pr13082-5a.d: Likewise. - * ld-x86-64/pr13082-5b.d: Likewise. - * ld-x86-64/pr13082-6.s: Likewise. - * ld-x86-64/pr13082-6a.d: Likewise. - * ld-x86-64/pr13082-6b.d: Likewise. - - * ld-x86-64/x86-64.exp: Run pr13082-[1-6][ab]. - -2011-08-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - - * ld-arm/arm-elf.exp (armelftests): Update for new command-line - options. - (armeabitests): Update for new command-line options, and add - new test cases. - * ld-arm/fix-arm1176.s: Add test case. - * ld-arm/fix-arm1176-off.d: Likewise. - * ld-arm/fix-arm1176-on.d: Likewise. - -2011-08-05 Alan Modra <amodra@gmail.com> - - * ld-powerpc/tlsexe.r: Update for stripped .branch_lt. - * ld-powerpc/tlsexetoc.r: Likewise. - * ld-powerpc/tlsso.r: Likewise. - * ld-powerpc/tlstocso.r: Likewise. - -2011-08-01 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/13048 - * ld-x86-64/ilp32-6.d: New. - * ld-x86-64/ilp32-6.s: Likewise. - * ld-x86-64/ilp32-7.d: Likewise. - * ld-x86-64/ilp32-7.s: Likewise. - * ld-x86-64/ilp32-8.d: Likewise. - * ld-x86-64/ilp32-8.s: Likewise. - * ld-x86-64/ilp32-9.d: Likewise. - * ld-x86-64/ilp32-9.s: Likewise. - - * ld-x86-64/x86-64.exp: Run ilp32-6, ilp32-7, ilp32-8 and ilp32-9. - -2011-07-27 Roland McGrath <mcgrathr@google.com> - - * ld-i386/vxworks1-lib.rd: Swap order of sections expected in output. - -2011-07-26 Alan Modra <amodra@gmail.com> - - * ld-powerpc/powerpc.exp: Use --no-ld-generated-unwind-info - with some tests. - * ld-powerpc/relbrlt.d: Likewise. - -2011-07-25 Hans-Peter Nilsson <hp@bitrange.com> - - PR ld/12815 - * ld-mmix/pr12815-1.d, ld-mmix/pr12815-1.s, ld-mmix/pr12815-1.ld, - ld-mmix/pr12815-2.d, ld-mmix/pr12815-2.s: New tests. - -2011-07-24 Catherine Moore <clm@codesourcery.com> - Chao-ying Fu <fu@mips.com> - Maciej W. Rozycki <macro@codesourcery.com> - - * lib/ld-lib.exp (run_dump_test): Support distinct assembler - flags for the same source named multiple times. - * ld-mips-elf/jalx-1.s: New test source. - * ld-mips-elf/jalx-1.d: New test output. - * ld-mips-elf/jalx-1.ld: New test linker script. - * ld-mips-elf/jalx-2-main.s: New test source. - * ld-mips-elf/jalx-2-ex.s: Likewise. - * ld-mips-elf/jalx-2-printf.s: Likewise. - * ld-mips-elf/jalx-2.dd: New test output. - * ld-mips-elf/jalx-2.ld: New test linker script. - * ld-mips-elf/mips16-and-micromips.d: New test. - * ld-mips-elf/mips-elf.exp: Run the new tests - -2011-07-22 H.J. Lu <hongjiu.lu@intel.com> - - * ld-x86-64/abs-k1om.d: New. - * ld-x86-64/protected2-k1om.d: Likewise. - * ld-x86-64/protected3-k1om.d: Likewise. - - * ld-x86-64/x86-64.exp: Run abs-k1om, protected2-k1om and - protected3-k1om. - -2011-07-14 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elf/binutils.exp (binutils_test): Also check ignored - "-z relro". - -2011-07-14 Alan Modra <amodra@gmail.com> - - * ld-scripts/section-flags.exp: Pass --local-store 0:0 for - spu. Rewrite using foreach. - -2011-07-14 Alan Modra <amodra@gmail.com> - - * ld-powerpc/tlsexe.d, * ld-powerpc/tlsexe.g. *ld-powerpc/tlsexe.r, - * ld-powerpc/tlsexetoc.d, * ld-powerpc/tlsexetoc.g, - * ld-powerpc/tlsexetoc.r, * ld-powerpc/tlsso.d, - * ld-powerpc/tlstocso.d: Update for plt stub change. - -2011-07-11 Catherine Moore <clm@cm00re.com> - - * ld-scripts/section-flags-1.s: New. - * ld-scripts/section-flags-1.t: New. - * ld-scripts/section-flags-2.s: New. - * ld-scripts/section-flags-2.t: New. - * ld-scripts/section-flags.exp: New. - -2011-07-11 Alan Modra <amodra@gmail.com> - - * ld-powerpc/tocopt2.s, * ld-powerpc/tocopt2.out, - * ld-powerpc/tocopt2.d: New test. - * ld-powerpc/tocopt3.s, * ld-powerpc/tocopt3.d: New test. - * ld-powerpc/powerpc.exp (ppc64elftests) Run them. - -2011-07-03 Samuel Thibault <samuel.thibault@gnu.org> - Thomas Schwinge <thomas@schwinge.name> - - PR binutils/12913 - * ld-ifunc/ifunc.exp: Update for changed output. - * ld-unique/unique.exp: Likewise. - -2011-06-27 Nick Clifton <nickc@redhat.com> - - * ld-elf/elf.exp: Exlcude all v850 targets from note-3 test. - -2011-06-27 Alan Modra <amodra@gmail.com> - - * ld-elf/elf.exp: Exclude more targets from note-3 test. - -2011-06-24 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12921 - * ld-i386/i386.exp: Run pr12921. - * ld-x86-64/x86-64.exp: Likewise. - - * ld-i386/pr12921.d: New. - * ld-i386/pr12921.s: Likewise. - * ld-x86-64/pr12921.d: Likewise. - * ld-x86-64/pr12921.s: Likewise. - -2011-06-22 Thomas Schwinge <thomas@schwinge.name> - - * ld-elf/elf.exp: Execute array_tests_pie tests on *-*-gnu*, too. - -2011-06-20 H.J. Lu <hongjiu.lu@intel.com> - - * ld-ifunc/ifunc-1-local-x86.d: Adjusted. - * ld-ifunc/ifunc-1-x86.d: Likewise. - * ld-ifunc/ifunc-3a-x86.d: Likewise. - -2011-06-20 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elf/eh1.d: Revert x32 change. - * ld-elf/eh2.d: Likewise. - * ld-elf/eh3.d: Likewise. - * ld-elf/eh4.d: Likewise. - -2011-06-20 Jakub Jelinek <jakub@redhat.com> - - PR ld/12570 - * ld-x86-64/x86-64.exp: Link some testcases with - --no-ld-generated-unwind-info. - * ld-x86-64/tlsbin.rd: Add --no-ld-generated-unwind-info to ld - comment. - * ld-x86-64/tlsdesc.dd: Likewise. - * ld-x86-64/tlspic.dd: Likewise. - * ld-x86-64/tlsdesc.sd: Likewise. - * ld-x86-64/tlspic.rd: Likewise. - * ld-x86-64/tlsbindesc.rd: Likewise. - * ld-x86-64/tlsbindesc.sd: Likewise. - * ld-x86-64/tlsbin.td: Likewise. - * ld-x86-64/tlsdesc.pd: Likewise. - * ld-x86-64/tlsdesc.td: Likewise. - * ld-x86-64/tlsbindesc.dd: Likewise. - * ld-x86-64/tlsbin.dd: Likewise. - * ld-x86-64/tlsgdesc.rd: Likewise. - * ld-x86-64/tlspic.sd: Likewise. - * ld-x86-64/tlsbindesc.td: Likewise. - * ld-x86-64/tlspic.td: Likewise. - * ld-x86-64/tlsbin.sd: Likewise. - * ld-x86-64/ilp32-4.d: Likewise. - * ld-x86-64/tlsgdesc.dd: Add --no-ld-generated-unwind-info to ld - comment. Adjust. - * ld-x86-64/tlsdesc.rd: Likewise. - * ld-x86-64/tlsgd6.dd: Adjust. - * ld-x86-64/tlsgd5.dd: Likewise. - * ld-i386/i386.exp: Link some testcases with - --no-ld-generated-unwind-info. - * ld-i386/tlsbin.rd: Add --no-ld-generated-unwind-info to ld - comment.. - * ld-i386/tlsdesc.dd: Likewise. - * ld-i386/tlspic.dd: Likewise. - * ld-i386/tlsdesc.sd: Likewise. - * ld-i386/tlsgdesc.dd: Likewise. - * ld-i386/tlsnopic.sd: Likewise. - * ld-i386/tlspic.rd: Likewise. - * ld-i386/tlsdesc.rd: Likewise. - * ld-i386/tlsbindesc.rd: Likewise. - * ld-i386/tlsbindesc.sd: Likewise. - * ld-i386/tlsbin.td: Likewise. - * ld-i386/tlsdesc.td: Likewise. - * ld-i386/tlsnopic.dd: Likewise. - * ld-i386/tlsbindesc.dd: Likewise. - * ld-i386/tlsbin.dd: Likewise. - * ld-i386/tlsgdesc.rd: Likewise. - * ld-i386/tlspic.sd: Likewise. - * ld-i386/tlsnopic.rd: Likewise. - * ld-i386/tlsbindesc.td: Likewise. - * ld-i386/tlspic.td: Likewise. - * ld-i386/tlsbin.sd: Likewise. - -2011-06-19 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elf/eh1.d: Skip x32. - * ld-elf/eh2.d: Likewise. - * ld-elf/eh3.d: Likewise. - * ld-elf/eh4.d: Likewise. - - * ld-elfvsb/elfvsb.exp: Only xfail 64bit x86_64-*-linux*. - * ld-shared/shared.exp: Likewise. - - * ld-ifunc/ifunc-1-local-x86.d: Support x32. - * ld-ifunc/ifunc-1-x86.d: Likewise. - * ld-ifunc/ifunc-3a-x86.d: Likewise. - * ld-x86-64/pcrel16.d: Likewise. - - * ld-x86-64/x86-64.exp (x86_64tests): Add missing -melf_x86_64. - -2011-06-16 Alan Modra <amodra@gmail.com> - - * ld-elfvers/vers2.ver: Don't assume any particular index for - version reference. - * ld-elfvers/vers3.ver: Likewise. - * ld-elfvers/vers19.ver: Likewise. - * ld-elfvers/vers22.ver: Likewise. - * ld-elfvers/vers27d4.ver: Likewise. - * ld-elfvers/vers28c.ver: Likewise. - -2011-06-14 Alan Modra <amodra@gmail.com> - - * ld-elf/elf.exp: Don't attempt to build symbol3.a for hppa64-hpux. - * ld-elf/warn3.d: Correct target selection and comment. - - * ld-elf/pr12851.d: Correct target selection and comment. - -2011-06-13 Walter Lee <walt@tilera.com> - - * ld-elf/eh5.d: Don't run on tile*. - * ld-srec/srec.exp: xfail on tile*. - * ld-tilegx/external.s: New file. - * ld-tilegx/reloc.d: New file. - * ld-tilegx/reloc.s: New file. - * ld-tilegx/tilegx.exp: New file. - * ld-tilepro/external.s: New file. - * ld-tilepro/reloc.d: New file. - * ld-tilepro/reloc.s: New file. - * ld-tilepro/tilepro.exp: New file. - -2011-06-10 Nick Clifton <nickc@redhat.com> - - * ld-elf/elf.exp: Add test for linking a shared library with a - broken linker script that marks dynamic sections as being notes. - * ld-elf/note-3.s: New test source file. - * ld-elf/note-3.t: New test linker script. - * ld-elf/note-3.l: Expected output from the linker. - * lib/ld-lib.exp (run_ld_link_tests): Improve description. - -2011-06-08 H.J. Lu <hongjiu.lu@intel.com> - - * ld-x86-64/x86-64.exp: Build x32 DSO from x86-64 object file - only for native. - -2011-06-08 H.J. Lu <hongjiu.lu@intel.com> - - * ld-x86-64/simple.c: New. - * ld-x86-64/x86-64-x32.rd: Likewise. - - * ld-x86-64/x86-64.exp: Check building x32 DSO from x86-64 - object file. - -2011-06-08 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12851 - * ld-elf/pr12851.d: New. - * ld-elf/pr12851.s: Likewise. - -2011-06-07 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elf/elf.exp: Build symbol3.a and symbol3w.a. - - * ld-elf/symbol3.s: New. - * ld-elf/symbol3w.s: Likewise. - * ld-elf/warn3.d: Likewise. - -2011-06-02 Nathan Sidwell <nathan@codesourcery.com> - - Adjust tests for zero offset formatting. - * ld-arm/cortex-a8-fix-bcc-plt.d: Adjust. - * ld-arm/farcall-arm-arm-pic-veneer.d: Adjust. - * ld-arm/farcall-arm-thumb.d: Adjust. - * ld-arm/farcall-group-size2.d: Adjust. - * ld-arm/farcall-group.d: Adjust. - * ld-arm/farcall-mix.d: Adjust. - * ld-arm/farcall-mix2.d: Adjust. - * ld-arm/farcall-mixed-lib-v4t.d: Adjust. - * ld-arm/farcall-mixed-lib.d: Adjust. - * ld-arm/farcall-thumb-arm-blx-pic-veneer.d: Adjust. - * ld-arm/farcall-thumb-arm-pic-veneer.d: Adjust. - * ld-arm/farcall-thumb-thumb.d: Adjust. - * ld-arm/ifunc-10.dd: Adjust. - * ld-arm/ifunc-3.dd: Adjust. - * ld-arm/ifunc-4.dd: Adjust. - * ld-arm/ifunc-5.dd: Adjust. - * ld-arm/ifunc-6.dd: Adjust. - * ld-arm/ifunc-7.dd: Adjust. - * ld-arm/ifunc-8.dd: Adjust. - * ld-arm/jump-reloc-veneers-long.d: Adjust. - * ld-arm/tls-longplt-lib.d: Adjust. - * ld-arm/tls-thumb1.d: Adjust. - -2011-05-31 Paul Brook <paul@codesourcery.com> - - * ld-arm/cortex-a8-far.d: Adjust expected output. - * ld-arm/arm-call1.s: Give function symbol correct type. - * ld-arm/arm-call2.s: Ditto. - * ld-arm/farcall-group4.s: Ditto. - * ld-arm/arm-elf.exp (cortex-a8-far): Define far symbols with correct - type via assembly file. - * ld-arm/cortex-a8-far-3.s: New file. - * ld-arm/abs-call-1.s: Add Thumb tests - -2011-05-31 Paul Brook <paul@codesourcery.com> - Nathan Sidwell <nathan@codesourcery.com> - - * ld-arm/abs-call-1.d: New. - * ld-arm/abs-call-1.s: New. - * ld-arm/arm-elf.exp: Add it. - -2011-05-31 Paul Brook <paul@codesourcery.com> - - * ld-arm/tls-longplt.d: Update expected output. - * ld-arm/tls-thumb1.d: Ditto. - -2011-05-26 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12809 - * ld-x86-64/tlsbin.s: Add a test for LE with large model. - - * ld-x86-64/tlsbin.dd: Updated. - * ld-x86-64/tlsbin.rd: Likewise. - * ld-x86-64/tlsbin.sd: Likewise. - * ld-x86-64/tlsbin.td: Likewise. - * ld-x86-64/tlsbindesc.dd: Likewise. - * ld-x86-64/tlsbindesc.rd: Likewise. - * ld-x86-64/tlsbindesc.sd: Likewise. - * ld-x86-64/tlsbindesc.td: Likewise. - -2011-05-24 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/tls-e-tpoffcomm1.d: Adjust for second PR12763 change, - setting TLS file offset. - -2011-05-23 Nick Clifton <nickc@redhat.com> - - * ld-elf/shared.exp: Revert previous delta. Do not build - libraries in a non-native environment. - -2011-05-23 Alan Modra <amodra@gmail.com> - - PR 12763 - * ld-elf/binutils.exp: Don't run tdata3 for hppa64. - -2011-05-21 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/tls-e-tpoffcomm1.d: Adjust for PR12763 change removing - empty program header. - -2011-05-21 Alan Modra <amodra@gmail.com> - - PR 12763 - * ld-elf/tdata3.s: New test. - * ld-elf/tbss3.s: New test. - * ld-elf/binutils.exp: Consolidate tbss and tdata tests. - -2011-05-20 Bernd Schmidt <bernds@codesourcery.com> - - * ld-tic6x/pcr-reloc.d: New test. - * ld-tic6x/pcr-reloc.s: New test. - -2011-05-18 Nick Clifton <nickc@redhat.com> - - PR ld/12761 - * lib/ld-lib.exp (run_cc_link_tests): Add an optional 8th - parameter - an expected warning message from the linker. - * ld-elf/shared.exp (build_tests): Expect a warning message when - building the libbarw.so library. - - * ld-elf/shared.exp: Run library building tests even when not - building a native toolchain. - -2011-05-16 H.J. Lu <hongjiu.lu@intel.com> - - * ld-scripts/phdrs.exp: Replace --private with - --private-headers for objdump. - * ld-scripts/phdrs2.exp: Likewise. - -2011-05-15 Richard Sandiford <rdsandiford@googlemail.com> - - * lib/ld-lib.exp (run_ld_link_tests): Simplify pass/fail logic. - Fail if the link command fails and if no test rules are defined. - * ld-mips-elf/reloc-6a.s, ld-mips-elf/reloc-6b.s: New tests. - * ld-mips-elf/mips-elf.exp: Run them. - -2011-05-13 Bernd Schmidt <bernds@codesourcery.com> - - * ld-tic6x/dsbt.ld (OUTPUT_FORMAT): Add. - * ld-tic6x/tic6x.exp: Add OSABI tests. - -2011-05-13 Alan Modra <amodra@gmail.com> - - * ld-elf/flags1.d: Don't xfail tic6x. - * ld-scripts/weak.exp: Correct comments. Don't xfail sh-pe. Remove - redundant xfail. - * ld-selective/sel-dump.exp: Don't xfail alpha. - * ld-selective/selective.exp: Run for alpha. - * ld-undefined/weak-undef.exp: Don't xfail hppa64. - -2011-05-12 Bernd Schmidt <bernds@codesourcery.com> - - * config/default.exp (ld_assemble): Pass flags parameter to - default_ld_assemble. - (ld_assemble_flags): New function. - * ld-elf/frame.exp: Pass -mpic and -mpid flags to the assembler on - tic6x. - * ld-elf/exclude.exp: Likewise. - * lib/ld-lib.exp (default_ld_assemble): Take extra argument in_flags - and pass it to the assembler. - -2011-05-11 Richard Sandiford <rdsandiford@googlemail.com> - - * ld-mips-elf/mips-elf.exp: Add missing $has_newabi tests. - -2011-05-09 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elf/elf.exp (array_tests): Remove "pr12730". - (array_tests_pie): Remove "PIE pr12730". - (array_tests_static): Remove "static pr12730". - - * ld-elf/pr12730.cc: Removed. - * ld-elf/pr12730.out: Likewise. - -2011-05-09 Paul Brook <paul@codesourcery.com> - - * ld-tic6x/discard-unwind.ld: New. - * ld-tic6x/unwind.ld: New. - * ld-tic6x/unwind-1.d: New test. - * ld-tic6x/unwind-1.s: New test. - * ld-tic6x/unwind-2.d: New test. - * ld-tic6x/unwind-2.s: New test. - * ld-tic6x/unwind-3.d: New test. - * ld-tic6x/unwind-3.s: New test. - * ld-tic6x/unwind-4.d: New test. - * ld-tic6x/unwind-4.s: New test. - * ld-tic6x/unwind-5.d: New test. - * ld-tic6x/unwind-5.s: New test. - * ld-tic6x/unwind-6.d: New test. - -2011-05-07 Dave Korn <dave.korn.cygwin@gmail.com> - - PR ld/12365 - * ld-plugin/plugin-7.d: Allow underscore in error message. - * ld-plugin/plugin-8.d: Likewise. - -2011-05-07 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12730 - * ld-elf/elf.exp (array_tests): Add "pr12730". - (array_tests_pie): New. - (array_tests_static): Add -static for "static init array mixed". - Add "static pr12730". Run array_tests_pie for Linux. - - * ld-elf/init-mixed.c (ctor1007): Renamed to ... - (ctor1007a): This. - (ctor1007b): New. - (ctors1007): Remove ctor1007. Add ctor1007b and ctor1007a. - (dtor1007): Renamed to ... - (dtor1007a): This. - (dtor1007b): New. - (dtors1007): Remove dtor1007. Add dtor1007b and dtor1007a. - (ctor65535): Renamed to ... - (ctor65535a): This. - (ctor65535b): New. - (ctors65535): Remove ctor65535. Add ctor65535b and ctor65535a. - (dtor65535): Renamed to ... - (dtor65535a): This. - (dtor65535b): New. - (dtors65535): Remove dtor65535. Add dtor65535b and dtor65535a. - - * ld-elf/pr12730.cc: New. - * ld-elf/pr12730.out: Likewise. - -2011-05-06 Richard Sandiford <richard.sandiford@linaro.org> - - * ld-arm/cortex-a8-fix-b-plt.s, ld-arm/cortex-a8-fix-b-plt.d, - ld-arm/cortex-a8-fix-bcc-plt.s, ld-arm/cortex-a8-fix-bcc-plt.d, - ld-arm/cortex-a8-fix-bl-plt.s, ld-arm/cortex-a8-fix-bl-plt.d, - ld-arm/cortex-a8-fix-blx-plt.s, ld-arm/cortex-a8-fix-blx-plt.d, - ld-arm/cortex-a8-fix-plt.ld: New tests. - * ld-arm/arm-elf.exp: Run them. - -2011-05-05 Bernd Schmidt <bernds@codesourcery.com> - - * ld-tic6x/shared-nopic.d: New test. - * ld-tic6x/shared-nopid.d: New test. - * ld-tic6x/attr-pid-21.d: Don't expect a warning; check readelf - output instead. - * ld-tic6x/attr-pid-12.d: Likewise. - * ld-tic6x/attr-pic-01.d: Likewise. - * ld-tic6x/attr-pic-10.d: Likewise. - * ld-tic6x/attr-pid-01.d: Likewise. - * ld-tic6x/attr-pid-10.d: Likewise. - * ld-tic6x/attr-pid-02.d: Likewise. - * ld-tic6x/attr-pid-20.d: Likewise. - * ld-tic6x/got-reloc-inrange.d: Pass -mpic and -mpid options to gas. - -2011-05-03 Paul Brook <paul@codesourcery.com> - - * ld-tic6x/ehtype-reloc-1-rel.d: New test. - * ld-tic6x/ehtype-reloc-1.d: New test. - * ld-tic6x/ehtype-reloc-1.s: New test. - -2011-05-01 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12718 - * ld-i386/i386.exp: Run pr12718. - * ld-x86-64/x86-64.exp: Likewise. - - * ld-i386/pr12718.d: New. - * ld-i386/pr12718.s: Likewise. - * ld-x86-64/pr12718.d: Likewise. - * ld-x86-64/pr12718.s: Likewise. - -2011-04-26 Kai Tietz <ktietz@redhat.com> - - * ld-pe/pe.exp: Add cfi/cfi32 tests. - * ld-pe/cfi.d: New. - * ld-pe/cfi32.d: New. - * ld-pe/cfia.s: New. - * ld-pe/cfib.s: New. - -2011-04-21 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12694 - * ld-ifunc/ifunc-14-i386.d: New. - * ld-ifunc/ifunc-14-x86-64.d: Likewise. - * ld-ifunc/ifunc-14a.s: Likewise. - * ld-ifunc/ifunc-14b.s: Likewise. - -2011-04-19 H.J. Lu <hongjiu.lu@intel.com> - - * ld-plugin/plugin-ignore.d: Removed. - -2011-04-18 H.J. Lu <hongjiu.lu@intel.com> - - * ld-plugin/plugin-7.d: Update expected LTO linker errors for - GCC 4.6. - * ld-plugin/plugin-8.d: Likewise. - -2011-04-18 Alan Modra <amodra@gmail.com> - - * ld-plugin/plugin-7.d: Adjust for plugin changes. - * ld-plugin/plugin-8.d: Likewise. - * ld-plugin/plugin.exp: Pass --verbose=2 for visibility test, and - compare ld output to.. - * ld-plugin/plugin-12.d: New. - -2011-04-15 Maxim Kuvyrkov <maxim@codesourcery.com> - - * ld-m68k/tls-gd-ie-1.d: Stabilize test. - * ld-m68k/tls-gd-3.[sd]: New test. - -2011-04-12 Richard Henderson <rth@redhat.com> - - * ld-alpha/emptygot.s, ld-alpha/emptygot.nm: New test. - * ld-alpha/alpha.exp: Run it. - -2011-04-11 Mark Wielaard <mjw@redhat.com> - - PR 10549 - * ld-unique: New directory. - * ld-unique/unique.exp: New file: Run the UNIQUE tests. - * ld-unique/unique.s: New test file. - * ld-unique/unique_empty.s: Likewise. - * ld-unique/unique_shared.s: Likewise. - -2011-04-11 Alan Modra <amodra@gmail.com> - - * ld-elf/eh-frame-hdr.d: xfail avr. - -2011-04-08 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12654 - * ld-i386/i386.exp: Run tlspie2. - - * ld-i386/tlspie2.d: New. - * ld-i386/tlspie2.s: Likewise. - -2011-04-06 Joseph Myers <joseph@codesourcery.com> - - * ld-selective/selective.exp (xscale-*-*): Don't handle. - * ld-srec/srec.exp (strongarm*-*-*, xscale*-*-*, thumb-*-*): Don't - handle. - (*arm*-*-*): Change to arm*-*-*. - (strongarm*-*-coff, xscale*-*-coff, thumb-*-coff*, thumb-*-pe*, - thumb-*-elf*, strongarm*-*-*, thumb-*-*): Remove xfails. - * ld-undefined/undefined.exp (thumb*-*-pe*, thumb*-*-pe*): Remove - commented-out xfails. - (thumb-elf): Remove reference in comment. - * lib/ld-lib.exp (strongarm*-*-*, xscale*-*-*, thumb-*-*): Don't - handle. - -2011-04-04 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12627 - * ld-i386/i386.exp: Run pr12627. - - * ld-i386/pr12627.d: New. - * ld-i386/pr12627.s: Likewise. - * ld-i386/pr12627.t: Likewise. - -2011-03-31 Bernd Schmidt <bernds@codesourcery.com> - - * ld-scripts/crossref.exp: Add CFLAGS for tic6x*-*-*. - * ld-elf/sec-to-seg.exp: Remove tic6x from list of targets defining - pagesize to 1. - * ld-tic6x/tic6x.exp: Add support for DSBT shared library/executable - linking tests. - * ld-tic6x/dsbt.ld: New linker script. - * ld-tic6x/dsbt-be.ld: New linker script. - * ld-tic6x/dsbt-overflow.ld: New linker script. - * ld-tic6x/dsbt-inrange.ld: New linker script. - * ld-tic6x/shlib-1.s: New test. - * ld-tic6x/shlib-2.s: New test. - * ld-tic6x/shlib-app-1r.s: New test. - * ld-tic6x/shlib-app-1.s: New test. - * ld-tic6x/shlib-1.sd: New test. - * ld-tic6x/shlib-1.dd: New test. - * ld-tic6x/shlib-app-1.rd: New test. - * ld-tic6x/shlib-app-1rb.rd: New test. - * ld-tic6x/shlib-app-1.sd: New test. - * ld-tic6x/static-app-1rb.od: New test. - * ld-tic6x/shlib-app-1.dd: New test. - * ld-tic6x/shlib-app-1rb.sd: New test. - * ld-tic6x/static-app-1b.od: New test. - * ld-tic6x/static-app-1r.od: New test. - * ld-tic6x/shlib-1rb.rd: New test. - * ld-tic6x/shlib-app-1rb.dd: New test. - * ld-tic6x/shlib-1rb.sd: New test. - * ld-tic6x/shlib-1rb.dd: New test. - * ld-tic6x/shlib-app-1b.od: New test. - * ld-tic6x/tic6x.exp: New test. - * ld-tic6x/static-app-1rb.rd: New test. - * ld-tic6x/shlib-app-1r.od: New test. - * ld-tic6x/static-app-1.od: New test. - * ld-tic6x/static-app-1b.rd: New test. - * ld-tic6x/static-app-1r.rd: New test. - * ld-tic6x/static-app-1rb.sd: New test. - * ld-tic6x/static-app-1b.sd: New test. - * ld-tic6x/static-app-1rb.dd: New test. - * ld-tic6x/static-app-1r.sd: New test. - * ld-tic6x/static-app-1b.dd: New test. - * ld-tic6x/shlib-1b.rd: New test. - * ld-tic6x/static-app-1r.dd: New test. - * ld-tic6x/shlib-app-1b.rd: New test. - * ld-tic6x/shlib-1r.rd: New test. - * ld-tic6x/shlib-app-1r.rd: New test. - * ld-tic6x/shlib-1b.sd: New test. - * ld-tic6x/static-app-1.rd: New test. - * ld-tic6x/shlib-app-1b.sd: New test. - * ld-tic6x/shlib-1r.sd: New test. - * ld-tic6x/shlib-1b.dd: New test. - * ld-tic6x/shlib-app-1r.sd: New test. - * ld-tic6x/shlib-app-1b.dd: New test. - * ld-tic6x/shlib-1r.dd: New test. - * ld-tic6x/static-app-1.sd: New test. - * ld-tic6x/shlib-app-1r.dd: New test. - * ld-tic6x/static-app-1.dd: New test. - * ld-tic6x/shlib-noindex.rd: New test. - * ld-tic6x/shlib-noindex.dd: New test. - * ld-tic6x/shlib-noindex.sd: New test. - * ld-tic6x/got-reloc-local-1.s: New test. - * ld-tic6x/got-reloc-local-2.s: New test. - * ld-tic6x/got-reloc-local-r.d: New test. - * ld-tic6x/got-reloc-global.s: New test. - * ld-tic6x/got-reloc-global-addend-1.d: New test. - * ld-tic6x/got-reloc-global-addend-1.s: New test. - * ld-tic6x/got-reloc-global-addend-2.d: New test. - * ld-tic6x/got-reloc-inrange.d: New test. - * ld-tic6x/got-reloc-overflow.d: New test. - * ld-tic6x/got-reloc-global-addend-2.s: New test. - * ld-tic6x/dsbt-index-error.d: New test. - * ld-tic6x/dsbt-index.d: New test. - * ld-tic6x/dsbt-index.s: New test. - * ld-tic6x/shlib-app-1.od: New test. - * ld-tic6x/shlib-app-1rb.od: New test. - * ld-tic6x/shlib-1.rd: New test. - * ld-tic6x/weak.d: New test. - * ld-tic6x/weak-be.d: New test. - * ld-tic6x/weak.s: New test. - * ld-tic6x/weak-data.d: New test. - * ld-tic6x/common.d: New test. - * ld-tic6x/common.ld: New test. - * ld-tic6x/common.s: New test. - -2011-03-30 Richard Henderson <rth@redhat.com> - - * ld-elf/elf.exp: Force 32-bit start address for alpha. - * ld-elf/group8a.d: Don't disable for alpha. - * ld-elf/group8b.d: Likewise. - * ld-gc/start.s: Use .dc.a instead of .long. - -2011-03-24 Alan Modra <amodra@gmail.com> - - * ld-powerpc/tlsmark.s: Delete non-optimizable section. - * ld-powerpc/tlsmark32.s: Likewise. - * ld-powerpc/tlsmark.d: Adjust to suit. - * ld-powerpc/tlsmark32.d: Likewise. - * ld-powerpc/tlsopt1.d, * ld-powerpc/tlsopt1.s: New. - * ld-powerpc/tlsopt2.d, * ld-powerpc/tlsopt2.s: New. - * ld-powerpc/tlsopt3.d, * ld-powerpc/tlsopt3.s: New. - * ld-powerpc/tlsopt4.d, * ld-powerpc/tlsopt4.s: New. - * ld-powerpc/tlsopt1_32.d, * ld-powerpc/tlsopt1_32.s: New. - * ld-powerpc/tlsopt2_32.d, * ld-powerpc/tlsopt2_32.s: New. - * ld-powerpc/tlsopt3_32.d, * ld-powerpc/tlsopt3_32.s: New. - * ld-powerpc/tlsopt4_32.d, * ld-powerpc/tlsopt4_32.s: New. - * ld-powerpc/powerpc.exp: Run new tests. - -2011-03-15 Mike Frysinger <vapier@gentoo.org> - - * ld-elfvers/vers.exp (vers19): Add -Wl,-rpath-link,. to linker flags. - -2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> - - * ld-arm/ifunc-1.s, ld-arm/ifunc-1.dd, ld-arm/ifunc-1.gd, - ld-arm/ifunc-1.rd, ld-arm/ifunc-2.s, ld-arm/ifunc-2.dd, - ld-arm/ifunc-2.gd, ld-arm/ifunc-2.rd, ld-arm/ifunc-3.s, - ld-arm/ifunc-3.dd, ld-arm/ifunc-3.gd, ld-arm/ifunc-3.rd, - ld-arm/ifunc-4.s, ld-arm/ifunc-4.dd, ld-arm/ifunc-4.gd, - ld-arm/ifunc-4.rd, ld-arm/ifunc-5.s, ld-arm/ifunc-5.dd, - ld-arm/ifunc-5.gd, ld-arm/ifunc-5.rd, ld-arm/ifunc-6.s, - ld-arm/ifunc-6.dd, ld-arm/ifunc-6.gd, ld-arm/ifunc-6.rd, - ld-arm/ifunc-7.s, ld-arm/ifunc-7.dd, ld-arm/ifunc-7.gd, - ld-arm/ifunc-7.rd, ld-arm/ifunc-8.s, ld-arm/ifunc-8.dd, - ld-arm/ifunc-8.gd, ld-arm/ifunc-8.rd, ld-arm/ifunc-9.s, - ld-arm/ifunc-9.dd, ld-arm/ifunc-9.gd, ld-arm/ifunc-9.rd, - ld-arm/ifunc-10.s, ld-arm/ifunc-10.dd, ld-arm/ifunc-10.gd, - ld-arm/ifunc-10.rd, ld-arm/ifunc-11.s, ld-arm/ifunc-11.dd, - ld-arm/ifunc-11.gd, ld-arm/ifunc-11.rd, ld-arm/ifunc-12.s, - ld-arm/ifunc-12.dd, ld-arm/ifunc-12.gd, ld-arm/ifunc-12.rd, - ld-arm/ifunc-13.s, ld-arm/ifunc-13.dd, ld-arm/ifunc-13.gd, - ld-arm/ifunc-13.rd, ld-arm/ifunc-14.s, ld-arm/ifunc-14.dd, - ld-arm/ifunc-14.gd, ld-arm/ifunc-14.rd, ld-arm/ifunc-15.s, - ld-arm/ifunc-15.dd, ld-arm/ifunc-15.gd, ld-arm/ifunc-15.rd, - ld-arm/ifunc-16.s, ld-arm/ifunc-16.dd, ld-arm/ifunc-16.gd, - ld-arm/ifunc-16.rd, ld-arm/ifunc-dynamic.ld, - ld-arm/ifunc-static.ld: New tests. - * ld-arm/farcall-group.d, ld-arm/farcall-group-size2.d, - ld-arm/farcall-mixed-lib-v4t.d, ld-arm/farcall-mixed-lib.d: Update - for new stub hashes. - * ld-arm/arm-elf.exp: Run them. - -2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> - - * ld-arm/arm-lib-plt-2a.s, ld-arm/arm-lib-plt-2b.s, - ld-arm/arm-lib-plt-2.dd, ld-arm/arm-lib-plt-2.rd: New tests. - * ld-arm/arm-elf.exp: Run them. - -2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> - - * ld-arm/exec-got-1a.s, ld-arm/exec-got-1b.s, ld-arm/exec-got-1.d, - ld-arm/unresolved-1.s, ld-arm/unresolved-1.d, - ld-arm/unresolved-1-dyn.d: New tests. - * ld-arm/arm-elf.exp: Run them. - -2011-03-12 H.J. Lu <hongjiu.lu@intel.com> - - * ld-x86-64/tlsgd4.dd: New. - * ld-x86-64/tlsgd4.s: Likewise. - * ld-x86-64/tlsgd5.dd: Likewise. - * ld-x86-64/tlsgd5a.s: Likewise. - * ld-x86-64/tlsgd5b.s: Likewise. - * ld-x86-64/tlsgd6.dd: Likewise. - * ld-x86-64/tlsgd6a.s: Likewise. - * ld-x86-64/tlsgd6b.s: Likewise. - * ld-x86-64/tlsld2.dd: Likewise. - * ld-x86-64/tlsld2.s: Likewise. - - * ld-x86-64/x86-64.exp (x86_64tests): Add tlsgd4, libtlsgd5.so, - tlsgd5, libtlsgd6.so, tlsgd6 and tlsld2. - -2011-03-03 H.J. Lu <hongjiu.lu@intel.com> - - * ld-x86-64/tlsie4.dd: New. - * ld-x86-64/tlsie4.s: Likewise. - - * ld-x86-64/x86-64.exp (x86_64tests): Add tlsie4. - -2011-02-25 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12516 - * ld-elf/dynamic1.d: New. - * ld-elf/dynamic1.ld: Likewise. - * ld-elf/dynamic1.s: Likewise. - -2011-02-25 Alan Modra <amodra@gmail.com> - - * ld-mn10300/i135409-3.s: Correct .size label reference. - * ld-sh/sh64/stolib.s: Likewise. - -2011-02-23 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elf/new.cc: Don't include <exception_defines.h>. - -2011-02-10 Alan Modra <amodra@gmail.com> - - * ld-scripts/defined.exp: Don't run defined5 for AOUT. - * ld-scripts/defined5.s: Use .text for "defined" section. - * ld-scripts/defined5.t: Adjust. - - * ld-gc/start.d: Exclude frv-*-linux*. - * ld-misc/defsym1.d: Likewise. - -2011-02-09 Alan Modra <amodra@gmail.com> - - * ld-elfvsb/elfvsb.exp: Don't run any non-PIC tests on powerpc*-linux. - * ld-gc/gc.exp: Ensure powerpc64 test continues to fail. - * ld-srec/srec.exp: Don't edit toc on powerpc64. - -2011-01-23 Alan Modra <amodra@gmail.com> - - * ld-scripts/sane1.d, * ld-scripts/sane1.t: New test. - * ld-scripts/expr.exp: Run it. - -2011-01-18 H.J. Lu <hongjiu.lu@intel.com> - - * ld-x86-64/ilp32-4.d: Updated. - -2011-01-17 Richard Sandiford <richard.sandiford@linaro.org> - - * ld-arm/arm-rel32.s, ld-arm/arm-rel32.d: New testcase. - * ld-arm/arm-elf.exp: Run it. - -2011-01-17 Richard Sandiford <richard.sandiford@linaro.org> - - * ld-arm/gc-thumb-lib.s, ld-arm/gc-thumb.s, - ld-arm/gc-thumb.d: New test. - * ld-arm/arm-elf.exp: Run it. - -2011-01-14 H.J. Lu <hongjiu.lu@intel.com> - - * ld-x86-64/ia32-2.d: Replace --n32 with --x32. - * ld-x86-64/ilp32-1.d: Likewise. - * ld-x86-64/ilp32-2.d: Likewise. - * ld-x86-64/ilp32-3.d: Likewise. - * ld-x86-64/ilp32-4.d: Likewise. - * ld-x86-64/ilp32-5.d: Likewise. - * ld-x86-64/lp64-3.d: Likewise. - * ld-x86-64/x86-64.exp: Likewise. - -2011-01-14 H.J. Lu <hongjiu.lu@intel.com> - - * ld-x86-64/ilp32-5.d: New. - * ld-x86-64/ilp32-5.s: Likewise. - - * ld-x86-64/x86-64.exp: Run ilp32-5. - -2011-01-13 H.J. Lu <hongjiu.lu@intel.com> - - * ld-x86-64/ilp32-4.d: New. - - * ld-x86-64/x86-64.exp: Run ilp32-4. - -2011-01-13 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12356 - * ld-scripts/defined.exp: Run defined5. - - * ld-scripts/defined5.d: New. - * ld-scripts/defined5.s: Likewise. - * ld-scripts/defined5.t: Likewise. - -2011-01-13 H.J. Lu <hongjiu.lu@intel.com> - - * ld-scripts/defined4.d: Xfail rs6000-*-aix*. Skip mips*-*-* - and mmix-*-*. - - * ld-scripts/expr2.d: Xfail rs6000-*-aix* and arm-*-*aout. - -2011-01-10 H.J. Lu <hongjiu.lu@intel.com> - - * ld-scripts/assert.exp: Run assert2. - - * ld-scripts/assert2.d: New. - * ld-scripts/assert2.t: Likewise. - -2011-01-10 Nathan Sidwell <nathan@codesourcery.com> - Glauber de Oliveira Costa <glommer@gmail.com> - - * ld-arm/arm-elf.exp: Added tests for new TLS handling - relocations. - * ld-arm/tls-descrelax-be32.d: New. - * ld-arm/tls-descrelax-be32.s: New. - * ld-arm/tls-descrelax-be8.d: New. - * ld-arm/tls-descrelax-be8.s: New. - * ld-arm/tls-descrelax-v7.d: New. - * ld-arm/tls-descrelax-v7.s: New. - * ld-arm/tls-descrelax.d: New. - * ld-arm/tls-descrelax.s: New. - * ld-arm/tls-descseq.d: New. - * ld-arm/tls-descseq.r: New. - * ld-arm/tls-descseq.s: New. - * ld-arm/tls-gdesc-got.d: New. - * ld-arm/tls-gdesc-got.s: New. - * ld-arm/tls-gdesc-nlazy.g: New. - * ld-arm/tls-gdesc-nlazy.s: New. - * ld-arm/tls-gdesc.d: New. - * ld-arm/tls-gdesc.r: New. - * ld-arm/tls-gdesc.s: New. - * ld-arm/tls-gdierelax.d: New. - * ld-arm/tls-gdierelax.s: New. - * ld-arm/tls-gdierelax2.d: New. - * ld-arm/tls-gdierelax2.s: New. - * ld-arm/tls-gdlerelax.d: New. - * ld-arm/tls-gdlerelax.s: New. - * ld-arm/tls-lib-loc.d: New. - * ld-arm/tls-lib-loc.r: New. - * ld-arm/tls-lib-loc.s: New. - * ld-arm/tls-longplt-lib.d: New. - * ld-arm/tls-longplt-lib.s: New. - * ld-arm/tls-longplt.d: New. - * ld-arm/tls-longplt.s: New. - * ld-arm/tls-mixed.r: New. - * ld-arm/tls-mixed.s: New. - * ld-arm/tls-thumb1.d: New. - * ld-arm/tls-thumb1.s: New. - * ld-arm/arm-elf.exp: New. - -2011-01-08 Nick Clifton <nickc@redhat.com> - - * ld-misc/defsym1.d: Add a -e linker command line option. - * ld-misc/dummy.s: Remove text. - -2011-01-08 Nick Clifton <nickc@redhat.com> - - PR ld/12358 - PR ld/12359 - * ld-elf/textaddr2.d: Fix regexp to work with hppa64 targets. - * ld-elf/textaddr6.d: Fix regexp to work with hppa64 targets. - -2011-01-06 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12366 - PR ld/12371 - * ld-ifunc/ifunc-10-i386.s: Add more tests. - * ld-ifunc/ifunc-10-x86-64.s: Likewise. - * ld-ifunc/ifunc-11-i386.s: Likewise. - * ld-ifunc/ifunc-11-x86-64.s: Likewise. - - * ld-ifunc/ifunc-12-i386.d: New. - * ld-ifunc/ifunc-12-i386.s: Likewise. - * ld-ifunc/ifunc-12-x86-64.d: Likewise. - * ld-ifunc/ifunc-12-x86-64.s: Likewise. - * ld-ifunc/ifunc-13-i386.d: Likewise. - * ld-ifunc/ifunc-13-x86-64.d: Likewise. - * ld-ifunc/ifunc-13a-i386.s: Likewise. - * ld-ifunc/ifunc-13a-x86-64.s: Likewise. - * ld-ifunc/ifunc-13b-i386.s: Likewise. - * ld-ifunc/ifunc-13b-x86-64.s: Likewise. - -2011-01-03 H.J. Lu <hongjiu.lu@intel.com> - - * ld-x86-64/dummy.s: New. - * ld-x86-64/foo.s: Likewise. - * ld-x86-64/ia32-1.d: Likewise. - * ld-x86-64/ia32-2.d: Likewise. - * ld-x86-64/ia32-3.d: Likewise. - * ld-x86-64/ilp32-1.d: Likewise. - * ld-x86-64/ilp32-2.d: Likewise. - * ld-x86-64/ilp32-3.d: Likewise. - * ld-x86-64/lp64-1.d: Likewise. - * ld-x86-64/lp64-2.d: Likewise. - * ld-x86-64/lp64-3.d: Likewise. - * ld-x86-64/start.s: Likewise. - - * ld-x86-64/x86-64.exp: Run ilp32-1, ilp32-2, ilp32-3, ia32-1, - ia32-2, ia32-3, lp64-1, lp64-2 and lp64-3. - -2011-01-02 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/12001 - * ld-misc/defsym.exp: New. - * ld-misc/defsym1.d: Likewise. - * ld-misc/dummy.s: Likewise. - * ld-misc/foo.s: Likewise. - * ld-misc/start.s: Likewise. - -For older changes see ChangeLog-2010 +For older changes see ChangeLog-2011 Local Variables: mode: change-log diff --git a/ld/testsuite/ChangeLog-2011 b/ld/testsuite/ChangeLog-2011 new file mode 100644 index 0000000..6dd2e3d --- /dev/null +++ b/ld/testsuite/ChangeLog-2011 @@ -0,0 +1,1276 @@ +2011-12-15 David Daney <david.daney@cavium.com> + Nick Clifton <nickc@redhat.com> + + * ld-elfvers/vers.exp (picflag): Set to -fpic for mips*-*-* when + using GCC-4.3 or later. + (pic): Set to "yes" for mips*-*-linux*. + * ld-elfvsb/elfvsb.exp: Don't test non-PIC shared libraried on + mips*-*-linux*. + (picflag): Set to -fpic for mips*-*-* when using GCC-4.3 or later. + * ld-elfweak/elfweak.exp (picflag): Set to -fpic for mips*-*-* + when using GCC-4.3 or later. + * ld-shared/shared.exp (picflag): Same. + * lib/ld-lib.exp (at_least_gcc_version): New proc. + +2011-12-10 David Daney <david.daney@cavium.com> + + * ld-mips-elf/pic-and-nonpic-6-n64.dd: Use correct encoding for + 64-bit MOVE instruction. + +2011-12-09 David Daney <david.daney@cavium.com> + + * ld-mips-elf/tls-multi-got-1.r: Add "0x" to match value for + MIPS_BASE_ADDRESS. + * ld-mips-elf/textrel-1.d: Same. + * ld-mips-elf/multi-got-1.d: Same. + +2011-12-05 Nick Clifton <nickc@redhat.com> + + * ld-cris/weakref4.d: Updated pattern match for the message from + readelf stating that there are no decoded unwind sections. + * tls-js1.d: Likewise. + * tls-local-63.d: Likewise. + * tls-local-64.d: Likewise. + * tls-und-38.d: Likewise. + * tls-und-42.d: Likewise. + * tls-und-46.d: Likewise. + * tls-und-50.d: Likewise. + * weakref3.d: Likewise. + * weakref4.d: Likewise. + +2011-12-03 David Daney <david.daney@cavium.com> + + * ld-bootstrap/bootstrap.exp: Use consistent flags for final link + in ia64 and mips cases. + +2011-11-29 Maciej W. Rozycki <macro@codesourcery.com> + + PR ld/10144 + * lib/ld-lib.exp (run_ld_link_tests): Handle sources from other + directories. + (run_ld_link_exec_tests): Likewise. + (run_cc_link_tests): Likewise. + * ld-elf/comm-data1.sd: New test. + * ld-elf/comm-data1.s: Source for the new test. + * ld-elf/comm-data2.sd: New test. + * ld-elf/comm-data2.rd: Likewise. + * ld-elf/comm-data2.xd: Likewise. + * ld-elf/comm-data2.s: Source for the new tests. + * ld-elf/comm-data.exp: New file. + * ld-mips-elf/comm-data.exp: Likewise. + +2011-11-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * ld-arm/jump-reloc-veneers.s: Update for changes to assembler output. + +2011-11-08 Alan Modra <amodra@gmail.com> + + * ld-powerpc/powerpc.exp: Expect ld warnings for tocopt test. + * ld-powerpc/tocopt.out: New file. + +2011-10-25 Joern Rennecke <joern.rennecke@embecosm.com> + + * ld-srec/srec.exp: xfail epiphany. + * lib/ld-lib.exp (check_shared_lib_support): Add Epiphany to list + of targets not supporting shared libraries. + +2011-10-21 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/13302 + * ld-i386/i386.exp: Run pr13302. + + * ld-i386/pr13302.d: New. + * ld-i386/pr13302.s: Likewise. + + * ld-x86-64/pr13082-5b.d: Updated. + * ld-x86-64/pr13082-6a.d: Likewise. + * ld-x86-64/pr13082-6b.d: Likewise. + +2011-10-21 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/13302 + * ld-ifunc/ifunc-16-i386.d: New. + * ld-ifunc/ifunc-16-x86-64.d: Likewise. + * ld-ifunc/ifunc-16-x86.s: Likewise. + +2011-10-20 Alan Modra <amodra@gmail.com> + + * ld-selective/selective.exp: Use check_gc_sections_available. + Remove redundant xfails. + * ld-selective/sel-dump.exp: Likewise. + +2011-10-19 Alan Modra <amodra@gmail.com> + + * ld-elf/elf.exp: Move test for shared lib support.. + * lib/ld-lib.exp (check_shared_lib_support): ..to here. Add m68hc1*, + and s/ms1/mt/. + (check_gc_sections_available): Match hppa*64 not hppa64. Comment. + * ld-gc/libpersonality.s: New. + * ld-gc/personality.s, * ld-gc/personality.d: New. + * ld-gc/gc.exp: Run personality test. + +2011-10-18 David S. Miller <davem@davemloft.net> + + * ld-sparc/tlssunbin32.dd: Update for TLS call relaxation fix + for PR 13301. + * ld-sparc/tlssunbin64.dd: Likewise. + * ld-sparc/tlssunpic32.dd: Likewise. + * ld-sparc/tlssunpic64.dd: Likewise. + +2011-10-18 Jie Zhang <jie@codesourcery.com> + Julian Brown <julian@codesourcery.com> + + * ld-arm/cortex-a8-fix-b-plt.d: Adjust. + * ld-arm/cortex-a8-fix-bcc-plt.d: Adjust. + * ld-arm/cortex-a8-fix-bl-plt.d: Adjust. + * ld-arm/cortex-a8-fix-bl-rel-plt.d: Adjust. + * ld-arm/cortex-a8-fix-blx-plt.d: Adjust. + * ld-arm/ifunc-1.dd: Adjust. + * ld-arm/ifunc-2.dd: Adjust. + * ld-arm/ifunc-3.dd: Adjust. + * ld-arm/ifunc-4.dd: Adjust. + * ld-arm/ifunc-5.dd: Adjust. + * ld-arm/ifunc-6.dd: Adjust. + * ld-arm/ifunc-7.dd: Adjust. + * ld-arm/ifunc-8.dd: Adjust. + * ld-arm/ifunc-9.dd: Adjust. + * ld-arm/ifunc-10.dd: Adjust. + * ld-arm/ifunc-14.dd: Adjust. + * ld-arm/ifunc-15.dd: Adjust. + * ld-arm/ifunc-16.dd: Adjust. + +2011-10-14 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/pic-gc-72.d: Adjust for dropping unused undefined + dynamic symbol "dsofn". + +2011-10-10 Alan Modra <amodra@gmail.com> + + * ld-powerpc/relbrlt.d: Update for stub alignment change. + * ld-powerpc/tlsexe.g: Likewise. + * ld-powerpc/tlsexe.r: Likewise. + * ld-powerpc/tlsexetoc.g: Likewise. + * ld-powerpc/tlsexetoc.r: Likewise. + * ld-powerpc/tlsso.g: Likewise. + * ld-powerpc/tlsso.r: Likewise. + +2011-10-08 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/13250 + * ld-elf/shared.exp (build_tests): Add tests for PR ld/13250. + (run_tests): Likewise. + + * ld-elf/pr13250-1.c: New. + * ld-elf/pr13250-2.c: Likewise. + * ld-elf/pr13250-3.c: Likewise. + +2011-10-07 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elf/elf.exp: Run --gc-sections tests only if --gc-sections + is available. + +2011-10-06 Alan Modra <amodra@gmail.com> + + * ld-plugin/plugin-1.d, * ld-plugin/plugin-2.d, * ld-plugin/plugin-3.d, + * ld-plugin/plugin-4.d, * ld-plugin/plugin-5.d, * ld-plugin/plugin-6.d, + * ld-plugin/plugin-7.d, * ld-plugin/plugin-8.d, * ld-plugin/plugin-9.d, + * ld-plugin/plugin-10.d, * ld-plugin/plugin-11.d: Update. + +2011-10-05 Nick Clifton <nickc@redhat.com> + + * ld-scripts/phdrs.exp: Expect to fail for the RX. + +2011-09-30 Alan Modra <amodra@gmail.com> + + * ld-powerpc/tocopt.d: Update. + * ld-powerpc/tocopt5.d, * ld-powerpc/tocopt5.s: New test. + * ld-powerpc/powerpc.exp: Run new test. + +2011-09-29 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/13195 + * ld-elf/elf.exp: Add a C link testcase for PR ld/13195. + + * ld-elf/pr13195.c: New. + * ld-elf/pr13195.d: Likewise. + * ld-elf/pr13195.s: Likewise. + * ld-elf/pr13195.t: Likewise. + +2011-09-16 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elf/pr12975.d: Only run for *-*-linux* and *-*-gnu* + targets. + * ld-elf/pr13177.d: Likewise. + + * ld-elf/pr13177.s: Avoid relocations in text sections. + +2011-09-15 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/13177 + * ld-elf/pr13177.d: New. + * ld-elf/pr13177.s: Likewise. + +2011-09-15 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12975 + * ld-elf/pr12975.d: New. + * ld-elf/pr12975.s: Likewise. + * ld-elf/pr12975.t: Likewise. + +2011-09-12 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/13178 + * ld-ifunc/ifunc-13-i386.d: Updated. + * ld-ifunc/ifunc-13-x86-64.d: Likewise. + * ld-ifunc/ifunc-3a-x86.d: Likewise. + * ld-x86-64/pr13082-5a.d: Likewise. + + * ld-ifunc/ifunc-15-i386.d: New. + * ld-ifunc/ifunc-15-i386.s: Likewise. + * ld-ifunc/ifunc-15-x86-64.d: Likewise. + * ld-ifunc/ifunc-15-x86-64.s: Likewise. + +2011-09-01 Christophe Lyon <christophe.lyon@st.com> + + * ld-arm/arm-elf.exp: Add new rodata-merge-map test. + * ld-arm/rodata-merge-map.ld: New file. + * ld-arm/rodata-merge-map.sym: Likewise. + * ld-arm/rodata-merge-map1.s Likewise. + * ld-arm/rodata-merge-map2.s: Likewise. + * ld-arm/rodata-merge-map3.s: Likewise. + +2011-08-22 Alan Modra <amodra@gmail.com> + + * ld-powerpc/tocopt4a.s, * ld-powerpc/tocopt4b.s, + * ld-powerpc/tocopt4.d: New test. + * ld-powerpc/powerpc.exp: Run it. + +2011-08-12 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/13082 + * ld-x86-64/pr13082-1.s: New. + * ld-x86-64/pr13082-1a.d: Likewise. + * ld-x86-64/pr13082-1b.d: Likewise. + * ld-x86-64/pr13082-2.s: Likewise. + * ld-x86-64/pr13082-2a.d: Likewise. + * ld-x86-64/pr13082-2b.d: Likewise. + * ld-x86-64/pr13082-3.s: Likewise. + * ld-x86-64/pr13082-3a.d: Likewise. + * ld-x86-64/pr13082-3b.d: Likewise. + * ld-x86-64/pr13082-4.s: Likewise. + * ld-x86-64/pr13082-4a.d: Likewise. + * ld-x86-64/pr13082-4b.d: Likewise. + * ld-x86-64/pr13082-5.s: Likewise. + * ld-x86-64/pr13082-5a.d: Likewise. + * ld-x86-64/pr13082-5b.d: Likewise. + * ld-x86-64/pr13082-6.s: Likewise. + * ld-x86-64/pr13082-6a.d: Likewise. + * ld-x86-64/pr13082-6b.d: Likewise. + + * ld-x86-64/x86-64.exp: Run pr13082-[1-6][ab]. + +2011-08-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * ld-arm/arm-elf.exp (armelftests): Update for new command-line + options. + (armeabitests): Update for new command-line options, and add + new test cases. + * ld-arm/fix-arm1176.s: Add test case. + * ld-arm/fix-arm1176-off.d: Likewise. + * ld-arm/fix-arm1176-on.d: Likewise. + +2011-08-05 Alan Modra <amodra@gmail.com> + + * ld-powerpc/tlsexe.r: Update for stripped .branch_lt. + * ld-powerpc/tlsexetoc.r: Likewise. + * ld-powerpc/tlsso.r: Likewise. + * ld-powerpc/tlstocso.r: Likewise. + +2011-08-01 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/13048 + * ld-x86-64/ilp32-6.d: New. + * ld-x86-64/ilp32-6.s: Likewise. + * ld-x86-64/ilp32-7.d: Likewise. + * ld-x86-64/ilp32-7.s: Likewise. + * ld-x86-64/ilp32-8.d: Likewise. + * ld-x86-64/ilp32-8.s: Likewise. + * ld-x86-64/ilp32-9.d: Likewise. + * ld-x86-64/ilp32-9.s: Likewise. + + * ld-x86-64/x86-64.exp: Run ilp32-6, ilp32-7, ilp32-8 and ilp32-9. + +2011-07-27 Roland McGrath <mcgrathr@google.com> + + * ld-i386/vxworks1-lib.rd: Swap order of sections expected in output. + +2011-07-26 Alan Modra <amodra@gmail.com> + + * ld-powerpc/powerpc.exp: Use --no-ld-generated-unwind-info + with some tests. + * ld-powerpc/relbrlt.d: Likewise. + +2011-07-25 Hans-Peter Nilsson <hp@bitrange.com> + + PR ld/12815 + * ld-mmix/pr12815-1.d, ld-mmix/pr12815-1.s, ld-mmix/pr12815-1.ld, + ld-mmix/pr12815-2.d, ld-mmix/pr12815-2.s: New tests. + +2011-07-24 Catherine Moore <clm@codesourcery.com> + Chao-ying Fu <fu@mips.com> + Maciej W. Rozycki <macro@codesourcery.com> + + * lib/ld-lib.exp (run_dump_test): Support distinct assembler + flags for the same source named multiple times. + * ld-mips-elf/jalx-1.s: New test source. + * ld-mips-elf/jalx-1.d: New test output. + * ld-mips-elf/jalx-1.ld: New test linker script. + * ld-mips-elf/jalx-2-main.s: New test source. + * ld-mips-elf/jalx-2-ex.s: Likewise. + * ld-mips-elf/jalx-2-printf.s: Likewise. + * ld-mips-elf/jalx-2.dd: New test output. + * ld-mips-elf/jalx-2.ld: New test linker script. + * ld-mips-elf/mips16-and-micromips.d: New test. + * ld-mips-elf/mips-elf.exp: Run the new tests + +2011-07-22 H.J. Lu <hongjiu.lu@intel.com> + + * ld-x86-64/abs-k1om.d: New. + * ld-x86-64/protected2-k1om.d: Likewise. + * ld-x86-64/protected3-k1om.d: Likewise. + + * ld-x86-64/x86-64.exp: Run abs-k1om, protected2-k1om and + protected3-k1om. + +2011-07-14 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elf/binutils.exp (binutils_test): Also check ignored + "-z relro". + +2011-07-14 Alan Modra <amodra@gmail.com> + + * ld-scripts/section-flags.exp: Pass --local-store 0:0 for + spu. Rewrite using foreach. + +2011-07-14 Alan Modra <amodra@gmail.com> + + * ld-powerpc/tlsexe.d, * ld-powerpc/tlsexe.g. *ld-powerpc/tlsexe.r, + * ld-powerpc/tlsexetoc.d, * ld-powerpc/tlsexetoc.g, + * ld-powerpc/tlsexetoc.r, * ld-powerpc/tlsso.d, + * ld-powerpc/tlstocso.d: Update for plt stub change. + +2011-07-11 Catherine Moore <clm@cm00re.com> + + * ld-scripts/section-flags-1.s: New. + * ld-scripts/section-flags-1.t: New. + * ld-scripts/section-flags-2.s: New. + * ld-scripts/section-flags-2.t: New. + * ld-scripts/section-flags.exp: New. + +2011-07-11 Alan Modra <amodra@gmail.com> + + * ld-powerpc/tocopt2.s, * ld-powerpc/tocopt2.out, + * ld-powerpc/tocopt2.d: New test. + * ld-powerpc/tocopt3.s, * ld-powerpc/tocopt3.d: New test. + * ld-powerpc/powerpc.exp (ppc64elftests) Run them. + +2011-07-03 Samuel Thibault <samuel.thibault@gnu.org> + Thomas Schwinge <thomas@schwinge.name> + + PR binutils/12913 + * ld-ifunc/ifunc.exp: Update for changed output. + * ld-unique/unique.exp: Likewise. + +2011-06-27 Nick Clifton <nickc@redhat.com> + + * ld-elf/elf.exp: Exlcude all v850 targets from note-3 test. + +2011-06-27 Alan Modra <amodra@gmail.com> + + * ld-elf/elf.exp: Exclude more targets from note-3 test. + +2011-06-24 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12921 + * ld-i386/i386.exp: Run pr12921. + * ld-x86-64/x86-64.exp: Likewise. + + * ld-i386/pr12921.d: New. + * ld-i386/pr12921.s: Likewise. + * ld-x86-64/pr12921.d: Likewise. + * ld-x86-64/pr12921.s: Likewise. + +2011-06-22 Thomas Schwinge <thomas@schwinge.name> + + * ld-elf/elf.exp: Execute array_tests_pie tests on *-*-gnu*, too. + +2011-06-20 H.J. Lu <hongjiu.lu@intel.com> + + * ld-ifunc/ifunc-1-local-x86.d: Adjusted. + * ld-ifunc/ifunc-1-x86.d: Likewise. + * ld-ifunc/ifunc-3a-x86.d: Likewise. + +2011-06-20 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elf/eh1.d: Revert x32 change. + * ld-elf/eh2.d: Likewise. + * ld-elf/eh3.d: Likewise. + * ld-elf/eh4.d: Likewise. + +2011-06-20 Jakub Jelinek <jakub@redhat.com> + + PR ld/12570 + * ld-x86-64/x86-64.exp: Link some testcases with + --no-ld-generated-unwind-info. + * ld-x86-64/tlsbin.rd: Add --no-ld-generated-unwind-info to ld + comment. + * ld-x86-64/tlsdesc.dd: Likewise. + * ld-x86-64/tlspic.dd: Likewise. + * ld-x86-64/tlsdesc.sd: Likewise. + * ld-x86-64/tlspic.rd: Likewise. + * ld-x86-64/tlsbindesc.rd: Likewise. + * ld-x86-64/tlsbindesc.sd: Likewise. + * ld-x86-64/tlsbin.td: Likewise. + * ld-x86-64/tlsdesc.pd: Likewise. + * ld-x86-64/tlsdesc.td: Likewise. + * ld-x86-64/tlsbindesc.dd: Likewise. + * ld-x86-64/tlsbin.dd: Likewise. + * ld-x86-64/tlsgdesc.rd: Likewise. + * ld-x86-64/tlspic.sd: Likewise. + * ld-x86-64/tlsbindesc.td: Likewise. + * ld-x86-64/tlspic.td: Likewise. + * ld-x86-64/tlsbin.sd: Likewise. + * ld-x86-64/ilp32-4.d: Likewise. + * ld-x86-64/tlsgdesc.dd: Add --no-ld-generated-unwind-info to ld + comment. Adjust. + * ld-x86-64/tlsdesc.rd: Likewise. + * ld-x86-64/tlsgd6.dd: Adjust. + * ld-x86-64/tlsgd5.dd: Likewise. + * ld-i386/i386.exp: Link some testcases with + --no-ld-generated-unwind-info. + * ld-i386/tlsbin.rd: Add --no-ld-generated-unwind-info to ld + comment.. + * ld-i386/tlsdesc.dd: Likewise. + * ld-i386/tlspic.dd: Likewise. + * ld-i386/tlsdesc.sd: Likewise. + * ld-i386/tlsgdesc.dd: Likewise. + * ld-i386/tlsnopic.sd: Likewise. + * ld-i386/tlspic.rd: Likewise. + * ld-i386/tlsdesc.rd: Likewise. + * ld-i386/tlsbindesc.rd: Likewise. + * ld-i386/tlsbindesc.sd: Likewise. + * ld-i386/tlsbin.td: Likewise. + * ld-i386/tlsdesc.td: Likewise. + * ld-i386/tlsnopic.dd: Likewise. + * ld-i386/tlsbindesc.dd: Likewise. + * ld-i386/tlsbin.dd: Likewise. + * ld-i386/tlsgdesc.rd: Likewise. + * ld-i386/tlspic.sd: Likewise. + * ld-i386/tlsnopic.rd: Likewise. + * ld-i386/tlsbindesc.td: Likewise. + * ld-i386/tlspic.td: Likewise. + * ld-i386/tlsbin.sd: Likewise. + +2011-06-19 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elf/eh1.d: Skip x32. + * ld-elf/eh2.d: Likewise. + * ld-elf/eh3.d: Likewise. + * ld-elf/eh4.d: Likewise. + + * ld-elfvsb/elfvsb.exp: Only xfail 64bit x86_64-*-linux*. + * ld-shared/shared.exp: Likewise. + + * ld-ifunc/ifunc-1-local-x86.d: Support x32. + * ld-ifunc/ifunc-1-x86.d: Likewise. + * ld-ifunc/ifunc-3a-x86.d: Likewise. + * ld-x86-64/pcrel16.d: Likewise. + + * ld-x86-64/x86-64.exp (x86_64tests): Add missing -melf_x86_64. + +2011-06-16 Alan Modra <amodra@gmail.com> + + * ld-elfvers/vers2.ver: Don't assume any particular index for + version reference. + * ld-elfvers/vers3.ver: Likewise. + * ld-elfvers/vers19.ver: Likewise. + * ld-elfvers/vers22.ver: Likewise. + * ld-elfvers/vers27d4.ver: Likewise. + * ld-elfvers/vers28c.ver: Likewise. + +2011-06-14 Alan Modra <amodra@gmail.com> + + * ld-elf/elf.exp: Don't attempt to build symbol3.a for hppa64-hpux. + * ld-elf/warn3.d: Correct target selection and comment. + + * ld-elf/pr12851.d: Correct target selection and comment. + +2011-06-13 Walter Lee <walt@tilera.com> + + * ld-elf/eh5.d: Don't run on tile*. + * ld-srec/srec.exp: xfail on tile*. + * ld-tilegx/external.s: New file. + * ld-tilegx/reloc.d: New file. + * ld-tilegx/reloc.s: New file. + * ld-tilegx/tilegx.exp: New file. + * ld-tilepro/external.s: New file. + * ld-tilepro/reloc.d: New file. + * ld-tilepro/reloc.s: New file. + * ld-tilepro/tilepro.exp: New file. + +2011-06-10 Nick Clifton <nickc@redhat.com> + + * ld-elf/elf.exp: Add test for linking a shared library with a + broken linker script that marks dynamic sections as being notes. + * ld-elf/note-3.s: New test source file. + * ld-elf/note-3.t: New test linker script. + * ld-elf/note-3.l: Expected output from the linker. + * lib/ld-lib.exp (run_ld_link_tests): Improve description. + +2011-06-08 H.J. Lu <hongjiu.lu@intel.com> + + * ld-x86-64/x86-64.exp: Build x32 DSO from x86-64 object file + only for native. + +2011-06-08 H.J. Lu <hongjiu.lu@intel.com> + + * ld-x86-64/simple.c: New. + * ld-x86-64/x86-64-x32.rd: Likewise. + + * ld-x86-64/x86-64.exp: Check building x32 DSO from x86-64 + object file. + +2011-06-08 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12851 + * ld-elf/pr12851.d: New. + * ld-elf/pr12851.s: Likewise. + +2011-06-07 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elf/elf.exp: Build symbol3.a and symbol3w.a. + + * ld-elf/symbol3.s: New. + * ld-elf/symbol3w.s: Likewise. + * ld-elf/warn3.d: Likewise. + +2011-06-02 Nathan Sidwell <nathan@codesourcery.com> + + Adjust tests for zero offset formatting. + * ld-arm/cortex-a8-fix-bcc-plt.d: Adjust. + * ld-arm/farcall-arm-arm-pic-veneer.d: Adjust. + * ld-arm/farcall-arm-thumb.d: Adjust. + * ld-arm/farcall-group-size2.d: Adjust. + * ld-arm/farcall-group.d: Adjust. + * ld-arm/farcall-mix.d: Adjust. + * ld-arm/farcall-mix2.d: Adjust. + * ld-arm/farcall-mixed-lib-v4t.d: Adjust. + * ld-arm/farcall-mixed-lib.d: Adjust. + * ld-arm/farcall-thumb-arm-blx-pic-veneer.d: Adjust. + * ld-arm/farcall-thumb-arm-pic-veneer.d: Adjust. + * ld-arm/farcall-thumb-thumb.d: Adjust. + * ld-arm/ifunc-10.dd: Adjust. + * ld-arm/ifunc-3.dd: Adjust. + * ld-arm/ifunc-4.dd: Adjust. + * ld-arm/ifunc-5.dd: Adjust. + * ld-arm/ifunc-6.dd: Adjust. + * ld-arm/ifunc-7.dd: Adjust. + * ld-arm/ifunc-8.dd: Adjust. + * ld-arm/jump-reloc-veneers-long.d: Adjust. + * ld-arm/tls-longplt-lib.d: Adjust. + * ld-arm/tls-thumb1.d: Adjust. + +2011-05-31 Paul Brook <paul@codesourcery.com> + + * ld-arm/cortex-a8-far.d: Adjust expected output. + * ld-arm/arm-call1.s: Give function symbol correct type. + * ld-arm/arm-call2.s: Ditto. + * ld-arm/farcall-group4.s: Ditto. + * ld-arm/arm-elf.exp (cortex-a8-far): Define far symbols with correct + type via assembly file. + * ld-arm/cortex-a8-far-3.s: New file. + * ld-arm/abs-call-1.s: Add Thumb tests + +2011-05-31 Paul Brook <paul@codesourcery.com> + Nathan Sidwell <nathan@codesourcery.com> + + * ld-arm/abs-call-1.d: New. + * ld-arm/abs-call-1.s: New. + * ld-arm/arm-elf.exp: Add it. + +2011-05-31 Paul Brook <paul@codesourcery.com> + + * ld-arm/tls-longplt.d: Update expected output. + * ld-arm/tls-thumb1.d: Ditto. + +2011-05-26 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12809 + * ld-x86-64/tlsbin.s: Add a test for LE with large model. + + * ld-x86-64/tlsbin.dd: Updated. + * ld-x86-64/tlsbin.rd: Likewise. + * ld-x86-64/tlsbin.sd: Likewise. + * ld-x86-64/tlsbin.td: Likewise. + * ld-x86-64/tlsbindesc.dd: Likewise. + * ld-x86-64/tlsbindesc.rd: Likewise. + * ld-x86-64/tlsbindesc.sd: Likewise. + * ld-x86-64/tlsbindesc.td: Likewise. + +2011-05-24 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/tls-e-tpoffcomm1.d: Adjust for second PR12763 change, + setting TLS file offset. + +2011-05-23 Nick Clifton <nickc@redhat.com> + + * ld-elf/shared.exp: Revert previous delta. Do not build + libraries in a non-native environment. + +2011-05-23 Alan Modra <amodra@gmail.com> + + PR 12763 + * ld-elf/binutils.exp: Don't run tdata3 for hppa64. + +2011-05-21 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/tls-e-tpoffcomm1.d: Adjust for PR12763 change removing + empty program header. + +2011-05-21 Alan Modra <amodra@gmail.com> + + PR 12763 + * ld-elf/tdata3.s: New test. + * ld-elf/tbss3.s: New test. + * ld-elf/binutils.exp: Consolidate tbss and tdata tests. + +2011-05-20 Bernd Schmidt <bernds@codesourcery.com> + + * ld-tic6x/pcr-reloc.d: New test. + * ld-tic6x/pcr-reloc.s: New test. + +2011-05-18 Nick Clifton <nickc@redhat.com> + + PR ld/12761 + * lib/ld-lib.exp (run_cc_link_tests): Add an optional 8th + parameter - an expected warning message from the linker. + * ld-elf/shared.exp (build_tests): Expect a warning message when + building the libbarw.so library. + + * ld-elf/shared.exp: Run library building tests even when not + building a native toolchain. + +2011-05-16 H.J. Lu <hongjiu.lu@intel.com> + + * ld-scripts/phdrs.exp: Replace --private with + --private-headers for objdump. + * ld-scripts/phdrs2.exp: Likewise. + +2011-05-15 Richard Sandiford <rdsandiford@googlemail.com> + + * lib/ld-lib.exp (run_ld_link_tests): Simplify pass/fail logic. + Fail if the link command fails and if no test rules are defined. + * ld-mips-elf/reloc-6a.s, ld-mips-elf/reloc-6b.s: New tests. + * ld-mips-elf/mips-elf.exp: Run them. + +2011-05-13 Bernd Schmidt <bernds@codesourcery.com> + + * ld-tic6x/dsbt.ld (OUTPUT_FORMAT): Add. + * ld-tic6x/tic6x.exp: Add OSABI tests. + +2011-05-13 Alan Modra <amodra@gmail.com> + + * ld-elf/flags1.d: Don't xfail tic6x. + * ld-scripts/weak.exp: Correct comments. Don't xfail sh-pe. Remove + redundant xfail. + * ld-selective/sel-dump.exp: Don't xfail alpha. + * ld-selective/selective.exp: Run for alpha. + * ld-undefined/weak-undef.exp: Don't xfail hppa64. + +2011-05-12 Bernd Schmidt <bernds@codesourcery.com> + + * config/default.exp (ld_assemble): Pass flags parameter to + default_ld_assemble. + (ld_assemble_flags): New function. + * ld-elf/frame.exp: Pass -mpic and -mpid flags to the assembler on + tic6x. + * ld-elf/exclude.exp: Likewise. + * lib/ld-lib.exp (default_ld_assemble): Take extra argument in_flags + and pass it to the assembler. + +2011-05-11 Richard Sandiford <rdsandiford@googlemail.com> + + * ld-mips-elf/mips-elf.exp: Add missing $has_newabi tests. + +2011-05-09 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elf/elf.exp (array_tests): Remove "pr12730". + (array_tests_pie): Remove "PIE pr12730". + (array_tests_static): Remove "static pr12730". + + * ld-elf/pr12730.cc: Removed. + * ld-elf/pr12730.out: Likewise. + +2011-05-09 Paul Brook <paul@codesourcery.com> + + * ld-tic6x/discard-unwind.ld: New. + * ld-tic6x/unwind.ld: New. + * ld-tic6x/unwind-1.d: New test. + * ld-tic6x/unwind-1.s: New test. + * ld-tic6x/unwind-2.d: New test. + * ld-tic6x/unwind-2.s: New test. + * ld-tic6x/unwind-3.d: New test. + * ld-tic6x/unwind-3.s: New test. + * ld-tic6x/unwind-4.d: New test. + * ld-tic6x/unwind-4.s: New test. + * ld-tic6x/unwind-5.d: New test. + * ld-tic6x/unwind-5.s: New test. + * ld-tic6x/unwind-6.d: New test. + +2011-05-07 Dave Korn <dave.korn.cygwin@gmail.com> + + PR ld/12365 + * ld-plugin/plugin-7.d: Allow underscore in error message. + * ld-plugin/plugin-8.d: Likewise. + +2011-05-07 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12730 + * ld-elf/elf.exp (array_tests): Add "pr12730". + (array_tests_pie): New. + (array_tests_static): Add -static for "static init array mixed". + Add "static pr12730". Run array_tests_pie for Linux. + + * ld-elf/init-mixed.c (ctor1007): Renamed to ... + (ctor1007a): This. + (ctor1007b): New. + (ctors1007): Remove ctor1007. Add ctor1007b and ctor1007a. + (dtor1007): Renamed to ... + (dtor1007a): This. + (dtor1007b): New. + (dtors1007): Remove dtor1007. Add dtor1007b and dtor1007a. + (ctor65535): Renamed to ... + (ctor65535a): This. + (ctor65535b): New. + (ctors65535): Remove ctor65535. Add ctor65535b and ctor65535a. + (dtor65535): Renamed to ... + (dtor65535a): This. + (dtor65535b): New. + (dtors65535): Remove dtor65535. Add dtor65535b and dtor65535a. + + * ld-elf/pr12730.cc: New. + * ld-elf/pr12730.out: Likewise. + +2011-05-06 Richard Sandiford <richard.sandiford@linaro.org> + + * ld-arm/cortex-a8-fix-b-plt.s, ld-arm/cortex-a8-fix-b-plt.d, + ld-arm/cortex-a8-fix-bcc-plt.s, ld-arm/cortex-a8-fix-bcc-plt.d, + ld-arm/cortex-a8-fix-bl-plt.s, ld-arm/cortex-a8-fix-bl-plt.d, + ld-arm/cortex-a8-fix-blx-plt.s, ld-arm/cortex-a8-fix-blx-plt.d, + ld-arm/cortex-a8-fix-plt.ld: New tests. + * ld-arm/arm-elf.exp: Run them. + +2011-05-05 Bernd Schmidt <bernds@codesourcery.com> + + * ld-tic6x/shared-nopic.d: New test. + * ld-tic6x/shared-nopid.d: New test. + * ld-tic6x/attr-pid-21.d: Don't expect a warning; check readelf + output instead. + * ld-tic6x/attr-pid-12.d: Likewise. + * ld-tic6x/attr-pic-01.d: Likewise. + * ld-tic6x/attr-pic-10.d: Likewise. + * ld-tic6x/attr-pid-01.d: Likewise. + * ld-tic6x/attr-pid-10.d: Likewise. + * ld-tic6x/attr-pid-02.d: Likewise. + * ld-tic6x/attr-pid-20.d: Likewise. + * ld-tic6x/got-reloc-inrange.d: Pass -mpic and -mpid options to gas. + +2011-05-03 Paul Brook <paul@codesourcery.com> + + * ld-tic6x/ehtype-reloc-1-rel.d: New test. + * ld-tic6x/ehtype-reloc-1.d: New test. + * ld-tic6x/ehtype-reloc-1.s: New test. + +2011-05-01 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12718 + * ld-i386/i386.exp: Run pr12718. + * ld-x86-64/x86-64.exp: Likewise. + + * ld-i386/pr12718.d: New. + * ld-i386/pr12718.s: Likewise. + * ld-x86-64/pr12718.d: Likewise. + * ld-x86-64/pr12718.s: Likewise. + +2011-04-26 Kai Tietz <ktietz@redhat.com> + + * ld-pe/pe.exp: Add cfi/cfi32 tests. + * ld-pe/cfi.d: New. + * ld-pe/cfi32.d: New. + * ld-pe/cfia.s: New. + * ld-pe/cfib.s: New. + +2011-04-21 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12694 + * ld-ifunc/ifunc-14-i386.d: New. + * ld-ifunc/ifunc-14-x86-64.d: Likewise. + * ld-ifunc/ifunc-14a.s: Likewise. + * ld-ifunc/ifunc-14b.s: Likewise. + +2011-04-19 H.J. Lu <hongjiu.lu@intel.com> + + * ld-plugin/plugin-ignore.d: Removed. + +2011-04-18 H.J. Lu <hongjiu.lu@intel.com> + + * ld-plugin/plugin-7.d: Update expected LTO linker errors for + GCC 4.6. + * ld-plugin/plugin-8.d: Likewise. + +2011-04-18 Alan Modra <amodra@gmail.com> + + * ld-plugin/plugin-7.d: Adjust for plugin changes. + * ld-plugin/plugin-8.d: Likewise. + * ld-plugin/plugin.exp: Pass --verbose=2 for visibility test, and + compare ld output to.. + * ld-plugin/plugin-12.d: New. + +2011-04-15 Maxim Kuvyrkov <maxim@codesourcery.com> + + * ld-m68k/tls-gd-ie-1.d: Stabilize test. + * ld-m68k/tls-gd-3.[sd]: New test. + +2011-04-12 Richard Henderson <rth@redhat.com> + + * ld-alpha/emptygot.s, ld-alpha/emptygot.nm: New test. + * ld-alpha/alpha.exp: Run it. + +2011-04-11 Mark Wielaard <mjw@redhat.com> + + PR 10549 + * ld-unique: New directory. + * ld-unique/unique.exp: New file: Run the UNIQUE tests. + * ld-unique/unique.s: New test file. + * ld-unique/unique_empty.s: Likewise. + * ld-unique/unique_shared.s: Likewise. + +2011-04-11 Alan Modra <amodra@gmail.com> + + * ld-elf/eh-frame-hdr.d: xfail avr. + +2011-04-08 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12654 + * ld-i386/i386.exp: Run tlspie2. + + * ld-i386/tlspie2.d: New. + * ld-i386/tlspie2.s: Likewise. + +2011-04-06 Joseph Myers <joseph@codesourcery.com> + + * ld-selective/selective.exp (xscale-*-*): Don't handle. + * ld-srec/srec.exp (strongarm*-*-*, xscale*-*-*, thumb-*-*): Don't + handle. + (*arm*-*-*): Change to arm*-*-*. + (strongarm*-*-coff, xscale*-*-coff, thumb-*-coff*, thumb-*-pe*, + thumb-*-elf*, strongarm*-*-*, thumb-*-*): Remove xfails. + * ld-undefined/undefined.exp (thumb*-*-pe*, thumb*-*-pe*): Remove + commented-out xfails. + (thumb-elf): Remove reference in comment. + * lib/ld-lib.exp (strongarm*-*-*, xscale*-*-*, thumb-*-*): Don't + handle. + +2011-04-04 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12627 + * ld-i386/i386.exp: Run pr12627. + + * ld-i386/pr12627.d: New. + * ld-i386/pr12627.s: Likewise. + * ld-i386/pr12627.t: Likewise. + +2011-03-31 Bernd Schmidt <bernds@codesourcery.com> + + * ld-scripts/crossref.exp: Add CFLAGS for tic6x*-*-*. + * ld-elf/sec-to-seg.exp: Remove tic6x from list of targets defining + pagesize to 1. + * ld-tic6x/tic6x.exp: Add support for DSBT shared library/executable + linking tests. + * ld-tic6x/dsbt.ld: New linker script. + * ld-tic6x/dsbt-be.ld: New linker script. + * ld-tic6x/dsbt-overflow.ld: New linker script. + * ld-tic6x/dsbt-inrange.ld: New linker script. + * ld-tic6x/shlib-1.s: New test. + * ld-tic6x/shlib-2.s: New test. + * ld-tic6x/shlib-app-1r.s: New test. + * ld-tic6x/shlib-app-1.s: New test. + * ld-tic6x/shlib-1.sd: New test. + * ld-tic6x/shlib-1.dd: New test. + * ld-tic6x/shlib-app-1.rd: New test. + * ld-tic6x/shlib-app-1rb.rd: New test. + * ld-tic6x/shlib-app-1.sd: New test. + * ld-tic6x/static-app-1rb.od: New test. + * ld-tic6x/shlib-app-1.dd: New test. + * ld-tic6x/shlib-app-1rb.sd: New test. + * ld-tic6x/static-app-1b.od: New test. + * ld-tic6x/static-app-1r.od: New test. + * ld-tic6x/shlib-1rb.rd: New test. + * ld-tic6x/shlib-app-1rb.dd: New test. + * ld-tic6x/shlib-1rb.sd: New test. + * ld-tic6x/shlib-1rb.dd: New test. + * ld-tic6x/shlib-app-1b.od: New test. + * ld-tic6x/tic6x.exp: New test. + * ld-tic6x/static-app-1rb.rd: New test. + * ld-tic6x/shlib-app-1r.od: New test. + * ld-tic6x/static-app-1.od: New test. + * ld-tic6x/static-app-1b.rd: New test. + * ld-tic6x/static-app-1r.rd: New test. + * ld-tic6x/static-app-1rb.sd: New test. + * ld-tic6x/static-app-1b.sd: New test. + * ld-tic6x/static-app-1rb.dd: New test. + * ld-tic6x/static-app-1r.sd: New test. + * ld-tic6x/static-app-1b.dd: New test. + * ld-tic6x/shlib-1b.rd: New test. + * ld-tic6x/static-app-1r.dd: New test. + * ld-tic6x/shlib-app-1b.rd: New test. + * ld-tic6x/shlib-1r.rd: New test. + * ld-tic6x/shlib-app-1r.rd: New test. + * ld-tic6x/shlib-1b.sd: New test. + * ld-tic6x/static-app-1.rd: New test. + * ld-tic6x/shlib-app-1b.sd: New test. + * ld-tic6x/shlib-1r.sd: New test. + * ld-tic6x/shlib-1b.dd: New test. + * ld-tic6x/shlib-app-1r.sd: New test. + * ld-tic6x/shlib-app-1b.dd: New test. + * ld-tic6x/shlib-1r.dd: New test. + * ld-tic6x/static-app-1.sd: New test. + * ld-tic6x/shlib-app-1r.dd: New test. + * ld-tic6x/static-app-1.dd: New test. + * ld-tic6x/shlib-noindex.rd: New test. + * ld-tic6x/shlib-noindex.dd: New test. + * ld-tic6x/shlib-noindex.sd: New test. + * ld-tic6x/got-reloc-local-1.s: New test. + * ld-tic6x/got-reloc-local-2.s: New test. + * ld-tic6x/got-reloc-local-r.d: New test. + * ld-tic6x/got-reloc-global.s: New test. + * ld-tic6x/got-reloc-global-addend-1.d: New test. + * ld-tic6x/got-reloc-global-addend-1.s: New test. + * ld-tic6x/got-reloc-global-addend-2.d: New test. + * ld-tic6x/got-reloc-inrange.d: New test. + * ld-tic6x/got-reloc-overflow.d: New test. + * ld-tic6x/got-reloc-global-addend-2.s: New test. + * ld-tic6x/dsbt-index-error.d: New test. + * ld-tic6x/dsbt-index.d: New test. + * ld-tic6x/dsbt-index.s: New test. + * ld-tic6x/shlib-app-1.od: New test. + * ld-tic6x/shlib-app-1rb.od: New test. + * ld-tic6x/shlib-1.rd: New test. + * ld-tic6x/weak.d: New test. + * ld-tic6x/weak-be.d: New test. + * ld-tic6x/weak.s: New test. + * ld-tic6x/weak-data.d: New test. + * ld-tic6x/common.d: New test. + * ld-tic6x/common.ld: New test. + * ld-tic6x/common.s: New test. + +2011-03-30 Richard Henderson <rth@redhat.com> + + * ld-elf/elf.exp: Force 32-bit start address for alpha. + * ld-elf/group8a.d: Don't disable for alpha. + * ld-elf/group8b.d: Likewise. + * ld-gc/start.s: Use .dc.a instead of .long. + +2011-03-24 Alan Modra <amodra@gmail.com> + + * ld-powerpc/tlsmark.s: Delete non-optimizable section. + * ld-powerpc/tlsmark32.s: Likewise. + * ld-powerpc/tlsmark.d: Adjust to suit. + * ld-powerpc/tlsmark32.d: Likewise. + * ld-powerpc/tlsopt1.d, * ld-powerpc/tlsopt1.s: New. + * ld-powerpc/tlsopt2.d, * ld-powerpc/tlsopt2.s: New. + * ld-powerpc/tlsopt3.d, * ld-powerpc/tlsopt3.s: New. + * ld-powerpc/tlsopt4.d, * ld-powerpc/tlsopt4.s: New. + * ld-powerpc/tlsopt1_32.d, * ld-powerpc/tlsopt1_32.s: New. + * ld-powerpc/tlsopt2_32.d, * ld-powerpc/tlsopt2_32.s: New. + * ld-powerpc/tlsopt3_32.d, * ld-powerpc/tlsopt3_32.s: New. + * ld-powerpc/tlsopt4_32.d, * ld-powerpc/tlsopt4_32.s: New. + * ld-powerpc/powerpc.exp: Run new tests. + +2011-03-15 Mike Frysinger <vapier@gentoo.org> + + * ld-elfvers/vers.exp (vers19): Add -Wl,-rpath-link,. to linker flags. + +2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> + + * ld-arm/ifunc-1.s, ld-arm/ifunc-1.dd, ld-arm/ifunc-1.gd, + ld-arm/ifunc-1.rd, ld-arm/ifunc-2.s, ld-arm/ifunc-2.dd, + ld-arm/ifunc-2.gd, ld-arm/ifunc-2.rd, ld-arm/ifunc-3.s, + ld-arm/ifunc-3.dd, ld-arm/ifunc-3.gd, ld-arm/ifunc-3.rd, + ld-arm/ifunc-4.s, ld-arm/ifunc-4.dd, ld-arm/ifunc-4.gd, + ld-arm/ifunc-4.rd, ld-arm/ifunc-5.s, ld-arm/ifunc-5.dd, + ld-arm/ifunc-5.gd, ld-arm/ifunc-5.rd, ld-arm/ifunc-6.s, + ld-arm/ifunc-6.dd, ld-arm/ifunc-6.gd, ld-arm/ifunc-6.rd, + ld-arm/ifunc-7.s, ld-arm/ifunc-7.dd, ld-arm/ifunc-7.gd, + ld-arm/ifunc-7.rd, ld-arm/ifunc-8.s, ld-arm/ifunc-8.dd, + ld-arm/ifunc-8.gd, ld-arm/ifunc-8.rd, ld-arm/ifunc-9.s, + ld-arm/ifunc-9.dd, ld-arm/ifunc-9.gd, ld-arm/ifunc-9.rd, + ld-arm/ifunc-10.s, ld-arm/ifunc-10.dd, ld-arm/ifunc-10.gd, + ld-arm/ifunc-10.rd, ld-arm/ifunc-11.s, ld-arm/ifunc-11.dd, + ld-arm/ifunc-11.gd, ld-arm/ifunc-11.rd, ld-arm/ifunc-12.s, + ld-arm/ifunc-12.dd, ld-arm/ifunc-12.gd, ld-arm/ifunc-12.rd, + ld-arm/ifunc-13.s, ld-arm/ifunc-13.dd, ld-arm/ifunc-13.gd, + ld-arm/ifunc-13.rd, ld-arm/ifunc-14.s, ld-arm/ifunc-14.dd, + ld-arm/ifunc-14.gd, ld-arm/ifunc-14.rd, ld-arm/ifunc-15.s, + ld-arm/ifunc-15.dd, ld-arm/ifunc-15.gd, ld-arm/ifunc-15.rd, + ld-arm/ifunc-16.s, ld-arm/ifunc-16.dd, ld-arm/ifunc-16.gd, + ld-arm/ifunc-16.rd, ld-arm/ifunc-dynamic.ld, + ld-arm/ifunc-static.ld: New tests. + * ld-arm/farcall-group.d, ld-arm/farcall-group-size2.d, + ld-arm/farcall-mixed-lib-v4t.d, ld-arm/farcall-mixed-lib.d: Update + for new stub hashes. + * ld-arm/arm-elf.exp: Run them. + +2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> + + * ld-arm/arm-lib-plt-2a.s, ld-arm/arm-lib-plt-2b.s, + ld-arm/arm-lib-plt-2.dd, ld-arm/arm-lib-plt-2.rd: New tests. + * ld-arm/arm-elf.exp: Run them. + +2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> + + * ld-arm/exec-got-1a.s, ld-arm/exec-got-1b.s, ld-arm/exec-got-1.d, + ld-arm/unresolved-1.s, ld-arm/unresolved-1.d, + ld-arm/unresolved-1-dyn.d: New tests. + * ld-arm/arm-elf.exp: Run them. + +2011-03-12 H.J. Lu <hongjiu.lu@intel.com> + + * ld-x86-64/tlsgd4.dd: New. + * ld-x86-64/tlsgd4.s: Likewise. + * ld-x86-64/tlsgd5.dd: Likewise. + * ld-x86-64/tlsgd5a.s: Likewise. + * ld-x86-64/tlsgd5b.s: Likewise. + * ld-x86-64/tlsgd6.dd: Likewise. + * ld-x86-64/tlsgd6a.s: Likewise. + * ld-x86-64/tlsgd6b.s: Likewise. + * ld-x86-64/tlsld2.dd: Likewise. + * ld-x86-64/tlsld2.s: Likewise. + + * ld-x86-64/x86-64.exp (x86_64tests): Add tlsgd4, libtlsgd5.so, + tlsgd5, libtlsgd6.so, tlsgd6 and tlsld2. + +2011-03-03 H.J. Lu <hongjiu.lu@intel.com> + + * ld-x86-64/tlsie4.dd: New. + * ld-x86-64/tlsie4.s: Likewise. + + * ld-x86-64/x86-64.exp (x86_64tests): Add tlsie4. + +2011-02-25 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12516 + * ld-elf/dynamic1.d: New. + * ld-elf/dynamic1.ld: Likewise. + * ld-elf/dynamic1.s: Likewise. + +2011-02-25 Alan Modra <amodra@gmail.com> + + * ld-mn10300/i135409-3.s: Correct .size label reference. + * ld-sh/sh64/stolib.s: Likewise. + +2011-02-23 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elf/new.cc: Don't include <exception_defines.h>. + +2011-02-10 Alan Modra <amodra@gmail.com> + + * ld-scripts/defined.exp: Don't run defined5 for AOUT. + * ld-scripts/defined5.s: Use .text for "defined" section. + * ld-scripts/defined5.t: Adjust. + + * ld-gc/start.d: Exclude frv-*-linux*. + * ld-misc/defsym1.d: Likewise. + +2011-02-09 Alan Modra <amodra@gmail.com> + + * ld-elfvsb/elfvsb.exp: Don't run any non-PIC tests on powerpc*-linux. + * ld-gc/gc.exp: Ensure powerpc64 test continues to fail. + * ld-srec/srec.exp: Don't edit toc on powerpc64. + +2011-01-23 Alan Modra <amodra@gmail.com> + + * ld-scripts/sane1.d, * ld-scripts/sane1.t: New test. + * ld-scripts/expr.exp: Run it. + +2011-01-18 H.J. Lu <hongjiu.lu@intel.com> + + * ld-x86-64/ilp32-4.d: Updated. + +2011-01-17 Richard Sandiford <richard.sandiford@linaro.org> + + * ld-arm/arm-rel32.s, ld-arm/arm-rel32.d: New testcase. + * ld-arm/arm-elf.exp: Run it. + +2011-01-17 Richard Sandiford <richard.sandiford@linaro.org> + + * ld-arm/gc-thumb-lib.s, ld-arm/gc-thumb.s, + ld-arm/gc-thumb.d: New test. + * ld-arm/arm-elf.exp: Run it. + +2011-01-14 H.J. Lu <hongjiu.lu@intel.com> + + * ld-x86-64/ia32-2.d: Replace --n32 with --x32. + * ld-x86-64/ilp32-1.d: Likewise. + * ld-x86-64/ilp32-2.d: Likewise. + * ld-x86-64/ilp32-3.d: Likewise. + * ld-x86-64/ilp32-4.d: Likewise. + * ld-x86-64/ilp32-5.d: Likewise. + * ld-x86-64/lp64-3.d: Likewise. + * ld-x86-64/x86-64.exp: Likewise. + +2011-01-14 H.J. Lu <hongjiu.lu@intel.com> + + * ld-x86-64/ilp32-5.d: New. + * ld-x86-64/ilp32-5.s: Likewise. + + * ld-x86-64/x86-64.exp: Run ilp32-5. + +2011-01-13 H.J. Lu <hongjiu.lu@intel.com> + + * ld-x86-64/ilp32-4.d: New. + + * ld-x86-64/x86-64.exp: Run ilp32-4. + +2011-01-13 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12356 + * ld-scripts/defined.exp: Run defined5. + + * ld-scripts/defined5.d: New. + * ld-scripts/defined5.s: Likewise. + * ld-scripts/defined5.t: Likewise. + +2011-01-13 H.J. Lu <hongjiu.lu@intel.com> + + * ld-scripts/defined4.d: Xfail rs6000-*-aix*. Skip mips*-*-* + and mmix-*-*. + + * ld-scripts/expr2.d: Xfail rs6000-*-aix* and arm-*-*aout. + +2011-01-10 H.J. Lu <hongjiu.lu@intel.com> + + * ld-scripts/assert.exp: Run assert2. + + * ld-scripts/assert2.d: New. + * ld-scripts/assert2.t: Likewise. + +2011-01-10 Nathan Sidwell <nathan@codesourcery.com> + Glauber de Oliveira Costa <glommer@gmail.com> + + * ld-arm/arm-elf.exp: Added tests for new TLS handling + relocations. + * ld-arm/tls-descrelax-be32.d: New. + * ld-arm/tls-descrelax-be32.s: New. + * ld-arm/tls-descrelax-be8.d: New. + * ld-arm/tls-descrelax-be8.s: New. + * ld-arm/tls-descrelax-v7.d: New. + * ld-arm/tls-descrelax-v7.s: New. + * ld-arm/tls-descrelax.d: New. + * ld-arm/tls-descrelax.s: New. + * ld-arm/tls-descseq.d: New. + * ld-arm/tls-descseq.r: New. + * ld-arm/tls-descseq.s: New. + * ld-arm/tls-gdesc-got.d: New. + * ld-arm/tls-gdesc-got.s: New. + * ld-arm/tls-gdesc-nlazy.g: New. + * ld-arm/tls-gdesc-nlazy.s: New. + * ld-arm/tls-gdesc.d: New. + * ld-arm/tls-gdesc.r: New. + * ld-arm/tls-gdesc.s: New. + * ld-arm/tls-gdierelax.d: New. + * ld-arm/tls-gdierelax.s: New. + * ld-arm/tls-gdierelax2.d: New. + * ld-arm/tls-gdierelax2.s: New. + * ld-arm/tls-gdlerelax.d: New. + * ld-arm/tls-gdlerelax.s: New. + * ld-arm/tls-lib-loc.d: New. + * ld-arm/tls-lib-loc.r: New. + * ld-arm/tls-lib-loc.s: New. + * ld-arm/tls-longplt-lib.d: New. + * ld-arm/tls-longplt-lib.s: New. + * ld-arm/tls-longplt.d: New. + * ld-arm/tls-longplt.s: New. + * ld-arm/tls-mixed.r: New. + * ld-arm/tls-mixed.s: New. + * ld-arm/tls-thumb1.d: New. + * ld-arm/tls-thumb1.s: New. + * ld-arm/arm-elf.exp: New. + +2011-01-08 Nick Clifton <nickc@redhat.com> + + * ld-misc/defsym1.d: Add a -e linker command line option. + * ld-misc/dummy.s: Remove text. + +2011-01-08 Nick Clifton <nickc@redhat.com> + + PR ld/12358 + PR ld/12359 + * ld-elf/textaddr2.d: Fix regexp to work with hppa64 targets. + * ld-elf/textaddr6.d: Fix regexp to work with hppa64 targets. + +2011-01-06 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12366 + PR ld/12371 + * ld-ifunc/ifunc-10-i386.s: Add more tests. + * ld-ifunc/ifunc-10-x86-64.s: Likewise. + * ld-ifunc/ifunc-11-i386.s: Likewise. + * ld-ifunc/ifunc-11-x86-64.s: Likewise. + + * ld-ifunc/ifunc-12-i386.d: New. + * ld-ifunc/ifunc-12-i386.s: Likewise. + * ld-ifunc/ifunc-12-x86-64.d: Likewise. + * ld-ifunc/ifunc-12-x86-64.s: Likewise. + * ld-ifunc/ifunc-13-i386.d: Likewise. + * ld-ifunc/ifunc-13-x86-64.d: Likewise. + * ld-ifunc/ifunc-13a-i386.s: Likewise. + * ld-ifunc/ifunc-13a-x86-64.s: Likewise. + * ld-ifunc/ifunc-13b-i386.s: Likewise. + * ld-ifunc/ifunc-13b-x86-64.s: Likewise. + +2011-01-03 H.J. Lu <hongjiu.lu@intel.com> + + * ld-x86-64/dummy.s: New. + * ld-x86-64/foo.s: Likewise. + * ld-x86-64/ia32-1.d: Likewise. + * ld-x86-64/ia32-2.d: Likewise. + * ld-x86-64/ia32-3.d: Likewise. + * ld-x86-64/ilp32-1.d: Likewise. + * ld-x86-64/ilp32-2.d: Likewise. + * ld-x86-64/ilp32-3.d: Likewise. + * ld-x86-64/lp64-1.d: Likewise. + * ld-x86-64/lp64-2.d: Likewise. + * ld-x86-64/lp64-3.d: Likewise. + * ld-x86-64/start.s: Likewise. + + * ld-x86-64/x86-64.exp: Run ilp32-1, ilp32-2, ilp32-3, ia32-1, + ia32-2, ia32-3, lp64-1, lp64-2 and lp64-3. + +2011-01-02 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/12001 + * ld-misc/defsym.exp: New. + * ld-misc/defsym1.d: Likewise. + * ld-misc/dummy.s: Likewise. + * ld-misc/foo.s: Likewise. + * ld-misc/start.s: Likewise. + +For older changes see ChangeLog-2010 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 413f3dc..555390b 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,818 +1,5 @@ -2011-12-15 Nick Clifton <nickc@redhat.com> - * cgen-asm.c (cgen_parse_signed_integer): Add code to handle the - sign extension of negative values on a 64-bit host. - * frv-asm.c: Regenerate. - -2011-12-13 Alan Modra <amodra@gmail.com> - - * ppc-opc.c (ISA_V2): Define and use for relevant BO field tests. - (valid_bo_pre_v2, valid_bo_post_v2): New functions, extracted from.. - (valid_bo): ..here. When disassembling, accept either 'y' or 'at' - type encoding on second pass. - (powerpc_opcodes): Use ISA_V2 to enable branch insns rather than - POWER4. - * ppc-dis.c (print_insn_powerpc): Delete dialect_orig. Instead - ignore deprecated on second pass. - -2011-12-08 Andrew Pinski <apinski@cavium.com> - - * mips-opc.c (mips_builtin_opcodes): Add "pause". - -2011-12-08 Andrew Pinski <apinski@cavium.com> - Adam Nemet <anemet@caviumnetworks.com> - - * mips-dis.c (mips_arch_choices): Add Octeon2. - For "octeon+", just include OcteonP for the insn. - * mips-opc.c (IOCT): Include Octeon2. - (IOCTP): Include Octeon2. - (IOCT2): New macro. - (mips_builtin_opcodes): Add "laa", "laad", "lac", "lacd", "lad", - "ladd", "lai", "laid", "las", "lasd", "law", "lawd". - Move "lbux", "ldx", "lhx", "lwx", and "lwux" up to where the standard - loads are, and add IOCT2 to them. - Add "lbx" and "lhux". - Add "qmac.00", "qmac.01", "qmac.02", "qmac.03", "qmacs.00", - "qmacs.01", "qmacs.01", "qmacs.02" and "qmacs.03". - Add "zcb" and "zcbt". - -2011-11-29 Andrew Pinski <apinski@cavium.com> - - * mips-dis.c (mips_arch_choices): Add Octeon+. - * mips-opc.c (IOCT): Include Octeon+. - (IOCTP): New macro. - (mips_builtin_opcodes): Add "saa" and "saad". - -2011-11-25 Pierre Muller <muller@ics.u-strasbg.fr> - - * mips-dis.c (print_insn_micromips): Rename local variable iprintf - to infprintf to avoid shadow warning. - -2011-11-25 Nick Clifton <nickc@redhat.com> - - * po/it.po: Updated Italian translation. - -2011-11-16 Maciej W. Rozycki <macro@codesourcery.com> - - * micromips-opc.c (micromips_opcodes): Use NODS rather than TRAP - for "alnv.ps". - -2011-11-02 Nick Clifton <nickc@redhat.com> - - * po/it.po: New Italian translation. - * configure.in (ALL_LINGUAS): Add it. - * configure: Regenerate. - * po/opcodes.pot: Regenerate. - -2011-11-01 DJ Delorie <dj@redhat.com> - - * Makefile.am (TARGET_LIBOPCODES_CFILES): Add rl78-decode.c and - rl78-dis.c. - (MAINTAINERCLEANFILES): Add rl78-decode.c. - (rl78-decode.c): New rule, built from rl78-decode.opc and opc2c. - * Makefile.in: Regenerate. - * configure.in: Add bfd_rl78_arch case. - * configure: Regenerate. - * disassemble.c: Define ARCH_rl78. - (disassembler): Add ARCH_rl78 case. - * rl78-decode.c: New file. - * rl78-decode.opc: New file. - * rl78-dis.c: New file. - -2011-10-27 Peter Bergner <bergner@vnet.ibm.com> - - * ppc-opc.c (powerpc_opcodes) <drrndq, drrndq., dtstexq, dctqpq, - dctqpq., dctfixq, dctfixq., dxexq, dxexq., dtstsfq, dcffixq, dcffixq., - diexq, diexq.>: Use FRT, FRA, FRB and FRBp repsectively on DFP quad - instructions. - -2011-10-26 Nick Clifton <nickc@redhat.com> - - PR binutils/13348 - * i386-dis.c (print_insn): Fix testing of array subscript. - -2011-10-26 Joern Rennecke <joern.rennecke@embecosm.com> - - * disassemble.c (ARCH_epiphany): Move into alphasorted spot. - * epiphany-asm.c, epiphany-opc.h: Regenerate. - -2011-10-25 Joern Rennecke <joern.rennecke@embecosm.com> - - * Makefile.am (HFILES): Add epiphany-desc.h and epiphany-opc.h . - (TARGET_LIBOPCODES_CFILES): Add epiphany-asm.c, epiphany-desc.c, - epiphany-dis.c, epiphany-ibld.c and epiphany-opc.c . - (CLEANFILES): Add stamp-epiphany. - (EPIPHANY_DEPS): Set. Make CGEN-generated Epiphany files depend on it. - (stamp-epiphany): New rule. - * configure.in: Handle bfd_epiphany_arch. - * disassemble.c (ARCH_epiphany): Define. - (disassembler): Handle bfd_arch_epiphany. - * epiphany-asm.c: New file. - * epiphany-desc.c: New file. - * epiphany-desc.h: New file. - * epiphany-dis.c: New file. - * epiphany-ibld.c: New file. - * epiphany-opc.c: New file. - * epiphany-opc.h: New file. - * Makefile.in: Regenerate. - * configure: Regenerate. - * po/POTFILES.in: Regenerate. - * po/opcodes.pot: Regenerate. - -2011-10-24 Julian Brown <julian@codesourcery.com> - - * m68k-opc.c (m68k_opcodes): Fix entries for ColdFire moveml. - -2011-10-21 Jan Glauber <jang@linux.vnet.ibm.com> - - * s390-opc.txt: Add CPUMF instructions. - -2011-10-18 Jie Zhang <jie@codesourcery.com> - Julian Brown <julian@codesourcery.com> - - * arm-dis.c (print_insn_arm): Explicitly specify rotation if needed. - -2011-10-10 Nick Clifton <nickc@redhat.com> - - * po/es.po: Updated Spanish translation. - * po/fi.po: Updated Finnish translation. - -2011-09-28 Jan Beulich <jbeulich@suse.com> - - * ppc-opc.c (insert_nbi, insert_rbx, FRAp, FRBp, FRSp, FRTp, NBI, RAX, - RBX): New. - (insert_bo, insert_boe): Reject bcctr with bit 2 in bo unset. - (powerpc_opcodes): Use RAX for second and RBXC for third operand of - lswx. Use NBI for third operand of lswi. Use FRTp for first operand of - lfdp and lfdpx. Use FRSp for first operand of stfdp and stfdpx, and - mark them as invalid on POWER7. Use FRTp, FRAp, and FRBp repsectively - on DFP quad instructions. - -2011-09-27 David S. Miller <davem@davemloft.net> - - * sparc-opc.c (sparc_opcodes): Fix random instruction to write - to a float instead of an integer register. - -2011-09-26 David S. Miller <davem@davemloft.net> - - * sparc-opc.c (sparc_opcodes): Add integer multiply-add - instructions. - -2011-09-21 David S. Miller <davem@davemloft.net> - - * sparc-opc.c (sparc_opcodes): Annotate table with HWCAP flag - bits. Fix "fchksm16" mnemonic. - -2011-09-08 Mark Fortescue <mark@mtfhpc.demon.co.uk> - - The changes below bring 'mov' and 'ticc' instructions into line - with the V8 SPARC Architecture Manual. - * sparc-opc.c (sparc_opcodes): Add entry for 'ticc imm + regrs1'. - * sparc-opc.c (sparc_opcodes): Add alias entries for - 'mov regrs2,%asrX'; 'mov regrs2,%y'; 'mov regrs2,%prs'; - 'mov regrs2,%wim' and 'mov regrs2,%tbr'. - * sparc-opc.c (sparc_opcodes): Move/Change entries for - 'mov imm,%asrX'; 'mov imm,%y'; 'mov imm,%prs'; 'mov imm,%wim' - and 'mov imm,%tbr'. - * sparc-opc.c (sparc_opcodes): Add wr alias entries to match above - mov aliases. - - * sparc-opc.c (sparc_opcodes): Add entry for 'save simm13,regrs1,regrd' - This has been reported as being accepted by the Sun assmebler. - -2011-09-08 David S. Miller <davem@davemloft.net> - - * sparc-opc.c (pdistn): Destination is integer not float register. - -2011-09-07 Andreas Schwab <schwab@linux-m68k.org> - - PR gas/13145 - * m68k-opc.c: Use "y" in moveml pattern for mcfisa_a. - -2011-08-26 Nick Clifton <nickc@redhat.com> - - * po/es.po: Updated Spanish translation. - -2011-08-22 Nick Clifton <nickc@redhat.com> - - * Makefile.am (CPUDIR): Redfine to point to top level cpu - directory. - (stamp-frv): Use CPUDIR. - (stamp-iq2000): Likewise. - (stamp-lm32): Likewise. - (stamp-m32c): Likewise. - (stamp-mt): Likewise. - (stamp-xc16x): Likewise. - * Makefile.in: Regenerate. - -2011-08-09 Chao-ying Fu <fu@mips.com> - Maciej W. Rozycki <macro@codesourcery.com> - - * mips-dis.c (mips_arch_choices): Enable MCU for "mips32r2" - and "mips64r2". - (print_insn_args, print_insn_micromips): Handle MCU. - * micromips-opc.c (MC): New macro. - (micromips_opcodes): Add "aclr", "aset" and "iret". - * mips-opc.c (MC): New macro. - (mips_builtin_opcodes): Add "aclr", "aset" and "iret". - -2011-08-09 Maciej W. Rozycki <macro@codesourcery.com> - - * micromips-opc.c (MOD_mb, MOD_mc, MOD_md): Remove macros. - (MOD_me, MOD_mf, MOD_mg, MOD_mhi, MOD_mj, MOD_ml): Likewise. - (MOD_mm, MOD_mn, MOD_mp, MOD_mq, MOD_sp): Likewise. - (WR_mb, RD_mc, RD_md, WR_md, RD_me, RD_mf, WR_mf): New macros. - (RD_mg, WR_mhi, RD_mj, WR_mj, RD_ml, RD_mmn): Likewise. - (RD_mp, WR_mp, RD_mq, RD_sp, WR_sp): Likewise. - (WR_s): Update macro. - (micromips_opcodes): Update register use flags of: "addiu", - "addiupc", "addiur1sp", "addiur2", "addius5", "addiusp", "addu", - "and", "andi", "beq", "beqz", "bne", "bnez", "di", "ei", "j", - "jalr", "jalrs", "jr", "jraddiusp", "jrc", "lbu", "lhu", "li", - "lui", "lw", "lwm", "mfhi", "mflo", "move", "movep", "not", - "nor", "or", "ori", "sb", "sh", "sll", "srl", "subu", "sw", - "swm" and "xor" instructions. - -2011-08-05 David S. Miller <davem@davemloft.net> - - * sparc-dis.c (v9a_ast_reg_names): Add "cps". - (X_RS3): New macro. - (print_insn_sparc): Handle '4', '5', and '(' format codes. - Accept %asr numbers below 28. - * sparc-opc.c (sparc_opcodes): Add entries for HPC and VIS3 - instructions. - -2011-08-02 Quentin Neill <quentin.neill@amd.com> - - * i386-dis.c (xop_table): Remove spurious bextr insn. - -2011-08-01 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/13048 - * i386-dis.c (print_insn): Optimize info->mach check. - -2011-08-01 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/13046 - * i386-opc.tbl: Add Disp32S to 64bit call. - * i386-tbl.h: Regenerated. - -2011-07-24 Chao-ying Fu <fu@mips.com> - Maciej W. Rozycki <macro@codesourcery.com> - - * micromips-opc.c: New file. - * mips-dis.c (micromips_to_32_reg_b_map): New array. - (micromips_to_32_reg_c_map, micromips_to_32_reg_d_map): Likewise. - (micromips_to_32_reg_e_map, micromips_to_32_reg_f_map): Likewise. - (micromips_to_32_reg_g_map, micromips_to_32_reg_l_map): Likewise. - (micromips_to_32_reg_q_map): Likewise. - (micromips_imm_b_map, micromips_imm_c_map): Likewise. - (micromips_ase): New variable. - (is_micromips): New function. - (set_default_mips_dis_options): Handle microMIPS ASE. - (print_insn_micromips): New function. - (is_compressed_mode_p): Likewise. - (_print_insn_mips): Handle microMIPS instructions. - * Makefile.am (CFILES): Add micromips-opc.c. - * configure.in (bfd_mips_arch): Add micromips-opc.lo. - * Makefile.in: Regenerate. - * configure: Regenerate. - - * mips-dis.c (micromips_to_32_reg_h_map): New variable. - (micromips_to_32_reg_i_map): Likewise. - (micromips_to_32_reg_m_map): Likewise. - (micromips_to_32_reg_n_map): New macro. - -2011-07-24 Maciej W. Rozycki <macro@codesourcery.com> - - * mips-opc.c (NODS): New macro. - (TRAP): Adjust for the rename of INSN_TRAP to INSN_NO_DELAY_SLOT. - (DSP_VOLA): Likewise. - (mips_builtin_opcodes): Add NODS annotation to "deret" and - "eret". Replace INSN_SYNC with NODS throughout. Use NODS in - place of TRAP for "wait", "waiti" and "yield". - * mips16-opc.c (NODS): New macro. - (TRAP): Adjust for the rename of INSN_TRAP to INSN_NO_DELAY_SLOT. - (mips16_opcodes): Use NODS in place of TRAP for "jalrc", "jrc", - "restore" and "save". - -2011-07-22 H.J. Lu <hongjiu.lu@intel.com> - - * configure.in: Handle bfd_k1om_arch. - * configure: Regenerated. - - * disassemble.c (disassembler): Handle bfd_k1om_arch. - - * i386-dis.c (print_insn): Handle bfd_mach_k1om and - bfd_mach_k1om_intel_syntax. - - * i386-gen.c (cpu_flag_init): Set CPU_UNKNOWN_FLAGS to - ~(CpuL1OM|CpuK1OM). Add CPU_K1OM_FLAGS. - (cpu_flags): Add CpuK1OM. - - * i386-opc.h (CpuK1OM): New. - (i386_cpu_flags): Add cpuk1om. - - * i386-init.h: Regenerated. - * i386-tbl.h: Likewise. - -2011-07-12 Nick Clifton <nickc@redhat.com> - - * arm-dis.c (print_insn_arm): Revert previous, undocumented, - accidental change. - -2011-07-01 Nick Clifton <nickc@redhat.com> - - PR binutils/12329 - * avr-dis.c (avr_operand): Fix disassembly of ELPM, LPM and SPM - insns using post-increment addressing. - -2011-06-30 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (vex_len_table): Update rorxS. - -2011-06-30 H.J. Lu <hongjiu.lu@intel.com> - - AVX Programming Reference (June, 2011) - * i386-dis.c (vex_len_table): Correct rorxS. - - * i386-opc.tbl: Correct rorx. - * i386-tbl.h: Regenerated. - -2011-06-29 H.J. Lu <hongjiu.lu@intel.com> - - * tilegx-opc.c (find_opcode): Replace "index" with "i". - * tilepro-opc.c (find_opcode): Likewise. - -2011-06-29 Richard Sandiford <rdsandiford@googlemail.com> - - * mips16-opc.c (jalrc, jrc): Move earlier in file. - -2011-06-21 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (prefix_table): Re-indent PREFIX_VEX_0F388C and - PREFIX_VEX_0F388E. - -2011-06-17 Andreas Schwab <schwab@redhat.com> - - * Makefile.am (MAINTAINERCLEANFILES): Move s390-opc.tab ... - (MOSTLYCLEANFILES): ... here. - * Makefile.in: Regenerate. - -2011-06-14 Alan Modra <amodra@gmail.com> - - * Makefile.in: Regenerate. - -2011-06-13 Walter Lee <walt@tilera.com> - - * Makefile.am (TARGET_LIBOPCODES_CFILES): Add tilegx-dis.c, - tilegx-opc.c, tilepro-dis.c, and tilepro-opc.c. - * Makefile.in: Regenerate. - * configure.in: Handle bfd_tilegx_arch and bfd_tilepro_arch. - * configure: Regenerate. - * disassemble.c (disassembler): Add ARCH_tilegx and ARCH_tilepro. - * po/POTFILES.in: Regenerate. - * tilegx-dis.c: New file. - * tilegx-opc.c: New file. - * tilepro-dis.c: New file. - * tilepro-opc.c: New file. - -2011-06-10 H.J. Lu <hongjiu.lu@intel.com> - - AVX Programming Reference (June, 2011) - * i386-dis.c (XMGatherQ): New. - * i386-dis.c (EXxmm_mb): New. - (EXxmm_mb): Likewise. - (EXxmm_mw): Likewise. - (EXxmm_md): Likewise. - (EXxmm_mq): Likewise. - (EXxmmdw): Likewise. - (EXxmmqd): Likewise. - (VexGatherQ): Likewise. - (MVexVSIBDWpX): Likewise. - (MVexVSIBQWpX): Likewise. - (xmm_mb_mode): Likewise. - (xmm_mw_mode): Likewise. - (xmm_md_mode): Likewise. - (xmm_mq_mode): Likewise. - (xmmdw_mode): Likewise. - (xmmqd_mode): Likewise. - (ymmxmm_mode): Likewise. - (vex_vsib_d_w_dq_mode): Likewise. - (vex_vsib_q_w_dq_mode): Likewise. - (MOD_VEX_0F385A_PREFIX_2): Likewise. - (MOD_VEX_0F388C_PREFIX_2): Likewise. - (MOD_VEX_0F388E_PREFIX_2): Likewise. - (PREFIX_0F3882): Likewise. - (PREFIX_VEX_0F3816): Likewise. - (PREFIX_VEX_0F3836): Likewise. - (PREFIX_VEX_0F3845): Likewise. - (PREFIX_VEX_0F3846): Likewise. - (PREFIX_VEX_0F3847): Likewise. - (PREFIX_VEX_0F3858): Likewise. - (PREFIX_VEX_0F3859): Likewise. - (PREFIX_VEX_0F385A): Likewise. - (PREFIX_VEX_0F3878): Likewise. - (PREFIX_VEX_0F3879): Likewise. - (PREFIX_VEX_0F388C): Likewise. - (PREFIX_VEX_0F388E): Likewise. - (PREFIX_VEX_0F3890..PREFIX_VEX_0F3893): Likewise. - (PREFIX_VEX_0F38F5): Likewise. - (PREFIX_VEX_0F38F6): Likewise. - (PREFIX_VEX_0F3A00): Likewise. - (PREFIX_VEX_0F3A01): Likewise. - (PREFIX_VEX_0F3A02): Likewise. - (PREFIX_VEX_0F3A38): Likewise. - (PREFIX_VEX_0F3A39): Likewise. - (PREFIX_VEX_0F3A46): Likewise. - (PREFIX_VEX_0F3AF0): Likewise. - (VEX_LEN_0F3816_P_2): Likewise. - (VEX_LEN_0F3819_P_2): Likewise. - (VEX_LEN_0F3836_P_2): Likewise. - (VEX_LEN_0F385A_P_2_M_0): Likewise. - (VEX_LEN_0F38F5_P_0): Likewise. - (VEX_LEN_0F38F5_P_1): Likewise. - (VEX_LEN_0F38F5_P_3): Likewise. - (VEX_LEN_0F38F6_P_3): Likewise. - (VEX_LEN_0F38F7_P_1): Likewise. - (VEX_LEN_0F38F7_P_2): Likewise. - (VEX_LEN_0F38F7_P_3): Likewise. - (VEX_LEN_0F3A00_P_2): Likewise. - (VEX_LEN_0F3A01_P_2): Likewise. - (VEX_LEN_0F3A38_P_2): Likewise. - (VEX_LEN_0F3A39_P_2): Likewise. - (VEX_LEN_0F3A46_P_2): Likewise. - (VEX_LEN_0F3AF0_P_3): Likewise. - (VEX_W_0F3816_P_2): Likewise. - (VEX_W_0F3818_P_2): Likewise. - (VEX_W_0F3819_P_2): Likewise. - (VEX_W_0F3836_P_2): Likewise. - (VEX_W_0F3846_P_2): Likewise. - (VEX_W_0F3858_P_2): Likewise. - (VEX_W_0F3859_P_2): Likewise. - (VEX_W_0F385A_P_2_M_0): Likewise. - (VEX_W_0F3878_P_2): Likewise. - (VEX_W_0F3879_P_2): Likewise. - (VEX_W_0F3A00_P_2): Likewise. - (VEX_W_0F3A01_P_2): Likewise. - (VEX_W_0F3A02_P_2): Likewise. - (VEX_W_0F3A38_P_2): Likewise. - (VEX_W_0F3A39_P_2): Likewise. - (VEX_W_0F3A46_P_2): Likewise. - (MOD_VEX_0F3818_PREFIX_2): Removed. - (MOD_VEX_0F3819_PREFIX_2): Likewise. - (VEX_LEN_0F60_P_2..VEX_LEN_0F6D_P_2): Likewise. - (VEX_LEN_0F70_P_1..VEX_LEN_0F76_P_2): Likewise. - (VEX_LEN_0FD1_P_2..VEX_LEN_0FD5_P_2): Likewise. - (VEX_LEN_0FD7_P_2_M_1..VEX_LEN_0F3819_P_2_M_0): Likewise. - (VEX_LEN_0F381C_P_2..VEX_LEN_0F3840_P_2): Likewise. - (VEX_LEN_0F3A0E_P_2): Likewise. - (VEX_LEN_0F3A0F_P_2): Likewise. - (VEX_LEN_0F3A42_P_2): Likewise. - (VEX_LEN_0F3A4C_P_2): Likewise. - (VEX_W_0F3818_P_2_M_0): Likewise. - (VEX_W_0F3819_P_2_M_0): Likewise. - (prefix_table): Updated. - (three_byte_table): Likewise. - (vex_table): Likewise. - (vex_len_table): Likewise. - (vex_w_table): Likewise. - (mod_table): Likewise. - (putop): Handle "LW". - (intel_operand_size): Handle xmm_mb_mode, xmm_mw_mode, - xmm_md_mode, xmm_mq_mode, xmmdw_mode, xmmqd_mode, ymmxmm_mode, - vex_vsib_d_w_dq_mode, vex_vsib_q_w_dq_mode. - (OP_EX): Likewise. - (OP_E_memory): Handle vex_vsib_d_w_dq_mode and - vex_vsib_q_w_dq_mode. - (OP_XMM): Handle vex_vsib_q_w_dq_mode. - (OP_VEX): Likewise. - - * i386-gen.c (cpu_flag_init): Add CpuAVX2 to CPU_ANY_SSE_FLAGS - and CPU_ANY_AVX_FLAGS. Add CPU_BMI2_FLAGS, CPU_LZCNT_FLAGS, - CPU_INVPCID_FLAGS and CPU_AVX2_FLAGS. - (cpu_flags): Add CpuAVX2, CpuBMI2, CpuLZCNT and CpuINVPCID. - (opcode_modifiers): Add VecSIB. - - * i386-opc.h (CpuAVX2): New. - (CpuBMI2): Likewise. - (CpuLZCNT): Likewise. - (CpuINVPCID): Likewise. - (VecSIB128): Likewise. - (VecSIB256): Likewise. - (VecSIB): Likewise. - (i386_cpu_flags): Add cpuavx2, cpubmi2, cpulzcnt and cpuinvpcid. - (i386_opcode_modifier): Add vecsib. - - * i386-opc.tbl: Add invpcid, AVX2 and BMI2 instructions. - * i386-init.h: Regenerated. - * i386-tbl.h: Likewise. - -2011-06-03 Quentin Neill <quentin.neill@amd.com> - - * i386-gen.c (cpu_flag_init): Add CpuF16C to CPU_BDVER2_FLAGS. - * i386-init.h: Regenerated. - -2011-06-03 Nick Clifton <nickc@redhat.com> - - PR binutils/12752 - * arm-dis.c (print_insn_coprocessor): Use bfd_vma type for - computing address offsets. - (print_arm_address): Likewise. - (print_insn_arm): Likewise. - (print_insn_thumb16): Likewise. - (print_insn_thumb32): Likewise. - -2011-06-02 Jie Zhang <jie@codesourcery.com> - Nathan Sidwell <nathan@codesourcery.com> - Maciej Rozycki <macro@codesourcery.com> - - * arm-dis.c (print_insn_coprocessor): Explicitly print #-0 - as address offset. - (print_arm_address): Likewise. Elide positive #0 appropriately. - (print_insn_arm): Likewise. - -2011-06-02 Nick Clifton <nickc@redhat.com> - - PR gas/12752 - * arm-dis.c (print_insn_thumb32): Do not sign extend addresses - passed to print_address_func. - -2011-06-02 Nick Clifton <nickc@redhat.com> - - * arm-dis.c: Fix spelling mistakes. - * op/opcodes.pot: Regenerate. - -2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * s390-opc.c: Replace S390_OPERAND_REG_EVEN with - S390_OPERAND_REG_PAIR. Fix INSTR_RRF_0UFEF instruction type. - * s390-opc.txt: Fix cxr instruction type. - -2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * s390-opc.c: Add new instruction types marking register pair - operands. - * s390-opc.txt: Match instructions having register pair operands - to the new instruction types. - -2011-05-19 Nick Clifton <nickc@redhat.com> - - * v850-opc.c (cmpf.[sd]): Reverse the order of the reg1 and reg2 - operands. - -2011-05-10 Quentin Neill <quentin.neill@amd.com> - - * i386-gen.c (cpu_flag_init): Add new CPU_BDVER2_FLAGS. - * i386-init.h: Regenerated. - -2011-04-27 Nick Clifton <nickc@redhat.com> - - * po/da.po: Updated Danish translation. - -2011-04-26 Anton Blanchard <anton@samba.org> - - * ppc-opc.c: (powerpc_opcodes): Enable icswx for POWER7. - -2011-04-21 DJ Delorie <dj@redhat.com> - - * rx-decode.opc (rx_decode_opcode): Set the syntax for multi-byte NOPs. - * rx-decode.c: Regenerate. - -2011-04-20 H.J. Lu <hongjiu.lu@intel.com> - - * i386-init.h: Regenerated. - -2011-04-19 Quentin Neill <quentin.neill@amd.com> - - * i386-gen.c (cpu_flag_init): Remove 3dnow and 3dnowa bits - from bdver1 flags. - -2011-04-13 Nick Clifton <nickc@redhat.com> - - * v850-dis.c (disassemble): Always print a closing square brace if - an opening square brace was printed. - -2011-04-12 Nick Clifton <nickc@redhat.com> - - PR binutils/12534 - * arm-dis.c (thumb32_opcodes): Add %L suffix to LDRD and STRD insn - patterns. - (print_insn_thumb32): Handle %L. - -2011-04-11 Julian Brown <julian@codesourcery.com> - - * arm-dis.c (psr_name): Fix typo for BASEPRI_MAX. - (print_insn_thumb32): Add APSR bitmask support. - -2011-04-07 Paul Carroll<pcarroll@codesourcery.com> - - * arm-dis.c (print_insn): init vars moved into private_data structure. - -2011-03-24 Mike Frysinger <vapier@gentoo.org> - - * bfin-dis.c (decode_dsp32mac_0): Move MM zeroing down to MAC0 logic. - -2011-03-22 Eric B. Weddington <eric.weddington@atmel.com> - - * avr-dis.c (avr_operand): Add opcode_str parameter. Check for - post-increment to support LPM Z+ instruction. Add support for 'E' - constraint for DES instruction. - (print_insn_avr): Adjust calls to avr_operand. Rename variable. - -2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> - - * arm-dis.c (get_sym_code_type): Treat STT_GNU_IFUNCs as code. - -2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> - - * arm-dis.c (get_sym_code_type): Don't check for STT_ARM_TFUNC. - Use branch types instead. - (print_insn): Likewise. - -2011-02-28 Maciej W. Rozycki <macro@codesourcery.com> - - * mips-opc.c (mips_builtin_opcodes): Correct register use - annotation of "alnv.ps". - -2011-02-28 Maciej W. Rozycki <macro@codesourcery.com> - - * mips-opc.c (mips_builtin_opcodes): Add "pref" macro. - -2011-02-22 Mike Frysinger <vapier@gentoo.org> - - * bfin-dis.c (OUTS): Remove p NULL check and txt NUL check. - -2011-02-22 Mike Frysinger <vapier@gentoo.org> - - * bfin-dis.c (print_insn_bfin): Change outf->fprintf_func to OUTS. - -2011-02-19 Mike Frysinger <vapier@gentoo.org> - - * bfin-dis.c (saved_state): Mark static. Change a[01]x to ax[] and - a[01]w to aw[]. Delete ac0, ac0_copy, ac1, an, aq, av0, av0s, av1, - av1s, az, cc, v, v_copy, vs, rnd_mod, v_internal, pc, ticks, insts, - exception, end_of_registers, msize, memory, bfd_mach. - (CCREG, PCREG, A0XREG, A0WREG, A1XREG, A1WREG, LC0REG, LT0REG, - LB0REG, LC1REG, LT1REG, LB1REG): Delete - (AXREG, AWREG, LCREG, LTREG, LBREG): Define. - (get_allreg): Change to new defines. Fallback to abort(). - -2011-02-14 Mike Frysinger <vapier@gentoo.org> - - * bfin-dis.c: Add whitespace/parenthesis where needed. - -2011-02-14 Mike Frysinger <vapier@gentoo.org> - - * bfin-dis.c (decode_LoopSetup_0): Return when reg is greater - than 7. - -2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * configure: Regenerate. - -2011-02-13 Mike Frysinger <vapier@gentoo.org> - - * bfin-dis.c (decode_dsp32alu_0): Fix typo with A1 reg. - -2011-02-13 Mike Frysinger <vapier@gentoo.org> - - * bfin-dis.c (decode_dsp32mult_0): Add 1 to dst for mac1. Output - dregs only when P is set, and dregs_lo otherwise. - -2011-02-13 Mike Frysinger <vapier@gentoo.org> - - * bfin-dis.c (decode_dsp32alu_0): Delete BYTEOP2M code. - -2011-02-12 Mike Frysinger <vapier@gentoo.org> - - * bfin-dis.c (decode_pseudoDEBUG_0): Add space after PRNT. - -2011-02-12 Mike Frysinger <vapier@gentoo.org> - - * bfin-dis.c (machine_registers): Delete REG_GP. - (reg_names): Delete "GP". - (decode_allregs): Change REG_GP to REG_LASTREG. - -2011-02-12 Mike Frysinger <vapier@gentoo.org> - - * bfin-dis.c (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, - M_IH, M_IU): Delete. - -2011-02-11 Mike Frysinger <vapier@gentoo.org> - - * bfin-dis.c (reg_names): Add const. - (decode_dregs_lo, decode_dregs_hi, decode_dregs, decode_dregs_byte, - decode_pregs, decode_iregs, decode_mregs, decode_dpregs, decode_gregs, - decode_regs, decode_regs_lo, decode_regs_hi, decode_statbits, - decode_counters, decode_allregs): Likewise. - -2011-02-09 Michael Snyder <msnyder@vmware.com> - - * i386-dis.c (OP_J): Parenthesize expression to prevent - truncated addresses. - (print_insn): Fix indentation off-by-one. - -2011-02-01 Nick Clifton <nickc@redhat.com> - - * po/da.po: Updated Danish translation. - -2011-01-21 Dave Murphy <davem@devkitpro.org> - - * ppc-opc.c (NON32, NO371): Remove PPC_OPCODE_PPCPS. - -2011-01-18 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (sIbT): New. - (b_T_mode): Likewise. - (dis386): Replace sIb with sIbT on "pushT". - (x86_64_table): Replace sIb with Ib on "aam" and "aad". - (OP_sI): Handle b_T_mode. Properly sign-extend byte. - -2011-01-18 Jan Kratochvil <jan.kratochvil@redhat.com> - - * i386-init.h: Regenerated. - * i386-tbl.h: Regenerated - -2011-01-17 Quentin Neill <quentin.neill@amd.com> - - * i386-dis.c (REG_XOP_TBM_01): New. - (REG_XOP_TBM_02): New. - (reg_table): Add REG_XOP_TBM_01 and REG_XOP_TBM_02 tables. - (xop_table): Redirect to REG_XOP_TBM_01 and REG_XOP_TBM_02 - entries, and add bextr instruction. - - * i386-gen.c (cpu_flag_init): Add CPU_TBM_FLAGS, CpuTBM. - (cpu_flags): Add CpuTBM. - - * i386-opc.h (CpuTBM) New. - (i386_cpu_flags): Add bit cputbm. - - * i386-opc.tbl: Add bextr, blcfill, blci, blcic, blcmsk, - blcs, blsfill, blsic, t1mskc, and tzmsk. - -2011-01-12 DJ Delorie <dj@redhat.com> - - * rx-dis.c (print_insn_rx): Support RX_Operand_TwoReg. - -2011-01-11 Mingjie Xing <mingjie.xing@gmail.com> - - * mips-dis.c (print_insn_args): Adjust the value to print the real - offset for "+c" argument. - -2011-01-10 Nick Clifton <nickc@redhat.com> - - * po/da.po: Updated Danish translation. - -2011-01-05 Nathan Sidwell <nathan@codesourcery.com> - - * arm-dis.c (thumb32_opcodes): BLX must have bit zero clear. - -2011-01-04 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (REG_VEX_38F3): New. - (PREFIX_0FBC): Likewise. - (PREFIX_VEX_38F2): Likewise. - (PREFIX_VEX_38F3_REG_1): Likewise. - (PREFIX_VEX_38F3_REG_2): Likewise. - (PREFIX_VEX_38F3_REG_3): Likewise. - (PREFIX_VEX_38F7): Likewise. - (VEX_LEN_38F2_P_0): Likewise. - (VEX_LEN_38F3_R_1_P_0): Likewise. - (VEX_LEN_38F3_R_2_P_0): Likewise. - (VEX_LEN_38F3_R_3_P_0): Likewise. - (VEX_LEN_38F7_P_0): Likewise. - (dis386_twobyte): Use PREFIX_0FBC. - (reg_table): Add REG_VEX_38F3. - (prefix_table): Add PREFIX_0FBC, PREFIX_VEX_38F2, - PREFIX_VEX_38F3_REG_1, PREFIX_VEX_38F3_REG_2, - PREFIX_VEX_38F3_REG_3 and PREFIX_VEX_38F7. - (vex_table): Use PREFIX_VEX_38F2, REG_VEX_38F3 and - PREFIX_VEX_38F7. - (vex_len_table): Add VEX_LEN_38F2_P_0, VEX_LEN_38F3_R_1_P_0, - VEX_LEN_38F3_R_2_P_0, VEX_LEN_38F3_R_3_P_0 and - VEX_LEN_38F7_P_0. - - * i386-gen.c (cpu_flag_init): Add CPU_BMI_FLAGS. - (cpu_flags): Add CpuBMI. - - * i386-opc.h (CpuBMI): New. - (i386_cpu_flags): Add cpubmi. - - * i386-opc.tbl: Add andn, bextr, blsi, blsmsk, blsr and tzcnt. - * i386-init.h: Regenerated. - * i386-tbl.h: Likewise. - -2011-01-04 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (VexGdq): New. - (OP_VEX): Handle dq_mode. - -2011-01-01 H.J. Lu <hongjiu.lu@intel.com> - - * i386-gen.c (process_copyright): Update copyright to 2011. - -For older changes see ChangeLog-2010 +For older changes see ChangeLog-2011 Local Variables: mode: change-log diff --git a/opcodes/ChangeLog-2011 b/opcodes/ChangeLog-2011 new file mode 100644 index 0000000..413f3dc --- /dev/null +++ b/opcodes/ChangeLog-2011 @@ -0,0 +1,822 @@ +2011-12-15 Nick Clifton <nickc@redhat.com> + + * cgen-asm.c (cgen_parse_signed_integer): Add code to handle the + sign extension of negative values on a 64-bit host. + * frv-asm.c: Regenerate. + +2011-12-13 Alan Modra <amodra@gmail.com> + + * ppc-opc.c (ISA_V2): Define and use for relevant BO field tests. + (valid_bo_pre_v2, valid_bo_post_v2): New functions, extracted from.. + (valid_bo): ..here. When disassembling, accept either 'y' or 'at' + type encoding on second pass. + (powerpc_opcodes): Use ISA_V2 to enable branch insns rather than + POWER4. + * ppc-dis.c (print_insn_powerpc): Delete dialect_orig. Instead + ignore deprecated on second pass. + +2011-12-08 Andrew Pinski <apinski@cavium.com> + + * mips-opc.c (mips_builtin_opcodes): Add "pause". + +2011-12-08 Andrew Pinski <apinski@cavium.com> + Adam Nemet <anemet@caviumnetworks.com> + + * mips-dis.c (mips_arch_choices): Add Octeon2. + For "octeon+", just include OcteonP for the insn. + * mips-opc.c (IOCT): Include Octeon2. + (IOCTP): Include Octeon2. + (IOCT2): New macro. + (mips_builtin_opcodes): Add "laa", "laad", "lac", "lacd", "lad", + "ladd", "lai", "laid", "las", "lasd", "law", "lawd". + Move "lbux", "ldx", "lhx", "lwx", and "lwux" up to where the standard + loads are, and add IOCT2 to them. + Add "lbx" and "lhux". + Add "qmac.00", "qmac.01", "qmac.02", "qmac.03", "qmacs.00", + "qmacs.01", "qmacs.01", "qmacs.02" and "qmacs.03". + Add "zcb" and "zcbt". + +2011-11-29 Andrew Pinski <apinski@cavium.com> + + * mips-dis.c (mips_arch_choices): Add Octeon+. + * mips-opc.c (IOCT): Include Octeon+. + (IOCTP): New macro. + (mips_builtin_opcodes): Add "saa" and "saad". + +2011-11-25 Pierre Muller <muller@ics.u-strasbg.fr> + + * mips-dis.c (print_insn_micromips): Rename local variable iprintf + to infprintf to avoid shadow warning. + +2011-11-25 Nick Clifton <nickc@redhat.com> + + * po/it.po: Updated Italian translation. + +2011-11-16 Maciej W. Rozycki <macro@codesourcery.com> + + * micromips-opc.c (micromips_opcodes): Use NODS rather than TRAP + for "alnv.ps". + +2011-11-02 Nick Clifton <nickc@redhat.com> + + * po/it.po: New Italian translation. + * configure.in (ALL_LINGUAS): Add it. + * configure: Regenerate. + * po/opcodes.pot: Regenerate. + +2011-11-01 DJ Delorie <dj@redhat.com> + + * Makefile.am (TARGET_LIBOPCODES_CFILES): Add rl78-decode.c and + rl78-dis.c. + (MAINTAINERCLEANFILES): Add rl78-decode.c. + (rl78-decode.c): New rule, built from rl78-decode.opc and opc2c. + * Makefile.in: Regenerate. + * configure.in: Add bfd_rl78_arch case. + * configure: Regenerate. + * disassemble.c: Define ARCH_rl78. + (disassembler): Add ARCH_rl78 case. + * rl78-decode.c: New file. + * rl78-decode.opc: New file. + * rl78-dis.c: New file. + +2011-10-27 Peter Bergner <bergner@vnet.ibm.com> + + * ppc-opc.c (powerpc_opcodes) <drrndq, drrndq., dtstexq, dctqpq, + dctqpq., dctfixq, dctfixq., dxexq, dxexq., dtstsfq, dcffixq, dcffixq., + diexq, diexq.>: Use FRT, FRA, FRB and FRBp repsectively on DFP quad + instructions. + +2011-10-26 Nick Clifton <nickc@redhat.com> + + PR binutils/13348 + * i386-dis.c (print_insn): Fix testing of array subscript. + +2011-10-26 Joern Rennecke <joern.rennecke@embecosm.com> + + * disassemble.c (ARCH_epiphany): Move into alphasorted spot. + * epiphany-asm.c, epiphany-opc.h: Regenerate. + +2011-10-25 Joern Rennecke <joern.rennecke@embecosm.com> + + * Makefile.am (HFILES): Add epiphany-desc.h and epiphany-opc.h . + (TARGET_LIBOPCODES_CFILES): Add epiphany-asm.c, epiphany-desc.c, + epiphany-dis.c, epiphany-ibld.c and epiphany-opc.c . + (CLEANFILES): Add stamp-epiphany. + (EPIPHANY_DEPS): Set. Make CGEN-generated Epiphany files depend on it. + (stamp-epiphany): New rule. + * configure.in: Handle bfd_epiphany_arch. + * disassemble.c (ARCH_epiphany): Define. + (disassembler): Handle bfd_arch_epiphany. + * epiphany-asm.c: New file. + * epiphany-desc.c: New file. + * epiphany-desc.h: New file. + * epiphany-dis.c: New file. + * epiphany-ibld.c: New file. + * epiphany-opc.c: New file. + * epiphany-opc.h: New file. + * Makefile.in: Regenerate. + * configure: Regenerate. + * po/POTFILES.in: Regenerate. + * po/opcodes.pot: Regenerate. + +2011-10-24 Julian Brown <julian@codesourcery.com> + + * m68k-opc.c (m68k_opcodes): Fix entries for ColdFire moveml. + +2011-10-21 Jan Glauber <jang@linux.vnet.ibm.com> + + * s390-opc.txt: Add CPUMF instructions. + +2011-10-18 Jie Zhang <jie@codesourcery.com> + Julian Brown <julian@codesourcery.com> + + * arm-dis.c (print_insn_arm): Explicitly specify rotation if needed. + +2011-10-10 Nick Clifton <nickc@redhat.com> + + * po/es.po: Updated Spanish translation. + * po/fi.po: Updated Finnish translation. + +2011-09-28 Jan Beulich <jbeulich@suse.com> + + * ppc-opc.c (insert_nbi, insert_rbx, FRAp, FRBp, FRSp, FRTp, NBI, RAX, + RBX): New. + (insert_bo, insert_boe): Reject bcctr with bit 2 in bo unset. + (powerpc_opcodes): Use RAX for second and RBXC for third operand of + lswx. Use NBI for third operand of lswi. Use FRTp for first operand of + lfdp and lfdpx. Use FRSp for first operand of stfdp and stfdpx, and + mark them as invalid on POWER7. Use FRTp, FRAp, and FRBp repsectively + on DFP quad instructions. + +2011-09-27 David S. Miller <davem@davemloft.net> + + * sparc-opc.c (sparc_opcodes): Fix random instruction to write + to a float instead of an integer register. + +2011-09-26 David S. Miller <davem@davemloft.net> + + * sparc-opc.c (sparc_opcodes): Add integer multiply-add + instructions. + +2011-09-21 David S. Miller <davem@davemloft.net> + + * sparc-opc.c (sparc_opcodes): Annotate table with HWCAP flag + bits. Fix "fchksm16" mnemonic. + +2011-09-08 Mark Fortescue <mark@mtfhpc.demon.co.uk> + + The changes below bring 'mov' and 'ticc' instructions into line + with the V8 SPARC Architecture Manual. + * sparc-opc.c (sparc_opcodes): Add entry for 'ticc imm + regrs1'. + * sparc-opc.c (sparc_opcodes): Add alias entries for + 'mov regrs2,%asrX'; 'mov regrs2,%y'; 'mov regrs2,%prs'; + 'mov regrs2,%wim' and 'mov regrs2,%tbr'. + * sparc-opc.c (sparc_opcodes): Move/Change entries for + 'mov imm,%asrX'; 'mov imm,%y'; 'mov imm,%prs'; 'mov imm,%wim' + and 'mov imm,%tbr'. + * sparc-opc.c (sparc_opcodes): Add wr alias entries to match above + mov aliases. + + * sparc-opc.c (sparc_opcodes): Add entry for 'save simm13,regrs1,regrd' + This has been reported as being accepted by the Sun assmebler. + +2011-09-08 David S. Miller <davem@davemloft.net> + + * sparc-opc.c (pdistn): Destination is integer not float register. + +2011-09-07 Andreas Schwab <schwab@linux-m68k.org> + + PR gas/13145 + * m68k-opc.c: Use "y" in moveml pattern for mcfisa_a. + +2011-08-26 Nick Clifton <nickc@redhat.com> + + * po/es.po: Updated Spanish translation. + +2011-08-22 Nick Clifton <nickc@redhat.com> + + * Makefile.am (CPUDIR): Redfine to point to top level cpu + directory. + (stamp-frv): Use CPUDIR. + (stamp-iq2000): Likewise. + (stamp-lm32): Likewise. + (stamp-m32c): Likewise. + (stamp-mt): Likewise. + (stamp-xc16x): Likewise. + * Makefile.in: Regenerate. + +2011-08-09 Chao-ying Fu <fu@mips.com> + Maciej W. Rozycki <macro@codesourcery.com> + + * mips-dis.c (mips_arch_choices): Enable MCU for "mips32r2" + and "mips64r2". + (print_insn_args, print_insn_micromips): Handle MCU. + * micromips-opc.c (MC): New macro. + (micromips_opcodes): Add "aclr", "aset" and "iret". + * mips-opc.c (MC): New macro. + (mips_builtin_opcodes): Add "aclr", "aset" and "iret". + +2011-08-09 Maciej W. Rozycki <macro@codesourcery.com> + + * micromips-opc.c (MOD_mb, MOD_mc, MOD_md): Remove macros. + (MOD_me, MOD_mf, MOD_mg, MOD_mhi, MOD_mj, MOD_ml): Likewise. + (MOD_mm, MOD_mn, MOD_mp, MOD_mq, MOD_sp): Likewise. + (WR_mb, RD_mc, RD_md, WR_md, RD_me, RD_mf, WR_mf): New macros. + (RD_mg, WR_mhi, RD_mj, WR_mj, RD_ml, RD_mmn): Likewise. + (RD_mp, WR_mp, RD_mq, RD_sp, WR_sp): Likewise. + (WR_s): Update macro. + (micromips_opcodes): Update register use flags of: "addiu", + "addiupc", "addiur1sp", "addiur2", "addius5", "addiusp", "addu", + "and", "andi", "beq", "beqz", "bne", "bnez", "di", "ei", "j", + "jalr", "jalrs", "jr", "jraddiusp", "jrc", "lbu", "lhu", "li", + "lui", "lw", "lwm", "mfhi", "mflo", "move", "movep", "not", + "nor", "or", "ori", "sb", "sh", "sll", "srl", "subu", "sw", + "swm" and "xor" instructions. + +2011-08-05 David S. Miller <davem@davemloft.net> + + * sparc-dis.c (v9a_ast_reg_names): Add "cps". + (X_RS3): New macro. + (print_insn_sparc): Handle '4', '5', and '(' format codes. + Accept %asr numbers below 28. + * sparc-opc.c (sparc_opcodes): Add entries for HPC and VIS3 + instructions. + +2011-08-02 Quentin Neill <quentin.neill@amd.com> + + * i386-dis.c (xop_table): Remove spurious bextr insn. + +2011-08-01 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/13048 + * i386-dis.c (print_insn): Optimize info->mach check. + +2011-08-01 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/13046 + * i386-opc.tbl: Add Disp32S to 64bit call. + * i386-tbl.h: Regenerated. + +2011-07-24 Chao-ying Fu <fu@mips.com> + Maciej W. Rozycki <macro@codesourcery.com> + + * micromips-opc.c: New file. + * mips-dis.c (micromips_to_32_reg_b_map): New array. + (micromips_to_32_reg_c_map, micromips_to_32_reg_d_map): Likewise. + (micromips_to_32_reg_e_map, micromips_to_32_reg_f_map): Likewise. + (micromips_to_32_reg_g_map, micromips_to_32_reg_l_map): Likewise. + (micromips_to_32_reg_q_map): Likewise. + (micromips_imm_b_map, micromips_imm_c_map): Likewise. + (micromips_ase): New variable. + (is_micromips): New function. + (set_default_mips_dis_options): Handle microMIPS ASE. + (print_insn_micromips): New function. + (is_compressed_mode_p): Likewise. + (_print_insn_mips): Handle microMIPS instructions. + * Makefile.am (CFILES): Add micromips-opc.c. + * configure.in (bfd_mips_arch): Add micromips-opc.lo. + * Makefile.in: Regenerate. + * configure: Regenerate. + + * mips-dis.c (micromips_to_32_reg_h_map): New variable. + (micromips_to_32_reg_i_map): Likewise. + (micromips_to_32_reg_m_map): Likewise. + (micromips_to_32_reg_n_map): New macro. + +2011-07-24 Maciej W. Rozycki <macro@codesourcery.com> + + * mips-opc.c (NODS): New macro. + (TRAP): Adjust for the rename of INSN_TRAP to INSN_NO_DELAY_SLOT. + (DSP_VOLA): Likewise. + (mips_builtin_opcodes): Add NODS annotation to "deret" and + "eret". Replace INSN_SYNC with NODS throughout. Use NODS in + place of TRAP for "wait", "waiti" and "yield". + * mips16-opc.c (NODS): New macro. + (TRAP): Adjust for the rename of INSN_TRAP to INSN_NO_DELAY_SLOT. + (mips16_opcodes): Use NODS in place of TRAP for "jalrc", "jrc", + "restore" and "save". + +2011-07-22 H.J. Lu <hongjiu.lu@intel.com> + + * configure.in: Handle bfd_k1om_arch. + * configure: Regenerated. + + * disassemble.c (disassembler): Handle bfd_k1om_arch. + + * i386-dis.c (print_insn): Handle bfd_mach_k1om and + bfd_mach_k1om_intel_syntax. + + * i386-gen.c (cpu_flag_init): Set CPU_UNKNOWN_FLAGS to + ~(CpuL1OM|CpuK1OM). Add CPU_K1OM_FLAGS. + (cpu_flags): Add CpuK1OM. + + * i386-opc.h (CpuK1OM): New. + (i386_cpu_flags): Add cpuk1om. + + * i386-init.h: Regenerated. + * i386-tbl.h: Likewise. + +2011-07-12 Nick Clifton <nickc@redhat.com> + + * arm-dis.c (print_insn_arm): Revert previous, undocumented, + accidental change. + +2011-07-01 Nick Clifton <nickc@redhat.com> + + PR binutils/12329 + * avr-dis.c (avr_operand): Fix disassembly of ELPM, LPM and SPM + insns using post-increment addressing. + +2011-06-30 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (vex_len_table): Update rorxS. + +2011-06-30 H.J. Lu <hongjiu.lu@intel.com> + + AVX Programming Reference (June, 2011) + * i386-dis.c (vex_len_table): Correct rorxS. + + * i386-opc.tbl: Correct rorx. + * i386-tbl.h: Regenerated. + +2011-06-29 H.J. Lu <hongjiu.lu@intel.com> + + * tilegx-opc.c (find_opcode): Replace "index" with "i". + * tilepro-opc.c (find_opcode): Likewise. + +2011-06-29 Richard Sandiford <rdsandiford@googlemail.com> + + * mips16-opc.c (jalrc, jrc): Move earlier in file. + +2011-06-21 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (prefix_table): Re-indent PREFIX_VEX_0F388C and + PREFIX_VEX_0F388E. + +2011-06-17 Andreas Schwab <schwab@redhat.com> + + * Makefile.am (MAINTAINERCLEANFILES): Move s390-opc.tab ... + (MOSTLYCLEANFILES): ... here. + * Makefile.in: Regenerate. + +2011-06-14 Alan Modra <amodra@gmail.com> + + * Makefile.in: Regenerate. + +2011-06-13 Walter Lee <walt@tilera.com> + + * Makefile.am (TARGET_LIBOPCODES_CFILES): Add tilegx-dis.c, + tilegx-opc.c, tilepro-dis.c, and tilepro-opc.c. + * Makefile.in: Regenerate. + * configure.in: Handle bfd_tilegx_arch and bfd_tilepro_arch. + * configure: Regenerate. + * disassemble.c (disassembler): Add ARCH_tilegx and ARCH_tilepro. + * po/POTFILES.in: Regenerate. + * tilegx-dis.c: New file. + * tilegx-opc.c: New file. + * tilepro-dis.c: New file. + * tilepro-opc.c: New file. + +2011-06-10 H.J. Lu <hongjiu.lu@intel.com> + + AVX Programming Reference (June, 2011) + * i386-dis.c (XMGatherQ): New. + * i386-dis.c (EXxmm_mb): New. + (EXxmm_mb): Likewise. + (EXxmm_mw): Likewise. + (EXxmm_md): Likewise. + (EXxmm_mq): Likewise. + (EXxmmdw): Likewise. + (EXxmmqd): Likewise. + (VexGatherQ): Likewise. + (MVexVSIBDWpX): Likewise. + (MVexVSIBQWpX): Likewise. + (xmm_mb_mode): Likewise. + (xmm_mw_mode): Likewise. + (xmm_md_mode): Likewise. + (xmm_mq_mode): Likewise. + (xmmdw_mode): Likewise. + (xmmqd_mode): Likewise. + (ymmxmm_mode): Likewise. + (vex_vsib_d_w_dq_mode): Likewise. + (vex_vsib_q_w_dq_mode): Likewise. + (MOD_VEX_0F385A_PREFIX_2): Likewise. + (MOD_VEX_0F388C_PREFIX_2): Likewise. + (MOD_VEX_0F388E_PREFIX_2): Likewise. + (PREFIX_0F3882): Likewise. + (PREFIX_VEX_0F3816): Likewise. + (PREFIX_VEX_0F3836): Likewise. + (PREFIX_VEX_0F3845): Likewise. + (PREFIX_VEX_0F3846): Likewise. + (PREFIX_VEX_0F3847): Likewise. + (PREFIX_VEX_0F3858): Likewise. + (PREFIX_VEX_0F3859): Likewise. + (PREFIX_VEX_0F385A): Likewise. + (PREFIX_VEX_0F3878): Likewise. + (PREFIX_VEX_0F3879): Likewise. + (PREFIX_VEX_0F388C): Likewise. + (PREFIX_VEX_0F388E): Likewise. + (PREFIX_VEX_0F3890..PREFIX_VEX_0F3893): Likewise. + (PREFIX_VEX_0F38F5): Likewise. + (PREFIX_VEX_0F38F6): Likewise. + (PREFIX_VEX_0F3A00): Likewise. + (PREFIX_VEX_0F3A01): Likewise. + (PREFIX_VEX_0F3A02): Likewise. + (PREFIX_VEX_0F3A38): Likewise. + (PREFIX_VEX_0F3A39): Likewise. + (PREFIX_VEX_0F3A46): Likewise. + (PREFIX_VEX_0F3AF0): Likewise. + (VEX_LEN_0F3816_P_2): Likewise. + (VEX_LEN_0F3819_P_2): Likewise. + (VEX_LEN_0F3836_P_2): Likewise. + (VEX_LEN_0F385A_P_2_M_0): Likewise. + (VEX_LEN_0F38F5_P_0): Likewise. + (VEX_LEN_0F38F5_P_1): Likewise. + (VEX_LEN_0F38F5_P_3): Likewise. + (VEX_LEN_0F38F6_P_3): Likewise. + (VEX_LEN_0F38F7_P_1): Likewise. + (VEX_LEN_0F38F7_P_2): Likewise. + (VEX_LEN_0F38F7_P_3): Likewise. + (VEX_LEN_0F3A00_P_2): Likewise. + (VEX_LEN_0F3A01_P_2): Likewise. + (VEX_LEN_0F3A38_P_2): Likewise. + (VEX_LEN_0F3A39_P_2): Likewise. + (VEX_LEN_0F3A46_P_2): Likewise. + (VEX_LEN_0F3AF0_P_3): Likewise. + (VEX_W_0F3816_P_2): Likewise. + (VEX_W_0F3818_P_2): Likewise. + (VEX_W_0F3819_P_2): Likewise. + (VEX_W_0F3836_P_2): Likewise. + (VEX_W_0F3846_P_2): Likewise. + (VEX_W_0F3858_P_2): Likewise. + (VEX_W_0F3859_P_2): Likewise. + (VEX_W_0F385A_P_2_M_0): Likewise. + (VEX_W_0F3878_P_2): Likewise. + (VEX_W_0F3879_P_2): Likewise. + (VEX_W_0F3A00_P_2): Likewise. + (VEX_W_0F3A01_P_2): Likewise. + (VEX_W_0F3A02_P_2): Likewise. + (VEX_W_0F3A38_P_2): Likewise. + (VEX_W_0F3A39_P_2): Likewise. + (VEX_W_0F3A46_P_2): Likewise. + (MOD_VEX_0F3818_PREFIX_2): Removed. + (MOD_VEX_0F3819_PREFIX_2): Likewise. + (VEX_LEN_0F60_P_2..VEX_LEN_0F6D_P_2): Likewise. + (VEX_LEN_0F70_P_1..VEX_LEN_0F76_P_2): Likewise. + (VEX_LEN_0FD1_P_2..VEX_LEN_0FD5_P_2): Likewise. + (VEX_LEN_0FD7_P_2_M_1..VEX_LEN_0F3819_P_2_M_0): Likewise. + (VEX_LEN_0F381C_P_2..VEX_LEN_0F3840_P_2): Likewise. + (VEX_LEN_0F3A0E_P_2): Likewise. + (VEX_LEN_0F3A0F_P_2): Likewise. + (VEX_LEN_0F3A42_P_2): Likewise. + (VEX_LEN_0F3A4C_P_2): Likewise. + (VEX_W_0F3818_P_2_M_0): Likewise. + (VEX_W_0F3819_P_2_M_0): Likewise. + (prefix_table): Updated. + (three_byte_table): Likewise. + (vex_table): Likewise. + (vex_len_table): Likewise. + (vex_w_table): Likewise. + (mod_table): Likewise. + (putop): Handle "LW". + (intel_operand_size): Handle xmm_mb_mode, xmm_mw_mode, + xmm_md_mode, xmm_mq_mode, xmmdw_mode, xmmqd_mode, ymmxmm_mode, + vex_vsib_d_w_dq_mode, vex_vsib_q_w_dq_mode. + (OP_EX): Likewise. + (OP_E_memory): Handle vex_vsib_d_w_dq_mode and + vex_vsib_q_w_dq_mode. + (OP_XMM): Handle vex_vsib_q_w_dq_mode. + (OP_VEX): Likewise. + + * i386-gen.c (cpu_flag_init): Add CpuAVX2 to CPU_ANY_SSE_FLAGS + and CPU_ANY_AVX_FLAGS. Add CPU_BMI2_FLAGS, CPU_LZCNT_FLAGS, + CPU_INVPCID_FLAGS and CPU_AVX2_FLAGS. + (cpu_flags): Add CpuAVX2, CpuBMI2, CpuLZCNT and CpuINVPCID. + (opcode_modifiers): Add VecSIB. + + * i386-opc.h (CpuAVX2): New. + (CpuBMI2): Likewise. + (CpuLZCNT): Likewise. + (CpuINVPCID): Likewise. + (VecSIB128): Likewise. + (VecSIB256): Likewise. + (VecSIB): Likewise. + (i386_cpu_flags): Add cpuavx2, cpubmi2, cpulzcnt and cpuinvpcid. + (i386_opcode_modifier): Add vecsib. + + * i386-opc.tbl: Add invpcid, AVX2 and BMI2 instructions. + * i386-init.h: Regenerated. + * i386-tbl.h: Likewise. + +2011-06-03 Quentin Neill <quentin.neill@amd.com> + + * i386-gen.c (cpu_flag_init): Add CpuF16C to CPU_BDVER2_FLAGS. + * i386-init.h: Regenerated. + +2011-06-03 Nick Clifton <nickc@redhat.com> + + PR binutils/12752 + * arm-dis.c (print_insn_coprocessor): Use bfd_vma type for + computing address offsets. + (print_arm_address): Likewise. + (print_insn_arm): Likewise. + (print_insn_thumb16): Likewise. + (print_insn_thumb32): Likewise. + +2011-06-02 Jie Zhang <jie@codesourcery.com> + Nathan Sidwell <nathan@codesourcery.com> + Maciej Rozycki <macro@codesourcery.com> + + * arm-dis.c (print_insn_coprocessor): Explicitly print #-0 + as address offset. + (print_arm_address): Likewise. Elide positive #0 appropriately. + (print_insn_arm): Likewise. + +2011-06-02 Nick Clifton <nickc@redhat.com> + + PR gas/12752 + * arm-dis.c (print_insn_thumb32): Do not sign extend addresses + passed to print_address_func. + +2011-06-02 Nick Clifton <nickc@redhat.com> + + * arm-dis.c: Fix spelling mistakes. + * op/opcodes.pot: Regenerate. + +2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * s390-opc.c: Replace S390_OPERAND_REG_EVEN with + S390_OPERAND_REG_PAIR. Fix INSTR_RRF_0UFEF instruction type. + * s390-opc.txt: Fix cxr instruction type. + +2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * s390-opc.c: Add new instruction types marking register pair + operands. + * s390-opc.txt: Match instructions having register pair operands + to the new instruction types. + +2011-05-19 Nick Clifton <nickc@redhat.com> + + * v850-opc.c (cmpf.[sd]): Reverse the order of the reg1 and reg2 + operands. + +2011-05-10 Quentin Neill <quentin.neill@amd.com> + + * i386-gen.c (cpu_flag_init): Add new CPU_BDVER2_FLAGS. + * i386-init.h: Regenerated. + +2011-04-27 Nick Clifton <nickc@redhat.com> + + * po/da.po: Updated Danish translation. + +2011-04-26 Anton Blanchard <anton@samba.org> + + * ppc-opc.c: (powerpc_opcodes): Enable icswx for POWER7. + +2011-04-21 DJ Delorie <dj@redhat.com> + + * rx-decode.opc (rx_decode_opcode): Set the syntax for multi-byte NOPs. + * rx-decode.c: Regenerate. + +2011-04-20 H.J. Lu <hongjiu.lu@intel.com> + + * i386-init.h: Regenerated. + +2011-04-19 Quentin Neill <quentin.neill@amd.com> + + * i386-gen.c (cpu_flag_init): Remove 3dnow and 3dnowa bits + from bdver1 flags. + +2011-04-13 Nick Clifton <nickc@redhat.com> + + * v850-dis.c (disassemble): Always print a closing square brace if + an opening square brace was printed. + +2011-04-12 Nick Clifton <nickc@redhat.com> + + PR binutils/12534 + * arm-dis.c (thumb32_opcodes): Add %L suffix to LDRD and STRD insn + patterns. + (print_insn_thumb32): Handle %L. + +2011-04-11 Julian Brown <julian@codesourcery.com> + + * arm-dis.c (psr_name): Fix typo for BASEPRI_MAX. + (print_insn_thumb32): Add APSR bitmask support. + +2011-04-07 Paul Carroll<pcarroll@codesourcery.com> + + * arm-dis.c (print_insn): init vars moved into private_data structure. + +2011-03-24 Mike Frysinger <vapier@gentoo.org> + + * bfin-dis.c (decode_dsp32mac_0): Move MM zeroing down to MAC0 logic. + +2011-03-22 Eric B. Weddington <eric.weddington@atmel.com> + + * avr-dis.c (avr_operand): Add opcode_str parameter. Check for + post-increment to support LPM Z+ instruction. Add support for 'E' + constraint for DES instruction. + (print_insn_avr): Adjust calls to avr_operand. Rename variable. + +2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> + + * arm-dis.c (get_sym_code_type): Treat STT_GNU_IFUNCs as code. + +2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> + + * arm-dis.c (get_sym_code_type): Don't check for STT_ARM_TFUNC. + Use branch types instead. + (print_insn): Likewise. + +2011-02-28 Maciej W. Rozycki <macro@codesourcery.com> + + * mips-opc.c (mips_builtin_opcodes): Correct register use + annotation of "alnv.ps". + +2011-02-28 Maciej W. Rozycki <macro@codesourcery.com> + + * mips-opc.c (mips_builtin_opcodes): Add "pref" macro. + +2011-02-22 Mike Frysinger <vapier@gentoo.org> + + * bfin-dis.c (OUTS): Remove p NULL check and txt NUL check. + +2011-02-22 Mike Frysinger <vapier@gentoo.org> + + * bfin-dis.c (print_insn_bfin): Change outf->fprintf_func to OUTS. + +2011-02-19 Mike Frysinger <vapier@gentoo.org> + + * bfin-dis.c (saved_state): Mark static. Change a[01]x to ax[] and + a[01]w to aw[]. Delete ac0, ac0_copy, ac1, an, aq, av0, av0s, av1, + av1s, az, cc, v, v_copy, vs, rnd_mod, v_internal, pc, ticks, insts, + exception, end_of_registers, msize, memory, bfd_mach. + (CCREG, PCREG, A0XREG, A0WREG, A1XREG, A1WREG, LC0REG, LT0REG, + LB0REG, LC1REG, LT1REG, LB1REG): Delete + (AXREG, AWREG, LCREG, LTREG, LBREG): Define. + (get_allreg): Change to new defines. Fallback to abort(). + +2011-02-14 Mike Frysinger <vapier@gentoo.org> + + * bfin-dis.c: Add whitespace/parenthesis where needed. + +2011-02-14 Mike Frysinger <vapier@gentoo.org> + + * bfin-dis.c (decode_LoopSetup_0): Return when reg is greater + than 7. + +2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * configure: Regenerate. + +2011-02-13 Mike Frysinger <vapier@gentoo.org> + + * bfin-dis.c (decode_dsp32alu_0): Fix typo with A1 reg. + +2011-02-13 Mike Frysinger <vapier@gentoo.org> + + * bfin-dis.c (decode_dsp32mult_0): Add 1 to dst for mac1. Output + dregs only when P is set, and dregs_lo otherwise. + +2011-02-13 Mike Frysinger <vapier@gentoo.org> + + * bfin-dis.c (decode_dsp32alu_0): Delete BYTEOP2M code. + +2011-02-12 Mike Frysinger <vapier@gentoo.org> + + * bfin-dis.c (decode_pseudoDEBUG_0): Add space after PRNT. + +2011-02-12 Mike Frysinger <vapier@gentoo.org> + + * bfin-dis.c (machine_registers): Delete REG_GP. + (reg_names): Delete "GP". + (decode_allregs): Change REG_GP to REG_LASTREG. + +2011-02-12 Mike Frysinger <vapier@gentoo.org> + + * bfin-dis.c (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, + M_IH, M_IU): Delete. + +2011-02-11 Mike Frysinger <vapier@gentoo.org> + + * bfin-dis.c (reg_names): Add const. + (decode_dregs_lo, decode_dregs_hi, decode_dregs, decode_dregs_byte, + decode_pregs, decode_iregs, decode_mregs, decode_dpregs, decode_gregs, + decode_regs, decode_regs_lo, decode_regs_hi, decode_statbits, + decode_counters, decode_allregs): Likewise. + +2011-02-09 Michael Snyder <msnyder@vmware.com> + + * i386-dis.c (OP_J): Parenthesize expression to prevent + truncated addresses. + (print_insn): Fix indentation off-by-one. + +2011-02-01 Nick Clifton <nickc@redhat.com> + + * po/da.po: Updated Danish translation. + +2011-01-21 Dave Murphy <davem@devkitpro.org> + + * ppc-opc.c (NON32, NO371): Remove PPC_OPCODE_PPCPS. + +2011-01-18 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (sIbT): New. + (b_T_mode): Likewise. + (dis386): Replace sIb with sIbT on "pushT". + (x86_64_table): Replace sIb with Ib on "aam" and "aad". + (OP_sI): Handle b_T_mode. Properly sign-extend byte. + +2011-01-18 Jan Kratochvil <jan.kratochvil@redhat.com> + + * i386-init.h: Regenerated. + * i386-tbl.h: Regenerated + +2011-01-17 Quentin Neill <quentin.neill@amd.com> + + * i386-dis.c (REG_XOP_TBM_01): New. + (REG_XOP_TBM_02): New. + (reg_table): Add REG_XOP_TBM_01 and REG_XOP_TBM_02 tables. + (xop_table): Redirect to REG_XOP_TBM_01 and REG_XOP_TBM_02 + entries, and add bextr instruction. + + * i386-gen.c (cpu_flag_init): Add CPU_TBM_FLAGS, CpuTBM. + (cpu_flags): Add CpuTBM. + + * i386-opc.h (CpuTBM) New. + (i386_cpu_flags): Add bit cputbm. + + * i386-opc.tbl: Add bextr, blcfill, blci, blcic, blcmsk, + blcs, blsfill, blsic, t1mskc, and tzmsk. + +2011-01-12 DJ Delorie <dj@redhat.com> + + * rx-dis.c (print_insn_rx): Support RX_Operand_TwoReg. + +2011-01-11 Mingjie Xing <mingjie.xing@gmail.com> + + * mips-dis.c (print_insn_args): Adjust the value to print the real + offset for "+c" argument. + +2011-01-10 Nick Clifton <nickc@redhat.com> + + * po/da.po: Updated Danish translation. + +2011-01-05 Nathan Sidwell <nathan@codesourcery.com> + + * arm-dis.c (thumb32_opcodes): BLX must have bit zero clear. + +2011-01-04 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (REG_VEX_38F3): New. + (PREFIX_0FBC): Likewise. + (PREFIX_VEX_38F2): Likewise. + (PREFIX_VEX_38F3_REG_1): Likewise. + (PREFIX_VEX_38F3_REG_2): Likewise. + (PREFIX_VEX_38F3_REG_3): Likewise. + (PREFIX_VEX_38F7): Likewise. + (VEX_LEN_38F2_P_0): Likewise. + (VEX_LEN_38F3_R_1_P_0): Likewise. + (VEX_LEN_38F3_R_2_P_0): Likewise. + (VEX_LEN_38F3_R_3_P_0): Likewise. + (VEX_LEN_38F7_P_0): Likewise. + (dis386_twobyte): Use PREFIX_0FBC. + (reg_table): Add REG_VEX_38F3. + (prefix_table): Add PREFIX_0FBC, PREFIX_VEX_38F2, + PREFIX_VEX_38F3_REG_1, PREFIX_VEX_38F3_REG_2, + PREFIX_VEX_38F3_REG_3 and PREFIX_VEX_38F7. + (vex_table): Use PREFIX_VEX_38F2, REG_VEX_38F3 and + PREFIX_VEX_38F7. + (vex_len_table): Add VEX_LEN_38F2_P_0, VEX_LEN_38F3_R_1_P_0, + VEX_LEN_38F3_R_2_P_0, VEX_LEN_38F3_R_3_P_0 and + VEX_LEN_38F7_P_0. + + * i386-gen.c (cpu_flag_init): Add CPU_BMI_FLAGS. + (cpu_flags): Add CpuBMI. + + * i386-opc.h (CpuBMI): New. + (i386_cpu_flags): Add cpubmi. + + * i386-opc.tbl: Add andn, bextr, blsi, blsmsk, blsr and tzcnt. + * i386-init.h: Regenerated. + * i386-tbl.h: Likewise. + +2011-01-04 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (VexGdq): New. + (OP_VEX): Handle dq_mode. + +2011-01-01 H.J. Lu <hongjiu.lu@intel.com> + + * i386-gen.c (process_copyright): Update copyright to 2011. + +For older changes see ChangeLog-2010 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: |