From: H.J. Lu Date: Wed, 8 Jan 2014 13:32:12 +0000 (-0800) Subject: New Year - binutils ChangeLog rotation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5fb776a6371f2122e891467a8fe9b4d7b8b5c6a4;p=binutils-gdb.git New Year - binutils ChangeLog rotation --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 894b0b90742..7ea72c0c85f 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -31,3235 +31,9 @@ (bfd_create): Likewise. (_bfd_delete_bfd): Free filename. -2013-12-30 Ilya Tocar - - * peXXigen.c (rsrc_process_section): Use ptrdiff_t as the type for - pointer arithmetic. - -2013-12-20 Alan Modra - - * elf-eh-frame.c (cie_eq): Return false when initial_insn_length - is too large. - (cie_compute_hash): Don't exceed bounds of initial_instructions. - (_bfd_elf_parse_eh_frame): Always set initial_insn_length, and - save as much of insns to initial_instructions[] as will fit. - -2013-12-19 H.J. Lu - - PR binutils/16317 - * elf.c (assign_section_numbers): Set the SHF_INFO_LINK bit for - SHT_REL/SHT_RELA sections when setting the sh_info field. - -2013-12-19 Pierre Muller - - * peXXigen.c (rsrc_cmp): Fix unused variable warning. - -2013-12-19 Pierre Muller - - * peXXigen.c (u16_mbtouc): Avoid unused function warning by excluding - if __CYGWIN__ or __MINGW32__ macro is defined. - (rsrc_cmp): Fix Windows host version and version without wchar header. - [__CYGWIN__, __MINGW32__]: Introduce rsrccmp macro. - Fix coding standard issues. - -2013-12-19 Andreas Schwab - - * elf32-m68k.c (elf_m68k_add_symbol_hook): New function. - (elf_backend_add_symbol_hook): Define. - -2013-12-18 Nick Clifton - - * peXXigen.c (rsrc_print_section): Use ptrdiff_t as the type for - pointer arithmetic. - -2013-12-17 H.J. Lu - - * elf32-arm.c (elf32_arm_post_process_headers): Call - _bfd_elf_post_process_headers. - -2013-12-17 H.J. Lu - - * elf32-spu.c (spu_elf_post_process_headers): Call - _bfd_elf_post_process_headers. - * elfxx-mips.c (_bfd_mips_post_process_headers): Likewise. - -2013-12-17 H.J. Lu - - * elf-bfd.h (_bfd_elf_set_osabi): Renamed to ... - (_bfd_elf_post_process_headers): This. - * elf.c (_bfd_elf_compute_section_file_positions): Always - call elf_backend_post_process_headers. - (_bfd_elf_set_osabi): Renamed to ... - (_bfd_elf_post_process_headers): This. - * elf32-hppa.c (elf_backend_post_process_headers): Removed. - * elf32-i370.c (elf_backend_post_process_headers): Likewise. - * elf32-msp430.c (elf_backend_post_process_headers): Likewise. - * elf32-ppc.c (elf_backend_post_process_headers): Likewise. - * elf32-sparc.c (elf_backend_post_process_headers): Likewise. - * elf64-hppa.c (elf_backend_post_process_headers): Likewise. - * elf64-ppc.c (elf_backend_post_process_headers): Likewise. - * elf64-sparc.c (elf_backend_post_process_headers): Likewise. - * elf64-x86-64.c (elf_backend_post_process_headers): Likewise. - * (elf_backend_post_process_headers): Likewise. - * (elf_backend_post_process_headers): Likewise. - * elf32-i386.c (elf_backend_post_process_headers): Don't - define as _bfd_elf_set_osabi. - (elf_i386_fbsd_post_process_headers): Updated. - * elf32-mips.c (elf_fbsd_post_process_headers): Removed. - (elf_backend_post_process_headers): Likewise. - * elf32-tic6x.c (elf32_tic6x_set_osabi): Removed. - (elf_backend_post_process_headers): Likewise. - * elf64-mips.c (elf_fbsd_post_process_headers): Removed. - (elf_backend_post_process_headers): Likewise. - * elfn32-mips.c (elf_fbsd_post_process_headers): Removed. - (elf_backend_post_process_headers): Likewise. - * elfnn-aarch64.c (elfNN_aarch64_post_process_headers): Updated. - * elfxx-target.h (elf_backend_post_process_headers): Default - to _bfd_elf_post_process_headers. - -2013-12-17 H.J. Lu - - PR binutils/16318 - * elf32-arm.c (elf32_arm_copy_private_bfd_data): Call - _bfd_elf_copy_private_bfd_data. - * elf32-bfin.c (bfin_elf_copy_private_bfd_data): Removed. - (elf32_bfinfdpic_copy_private_bfd_data): Likewise. - (bfd_elf32_bfd_copy_private_bfd_data): Don't define. - * elf32-frv.c (frv_elf_copy_private_bfd_data): Removed. - (elf32_frvfdpic_copy_private_bfd_data): Likewise. - (bfd_elf32_bfd_copy_private_bfd_data): Don't define. - * elf32-iq2000.c (iq2000_elf_copy_private_bfd_data): Removed. - (bfd_elf32_bfd_copy_private_bfd_data): Don't define. - * elf32-lm32.c (lm32_elf_copy_private_bfd_data): Removed. - (lm32_elf_fdpic_copy_private_bfd_data): Call - _bfd_elf_copy_private_bfd_data. - * elf32-mep.c (mep_elf_copy_private_bfd_data): Removed. - (bfd_elf32_bfd_copy_private_bfd_data): Don't define. - * elf32-msp430.c (elf32_msp430_copy_private_bfd_data): Removed. - (bfd_elf32_bfd_copy_private_bfd_data): Don't define. - * elf32-mt.c (mt_elf_copy_private_bfd_data): Removed. - (bfd_elf32_bfd_copy_private_bfd_data): Don't define. - * elf32-sh.c (sh_elf_set_private_flags): Removed. - (sh_elf_copy_private_data): Call _bfd_elf_copy_private_bfd_data - and sh_elf_set_mach_from_flags. - * elfnn-aarch64.c (elfNN_aarch64_copy_private_bfd_data): Removed. - (bfd_elfNN_bfd_copy_private_bfd_data): Don't define. - -2013-12-17 H.J. Lu - - * peXXigen.c (rsrc_process_section): Rename index to indx. - -2013-12-17 Nick Clifton - - * peXXigen.c: Include wchar.h if available. - Include safe-ctype.h. - (HighBitSet, SetHighBit, WithoutHighBit): New macros. - (pe_print_resource_entries): Rename to - rsrc_print_resource_entries. Handle names that are not RVAs. - (pe_print_resource_directory): Rename to - rsrc_print_resource_directory. - (pe_print_rsrc): Rename to rsrc_print_section. Corrupt - computation of RVA bias. - (rsrc_count_entries): New function. - (rsrc_count_directory): New function. - (rsrc_parse_entry): New function. - (rsrc_parse_entries): New function. - (rsrc_parse_directory): New function. - (rsrc_write_string): New function. - (rsrc_compute_rva): New function. - (rsrc_write_leaf): New function. - (rsrc_write_entry): New function. - (rsrc_write_directory): New function. - (u16_mbtouc): New function. - (rsrc_cmp): New function. - (rsrc_print_name): New function. - (rsrc_resource_name): New function. - (rsrc_merge_string_entries): New function. - (rsrc_sort_entries): New function. - (rsrc_attach_chain): New function. - (rsrc_merge): New function. - (rsrc_process_section): New function - merges the contents of a - .rsrc section. - (_bfd_XXi_final_link_postscript): Call rsrc_process_section. - (rsrc_print_section): Fix mingw64 size issue. - - * configure.in (AC_CHECK_HEADERS): Add wchar.h - * config.in: Regenerate. - * configure: Regenerate. - -2013-12-16 Andreas Schwab - - * elf64-ppc.c (ppc64_elf_relocate_section): Add newline to error - message. - -2013-12-14 Alan Modra - - * elflink.c (_bfd_elf_merge_symbol): If merging a new weak - symbol that will be skipped, we don't have a new definition. - -2013-12-13 Kuan-Lin Chen - Wei-Cheng Wang - - * Makefile.am (BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Add nds32 - files. - * Makefile.in: Regenerate. - * archures.c (bfd_nds32_arch): Add nds32 target. - * bfd-in2.h: Regenerate. - * config.bfd (nds32*le-*-linux): Add bfd_elf32_nds32lelin_vec - and bfd_elf32_nds32belin_vec. - (nds32*be-*-linux*): Likewise. - (nds32*le-*-*): Add bfd_elf32_nds32le_vec and bfd_elf32_nds32be_vec. - (nds32*be-*-*): Likewise. - * configure.in (bfd_elf32_nds32be_vec): Add elf32-nds32.lo. - (bfd_elf32_nds32le_vec): Likewise. - (bfd_elf32_nds32belin_vec): Likewise. - (bfd_elf32_nds32lelin_vec): Likewise. - * configure: Regenerate. - * cpu-nds32.c: New file for nds32. - * elf-bfd.h: Add NDS32_ELF_DATA. - * elf32-nds32.c: New file for nds32. - * elf32-nds32.h: New file for nds32. - * libbfd.h: Regenerate. - * reloc.c: Add relocations for nds32. - * targets.c (bfd_elf32_nds32be_vec): New declaration for nds32. - (bfd_elf32_nds32le_vec): Likewise. - (bfd_elf32_nds32belin_vec): Likewise. - (bfd_elf32_nds32lelin_vec): Likewise. - -2013-12-12 H.J. Lu - - PR binutils/16318 - * elf.c (_bfd_elf_copy_private_bfd_data): Remove BFD_ASSERT. - Set e_flags only if elf_flags_init is FALSE. Copy EI_OSABI - field. - -2013-12-12 H.J. Lu - - * elf32-sh.c (bfd_elf32_bfd_set_private_bfd_flags): Removed. - -2013-12-12 H.J. Lu - - * elf.c (assign_file_positions_except_relocs): Set e_type in ELF - header to ET_EXEC for -pie -Ttext-segment=. - -2013-12-08 Alan Modra - - * elflink.c (_bfd_elf_add_default_symbol): Set dynamic_def - and ref_dynamic_nonweak when chaining together indirect - symbols. - -2013-12-06 Tristan Gingold - - * pei-x86_64.c (pex64_xdata_print_uwd_codes): Add argument rf. - Display epilog opcode. - (pex64_dump_xdata): Add argument rf; make addr a local variable. - Adjust call to pex64_xdata_print_uwd_codes. - (pex64_bfd_print_pdata): Display code range, adjust call to - -2013-12-05 Tristan Gingold - - * mach-o.c (bfd_mach_o_mkobject_init): Use bfd_zalloc. - -2013-12-03 Nick Clifton - - * peXXigen.c (pe_print_resource_entries): New function: Displays - an entry in a .rsrc section. - (pe_print_resource_directory): New function: Displays a directory - in a .rsrc section. - (pe_print_rsrc): New function: Displays the contents of .rsrc - section. - (_bfd_XX_print_private_bfd_data_common): Call pe_print_rsrc. - -2013-12-03 Alan Modra - - * elf64-ppc.c (ppc_build_one_stub ): - Don't omit saving of r2 for ELFv2. Don't addi 2,2,0. - (ppc_size_one_stub ): Adjust to suit. - -2013-12-03 Alan Modra - - * elf64-ppc.c (ppc64_elf_link_just_syms): Remove .got check. - Handle ELFv2. - -2013-11-26 Will Newton - - * elfnn-aarch64.c (elfNN_aarch64_finish_dynamic_symbol): - Handle STT_GNU_IFUNC symbols correctly in static links. - -2013-11-26 Will Newton - - * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Ensure - PLT_INDEX is calculated using correct header size. - -2013-11-22 Cory Fields - - * libcoff-in.h: Add insert_timestamp flag to the pe_data struct. - * libcoff.h: Regenerate. - * peXXigen.c (_bfd_XXi_only_swap_filehdr_out): Only use a real - timestamp if --insert-timestamp was used. - -2013-11-19 Roland McGrath - - * elf-nacl.c (nacl_modify_segment_map): Calculate SIZEOF_HEADERS - when not doing linking (i.e. INFO is a null pointer). - -2013-11-19 H.J. Lu - - * elf64-x86-64.c (elf_x86_64_section_from_shdr): Re-indent. - -2013-11-17 H.J. Lu - - * elf64-x86-64.c (x86_64_elf_howto_table): Add R_X86_64_PC32_BND - and R_X86_64_PLT32_BND. - (R_X86_64_standard): Replace R_X86_64_RELATIVE64 with - R_X86_64_PLT32_BND. - (IS_X86_64_PCREL_TYPE): Add R_X86_64_PLT32_BND. - (x86_64_reloc_map): Add BFD_RELOC_X86_64_PC32_BND and - BFD_RELOC_X86_64_PLT32_BND. - (elf_x86_64_check_relocs): Handle R_X86_64_PC32_BND and - R_X86_64_PLT32_BND. - (elf_x86_64_gc_sweep_hook): Likewise. - (elf_x86_64_relocate_section): Likewise. - * reloc.c (bfd_reloc_code_real): Add BFD_RELOC_X86_64_PC32_BND - and BFD_RELOC_X86_64_PLT32_BND. - * bfd-in2.h: Regenerated. - * libbfd.h: Likewise. - -2013-11-15 H.J. Lu - - * elf32-i386.c (elf_i386_allocate_dynrelocs): Make room for - PLT0 directly. - * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise. - -2013-11-14 Nick Clifton - - PR ld/16017 - * elf32-arm.c (elf32_arm_populate_plt_entry): Return a boolean - value, TRUE for success, FALSE for failure. - Fail if attempting to create a PLT entry for a thumb only target. - (elf32_arm_final_link_relocate): Check result of calling - elf32_arm_populate_plt_entry. - (elf32_arm_finish_dynamic_symbol): Likewise. - -2013-11-14 Guy Martin - - PR ld/16082 - * elf32-hppa.c (elf32_hppa_hide_symbol): Remove old version - information when forcing a symbol to be local. - -2013-11-13 Yufeng Zhang - - * elfnn-aarch64.c (elfNN_aarch64_howto_table): Use - R_AARCH64_TLS_DTPMOD64 instead of R_AARCH64_TLS_DTPMOD; - likewise for R_AARCH64_TLS_DTPREL and R_AARCH64_TLS_TPREL. - -2013-11-12 Matthew Leach - - * elfxx-aarch64.c (_bfd_aarch64_elf_grok_prstatus): Fix hard-coded - size of struct elf_prstatus. - -2013-11-11 Alan Modra - - * elf64-ppc.c (allocate_dynrelocs): Revert 2013-11-04 change. - -2013-11-11 Ulrich Weigand - - * elf64-ppc.c (ppc64_elf_edit_toc): Use SYMBOL_REFERENCES_LOCAL - here, not SYMBOL_CALLS_LOCAL. - (ppc64_elf_relocate_section): Likewise. - (size_global_entry_stubs): Set undefined symbols on their global - entry stubs here.. - (build_global_entry_stubs): ..rather than here. - (ppc64_elf_build_stubs): Don't reset glink->size before calling - build_global_entry_stubs. - -2013-11-07 Roland McGrath - - * archures.c (bfd_mach_i386_nacl): Fix definition so it doesn't - collide with bfd_mach_l1om. - * bfd-in2.h: Regenerate. - - * elf32-i386.c (elf32_i386_nacl_elf_object_p): New function. - (elf_backend_object_p): Use that in elf32-i386-nacl definition. - * elf64-x86-64.c (elf64_x86_64_nacl_elf_object_p): New function. - (elf_backend_object_p): Use that in elf64-x86-64-nacl definition. - (elf32_x86_64_nacl_elf_object_p): New function. - (elf_backend_object_p): Use that in elf32-x86-64-nacl definition. - -2013-11-05 DJ Delorie - - * elf32-rl78.c (elf32_rl78_relax_delete_bytes): Make sure relocs - are loaded before trying to use them. - -2013-11-05 H.J. Lu - Bernhard Rosenkränzer - - PR ld/4409 - * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): Add an argument for - error ignored. - * elf-m10200.c (mn10200_elf_relocate_section): Updated. - * elf-m10300.c (mn10300_elf_relocate_section): Likewise. - * elf32-arm.c (elf32_arm_relocate_section): Likewise. - * elf32-avr.c (elf32_avr_relocate_section): Likewise. - * elf32-bfin.c (bfinfdpic_relocate_section): Likewise. - (bfin_relocate_section): Likewise. - * elf32-cr16.c (elf32_cr16_relocate_section): Likewise. - * elf32-cr16c.c (elf32_cr16c_relocate_section): Likewise. - * elf32-cris.c (cris_elf_relocate_section): Likewise. - * elf32-crx.c (elf32_crx_relocate_section): Likewise. - * elf32-d10v.c (elf32_d10v_relocate_section): Likewise. - * elf32-epiphany.c (epiphany_elf_relocate_section): Likewise. - * elf32-fr30.c (fr30_elf_relocate_section): Likewise. - * elf32-frv.c (elf32_frv_relocate_section): Likewise. - * elf32-h8300.c (elf32_h8_relocate_section): Likewise. - * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. - * elf32-i386.c (elf_i386_relocate_section): Likewise. - * elf32-i860.c (elf32_i860_relocate_section): Likewise. - * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise. - * elf32-iq2000.c (iq2000_elf_relocate_section): Likewise. - * elf32-lm32.c (lm32_elf_relocate_section): Likewise. - * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Likewise. - * elf32-m68k.c (elf_m68k_relocate_section): Likewise. - * elf32-metag.c (elf_metag_relocate_section): Likewise. - * elf32-microblaze.c (microblaze_elf_relocate_section): Likewise. - * elf32-mcore.c (mcore_elf_relocate_section): Likewise. - * elf32-mep.c (mep_elf_relocate_section): Likewise. - * elf32-moxie.c (moxie_elf_relocate_section): Likewise. - * elf32-msp430.c (elf32_msp430_relocate_section): Likewise. - * elf32-mt.c (mt_elf_relocate_section): Likewise. - * elf32-nios2.c (nios2_elf32_relocate_section): Likewise. - * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. - * elf32-ppc.c (ppc_elf_relocate_section): Likewise. - * elf32-rl78.c (rl78_elf_relocate_section): Likewise. - * elf32-rx.c (rx_elf_relocate_section): Likewise. - * elf32-tic6x.c (elf32_tic6x_relocate_section): Likewise. - * elf32-tilepro.c (tilepro_elf_relocate_section): Likewise. - * elf32-s390.c (elf_s390_relocate_section): Likewise. - * elf32-v850.c (v850_elf_relocate_section): Likewise. - * elf32-vax.c (elf_vax_relocate_section): Likewise. - * elf32-xc16x.c (elf32_xc16x_relocate_section): Likewise. - * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. - * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise. - * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. - * elf64-ia64-vms.c (elf64_ia64_relocate_section): Likewise. - * elf64-mmix.c (mmix_elf_relocate_section): Likewise. - * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. - * elf64-s390.c (elf_s390_relocate_section): Likewise. - * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. - * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise. - * elfxx-tilegx.c (tilegx_elf_relocate_section): Likewise. - * elfnn-aarch64.c (elfNN_aarch64_relocate_section): Likewise. - - * elfnn-ia64.c (elfNN_ia64_relocate_section): Skip if error - from RELOC_FOR_GLOBAL_SYMBOL in executable is ignored. - -2013-11-05 Alan Modra - - * elf64-ppc.c (ppc64_elf_func_desc_adjust): Make .TOC. defined and - hidden. - (ppc64_elf_set_toc): Adjust. - -2013-11-05 Alan Modra - - * elf64-ppc.c (struct ppc_link_hash_table): Remove got, plt, relplt, - iplt, reliplt. Update all references to use elf.sgot, elf.splt, - elf.srelplt, elf.iplt and elf.irelplt. - -2013-11-03 Sandra Loosemore - - * elf32-niso2.c (nios2_elf32_do_hi16_relocate): Remove incorrect - ATTRIBUTE_UNUSED from parameter. - (nios2_elf_do_lo16_relocate): Likewise. - (nios2_elf32_do_hiadj16_relocate): Likewise. - (nios2_elf32_do_pcrel_lo16_relocate): Likewise. - (nios2_elf32_do_pcrel_hiadj16_relocate): Likewise. - (nios2_elf32_do_pcrel16_relocate): Likewise. - (nios2_elf32_do_call26_relocate): Likewise. - (nios2_elf32_do_gprel_relocate): Likewise. - (nios2_elf32_do_ujmp_relocate): Likewise. - (nios2_elf32_do_cjmp_relocate): Likewise. - (nios2_elf32_do_callr_relocate): Likewise. - (nios2_elf32_gc_mark_hook): Likewise. - -2013-11-04 Alan Modra - - * elf64-ppc.c (ppc64_elf_relocate_section): Edit global entry - prologue to non-PIC in non-PIC executables. - -2013-11-04 Alan Modra - - * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Copy - pointer_equality_needed flag. - (ppc64_elf_check_relocs): For ELFv2 arrange to emit plt - entries for references to functions in shared libraries on - non-call relocs. - (readonly_dynrelocs): Split into function of the same name and.. - (maybe_set_textrel): ..this new function. Update call. - (ppc64_elf_adjust_dynamic_symbol): Don't emit dynrelocs for - ELFv2 in most cases if we have a plt entry. Use new - readonly_relocs. - (allocate_dynrelocs): For ELFv2, don't allocate dynreloc space - for ifunc in static executables. - (size_global_entry_stubs): New function. - (ppc64_elf_size_dynamic_sections): Call size_global_entry_stubs. - Save end of glink branch table. - (ppc64_elf_hash_symbol): New function. - (build_global_entry_stubs): New function. - (ppc64_elf_build_stubs): Call build_global_entry_stubs. Adjust - glink sizing. - (ppc64_elf_relocate_section): Tidy plt16/32/64 reloc code. - (ppc64_elf_finish_dynamic_symbol): For ELFv2, adjust symbols - defined on plt code. - -2013-11-02 Alan Modra - - * opncls.c (_bfd_new_bfd): Don't init vars already zeroed. - -2013-11-02 Alan Modra - - * elf64-ppc.c (ppc64_elf_next_input_section): Always set toc_off - to value for object file. - -2013-11-01 Roland McGrath - - * elf-nacl.c (segment_eligible_for_headers): Drop requirement that - some section have SEC_HAS_CONTENTS set. It's not set for - .note.gnu.build-id, and a segment of only read-only SHT_NOBITS - sections is implausible and not really supportable anyway. - -2013-10-30 Alan Modra - - * elf32-ppc.c (ppc_elf_size_dynamic_sections): Use new DT_PPC_OPT - tag to specify tls optimisation. - * elf64-ppc.c (ppc64_elf_size_dynamic_sections): Likewise. - (ppc64_elf_finish_dynamic_sections): Specify whether multiple - toc pointers are used via DT_PPC64_OPT. - -2013-10-30 Alan Modra - - * elf64-ppc.c (STK_LR, STK_TOC, STK_LINKER): Define. - (savegpr0_tail, restgpr0_tail, savefpr0_tail, restfpr0_tail) - build_plt_stub, build_tls_get_addr_stub, ppc_build_one_stub, - ppc64_elf_relocate_section): Use new defines. - -2013-10-30 Alan Modra - - * elf64-ppc.c (PLT_ENTRY_SIZE, PLT_INITIAL_ENTRY_SIZE): Add htab - parameter and adjust for ELFv2. Update all uses. - (PLT_CALL_STUB_SIZE): Delete. - (ppc64_elf_get_synthetic_symtab): Support new glink layout. - (allocate_dynrelocs): Likewise. - (plt_stub_size, build_plt_stub): Adjust for ELFv2. - (get_r2off): Return 0 for ELFv2 -R. - (ppc_build_one_stub, ppc_size_one_stub): Adjust for ELFv2. - (ppc64_elf_size_stubs): Likewise. - (ppc64_elf_build_stubs): Add new ELFv2 glink. - -2013-10-30 Alan Modra - Ulrich Weigand - - * elf64-ppc.c (struct ppc_stub_hash_entry): Add "other". - (stub_hash_newfunc): Init new ppc_stub_hash_entry field, and one - we forgot, "plt_ent". - (ppc64_elf_add_symbol_hook): Check ELFv1 objects don't have - st_other bits only valid in ELFv2. - (ppc64_elf_merge_symbol_attribute): New function. - (ppc_type_of_stub): Add local_off param to test branch range. - (ppc_build_one_stub): Adjust destinations for ELFv2 locals. - (ppc_size_one_stub, toc_adjusting_stub_needed): Similarly. - (ppc64_elf_size_stubs): Pass local_off to ppc_type_of_stub. - Set "other" field. - (ppc64_elf_relocate_section): Adjust destination for ELFv2 local - calls. - -2013-10-30 Alan Modra - - * elf64-ppc.c (abiversion, set_abiversion): New functions. - (ppc64_elf_get_synthetic_symtab): Handle ELFv2 objects without .opd. - (struct ppc_link_hash_table): Add opd_abi. - (ppc64_elf_check_relocs): Check no .opd with ELFv2. - (ppc64_elf_merge_private_bfd_data): New function. - (ppc64_elf_print_private_bfd_data): New function. - (ppc64_elf_tls_setup): Set htab->opd_abi. - (ppc64_elf_size_dynamic_sections): Don't emit OPD related dynamic - tags for ELFv2. - (ppc_build_one_stub): Use R_PPC64_IRELATIVE for ELFv2 ifunc. - (ppc64_elf_finish_dynamic_symbol): Likewise - -2013-10-30 Alan Modra - - * elf64-ppc.c (build_plt_stub): Switch stubs to use r11 as base - reg and r12 as destination. - (ppc_build_one_stub): Likewise. - (ppc64_elf_build_stubs): Likewise for glink. - -2013-10-30 Alan Modra - - * reloc.c (BFD_RELOC_PPC64_ADDR16_HIGH, BFD_RELOC_PPC64_ADDR16_HIGHA, - BFD_RELOC_PPC64_TPREL16_HIGH, BFD_RELOC_PPC64_TPREL16_HIGHA, - BFD_RELOC_PPC64_DTPREL16_HIGH, BFD_RELOC_PPC64_DTPREL16_HIGHA): New. - * elf64-ppc.c (ppc64_elf_howto_raw): Add entries for new relocs. - Make all _HA and _HI relocs report signed overflow. - (ppc64_elf_reloc_type_lookup): Handle new relocs. - (must_be_dyn_reloc, ppc64_elf_check_relocs): Likewise. - (dec_dynrel_count, ppc64_elf_relocate_section): Likewise. - (ppc64_elf_relocate_section): Don't apply 0x8000 adjust to - R_PPC64_TPREL16_HIGHER, R_PPC64_TPREL16_HIGHEST, - R_PPC64_DTPREL16_HIGHER, and R_PPC64_DTPREL16_HIGHEST. - * libbfd.h: Regenerate. - * bfd-in2.h: Regenerate. - -2013-10-29 Roland McGrath - - * elf64-x86-64.c (elf_x86_64_nacl_plt0_entry): Correct 9-byte nop - sequence to match what the assembler generates. - -2013-10-29 Jan Beulich - - * elflink.c (struct elf_outext_info): Add field file_sym_done. - (bfd_elf_final_link): Initialize new field. Move fake STT_FILE - symbol emission from here ... - (elf_link_output_extsym): ... to here. - -2013-10-24 Nick Clifton - - PR binutils/15994 - * dwarf2.c (lookup_address_in_line_info_table): Change return type - to be the range of addresses covered by the table. - (comp_unit_find_nearest_line): Likewise. - (find_line): Search all CUs. Select the one that matches and - covers the smallest address range. - -2013-10-18 Hans-Peter Nilsson - - * elf32-cris.c (cris_elf_check_relocs): Don't assume - a registered dynobj means that a .got has been created. - -2013-10-17 Alan Modra - - PR 16056 - * elf.c (copy_elf_program_header): Only consider SEC_ALLOC sections - when finding lowest_section. - -2013-10-14 Chao-ying Fu - - * elfxx-mips.c (mips_elf_obj_tdata): Add abi_msa_bfd. - (mips_elf_merge_obj_attributes): Set abi_msa_bfd to the first object - file that has a Tag_GNU_MIPS_ABI_MSA attribute. - Merge Tag_GNU_MIPS_ABI_MSA attributes. - -2013-10-14 Nick Clifton - - * gen-aout.c (main): Fix formatting. Close file. - -2013-10-13 Richard Sandiford - - * elfxx-mips.c (mips_use_local_got_p): New function. - (mips_elf_count_got_symbols, mips_elf_calculate_relocation): Use it. - (_bfd_mips_elf_check_relocs): Set pointer_equality_needed for - GOT and absolute references. - -2013-10-09 Roland McGrath - - * elf64-alpha.c (elf64_alpha_relax_tls_get_addr): Cast switch - expression to int to silence over-eager compiler warnings. - - * xcofflink.c (_bfd_xcoff_bfd_final_link): Don't touch EREL in - loop that doesn't use (or initialize) it. - - * elfxx-tilegx.c (tilegx32_plt_tail_entry, tilegx32_plt_tail_entry): - Move second const qualifier so it applies to the pointer. - -2013-10-09 Nick Clifton - - PR binutils/16022 - * elf32-rx.c (rx_dump_symtab): Add missing break statements. - -2013-10-09 Tom Tromey - - * opncls.c (get_alt_debug_link_info_shim): Update type of 'len'. - -2013-10-09 Nick Clifton - - PR ld/16021 - * elf32-rl78.c (rl78_dump_symtab): Delete. - (rl78_get_reloc): Delete. - -2013-10-09 Tom Tromey - - * bfd-in2.h: Rebuild. - * opncls.c (bfd_get_alt_debug_link_info): Change type of - buildid_len to bfd_size_type. - -2013-10-09 Sergio Durigan Junior - - PR binutils/15993 - * elf32-m32c.c (dump_symtab): Add missing "break;" statement on each - "case". Reindent "switch" statements. - -2013-10-08 Tom Tromey - - * bfd-in2.h: Rebuild. - * opncls.c (bfd_get_alt_debug_link_info): Add buildid_len - parameter. Change type of buildid_out. Update. - (get_alt_debug_link_info_shim): New function. - (bfd_follow_gnu_debuglink): Use it. - -2013-10-08 Andreas Schwab - - * elf32-m68k.c (elf_m68k_size_dynamic_sections): Add DT_DEBUG also - for PIE executables. - -2013-10-04 Jan-Benedict Glaw - - * configure: Regenerate. - -2013-10-03 Will Newton - - * configure: Regenerate. - * configure.in: Build elf-ifunc.o for AArch64. - * elfnn-aarch64.c: Include objalloc.h. - (elfNN_aarch64_local_htab_hash): New function. - (elfNN_aarch64_local_htab_eq): New function. - (elfNN_aarch64_get_local_sym_hash): New function. - (elfNN_aarch64_link_hash_table_create): Initialize local STT_GNU_IFUNC - symbol hash. - (elfNN_aarch64_hash_table_free): Free local STT_GNU_IFUNC symbol hash. - (elfNN_aarch64_final_link_relocate): Add sym argument. Add support - for handling STT_GNU_IFUNC symbols. - (elfNN_aarch64_gc_sweep_hook): Add support for garbage collecting - references to STT_GNU_IFUNC symbols. - (elfNN_aarch64_adjust_dynamic_symbol): Add support for handling - STT_GNU_IFUNC symbols. - (elfNN_aarch64_check_relocs): Add support for handling STT_GNU_IFUNC - symbols. Ensure we don't increase plt.refcount from -1 to 0. - (elfNN_aarch64_post_process_headers): Call _bfd_elf_set_osabi. - (elfNN_aarch64_is_function_type): Remove function. - (elfNN_aarch64_allocate_dynrelocs): Handle STT_GNU_IFUNC symbols. - (elfNN_aarch64_allocate_ifunc_dynrelocs): New function. - (elfNN_aarch64_allocate_local_dynrelocs): New function. - (elfNN_aarch64_allocate_local_ifunc_dynrelocs): New function. - (elfNN_aarch64_size_dynamic_sections): Call - elfNN_aarch64_allocate_local_dynrelocs. - (elfNN_aarch64_create_small_pltn_entry): Add info argument. - Add support for creating .iplt entries for STT_GNU_IFUNC symbols. - (elfNN_aarch64_finish_dynamic_symbol): Add support for handling - STT_GNU_IFUNC symbols and .iplt. - (elfNN_aarch64_finish_local_dynamic_symbol): New function. - (elfNN_aarch64_finish_dynamic_sections): Call - elfNN_aarch64_finish_local_dynamic_symbol. - -2013-09-30 Nick Clifton - - * cpu-msp430.c: Use printable names that match the values - displayed by readelf. - -2013-08-25 Andrew Pinski - - * elfnn-aarch64.c (TCB_SIZE): Base on the ARCH_SIZE rather than a - fixed size of 16. - -2013-09-24 Gregory Fong - - * elfxx-mips.c (mips_elf_create_got_section): Hide - _GLOBAL_OFFSET_TABLE_. - -2013-09-24 Alan Modra - - * elf32-mips.c (ELF_OSABI): Undef for vxworks. - -2013-09-24 Alan Modra - - * syms.c (_bfd_stab_section_find_nearest_line): Ignore partial - stabs at end of .stab. Tidy variable usage. Don't drop the need - for a NULL function name stab if If N_FUN stab is ignored. - Ensure index entry count loop matches write loop. - -2013-09-20 Alan Modra - - * configure: Regenerate. - -2013-09-18 Tristan Gingold - - * configure.in: Bump version to 2.24.51 - * configure: Regenerate. - -2013-09-17 Doug Gilmore - - * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): Handle - EF_MIPS_FP64. - -2013-08-31 John David Anglin - - * elf64-hppa.c (elf_hppa_final_link_relocate): Add missing '%' to - format string. - -2013-08-29 Jakub Jelinek - - * elf64-x86-64.c (elf_x86_64_check_tls_transition): Allow - 64-bit -mcmodel=large -fpic TLS GD and LD sequences. - (elf_x86_64_relocate_section): Handle -mcmodel=large -fpic - TLS GD and LD sequences in GD->LE, GD->IE and LD->LE transitions. - -2013-08-27 Alan Modra - - * elf-bfd.h (struct elf_backend_data): Remove as_needed_cleanup. - Add notice_as_needed. - * elf64-ppc.c (elf_backend_as_needed_cleanup): Don't define. - (elf_backend_notice_as_needed): Define. - (ppc64_elf_as_needed_cleanup): Rename and adjust.. - (ppc64_elf_notice_as_needed): ..to this. - * elflink.c (_bfd_elf_notice_as_needed): New function, extracted.. - (elf_link_add_object_symbols): ..from here. - * elfxx-target.h (elf_backend_as_needed_cleanup): Don't define. - (elf_backend_notice_as_needed): Define.. - (elfNN_bed): ..and use here. - -2013-08-26 Roland McGrath - - * archures.c (bfd_mach_i386_nacl, bfd_mach_i386_i386_nacl): New macros. - (bfd_mach_x86_64_nacl, bfd_mach_x64_32_nacl): New macros. - * cpu-i386.c (bfd_arch_i386_onebyte_nop_fill): New function. - (bfd_i386_nacl_arch): New variable. - (bfd_x86_64_nacl_arch, bfd_x64_32_nacl_arch): New variables. - (bfd_x64_32_arch_intel_syntax): Link them into the list. - * bfd-in2.h: Regenerate. - -2013-08-26 Roland McGrath - - * elf-nacl.c (nacl_modify_segment_map): Fix logic reordering the - elf_segment_map list. If an executable segment is page-aligned - but does not end with a full page, then append a fake section into - the segment map entry that pads out the page. - (nacl_final_write_processing): New function. Write the code fill - laid out in nacl_modify_segment_map. - * elf-nacl.h: Declare it. - * elf32-arm.c (elf32_arm_nacl_final_write_processing): New function. - (elf_backend_final_write_processing): Define it for NaCl backend. - * elf32-i386.c (elf_backend_final_write_processing): Likewise. - * elf64-x86-64.c (elf_backend_final_write_processing): Likewise. - - * elf-nacl.c (segment_eligible_for_headers): Rename MAXPAGESIZE - parameter to MINPAGESIZE. - (nacl_modify_segment_map): Use minpagesize instead of maxpagesize. - - * elf32-arm.c (ELF_MINPAGESIZE, ELF_COMMONPAGESIZE): #undef for NaCl. - -2013-08-24 Maciej W. Rozycki - - * elf32-tilepro.c (tilepro_elf_finish_dynamic_sections): Don't - set GOT's entry size if there is no ELF section data. - * elf64-s390.c (elf_s390_finish_dynamic_sections): Likewise. - * elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_sections): - Likewise. - -2013-08-23 H.J. Lu - - * elf64-x86-64.c (get_elf_x86_64_arch_data): New. - (get_elf_x86_64_backend_data): Use it. - (elf_x86_64_size_dynamic_sections): Likewise. - -2013-08-23 Yuri Chornoivan - - PR binutils/15834 - * bfdio.c: Fix typos. - * elf32-spu.c: Likewise. - * elfnn-aarch64.c: Likewise. - -2013-08-21 Tristan Gingold - - * coff-rs6000.c (_bfd_xcoff_sizeof_headers): Also count - .ovrflo sections. - * coffcode.h (coff_compute_section_file_positions): Force - match between file offset and vma offset. - -2013-08-21 Alan Modra - - * elflink.c (_bfd_elf_merge_symbol): Set *poldbfd, *poldweak, - and *poldalignment before exiting when !relocs_compatible. - -2013-08-21 Alan Modra - - * elflink.c (_bfd_elf_define_linkage_sym): Don't set STV_INTERNAL - symbols to STV_HIDDEN. - -2013-08-14 John Tytgat - - PR ld/15787 - * elf32-arm.c (elf32_arm_final_link_relocate): Use origin of output - segment containing the relocating symbol instead of assuming 0 for - sb group relocations. - -2013-08-09 Nick Clifton - - * elf32-rl78.c (rl78_elf_merge_private_bfd_data): Complain if G10 - flag bits do not match. - (rl78_elf_print_private_bfd_data): Describe G10 flag. - -2013-08-05 John Tytgat - - * po/BLD-POTFILES.in: Regenerate. - * po/SRC-POTFILES.in: Likewise. - -2013-07-31 John Tytgat - - PR ld/15787 - * elf32-arm.c (elf32_arm_final_link_relocate): Base SB on the - output section VMA. - -2013-07-28 Maciej W. Rozycki - - * elf64-hppa.c (elf64_hppa_finish_dynamic_sections) - : Return unsuccessfully if there's no `.data' - section. - -2013-07-27 Andrew Pinski - - * elfnn-aarch64.c (elfNN_aarch64_check_relocs): - Use the correct alignment for - _bfd_elf_make_dynamic_reloc_section for ILP32. - -2013-07-27 Andrew Pinski - - * elfnn-aarch64.c (elfNN_aarch64_howto_from_bfd_reloc): Handle - BFD_RELOC_AARCH64_NONE explicitly. - -2013-07-27 Maciej W. Rozycki - - * elf32-vax.c (elf_vax_finish_dynamic_sections): Don't set GOT's - entry size if there is no ELF section data. - -2013-07-27 Maciej W. Rozycki - - * elf32-vax.c (elf_vax_check_relocs) : - Don't check symbol visibility here. Remove a check already - asserted for. - (elf_vax_instantiate_got_entries): Use SYMBOL_REFERENCES_LOCAL - instead of individual checks. - (elf_vax_relocate_section) : Only - check the offset to decide if produce a GOT or PLT entry. - Remove redundant assertions. Remove code to produce GOT entries - for local symbols. Remove a duplicate comment and add a comment - on GOT relocations. - (elf_vax_finish_dynamic_symbol): Remove code to produce RELATIVE - dynamic relocs. - -2013-07-27 Maciej W. Rozycki - - * elf32-vax.c (elf_vax_always_size_sections): Correct a comment - typo. - -2013-07-27 Maciej W. Rozycki - - * elf32-vax.c (elf_vax_discard_got_entries): New function. - (elf_vax_always_size_sections): Likewise. - (elf_vax_size_dynamic_sections): Remove code moved to - elf_vax_always_size_sections. Make comment on - elf_vax_instantiate_got_entries match reality. - (elf_vax_instantiate_got_entries): Assert that rather than check - if dynobj is null. Don't check for dynamic_sections_created. - Make function description match reality. - (elf_backend_always_size_sections): New macro. - -2013-07-25 Alan Modra - - * elf64-ppc.c (struct ppc64_elf_obj_tdata): Replace opd_relocs - with a union. - (opd_entry_value): Cache .opd section contents. - (ppc64_elf_relocate_section): Adjust. - -2013-07-25 Alan Modra - - PR ld/15762 - PR ld/12761 - * elflink.c (elf_link_add_object_symbols): Correct test in - last patch. Remove unnecessary code. - -2013-07-24 Tristan Gingold - - * coff-rs6000.c (xcoff_howto_table): Fix masks and pc_relative for - R_RBR. Add numbers in comments. - (_bfd_xcoff_reloc_type_lookup): Handle BFD_RELOC_PPC_B16. - * coff64-rs6000.c: Likewise. - -2013-07-20 Alan Modra - - PR ld/15762 - PR ld/12761 - * elflink.c (elf_link_add_object_symbols): Don't clobber - .gnu.warning.symbol sections when shared. - -2013-07-19 Nick Clifton - - * elf32-rx.c (rx_elf_relocate_section): Fix typo: move - saw_subtract from R_RX_OPdiv to R_RX_OPneg. - -2013-07-18 Travis Snoozy - - PR ld/15721 - * elf32-msp430.c (R_MSP430_10_PCREL): Use 10-bit source and - destination masks. - * R_MSP430_2X_PCREL: Likewise. - * R_MSP430X_10_PCREL: Likewise. - * R_MSP430X_2X_PCREL: Likewise. - -2013-07-18 Terry Guo - - * elf32-arm.c (arm_type_of_stub): Don't use ST_BRANCH_TO_ARM for - thumb only targets. - (elf32_arm_final_link_relocate): Likewise. - -2013-07-18 Bill Neubauer - - * mach-o.c (mach_o_section_name_xlat dw): Add entry for - .debug_gdb_scripts - -2013-07-18 Roland McGrath - - * elf32-arm.c (elf32_arm_stub_long_branch_arm_nacl): New variable. - (elf32_arm_stub_long_branch_arm_nacl_pic): New variable. - (arm_build_one_stub): Increase MAXRELOCS to 3. - (arm_type_of_stub): Use them if GLOBALS->nacl_p. - (struct elf32_arm_link_hash_table): Give add_stub_section member's - pointee type a third argument. - (elf32_arm_create_or_find_stub_sec): Update caller. - (elf32_arm_size_stubs): Update argument type. - * bfd-in.h (elf32_arm_size_stubs): Update decl. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - -2013-07-15 Maciej W. Rozycki - - * elfxx-mips.c (mips_elf_merge_obj_attributes): Replace hardcoded - magic numbers with enum values. - -2013-07-12 Roland McGrath - - * reloc.c: Add BFD_RELOC_390_PC12DBL, BFD_RELOC_390_PLT12DBL, - BFD_RELOC_390_PC24DBL, BFD_RELOC_390_PLT24DBL (should have - been added here with 2013-07-05 elf32-s390.c change). - * bfd-in2.h: Regenerate (no-op). - * libbfd.h: Regenerate (no-op). - -2013-07-12 Maciej W. Rozycki - - * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Handle - EF_MIPS_NAN2008. - (_bfd_mips_elf_print_private_bfd_data): Likewise. - -2013-07-09 Tristan Gingold - - * vms-alpha.c (struct vms_private_data_struct): Remove - flag_hash_long_names and flag_show_after_trunc. - (hash_string): Remove. - (_bfd_vms_length_hash_symbol): Remove. - (alpha_vms_write_exec): Remove call to _bfd_vms_length_hash_symbol. - (_bfd_vms_write_egsd): Likewise. Rewrite condition. - (_bfd_vms_write_ehdr): Remove code that set removed flags. - (_bfd_vms_write_etir): Remove call to _bfd_vms_length_hash_symbol. - (vms_bfd_is_local_label_name): Remove trace call. - -2013-07-09 Tristan Gingold - - * hosts/alphavms.h: Include config.h and ansidecl.h, remove useless - macros. - * configure.com: Adjust to match changes in configure. - * makefile.vms (OBJS): Update list. - -2013-07-05 Tristan Gingold - - * coffcode.h (coff_write_object_contents): Use ".ovrflo" name for - overflow sections. - -2013-07-05 Andreas Krebbel - - * elf32-s390.c: Add new relocation definitions R_390_PC12DBL, - R_390_PLT12DBL, R_390_PC24DBL, and R_390_PLT24DBL. - (elf_s390_reloc_type_lookup, elf_s390_check_relocs) - (elf_s390_gc_sweep_hook, elf_s390_relocate_section): Support new - relocations. - * elf64-s390.c: See elf32-s390.c - * bfd-in2.h: Add new relocs to enum bfd_reloc_code_real. - * libbfd.h: Add new reloc strings. - -2013-07-03 Marcus Shawcroft - - * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Reorder case - values. - (elfNN_aarch64_relocate_section): Likewise. - (elfNN_aarch64_gc_sweep_hook): Likewise. - (elfNN_aarch64_check_relocs): Likewise. - -2013-07-03 Alan Modra - - * elf64-ppc.c (ppc64_elf_func_desc_adjust): Don't hide .TOC. - when relocatable. Don't change root.type or type here. - (ppc64_elf_set_toc): Set type of .TOC. to STT_OBJECT. - -2013-07-03 Alan Modra - - * elf64-ppc.c (struct ppc_stub_hash_entry): Delete "addend". - (ppc64_elf_size_stubs): Don't set "addend". - (ppc64_elf_relocate_section): Don't allow calls via - toc-adjusting stubs without a following nop even in an - executable, except for self-calls and both libc_start_main - and .libc_start_main. - -2013-07-03 Alan Modra - - * elf64-ppc.c (ppc64_elf_func_desc_adjust): Hide ".TOC.". - -2013-07-02 Tristan Gingold - - * coff-rs6000.c (xcoff_find_nearest_line_discriminator): Add missing - line. - -2013-07-02 Tristan Gingold - - * vms-alpha.c (_bfd_generic_find_nearest_line_discriminator): Define. - (_bfd_vms_find_nearest_line_discriminator): New function. - -2013-07-02 Tristan Gingold - - * coff-rs6000.c (xcoff_create_csect_from_smclas): Handle more smclas. - -2013-07-02 Tristan Gingold - - * coff-rs6000.c (xcoff_find_nearest_line_discriminator): New function. - (rs6000coff_vec): Reference it. - -2013-07-02 Marcus Shawcroft - - * elfnn-aarch64.c (aarch64_elf_create_got_section): New. - (elfNN_aarch64_check_relocs): Use aarch64_elf_create_got_section. - (elfNN_aarch64_create_dynamic_sections): Do not define - _GLOBAL_OFFSET_TABLE_; call aarch64_elf_create_got_section. - -2013-07-02 Alan Modra - - * elf64-ppc.c (ppc64_elf_relocate_section): Set "relocation" for - .TOC. after relocatable check. - -2013-07-01 Alan Modra - - * elf64-ppc.h (ppc64_elf_toc): Delete. - (ppc64_elf_set_toc): Declare. - * elf64-ppc.c (ppc64_elf_toc_reloc): Replace call to ppc64_elf_toc - with call the ppc64_elf_set_toc. - (ppc64_elf_toc_ha_reloc, ppc64_elf_toc64_reloc): Likewise. - (ppc64_elf_start_multitoc_partition): Likewise. - (struct ppc_link_hash_table): Delete dot_toc_dot. Replace all uses - with elf.hgot. - (ppc64_elf_process_dot_syms): Don't make a fake function descriptor - for ".TOC.". - (ppc64_elf_check_relocs): Mark sections with a reference to .TOC. - as needing a toc pointer. - (ppc64_elf_size_stubs): Don't set dot_toc_dot here. - (ppc64_elf_set_toc): Rename from ppc64_elf_toc. Add info param. - Set elf.hgot value. - -2013-06-28 H.J. Lu - - PR ld/15685 - * elf64-x86-64.c (elf_x86_64_relocate_section): Handle - R_X86_64_DTPOFF64. - -2013-06-28 Nick Clifton - - PR ld/15302 - * elf32-arm.c (allocate_dynrelocs_for_symbol): Revert previous patch. - -2013-06-27 Marcus Shawcroft - - * elfnn-aarch64.c (elfNN_aarch64_check_relocs): Reserve one slot - in sgot. - (elfNN_aarch64_finish_dynamic_sections): Place the &_DYNAMIC reference - in sgot[0] rather than sgotplt[0]. - -2013-06-26 Yufeng Zhang - - * Makefile.am (elf32-aarch64.c): Add a #line cpp directive at the - beginning of the generated file. - (elf64-aarch64.c): Likewise. - * Makefile.in: Re-generated. - -2013-06-26 Yufeng Zhang - - * Makefile.am (BFD64_BACKENDS): Add elfxx-aarch64.c. - (BFD64_BACKENDS_CFILES): Add elfxx-aarch64.lo. - * Makefile.in: Re-generated. - * configure.in (bfd_elf64_bigaarch64_vec): Add elfxx-aarch64.lo. - (bfd_elf64_littleaarch64_vec): Likewise. - (bfd_elf32_bigaarch64_vec): Likewise. - (bfd_elf32_littleaarch64_vec): Likewise. - * configure: Re-generated. - * elfxx-aarch64.c: New file; split from elf64-aarch64.c. - * elfxx-aarch64.h: New file. - * elfnn-aarch64.c: Include "elfxx-aarch64.h"; move the following - stuff to elfxx-aarch64.c. - (bfd_elf_aarch64_put_addend): Removed. - (PG_OFFSET, PG): Likewise. - (elfNN_aarch64_small_plt0_entry): Support ELF32. - (elfNN_aarch64_tlsdesc_small_plt_entry): Likewise. - (elf64_aarch64_grok_prstatus): Removed. - (elf_backend_grok_prstatus): Removed. - (insn32): Likewise. - (aarch64_unsigned_overflow): Likewise. - (aarch64_signed_overflow): Likewise. - (aarch64_resolve_relocation): Likewise. - (MASK): Likewise. - (decode_branch_ofs_26): Likewise. - (decode_cond_branch_ofs_19): Likewise. - (decode_ld_lit_ofs_19): Likewise. - (decode_tst_branch_ofs_14): Likewise. - (decode_movw_imm): Likewise. - (decode_adr_imm): Likewise. - (decode_add_imm): Likewise. - (reencode_branch_ofs_26): Likewise. - (reencode_cond_branch_ofs_19): Likewise. - (reencode_ld_lit_ofs_19): Likewise. - (reencode_tst_branch_ofs_14): Likewise. - (reencode_movw_imm): Likewise. - (reencode_adr_imm): Likewise. - (reencode_ldst_pos_imm): Likewise. - (reencode_add_imm): Likewise. - (reencode_movzn_to_movz): Likewise. - (reencode_movzn_to_movn): Likewise. - (aarch64_relocate): Update to call the new function names in - elfxx-aarch64.c. - (aarch64_calculate_got_entry_vma): Likewise. - (elfNN_aarch64_final_link_relocate): Likewise. - (elf64_aarch64_update_plt_entry): Likewise; change the type of the - parameter 'r_type' to bfd_reloc_code_real_type; rename to ... - (elf_aarch64_update_plt_entry): ... this. - (elfNN_aarch64_create_small_pltn_entry): Update. - (elfNN_aarch64_init_small_plt0_entry): Remove plt_got_base; add - bfd_vma plt_got_2nd_ent; update to call elf_aarch64_update_plt_entry. - (elfNN_aarch64_finish_dynamic_sections): Add plt_entry; update to - call elf_aarch64_update_plt_entry. - -2013-06-26 Yufeng Zhang - - * bfd-in2.h: Re-generated. - * elfnn-aarch64.c (HOWTO64, HOWTO32): New define. - (IS_AARCH64_TLS_RELOC): Change to be based on the - bfd reloc enumerators. - (IS_AARCH64_TLSDESC_RELOC): Likewise. - (PG, PG_OFFSET): Cast literal to bfd_vma. - (elf64_aarch64_howto_table): Removed. - (elf64_aarch64_howto_dynrelocs): Removed. - (elf64_aarch64_tls_howto_table): Removed. - (elf64_aarch64_tlsdesc_howto_table): Removed. - (elfNN_aarch64_howto_table): New table to host all howto entires.. - (R_AARCH64_*): Replaced by AARCH64_R (*) and AARCH64_R_STR (*). - (elfNN_aarch64_bfd_reloc_from_howto): New function. - (elfNN_aarch64_bfd_reloc_from_type): Ditto. - (struct elf_aarch64_reloc_map): New. - (elf_aarch64_reloc_map): New table. - (elfNN_aarch64_howto_from_bfd_reloc): New function. - (elfNN_aarch64_howto_from_type): Update to look up the new table - elfNN_aarch64_howto_table. - (struct elf64_aarch64_reloc_map): Remove. - (elf64_aarch64_reloc_map): Remove. - (elfNN_aarch64_reloc_type_lookup): Change to call - elfNN_aarch64_howto_from_bfd_reloc. - (elfNN_aarch64_reloc_name_lookup): Change to look up the new table - elfNN_aarch64_howto_table. - (aarch64_resolve_relocation): Refactor to switch on the bfd - reloc enumerators. - (bfd_elf_aarch64_put_addend): Likewise. - (elfNN_aarch64_final_link_relocate): Likewise. - (aarch64_tls_transition_without_check): Likewise. - (aarch64_reloc_got_type): Likewise. - (aarch64_can_relax_tls): Likewise. - (aarch64_tls_transition): Likewise. - (elfNN_aarch64_tls_relax): Likewise. - (elfNN_aarch64_final_link_relocate): Likewise. - (elfNN_aarch64_relocate_section): Likewise. - (elfNN_aarch64_gc_sweep_hook): Likewise. - (elfNN_aarch64_check_relocs): Likewise. - (aarch64_tls_transition): Change to return a bfd reloc enumerator. - * libbfd.h: Re-generated. - * reloc.c: Re-order the AArch64 bfd reloc enumerators. - (BFD_RELOC_AARCH64_RELOC_START) - (BFD_RELOC_AARCH64_RELOC_END) - (BFD_RELOC_AARCH64_LD_GOT_LO12_NC) - (BFD_RELOC_AARCH64_LD32_GOT_LO12_NC) - (BFD_RELOC_AARCH64_TLSDESC_LD_LO12_NC) - (BFD_RELOC_AARCH64_TLSDESC_LD32_LO12_NC) - (BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_LO12_NC) - (BFD_RELOC_AARCH64_TLSIE_LD32_GOTTPREL_LO12_NC) - (BFD_RELOC_AARCH64_IRELATIVE): New relocs. - -2013-06-26 Yufeng Zhang - - * Makefile.am (BFD64_BACKENDS): Add elf32-aarch64.lo. - (BUILD_CFILES): Add elf32-aarch64.c. - (elf32-aarch64.c): New rule for generating from elfnn-aarch64.c. - * Makefile.in: Re-generated. - * archures.c (bfd_mach_aarch64_ilp32): New define. - * bfd-in.h (bfd_elf32_aarch64_init_maps): New declaration. - (bfd_elf32_aarch64_set_options): Ditto. - (elf32_aarch64_setup_section_lists): Ditto. - (elf32_aarch64_next_input_section): Ditto. - (elf32_aarch64_size_stubs): Ditto. - (elf32_aarch64_build_stubs): Ditto. - * bfd-in2.h: Re-generated. - * config.bfd (aarch64-*-elf): Add bfd_elf32_littleaarch64_vec - and bfd_elf32_bigaarch64_vec. - (aarch64-*-linux*): Likewise. - (aarch64_be-*-elf): Likewise. - (aarch64_be-*-linux*): Likewise. - * configure.in (bfd_elf32_bigaarch64_vec) - (bfd_elf32_littleaarch64_vec): New. - * configure: Re-generated. - * cpu-aarch64.c (compatible): Don't allow mixing ilp32 objects with - lp64 ones. - (bfd_aarch64_arch_ilp32): New. - (bfd_aarch64_arch): Link to bfd_aarch64_arch_ilp32. - * elfnn-aarch64.c (ARCH_SIZE): New define. - (AARCH64_R, AARCH64_R_STR, LOG_FILE_ALIGN): New defines. - (GOT_ENTRY_SIZE): Re-define as (ARCH_SIZE / 8). - (elf64_aarch64_*): Rename to elfNN_aarch64_*. - (ELF64_R_*): Rename to ELFNN_R_*. - Plus other paramaterization. - * targets.c (bfd_elf32_bigaarch64_vec, bfd_elf32_littleaarch64_vec): - New declarations. - (_bfd_target_vector): Add bfd_elf32_bigaarch64_vec and - bfd_elf32_littleaarch64_vec. - -2013-06-26 Yufeng Zhang - - * Makefile.am (BFD64_BACKENDS_CFILES): Remove elf64-aarch64.c. - (BUILD_CFILES): Add elf64-aarch64.c. - (elf64-aarch64.c): New rule for generating from elfnn-aarch64.c. - * Makefile.in: Re-generated. - * elf64-aarch64.c: Rename to ... - * elfnn-aarch64.c: ... this. - -2013-06-25 Maciej W. Rozycki - Paul Brook - - * elfxx-mips.h (_bfd_mips_elf_insn32): New prototype. - * elfxx-mips.c (mips_elf_link_hash_table): Add insn32 member. - (STUB_MOVE32_MICROMIPS, STUB_JALR32_MICROMIPS): New macros. - (MICROMIPS_INSN32_FUNCTION_STUB_NORMAL_SIZE): Likewise. - (MICROMIPS_INSN32_FUNCTION_STUB_BIG_SIZE): Likewise. - (micromips_insn32_o32_exec_plt0_entry): New variable. - (micromips_insn32_o32_exec_plt_entry): Likewise. - (_bfd_mips_elf_adjust_dynamic_symbol): Handle insn32 mode. - (mips_elf_estimate_stub_size): Likewise. - (_bfd_mips_elf_size_dynamic_sections): Likewise. - (_bfd_mips_elf_finish_dynamic_symbol): Likewise. - (mips_finish_exec_plt): Likewise. - (_bfd_mips_elf_relax_section): Likewise. - (_bfd_mips_elf_insn32): New function. - (_bfd_mips_elf_get_synthetic_symtab): Handle insn32 PLT. - -2013-06-24 Maciej W. Rozycki - - * elfxx-mips.h (_bfd_mips_elf_get_synthetic_symtab): New - prototype. - * elf32-mips.c (elf_backend_plt_sym_val): Remove macro. - (bfd_elf32_get_synthetic_symtab): New macro. - * elfxx-mips.c (plt_entry): New structure. - (mips_elf_link_hash_entry): Add use_plt_entry member. - (mips_elf_link_hash_table): Rename plt_entry_size member to - plt_mips_entry_size. Add plt_comp_entry_size, plt_mips_offset, - plt_comp_offset, plt_got_index entries and plt_header_is_comp - members. - (STUB_LW_MICROMIPS, STUB_MOVE_MICROMIPS): New macros. - (STUB_LUI_MICROMIPS, STUB_JALR_MICROMIPS): Likewise. - (STUB_ORI_MICROMIPS, STUB_LI16U_MICROMIPS): Likewise. - (STUB_LI16S_MICROMIPS): Likewise. - (MICROMIPS_FUNCTION_STUB_NORMAL_SIZE): Likewise. - (MICROMIPS_FUNCTION_STUB_BIG_SIZE): Likewise. - (micromips_o32_exec_plt0_entry): New variable. - (mips16_o32_exec_plt_entry): Likewise. - (micromips_o32_exec_plt_entry): Likewise. - (mips_elf_link_hash_newfunc): Initialize use_plt_entry. - (mips_elf_output_extsym): Update to use gotplt_union's plist - member rather than offset. - (mips_elf_gotplt_index): Likewise. Remove the VxWorks - restriction. Use MIPS_ELF_GOT_SIZE to calculate GOT address. - (mips_elf_count_got_symbols): Update to use gotplt_union's plist - member rather than offset. - (mips_elf_calculate_relocation): Handle MIPS16/microMIPS PLT - entries. - (_bfd_mips_elf_create_dynamic_sections): Don't set PLT sizes - here. - (mips_elf_make_plt_record): New function. - (_bfd_mips_elf_check_relocs): Update comment. Record occurences - of JAL relocations that might need a PLT entry. - (_bfd_mips_elf_adjust_dynamic_symbol): Update to use - gotplt_union's plist member rather than offset. Set individual - PLT entry sizes here. Handle MIPS16/microMIPS PLT entries. - Don't set the symbol's value in the symbol table for PLT - references here. Don't set the PLT or PLT GOT section sizes - here. - (mips_elf_estimate_stub_size): Handle microMIPS stubs. - (mips_elf_allocate_lazy_stub): Likewise. - (mips_elf_lay_out_lazy_stubs): Likewise. Define a _MIPS_STUBS_ - magic symbol. - (mips_elf_set_plt_sym_value): New function. - (_bfd_mips_elf_size_dynamic_sections): Set PLT header size and - PLT and PLT GOT section sizes here. Set the symbol values in - the symbol table for PLT references here. Handle microMIPS - annotation of the _PROCEDURE_LINKAGE_TABLE_ magic symbol. - (_bfd_mips_elf_finish_dynamic_symbol): Update to use - gotplt_union's plist member rather than offset. Handle - MIPS16/microMIPS PLT entries. Handle microMIPS stubs. - (_bfd_mips_vxworks_finish_dynamic_symbol): Update to use - gotplt_union's plist member rather than offset. Use - MIPS_ELF_GOT_SIZE to calculate GOT address. - (mips_finish_exec_plt): Handle microMIPS PLT. Return status. - (_bfd_mips_elf_finish_dynamic_sections): Handle result from - mips_finish_exec_plt. - (_bfd_mips_elf_link_hash_table_create): Update to use - gotplt_union's plist member rather than offset. - (_bfd_mips_elf_get_synthetic_symtab): New function. - -2013-06-24 Wawa - - PR 15657 - * hash.c (_bfd_stringtab_add): Copy the string if COPY is true. - -2013-06-23 Richard Sandiford - - * Makefile.am (BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Move MIPS ELF - files to... - (BFD64_BACKENDS, BFD64_BACKENDS_CFILES): ...here. - * Makefile.in: Regenerate. - * config.bfd: Enclose all MIPS ELF targets in #ifdef BFD64. - Set want64 to true for them at the end. - * targets.c (_bfd_target_vector): Protect MIPS ELF targets with - #ifdef BFD64. - -2013-06-22 Sandra Loosemore - - * elf32-nios2.c (nios2_elf32_finish_dynamic_sections): Don't - set sh_entsize for PLT section. - -2013-06-20 Yufeng Zhang - - * bfd-in.h (bfd_elf64_aarch64_set_options): Add 'extern'. - * bfd-in2.h: Re-generated. - * elf64-aarch64.c (RELOC_SECTION): Removed. - (SWAP_RELOC_IN, SWAP_RELOC_OUT): Ditto. - (AARCH64_ELF_OS_ABI_VERSION): Ditto. - (elf64_aarch64_link_hash_traverse): Ditto. - (elf64_aarch64_size_stubs): Change 'Aarch64' to 'AArch64' in the - comment. - -2013-06-19 Will Newton - - * configure: Regenerated. - * configure.in: Remove aarch64 dependency on elf-ifunc.c. - * elf64-aarch64.c: Remove objalloc.h include. - (elf64_aarch64_howto_dynrelocs): Remove R_AARCH64_IRELATIVE howto. - (struct elf64_aarch64_link_hash_table): Remove ifunc related - members. (elf_aarch64_local_htab_hash): Remove function. - (elf_aarch64_local_htab_eq): Remove function. - (elf_aarch64_get_local_sym_hash): Remove function. - (elf64_aarch64_link_hash_table_create): Remove local hash - table initialization. - (elf64_aarch64_final_link_relocate): Remove sym argument and - handling of ifunc symbols. - (elf64_aarch64_relocate_section): Don't pass sym argument to - elf64_aarch64_final_link_relocate. - (elf64_aarch64_gc_sweep_hook): Remove handling of ifunc symbols. - (elf64_aarch64_adjust_dynamic_symbol): Likewise. - (elf64_aarch64_check_relocs): Likewise. - (elf64_aarch64_post_process_headers): Remove call to - _bfd_elf_set_osabi. - (elf64_aarch64_is_function_type): New function. - (elf64_aarch64_allocate_dynrelocs): Remove handling of ifunc - symbols. (elf_aarch64_allocate_local_dynrelocs): Remove function. - (elf64_aarch64_size_dynamic_sections): Remove call to - elf_aarch64_allocate_local_dynrelocs. - (elf64_aarch64_create_small_pltn_entry): Remove info argument. - Remove creation of R_AARCH64_IRELATIVE dynamic relocs. - (elf64_aarch64_finish_dynamic_symbol): Remove handling of ifunc - symbols. (elf_aarch64_finish_local_dynamic_symbol): Remove - function. (elf64_aarch64_finish_dynamic_sections): Remove call to - elf_aarch64_finish_local_dynamic_symbol. - (elf64_aarch64_add_symbol_hook): Remove function. - -2013-06-14 Yufeng Zhang - - * elf64-aarch64.c (elf64_aarch64_final_link_relocate): Call - aarch64_resolve_relocation and bfd_elf_aarch64_put_addend to - handle the relocations of R_AARCH64_JUMP26, R_AARCH64_CALL26, - R_AARCH64_LD64_GOT_LO12_NC, R_AARCH64_ADR_GOT_PAGE and - R_AARCH64_GOT_LD_PREL19. - -2013-06-13 Terry Guo - - PR ld/15302 - * elf32-arm.c (allocate_dynrelocs_for_symbol): Transform - ST_BRANCH_TO_ARM into ST_BRANCH_TO_THUMB if the target only - supports thumb instructions. - -2013-06-11 DJ Delorie - - * elf32-rl78.c (rl78_elf_relocate_section): Fix OPsub math. - -2013-06-11 Will Newton - - * elf64-aarch64.c (elf_aarch64_get_local_sym_hash): Use - ELF64_R_SYM instead of ELF32_R_SYM. - -2013-06-11 Nick Clifton - - * elf32-rl78.c (rl78_elf_finish_dynamic_sections): Onlly run - checks if the dynamic sections have been created and relaxation - has not been performed. - -2013-06-07 Will Newton - - * configure: Regenerate. - * configure.in: Build elf-ifunc.o for AArch64. - * elf64-aarch64.c: Include objalloc.h. - (elf64_aarch64_howto_dynrelocs): Add R_AARCH64_IRELATIVE howto. - (struct elf64_aarch64_link_hash_table): Add members for handling - R_AARCH64_IRELATIVE relocations. - (elf_aarch64_local_htab_hash): New function. - (elf_aarch64_local_htab_eq): New function. - (elf_aarch64_get_local_sym_hash): New function. - (elf64_aarch64_link_hash_table_create): Initialize local STT_GNU_IFUNC - symbol hash. - (elf64_aarch64_hash_table_free): Free local STT_GNU_IFUNC symbol hash. - (elf64_aarch64_final_link_relocate): Add sym argument. Add support - for handling STT_GNU_IFUNC symbols. - (elf64_aarch64_gc_sweep_hook): Add support for garbage collecting - references to STT_GNU_IFUNC symbols. - (elf64_aarch64_adjust_dynamic_symbol): Add support for handling - STT_GNU_IFUNC symbols. - (elf64_aarch64_check_relocs): Add support for handling STT_GNU_IFUNC - symbols. Ensure we don't increase plt.refcount from -1 to 0. - (elf64_aarch64_post_process_headers): Call _bfd_elf_set_osabi. - (elf64_aarch64_is_function_type): Remove function. - (elf64_aarch64_allocate_dynrelocs): Call - _bfd_elf_allocate_ifunc_dyn_relocs for STT_GNU_IFUNC symbols. - (elf_aarch64_allocate_local_dynrelocs): New function. - (elf64_aarch64_size_dynamic_sections): Call - elf_aarch64_allocate_local_dynrelocs. Initialize next_irelative_index. - (elf64_aarch64_create_small_pltn_entry): Add info argument. - Add support for creating .iplt entries for STT_GNU_IFUNC symbols. - (elf64_aarch64_finish_dynamic_symbol): Add support for handling - STT_GNU_IFUNC symbols and .iplt. - (elf_aarch64_finish_local_dynamic_symbol): New function. - (elf64_aarch64_finish_dynamic_sections): Call - elf_aarch64_finish_local_dynamic_symbol. - (elf64_aarch64_add_symbol_hook): New function. - -2013-06-03 Alan Modra - - * syms.c (_bfd_stab_section_find_nearest_line): Add last_str - var. Use it with last_stab. - -2013-05-30 Paul Brook - - * bfd-in2.h: Regenerate. - * elf32-mips.c (elf_mips_eh_howto): New. - (bfd_elf32_bfd_reloc_type_lookup ): Support BFD_RELOC_MIPS_EH. - (bfd_elf32_bfd_reloc_name_lookup): Likewise. - (mips_elf32_rtype_to_howto): Support R_MIPS_EH. - * elf64-mips.c (elf_mips_eh_howto): New. - (bfd_elf64_bfd_reloc_type_lookup): Support BFD_RELOC_MIPS_EH. - (bfd_elf64_bfd_reloc_name_lookup): Likewise. - (mips_elf64_rtype_to_howto): Support R_MIPS_EH. - * libbfd.h: Regenerate. - * reloc.c (BFD_RELOC_MIPS_EH): New. - -2013-05-29 Nick Clifton - - * dwarf2.c (struct dwarf2_debug): Add fields for handling - alternate debug info source. - (dwarf_debug_sections): Add entries for alternate .debug_str and - .debug_info sections. - (dwarf_debug_section_enum): Likewise. - (read_alt_indirect_string): New function. Handles a - DW_FORM_GNU_strp_alt attribute. - (read_alt_indirect_ref): New function. Handles a - DW_FORM_GNU_ref_alt attribute. - (read_attribute_value): Process DW_FORM_GNU_ref_alt and - DW_FORM_GNU_strp_alt. - (find_abstract_instance_name): Handle DW_FORM_GNU_ref_alt - attributes. - (_bfd_dwarf2_cleanup_debug_info): Free alternate debug info - sources. - * opncls.c (GNU_DEBUGALTLINK): Define. - (bfd_get_alt_debug_link_info): New function. - (separate_alt_debug_file_exists): New function. - (find_separate_debug_file): Add parameters for fetch and check - functions. - (bfd_follow_gnu_debugaltlink): New function. - * bfd-in2.h: Regenerate. - -2013-05-28 Yufeng Zhang - - * reloc.c (BFD_RELOC_AARCH64_TLSDESC_ADR_PAGE): Rename to ... - (BFD_RELOC_AARCH64_TLSDESC_ADR_PAGE21): ... this. - (BFD_RELOC_AARCH64_TLSDESC_LD64_PREL19): Rename to ... - (BFD_RELOC_AARCH64_TLSDESC_LD_PREL19): ... this. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - * elf64-aarch64.c (IS_AARCH64_TLSDESC_RELOC): Update to use - the correct names. - (elf64_aarch64_tlsdesc_howto_table): Likewise. - (elf64_aarch64_reloc_map): Likewise. - (aarch64_resolve_relocation): Likewise. - (bfd_elf_aarch64_put_addend): Likewise. - (aarch64_tls_transition_without_check): Likewise. - (aarch64_reloc_got_type): Likewise. - (elf64_aarch64_final_link_relocate): Likewise. - (elf64_aarch64_tls_relax): Likewise. - (elf64_aarch64_relocate_section): Likewise. - (elf64_aarch64_gc_sweep_hook): Likewise. - (elf64_aarch64_check_relocs): Likewise. - -2013-05-26 Mark Wielaard - - * cache.c (BFD_CACHE_MAX_OPEN): Remove define. - (max_open_files): New static int initialized to zero. - (bfd_cache_max_open): New static function to set and return - max_open_files. - (bfd_cache_init): Use bfd_cache_max_open. - (bfd_open_file): Likewise. - * configure.in (AC_CHECK_HEADERS): Add sys/resource.h. - (AC_CHECK_FUNCS): Add getrlimit. - * configure: Regenerated. - * config.in: Likewise. - * sysdep.h: Check and include sys/resource.h for getrlimit. - -2013-05-23 Alan Modra - - * format.c (bfd_check_format_matches): Don't match a target in - targ_selvecs if some other target is a better match. If - targets implement match priority, fall back to the first of - the best matches. - -2013-05-22 Eric Herman - - PR binutils/15462 - * elfxx-mips.c (_bfd_mips_elf_relocate_section): Warning fix. - -2013-05-22 Ralf Dreesen - - PR binutils/15474 - * srec.c (srec_set_section_contents): Properly convert size - and offset to address when octets_per_byte is not unity. - -2013-05-20 Maciej W. Rozycki - - * elf32-vax.c (elf_vax_instantiate_got_entries): Only set the - refcount member of the gotplt_union when resetting the reference - count. Adjust comment. - -2013-05-20 Will Newton - - * elf64-aarch64.c (elf64_aarch64_link_hash_entry): Remove - relocs_copied member. - (elf64_aarch64_link_hash_newfunc): Remove initialization of - relocs_copied member. - (elf64_aarch64_copy_indirect_symbol): Remove code to copy - relocs_copied member. - -2013-05-19 Maciej W. Rozycki - - * elf32-vax.c (elf_vax_adjust_dynamic_symbol): Convert K&R - function definition. - -2013-05-16 Cary Coutant - - * ecoff.c (ecoff_link_check_archive_element): Add initializers for - external_ext_size and esize. - -2013-05-16 Tristan Gingold - - * coff-rs6000.c (_bfd_xcoff_reloc_type_lookup): Handle BFD_RELOC_16. - * coff64-rs6000.c (xcoff64_reloc_type_lookup): Likewise. - -2013-05-15 Andreas Schwab - - * elf64-aarch64.c (elf_backend_default_execstack): Define to 0. - -2013-05-10 Joel Brobecker - - * coffcode.h (styp_to_sec_flags) [RS6000COFF_C]: Add handling - of STYP_EXCEPT, STYP_LOADER and STYP_TYPCHK sections. - -2013-05-09 Joel Brobecker - - * bfd.c (_bfd_default_error_handler): Replace use of putc - by fputc. Add comment explaining why. - -2013-05-09 Alan Modra - - * elflink.c (elf_link_add_object_symbols): Don't omit reading - of symbols when hashes already exist. - -2013-05-07 Will Newton - - * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Add a - plt_header_size argument for ports where it differs from - plt_entry_size. - * elf-bfd.h: Likewise. - * elf32-i386.c: Pass plt_header_size to - _bfd_elf_allocate_ifunc_dyn_relocs. - * elf64-x86-64.c: Likewise. - -2013-05-07 Will Newton - - * elf-ifunc.c (_bfd_elf_create_ifunc_dyn_reloc): Remove unused - function. - * elf-bfd.h: Likewise. - -2013-05-06 Paul Brook - - * elf64-mips.c (elf_mips_gnu_pcrel32): New. - (bfd_elf64_bfd_reloc_type_lookup, bfd_elf64_bfd_reloc_name_lookup, - mips_elf64_rtype_to_howto): Handle R_MIPS_PC32. - * elfn32-mips.c (elf_mips_gnu_pcrel32): New. - (bfd_elfn32_bfd_reloc_type_lookup, bfd_elfn32_bfd_reloc_name_lookup, - mips_elfn32_rtype_to_howto): Handle R_MIPS_PC32. - -2013-05-06 Alan Modra - - * elf64-ppc.c (opd_entry_value): Handle case where symbol - hashes are not available. - -2013-05-06 Alan Modra - - * elflink.c (elf_link_add_object_symbols): Don't save symbol - hashes around loading as-needed library. Zero them on allocation, - and restore to initial all-zero state if library not needed. - Arrange to reuse hashes if we load library again later. - -2013-05-04 Richard Sandiford - - * elf32-mips.c (elf_mips_copy_howto, elf_mips_jump_slot_howto): - Use _bfd_mips_elf_generic_reloc instead of bfd_elf_generic_reloc. - * elfn32-mips.c: Likewise. - * elf64-mips.c: Likewise. - -2013-05-02 Nick Clifton - - * archures.c: Add some more MSP430 machine numbers. - * config.bfd (msp430): Define targ_selvecs. - * configure.in: Add bfd_elf32_msp430_ti_vec. - * cpu-msp430.c: Add some more MSP430 machine numbers. - * elf32-msp430.c Add support for MSP430X relocations. - Add support for TI compiler generated relocations. - Add support for sym_diff relocations. - Add support for relaxing out of range short branches into long - branches. - Add support for MSP430 attribute section. - * reloc.c: Add MSP430X relocations. - * targets.c: Add bfd_elf32_msp430_ti_vec. - * bfd-in2.h: Regenerate. - * configure: Regenerate. - * libbfd.h: Regenerate. - -2013-05-01 Maciej W. Rozycki - - * config.bfd: Replace alpha*-*-linuxecoff* pattern with - alpha*-*-linux*ecoff*. - -2013-04-30 Olaf Flebbe - - PR binutils/15417 - * elflink.c (elf_link_add_object_symbols): Initialise 'idx' to - zero. - -2013-04-30 Alan Modra - - * elflink.c (bfd_elf_record_link_assignment): Dont make - STV_INTERNAL symbols STV_HIDDEN. - -2013-04-29 Nick Clifton - - * elflink.c (_bfd_elf_gc_mark_extra_sections): Remove mark from - fragmented .debug_line sections associated with unmarked code - sections. - -2013-04-29 Will Newton - - * elf32-arm.c (elf32_arm_populate_plt_entry): Call - elf32_arm_add_dynreloc when emitting R_ARM_IRELATIVE relocs. - -2013-04-29 Will Newton - - * elf64-aarch64.c (elf64_aarch64_check_relocs): Move relocation - error check up and add error message. - -2013-04-26 Will Newton - - * elf64-aarch64.c (elf64_aarch64_check_relocs): Remove dead code. - -2013-04-25 Alan Modra - - * config.bfd: Add powerpc64le-linux. - -2013-04-24 H.J. Lu - - * config.bfd (targ_selvecs): Add bfd_elf32_x86_64_vec for - x86_64-*-elf*. - -2013-04-24 Roland McGrath - - * elf32-arm.c (elf32_arm_allocate_plt_entry): If HTAB->nacl_p, - allocate space for PLT header even if IS_IPLT_ENTRY. - (arm_nacl_put_plt0): New function, broken out of ... - (elf32_arm_finish_dynamic_sections): ... here. Call it. - If HTAB->nacl_p, set up the PLT header in .iplt too. - (elf32_arm_output_arch_local_syms): If HTAB->nacl_p, write - a mapping symbol for the start of .iplt too. - -2013-04-19 Luca Pizzamiglio - - * ecoff.c (_bfd_ecoff_sizeof_headers): Cast the return value of - BFD_ALIGN to int. - * elf32-tic6x.c (elf32_tic6x_size_dynamic_sections): Remove unused - variables. - * elf32-v850.c (v850_elf_relax_section): Redefine the type of 'i' - to bfd_vma. - * vms-alpha.c (evax_bfd_print_etir): Initialize sec_len. - -2013-04-22 Alan Modra - - PR ld/15382 - * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Don't multiply - sh_size or reloc_count adjustment by count. - -2013-04-22 Alan Modra - - * elf64-ppc.c (ppc64_elf_check_relocs): Don't call - create_linkage_sections here.. - (ppc64_elf_init_stub_bfd): ..do so here. Return status. - (create_linkage_sections): Move earlier in file. - (ppc64_elf_setup_section_lists): Remove now useless htab->brlt test. - * elf64-ppc.h (ppc64_elf_init_stub_bfd): Update proto. - -2013-04-19 Nick Clifton - - PR binutils/15356 - * compress.c (decompress_contents): Always call inflateEnd, even - when another inflation operation fails. - -2013-04-17 H.J. Lu - - * elf-ifunc.c: Update copyright year. - -2013-04-17 Luca Pizzamiglio - - * coffcode.h: Added a cast to void when a bfd_set_section_*() - macro's return value is ignored. - * elf32-hppa.c: Likewise. - * elf32-tic6x.c: Likewise. - * mach-o.c: Likewise. - * mmo.c: Likewise. - * opncls.c: Likewise. - * peicode.h: Likewise. - * elf32-m32r.c: Check return value of bfd_set_section_*(). - * elfnn-ia64.c: Likewise. - * elfxx-mips.c: Likewise. - * vms-alpha.c: Likewise. - -2013-04-15 H.J. Lu - - PR ld/15371 - * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Check - regular reference without non-GOT reference when building - shared library. - -2013-04-15 Alan Modra - - * archive.c (_bfd_archive_close_and_cleanup): Clear parent - cache slot for archives. - -2013-04-14 Hans-Peter Nilsson - - * mmo.c (mmo_write_chunk): Break out abfd->tdata.mmo_data to new - local variable mmop. - -2013-04-09 Senthil Kumar Selvaraj - - PR ld/12494 - * elf32-avr.c: Consider all sections to determine if linker - relaxation can safely delete a ret after a call/jmp - -2013-04-09 Mingjie Xing - - * bfd.c (typedef bfd, Error reporting, Miscellaneous): Add - INODEs. - -2013-04-08 Tom Tromey - - * som.c (bfd_section_from_som_symbol): No longer static. - * som.h (bfd_section_from_som_symbol): Declare. - -2013-04-06 Alan Modra - - * elf32-ppc.c (ppc_elf_check_relocs): Use SYMBOLIC_BIND. - * elf64-ppc.c (ppc64_elf_check_relocs, dec_dynrel_count): Likewise. - -2013-04-05 Nick Clifton - - * elflink.c (elf_link_add_object_symbols): Revert accidental commit. - -2013-04-04 Alan Modra - - * bfd.c (bfd_error_type, bfd_errmsgs): Add bfd_error_missing_dso. - * bfd-in2.h: Regenerate. - * elflink.c (elf_link_add_object_symbols): Use new error. - -2013-04-03 Nick Clifton - - * elf32-v850.c (v850_elf_is_target_special_symbol): New function. - (bfd_elf32_bfd_is_target_special_symbol): Define. - -2013-04-03 Venkataramanan Kumar - - * elf64-aarch64.c (elf64_aarch64_gc_sweep_hook): Use - elf64_aarch64_locals to get local GOT reference counts. - -2013-04-02 DJ Delorie - - * elf32-rl78.c (GET_RELOC): Assert that there are relocs to get. - (rl78_elf_relax_section): Only fetch the next reloc if there is - one expected. - -2013-03-30 Alan Modra - - PR ld/15323 - * elf-m10300.c (mn10300_elf_check_relocs): Set non_ir_ref for - global symbols referenced by relocs. - * elf32-arm.c (elf32_arm_check_relocs): Likewise. - * elf32-bfin.c (bfin_check_relocs): Likewise. - * elf32-cr16.c (cr16_elf_check_relocs): Likewise. - * elf32-cris.c (cris_elf_check_relocs): Likewise. - * elf32-d10v.c (elf32_d10v_check_relocs): Likewise. - * elf32-dlx.c (elf32_dlx_check_relocs): Likewise. - * elf32-fr30.c (fr30_elf_check_relocs): Likewise. - * elf32-frv.c (elf32_frv_check_relocs): Likewise. - * elf32-hppa.c (elf32_hppa_check_relocs): Likewise. - * elf32-i370.c (i370_elf_check_relocs): Likewise. - * elf32-iq2000.c (iq2000_elf_check_relocs): Likewise. - * elf32-lm32.c (lm32_elf_check_relocs): Likewise. - * elf32-m32c.c (m32c_elf_check_relocs): Likewise. - * elf32-m32r.c (m32r_elf_check_relocs): Likewise. - * elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise. - * elf32-m68k.c (elf_m68k_check_relocs): Likewise. - * elf32-mcore.c (mcore_elf_check_relocs): Likewise. - * elf32-metag.c (elf_metag_check_relocs): Likewise. - * elf32-microblaze.c (microblaze_elf_check_relocs): Likewise. - * elf32-moxie.c (moxie_elf_check_relocs): Likewise. - * elf32-msp430.c (elf32_msp430_check_relocs): Likewise. - * elf32-mt.c (mt_elf_check_relocs): Likewise. - * elf32-nios2.c (nios2_elf32_check_relocs): Likewise. - * elf32-openrisc.c (openrisc_elf_check_relocs): Likewise. - * elf32-ppc.c (ppc_elf_check_relocs): Likewise. - * elf32-rl78.c (rl78_elf_check_relocs): Likewise. - * elf32-s390.c (elf_s390_check_relocs): Likewise. - * elf32-score.c (s3_bfd_score_elf_check_relocs): Likewise. - * elf32-score7.c (s7_bfd_score_elf_check_relocs): Likewise. - * elf32-sh.c (sh_elf_check_relocs): Likewise. - * elf32-tic6x.c (elf32_tic6x_check_relocs): Likewise. - * elf32-tilepro.c (tilepro_elf_check_relocs): Likewise. - * elf32-v850.c (v850_elf_check_relocs): Likewise. - * elf32-vax.c (elf_vax_check_relocs): Likewise. - * elf32-xstormy16.c (xstormy16_elf_check_relocs): Likewise. - * elf32-xtensa.c (elf_xtensa_check_relocs): Likewise. - * elf64-aarch64.c (elf64_aarch64_check_relocs): Likewise. - * elf64-alpha.c (elf64_alpha_check_relocs): Likewise. - * elf64-hppa.c (elf64_hppa_check_relocs): Likewise. - * elf64-ia64-vms.c (elf64_ia64_check_relocs): Likewise. - * elf64-mmix.c (mmix_elf_check_relocs): Likewise. - * elf64-ppc.c (ppc64_elf_check_relocs): Likewise. - * elf64-s390.c (elf_s390_check_relocs): Likewise. - * elf64-sh64.c (sh_elf64_check_relocs): Likewise. - * elfnn-ia64.c (elfNN_ia64_check_relocs): Likewise. - * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise. - * elfxx-tilegx.c (tilegx_elf_check_relocs): Likewise. - * elfxx-mips.c (_bfd_mips_elf_check_relocs): Likewise. Don't - test indirect/warning links for NULL. - -2013-03-29 H.J. Lu - - PR ld/15323 - * elf32-i386.c (elf_i386_check_relocs): Set non_ir_ref if a - symbol is referenced by a non-shared object. - * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise. - -2013-03-28 Joe Seymour - - * elf32-sh.c (sh_elf_relocate_section): Suppress warnings for - R_SH_REL32 relocations against undefined weak symbols. - -2013-03-28 Alan Modra - - * elf64-ppc.c (struct ppc_dyn_relocs): New. - (ppc64_elf_check_relocs): Separate dynrel counts for local syms - into ifunc and non-ifunc. - (dec_dynrel_count): Pass in sym rather than sym_sec. Handle - separate ifunc/non-ifunc dynrel counts. - (allocate_got): Always use reliplt for ifunc. - (allocate_dynrelocs): Likewise. - (ppc64_elf_size_dynamic_sections): Likewise. - (ppc64_elf_layout_multitoc): Likewise. - (ppc64_elf_relocate_section): Likewise. - -2013-03-28 Alan Modra - - * elf32-ppc.c (struct ppc_dyn_relocs): New. - (ppc_elf_check_relocs): Separate dynrel counts for local syms - into ifunc and non-ifunc. - (allocate_dynrelocs): Always put ifunc relocs into reliplt. - (ppc_elf_size_dynamic_sections): Likewise. - (ppc_elf_relocate_section): Likewise. - -2013-03-28 Alan Modra - - * elf-bfd.h (enum elf_reloc_type_class): Add reloc_class_ifunc. - (struct elf_backend_data ): Add - bfd_link_info* and asection* params. - (_bfd_elf_reloc_type_class): Likewise. - * elf.c (_bfd_elf_reloc_type_class): Likewise. - * elflink.c (elf_link_sort_cmp2): Sort first on reloc class. - (elf_link_sort_relocs): Update elf_backed_reloc_type_class call. - * elf32-ppc.c (ppc_elf_reloc_type_class): Return reloc_class_ifunc - for any reliplt reloc. Don't return reloc_class_plt for - R_PPC_REL24 and R_PPC_ADDR24. - * elf64-ppc.c (allocate_got): Formatting. - (ppc64_elf_reloc_type_class): Return reloc_class_ifunc for any - reliplt reloc. - * elf-m10300.c, * elf32-arm.c, * elf32-bfin.c, * elf32-cr16.c, - * elf32-cris.c, * elf32-hppa.c, * elf32-i386.c, * elf32-lm32.c, - * elf32-m32r.c, * elf32-m68k.c, * elf32-metag.c, * elf32-nios2.c, - * elf32-s390.c, * elf32-sh.c, * elf32-sparc.c, * elf32-tilepro.c, - * elf32-vax.c, * elf32-xtensa.c, * elf64-aarch64.c, * elf64-alpha.c, - * elf64-hppa.c, * elf64-ia64-vms.c, * elf64-s390.c, * elf64-sparc.c, - * elf64-x86-64.c, * elfnn-ia64.c, * elfxx-tilegx.c, * elfxx-tilegx.h: - Add extra params to the various reloc_type_class functions. - -2013-03-27 Alan Modra - - * elf32-ppc.c (ppc_elf_check_relocs): Set PLT_IFUNC in local got - masks for all local ifunc syms. - (allocate_dynrelocs): Don't use htab->relgot for ifunc. - (ppc_elf_size_dynamic_sections): Likewise. - (ppc_elf_relocate_section): Likewise. - -2013-03-27 Will Newton - - * elf32-arm.c (elf32_arm_final_link_relocate): Avoid emitting a - dynamic reloc for symbols with dynindx == -1. - (allocate_dynrelocs_for_symbol): Avoid allocating space for a - dynamic reloc for symbols with dynindx == -1. - -2013-03-27 Will Newton - - * elf32-arm.c (elf32_arm_final_link_relocate): Avoid emitting a - dynamic reloc for non-default visibility undefined weaks. - (allocate_dynrelocs_for_symbol): Avoid allocating space for a - dynamic reloc for non-default visibility undefined weaks. - -2013-03-26 Alan Modra - - * elflink.c (_bfd_elf_add_default_symbol): Preserve section - over _bfd_elf_merge_symbol calls. - -2013-03-26 Alan Modra - - * elflink.c (elf_link_add_object_symbols): Add assertion for - common override alignment check code. Formatting. - -2013-03-25 Alan Modra - - * elflink.c (_bfd_elf_merge_symbol): Set old_alignment for - usual common symbols as well as for dynamic. Add poldbfd param. - Save old bfd. Adjust callers. - (_bfd_elf_add_default_symbol): Add poldbfd param. Pass "section" - and "value" by value, not pointer. Adjust caller. - (elf_link_add_object_symbols): Combine undef_bfd and old_bfd vars. - Delete code to set same. Use old_bfd and old_alignment from - _bfd_elf_merge_symbol instead. Add default symbol before - alignment and size checks. Wrap overlong lines. - -2013-03-25 Alan Modra - - * elflink.c (_bfd_elf_add_default_symbol): Delete "override" param. - (elf_link_add_object_symbols): Don't call _bfd_elf_add_default_symbol - when override is true. - -2013-03-25 Alan Modra - - * elflink.c (_bfd_elf_merge_symbol): Use local var holding value - of *sym_hash. - -2013-03-25 Alan Modra - - * elflink.c (_bfd_elf_merge_symbol): Don't discard TLS symbols here. - Wrap long lines. - (elf_link_add_object_symbols): Discard TLS symbols for --just-syms - early in symbol loop. - -2013-03-25 Alan Modra - - * elf-bfd.h (struct elf_backend_data ): Update proto. - (_bfd_elf_init_reloc_shdr): Delete. - * elf.c (_bfd_elf_init_reloc_shdr): Make static. - * elf64-x86-64.c (elf_x86_64_merge_symbol): Trim parameters to - just what is needed. - * elflink.c (_bfd_elf_merge_symbol): Update bed->merge_symbol call. - -2013-03-23 Alan Modra - - * elf-bfd.h (_bfd_elf_merge_symbol): Delete declaration. - * elflink.c (_bfd_elf_merge_symbol): Make static. - * elf32-sh-symbian.c (sh_symbian_relocate_section): Don't call - _bfd_elf_merge_symbol, call _bfd_generic_link_add_one_symbol. - -2013-03-23 Alan Modra - - PR ld/15270 - * elflink.c (elf_link_add_object_symbols): Don't set def_regular - or ref_regular for BFD_PLUGIN owned syms, or have them affect - def_dynamic/ref_dynamic. - (_bfd_elf_fix_symbol_flags): Don't set def_regular for BFD_PLUGIN - owned syms. - -2013-03-22 David S. Miller - - * elfxx-sparc.c (_bfd_sparc_elf_merge_private_bfd_data): Set type of - hwcaps attribute. - -2013-03-22 Achille Fouilleul - - PR ld/14902 - * elf32-h8300.c (elf32_h8_relax_delete_bytes): Fix off by one - errors adjusting relocs and symbols. - -2013-03-21 Michael Schewe - - * elf32-h8300 (h8_relax_section): Add new relaxation of mov - @(disp:32,ERx) to mov @(disp:16,ERx). - (R_H8_DISP32A16): New reloc. - Comments added and corrected. - * reloc.c (BFD_RELOC_H8_DISP32A16): New reloc. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - -2013-03-21 Kai Tietz - - * coffgen.c (coff_real_object_p): Make global. - * peicode.h (coff_real_object_p): Add prototype. - (FILHDR): Defined for COFF_IMAGE_WITH_PE as - external_PEI_IMAGE_hdr structure. - (coff_swap_filehdr_in): Handle variable header-size. - * peXXigen.c (_bfd_XXi_swap_aouthdr_in): Just handle amount - of directory-entiries as specified in pe-header. - -2013-03-21 Nick Clifton - - PR sim/15286 - * elf32-arm.c (bfd_arm_get_mach_from_attributes): Identify XScale, - iWMMXt and iWMMXt2 processors from attributes. - -2013-03-20 Alan Modra - - * elflink.c (_bfd_elf_make_dynamic_reloc_section): Override - sh_type according to is_rela. - -2013-03-18 Alan Modra - - PR ld/12549 - * elflink.c (elf_link_add_object_symbols): Exclude weak refs when - considering whether an --as-needed library is needed. - -2013-03-14 Tom Tromey - - * opncls.c (bfd_get_debug_link_info): Rename from - get_debug_link_info. Export. Update comment. - (find_separate_debug_file): Update. - * bfd-in2.h: Rebuild. - -2013-03-08 Venkataramanan Kumar - - * elf64-aarch64.c (elf_backend_can_gc_sections): Enable gc-section - support. - (elf64_aarch64_gc_sweep_hook): Handle GOT, TLS and PLT related - relocs. - -2013-03-08 Andreas Arnez - - * elf-bfd.h (elfcore_write_s390_tdb): Add prototype. - * elf.c (elfcore_write_s390_tdb): New function. - (elfcore_write_register_note): Call it. - (elfcore_grok_s390_tdb): New function. - (elfcore_grok_note): Call it. - -2013-03-08 Maciej W. Rozycki - - * elfxx-mips.c (mips_elf_allocate_lazy_stub): Correct data type. - -2013-03-05 Corinna Vinschen - - * config.bfd: Add x86_64-*-cygwin to list of supported targets. - -2013-03-04 Alan Modra - - * elf32-ppc.c (ppc_elf_relocate_section ): Adjust - non-zero addends when relocatable, rather than addends >= 32768. - Always zero "addend" before applying relocation. - -2013-03-04 Nick Clifton - - * archive64.c (bfd_elf64_archive_write_armap): Fix calculation of - file pointer offsets for thin archives. - -2013-02-28 Nathan Sidwell - - * elf32-arm.c (elf32_arm_size_dynamic_sections): Don't call - elf32_arm_allocate_dynrelocs for source reloc for non-dynamic link. - -2013-02-27 DJ Delorie - - * reloc.c (BFD_RELOC_RL78_CODE): Add. - * libbfd.h: Regenerate. - * bfd-in2.h: Regenerate. - * elf32-rl78.c (rl78_elf_relocate_section): Handle weak code - references in compuated relocs. - -2013-02-26 Anthony Green - - * config.bfd: Extend moxie-rtems target triplet name support. - -2013-02-21 H.J. Lu - - PR ld/15167 - * elf64-ia64-vms.c (elf64_vms_link_add_object_symbols): Set - unique_global only for definition. - * elflink.c (_bfd_elf_merge_symbol): Don't set unique_global - here. - (elf_link_add_object_symbols): Set unique_global only - for definition. - -2013-02-21 Alan Modra - - * elf-bfd.h (struct elf_build_id): Extracted from.. - (struct elf_build_id_info): ..here. Delete. - (struct output_elf_obj_tdata): New, extracted from.. - (struct elf_obj_tdata): ..here. Reorganize for better packing. - Add "o" field. - (elf_program_header_size): Reference tdata->o. - (elf_seg_map, elf_next_file_pos, elf_eh_frame_hdr, elf_linker, - elf_stack_flags, elf_shstrtab, elf_strtab_sec, elf_shstrtab_sec, - elf_section_syms, elf_num_section_syms, elf_flags_init): Likewise. - * elf.c (bfd_elf_allocate_object): Allocate output_elf_obj_tdata - when opening bfd in any mode that might write. - (_bfd_elf_write_object_contents): Use build_id field in - output_elf_obj_tdata. - (_bfd_elf_close_and_cleanup): Tweak elf_shstrtab test. - (elfobj_grok_gnu_build_id): Adjust for elf_tdata changes. - -2013-02-21 Alan Modra - - * elf-bfd.h (struct core_elf_obj_tdata): New. - (struct elf_obj_tdata): Delete core_signal, core_pid, core_lwpid, - core_program, and core_command. Add "core". - * elf.c (bfd_elf_mkcorefile): Allocate "core" struct. - Update all refs to tdata core fields. - * elf32-am33lin.c, * elf32-arm.c, * elf32-cris.c, * elf32-frv.c, - * elf32-hppa.c, * elf32-i386.c, * elf32-m68k.c, * elf32-mips.c, - * elf32-nios2.c, * elf32-ppc.c, * elf32-s390.c, * elf32-score.c, - * elf32-score7.c, * elf32-sh.c, * elf32-sparc.c, * elf32-tilegx.c, - * elf32-tilepro.c, * elf32-xtensa.c, * elf64-aarch64.c, - * elf64-hppa.c, * elf64-mips.c, * elf64-ppc.c, * elf64-tilegx.c, - * elf64-x86-64.c, * elfcore.h, * elfn32-mips.c: Update all refs - to tdata core fields. - -2013-02-21 Alan Modra - - * elf-bfd.h (struct elf_obj_tdata): Rename segment_map to seg_map. - Delete num_locals and num_globals. - (elf_num_locals, elf_num_globals): Don't define. - (elf_seg_map, elf_next_file_pos, elf_eh_frame_hdr, elf_linker, - elf_stack_flags, elf_strtab_sec, elf_shstrtab_sec): Define. - * bfd.c, * elf-eh-frame.c, * elf-nacl.c, * elf-vxworks.c, * elf.c, - * elf32-arm.c, * elf32-lm32.c, * elf32-ppc.c, * elf32-rx.c, - * elf32-spu.c, * elf64-hppa.c, * elfcode.h, * elflink.c, - * elfnn-ia64.c, * elfxx-mips.c: Use newly defined elf_obj_tdata - accessor macros. - * elf.c (elf_map_symbols): Add pnum_locals param. Return - number of locals syms via new param. - (swap_out_syms): Adjust to suit elf_map_symbols change. - -2013-02-19 Maciej W. Rozycki - - * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Also clear - STO_MICROMIPS annotation. - -2013-02-19 Alan Modra - - * configure.in: Bump version to 2.23.52. - * elf-bfd.h (struct elf_build_id_info): New. - (struct elf_obj_tdata): Delete after_write_object_contents, - after_write_object_contents_info and build_id_size. Make build_id - a pointer to struct elf_build_id_info. - * elf.c (_bfd_elf_write_object_contents): Style. Update - after_write_ibject_contents invocation. - (elfobj_grok_gnu_build_id): Update for new build_id struct. Don't - allow zero size notes. - * configure: Regenerate. - -2013-02-18 Maciej W. Rozycki - - * elf64-mips.c (micromips_elf64_howto_table_rel): Add - R_MICROMIPS_SCN_DISP and R_MICROMIPS_JALR. - (micromips_elf64_howto_table_rela): Likewise. - (micromips_reloc_map): Add BFD_RELOC_MICROMIPS_JALR. - * elfn32-mips.c (elf_micromips_howto_table_rel): Add - R_MICROMIPS_SCN_DISP and R_MICROMIPS_JALR. - (elf_micromips_howto_table_rela): Likewise. - (micromips_reloc_map): Add BFD_RELOC_MICROMIPS_JALR. - -2013-02-18 Paul Brook - - * elfxx-mips.c (MICROMIPS_P): New macro. - (_bfd_mips_elf_symbol_processing): Use it. - -2013-02-18 Maciej W. Rozycki - - * elfxx-mips.c (_bfd_mips_elf_create_dynamic_sections): Clarify - comment on _PROCEDURE_LINKAGE_TABLE_ creation. - -2013-02-18 Alan Modra - - PR ld/12549 - * elf-bfd.h (_bfd_elf_strtab_clear_refs): Delete. - (_bfd_elf_strtab_clear_all_refs): Declare. - (_bfd_elf_strtab_resize): Declare. - * elf-strtab.c (_bfd_elf_strtab_clear_refs): Delete. - (_bfd_elf_strtab_clear_all_refs): New function. - (_bfd_elf_strtab_resize): Likewise. - * elflink.c (elf_link_add_object_symbols): Use _bfd_elf_strtab_resize. - -2013-02-18 Alan Modra - - * elf-bfd.h (struct elf_obj_tdata): Move find_line_info, local_stubs, - local_call_stubs, elf_data_symbol, elf_text_symbol, elf_data_section, - and elf_text_section to.. - * elfxx-mips.c (struct mips_elf_obj_tdata): ..here. Update all refs. - * elf64-alpha.c (struct mips_elf_find_line): Rename to.. - (struct alpha_elf_find_line): ..this. - (struct alpha_elf_obj_tdata): Add find_line_info, update refs. - -2013-02-16 H.J. Lu - - PR ld/15146 - * elflink.c (elf_link_add_object_symbols): Don't add DT_NEEDED - for references from the dummy bfd. - -2013-02-16 H.J. Lu - - PR ld/15149 - * elflink.c (elf_link_add_object_symbols): Also track weak - references. - -2013-02-15 H.J. Lu - - PR binutils/15151 - * archive.c (_bfd_find_nested_archive): Don't allow a nested - archive pointing to itself. - (_bfd_get_elt_at_filepos): Revert the last 2 changes. - -2013-02-15 Nick Clifton - - PR binutils/15140 - * archive.c (_bfd_get_elt_at_filepos): Prevent an infinite loop - accessing a corrupt nested archive. - -2013-02-13 Richard Sandiford - - * elfxx-mips.c (mips_got_page_ref): New structure. - (mips_got_page_entry): Use a section rather than a (bfd, symndx) - pair to represent the anchor point. - (mips_got_info): Add a got_page_refs field. - (mips_elf_link_hash_table): Add a sym_cache field. - (mips_got_page_ref_hash, mips_got_page_ref_eq): New functions. - (mips_got_page_entry_hash, mips_got_page_entry_eq): Update for - new anchor representation. - (mips_elf_create_got_info): Create got_page_refs rather than - got_page_entries. - (mips_elf_record_got_page_ref): New function. - (mips_elf_pages_for_range): Move further down file. - (mips_elf_record_got_page_entry): Likewise. Take a got as argument. - Use a section rather than a (bfd, symndx) pair to represent the - anchor point. - (mips_elf_resolve_got_page_ref): New function. - (mips_elf_resolve_final_got_entries): Use it to populate - got_page_entries. - (_bfd_mips_elf_check_relocs): Call mips_elf_record_got_page_ref - rather than mips_elf_record_got_page_entry. Only nullify h - afterwards. - (mips_elf_lay_out_got): Call mips_elf_resolve_final_got_entries - earlier. - -2013-02-12 Richard Sandiford - - * elfxx-mips.c (mips_elf_lay_out_got): Count VxWorks GOT relocs - in g->relocs. - -2013-02-12 Alan Modra - - * elfxx-target.h (bfd_elfNN_bfd_link_hash_table_free): Provide - suitable definition when using generic linker hash table. - -2013-02-11 Richard Sandiford - - * elfxx-mips.c (mips_elf_count_got_entries): Delete. - (mips_elf_check_recreate_got, mips_elf_recreate_got): Take a - mips_elf_traverse_got_arg. Count GOT entries. - (mips_elf_resolve_final_got_entries): Take the bfd_link_info - as argument. Update after above changes. - (mips_elf_merge_got, mips_elf_lay_out_got): Don't call - mips_elf_count_got_entries. Update the calls to - mips_elf_resolve_final_got_entries. - -2013-02-11 Richard Sandiford - - * elfxx-mips.c (mips_got_tls_type): New enum. - (mips_got_entry): Add tls_initialized. - (mips_elf_got_entry_hash, mips_elf_got_entry_eq, mips_tls_got_relocs) - (mips_elf_count_got_entry, mips_elf_initialize_tls_index): Remove - GOT_TLS_TYPE masks. - (mips_elf_reloc_tls_type, mips_tls_got_entries) - (mips_elf_record_global_got_symbol, mips_elf_initialize_tls_index) - (_bfd_mips_elf_finish_dynamic_symbol): Use GOT_TLS_NONE rather - than GOT_NORMAL. - (mips_elf_initialize_tls_slots): Replace got_offset and tls_type_p - arguments with a GOT entry. Remove GOT_TLS_TYPE masks. Use - tls_initialized rather than GOT_TLS_DONE. - (mips_tls_got_index): Delete. - (mips_elf_local_got_index, mips_elf_global_got_index): Use - mips_elf_initialize_tls_slots rather than mips_tls_got_index. - (mips_elf_record_got_entry): Initialize tls_initialized. - -2013-02-11 Richard Sandiford - - * elfxx-mips.c (mips_got_entry): Remove tls_ldm_offset. - (mips_elf_link_hash_entry): Remove tls_ie_type, tls_gd_type, - tls_ie_got_offset and tls_gd_got_offset. - (mips_elf_link_hash_newfunc): Remove initialization. - (mips_elf_create_got_info): Likewise. - (mips_elf_count_local_got_entries, mips_elf_count_global_tls_entries) - (mips_tls_single_got_index): Delete. - (mips_elf_local_got_index): Always use the GOT entry to track - GOT indices. - (mips_elf_global_got_index): Likewise. - (mips_elf_create_local_got_entry): Assert that TLS entries have - already been allocated. - (mips_elf_record_global_got_symbol): Don't initialize - tls_ie_type or tls_gd_type. - (mips_elf_count_got_symbols): Only count reloc-only GOT entries here. - (mips_elf_initialize_tls_index): Allocate a GOT index for every TLS - entry. - (mips_elf_lay_out_got): Use mips_elf_count_got_entries to count - the GOT entries. - (_bfd_mips_elf_finish_dynamic_symbol): Assert that TLS GOT offsets - have been allocated. - (_bfd_mips_elf_copy_indirect_symbol): Remove handling of - tls_ie_type and tls_gd_type. - -2013-02-11 Richard Sandiford - - * elfxx-mips.c (mips_elf_create_local_got_entry): Tidy. Avoid - aliasing violation. Check for htab allocation failures. - -2013-02-11 Richard Sandiford - - * elfxx-mips.c (mips_elf_primary_global_got_index): New function, - split out from... - (mips_elf_global_got_index): ...here. Reorder arguments so that - the output bfd and info come first. - (mips_elf_calculate_relocation): Update the call to - mips_elf_global_got_index accordingly. - (_bfd_mips_elf_finish_dynamic_symbol): Use - mips_elf_primary_global_got_index rather than - mips_elf_global_got_index. - (_bfd_mips_vxworks_finish_dynamic_symbol): Likewise. - -2013-02-11 Richard Sandiford - - * elfxx-mips.c (mips_got_entry): Update comments. - (mips_elf_multi_got_entry_eq): Rename to... - (mips_elf_got_entry_eq): ...this, deleting the old definition. - (mips_elf_create_got_info): Remove master_got_p argument. - Always use mips_elf_got_entry_eq. - (mips_elf_bfd_got, mips_elf_multi_got, mips_elf_create_got_section): - Update calls accordingly. - -2013-02-11 Richard Sandiford - - * elfxx-mips.c (mips_got_info): Remove bfd2got. - (mips_elf_bfd2got_hash): Delete. - (mips_elf_got_per_bfd_arg): Remove bfd2got. - (mips_elf_replace_bfd_got, mips_elf_count_got_entries): New functions. - (mips_elf_global_got_index, mips_elf_create_local_got_entry): Use - g->next to test for the multigot case. Use mips_elf_bfd_got rather - than mips_elf_got_for_ibfd. - (mips_elf_bfd2got_entry_hash, mips_elf_bfd2got_entry_eq) - (mips_elf_got_for_ibfd, mips_elf_get_got_for_bfd): Delete. - (mips_elf_make_got_per_bfd): Replace with... - (mips_elf_add_got_entry): ...this new function. - (mips_elf_make_got_pages_per_bfd): Replace with... - (mips_elf_add_got_page_entry): ...this new function. - (mips_elf_merge_got_with): Replace bfd2got argument with separate - bfd and GOT arguments. Use mips_elf_add_got_entry and - mips_elf_add_got_page_entry instead of mips_elf_make_got_per_bfd - and mips_elf_make_got_pages_per_bfd. Use mips_elf_replace_bfd_got - to set the BFD's GOT and free the old table. - (mips_elf_merge_got): Replace bfd2got argument with separate - bfd and GOT arguments. Apply mips_elf_resolve_final_got_entries. - Use mips_elf_count_got_entries to count the number of entries in - each GOT. Update the calls to mips_elf_merge_got_with. - (mips_elf_adjust_gp): Use g->next to test for the multigot case. - Use mips_elf_bfd_got rather than mips_elf_got_for_ibfd. - (mips_elf_multi_got): Don't create the bfd2got hash table. - Replace hash table traversal with a walk over the input bfds, - updating the call to mips_elf_merge_got. Use mips_elf_replace_bfd_got - to set the output bfd's GOT. - (mips_elf_lay_out_got): Rename "sub" to "ibfd". Record that all - bfds use the master GOT in the single-GOT case. - (_bfd_mips_elf_finish_dynamic_sections): Use mips_elf_bfd_got - rather than mips_elf_got_for_ibfd. - -2013-02-11 Richard Sandiford - - * elfxx-mips.c (mips_elf_obj_tdata): Add a got field. - (mips_elf_bfd_got, mips_elf_record_got_entry): New functions. - (mips_elf_record_global_got_symbol): Update the hash entry before - adding the mips_got_entry. Use mips_elf_record_got_entry to do - the latter. - (mips_elf_record_local_got_symbol): Use mips_elf_record_got_entry. - (mips_elf_record_got_page_entry): Record the entry in both the - master and bfd GOTs. - -2013-02-11 Richard Sandiford - - * elfxx-mips.c (mips_elf_recreate_got): Don't change the entry; - create another one if necessary. - (mips_elf_set_gotidx): New function. - (mips_elf_set_global_gotidx): Use it. - (mips_elf_initialize_tls_index): Likewise. Take a - mips_elf_traverse_got_arg as argument. - (mips_elf_lay_out_got): Update use of mips_elf_initialize_tls_index. - (mips_elf_multi_got): Likewise. Cope with error returns from - mips_elf_set_global_gotidx. - -2013-02-11 Richard Sandiford - - * elfxx-mips.c (mips_got_info): Add relocs field. - (mips_elf_set_global_got_offset_arg, mips_elf_count_tls_arg): Replace - with... - (mips_elf_traverse_got_arg): ...this new structure. - (mips_elf_count_local_tls_relocs): Delete. - (mips_elf_count_global_tls_relocs): Likewise. - (mips_elf_count_got_entry): New function. - (mips_elf_count_local_got_entries): Likewise. - (mips_elf_count_global_tls_entries): Take a mips_elf_traverse_got_arg - rather than a mips_elf_count_tls_arg. Count both relocs and entries. - (mips_elf_record_local_got_symbol): Don't count got entries here. - (mips_elf_make_got_per_bfd): Use mips_elf_count_got_entry. - (mips_elf_set_global_got_offset): Split into... - (mips_elf_set_global_got_area, mips_elf_set_global_gotidx): ...these - new functions. Take a mips_elf_traverse_got_arg rather than a - mips_elf_set_global_got_offset_arg. Don't count TLS relocs here. - Use g->relocs to record the number of relocs needed for global GOT - entries. - (mips_elf_multi_got): Use mips_elf_traverse_got_arg rather than - mips_elf_set_global_got_offset_arg. Use the relocs field to count - relocations. Update for above function split. - (mips_elf_lay_out_got): Use mips_elf_count_local_got_entries - to count both the number of GOT entries and the number of TLS - relocs required by local entries. Likewise - mips_elf_count_global_tls_entries and global entries. - Remove uses of mips_elf_count_local_tls_relocs and - mips_elf_count_global_tls_relocs. - -2013-02-11 Richard Sandiford - - * elfxx-mips.c (mips_got_entry): Update comment above tls_type entry - to say that each structure represents only one type of TLS reference. - (GOT_TLS_TYPE): New define. - (mips_elf_link_hash_entry): Temporarily split tls_type and - tls_got_offset into two variables each. - (mips_elf_link_hash_newfunc): Update accordingly. - (mips_elf_got_entry_eq, mips_elf_got_entry_hash) - (mips_elf_multi_got_entry_eq): Require the tls_type to be the same. - (mips_elf_reloc_tls_type, mips_tls_got_entries): New functions. - (mips_tls_got_relocs): Use a switch statement. - (mips_elf_count_global_tls_entries): Handle the new hash entry fields. - (mips_elf_initialize_tls_slots): Use a switch statement. Avoid - local "offset" variable. - (mips_tls_got_index): Remove r_type argument and assert. Remove - code that handled entries with two TLS types; always use the - original got_index instead. - (mips_tls_single_got_index): New function. - (mips_elf_local_got_index): Use entry->tls_type to check for - TLS entries. Use mips_tls_single_got_index. Update call to - mips_tls_got_index. - (mips_elf_global_got_index): Use mips_elf_reloc_tls_type. - Use p->tls_type to check for TLS entries. Update call to - mips_tls_got_index. Use mips_tls_single_got_index. - (mips_elf_create_local_got_entry): Use mips_elf_reloc_tls_type. - Use entry.tls_type to check for TLS entries. - (mips_elf_record_global_got_symbol): Replace tls_flag argument - with r_type argument. Use mips_elf_reloc_tls_type. - Set up the new hash entry fields. - (mips_elf_record_local_got_symbol): Replace tls_flag argument - with r_type argument. Use mips_elf_reloc_tls_type and - mips_tls_got_entries. Remove code that handled entries - with multiple TLS types. - (mips_elf_make_got_per_bfd): Use mips_tls_got_entries. - (mips_elf_initialize_tls_index): Handle new hash entry fields. - Use equality rather than masks when checking for specific TLS types. - Use mips_tls_got_entries. Remove code that handled entries - with multiple TLS types. - (mips_elf_calculate_relocation): Use TLS_RELOC_P instead of - testing the hash table entry. - (_bfd_mips_elf_check_relocs): Update calls to - mips_elf_record_global_got_symbol and mips_elf_record_local_got_symbol. - (_bfd_mips_elf_finish_dynamic_symbol): Don't check h->type. - (_bfd_mips_elf_copy_indirect_symbol): Handle new hash entry fields. - -2013-02-11 Richard Sandiford - - * elfxx-mips.c (mips_elf_multi_got_entry_hash): Rename to... - (mips_elf_got_entry_hash): ...this, deleting the old version. - (mips_elf_create_got_info): Use mips_elf_got_entry_hash for - both types of GOT. - -2013-02-11 Richard Sandiford - - * elfxx-mips.c (mips_elf_create_got_info): New function. - (mips_elf_get_got_for_bfd, mips_elf_multi_got): Use it. - (mips_elf_create_got_section): Likewise. - -2013-02-11 Richard Sandiford - - * elfxx-mips.c (mips_elf_record_local_got_symbol): Always set - gotidx to -1. - -2013-02-11 Richard Sandiford - - * elfxx-mips.c (mips_elf_multi_got): Simplify size calculation. - -2013-02-11 Richard Sandiford - - * elfxx-mips.c (mips_got_info): Move global_gotsym to... - (mips_elf_link_hash_table): ...here. Update rest of file accordingly. - -2013-02-11 Richard Sandiford - - * elfxx-mips.c (mips_elf_count_global_tls_entries) - (mips_elf_count_global_tls_relocs): Don't count indirect or - warning symbols. - (mips_elf_multi_got, mips_elf_lay_out_got): Assert that the right - number of TLS entries were allocated. - -2013-02-11 Richard Sandiford - - * elfxx-mips.c (mips_elf_sort_hash_table_f): Remove asserts. - -2013-02-11 Richard Sandiford - - * elfxx-mips.c (mips_elf_merge_got_with): Only use arg->global_count - if there are TLS relocations. - -2013-02-11 Richard Sandiford - - * elfxx-mips.c (mips_elf_recreate_got): Remove free. - (mips_elf_resolve_final_got_entries): Remove bogus comment. - -2013-02-11 Alan Modra - - * elfcode.h (elf_checksum_contents): Free contents. - * elf-bfd.h (_bfd_elf_link_hash_table_free): Declare. - * elflink.c (_bfd_elf_link_hash_table_free): New function. - (elf_final_link_free): New function, extracted from.. - (bfd_elf_final_link): ..here. Always call - _bfd_elf_write_section_eh_frame_hdr. - * elfxx-target.h (bfd_elfNN_bfd_link_hash_table_free): Default to - _bfd_elf_link_hash_table_free. - * libbfd-in.h (_bfd_merge_sections_free): Declare. - * libbfd.h: Regenerate. - * merge.c (_bfd_merge_sections_free): New function. - * elf-eh-frame.c (_bfd_elf_write_section_eh_frame_hdr): Free - hdr_info->array. - * elf-m10300.c (elf32_mn10300_link_hash_table_free): Call - _bfd_elf_link_hash_table_free. - * elf32-arm.c (elf32_arm_link_hash_table_free): Likewise. - * elf32-avr.c (elf32_avr_link_hash_table_free): Likewise. - * elf32-hppa.c (elf32_hppa_link_hash_table_free): Likewise. - * elf32-i386.c (elf_i386_link_hash_table_free): Likewise. - * elf32-m68hc1x.c (m68hc11_elf_hash_table_free): Likewise. - * elf32-m68k.c (elf_m68k_link_hash_table_free): Likewise. - * elf32-metag.c (elf_metag_link_hash_table_free): Likewise. - * elf32-xgate.c (xgate_elf_bfd_link_hash_table_free): Likewise. - * elf64-aarch64.c (elf64_aarch64_link_hash_table_free): Likewise. - * elf64-ia64-vms.c (elf64_ia64_hash_table_free): Likewise. - * elf64-ppc.c (ppc64_elf_link_hash_table_free): Likewise. - * elf64-x86-64.c (elf_x86_64_link_hash_table_free): Likewise. - * elfnn-ia64.c (elfNN_ia64_hash_table_free): Likewise. - * elf32-cr16.c (elf32_cr16_link_hash_table_free): Delete. - (bfd_elf32_bfd_link_hash_table_free): Don't define. - * elf32-tic6x.c (elf32_tic6x_link_hash_table_free): Delete. - (bfd_elf32_bfd_link_hash_table_free): Dont' define. - -2013-02-10 Alan Modra - - * coff-arm.c (coff_arm_link_hash_table_create): Use bfd_zmalloc. - * coff-h8300.c (h8300_coff_link_hash_table_create): Likewise. - * m68klinux.c (linux_link_hash_table_create): Likewise. - * sparclinux.c (linux_link_hash_table_create): Likewise. - * sunos.c (sunos_link_hash_table_create): Likewise. - * xcofflink.c (_bfd_xcoff_bfd_link_hash_table_create): Likewise. - * elf-m10300.c (elf32_mn10300_link_hash_table_create): Likewise. - * elf32-arm.c (elf32_arm_link_hash_table_create): Likewise. - * elf32-avr.c (elf32_avr_link_hash_table_create): Likewise. - * elf32-cr16.c (elf32_cr16_link_hash_table_create): Likewise. - * elf32-cris.c (elf_cris_link_hash_table_create): Likewise. - * elf32-hppa.c (elf32_hppa_link_hash_table_create): Likewise. - * elf32-i386.c (elf_i386_link_hash_table_create): Likewise. - * elf32-lm32.c (lm32_elf_link_hash_table_create): Likewise. - * elf32-m32r.c (m32r_elf_link_hash_table_create): Likewise. - * elf32-m68hc1x.c (m68hc11_elf_hash_table_create): Likewise. - * elf32-m68k.c (elf_m68k_link_hash_table_create): Likewise. - * elf32-metag.c (elf_metag_link_hash_table_create): Likewise. - * elf32-nios2.c (nios2_elf32_link_hash_table_create): Likewise. - * elf32-s390.c (elf_s390_link_hash_table_create): Likewise. - * elf32-score.c (elf32_score_link_hash_table_create): Likewise. - * elf32-spu.c (spu_elf_link_hash_table_create): Likewise. - * elf32-tic6x.c (elf32_tic6x_link_hash_table_create): Likewise. - * elf32-vax.c (elf_vax_link_hash_table_create): Likewise. - * elf32-xgate.c (xgate_elf_bfd_link_hash_table_create): Likewise. - * elf32-xtensa.c (elf_xtensa_link_hash_table_create): Likewise. - * elf64-aarch64.c (elf64_aarch64_link_hash_table_create): Likewise. - * elf64-s390.c (elf_s390_link_hash_table_create): Likewise. - * elf64-sh64.c (sh64_elf64_link_hash_table_create): Likewise. - * elf64-x86-64.c (elf_x86_64_link_hash_table_create): Likewise. - * elfxx-mips.c (_bfd_mips_elf_link_hash_table_create): Likewise. - * elflink.c (_bfd_elf_link_hash_table_create): Likewise. - (_bfd_elf_link_hash_table_init): Assume zero fill table on entry. - -2013-02-10 Alan Modra - - * i386linux.c (linux_link_hash_table_create): Allocate table - with bfd_zmalloc, not bfd_alloc. - * pdp11.c (link_hash_table_create): Allocate table with - bfd_malloc, not bfd_alloc. - * elf32-bfin.c (bfinfdpic_elf_link_hash_table_create): Allocate table - with bfd_zmalloc, not bfd_zalloc. - (bfin_link_hash_table_create): Likewise. - * elf32-frv.c (frvfdpic_elf_link_hash_table_create): Likewise. - * elf64-hppa.c (elf64_hppa_hash_table_create): Likewise. - -2013-02-10 Alan Modra - - PR ld/15113 - * elf32-sh.c (sh_elf_link_hash_table_create): Use bfd_zmalloc. - -2013-02-08 Markos Chandras - - * elf32-metag.c: Use bfd_get_linker_section to get SEC_LINKER_CREATED - sections. - (elf_metag_adjust_dynamic_symbol): Don't error on zero size dynbss - symbol. - -2013-02-08 Yufeng Zhang - - * elf64-aarch64.c (elf64_aarch64_grok_prstatus): Change 'size' from - 288 to 272. - -2013-02-08 Alan Modra - - PR binutils/15106 - * elf-bfd.h (struct elf_obj_tdata): Add elf_find_function_cache. - * elf.c (elf_find_function): Revert last change. Use new - tdata field rather than static vars for cache. - -2013-02-07 H.J. Lu - - PR ld/15107 - * elflink.c (elf_link_output_extsym): Set STB_GNU_UNIQUE only if - symbol is defined in regular object. - -2013-02-07 Roberto Agostino Vitillo - - PR binutils/15106 - * elf.c (elf_find_function): Don't cache if symbols change. - -2013-02-07 Alan Modra - - PR binutils/14873 - * elf-attrs.c (_bfd_elf_copy_obj_attributes): Don't attempt to - copy attributes from or to non-ELF. - -2013-02-06 H.J. Lu - - * elf32-i386.c (elf_i386_allocate_dynrelocs): Don't clear pc_count - for non-zero TLS symbol. - (elf_i386_relocate_section): Don't resolve size relocation against - non-zero TLS symbol. - * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Don't clear - pc_count for non-zero TLS symbol. - (elf_x86_64_relocate_section): Don't resolve size relocation - against non-zero TLS symbol. - -2013-02-06 Sandra Loosemore - Andrew Jenner - - Based on patches from Altera Corporation. - - * Makefile.am (ALL_MACHINES): Add cpu-nios2.lo. - (ALL_MACHINES_CFILES): Add cpu-nios2.c. - (BFD_BACKENDS): Add elf32-nios2.lo. - (BFD32_BACKENDS_CFILES): Add elf32-nios2.c. - * Makefile.in: Regenerated. - * configure.in: Add entries for bfd_elf32_bignios2_vec and - bfd_elf32_littlenios2_vec. - * configure: Regenerated. - * config.bfd: Add cases for nios2. - * archures.c (enum bfd_architecture): Add bfd_arch_nios2. - (bfd_mach_nios2): Define. - (bfd_nios2_arch): Declare. - (bfd_archures_list): Add bfd_nios2_arch. - * targets.c (bfd_elf32_bignios2_vec): Declare. - (bfd_elf32_littlenios2_vec): Declare. - (_bfd_target_vector): Add entries for bfd_elf32_bignios2_vec and - bfd_elf32_littlenios2_vec. - * elf-bfd.h (enum elf_target_id): Add NIOS2_ELF_DATA. - * reloc.c (enum bfd_reloc_code_real): Add Nios II relocations. - * bfd-in2.h: Regenerated. - * libbfd.h: Regenerated. - * cpu-nios2.c: New file. - * elf32-nios2.c: New file. - -2013-02-06 Alan Modra - - * elf32-arm.c (elf32_arm_final_link_relocate): Only test for - stubs in stub_bfd. - -2013-02-06 Alan Modra - - * Makefile.am (SOURCE_HFILES): Add `elf-linux-psinfo.h'. - * Makefile.in: Regenerate. - -2013-02-04 Sergio Durigan Junior - Pedro Alves - - * Makefile.in (SOURCE_HFILES): Add `elf-linux-psinfo.h'. - * elf-bfd.h (elf_internal_linux_prpsinfo): New structure - declaration. - (elfcore_write_linux_prpsinfo32, elfcore_write_linux_prpsinfo64) - (elfcore_write_ppc32_linux_prpsinfo32): New declarations. - * elf-linux-psinfo.h: New file. - * elf.c: Include elf-linux-psinfo.h. - (elfcore_write_linux_prpsinfo32, elfcore_write_linux_prpsinfo64): - New functions. - * elf32-ppc.c: Include `elf-linux-psinfo.h'. - (elf_external_ppc_linux_prpsinfo32): New structure declaration. - (PPC_LINUX_PRPSINFO32_SWAP_FIELDS): New macro. - (elfcore_write_ppc_linux_prpsinfo32): New function. - -2013-02-04 Tristan Gingold - - * mach-o.c (bfd_mach_o_scan_start_address): Do not fail if no - start address. - -2013-02-04 Alan Modra - - * Makefile.am (BFD64_BACKENDS): Remove elf-nacl.lo. - (BFD64_BACKENDS_CFILES): Remove elf-nacl.c. - * Makefile.in: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2013-02-04 Alan Modra - - * coff-tic54x.c (SWAP_OUT_RELOC_EXTRA): Delete. - * coff-tic80.c (SWAP_OUT_RELOC_EXTRA): Delete. - -2013-02-01 Alan Modra - - * elf64-ppc.c (dec_dynrel_count): Don't error when elf_gc_sweep_symbol - clears def_regular. - -2013-01-31 Tristan Gingold - - * mach-o.c (bfd_mach_o_scan): Call bfd_mach_o_flatten_sections - earlier. Fix status checking of bfd_mach_o_scan_start_address. - (bfd_mach_o_scan_start_address): Handle LC_MAIN. - -2013-01-31 Alan Modra - David S. Miller - - PR ld/15056 - * elfxx-sparc.c (_bfd_sparc_elf_gc_mark_hook): Handle implicit - references to __tls_get_addr. - * elf32-tilpro.c (tilepro_elf_gc_mark_hook): Likewise. Correct - vtinherit and vtentry reloc handling too. - * elfxx-tilegx.c (tilegx_elf_gc_mark_hook): As for tilepro. - -2013-01-31 Alan Modra - - * elf64-ppc.c (ppc_stub_name): Trim off trailing "+0". - -2013-01-31 Alan Modra - - * elf64-ppc.c (build_plt_stub): Correct plt stub branch to glink. - -2013-01-28 Alan Modra - - * elf64-ppc.c: Use %T to print symbols names and remove redundant - "relocation" in error messages throughout file. - (ppc64_elf_relocate_section): Remove sibling call error message, - replace with "call lacks nop". Specially report errors for - branches to function entry points via OPD lookup and branches - to stubs. Remove NULL symbol handling now done by %T. - -2013-01-28 Alan Modra - - * archive.c (bfd_generic_archive_p): Return target and keep - ardata on partial matches. - * format.c (bfd_check_format_matches): Adjust for above - change. Remove bfd_error_file_ambiguously_recognized dead - code. - -2013-01-26 Alan Modra - - * bfd.c (struct bfd_preserve, bfd_preserve_save, bfd_preserve_restore, - bfd_preserve_finish): Move to.. - * format.c: ..here, splitting out.. - (bfd_reinit): ..this. New function. - (bfd_check_format_matches): Use bfd_preserve_save/restore to - keep bfd state for a match. - * elfcode.h (elf_object_p): Don't use bfd_preserve_save/restore. - * elfcore.h (elf_core_file_p): Likewise. - * mach-o.c (bfd_mach_o_header_p): Likewise. - * pef.c (bfd_pef_object_p, bfd_pef_xlib_object_p): Likewise. - * xsym.c (bfd_sym_object_p): Likewise. - * mmo.c (mmo_scan): Clear abfd->symcount. - * opncls.c (_bfd_new_bfd): Use a smaller section hash table. - * section.c (bfd_section_list_clear): Clear section_htab.count. - * bfd-in2.h: Regenerate. - -2013-01-25 Michael Schewe - - * elf32-h8300.c (elf32_h8_relax_section): When checking for a - second reloc, make sure that the reloc potentially exists first. - -2013-01-24 Nick Clifton - - * archures.c: Add bfd_mach_v850e3v5. - * bfd-in2.h: Regenerate. - * cpu-v850.c: Add entries for v850e2v5 and v850e3v5. - * cpu-v850_rh850.c: Likewise. - * elf32-v850.c: Add support for v850e3v5 architecture. - -2013-01-23 Markos Chandras - - * elf32-metag.c: Error on HIADDR16/LOADDR16 in shared link. - -2013-01-23 Leif Ekblad - - * config.bfd (x86_64-*-rdos*): Remove targ_selvecs. - -2013-01-18 H.J. Lu - - * elf32-i386.c (elf_i386_allocate_dynrelocs): Clear pc_count for - non-zero TLS symbol. - (elf_i386_relocate_section): Resolve size relocation against - non-zero TLS symbol. - * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Clear pc_count - for non-zero TLS symbol. - (elf_x86_64_relocate_section): Resolve size relocation against - non-zero TLS symbol. - -2013-01-18 Mike Frysinger - - * elflink.c (bfd_elf_size_dynamic_sections): Only add DT_RPATH - when new_dtags is false. Only add DT_RUNPATH when new_dtags is - true. - -2013-01-17 H.J. Lu - - * elf32-i386.c (elf_i386_check_relocs): Count size relocation as - PC-relative relocation. - * elf64-x86-64.c (elf_x86_64_check_relocs): Count size relocation - as PC-relative relocation. - -2013-01-16 H.J. Lu - - * elf32-i386.c (elf_i386_check_relocs): Update R_386_SIZE32 - check. - (elf_i386_relocate_section): Don't check TLS for R_386_SIZE32. - - * elf64-x86-64.c (elf_x86_64_check_relocs): Update R_X86_64_SIZE32 - and R_X86_64_SIZE64 check. - (elf_x86_64_relocate_section): Don't check TLS for R_X86_64_SIZE32 - nor R_X86_64_SIZE64. - -2013-01-16 H.J. Lu - - * bfd-in2.h: Regenerated. - * libbfd.h: Likewise. - - * elf32-i386.c (elf_howto_table): Fill R_386_SIZE32 entry. - (elf_i386_reloc_type_lookup): Support BFD_RELOC_SIZE32. - (elf_i386_check_relocs): Handle R_386_SIZE32. - (elf_i386_gc_sweep_hook): Likewise. - (elf_i386_relocate_section): Likewise. - - * elf64-x86-64.c (x86_64_elf_howto_table): Fill R_X86_64_SIZE32 - and R_X86_64_SIZE64 entries. - (x86_64_reloc_map): Add BFD_RELOC_SIZE32 and BFD_RELOC_SIZE64, - (elf_x86_64_rtype_to_howto): Handle R_X86_64_SIZE32 for x32. - (elf_x86_64_reloc_name_lookup): Likewise. - (elf_x86_64_check_relocs): Handle R_X86_64_SIZE32 and - R_X86_64_SIZE64. - (elf_x86_64_gc_sweep_hook): Likewise. - (elf_x86_64_relocate_section): Likewise. - - * reloc.c (bfd_reloc_code_type): Add BFD_RELOC_SIZE32 and - BFD_RELOC_SIZE64. - -2013-01-15 H.J. Lu - - * elf64-x86-64.c (R_X86_64_standard): Replace R_X86_64_IRELATIVE - with R_X86_64_RELATIVE64. - -2013-01-15 Nick Clifton - - * elf32-msp430.c: Fix spelling typo. - -2013-01-15 Alan Modra - - * elf64-ppc.c (ppc64_elf_size_stubs): Default shared libs to - plt-thread-safe. - -2013-01-14 Alan Modra - - PR binutils/14813 - * bfdio.c (struct bfd_iovec ): Revert 2012-11-06. - (memory_bclose): Likewise. Return 0 on success. - * cache.c (cache_bclose): Likewise. - * opncls.c (opncls_bclose, bfd_close): Likewise. - * vms-lib.c (vms_lib_bclose): Likewise. - * libbfd.h: Regenerate. - -2013-01-13 Alan Modra - - * elf-bfd.h (struct elf_link_hash_entry): Delete dynamic_weak. - Add ref_dynamic_nonweak. - * elflink.c (_bfd_elf_mark_dynamic_def_weak): Delete. - (_bfd_elf_merge_symbol): Don't call above function. Move - setting of ref_dynamic_nonweak and dynamic_def earlier. Don't - clear dynamic_def. - (elf_link_add_object_symbols): Delete redundant "override" test. - Don't set dynamic_def here. - (elf_link_output_extsym): Update. - -2013-01-12 H.J. Lu - - * elf32-i386.c (elf_i386_check_relocs): Set bfd errror for - normal and TLS symbol access. - * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise. - -2013-01-12 Alan Modra - - * elf-bfd.h (_bfd_elf_strtab_refcount): Declare. - * elf-strtab.c (_bfd_elf_strtab_refcount): New function. - * elflink.c (elf_add_dt_needed_tag): Use _bfd_elf_strtab_refcount. - -2013-01-12 Alan Modra - - PR ld/12549 - * elf-bfd.h (_bfd_elf_strtab_clear_refs): Declare. - (_bfd_elf_strtab_clear_all_refs): Define. - * elf-strtab.c (_bfd_elf_strtab_clear_refs): New function. - (_bfd_elf_strtab_clear_all_refs): Delete. - * elflink.c (elf_link_add_object_symbols): Clear out added - strtab refs. Correct handling of warning common symbols. - -2013-01-10 H.J. Lu - - * aout0.c: Remove trailing white spaces. - * archive.c: Likewise. - * archures.c: Likewise. - * bfd-in.h: Likewise. - * bfd-in2.h: Likewise. - * coff-alpha.c: Likewise. - * coff-i860.c: Likewise. - * coff-mips.c: Likewise. - * coff-ppc.c: Likewise. - * coff-tic80.c: Likewise. - * coff-x86_64.c: Likewise. - * coff-z80.c: Likewise. - * coffcode.h: Likewise. - * coffgen.c: Likewise. - * cofflink.c: Likewise. - * compress.c: Likewise. - * corefile.c: Likewise. - * cpu-arm.c: Likewise. - * cpu-avr.c: Likewise. - * cpu-bfin.c: Likewise. - * cpu-cr16.c: Likewise. - * cpu-cr16c.c: Likewise. - * cpu-crx.c: Likewise. - * cpu-h8300.c: Likewise. - * cpu-i386.c: Likewise. - * cpu-lm32.c: Likewise. - * cpu-m68k.c: Likewise. - * cpu-moxie.c: Likewise. - * cpu-msp430.c: Likewise. - * cpu-sh.c: Likewise. - * cpu-xc16x.c: Likewise. - * dwarf2.c: Likewise. - * ecofflink.c: Likewise. - * ecoffswap.h: Likewise. - * elf-ifunc.c: Likewise. - * elf-m10300.c: Likewise. - * elf-vxworks.c: Likewise. - * elf32-avr.c: Likewise. - * elf32-avr.h: Likewise. - * elf32-cr16.c: Likewise. - * elf32-cr16c.c: Likewise. - * elf32-cris.c: Likewise. - * elf32-crx.c: Likewise. - * elf32-frv.c: Likewise. - * elf32-hppa.c: Likewise. - * elf32-i860.c: Likewise. - * elf32-ip2k.c: Likewise. - * elf32-iq2000.c: Likewise. - * elf32-m32c.c: Likewise. - * elf32-m68hc1x.c: Likewise. - * elf32-msp430.c: Likewise. - * elf32-mt.c: Likewise. - * elf32-ppc.c: Likewise. - * elf32-rl78.c: Likewise. - * elf32-s390.c: Likewise. - * elf32-score.h: Likewise. - * elf32-sh-symbian.c: Likewise. - * elf32-sh.c: Likewise. - * elf32-spu.c: Likewise. - * elf32-tic6x.c: Likewise. - * elf32-v850.c: Likewise. - * elf32-xc16x.c: Likewise. - * elf32-xtensa.c: Likewise. - * elf64-alpha.c: Likewise. - * elf64-hppa.c: Likewise. - * elf64-ppc.c: Likewise. - * elf64-s390.c: Likewise. - * elfcore.h: Likewise. - * elflink.c: Likewise. - * elfxx-mips.c: Likewise. - * elfxx-sparc.c: Likewise. - * elfxx-tilegx.c: Likewise. - * ieee.c: Likewise. - * libcoff.h: Likewise. - * libpei.h: Likewise. - * libxcoff.h: Likewise. - * linker.c: Likewise. - * mach-o-i386.c: Likewise. - * mach-o-target.c: Likewise. - * mach-o.c: Likewise. - * mach-o.h: Likewise. - * mmo.c: Likewise. - * opncls.c: Likewise. - * pdp11.c: Likewise. - * pe-x86_64.c: Likewise. - * peXXigen.c: Likewise. - * pef-traceback.h: Likewise. - * pei-x86_64.c: Likewise. - * peicode.h: Likewise. - * plugin.c: Likewise. - * reloc.c: Likewise. - * riscix.c: Likewise. - * section.c: Likewise. - * som.c: Likewise. - * syms.c: Likewise. - * tekhex.c: Likewise. - * ticoff.h: Likewise. - * vaxbsd.c: Likewise. - * xcofflink.c: Likewise. - * xtensa-isa.c: Likewise. - -2013-01-10 Will Newton - - * Makefile.am: Add Meta. - * Makefile.in: Regenerate. - * archures.c (bfd_mach_metag): New. - * bfd-in2.h: Regenerate. - * config.bfd: Add Meta. - * configure: Regenerate. - * configure.in: Add Meta. - * cpu-metag.c: New file. - * elf-bfd.h: Add Meta. - * elf32-metag.c: New file. - * elf32-metag.h: New file. - * libbfd.h: Regenerate. - * reloc.c: Add Meta relocations. - * targets.c: Add Meta. - -2013-01-08 Yufeng Zhang - - * elf-bfd.h (elfcore_write_aarch_tls): Add prototype. - (elfcore_write_aarch_hw_break): Likewise. - (elfcore_write_aarch_hw_watch): Likewise. - * elf.c (elfcore_grok_aarch_tls): New function. - (elfcore_grok_aarch_hw_break): Likewise. - (elfcore_grok_aarch_hw_watch): Likewise. - (elfcore_grok_note): Call the new functions to handle the - corresponding notes. - (elfcore_write_aarch_tls): New function. - (elfcore_write_aarch_hw_break): Likewise. - (elfcore_write_aarch_hw_watch): Likewise. - (elfcore_write_register_note): Call the new functions to handle the - corresponding pseudo sections. - -2013-01-07 Tom Tromey - - * section.c (_bfd_std_section): Rename from std_section. - (bfd_com_section_ptr, bfd_und_section_ptr, bfd_abs_section_ptr) - (STD_SECTION): Update. - * bfd-in2.h: Rebuild. - -2013-01-04 Juergen Urban - - * archures.c (bfd_mach_mips5900): Define. - * bfd-in2.h: Regenerate. - * config.bfd: Add mips64-ps2-elf and mips-ps2-elf targets. - * cpu-mips.c: Add support for MIPS r5900. - * elfxx-mips.c: Add support for MIPS r5900 (extension of r4000). - -2013-01-03 Nickolai Zeldovich - Nick Clifton - - * elflink.c (get_value): Prevent the use of an undefined shift - operation. Add sanity checks. - -2013-01-02 Kaushik Phatak - - * config.bfd (cr16*-*-uclinux*): New target support. - - -For older changes see ChangeLog-2012 +For older changes see ChangeLog-2013 -Copyright (C) 2013 Free Software Foundation, Inc. +Copyright (C) 2014 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright diff --git a/bfd/ChangeLog-2013 b/bfd/ChangeLog-2013 new file mode 100644 index 00000000000..01cdac4bc14 --- /dev/null +++ b/bfd/ChangeLog-2013 @@ -0,0 +1,3239 @@ +2013-12-30 Ilya Tocar + + * peXXigen.c (rsrc_process_section): Use ptrdiff_t as the type for + pointer arithmetic. + +2013-12-20 Alan Modra + + * elf-eh-frame.c (cie_eq): Return false when initial_insn_length + is too large. + (cie_compute_hash): Don't exceed bounds of initial_instructions. + (_bfd_elf_parse_eh_frame): Always set initial_insn_length, and + save as much of insns to initial_instructions[] as will fit. + +2013-12-19 H.J. Lu + + PR binutils/16317 + * elf.c (assign_section_numbers): Set the SHF_INFO_LINK bit for + SHT_REL/SHT_RELA sections when setting the sh_info field. + +2013-12-19 Pierre Muller + + * peXXigen.c (rsrc_cmp): Fix unused variable warning. + +2013-12-19 Pierre Muller + + * peXXigen.c (u16_mbtouc): Avoid unused function warning by excluding + if __CYGWIN__ or __MINGW32__ macro is defined. + (rsrc_cmp): Fix Windows host version and version without wchar header. + [__CYGWIN__, __MINGW32__]: Introduce rsrccmp macro. + Fix coding standard issues. + +2013-12-19 Andreas Schwab + + * elf32-m68k.c (elf_m68k_add_symbol_hook): New function. + (elf_backend_add_symbol_hook): Define. + +2013-12-18 Nick Clifton + + * peXXigen.c (rsrc_print_section): Use ptrdiff_t as the type for + pointer arithmetic. + +2013-12-17 H.J. Lu + + * elf32-arm.c (elf32_arm_post_process_headers): Call + _bfd_elf_post_process_headers. + +2013-12-17 H.J. Lu + + * elf32-spu.c (spu_elf_post_process_headers): Call + _bfd_elf_post_process_headers. + * elfxx-mips.c (_bfd_mips_post_process_headers): Likewise. + +2013-12-17 H.J. Lu + + * elf-bfd.h (_bfd_elf_set_osabi): Renamed to ... + (_bfd_elf_post_process_headers): This. + * elf.c (_bfd_elf_compute_section_file_positions): Always + call elf_backend_post_process_headers. + (_bfd_elf_set_osabi): Renamed to ... + (_bfd_elf_post_process_headers): This. + * elf32-hppa.c (elf_backend_post_process_headers): Removed. + * elf32-i370.c (elf_backend_post_process_headers): Likewise. + * elf32-msp430.c (elf_backend_post_process_headers): Likewise. + * elf32-ppc.c (elf_backend_post_process_headers): Likewise. + * elf32-sparc.c (elf_backend_post_process_headers): Likewise. + * elf64-hppa.c (elf_backend_post_process_headers): Likewise. + * elf64-ppc.c (elf_backend_post_process_headers): Likewise. + * elf64-sparc.c (elf_backend_post_process_headers): Likewise. + * elf64-x86-64.c (elf_backend_post_process_headers): Likewise. + * (elf_backend_post_process_headers): Likewise. + * (elf_backend_post_process_headers): Likewise. + * elf32-i386.c (elf_backend_post_process_headers): Don't + define as _bfd_elf_set_osabi. + (elf_i386_fbsd_post_process_headers): Updated. + * elf32-mips.c (elf_fbsd_post_process_headers): Removed. + (elf_backend_post_process_headers): Likewise. + * elf32-tic6x.c (elf32_tic6x_set_osabi): Removed. + (elf_backend_post_process_headers): Likewise. + * elf64-mips.c (elf_fbsd_post_process_headers): Removed. + (elf_backend_post_process_headers): Likewise. + * elfn32-mips.c (elf_fbsd_post_process_headers): Removed. + (elf_backend_post_process_headers): Likewise. + * elfnn-aarch64.c (elfNN_aarch64_post_process_headers): Updated. + * elfxx-target.h (elf_backend_post_process_headers): Default + to _bfd_elf_post_process_headers. + +2013-12-17 H.J. Lu + + PR binutils/16318 + * elf32-arm.c (elf32_arm_copy_private_bfd_data): Call + _bfd_elf_copy_private_bfd_data. + * elf32-bfin.c (bfin_elf_copy_private_bfd_data): Removed. + (elf32_bfinfdpic_copy_private_bfd_data): Likewise. + (bfd_elf32_bfd_copy_private_bfd_data): Don't define. + * elf32-frv.c (frv_elf_copy_private_bfd_data): Removed. + (elf32_frvfdpic_copy_private_bfd_data): Likewise. + (bfd_elf32_bfd_copy_private_bfd_data): Don't define. + * elf32-iq2000.c (iq2000_elf_copy_private_bfd_data): Removed. + (bfd_elf32_bfd_copy_private_bfd_data): Don't define. + * elf32-lm32.c (lm32_elf_copy_private_bfd_data): Removed. + (lm32_elf_fdpic_copy_private_bfd_data): Call + _bfd_elf_copy_private_bfd_data. + * elf32-mep.c (mep_elf_copy_private_bfd_data): Removed. + (bfd_elf32_bfd_copy_private_bfd_data): Don't define. + * elf32-msp430.c (elf32_msp430_copy_private_bfd_data): Removed. + (bfd_elf32_bfd_copy_private_bfd_data): Don't define. + * elf32-mt.c (mt_elf_copy_private_bfd_data): Removed. + (bfd_elf32_bfd_copy_private_bfd_data): Don't define. + * elf32-sh.c (sh_elf_set_private_flags): Removed. + (sh_elf_copy_private_data): Call _bfd_elf_copy_private_bfd_data + and sh_elf_set_mach_from_flags. + * elfnn-aarch64.c (elfNN_aarch64_copy_private_bfd_data): Removed. + (bfd_elfNN_bfd_copy_private_bfd_data): Don't define. + +2013-12-17 H.J. Lu + + * peXXigen.c (rsrc_process_section): Rename index to indx. + +2013-12-17 Nick Clifton + + * peXXigen.c: Include wchar.h if available. + Include safe-ctype.h. + (HighBitSet, SetHighBit, WithoutHighBit): New macros. + (pe_print_resource_entries): Rename to + rsrc_print_resource_entries. Handle names that are not RVAs. + (pe_print_resource_directory): Rename to + rsrc_print_resource_directory. + (pe_print_rsrc): Rename to rsrc_print_section. Corrupt + computation of RVA bias. + (rsrc_count_entries): New function. + (rsrc_count_directory): New function. + (rsrc_parse_entry): New function. + (rsrc_parse_entries): New function. + (rsrc_parse_directory): New function. + (rsrc_write_string): New function. + (rsrc_compute_rva): New function. + (rsrc_write_leaf): New function. + (rsrc_write_entry): New function. + (rsrc_write_directory): New function. + (u16_mbtouc): New function. + (rsrc_cmp): New function. + (rsrc_print_name): New function. + (rsrc_resource_name): New function. + (rsrc_merge_string_entries): New function. + (rsrc_sort_entries): New function. + (rsrc_attach_chain): New function. + (rsrc_merge): New function. + (rsrc_process_section): New function - merges the contents of a + .rsrc section. + (_bfd_XXi_final_link_postscript): Call rsrc_process_section. + (rsrc_print_section): Fix mingw64 size issue. + + * configure.in (AC_CHECK_HEADERS): Add wchar.h + * config.in: Regenerate. + * configure: Regenerate. + +2013-12-16 Andreas Schwab + + * elf64-ppc.c (ppc64_elf_relocate_section): Add newline to error + message. + +2013-12-14 Alan Modra + + * elflink.c (_bfd_elf_merge_symbol): If merging a new weak + symbol that will be skipped, we don't have a new definition. + +2013-12-13 Kuan-Lin Chen + Wei-Cheng Wang + + * Makefile.am (BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Add nds32 + files. + * Makefile.in: Regenerate. + * archures.c (bfd_nds32_arch): Add nds32 target. + * bfd-in2.h: Regenerate. + * config.bfd (nds32*le-*-linux): Add bfd_elf32_nds32lelin_vec + and bfd_elf32_nds32belin_vec. + (nds32*be-*-linux*): Likewise. + (nds32*le-*-*): Add bfd_elf32_nds32le_vec and bfd_elf32_nds32be_vec. + (nds32*be-*-*): Likewise. + * configure.in (bfd_elf32_nds32be_vec): Add elf32-nds32.lo. + (bfd_elf32_nds32le_vec): Likewise. + (bfd_elf32_nds32belin_vec): Likewise. + (bfd_elf32_nds32lelin_vec): Likewise. + * configure: Regenerate. + * cpu-nds32.c: New file for nds32. + * elf-bfd.h: Add NDS32_ELF_DATA. + * elf32-nds32.c: New file for nds32. + * elf32-nds32.h: New file for nds32. + * libbfd.h: Regenerate. + * reloc.c: Add relocations for nds32. + * targets.c (bfd_elf32_nds32be_vec): New declaration for nds32. + (bfd_elf32_nds32le_vec): Likewise. + (bfd_elf32_nds32belin_vec): Likewise. + (bfd_elf32_nds32lelin_vec): Likewise. + +2013-12-12 H.J. Lu + + PR binutils/16318 + * elf.c (_bfd_elf_copy_private_bfd_data): Remove BFD_ASSERT. + Set e_flags only if elf_flags_init is FALSE. Copy EI_OSABI + field. + +2013-12-12 H.J. Lu + + * elf32-sh.c (bfd_elf32_bfd_set_private_bfd_flags): Removed. + +2013-12-12 H.J. Lu + + * elf.c (assign_file_positions_except_relocs): Set e_type in ELF + header to ET_EXEC for -pie -Ttext-segment=. + +2013-12-08 Alan Modra + + * elflink.c (_bfd_elf_add_default_symbol): Set dynamic_def + and ref_dynamic_nonweak when chaining together indirect + symbols. + +2013-12-06 Tristan Gingold + + * pei-x86_64.c (pex64_xdata_print_uwd_codes): Add argument rf. + Display epilog opcode. + (pex64_dump_xdata): Add argument rf; make addr a local variable. + Adjust call to pex64_xdata_print_uwd_codes. + (pex64_bfd_print_pdata): Display code range, adjust call to + +2013-12-05 Tristan Gingold + + * mach-o.c (bfd_mach_o_mkobject_init): Use bfd_zalloc. + +2013-12-03 Nick Clifton + + * peXXigen.c (pe_print_resource_entries): New function: Displays + an entry in a .rsrc section. + (pe_print_resource_directory): New function: Displays a directory + in a .rsrc section. + (pe_print_rsrc): New function: Displays the contents of .rsrc + section. + (_bfd_XX_print_private_bfd_data_common): Call pe_print_rsrc. + +2013-12-03 Alan Modra + + * elf64-ppc.c (ppc_build_one_stub ): + Don't omit saving of r2 for ELFv2. Don't addi 2,2,0. + (ppc_size_one_stub ): Adjust to suit. + +2013-12-03 Alan Modra + + * elf64-ppc.c (ppc64_elf_link_just_syms): Remove .got check. + Handle ELFv2. + +2013-11-26 Will Newton + + * elfnn-aarch64.c (elfNN_aarch64_finish_dynamic_symbol): + Handle STT_GNU_IFUNC symbols correctly in static links. + +2013-11-26 Will Newton + + * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Ensure + PLT_INDEX is calculated using correct header size. + +2013-11-22 Cory Fields + + * libcoff-in.h: Add insert_timestamp flag to the pe_data struct. + * libcoff.h: Regenerate. + * peXXigen.c (_bfd_XXi_only_swap_filehdr_out): Only use a real + timestamp if --insert-timestamp was used. + +2013-11-19 Roland McGrath + + * elf-nacl.c (nacl_modify_segment_map): Calculate SIZEOF_HEADERS + when not doing linking (i.e. INFO is a null pointer). + +2013-11-19 H.J. Lu + + * elf64-x86-64.c (elf_x86_64_section_from_shdr): Re-indent. + +2013-11-17 H.J. Lu + + * elf64-x86-64.c (x86_64_elf_howto_table): Add R_X86_64_PC32_BND + and R_X86_64_PLT32_BND. + (R_X86_64_standard): Replace R_X86_64_RELATIVE64 with + R_X86_64_PLT32_BND. + (IS_X86_64_PCREL_TYPE): Add R_X86_64_PLT32_BND. + (x86_64_reloc_map): Add BFD_RELOC_X86_64_PC32_BND and + BFD_RELOC_X86_64_PLT32_BND. + (elf_x86_64_check_relocs): Handle R_X86_64_PC32_BND and + R_X86_64_PLT32_BND. + (elf_x86_64_gc_sweep_hook): Likewise. + (elf_x86_64_relocate_section): Likewise. + * reloc.c (bfd_reloc_code_real): Add BFD_RELOC_X86_64_PC32_BND + and BFD_RELOC_X86_64_PLT32_BND. + * bfd-in2.h: Regenerated. + * libbfd.h: Likewise. + +2013-11-15 H.J. Lu + + * elf32-i386.c (elf_i386_allocate_dynrelocs): Make room for + PLT0 directly. + * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise. + +2013-11-14 Nick Clifton + + PR ld/16017 + * elf32-arm.c (elf32_arm_populate_plt_entry): Return a boolean + value, TRUE for success, FALSE for failure. + Fail if attempting to create a PLT entry for a thumb only target. + (elf32_arm_final_link_relocate): Check result of calling + elf32_arm_populate_plt_entry. + (elf32_arm_finish_dynamic_symbol): Likewise. + +2013-11-14 Guy Martin + + PR ld/16082 + * elf32-hppa.c (elf32_hppa_hide_symbol): Remove old version + information when forcing a symbol to be local. + +2013-11-13 Yufeng Zhang + + * elfnn-aarch64.c (elfNN_aarch64_howto_table): Use + R_AARCH64_TLS_DTPMOD64 instead of R_AARCH64_TLS_DTPMOD; + likewise for R_AARCH64_TLS_DTPREL and R_AARCH64_TLS_TPREL. + +2013-11-12 Matthew Leach + + * elfxx-aarch64.c (_bfd_aarch64_elf_grok_prstatus): Fix hard-coded + size of struct elf_prstatus. + +2013-11-11 Alan Modra + + * elf64-ppc.c (allocate_dynrelocs): Revert 2013-11-04 change. + +2013-11-11 Ulrich Weigand + + * elf64-ppc.c (ppc64_elf_edit_toc): Use SYMBOL_REFERENCES_LOCAL + here, not SYMBOL_CALLS_LOCAL. + (ppc64_elf_relocate_section): Likewise. + (size_global_entry_stubs): Set undefined symbols on their global + entry stubs here.. + (build_global_entry_stubs): ..rather than here. + (ppc64_elf_build_stubs): Don't reset glink->size before calling + build_global_entry_stubs. + +2013-11-07 Roland McGrath + + * archures.c (bfd_mach_i386_nacl): Fix definition so it doesn't + collide with bfd_mach_l1om. + * bfd-in2.h: Regenerate. + + * elf32-i386.c (elf32_i386_nacl_elf_object_p): New function. + (elf_backend_object_p): Use that in elf32-i386-nacl definition. + * elf64-x86-64.c (elf64_x86_64_nacl_elf_object_p): New function. + (elf_backend_object_p): Use that in elf64-x86-64-nacl definition. + (elf32_x86_64_nacl_elf_object_p): New function. + (elf_backend_object_p): Use that in elf32-x86-64-nacl definition. + +2013-11-05 DJ Delorie + + * elf32-rl78.c (elf32_rl78_relax_delete_bytes): Make sure relocs + are loaded before trying to use them. + +2013-11-05 H.J. Lu + Bernhard Rosenkränzer + + PR ld/4409 + * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): Add an argument for + error ignored. + * elf-m10200.c (mn10200_elf_relocate_section): Updated. + * elf-m10300.c (mn10300_elf_relocate_section): Likewise. + * elf32-arm.c (elf32_arm_relocate_section): Likewise. + * elf32-avr.c (elf32_avr_relocate_section): Likewise. + * elf32-bfin.c (bfinfdpic_relocate_section): Likewise. + (bfin_relocate_section): Likewise. + * elf32-cr16.c (elf32_cr16_relocate_section): Likewise. + * elf32-cr16c.c (elf32_cr16c_relocate_section): Likewise. + * elf32-cris.c (cris_elf_relocate_section): Likewise. + * elf32-crx.c (elf32_crx_relocate_section): Likewise. + * elf32-d10v.c (elf32_d10v_relocate_section): Likewise. + * elf32-epiphany.c (epiphany_elf_relocate_section): Likewise. + * elf32-fr30.c (fr30_elf_relocate_section): Likewise. + * elf32-frv.c (elf32_frv_relocate_section): Likewise. + * elf32-h8300.c (elf32_h8_relocate_section): Likewise. + * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. + * elf32-i386.c (elf_i386_relocate_section): Likewise. + * elf32-i860.c (elf32_i860_relocate_section): Likewise. + * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise. + * elf32-iq2000.c (iq2000_elf_relocate_section): Likewise. + * elf32-lm32.c (lm32_elf_relocate_section): Likewise. + * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Likewise. + * elf32-m68k.c (elf_m68k_relocate_section): Likewise. + * elf32-metag.c (elf_metag_relocate_section): Likewise. + * elf32-microblaze.c (microblaze_elf_relocate_section): Likewise. + * elf32-mcore.c (mcore_elf_relocate_section): Likewise. + * elf32-mep.c (mep_elf_relocate_section): Likewise. + * elf32-moxie.c (moxie_elf_relocate_section): Likewise. + * elf32-msp430.c (elf32_msp430_relocate_section): Likewise. + * elf32-mt.c (mt_elf_relocate_section): Likewise. + * elf32-nios2.c (nios2_elf32_relocate_section): Likewise. + * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. + * elf32-ppc.c (ppc_elf_relocate_section): Likewise. + * elf32-rl78.c (rl78_elf_relocate_section): Likewise. + * elf32-rx.c (rx_elf_relocate_section): Likewise. + * elf32-tic6x.c (elf32_tic6x_relocate_section): Likewise. + * elf32-tilepro.c (tilepro_elf_relocate_section): Likewise. + * elf32-s390.c (elf_s390_relocate_section): Likewise. + * elf32-v850.c (v850_elf_relocate_section): Likewise. + * elf32-vax.c (elf_vax_relocate_section): Likewise. + * elf32-xc16x.c (elf32_xc16x_relocate_section): Likewise. + * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. + * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise. + * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. + * elf64-ia64-vms.c (elf64_ia64_relocate_section): Likewise. + * elf64-mmix.c (mmix_elf_relocate_section): Likewise. + * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. + * elf64-s390.c (elf_s390_relocate_section): Likewise. + * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. + * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise. + * elfxx-tilegx.c (tilegx_elf_relocate_section): Likewise. + * elfnn-aarch64.c (elfNN_aarch64_relocate_section): Likewise. + + * elfnn-ia64.c (elfNN_ia64_relocate_section): Skip if error + from RELOC_FOR_GLOBAL_SYMBOL in executable is ignored. + +2013-11-05 Alan Modra + + * elf64-ppc.c (ppc64_elf_func_desc_adjust): Make .TOC. defined and + hidden. + (ppc64_elf_set_toc): Adjust. + +2013-11-05 Alan Modra + + * elf64-ppc.c (struct ppc_link_hash_table): Remove got, plt, relplt, + iplt, reliplt. Update all references to use elf.sgot, elf.splt, + elf.srelplt, elf.iplt and elf.irelplt. + +2013-11-03 Sandra Loosemore + + * elf32-niso2.c (nios2_elf32_do_hi16_relocate): Remove incorrect + ATTRIBUTE_UNUSED from parameter. + (nios2_elf_do_lo16_relocate): Likewise. + (nios2_elf32_do_hiadj16_relocate): Likewise. + (nios2_elf32_do_pcrel_lo16_relocate): Likewise. + (nios2_elf32_do_pcrel_hiadj16_relocate): Likewise. + (nios2_elf32_do_pcrel16_relocate): Likewise. + (nios2_elf32_do_call26_relocate): Likewise. + (nios2_elf32_do_gprel_relocate): Likewise. + (nios2_elf32_do_ujmp_relocate): Likewise. + (nios2_elf32_do_cjmp_relocate): Likewise. + (nios2_elf32_do_callr_relocate): Likewise. + (nios2_elf32_gc_mark_hook): Likewise. + +2013-11-04 Alan Modra + + * elf64-ppc.c (ppc64_elf_relocate_section): Edit global entry + prologue to non-PIC in non-PIC executables. + +2013-11-04 Alan Modra + + * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Copy + pointer_equality_needed flag. + (ppc64_elf_check_relocs): For ELFv2 arrange to emit plt + entries for references to functions in shared libraries on + non-call relocs. + (readonly_dynrelocs): Split into function of the same name and.. + (maybe_set_textrel): ..this new function. Update call. + (ppc64_elf_adjust_dynamic_symbol): Don't emit dynrelocs for + ELFv2 in most cases if we have a plt entry. Use new + readonly_relocs. + (allocate_dynrelocs): For ELFv2, don't allocate dynreloc space + for ifunc in static executables. + (size_global_entry_stubs): New function. + (ppc64_elf_size_dynamic_sections): Call size_global_entry_stubs. + Save end of glink branch table. + (ppc64_elf_hash_symbol): New function. + (build_global_entry_stubs): New function. + (ppc64_elf_build_stubs): Call build_global_entry_stubs. Adjust + glink sizing. + (ppc64_elf_relocate_section): Tidy plt16/32/64 reloc code. + (ppc64_elf_finish_dynamic_symbol): For ELFv2, adjust symbols + defined on plt code. + +2013-11-02 Alan Modra + + * opncls.c (_bfd_new_bfd): Don't init vars already zeroed. + +2013-11-02 Alan Modra + + * elf64-ppc.c (ppc64_elf_next_input_section): Always set toc_off + to value for object file. + +2013-11-01 Roland McGrath + + * elf-nacl.c (segment_eligible_for_headers): Drop requirement that + some section have SEC_HAS_CONTENTS set. It's not set for + .note.gnu.build-id, and a segment of only read-only SHT_NOBITS + sections is implausible and not really supportable anyway. + +2013-10-30 Alan Modra + + * elf32-ppc.c (ppc_elf_size_dynamic_sections): Use new DT_PPC_OPT + tag to specify tls optimisation. + * elf64-ppc.c (ppc64_elf_size_dynamic_sections): Likewise. + (ppc64_elf_finish_dynamic_sections): Specify whether multiple + toc pointers are used via DT_PPC64_OPT. + +2013-10-30 Alan Modra + + * elf64-ppc.c (STK_LR, STK_TOC, STK_LINKER): Define. + (savegpr0_tail, restgpr0_tail, savefpr0_tail, restfpr0_tail) + build_plt_stub, build_tls_get_addr_stub, ppc_build_one_stub, + ppc64_elf_relocate_section): Use new defines. + +2013-10-30 Alan Modra + + * elf64-ppc.c (PLT_ENTRY_SIZE, PLT_INITIAL_ENTRY_SIZE): Add htab + parameter and adjust for ELFv2. Update all uses. + (PLT_CALL_STUB_SIZE): Delete. + (ppc64_elf_get_synthetic_symtab): Support new glink layout. + (allocate_dynrelocs): Likewise. + (plt_stub_size, build_plt_stub): Adjust for ELFv2. + (get_r2off): Return 0 for ELFv2 -R. + (ppc_build_one_stub, ppc_size_one_stub): Adjust for ELFv2. + (ppc64_elf_size_stubs): Likewise. + (ppc64_elf_build_stubs): Add new ELFv2 glink. + +2013-10-30 Alan Modra + Ulrich Weigand + + * elf64-ppc.c (struct ppc_stub_hash_entry): Add "other". + (stub_hash_newfunc): Init new ppc_stub_hash_entry field, and one + we forgot, "plt_ent". + (ppc64_elf_add_symbol_hook): Check ELFv1 objects don't have + st_other bits only valid in ELFv2. + (ppc64_elf_merge_symbol_attribute): New function. + (ppc_type_of_stub): Add local_off param to test branch range. + (ppc_build_one_stub): Adjust destinations for ELFv2 locals. + (ppc_size_one_stub, toc_adjusting_stub_needed): Similarly. + (ppc64_elf_size_stubs): Pass local_off to ppc_type_of_stub. + Set "other" field. + (ppc64_elf_relocate_section): Adjust destination for ELFv2 local + calls. + +2013-10-30 Alan Modra + + * elf64-ppc.c (abiversion, set_abiversion): New functions. + (ppc64_elf_get_synthetic_symtab): Handle ELFv2 objects without .opd. + (struct ppc_link_hash_table): Add opd_abi. + (ppc64_elf_check_relocs): Check no .opd with ELFv2. + (ppc64_elf_merge_private_bfd_data): New function. + (ppc64_elf_print_private_bfd_data): New function. + (ppc64_elf_tls_setup): Set htab->opd_abi. + (ppc64_elf_size_dynamic_sections): Don't emit OPD related dynamic + tags for ELFv2. + (ppc_build_one_stub): Use R_PPC64_IRELATIVE for ELFv2 ifunc. + (ppc64_elf_finish_dynamic_symbol): Likewise + +2013-10-30 Alan Modra + + * elf64-ppc.c (build_plt_stub): Switch stubs to use r11 as base + reg and r12 as destination. + (ppc_build_one_stub): Likewise. + (ppc64_elf_build_stubs): Likewise for glink. + +2013-10-30 Alan Modra + + * reloc.c (BFD_RELOC_PPC64_ADDR16_HIGH, BFD_RELOC_PPC64_ADDR16_HIGHA, + BFD_RELOC_PPC64_TPREL16_HIGH, BFD_RELOC_PPC64_TPREL16_HIGHA, + BFD_RELOC_PPC64_DTPREL16_HIGH, BFD_RELOC_PPC64_DTPREL16_HIGHA): New. + * elf64-ppc.c (ppc64_elf_howto_raw): Add entries for new relocs. + Make all _HA and _HI relocs report signed overflow. + (ppc64_elf_reloc_type_lookup): Handle new relocs. + (must_be_dyn_reloc, ppc64_elf_check_relocs): Likewise. + (dec_dynrel_count, ppc64_elf_relocate_section): Likewise. + (ppc64_elf_relocate_section): Don't apply 0x8000 adjust to + R_PPC64_TPREL16_HIGHER, R_PPC64_TPREL16_HIGHEST, + R_PPC64_DTPREL16_HIGHER, and R_PPC64_DTPREL16_HIGHEST. + * libbfd.h: Regenerate. + * bfd-in2.h: Regenerate. + +2013-10-29 Roland McGrath + + * elf64-x86-64.c (elf_x86_64_nacl_plt0_entry): Correct 9-byte nop + sequence to match what the assembler generates. + +2013-10-29 Jan Beulich + + * elflink.c (struct elf_outext_info): Add field file_sym_done. + (bfd_elf_final_link): Initialize new field. Move fake STT_FILE + symbol emission from here ... + (elf_link_output_extsym): ... to here. + +2013-10-24 Nick Clifton + + PR binutils/15994 + * dwarf2.c (lookup_address_in_line_info_table): Change return type + to be the range of addresses covered by the table. + (comp_unit_find_nearest_line): Likewise. + (find_line): Search all CUs. Select the one that matches and + covers the smallest address range. + +2013-10-18 Hans-Peter Nilsson + + * elf32-cris.c (cris_elf_check_relocs): Don't assume + a registered dynobj means that a .got has been created. + +2013-10-17 Alan Modra + + PR 16056 + * elf.c (copy_elf_program_header): Only consider SEC_ALLOC sections + when finding lowest_section. + +2013-10-14 Chao-ying Fu + + * elfxx-mips.c (mips_elf_obj_tdata): Add abi_msa_bfd. + (mips_elf_merge_obj_attributes): Set abi_msa_bfd to the first object + file that has a Tag_GNU_MIPS_ABI_MSA attribute. + Merge Tag_GNU_MIPS_ABI_MSA attributes. + +2013-10-14 Nick Clifton + + * gen-aout.c (main): Fix formatting. Close file. + +2013-10-13 Richard Sandiford + + * elfxx-mips.c (mips_use_local_got_p): New function. + (mips_elf_count_got_symbols, mips_elf_calculate_relocation): Use it. + (_bfd_mips_elf_check_relocs): Set pointer_equality_needed for + GOT and absolute references. + +2013-10-09 Roland McGrath + + * elf64-alpha.c (elf64_alpha_relax_tls_get_addr): Cast switch + expression to int to silence over-eager compiler warnings. + + * xcofflink.c (_bfd_xcoff_bfd_final_link): Don't touch EREL in + loop that doesn't use (or initialize) it. + + * elfxx-tilegx.c (tilegx32_plt_tail_entry, tilegx32_plt_tail_entry): + Move second const qualifier so it applies to the pointer. + +2013-10-09 Nick Clifton + + PR binutils/16022 + * elf32-rx.c (rx_dump_symtab): Add missing break statements. + +2013-10-09 Tom Tromey + + * opncls.c (get_alt_debug_link_info_shim): Update type of 'len'. + +2013-10-09 Nick Clifton + + PR ld/16021 + * elf32-rl78.c (rl78_dump_symtab): Delete. + (rl78_get_reloc): Delete. + +2013-10-09 Tom Tromey + + * bfd-in2.h: Rebuild. + * opncls.c (bfd_get_alt_debug_link_info): Change type of + buildid_len to bfd_size_type. + +2013-10-09 Sergio Durigan Junior + + PR binutils/15993 + * elf32-m32c.c (dump_symtab): Add missing "break;" statement on each + "case". Reindent "switch" statements. + +2013-10-08 Tom Tromey + + * bfd-in2.h: Rebuild. + * opncls.c (bfd_get_alt_debug_link_info): Add buildid_len + parameter. Change type of buildid_out. Update. + (get_alt_debug_link_info_shim): New function. + (bfd_follow_gnu_debuglink): Use it. + +2013-10-08 Andreas Schwab + + * elf32-m68k.c (elf_m68k_size_dynamic_sections): Add DT_DEBUG also + for PIE executables. + +2013-10-04 Jan-Benedict Glaw + + * configure: Regenerate. + +2013-10-03 Will Newton + + * configure: Regenerate. + * configure.in: Build elf-ifunc.o for AArch64. + * elfnn-aarch64.c: Include objalloc.h. + (elfNN_aarch64_local_htab_hash): New function. + (elfNN_aarch64_local_htab_eq): New function. + (elfNN_aarch64_get_local_sym_hash): New function. + (elfNN_aarch64_link_hash_table_create): Initialize local STT_GNU_IFUNC + symbol hash. + (elfNN_aarch64_hash_table_free): Free local STT_GNU_IFUNC symbol hash. + (elfNN_aarch64_final_link_relocate): Add sym argument. Add support + for handling STT_GNU_IFUNC symbols. + (elfNN_aarch64_gc_sweep_hook): Add support for garbage collecting + references to STT_GNU_IFUNC symbols. + (elfNN_aarch64_adjust_dynamic_symbol): Add support for handling + STT_GNU_IFUNC symbols. + (elfNN_aarch64_check_relocs): Add support for handling STT_GNU_IFUNC + symbols. Ensure we don't increase plt.refcount from -1 to 0. + (elfNN_aarch64_post_process_headers): Call _bfd_elf_set_osabi. + (elfNN_aarch64_is_function_type): Remove function. + (elfNN_aarch64_allocate_dynrelocs): Handle STT_GNU_IFUNC symbols. + (elfNN_aarch64_allocate_ifunc_dynrelocs): New function. + (elfNN_aarch64_allocate_local_dynrelocs): New function. + (elfNN_aarch64_allocate_local_ifunc_dynrelocs): New function. + (elfNN_aarch64_size_dynamic_sections): Call + elfNN_aarch64_allocate_local_dynrelocs. + (elfNN_aarch64_create_small_pltn_entry): Add info argument. + Add support for creating .iplt entries for STT_GNU_IFUNC symbols. + (elfNN_aarch64_finish_dynamic_symbol): Add support for handling + STT_GNU_IFUNC symbols and .iplt. + (elfNN_aarch64_finish_local_dynamic_symbol): New function. + (elfNN_aarch64_finish_dynamic_sections): Call + elfNN_aarch64_finish_local_dynamic_symbol. + +2013-09-30 Nick Clifton + + * cpu-msp430.c: Use printable names that match the values + displayed by readelf. + +2013-08-25 Andrew Pinski + + * elfnn-aarch64.c (TCB_SIZE): Base on the ARCH_SIZE rather than a + fixed size of 16. + +2013-09-24 Gregory Fong + + * elfxx-mips.c (mips_elf_create_got_section): Hide + _GLOBAL_OFFSET_TABLE_. + +2013-09-24 Alan Modra + + * elf32-mips.c (ELF_OSABI): Undef for vxworks. + +2013-09-24 Alan Modra + + * syms.c (_bfd_stab_section_find_nearest_line): Ignore partial + stabs at end of .stab. Tidy variable usage. Don't drop the need + for a NULL function name stab if If N_FUN stab is ignored. + Ensure index entry count loop matches write loop. + +2013-09-20 Alan Modra + + * configure: Regenerate. + +2013-09-18 Tristan Gingold + + * configure.in: Bump version to 2.24.51 + * configure: Regenerate. + +2013-09-17 Doug Gilmore + + * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): Handle + EF_MIPS_FP64. + +2013-08-31 John David Anglin + + * elf64-hppa.c (elf_hppa_final_link_relocate): Add missing '%' to + format string. + +2013-08-29 Jakub Jelinek + + * elf64-x86-64.c (elf_x86_64_check_tls_transition): Allow + 64-bit -mcmodel=large -fpic TLS GD and LD sequences. + (elf_x86_64_relocate_section): Handle -mcmodel=large -fpic + TLS GD and LD sequences in GD->LE, GD->IE and LD->LE transitions. + +2013-08-27 Alan Modra + + * elf-bfd.h (struct elf_backend_data): Remove as_needed_cleanup. + Add notice_as_needed. + * elf64-ppc.c (elf_backend_as_needed_cleanup): Don't define. + (elf_backend_notice_as_needed): Define. + (ppc64_elf_as_needed_cleanup): Rename and adjust.. + (ppc64_elf_notice_as_needed): ..to this. + * elflink.c (_bfd_elf_notice_as_needed): New function, extracted.. + (elf_link_add_object_symbols): ..from here. + * elfxx-target.h (elf_backend_as_needed_cleanup): Don't define. + (elf_backend_notice_as_needed): Define.. + (elfNN_bed): ..and use here. + +2013-08-26 Roland McGrath + + * archures.c (bfd_mach_i386_nacl, bfd_mach_i386_i386_nacl): New macros. + (bfd_mach_x86_64_nacl, bfd_mach_x64_32_nacl): New macros. + * cpu-i386.c (bfd_arch_i386_onebyte_nop_fill): New function. + (bfd_i386_nacl_arch): New variable. + (bfd_x86_64_nacl_arch, bfd_x64_32_nacl_arch): New variables. + (bfd_x64_32_arch_intel_syntax): Link them into the list. + * bfd-in2.h: Regenerate. + +2013-08-26 Roland McGrath + + * elf-nacl.c (nacl_modify_segment_map): Fix logic reordering the + elf_segment_map list. If an executable segment is page-aligned + but does not end with a full page, then append a fake section into + the segment map entry that pads out the page. + (nacl_final_write_processing): New function. Write the code fill + laid out in nacl_modify_segment_map. + * elf-nacl.h: Declare it. + * elf32-arm.c (elf32_arm_nacl_final_write_processing): New function. + (elf_backend_final_write_processing): Define it for NaCl backend. + * elf32-i386.c (elf_backend_final_write_processing): Likewise. + * elf64-x86-64.c (elf_backend_final_write_processing): Likewise. + + * elf-nacl.c (segment_eligible_for_headers): Rename MAXPAGESIZE + parameter to MINPAGESIZE. + (nacl_modify_segment_map): Use minpagesize instead of maxpagesize. + + * elf32-arm.c (ELF_MINPAGESIZE, ELF_COMMONPAGESIZE): #undef for NaCl. + +2013-08-24 Maciej W. Rozycki + + * elf32-tilepro.c (tilepro_elf_finish_dynamic_sections): Don't + set GOT's entry size if there is no ELF section data. + * elf64-s390.c (elf_s390_finish_dynamic_sections): Likewise. + * elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_sections): + Likewise. + +2013-08-23 H.J. Lu + + * elf64-x86-64.c (get_elf_x86_64_arch_data): New. + (get_elf_x86_64_backend_data): Use it. + (elf_x86_64_size_dynamic_sections): Likewise. + +2013-08-23 Yuri Chornoivan + + PR binutils/15834 + * bfdio.c: Fix typos. + * elf32-spu.c: Likewise. + * elfnn-aarch64.c: Likewise. + +2013-08-21 Tristan Gingold + + * coff-rs6000.c (_bfd_xcoff_sizeof_headers): Also count + .ovrflo sections. + * coffcode.h (coff_compute_section_file_positions): Force + match between file offset and vma offset. + +2013-08-21 Alan Modra + + * elflink.c (_bfd_elf_merge_symbol): Set *poldbfd, *poldweak, + and *poldalignment before exiting when !relocs_compatible. + +2013-08-21 Alan Modra + + * elflink.c (_bfd_elf_define_linkage_sym): Don't set STV_INTERNAL + symbols to STV_HIDDEN. + +2013-08-14 John Tytgat + + PR ld/15787 + * elf32-arm.c (elf32_arm_final_link_relocate): Use origin of output + segment containing the relocating symbol instead of assuming 0 for + sb group relocations. + +2013-08-09 Nick Clifton + + * elf32-rl78.c (rl78_elf_merge_private_bfd_data): Complain if G10 + flag bits do not match. + (rl78_elf_print_private_bfd_data): Describe G10 flag. + +2013-08-05 John Tytgat + + * po/BLD-POTFILES.in: Regenerate. + * po/SRC-POTFILES.in: Likewise. + +2013-07-31 John Tytgat + + PR ld/15787 + * elf32-arm.c (elf32_arm_final_link_relocate): Base SB on the + output section VMA. + +2013-07-28 Maciej W. Rozycki + + * elf64-hppa.c (elf64_hppa_finish_dynamic_sections) + : Return unsuccessfully if there's no `.data' + section. + +2013-07-27 Andrew Pinski + + * elfnn-aarch64.c (elfNN_aarch64_check_relocs): + Use the correct alignment for + _bfd_elf_make_dynamic_reloc_section for ILP32. + +2013-07-27 Andrew Pinski + + * elfnn-aarch64.c (elfNN_aarch64_howto_from_bfd_reloc): Handle + BFD_RELOC_AARCH64_NONE explicitly. + +2013-07-27 Maciej W. Rozycki + + * elf32-vax.c (elf_vax_finish_dynamic_sections): Don't set GOT's + entry size if there is no ELF section data. + +2013-07-27 Maciej W. Rozycki + + * elf32-vax.c (elf_vax_check_relocs) : + Don't check symbol visibility here. Remove a check already + asserted for. + (elf_vax_instantiate_got_entries): Use SYMBOL_REFERENCES_LOCAL + instead of individual checks. + (elf_vax_relocate_section) : Only + check the offset to decide if produce a GOT or PLT entry. + Remove redundant assertions. Remove code to produce GOT entries + for local symbols. Remove a duplicate comment and add a comment + on GOT relocations. + (elf_vax_finish_dynamic_symbol): Remove code to produce RELATIVE + dynamic relocs. + +2013-07-27 Maciej W. Rozycki + + * elf32-vax.c (elf_vax_always_size_sections): Correct a comment + typo. + +2013-07-27 Maciej W. Rozycki + + * elf32-vax.c (elf_vax_discard_got_entries): New function. + (elf_vax_always_size_sections): Likewise. + (elf_vax_size_dynamic_sections): Remove code moved to + elf_vax_always_size_sections. Make comment on + elf_vax_instantiate_got_entries match reality. + (elf_vax_instantiate_got_entries): Assert that rather than check + if dynobj is null. Don't check for dynamic_sections_created. + Make function description match reality. + (elf_backend_always_size_sections): New macro. + +2013-07-25 Alan Modra + + * elf64-ppc.c (struct ppc64_elf_obj_tdata): Replace opd_relocs + with a union. + (opd_entry_value): Cache .opd section contents. + (ppc64_elf_relocate_section): Adjust. + +2013-07-25 Alan Modra + + PR ld/15762 + PR ld/12761 + * elflink.c (elf_link_add_object_symbols): Correct test in + last patch. Remove unnecessary code. + +2013-07-24 Tristan Gingold + + * coff-rs6000.c (xcoff_howto_table): Fix masks and pc_relative for + R_RBR. Add numbers in comments. + (_bfd_xcoff_reloc_type_lookup): Handle BFD_RELOC_PPC_B16. + * coff64-rs6000.c: Likewise. + +2013-07-20 Alan Modra + + PR ld/15762 + PR ld/12761 + * elflink.c (elf_link_add_object_symbols): Don't clobber + .gnu.warning.symbol sections when shared. + +2013-07-19 Nick Clifton + + * elf32-rx.c (rx_elf_relocate_section): Fix typo: move + saw_subtract from R_RX_OPdiv to R_RX_OPneg. + +2013-07-18 Travis Snoozy + + PR ld/15721 + * elf32-msp430.c (R_MSP430_10_PCREL): Use 10-bit source and + destination masks. + * R_MSP430_2X_PCREL: Likewise. + * R_MSP430X_10_PCREL: Likewise. + * R_MSP430X_2X_PCREL: Likewise. + +2013-07-18 Terry Guo + + * elf32-arm.c (arm_type_of_stub): Don't use ST_BRANCH_TO_ARM for + thumb only targets. + (elf32_arm_final_link_relocate): Likewise. + +2013-07-18 Bill Neubauer + + * mach-o.c (mach_o_section_name_xlat dw): Add entry for + .debug_gdb_scripts + +2013-07-18 Roland McGrath + + * elf32-arm.c (elf32_arm_stub_long_branch_arm_nacl): New variable. + (elf32_arm_stub_long_branch_arm_nacl_pic): New variable. + (arm_build_one_stub): Increase MAXRELOCS to 3. + (arm_type_of_stub): Use them if GLOBALS->nacl_p. + (struct elf32_arm_link_hash_table): Give add_stub_section member's + pointee type a third argument. + (elf32_arm_create_or_find_stub_sec): Update caller. + (elf32_arm_size_stubs): Update argument type. + * bfd-in.h (elf32_arm_size_stubs): Update decl. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + +2013-07-15 Maciej W. Rozycki + + * elfxx-mips.c (mips_elf_merge_obj_attributes): Replace hardcoded + magic numbers with enum values. + +2013-07-12 Roland McGrath + + * reloc.c: Add BFD_RELOC_390_PC12DBL, BFD_RELOC_390_PLT12DBL, + BFD_RELOC_390_PC24DBL, BFD_RELOC_390_PLT24DBL (should have + been added here with 2013-07-05 elf32-s390.c change). + * bfd-in2.h: Regenerate (no-op). + * libbfd.h: Regenerate (no-op). + +2013-07-12 Maciej W. Rozycki + + * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Handle + EF_MIPS_NAN2008. + (_bfd_mips_elf_print_private_bfd_data): Likewise. + +2013-07-09 Tristan Gingold + + * vms-alpha.c (struct vms_private_data_struct): Remove + flag_hash_long_names and flag_show_after_trunc. + (hash_string): Remove. + (_bfd_vms_length_hash_symbol): Remove. + (alpha_vms_write_exec): Remove call to _bfd_vms_length_hash_symbol. + (_bfd_vms_write_egsd): Likewise. Rewrite condition. + (_bfd_vms_write_ehdr): Remove code that set removed flags. + (_bfd_vms_write_etir): Remove call to _bfd_vms_length_hash_symbol. + (vms_bfd_is_local_label_name): Remove trace call. + +2013-07-09 Tristan Gingold + + * hosts/alphavms.h: Include config.h and ansidecl.h, remove useless + macros. + * configure.com: Adjust to match changes in configure. + * makefile.vms (OBJS): Update list. + +2013-07-05 Tristan Gingold + + * coffcode.h (coff_write_object_contents): Use ".ovrflo" name for + overflow sections. + +2013-07-05 Andreas Krebbel + + * elf32-s390.c: Add new relocation definitions R_390_PC12DBL, + R_390_PLT12DBL, R_390_PC24DBL, and R_390_PLT24DBL. + (elf_s390_reloc_type_lookup, elf_s390_check_relocs) + (elf_s390_gc_sweep_hook, elf_s390_relocate_section): Support new + relocations. + * elf64-s390.c: See elf32-s390.c + * bfd-in2.h: Add new relocs to enum bfd_reloc_code_real. + * libbfd.h: Add new reloc strings. + +2013-07-03 Marcus Shawcroft + + * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Reorder case + values. + (elfNN_aarch64_relocate_section): Likewise. + (elfNN_aarch64_gc_sweep_hook): Likewise. + (elfNN_aarch64_check_relocs): Likewise. + +2013-07-03 Alan Modra + + * elf64-ppc.c (ppc64_elf_func_desc_adjust): Don't hide .TOC. + when relocatable. Don't change root.type or type here. + (ppc64_elf_set_toc): Set type of .TOC. to STT_OBJECT. + +2013-07-03 Alan Modra + + * elf64-ppc.c (struct ppc_stub_hash_entry): Delete "addend". + (ppc64_elf_size_stubs): Don't set "addend". + (ppc64_elf_relocate_section): Don't allow calls via + toc-adjusting stubs without a following nop even in an + executable, except for self-calls and both libc_start_main + and .libc_start_main. + +2013-07-03 Alan Modra + + * elf64-ppc.c (ppc64_elf_func_desc_adjust): Hide ".TOC.". + +2013-07-02 Tristan Gingold + + * coff-rs6000.c (xcoff_find_nearest_line_discriminator): Add missing + line. + +2013-07-02 Tristan Gingold + + * vms-alpha.c (_bfd_generic_find_nearest_line_discriminator): Define. + (_bfd_vms_find_nearest_line_discriminator): New function. + +2013-07-02 Tristan Gingold + + * coff-rs6000.c (xcoff_create_csect_from_smclas): Handle more smclas. + +2013-07-02 Tristan Gingold + + * coff-rs6000.c (xcoff_find_nearest_line_discriminator): New function. + (rs6000coff_vec): Reference it. + +2013-07-02 Marcus Shawcroft + + * elfnn-aarch64.c (aarch64_elf_create_got_section): New. + (elfNN_aarch64_check_relocs): Use aarch64_elf_create_got_section. + (elfNN_aarch64_create_dynamic_sections): Do not define + _GLOBAL_OFFSET_TABLE_; call aarch64_elf_create_got_section. + +2013-07-02 Alan Modra + + * elf64-ppc.c (ppc64_elf_relocate_section): Set "relocation" for + .TOC. after relocatable check. + +2013-07-01 Alan Modra + + * elf64-ppc.h (ppc64_elf_toc): Delete. + (ppc64_elf_set_toc): Declare. + * elf64-ppc.c (ppc64_elf_toc_reloc): Replace call to ppc64_elf_toc + with call the ppc64_elf_set_toc. + (ppc64_elf_toc_ha_reloc, ppc64_elf_toc64_reloc): Likewise. + (ppc64_elf_start_multitoc_partition): Likewise. + (struct ppc_link_hash_table): Delete dot_toc_dot. Replace all uses + with elf.hgot. + (ppc64_elf_process_dot_syms): Don't make a fake function descriptor + for ".TOC.". + (ppc64_elf_check_relocs): Mark sections with a reference to .TOC. + as needing a toc pointer. + (ppc64_elf_size_stubs): Don't set dot_toc_dot here. + (ppc64_elf_set_toc): Rename from ppc64_elf_toc. Add info param. + Set elf.hgot value. + +2013-06-28 H.J. Lu + + PR ld/15685 + * elf64-x86-64.c (elf_x86_64_relocate_section): Handle + R_X86_64_DTPOFF64. + +2013-06-28 Nick Clifton + + PR ld/15302 + * elf32-arm.c (allocate_dynrelocs_for_symbol): Revert previous patch. + +2013-06-27 Marcus Shawcroft + + * elfnn-aarch64.c (elfNN_aarch64_check_relocs): Reserve one slot + in sgot. + (elfNN_aarch64_finish_dynamic_sections): Place the &_DYNAMIC reference + in sgot[0] rather than sgotplt[0]. + +2013-06-26 Yufeng Zhang + + * Makefile.am (elf32-aarch64.c): Add a #line cpp directive at the + beginning of the generated file. + (elf64-aarch64.c): Likewise. + * Makefile.in: Re-generated. + +2013-06-26 Yufeng Zhang + + * Makefile.am (BFD64_BACKENDS): Add elfxx-aarch64.c. + (BFD64_BACKENDS_CFILES): Add elfxx-aarch64.lo. + * Makefile.in: Re-generated. + * configure.in (bfd_elf64_bigaarch64_vec): Add elfxx-aarch64.lo. + (bfd_elf64_littleaarch64_vec): Likewise. + (bfd_elf32_bigaarch64_vec): Likewise. + (bfd_elf32_littleaarch64_vec): Likewise. + * configure: Re-generated. + * elfxx-aarch64.c: New file; split from elf64-aarch64.c. + * elfxx-aarch64.h: New file. + * elfnn-aarch64.c: Include "elfxx-aarch64.h"; move the following + stuff to elfxx-aarch64.c. + (bfd_elf_aarch64_put_addend): Removed. + (PG_OFFSET, PG): Likewise. + (elfNN_aarch64_small_plt0_entry): Support ELF32. + (elfNN_aarch64_tlsdesc_small_plt_entry): Likewise. + (elf64_aarch64_grok_prstatus): Removed. + (elf_backend_grok_prstatus): Removed. + (insn32): Likewise. + (aarch64_unsigned_overflow): Likewise. + (aarch64_signed_overflow): Likewise. + (aarch64_resolve_relocation): Likewise. + (MASK): Likewise. + (decode_branch_ofs_26): Likewise. + (decode_cond_branch_ofs_19): Likewise. + (decode_ld_lit_ofs_19): Likewise. + (decode_tst_branch_ofs_14): Likewise. + (decode_movw_imm): Likewise. + (decode_adr_imm): Likewise. + (decode_add_imm): Likewise. + (reencode_branch_ofs_26): Likewise. + (reencode_cond_branch_ofs_19): Likewise. + (reencode_ld_lit_ofs_19): Likewise. + (reencode_tst_branch_ofs_14): Likewise. + (reencode_movw_imm): Likewise. + (reencode_adr_imm): Likewise. + (reencode_ldst_pos_imm): Likewise. + (reencode_add_imm): Likewise. + (reencode_movzn_to_movz): Likewise. + (reencode_movzn_to_movn): Likewise. + (aarch64_relocate): Update to call the new function names in + elfxx-aarch64.c. + (aarch64_calculate_got_entry_vma): Likewise. + (elfNN_aarch64_final_link_relocate): Likewise. + (elf64_aarch64_update_plt_entry): Likewise; change the type of the + parameter 'r_type' to bfd_reloc_code_real_type; rename to ... + (elf_aarch64_update_plt_entry): ... this. + (elfNN_aarch64_create_small_pltn_entry): Update. + (elfNN_aarch64_init_small_plt0_entry): Remove plt_got_base; add + bfd_vma plt_got_2nd_ent; update to call elf_aarch64_update_plt_entry. + (elfNN_aarch64_finish_dynamic_sections): Add plt_entry; update to + call elf_aarch64_update_plt_entry. + +2013-06-26 Yufeng Zhang + + * bfd-in2.h: Re-generated. + * elfnn-aarch64.c (HOWTO64, HOWTO32): New define. + (IS_AARCH64_TLS_RELOC): Change to be based on the + bfd reloc enumerators. + (IS_AARCH64_TLSDESC_RELOC): Likewise. + (PG, PG_OFFSET): Cast literal to bfd_vma. + (elf64_aarch64_howto_table): Removed. + (elf64_aarch64_howto_dynrelocs): Removed. + (elf64_aarch64_tls_howto_table): Removed. + (elf64_aarch64_tlsdesc_howto_table): Removed. + (elfNN_aarch64_howto_table): New table to host all howto entires.. + (R_AARCH64_*): Replaced by AARCH64_R (*) and AARCH64_R_STR (*). + (elfNN_aarch64_bfd_reloc_from_howto): New function. + (elfNN_aarch64_bfd_reloc_from_type): Ditto. + (struct elf_aarch64_reloc_map): New. + (elf_aarch64_reloc_map): New table. + (elfNN_aarch64_howto_from_bfd_reloc): New function. + (elfNN_aarch64_howto_from_type): Update to look up the new table + elfNN_aarch64_howto_table. + (struct elf64_aarch64_reloc_map): Remove. + (elf64_aarch64_reloc_map): Remove. + (elfNN_aarch64_reloc_type_lookup): Change to call + elfNN_aarch64_howto_from_bfd_reloc. + (elfNN_aarch64_reloc_name_lookup): Change to look up the new table + elfNN_aarch64_howto_table. + (aarch64_resolve_relocation): Refactor to switch on the bfd + reloc enumerators. + (bfd_elf_aarch64_put_addend): Likewise. + (elfNN_aarch64_final_link_relocate): Likewise. + (aarch64_tls_transition_without_check): Likewise. + (aarch64_reloc_got_type): Likewise. + (aarch64_can_relax_tls): Likewise. + (aarch64_tls_transition): Likewise. + (elfNN_aarch64_tls_relax): Likewise. + (elfNN_aarch64_final_link_relocate): Likewise. + (elfNN_aarch64_relocate_section): Likewise. + (elfNN_aarch64_gc_sweep_hook): Likewise. + (elfNN_aarch64_check_relocs): Likewise. + (aarch64_tls_transition): Change to return a bfd reloc enumerator. + * libbfd.h: Re-generated. + * reloc.c: Re-order the AArch64 bfd reloc enumerators. + (BFD_RELOC_AARCH64_RELOC_START) + (BFD_RELOC_AARCH64_RELOC_END) + (BFD_RELOC_AARCH64_LD_GOT_LO12_NC) + (BFD_RELOC_AARCH64_LD32_GOT_LO12_NC) + (BFD_RELOC_AARCH64_TLSDESC_LD_LO12_NC) + (BFD_RELOC_AARCH64_TLSDESC_LD32_LO12_NC) + (BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_LO12_NC) + (BFD_RELOC_AARCH64_TLSIE_LD32_GOTTPREL_LO12_NC) + (BFD_RELOC_AARCH64_IRELATIVE): New relocs. + +2013-06-26 Yufeng Zhang + + * Makefile.am (BFD64_BACKENDS): Add elf32-aarch64.lo. + (BUILD_CFILES): Add elf32-aarch64.c. + (elf32-aarch64.c): New rule for generating from elfnn-aarch64.c. + * Makefile.in: Re-generated. + * archures.c (bfd_mach_aarch64_ilp32): New define. + * bfd-in.h (bfd_elf32_aarch64_init_maps): New declaration. + (bfd_elf32_aarch64_set_options): Ditto. + (elf32_aarch64_setup_section_lists): Ditto. + (elf32_aarch64_next_input_section): Ditto. + (elf32_aarch64_size_stubs): Ditto. + (elf32_aarch64_build_stubs): Ditto. + * bfd-in2.h: Re-generated. + * config.bfd (aarch64-*-elf): Add bfd_elf32_littleaarch64_vec + and bfd_elf32_bigaarch64_vec. + (aarch64-*-linux*): Likewise. + (aarch64_be-*-elf): Likewise. + (aarch64_be-*-linux*): Likewise. + * configure.in (bfd_elf32_bigaarch64_vec) + (bfd_elf32_littleaarch64_vec): New. + * configure: Re-generated. + * cpu-aarch64.c (compatible): Don't allow mixing ilp32 objects with + lp64 ones. + (bfd_aarch64_arch_ilp32): New. + (bfd_aarch64_arch): Link to bfd_aarch64_arch_ilp32. + * elfnn-aarch64.c (ARCH_SIZE): New define. + (AARCH64_R, AARCH64_R_STR, LOG_FILE_ALIGN): New defines. + (GOT_ENTRY_SIZE): Re-define as (ARCH_SIZE / 8). + (elf64_aarch64_*): Rename to elfNN_aarch64_*. + (ELF64_R_*): Rename to ELFNN_R_*. + Plus other paramaterization. + * targets.c (bfd_elf32_bigaarch64_vec, bfd_elf32_littleaarch64_vec): + New declarations. + (_bfd_target_vector): Add bfd_elf32_bigaarch64_vec and + bfd_elf32_littleaarch64_vec. + +2013-06-26 Yufeng Zhang + + * Makefile.am (BFD64_BACKENDS_CFILES): Remove elf64-aarch64.c. + (BUILD_CFILES): Add elf64-aarch64.c. + (elf64-aarch64.c): New rule for generating from elfnn-aarch64.c. + * Makefile.in: Re-generated. + * elf64-aarch64.c: Rename to ... + * elfnn-aarch64.c: ... this. + +2013-06-25 Maciej W. Rozycki + Paul Brook + + * elfxx-mips.h (_bfd_mips_elf_insn32): New prototype. + * elfxx-mips.c (mips_elf_link_hash_table): Add insn32 member. + (STUB_MOVE32_MICROMIPS, STUB_JALR32_MICROMIPS): New macros. + (MICROMIPS_INSN32_FUNCTION_STUB_NORMAL_SIZE): Likewise. + (MICROMIPS_INSN32_FUNCTION_STUB_BIG_SIZE): Likewise. + (micromips_insn32_o32_exec_plt0_entry): New variable. + (micromips_insn32_o32_exec_plt_entry): Likewise. + (_bfd_mips_elf_adjust_dynamic_symbol): Handle insn32 mode. + (mips_elf_estimate_stub_size): Likewise. + (_bfd_mips_elf_size_dynamic_sections): Likewise. + (_bfd_mips_elf_finish_dynamic_symbol): Likewise. + (mips_finish_exec_plt): Likewise. + (_bfd_mips_elf_relax_section): Likewise. + (_bfd_mips_elf_insn32): New function. + (_bfd_mips_elf_get_synthetic_symtab): Handle insn32 PLT. + +2013-06-24 Maciej W. Rozycki + + * elfxx-mips.h (_bfd_mips_elf_get_synthetic_symtab): New + prototype. + * elf32-mips.c (elf_backend_plt_sym_val): Remove macro. + (bfd_elf32_get_synthetic_symtab): New macro. + * elfxx-mips.c (plt_entry): New structure. + (mips_elf_link_hash_entry): Add use_plt_entry member. + (mips_elf_link_hash_table): Rename plt_entry_size member to + plt_mips_entry_size. Add plt_comp_entry_size, plt_mips_offset, + plt_comp_offset, plt_got_index entries and plt_header_is_comp + members. + (STUB_LW_MICROMIPS, STUB_MOVE_MICROMIPS): New macros. + (STUB_LUI_MICROMIPS, STUB_JALR_MICROMIPS): Likewise. + (STUB_ORI_MICROMIPS, STUB_LI16U_MICROMIPS): Likewise. + (STUB_LI16S_MICROMIPS): Likewise. + (MICROMIPS_FUNCTION_STUB_NORMAL_SIZE): Likewise. + (MICROMIPS_FUNCTION_STUB_BIG_SIZE): Likewise. + (micromips_o32_exec_plt0_entry): New variable. + (mips16_o32_exec_plt_entry): Likewise. + (micromips_o32_exec_plt_entry): Likewise. + (mips_elf_link_hash_newfunc): Initialize use_plt_entry. + (mips_elf_output_extsym): Update to use gotplt_union's plist + member rather than offset. + (mips_elf_gotplt_index): Likewise. Remove the VxWorks + restriction. Use MIPS_ELF_GOT_SIZE to calculate GOT address. + (mips_elf_count_got_symbols): Update to use gotplt_union's plist + member rather than offset. + (mips_elf_calculate_relocation): Handle MIPS16/microMIPS PLT + entries. + (_bfd_mips_elf_create_dynamic_sections): Don't set PLT sizes + here. + (mips_elf_make_plt_record): New function. + (_bfd_mips_elf_check_relocs): Update comment. Record occurences + of JAL relocations that might need a PLT entry. + (_bfd_mips_elf_adjust_dynamic_symbol): Update to use + gotplt_union's plist member rather than offset. Set individual + PLT entry sizes here. Handle MIPS16/microMIPS PLT entries. + Don't set the symbol's value in the symbol table for PLT + references here. Don't set the PLT or PLT GOT section sizes + here. + (mips_elf_estimate_stub_size): Handle microMIPS stubs. + (mips_elf_allocate_lazy_stub): Likewise. + (mips_elf_lay_out_lazy_stubs): Likewise. Define a _MIPS_STUBS_ + magic symbol. + (mips_elf_set_plt_sym_value): New function. + (_bfd_mips_elf_size_dynamic_sections): Set PLT header size and + PLT and PLT GOT section sizes here. Set the symbol values in + the symbol table for PLT references here. Handle microMIPS + annotation of the _PROCEDURE_LINKAGE_TABLE_ magic symbol. + (_bfd_mips_elf_finish_dynamic_symbol): Update to use + gotplt_union's plist member rather than offset. Handle + MIPS16/microMIPS PLT entries. Handle microMIPS stubs. + (_bfd_mips_vxworks_finish_dynamic_symbol): Update to use + gotplt_union's plist member rather than offset. Use + MIPS_ELF_GOT_SIZE to calculate GOT address. + (mips_finish_exec_plt): Handle microMIPS PLT. Return status. + (_bfd_mips_elf_finish_dynamic_sections): Handle result from + mips_finish_exec_plt. + (_bfd_mips_elf_link_hash_table_create): Update to use + gotplt_union's plist member rather than offset. + (_bfd_mips_elf_get_synthetic_symtab): New function. + +2013-06-24 Wawa + + PR 15657 + * hash.c (_bfd_stringtab_add): Copy the string if COPY is true. + +2013-06-23 Richard Sandiford + + * Makefile.am (BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Move MIPS ELF + files to... + (BFD64_BACKENDS, BFD64_BACKENDS_CFILES): ...here. + * Makefile.in: Regenerate. + * config.bfd: Enclose all MIPS ELF targets in #ifdef BFD64. + Set want64 to true for them at the end. + * targets.c (_bfd_target_vector): Protect MIPS ELF targets with + #ifdef BFD64. + +2013-06-22 Sandra Loosemore + + * elf32-nios2.c (nios2_elf32_finish_dynamic_sections): Don't + set sh_entsize for PLT section. + +2013-06-20 Yufeng Zhang + + * bfd-in.h (bfd_elf64_aarch64_set_options): Add 'extern'. + * bfd-in2.h: Re-generated. + * elf64-aarch64.c (RELOC_SECTION): Removed. + (SWAP_RELOC_IN, SWAP_RELOC_OUT): Ditto. + (AARCH64_ELF_OS_ABI_VERSION): Ditto. + (elf64_aarch64_link_hash_traverse): Ditto. + (elf64_aarch64_size_stubs): Change 'Aarch64' to 'AArch64' in the + comment. + +2013-06-19 Will Newton + + * configure: Regenerated. + * configure.in: Remove aarch64 dependency on elf-ifunc.c. + * elf64-aarch64.c: Remove objalloc.h include. + (elf64_aarch64_howto_dynrelocs): Remove R_AARCH64_IRELATIVE howto. + (struct elf64_aarch64_link_hash_table): Remove ifunc related + members. (elf_aarch64_local_htab_hash): Remove function. + (elf_aarch64_local_htab_eq): Remove function. + (elf_aarch64_get_local_sym_hash): Remove function. + (elf64_aarch64_link_hash_table_create): Remove local hash + table initialization. + (elf64_aarch64_final_link_relocate): Remove sym argument and + handling of ifunc symbols. + (elf64_aarch64_relocate_section): Don't pass sym argument to + elf64_aarch64_final_link_relocate. + (elf64_aarch64_gc_sweep_hook): Remove handling of ifunc symbols. + (elf64_aarch64_adjust_dynamic_symbol): Likewise. + (elf64_aarch64_check_relocs): Likewise. + (elf64_aarch64_post_process_headers): Remove call to + _bfd_elf_set_osabi. + (elf64_aarch64_is_function_type): New function. + (elf64_aarch64_allocate_dynrelocs): Remove handling of ifunc + symbols. (elf_aarch64_allocate_local_dynrelocs): Remove function. + (elf64_aarch64_size_dynamic_sections): Remove call to + elf_aarch64_allocate_local_dynrelocs. + (elf64_aarch64_create_small_pltn_entry): Remove info argument. + Remove creation of R_AARCH64_IRELATIVE dynamic relocs. + (elf64_aarch64_finish_dynamic_symbol): Remove handling of ifunc + symbols. (elf_aarch64_finish_local_dynamic_symbol): Remove + function. (elf64_aarch64_finish_dynamic_sections): Remove call to + elf_aarch64_finish_local_dynamic_symbol. + (elf64_aarch64_add_symbol_hook): Remove function. + +2013-06-14 Yufeng Zhang + + * elf64-aarch64.c (elf64_aarch64_final_link_relocate): Call + aarch64_resolve_relocation and bfd_elf_aarch64_put_addend to + handle the relocations of R_AARCH64_JUMP26, R_AARCH64_CALL26, + R_AARCH64_LD64_GOT_LO12_NC, R_AARCH64_ADR_GOT_PAGE and + R_AARCH64_GOT_LD_PREL19. + +2013-06-13 Terry Guo + + PR ld/15302 + * elf32-arm.c (allocate_dynrelocs_for_symbol): Transform + ST_BRANCH_TO_ARM into ST_BRANCH_TO_THUMB if the target only + supports thumb instructions. + +2013-06-11 DJ Delorie + + * elf32-rl78.c (rl78_elf_relocate_section): Fix OPsub math. + +2013-06-11 Will Newton + + * elf64-aarch64.c (elf_aarch64_get_local_sym_hash): Use + ELF64_R_SYM instead of ELF32_R_SYM. + +2013-06-11 Nick Clifton + + * elf32-rl78.c (rl78_elf_finish_dynamic_sections): Onlly run + checks if the dynamic sections have been created and relaxation + has not been performed. + +2013-06-07 Will Newton + + * configure: Regenerate. + * configure.in: Build elf-ifunc.o for AArch64. + * elf64-aarch64.c: Include objalloc.h. + (elf64_aarch64_howto_dynrelocs): Add R_AARCH64_IRELATIVE howto. + (struct elf64_aarch64_link_hash_table): Add members for handling + R_AARCH64_IRELATIVE relocations. + (elf_aarch64_local_htab_hash): New function. + (elf_aarch64_local_htab_eq): New function. + (elf_aarch64_get_local_sym_hash): New function. + (elf64_aarch64_link_hash_table_create): Initialize local STT_GNU_IFUNC + symbol hash. + (elf64_aarch64_hash_table_free): Free local STT_GNU_IFUNC symbol hash. + (elf64_aarch64_final_link_relocate): Add sym argument. Add support + for handling STT_GNU_IFUNC symbols. + (elf64_aarch64_gc_sweep_hook): Add support for garbage collecting + references to STT_GNU_IFUNC symbols. + (elf64_aarch64_adjust_dynamic_symbol): Add support for handling + STT_GNU_IFUNC symbols. + (elf64_aarch64_check_relocs): Add support for handling STT_GNU_IFUNC + symbols. Ensure we don't increase plt.refcount from -1 to 0. + (elf64_aarch64_post_process_headers): Call _bfd_elf_set_osabi. + (elf64_aarch64_is_function_type): Remove function. + (elf64_aarch64_allocate_dynrelocs): Call + _bfd_elf_allocate_ifunc_dyn_relocs for STT_GNU_IFUNC symbols. + (elf_aarch64_allocate_local_dynrelocs): New function. + (elf64_aarch64_size_dynamic_sections): Call + elf_aarch64_allocate_local_dynrelocs. Initialize next_irelative_index. + (elf64_aarch64_create_small_pltn_entry): Add info argument. + Add support for creating .iplt entries for STT_GNU_IFUNC symbols. + (elf64_aarch64_finish_dynamic_symbol): Add support for handling + STT_GNU_IFUNC symbols and .iplt. + (elf_aarch64_finish_local_dynamic_symbol): New function. + (elf64_aarch64_finish_dynamic_sections): Call + elf_aarch64_finish_local_dynamic_symbol. + (elf64_aarch64_add_symbol_hook): New function. + +2013-06-03 Alan Modra + + * syms.c (_bfd_stab_section_find_nearest_line): Add last_str + var. Use it with last_stab. + +2013-05-30 Paul Brook + + * bfd-in2.h: Regenerate. + * elf32-mips.c (elf_mips_eh_howto): New. + (bfd_elf32_bfd_reloc_type_lookup ): Support BFD_RELOC_MIPS_EH. + (bfd_elf32_bfd_reloc_name_lookup): Likewise. + (mips_elf32_rtype_to_howto): Support R_MIPS_EH. + * elf64-mips.c (elf_mips_eh_howto): New. + (bfd_elf64_bfd_reloc_type_lookup): Support BFD_RELOC_MIPS_EH. + (bfd_elf64_bfd_reloc_name_lookup): Likewise. + (mips_elf64_rtype_to_howto): Support R_MIPS_EH. + * libbfd.h: Regenerate. + * reloc.c (BFD_RELOC_MIPS_EH): New. + +2013-05-29 Nick Clifton + + * dwarf2.c (struct dwarf2_debug): Add fields for handling + alternate debug info source. + (dwarf_debug_sections): Add entries for alternate .debug_str and + .debug_info sections. + (dwarf_debug_section_enum): Likewise. + (read_alt_indirect_string): New function. Handles a + DW_FORM_GNU_strp_alt attribute. + (read_alt_indirect_ref): New function. Handles a + DW_FORM_GNU_ref_alt attribute. + (read_attribute_value): Process DW_FORM_GNU_ref_alt and + DW_FORM_GNU_strp_alt. + (find_abstract_instance_name): Handle DW_FORM_GNU_ref_alt + attributes. + (_bfd_dwarf2_cleanup_debug_info): Free alternate debug info + sources. + * opncls.c (GNU_DEBUGALTLINK): Define. + (bfd_get_alt_debug_link_info): New function. + (separate_alt_debug_file_exists): New function. + (find_separate_debug_file): Add parameters for fetch and check + functions. + (bfd_follow_gnu_debugaltlink): New function. + * bfd-in2.h: Regenerate. + +2013-05-28 Yufeng Zhang + + * reloc.c (BFD_RELOC_AARCH64_TLSDESC_ADR_PAGE): Rename to ... + (BFD_RELOC_AARCH64_TLSDESC_ADR_PAGE21): ... this. + (BFD_RELOC_AARCH64_TLSDESC_LD64_PREL19): Rename to ... + (BFD_RELOC_AARCH64_TLSDESC_LD_PREL19): ... this. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + * elf64-aarch64.c (IS_AARCH64_TLSDESC_RELOC): Update to use + the correct names. + (elf64_aarch64_tlsdesc_howto_table): Likewise. + (elf64_aarch64_reloc_map): Likewise. + (aarch64_resolve_relocation): Likewise. + (bfd_elf_aarch64_put_addend): Likewise. + (aarch64_tls_transition_without_check): Likewise. + (aarch64_reloc_got_type): Likewise. + (elf64_aarch64_final_link_relocate): Likewise. + (elf64_aarch64_tls_relax): Likewise. + (elf64_aarch64_relocate_section): Likewise. + (elf64_aarch64_gc_sweep_hook): Likewise. + (elf64_aarch64_check_relocs): Likewise. + +2013-05-26 Mark Wielaard + + * cache.c (BFD_CACHE_MAX_OPEN): Remove define. + (max_open_files): New static int initialized to zero. + (bfd_cache_max_open): New static function to set and return + max_open_files. + (bfd_cache_init): Use bfd_cache_max_open. + (bfd_open_file): Likewise. + * configure.in (AC_CHECK_HEADERS): Add sys/resource.h. + (AC_CHECK_FUNCS): Add getrlimit. + * configure: Regenerated. + * config.in: Likewise. + * sysdep.h: Check and include sys/resource.h for getrlimit. + +2013-05-23 Alan Modra + + * format.c (bfd_check_format_matches): Don't match a target in + targ_selvecs if some other target is a better match. If + targets implement match priority, fall back to the first of + the best matches. + +2013-05-22 Eric Herman + + PR binutils/15462 + * elfxx-mips.c (_bfd_mips_elf_relocate_section): Warning fix. + +2013-05-22 Ralf Dreesen + + PR binutils/15474 + * srec.c (srec_set_section_contents): Properly convert size + and offset to address when octets_per_byte is not unity. + +2013-05-20 Maciej W. Rozycki + + * elf32-vax.c (elf_vax_instantiate_got_entries): Only set the + refcount member of the gotplt_union when resetting the reference + count. Adjust comment. + +2013-05-20 Will Newton + + * elf64-aarch64.c (elf64_aarch64_link_hash_entry): Remove + relocs_copied member. + (elf64_aarch64_link_hash_newfunc): Remove initialization of + relocs_copied member. + (elf64_aarch64_copy_indirect_symbol): Remove code to copy + relocs_copied member. + +2013-05-19 Maciej W. Rozycki + + * elf32-vax.c (elf_vax_adjust_dynamic_symbol): Convert K&R + function definition. + +2013-05-16 Cary Coutant + + * ecoff.c (ecoff_link_check_archive_element): Add initializers for + external_ext_size and esize. + +2013-05-16 Tristan Gingold + + * coff-rs6000.c (_bfd_xcoff_reloc_type_lookup): Handle BFD_RELOC_16. + * coff64-rs6000.c (xcoff64_reloc_type_lookup): Likewise. + +2013-05-15 Andreas Schwab + + * elf64-aarch64.c (elf_backend_default_execstack): Define to 0. + +2013-05-10 Joel Brobecker + + * coffcode.h (styp_to_sec_flags) [RS6000COFF_C]: Add handling + of STYP_EXCEPT, STYP_LOADER and STYP_TYPCHK sections. + +2013-05-09 Joel Brobecker + + * bfd.c (_bfd_default_error_handler): Replace use of putc + by fputc. Add comment explaining why. + +2013-05-09 Alan Modra + + * elflink.c (elf_link_add_object_symbols): Don't omit reading + of symbols when hashes already exist. + +2013-05-07 Will Newton + + * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Add a + plt_header_size argument for ports where it differs from + plt_entry_size. + * elf-bfd.h: Likewise. + * elf32-i386.c: Pass plt_header_size to + _bfd_elf_allocate_ifunc_dyn_relocs. + * elf64-x86-64.c: Likewise. + +2013-05-07 Will Newton + + * elf-ifunc.c (_bfd_elf_create_ifunc_dyn_reloc): Remove unused + function. + * elf-bfd.h: Likewise. + +2013-05-06 Paul Brook + + * elf64-mips.c (elf_mips_gnu_pcrel32): New. + (bfd_elf64_bfd_reloc_type_lookup, bfd_elf64_bfd_reloc_name_lookup, + mips_elf64_rtype_to_howto): Handle R_MIPS_PC32. + * elfn32-mips.c (elf_mips_gnu_pcrel32): New. + (bfd_elfn32_bfd_reloc_type_lookup, bfd_elfn32_bfd_reloc_name_lookup, + mips_elfn32_rtype_to_howto): Handle R_MIPS_PC32. + +2013-05-06 Alan Modra + + * elf64-ppc.c (opd_entry_value): Handle case where symbol + hashes are not available. + +2013-05-06 Alan Modra + + * elflink.c (elf_link_add_object_symbols): Don't save symbol + hashes around loading as-needed library. Zero them on allocation, + and restore to initial all-zero state if library not needed. + Arrange to reuse hashes if we load library again later. + +2013-05-04 Richard Sandiford + + * elf32-mips.c (elf_mips_copy_howto, elf_mips_jump_slot_howto): + Use _bfd_mips_elf_generic_reloc instead of bfd_elf_generic_reloc. + * elfn32-mips.c: Likewise. + * elf64-mips.c: Likewise. + +2013-05-02 Nick Clifton + + * archures.c: Add some more MSP430 machine numbers. + * config.bfd (msp430): Define targ_selvecs. + * configure.in: Add bfd_elf32_msp430_ti_vec. + * cpu-msp430.c: Add some more MSP430 machine numbers. + * elf32-msp430.c Add support for MSP430X relocations. + Add support for TI compiler generated relocations. + Add support for sym_diff relocations. + Add support for relaxing out of range short branches into long + branches. + Add support for MSP430 attribute section. + * reloc.c: Add MSP430X relocations. + * targets.c: Add bfd_elf32_msp430_ti_vec. + * bfd-in2.h: Regenerate. + * configure: Regenerate. + * libbfd.h: Regenerate. + +2013-05-01 Maciej W. Rozycki + + * config.bfd: Replace alpha*-*-linuxecoff* pattern with + alpha*-*-linux*ecoff*. + +2013-04-30 Olaf Flebbe + + PR binutils/15417 + * elflink.c (elf_link_add_object_symbols): Initialise 'idx' to + zero. + +2013-04-30 Alan Modra + + * elflink.c (bfd_elf_record_link_assignment): Dont make + STV_INTERNAL symbols STV_HIDDEN. + +2013-04-29 Nick Clifton + + * elflink.c (_bfd_elf_gc_mark_extra_sections): Remove mark from + fragmented .debug_line sections associated with unmarked code + sections. + +2013-04-29 Will Newton + + * elf32-arm.c (elf32_arm_populate_plt_entry): Call + elf32_arm_add_dynreloc when emitting R_ARM_IRELATIVE relocs. + +2013-04-29 Will Newton + + * elf64-aarch64.c (elf64_aarch64_check_relocs): Move relocation + error check up and add error message. + +2013-04-26 Will Newton + + * elf64-aarch64.c (elf64_aarch64_check_relocs): Remove dead code. + +2013-04-25 Alan Modra + + * config.bfd: Add powerpc64le-linux. + +2013-04-24 H.J. Lu + + * config.bfd (targ_selvecs): Add bfd_elf32_x86_64_vec for + x86_64-*-elf*. + +2013-04-24 Roland McGrath + + * elf32-arm.c (elf32_arm_allocate_plt_entry): If HTAB->nacl_p, + allocate space for PLT header even if IS_IPLT_ENTRY. + (arm_nacl_put_plt0): New function, broken out of ... + (elf32_arm_finish_dynamic_sections): ... here. Call it. + If HTAB->nacl_p, set up the PLT header in .iplt too. + (elf32_arm_output_arch_local_syms): If HTAB->nacl_p, write + a mapping symbol for the start of .iplt too. + +2013-04-19 Luca Pizzamiglio + + * ecoff.c (_bfd_ecoff_sizeof_headers): Cast the return value of + BFD_ALIGN to int. + * elf32-tic6x.c (elf32_tic6x_size_dynamic_sections): Remove unused + variables. + * elf32-v850.c (v850_elf_relax_section): Redefine the type of 'i' + to bfd_vma. + * vms-alpha.c (evax_bfd_print_etir): Initialize sec_len. + +2013-04-22 Alan Modra + + PR ld/15382 + * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Don't multiply + sh_size or reloc_count adjustment by count. + +2013-04-22 Alan Modra + + * elf64-ppc.c (ppc64_elf_check_relocs): Don't call + create_linkage_sections here.. + (ppc64_elf_init_stub_bfd): ..do so here. Return status. + (create_linkage_sections): Move earlier in file. + (ppc64_elf_setup_section_lists): Remove now useless htab->brlt test. + * elf64-ppc.h (ppc64_elf_init_stub_bfd): Update proto. + +2013-04-19 Nick Clifton + + PR binutils/15356 + * compress.c (decompress_contents): Always call inflateEnd, even + when another inflation operation fails. + +2013-04-17 H.J. Lu + + * elf-ifunc.c: Update copyright year. + +2013-04-17 Luca Pizzamiglio + + * coffcode.h: Added a cast to void when a bfd_set_section_*() + macro's return value is ignored. + * elf32-hppa.c: Likewise. + * elf32-tic6x.c: Likewise. + * mach-o.c: Likewise. + * mmo.c: Likewise. + * opncls.c: Likewise. + * peicode.h: Likewise. + * elf32-m32r.c: Check return value of bfd_set_section_*(). + * elfnn-ia64.c: Likewise. + * elfxx-mips.c: Likewise. + * vms-alpha.c: Likewise. + +2013-04-15 H.J. Lu + + PR ld/15371 + * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Check + regular reference without non-GOT reference when building + shared library. + +2013-04-15 Alan Modra + + * archive.c (_bfd_archive_close_and_cleanup): Clear parent + cache slot for archives. + +2013-04-14 Hans-Peter Nilsson + + * mmo.c (mmo_write_chunk): Break out abfd->tdata.mmo_data to new + local variable mmop. + +2013-04-09 Senthil Kumar Selvaraj + + PR ld/12494 + * elf32-avr.c: Consider all sections to determine if linker + relaxation can safely delete a ret after a call/jmp + +2013-04-09 Mingjie Xing + + * bfd.c (typedef bfd, Error reporting, Miscellaneous): Add + INODEs. + +2013-04-08 Tom Tromey + + * som.c (bfd_section_from_som_symbol): No longer static. + * som.h (bfd_section_from_som_symbol): Declare. + +2013-04-06 Alan Modra + + * elf32-ppc.c (ppc_elf_check_relocs): Use SYMBOLIC_BIND. + * elf64-ppc.c (ppc64_elf_check_relocs, dec_dynrel_count): Likewise. + +2013-04-05 Nick Clifton + + * elflink.c (elf_link_add_object_symbols): Revert accidental commit. + +2013-04-04 Alan Modra + + * bfd.c (bfd_error_type, bfd_errmsgs): Add bfd_error_missing_dso. + * bfd-in2.h: Regenerate. + * elflink.c (elf_link_add_object_symbols): Use new error. + +2013-04-03 Nick Clifton + + * elf32-v850.c (v850_elf_is_target_special_symbol): New function. + (bfd_elf32_bfd_is_target_special_symbol): Define. + +2013-04-03 Venkataramanan Kumar + + * elf64-aarch64.c (elf64_aarch64_gc_sweep_hook): Use + elf64_aarch64_locals to get local GOT reference counts. + +2013-04-02 DJ Delorie + + * elf32-rl78.c (GET_RELOC): Assert that there are relocs to get. + (rl78_elf_relax_section): Only fetch the next reloc if there is + one expected. + +2013-03-30 Alan Modra + + PR ld/15323 + * elf-m10300.c (mn10300_elf_check_relocs): Set non_ir_ref for + global symbols referenced by relocs. + * elf32-arm.c (elf32_arm_check_relocs): Likewise. + * elf32-bfin.c (bfin_check_relocs): Likewise. + * elf32-cr16.c (cr16_elf_check_relocs): Likewise. + * elf32-cris.c (cris_elf_check_relocs): Likewise. + * elf32-d10v.c (elf32_d10v_check_relocs): Likewise. + * elf32-dlx.c (elf32_dlx_check_relocs): Likewise. + * elf32-fr30.c (fr30_elf_check_relocs): Likewise. + * elf32-frv.c (elf32_frv_check_relocs): Likewise. + * elf32-hppa.c (elf32_hppa_check_relocs): Likewise. + * elf32-i370.c (i370_elf_check_relocs): Likewise. + * elf32-iq2000.c (iq2000_elf_check_relocs): Likewise. + * elf32-lm32.c (lm32_elf_check_relocs): Likewise. + * elf32-m32c.c (m32c_elf_check_relocs): Likewise. + * elf32-m32r.c (m32r_elf_check_relocs): Likewise. + * elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise. + * elf32-m68k.c (elf_m68k_check_relocs): Likewise. + * elf32-mcore.c (mcore_elf_check_relocs): Likewise. + * elf32-metag.c (elf_metag_check_relocs): Likewise. + * elf32-microblaze.c (microblaze_elf_check_relocs): Likewise. + * elf32-moxie.c (moxie_elf_check_relocs): Likewise. + * elf32-msp430.c (elf32_msp430_check_relocs): Likewise. + * elf32-mt.c (mt_elf_check_relocs): Likewise. + * elf32-nios2.c (nios2_elf32_check_relocs): Likewise. + * elf32-openrisc.c (openrisc_elf_check_relocs): Likewise. + * elf32-ppc.c (ppc_elf_check_relocs): Likewise. + * elf32-rl78.c (rl78_elf_check_relocs): Likewise. + * elf32-s390.c (elf_s390_check_relocs): Likewise. + * elf32-score.c (s3_bfd_score_elf_check_relocs): Likewise. + * elf32-score7.c (s7_bfd_score_elf_check_relocs): Likewise. + * elf32-sh.c (sh_elf_check_relocs): Likewise. + * elf32-tic6x.c (elf32_tic6x_check_relocs): Likewise. + * elf32-tilepro.c (tilepro_elf_check_relocs): Likewise. + * elf32-v850.c (v850_elf_check_relocs): Likewise. + * elf32-vax.c (elf_vax_check_relocs): Likewise. + * elf32-xstormy16.c (xstormy16_elf_check_relocs): Likewise. + * elf32-xtensa.c (elf_xtensa_check_relocs): Likewise. + * elf64-aarch64.c (elf64_aarch64_check_relocs): Likewise. + * elf64-alpha.c (elf64_alpha_check_relocs): Likewise. + * elf64-hppa.c (elf64_hppa_check_relocs): Likewise. + * elf64-ia64-vms.c (elf64_ia64_check_relocs): Likewise. + * elf64-mmix.c (mmix_elf_check_relocs): Likewise. + * elf64-ppc.c (ppc64_elf_check_relocs): Likewise. + * elf64-s390.c (elf_s390_check_relocs): Likewise. + * elf64-sh64.c (sh_elf64_check_relocs): Likewise. + * elfnn-ia64.c (elfNN_ia64_check_relocs): Likewise. + * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise. + * elfxx-tilegx.c (tilegx_elf_check_relocs): Likewise. + * elfxx-mips.c (_bfd_mips_elf_check_relocs): Likewise. Don't + test indirect/warning links for NULL. + +2013-03-29 H.J. Lu + + PR ld/15323 + * elf32-i386.c (elf_i386_check_relocs): Set non_ir_ref if a + symbol is referenced by a non-shared object. + * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise. + +2013-03-28 Joe Seymour + + * elf32-sh.c (sh_elf_relocate_section): Suppress warnings for + R_SH_REL32 relocations against undefined weak symbols. + +2013-03-28 Alan Modra + + * elf64-ppc.c (struct ppc_dyn_relocs): New. + (ppc64_elf_check_relocs): Separate dynrel counts for local syms + into ifunc and non-ifunc. + (dec_dynrel_count): Pass in sym rather than sym_sec. Handle + separate ifunc/non-ifunc dynrel counts. + (allocate_got): Always use reliplt for ifunc. + (allocate_dynrelocs): Likewise. + (ppc64_elf_size_dynamic_sections): Likewise. + (ppc64_elf_layout_multitoc): Likewise. + (ppc64_elf_relocate_section): Likewise. + +2013-03-28 Alan Modra + + * elf32-ppc.c (struct ppc_dyn_relocs): New. + (ppc_elf_check_relocs): Separate dynrel counts for local syms + into ifunc and non-ifunc. + (allocate_dynrelocs): Always put ifunc relocs into reliplt. + (ppc_elf_size_dynamic_sections): Likewise. + (ppc_elf_relocate_section): Likewise. + +2013-03-28 Alan Modra + + * elf-bfd.h (enum elf_reloc_type_class): Add reloc_class_ifunc. + (struct elf_backend_data ): Add + bfd_link_info* and asection* params. + (_bfd_elf_reloc_type_class): Likewise. + * elf.c (_bfd_elf_reloc_type_class): Likewise. + * elflink.c (elf_link_sort_cmp2): Sort first on reloc class. + (elf_link_sort_relocs): Update elf_backed_reloc_type_class call. + * elf32-ppc.c (ppc_elf_reloc_type_class): Return reloc_class_ifunc + for any reliplt reloc. Don't return reloc_class_plt for + R_PPC_REL24 and R_PPC_ADDR24. + * elf64-ppc.c (allocate_got): Formatting. + (ppc64_elf_reloc_type_class): Return reloc_class_ifunc for any + reliplt reloc. + * elf-m10300.c, * elf32-arm.c, * elf32-bfin.c, * elf32-cr16.c, + * elf32-cris.c, * elf32-hppa.c, * elf32-i386.c, * elf32-lm32.c, + * elf32-m32r.c, * elf32-m68k.c, * elf32-metag.c, * elf32-nios2.c, + * elf32-s390.c, * elf32-sh.c, * elf32-sparc.c, * elf32-tilepro.c, + * elf32-vax.c, * elf32-xtensa.c, * elf64-aarch64.c, * elf64-alpha.c, + * elf64-hppa.c, * elf64-ia64-vms.c, * elf64-s390.c, * elf64-sparc.c, + * elf64-x86-64.c, * elfnn-ia64.c, * elfxx-tilegx.c, * elfxx-tilegx.h: + Add extra params to the various reloc_type_class functions. + +2013-03-27 Alan Modra + + * elf32-ppc.c (ppc_elf_check_relocs): Set PLT_IFUNC in local got + masks for all local ifunc syms. + (allocate_dynrelocs): Don't use htab->relgot for ifunc. + (ppc_elf_size_dynamic_sections): Likewise. + (ppc_elf_relocate_section): Likewise. + +2013-03-27 Will Newton + + * elf32-arm.c (elf32_arm_final_link_relocate): Avoid emitting a + dynamic reloc for symbols with dynindx == -1. + (allocate_dynrelocs_for_symbol): Avoid allocating space for a + dynamic reloc for symbols with dynindx == -1. + +2013-03-27 Will Newton + + * elf32-arm.c (elf32_arm_final_link_relocate): Avoid emitting a + dynamic reloc for non-default visibility undefined weaks. + (allocate_dynrelocs_for_symbol): Avoid allocating space for a + dynamic reloc for non-default visibility undefined weaks. + +2013-03-26 Alan Modra + + * elflink.c (_bfd_elf_add_default_symbol): Preserve section + over _bfd_elf_merge_symbol calls. + +2013-03-26 Alan Modra + + * elflink.c (elf_link_add_object_symbols): Add assertion for + common override alignment check code. Formatting. + +2013-03-25 Alan Modra + + * elflink.c (_bfd_elf_merge_symbol): Set old_alignment for + usual common symbols as well as for dynamic. Add poldbfd param. + Save old bfd. Adjust callers. + (_bfd_elf_add_default_symbol): Add poldbfd param. Pass "section" + and "value" by value, not pointer. Adjust caller. + (elf_link_add_object_symbols): Combine undef_bfd and old_bfd vars. + Delete code to set same. Use old_bfd and old_alignment from + _bfd_elf_merge_symbol instead. Add default symbol before + alignment and size checks. Wrap overlong lines. + +2013-03-25 Alan Modra + + * elflink.c (_bfd_elf_add_default_symbol): Delete "override" param. + (elf_link_add_object_symbols): Don't call _bfd_elf_add_default_symbol + when override is true. + +2013-03-25 Alan Modra + + * elflink.c (_bfd_elf_merge_symbol): Use local var holding value + of *sym_hash. + +2013-03-25 Alan Modra + + * elflink.c (_bfd_elf_merge_symbol): Don't discard TLS symbols here. + Wrap long lines. + (elf_link_add_object_symbols): Discard TLS symbols for --just-syms + early in symbol loop. + +2013-03-25 Alan Modra + + * elf-bfd.h (struct elf_backend_data ): Update proto. + (_bfd_elf_init_reloc_shdr): Delete. + * elf.c (_bfd_elf_init_reloc_shdr): Make static. + * elf64-x86-64.c (elf_x86_64_merge_symbol): Trim parameters to + just what is needed. + * elflink.c (_bfd_elf_merge_symbol): Update bed->merge_symbol call. + +2013-03-23 Alan Modra + + * elf-bfd.h (_bfd_elf_merge_symbol): Delete declaration. + * elflink.c (_bfd_elf_merge_symbol): Make static. + * elf32-sh-symbian.c (sh_symbian_relocate_section): Don't call + _bfd_elf_merge_symbol, call _bfd_generic_link_add_one_symbol. + +2013-03-23 Alan Modra + + PR ld/15270 + * elflink.c (elf_link_add_object_symbols): Don't set def_regular + or ref_regular for BFD_PLUGIN owned syms, or have them affect + def_dynamic/ref_dynamic. + (_bfd_elf_fix_symbol_flags): Don't set def_regular for BFD_PLUGIN + owned syms. + +2013-03-22 David S. Miller + + * elfxx-sparc.c (_bfd_sparc_elf_merge_private_bfd_data): Set type of + hwcaps attribute. + +2013-03-22 Achille Fouilleul + + PR ld/14902 + * elf32-h8300.c (elf32_h8_relax_delete_bytes): Fix off by one + errors adjusting relocs and symbols. + +2013-03-21 Michael Schewe + + * elf32-h8300 (h8_relax_section): Add new relaxation of mov + @(disp:32,ERx) to mov @(disp:16,ERx). + (R_H8_DISP32A16): New reloc. + Comments added and corrected. + * reloc.c (BFD_RELOC_H8_DISP32A16): New reloc. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + +2013-03-21 Kai Tietz + + * coffgen.c (coff_real_object_p): Make global. + * peicode.h (coff_real_object_p): Add prototype. + (FILHDR): Defined for COFF_IMAGE_WITH_PE as + external_PEI_IMAGE_hdr structure. + (coff_swap_filehdr_in): Handle variable header-size. + * peXXigen.c (_bfd_XXi_swap_aouthdr_in): Just handle amount + of directory-entiries as specified in pe-header. + +2013-03-21 Nick Clifton + + PR sim/15286 + * elf32-arm.c (bfd_arm_get_mach_from_attributes): Identify XScale, + iWMMXt and iWMMXt2 processors from attributes. + +2013-03-20 Alan Modra + + * elflink.c (_bfd_elf_make_dynamic_reloc_section): Override + sh_type according to is_rela. + +2013-03-18 Alan Modra + + PR ld/12549 + * elflink.c (elf_link_add_object_symbols): Exclude weak refs when + considering whether an --as-needed library is needed. + +2013-03-14 Tom Tromey + + * opncls.c (bfd_get_debug_link_info): Rename from + get_debug_link_info. Export. Update comment. + (find_separate_debug_file): Update. + * bfd-in2.h: Rebuild. + +2013-03-08 Venkataramanan Kumar + + * elf64-aarch64.c (elf_backend_can_gc_sections): Enable gc-section + support. + (elf64_aarch64_gc_sweep_hook): Handle GOT, TLS and PLT related + relocs. + +2013-03-08 Andreas Arnez + + * elf-bfd.h (elfcore_write_s390_tdb): Add prototype. + * elf.c (elfcore_write_s390_tdb): New function. + (elfcore_write_register_note): Call it. + (elfcore_grok_s390_tdb): New function. + (elfcore_grok_note): Call it. + +2013-03-08 Maciej W. Rozycki + + * elfxx-mips.c (mips_elf_allocate_lazy_stub): Correct data type. + +2013-03-05 Corinna Vinschen + + * config.bfd: Add x86_64-*-cygwin to list of supported targets. + +2013-03-04 Alan Modra + + * elf32-ppc.c (ppc_elf_relocate_section ): Adjust + non-zero addends when relocatable, rather than addends >= 32768. + Always zero "addend" before applying relocation. + +2013-03-04 Nick Clifton + + * archive64.c (bfd_elf64_archive_write_armap): Fix calculation of + file pointer offsets for thin archives. + +2013-02-28 Nathan Sidwell + + * elf32-arm.c (elf32_arm_size_dynamic_sections): Don't call + elf32_arm_allocate_dynrelocs for source reloc for non-dynamic link. + +2013-02-27 DJ Delorie + + * reloc.c (BFD_RELOC_RL78_CODE): Add. + * libbfd.h: Regenerate. + * bfd-in2.h: Regenerate. + * elf32-rl78.c (rl78_elf_relocate_section): Handle weak code + references in compuated relocs. + +2013-02-26 Anthony Green + + * config.bfd: Extend moxie-rtems target triplet name support. + +2013-02-21 H.J. Lu + + PR ld/15167 + * elf64-ia64-vms.c (elf64_vms_link_add_object_symbols): Set + unique_global only for definition. + * elflink.c (_bfd_elf_merge_symbol): Don't set unique_global + here. + (elf_link_add_object_symbols): Set unique_global only + for definition. + +2013-02-21 Alan Modra + + * elf-bfd.h (struct elf_build_id): Extracted from.. + (struct elf_build_id_info): ..here. Delete. + (struct output_elf_obj_tdata): New, extracted from.. + (struct elf_obj_tdata): ..here. Reorganize for better packing. + Add "o" field. + (elf_program_header_size): Reference tdata->o. + (elf_seg_map, elf_next_file_pos, elf_eh_frame_hdr, elf_linker, + elf_stack_flags, elf_shstrtab, elf_strtab_sec, elf_shstrtab_sec, + elf_section_syms, elf_num_section_syms, elf_flags_init): Likewise. + * elf.c (bfd_elf_allocate_object): Allocate output_elf_obj_tdata + when opening bfd in any mode that might write. + (_bfd_elf_write_object_contents): Use build_id field in + output_elf_obj_tdata. + (_bfd_elf_close_and_cleanup): Tweak elf_shstrtab test. + (elfobj_grok_gnu_build_id): Adjust for elf_tdata changes. + +2013-02-21 Alan Modra + + * elf-bfd.h (struct core_elf_obj_tdata): New. + (struct elf_obj_tdata): Delete core_signal, core_pid, core_lwpid, + core_program, and core_command. Add "core". + * elf.c (bfd_elf_mkcorefile): Allocate "core" struct. + Update all refs to tdata core fields. + * elf32-am33lin.c, * elf32-arm.c, * elf32-cris.c, * elf32-frv.c, + * elf32-hppa.c, * elf32-i386.c, * elf32-m68k.c, * elf32-mips.c, + * elf32-nios2.c, * elf32-ppc.c, * elf32-s390.c, * elf32-score.c, + * elf32-score7.c, * elf32-sh.c, * elf32-sparc.c, * elf32-tilegx.c, + * elf32-tilepro.c, * elf32-xtensa.c, * elf64-aarch64.c, + * elf64-hppa.c, * elf64-mips.c, * elf64-ppc.c, * elf64-tilegx.c, + * elf64-x86-64.c, * elfcore.h, * elfn32-mips.c: Update all refs + to tdata core fields. + +2013-02-21 Alan Modra + + * elf-bfd.h (struct elf_obj_tdata): Rename segment_map to seg_map. + Delete num_locals and num_globals. + (elf_num_locals, elf_num_globals): Don't define. + (elf_seg_map, elf_next_file_pos, elf_eh_frame_hdr, elf_linker, + elf_stack_flags, elf_strtab_sec, elf_shstrtab_sec): Define. + * bfd.c, * elf-eh-frame.c, * elf-nacl.c, * elf-vxworks.c, * elf.c, + * elf32-arm.c, * elf32-lm32.c, * elf32-ppc.c, * elf32-rx.c, + * elf32-spu.c, * elf64-hppa.c, * elfcode.h, * elflink.c, + * elfnn-ia64.c, * elfxx-mips.c: Use newly defined elf_obj_tdata + accessor macros. + * elf.c (elf_map_symbols): Add pnum_locals param. Return + number of locals syms via new param. + (swap_out_syms): Adjust to suit elf_map_symbols change. + +2013-02-19 Maciej W. Rozycki + + * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Also clear + STO_MICROMIPS annotation. + +2013-02-19 Alan Modra + + * configure.in: Bump version to 2.23.52. + * elf-bfd.h (struct elf_build_id_info): New. + (struct elf_obj_tdata): Delete after_write_object_contents, + after_write_object_contents_info and build_id_size. Make build_id + a pointer to struct elf_build_id_info. + * elf.c (_bfd_elf_write_object_contents): Style. Update + after_write_ibject_contents invocation. + (elfobj_grok_gnu_build_id): Update for new build_id struct. Don't + allow zero size notes. + * configure: Regenerate. + +2013-02-18 Maciej W. Rozycki + + * elf64-mips.c (micromips_elf64_howto_table_rel): Add + R_MICROMIPS_SCN_DISP and R_MICROMIPS_JALR. + (micromips_elf64_howto_table_rela): Likewise. + (micromips_reloc_map): Add BFD_RELOC_MICROMIPS_JALR. + * elfn32-mips.c (elf_micromips_howto_table_rel): Add + R_MICROMIPS_SCN_DISP and R_MICROMIPS_JALR. + (elf_micromips_howto_table_rela): Likewise. + (micromips_reloc_map): Add BFD_RELOC_MICROMIPS_JALR. + +2013-02-18 Paul Brook + + * elfxx-mips.c (MICROMIPS_P): New macro. + (_bfd_mips_elf_symbol_processing): Use it. + +2013-02-18 Maciej W. Rozycki + + * elfxx-mips.c (_bfd_mips_elf_create_dynamic_sections): Clarify + comment on _PROCEDURE_LINKAGE_TABLE_ creation. + +2013-02-18 Alan Modra + + PR ld/12549 + * elf-bfd.h (_bfd_elf_strtab_clear_refs): Delete. + (_bfd_elf_strtab_clear_all_refs): Declare. + (_bfd_elf_strtab_resize): Declare. + * elf-strtab.c (_bfd_elf_strtab_clear_refs): Delete. + (_bfd_elf_strtab_clear_all_refs): New function. + (_bfd_elf_strtab_resize): Likewise. + * elflink.c (elf_link_add_object_symbols): Use _bfd_elf_strtab_resize. + +2013-02-18 Alan Modra + + * elf-bfd.h (struct elf_obj_tdata): Move find_line_info, local_stubs, + local_call_stubs, elf_data_symbol, elf_text_symbol, elf_data_section, + and elf_text_section to.. + * elfxx-mips.c (struct mips_elf_obj_tdata): ..here. Update all refs. + * elf64-alpha.c (struct mips_elf_find_line): Rename to.. + (struct alpha_elf_find_line): ..this. + (struct alpha_elf_obj_tdata): Add find_line_info, update refs. + +2013-02-16 H.J. Lu + + PR ld/15146 + * elflink.c (elf_link_add_object_symbols): Don't add DT_NEEDED + for references from the dummy bfd. + +2013-02-16 H.J. Lu + + PR ld/15149 + * elflink.c (elf_link_add_object_symbols): Also track weak + references. + +2013-02-15 H.J. Lu + + PR binutils/15151 + * archive.c (_bfd_find_nested_archive): Don't allow a nested + archive pointing to itself. + (_bfd_get_elt_at_filepos): Revert the last 2 changes. + +2013-02-15 Nick Clifton + + PR binutils/15140 + * archive.c (_bfd_get_elt_at_filepos): Prevent an infinite loop + accessing a corrupt nested archive. + +2013-02-13 Richard Sandiford + + * elfxx-mips.c (mips_got_page_ref): New structure. + (mips_got_page_entry): Use a section rather than a (bfd, symndx) + pair to represent the anchor point. + (mips_got_info): Add a got_page_refs field. + (mips_elf_link_hash_table): Add a sym_cache field. + (mips_got_page_ref_hash, mips_got_page_ref_eq): New functions. + (mips_got_page_entry_hash, mips_got_page_entry_eq): Update for + new anchor representation. + (mips_elf_create_got_info): Create got_page_refs rather than + got_page_entries. + (mips_elf_record_got_page_ref): New function. + (mips_elf_pages_for_range): Move further down file. + (mips_elf_record_got_page_entry): Likewise. Take a got as argument. + Use a section rather than a (bfd, symndx) pair to represent the + anchor point. + (mips_elf_resolve_got_page_ref): New function. + (mips_elf_resolve_final_got_entries): Use it to populate + got_page_entries. + (_bfd_mips_elf_check_relocs): Call mips_elf_record_got_page_ref + rather than mips_elf_record_got_page_entry. Only nullify h + afterwards. + (mips_elf_lay_out_got): Call mips_elf_resolve_final_got_entries + earlier. + +2013-02-12 Richard Sandiford + + * elfxx-mips.c (mips_elf_lay_out_got): Count VxWorks GOT relocs + in g->relocs. + +2013-02-12 Alan Modra + + * elfxx-target.h (bfd_elfNN_bfd_link_hash_table_free): Provide + suitable definition when using generic linker hash table. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_elf_count_got_entries): Delete. + (mips_elf_check_recreate_got, mips_elf_recreate_got): Take a + mips_elf_traverse_got_arg. Count GOT entries. + (mips_elf_resolve_final_got_entries): Take the bfd_link_info + as argument. Update after above changes. + (mips_elf_merge_got, mips_elf_lay_out_got): Don't call + mips_elf_count_got_entries. Update the calls to + mips_elf_resolve_final_got_entries. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_got_tls_type): New enum. + (mips_got_entry): Add tls_initialized. + (mips_elf_got_entry_hash, mips_elf_got_entry_eq, mips_tls_got_relocs) + (mips_elf_count_got_entry, mips_elf_initialize_tls_index): Remove + GOT_TLS_TYPE masks. + (mips_elf_reloc_tls_type, mips_tls_got_entries) + (mips_elf_record_global_got_symbol, mips_elf_initialize_tls_index) + (_bfd_mips_elf_finish_dynamic_symbol): Use GOT_TLS_NONE rather + than GOT_NORMAL. + (mips_elf_initialize_tls_slots): Replace got_offset and tls_type_p + arguments with a GOT entry. Remove GOT_TLS_TYPE masks. Use + tls_initialized rather than GOT_TLS_DONE. + (mips_tls_got_index): Delete. + (mips_elf_local_got_index, mips_elf_global_got_index): Use + mips_elf_initialize_tls_slots rather than mips_tls_got_index. + (mips_elf_record_got_entry): Initialize tls_initialized. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_got_entry): Remove tls_ldm_offset. + (mips_elf_link_hash_entry): Remove tls_ie_type, tls_gd_type, + tls_ie_got_offset and tls_gd_got_offset. + (mips_elf_link_hash_newfunc): Remove initialization. + (mips_elf_create_got_info): Likewise. + (mips_elf_count_local_got_entries, mips_elf_count_global_tls_entries) + (mips_tls_single_got_index): Delete. + (mips_elf_local_got_index): Always use the GOT entry to track + GOT indices. + (mips_elf_global_got_index): Likewise. + (mips_elf_create_local_got_entry): Assert that TLS entries have + already been allocated. + (mips_elf_record_global_got_symbol): Don't initialize + tls_ie_type or tls_gd_type. + (mips_elf_count_got_symbols): Only count reloc-only GOT entries here. + (mips_elf_initialize_tls_index): Allocate a GOT index for every TLS + entry. + (mips_elf_lay_out_got): Use mips_elf_count_got_entries to count + the GOT entries. + (_bfd_mips_elf_finish_dynamic_symbol): Assert that TLS GOT offsets + have been allocated. + (_bfd_mips_elf_copy_indirect_symbol): Remove handling of + tls_ie_type and tls_gd_type. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_elf_create_local_got_entry): Tidy. Avoid + aliasing violation. Check for htab allocation failures. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_elf_primary_global_got_index): New function, + split out from... + (mips_elf_global_got_index): ...here. Reorder arguments so that + the output bfd and info come first. + (mips_elf_calculate_relocation): Update the call to + mips_elf_global_got_index accordingly. + (_bfd_mips_elf_finish_dynamic_symbol): Use + mips_elf_primary_global_got_index rather than + mips_elf_global_got_index. + (_bfd_mips_vxworks_finish_dynamic_symbol): Likewise. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_got_entry): Update comments. + (mips_elf_multi_got_entry_eq): Rename to... + (mips_elf_got_entry_eq): ...this, deleting the old definition. + (mips_elf_create_got_info): Remove master_got_p argument. + Always use mips_elf_got_entry_eq. + (mips_elf_bfd_got, mips_elf_multi_got, mips_elf_create_got_section): + Update calls accordingly. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_got_info): Remove bfd2got. + (mips_elf_bfd2got_hash): Delete. + (mips_elf_got_per_bfd_arg): Remove bfd2got. + (mips_elf_replace_bfd_got, mips_elf_count_got_entries): New functions. + (mips_elf_global_got_index, mips_elf_create_local_got_entry): Use + g->next to test for the multigot case. Use mips_elf_bfd_got rather + than mips_elf_got_for_ibfd. + (mips_elf_bfd2got_entry_hash, mips_elf_bfd2got_entry_eq) + (mips_elf_got_for_ibfd, mips_elf_get_got_for_bfd): Delete. + (mips_elf_make_got_per_bfd): Replace with... + (mips_elf_add_got_entry): ...this new function. + (mips_elf_make_got_pages_per_bfd): Replace with... + (mips_elf_add_got_page_entry): ...this new function. + (mips_elf_merge_got_with): Replace bfd2got argument with separate + bfd and GOT arguments. Use mips_elf_add_got_entry and + mips_elf_add_got_page_entry instead of mips_elf_make_got_per_bfd + and mips_elf_make_got_pages_per_bfd. Use mips_elf_replace_bfd_got + to set the BFD's GOT and free the old table. + (mips_elf_merge_got): Replace bfd2got argument with separate + bfd and GOT arguments. Apply mips_elf_resolve_final_got_entries. + Use mips_elf_count_got_entries to count the number of entries in + each GOT. Update the calls to mips_elf_merge_got_with. + (mips_elf_adjust_gp): Use g->next to test for the multigot case. + Use mips_elf_bfd_got rather than mips_elf_got_for_ibfd. + (mips_elf_multi_got): Don't create the bfd2got hash table. + Replace hash table traversal with a walk over the input bfds, + updating the call to mips_elf_merge_got. Use mips_elf_replace_bfd_got + to set the output bfd's GOT. + (mips_elf_lay_out_got): Rename "sub" to "ibfd". Record that all + bfds use the master GOT in the single-GOT case. + (_bfd_mips_elf_finish_dynamic_sections): Use mips_elf_bfd_got + rather than mips_elf_got_for_ibfd. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_elf_obj_tdata): Add a got field. + (mips_elf_bfd_got, mips_elf_record_got_entry): New functions. + (mips_elf_record_global_got_symbol): Update the hash entry before + adding the mips_got_entry. Use mips_elf_record_got_entry to do + the latter. + (mips_elf_record_local_got_symbol): Use mips_elf_record_got_entry. + (mips_elf_record_got_page_entry): Record the entry in both the + master and bfd GOTs. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_elf_recreate_got): Don't change the entry; + create another one if necessary. + (mips_elf_set_gotidx): New function. + (mips_elf_set_global_gotidx): Use it. + (mips_elf_initialize_tls_index): Likewise. Take a + mips_elf_traverse_got_arg as argument. + (mips_elf_lay_out_got): Update use of mips_elf_initialize_tls_index. + (mips_elf_multi_got): Likewise. Cope with error returns from + mips_elf_set_global_gotidx. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_got_info): Add relocs field. + (mips_elf_set_global_got_offset_arg, mips_elf_count_tls_arg): Replace + with... + (mips_elf_traverse_got_arg): ...this new structure. + (mips_elf_count_local_tls_relocs): Delete. + (mips_elf_count_global_tls_relocs): Likewise. + (mips_elf_count_got_entry): New function. + (mips_elf_count_local_got_entries): Likewise. + (mips_elf_count_global_tls_entries): Take a mips_elf_traverse_got_arg + rather than a mips_elf_count_tls_arg. Count both relocs and entries. + (mips_elf_record_local_got_symbol): Don't count got entries here. + (mips_elf_make_got_per_bfd): Use mips_elf_count_got_entry. + (mips_elf_set_global_got_offset): Split into... + (mips_elf_set_global_got_area, mips_elf_set_global_gotidx): ...these + new functions. Take a mips_elf_traverse_got_arg rather than a + mips_elf_set_global_got_offset_arg. Don't count TLS relocs here. + Use g->relocs to record the number of relocs needed for global GOT + entries. + (mips_elf_multi_got): Use mips_elf_traverse_got_arg rather than + mips_elf_set_global_got_offset_arg. Use the relocs field to count + relocations. Update for above function split. + (mips_elf_lay_out_got): Use mips_elf_count_local_got_entries + to count both the number of GOT entries and the number of TLS + relocs required by local entries. Likewise + mips_elf_count_global_tls_entries and global entries. + Remove uses of mips_elf_count_local_tls_relocs and + mips_elf_count_global_tls_relocs. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_got_entry): Update comment above tls_type entry + to say that each structure represents only one type of TLS reference. + (GOT_TLS_TYPE): New define. + (mips_elf_link_hash_entry): Temporarily split tls_type and + tls_got_offset into two variables each. + (mips_elf_link_hash_newfunc): Update accordingly. + (mips_elf_got_entry_eq, mips_elf_got_entry_hash) + (mips_elf_multi_got_entry_eq): Require the tls_type to be the same. + (mips_elf_reloc_tls_type, mips_tls_got_entries): New functions. + (mips_tls_got_relocs): Use a switch statement. + (mips_elf_count_global_tls_entries): Handle the new hash entry fields. + (mips_elf_initialize_tls_slots): Use a switch statement. Avoid + local "offset" variable. + (mips_tls_got_index): Remove r_type argument and assert. Remove + code that handled entries with two TLS types; always use the + original got_index instead. + (mips_tls_single_got_index): New function. + (mips_elf_local_got_index): Use entry->tls_type to check for + TLS entries. Use mips_tls_single_got_index. Update call to + mips_tls_got_index. + (mips_elf_global_got_index): Use mips_elf_reloc_tls_type. + Use p->tls_type to check for TLS entries. Update call to + mips_tls_got_index. Use mips_tls_single_got_index. + (mips_elf_create_local_got_entry): Use mips_elf_reloc_tls_type. + Use entry.tls_type to check for TLS entries. + (mips_elf_record_global_got_symbol): Replace tls_flag argument + with r_type argument. Use mips_elf_reloc_tls_type. + Set up the new hash entry fields. + (mips_elf_record_local_got_symbol): Replace tls_flag argument + with r_type argument. Use mips_elf_reloc_tls_type and + mips_tls_got_entries. Remove code that handled entries + with multiple TLS types. + (mips_elf_make_got_per_bfd): Use mips_tls_got_entries. + (mips_elf_initialize_tls_index): Handle new hash entry fields. + Use equality rather than masks when checking for specific TLS types. + Use mips_tls_got_entries. Remove code that handled entries + with multiple TLS types. + (mips_elf_calculate_relocation): Use TLS_RELOC_P instead of + testing the hash table entry. + (_bfd_mips_elf_check_relocs): Update calls to + mips_elf_record_global_got_symbol and mips_elf_record_local_got_symbol. + (_bfd_mips_elf_finish_dynamic_symbol): Don't check h->type. + (_bfd_mips_elf_copy_indirect_symbol): Handle new hash entry fields. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_elf_multi_got_entry_hash): Rename to... + (mips_elf_got_entry_hash): ...this, deleting the old version. + (mips_elf_create_got_info): Use mips_elf_got_entry_hash for + both types of GOT. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_elf_create_got_info): New function. + (mips_elf_get_got_for_bfd, mips_elf_multi_got): Use it. + (mips_elf_create_got_section): Likewise. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_elf_record_local_got_symbol): Always set + gotidx to -1. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_elf_multi_got): Simplify size calculation. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_got_info): Move global_gotsym to... + (mips_elf_link_hash_table): ...here. Update rest of file accordingly. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_elf_count_global_tls_entries) + (mips_elf_count_global_tls_relocs): Don't count indirect or + warning symbols. + (mips_elf_multi_got, mips_elf_lay_out_got): Assert that the right + number of TLS entries were allocated. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_elf_sort_hash_table_f): Remove asserts. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_elf_merge_got_with): Only use arg->global_count + if there are TLS relocations. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_elf_recreate_got): Remove free. + (mips_elf_resolve_final_got_entries): Remove bogus comment. + +2013-02-11 Alan Modra + + * elfcode.h (elf_checksum_contents): Free contents. + * elf-bfd.h (_bfd_elf_link_hash_table_free): Declare. + * elflink.c (_bfd_elf_link_hash_table_free): New function. + (elf_final_link_free): New function, extracted from.. + (bfd_elf_final_link): ..here. Always call + _bfd_elf_write_section_eh_frame_hdr. + * elfxx-target.h (bfd_elfNN_bfd_link_hash_table_free): Default to + _bfd_elf_link_hash_table_free. + * libbfd-in.h (_bfd_merge_sections_free): Declare. + * libbfd.h: Regenerate. + * merge.c (_bfd_merge_sections_free): New function. + * elf-eh-frame.c (_bfd_elf_write_section_eh_frame_hdr): Free + hdr_info->array. + * elf-m10300.c (elf32_mn10300_link_hash_table_free): Call + _bfd_elf_link_hash_table_free. + * elf32-arm.c (elf32_arm_link_hash_table_free): Likewise. + * elf32-avr.c (elf32_avr_link_hash_table_free): Likewise. + * elf32-hppa.c (elf32_hppa_link_hash_table_free): Likewise. + * elf32-i386.c (elf_i386_link_hash_table_free): Likewise. + * elf32-m68hc1x.c (m68hc11_elf_hash_table_free): Likewise. + * elf32-m68k.c (elf_m68k_link_hash_table_free): Likewise. + * elf32-metag.c (elf_metag_link_hash_table_free): Likewise. + * elf32-xgate.c (xgate_elf_bfd_link_hash_table_free): Likewise. + * elf64-aarch64.c (elf64_aarch64_link_hash_table_free): Likewise. + * elf64-ia64-vms.c (elf64_ia64_hash_table_free): Likewise. + * elf64-ppc.c (ppc64_elf_link_hash_table_free): Likewise. + * elf64-x86-64.c (elf_x86_64_link_hash_table_free): Likewise. + * elfnn-ia64.c (elfNN_ia64_hash_table_free): Likewise. + * elf32-cr16.c (elf32_cr16_link_hash_table_free): Delete. + (bfd_elf32_bfd_link_hash_table_free): Don't define. + * elf32-tic6x.c (elf32_tic6x_link_hash_table_free): Delete. + (bfd_elf32_bfd_link_hash_table_free): Dont' define. + +2013-02-10 Alan Modra + + * coff-arm.c (coff_arm_link_hash_table_create): Use bfd_zmalloc. + * coff-h8300.c (h8300_coff_link_hash_table_create): Likewise. + * m68klinux.c (linux_link_hash_table_create): Likewise. + * sparclinux.c (linux_link_hash_table_create): Likewise. + * sunos.c (sunos_link_hash_table_create): Likewise. + * xcofflink.c (_bfd_xcoff_bfd_link_hash_table_create): Likewise. + * elf-m10300.c (elf32_mn10300_link_hash_table_create): Likewise. + * elf32-arm.c (elf32_arm_link_hash_table_create): Likewise. + * elf32-avr.c (elf32_avr_link_hash_table_create): Likewise. + * elf32-cr16.c (elf32_cr16_link_hash_table_create): Likewise. + * elf32-cris.c (elf_cris_link_hash_table_create): Likewise. + * elf32-hppa.c (elf32_hppa_link_hash_table_create): Likewise. + * elf32-i386.c (elf_i386_link_hash_table_create): Likewise. + * elf32-lm32.c (lm32_elf_link_hash_table_create): Likewise. + * elf32-m32r.c (m32r_elf_link_hash_table_create): Likewise. + * elf32-m68hc1x.c (m68hc11_elf_hash_table_create): Likewise. + * elf32-m68k.c (elf_m68k_link_hash_table_create): Likewise. + * elf32-metag.c (elf_metag_link_hash_table_create): Likewise. + * elf32-nios2.c (nios2_elf32_link_hash_table_create): Likewise. + * elf32-s390.c (elf_s390_link_hash_table_create): Likewise. + * elf32-score.c (elf32_score_link_hash_table_create): Likewise. + * elf32-spu.c (spu_elf_link_hash_table_create): Likewise. + * elf32-tic6x.c (elf32_tic6x_link_hash_table_create): Likewise. + * elf32-vax.c (elf_vax_link_hash_table_create): Likewise. + * elf32-xgate.c (xgate_elf_bfd_link_hash_table_create): Likewise. + * elf32-xtensa.c (elf_xtensa_link_hash_table_create): Likewise. + * elf64-aarch64.c (elf64_aarch64_link_hash_table_create): Likewise. + * elf64-s390.c (elf_s390_link_hash_table_create): Likewise. + * elf64-sh64.c (sh64_elf64_link_hash_table_create): Likewise. + * elf64-x86-64.c (elf_x86_64_link_hash_table_create): Likewise. + * elfxx-mips.c (_bfd_mips_elf_link_hash_table_create): Likewise. + * elflink.c (_bfd_elf_link_hash_table_create): Likewise. + (_bfd_elf_link_hash_table_init): Assume zero fill table on entry. + +2013-02-10 Alan Modra + + * i386linux.c (linux_link_hash_table_create): Allocate table + with bfd_zmalloc, not bfd_alloc. + * pdp11.c (link_hash_table_create): Allocate table with + bfd_malloc, not bfd_alloc. + * elf32-bfin.c (bfinfdpic_elf_link_hash_table_create): Allocate table + with bfd_zmalloc, not bfd_zalloc. + (bfin_link_hash_table_create): Likewise. + * elf32-frv.c (frvfdpic_elf_link_hash_table_create): Likewise. + * elf64-hppa.c (elf64_hppa_hash_table_create): Likewise. + +2013-02-10 Alan Modra + + PR ld/15113 + * elf32-sh.c (sh_elf_link_hash_table_create): Use bfd_zmalloc. + +2013-02-08 Markos Chandras + + * elf32-metag.c: Use bfd_get_linker_section to get SEC_LINKER_CREATED + sections. + (elf_metag_adjust_dynamic_symbol): Don't error on zero size dynbss + symbol. + +2013-02-08 Yufeng Zhang + + * elf64-aarch64.c (elf64_aarch64_grok_prstatus): Change 'size' from + 288 to 272. + +2013-02-08 Alan Modra + + PR binutils/15106 + * elf-bfd.h (struct elf_obj_tdata): Add elf_find_function_cache. + * elf.c (elf_find_function): Revert last change. Use new + tdata field rather than static vars for cache. + +2013-02-07 H.J. Lu + + PR ld/15107 + * elflink.c (elf_link_output_extsym): Set STB_GNU_UNIQUE only if + symbol is defined in regular object. + +2013-02-07 Roberto Agostino Vitillo + + PR binutils/15106 + * elf.c (elf_find_function): Don't cache if symbols change. + +2013-02-07 Alan Modra + + PR binutils/14873 + * elf-attrs.c (_bfd_elf_copy_obj_attributes): Don't attempt to + copy attributes from or to non-ELF. + +2013-02-06 H.J. Lu + + * elf32-i386.c (elf_i386_allocate_dynrelocs): Don't clear pc_count + for non-zero TLS symbol. + (elf_i386_relocate_section): Don't resolve size relocation against + non-zero TLS symbol. + * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Don't clear + pc_count for non-zero TLS symbol. + (elf_x86_64_relocate_section): Don't resolve size relocation + against non-zero TLS symbol. + +2013-02-06 Sandra Loosemore + Andrew Jenner + + Based on patches from Altera Corporation. + + * Makefile.am (ALL_MACHINES): Add cpu-nios2.lo. + (ALL_MACHINES_CFILES): Add cpu-nios2.c. + (BFD_BACKENDS): Add elf32-nios2.lo. + (BFD32_BACKENDS_CFILES): Add elf32-nios2.c. + * Makefile.in: Regenerated. + * configure.in: Add entries for bfd_elf32_bignios2_vec and + bfd_elf32_littlenios2_vec. + * configure: Regenerated. + * config.bfd: Add cases for nios2. + * archures.c (enum bfd_architecture): Add bfd_arch_nios2. + (bfd_mach_nios2): Define. + (bfd_nios2_arch): Declare. + (bfd_archures_list): Add bfd_nios2_arch. + * targets.c (bfd_elf32_bignios2_vec): Declare. + (bfd_elf32_littlenios2_vec): Declare. + (_bfd_target_vector): Add entries for bfd_elf32_bignios2_vec and + bfd_elf32_littlenios2_vec. + * elf-bfd.h (enum elf_target_id): Add NIOS2_ELF_DATA. + * reloc.c (enum bfd_reloc_code_real): Add Nios II relocations. + * bfd-in2.h: Regenerated. + * libbfd.h: Regenerated. + * cpu-nios2.c: New file. + * elf32-nios2.c: New file. + +2013-02-06 Alan Modra + + * elf32-arm.c (elf32_arm_final_link_relocate): Only test for + stubs in stub_bfd. + +2013-02-06 Alan Modra + + * Makefile.am (SOURCE_HFILES): Add `elf-linux-psinfo.h'. + * Makefile.in: Regenerate. + +2013-02-04 Sergio Durigan Junior + Pedro Alves + + * Makefile.in (SOURCE_HFILES): Add `elf-linux-psinfo.h'. + * elf-bfd.h (elf_internal_linux_prpsinfo): New structure + declaration. + (elfcore_write_linux_prpsinfo32, elfcore_write_linux_prpsinfo64) + (elfcore_write_ppc32_linux_prpsinfo32): New declarations. + * elf-linux-psinfo.h: New file. + * elf.c: Include elf-linux-psinfo.h. + (elfcore_write_linux_prpsinfo32, elfcore_write_linux_prpsinfo64): + New functions. + * elf32-ppc.c: Include `elf-linux-psinfo.h'. + (elf_external_ppc_linux_prpsinfo32): New structure declaration. + (PPC_LINUX_PRPSINFO32_SWAP_FIELDS): New macro. + (elfcore_write_ppc_linux_prpsinfo32): New function. + +2013-02-04 Tristan Gingold + + * mach-o.c (bfd_mach_o_scan_start_address): Do not fail if no + start address. + +2013-02-04 Alan Modra + + * Makefile.am (BFD64_BACKENDS): Remove elf-nacl.lo. + (BFD64_BACKENDS_CFILES): Remove elf-nacl.c. + * Makefile.in: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2013-02-04 Alan Modra + + * coff-tic54x.c (SWAP_OUT_RELOC_EXTRA): Delete. + * coff-tic80.c (SWAP_OUT_RELOC_EXTRA): Delete. + +2013-02-01 Alan Modra + + * elf64-ppc.c (dec_dynrel_count): Don't error when elf_gc_sweep_symbol + clears def_regular. + +2013-01-31 Tristan Gingold + + * mach-o.c (bfd_mach_o_scan): Call bfd_mach_o_flatten_sections + earlier. Fix status checking of bfd_mach_o_scan_start_address. + (bfd_mach_o_scan_start_address): Handle LC_MAIN. + +2013-01-31 Alan Modra + David S. Miller + + PR ld/15056 + * elfxx-sparc.c (_bfd_sparc_elf_gc_mark_hook): Handle implicit + references to __tls_get_addr. + * elf32-tilpro.c (tilepro_elf_gc_mark_hook): Likewise. Correct + vtinherit and vtentry reloc handling too. + * elfxx-tilegx.c (tilegx_elf_gc_mark_hook): As for tilepro. + +2013-01-31 Alan Modra + + * elf64-ppc.c (ppc_stub_name): Trim off trailing "+0". + +2013-01-31 Alan Modra + + * elf64-ppc.c (build_plt_stub): Correct plt stub branch to glink. + +2013-01-28 Alan Modra + + * elf64-ppc.c: Use %T to print symbols names and remove redundant + "relocation" in error messages throughout file. + (ppc64_elf_relocate_section): Remove sibling call error message, + replace with "call lacks nop". Specially report errors for + branches to function entry points via OPD lookup and branches + to stubs. Remove NULL symbol handling now done by %T. + +2013-01-28 Alan Modra + + * archive.c (bfd_generic_archive_p): Return target and keep + ardata on partial matches. + * format.c (bfd_check_format_matches): Adjust for above + change. Remove bfd_error_file_ambiguously_recognized dead + code. + +2013-01-26 Alan Modra + + * bfd.c (struct bfd_preserve, bfd_preserve_save, bfd_preserve_restore, + bfd_preserve_finish): Move to.. + * format.c: ..here, splitting out.. + (bfd_reinit): ..this. New function. + (bfd_check_format_matches): Use bfd_preserve_save/restore to + keep bfd state for a match. + * elfcode.h (elf_object_p): Don't use bfd_preserve_save/restore. + * elfcore.h (elf_core_file_p): Likewise. + * mach-o.c (bfd_mach_o_header_p): Likewise. + * pef.c (bfd_pef_object_p, bfd_pef_xlib_object_p): Likewise. + * xsym.c (bfd_sym_object_p): Likewise. + * mmo.c (mmo_scan): Clear abfd->symcount. + * opncls.c (_bfd_new_bfd): Use a smaller section hash table. + * section.c (bfd_section_list_clear): Clear section_htab.count. + * bfd-in2.h: Regenerate. + +2013-01-25 Michael Schewe + + * elf32-h8300.c (elf32_h8_relax_section): When checking for a + second reloc, make sure that the reloc potentially exists first. + +2013-01-24 Nick Clifton + + * archures.c: Add bfd_mach_v850e3v5. + * bfd-in2.h: Regenerate. + * cpu-v850.c: Add entries for v850e2v5 and v850e3v5. + * cpu-v850_rh850.c: Likewise. + * elf32-v850.c: Add support for v850e3v5 architecture. + +2013-01-23 Markos Chandras + + * elf32-metag.c: Error on HIADDR16/LOADDR16 in shared link. + +2013-01-23 Leif Ekblad + + * config.bfd (x86_64-*-rdos*): Remove targ_selvecs. + +2013-01-18 H.J. Lu + + * elf32-i386.c (elf_i386_allocate_dynrelocs): Clear pc_count for + non-zero TLS symbol. + (elf_i386_relocate_section): Resolve size relocation against + non-zero TLS symbol. + * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Clear pc_count + for non-zero TLS symbol. + (elf_x86_64_relocate_section): Resolve size relocation against + non-zero TLS symbol. + +2013-01-18 Mike Frysinger + + * elflink.c (bfd_elf_size_dynamic_sections): Only add DT_RPATH + when new_dtags is false. Only add DT_RUNPATH when new_dtags is + true. + +2013-01-17 H.J. Lu + + * elf32-i386.c (elf_i386_check_relocs): Count size relocation as + PC-relative relocation. + * elf64-x86-64.c (elf_x86_64_check_relocs): Count size relocation + as PC-relative relocation. + +2013-01-16 H.J. Lu + + * elf32-i386.c (elf_i386_check_relocs): Update R_386_SIZE32 + check. + (elf_i386_relocate_section): Don't check TLS for R_386_SIZE32. + + * elf64-x86-64.c (elf_x86_64_check_relocs): Update R_X86_64_SIZE32 + and R_X86_64_SIZE64 check. + (elf_x86_64_relocate_section): Don't check TLS for R_X86_64_SIZE32 + nor R_X86_64_SIZE64. + +2013-01-16 H.J. Lu + + * bfd-in2.h: Regenerated. + * libbfd.h: Likewise. + + * elf32-i386.c (elf_howto_table): Fill R_386_SIZE32 entry. + (elf_i386_reloc_type_lookup): Support BFD_RELOC_SIZE32. + (elf_i386_check_relocs): Handle R_386_SIZE32. + (elf_i386_gc_sweep_hook): Likewise. + (elf_i386_relocate_section): Likewise. + + * elf64-x86-64.c (x86_64_elf_howto_table): Fill R_X86_64_SIZE32 + and R_X86_64_SIZE64 entries. + (x86_64_reloc_map): Add BFD_RELOC_SIZE32 and BFD_RELOC_SIZE64, + (elf_x86_64_rtype_to_howto): Handle R_X86_64_SIZE32 for x32. + (elf_x86_64_reloc_name_lookup): Likewise. + (elf_x86_64_check_relocs): Handle R_X86_64_SIZE32 and + R_X86_64_SIZE64. + (elf_x86_64_gc_sweep_hook): Likewise. + (elf_x86_64_relocate_section): Likewise. + + * reloc.c (bfd_reloc_code_type): Add BFD_RELOC_SIZE32 and + BFD_RELOC_SIZE64. + +2013-01-15 H.J. Lu + + * elf64-x86-64.c (R_X86_64_standard): Replace R_X86_64_IRELATIVE + with R_X86_64_RELATIVE64. + +2013-01-15 Nick Clifton + + * elf32-msp430.c: Fix spelling typo. + +2013-01-15 Alan Modra + + * elf64-ppc.c (ppc64_elf_size_stubs): Default shared libs to + plt-thread-safe. + +2013-01-14 Alan Modra + + PR binutils/14813 + * bfdio.c (struct bfd_iovec ): Revert 2012-11-06. + (memory_bclose): Likewise. Return 0 on success. + * cache.c (cache_bclose): Likewise. + * opncls.c (opncls_bclose, bfd_close): Likewise. + * vms-lib.c (vms_lib_bclose): Likewise. + * libbfd.h: Regenerate. + +2013-01-13 Alan Modra + + * elf-bfd.h (struct elf_link_hash_entry): Delete dynamic_weak. + Add ref_dynamic_nonweak. + * elflink.c (_bfd_elf_mark_dynamic_def_weak): Delete. + (_bfd_elf_merge_symbol): Don't call above function. Move + setting of ref_dynamic_nonweak and dynamic_def earlier. Don't + clear dynamic_def. + (elf_link_add_object_symbols): Delete redundant "override" test. + Don't set dynamic_def here. + (elf_link_output_extsym): Update. + +2013-01-12 H.J. Lu + + * elf32-i386.c (elf_i386_check_relocs): Set bfd errror for + normal and TLS symbol access. + * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise. + +2013-01-12 Alan Modra + + * elf-bfd.h (_bfd_elf_strtab_refcount): Declare. + * elf-strtab.c (_bfd_elf_strtab_refcount): New function. + * elflink.c (elf_add_dt_needed_tag): Use _bfd_elf_strtab_refcount. + +2013-01-12 Alan Modra + + PR ld/12549 + * elf-bfd.h (_bfd_elf_strtab_clear_refs): Declare. + (_bfd_elf_strtab_clear_all_refs): Define. + * elf-strtab.c (_bfd_elf_strtab_clear_refs): New function. + (_bfd_elf_strtab_clear_all_refs): Delete. + * elflink.c (elf_link_add_object_symbols): Clear out added + strtab refs. Correct handling of warning common symbols. + +2013-01-10 H.J. Lu + + * aout0.c: Remove trailing white spaces. + * archive.c: Likewise. + * archures.c: Likewise. + * bfd-in.h: Likewise. + * bfd-in2.h: Likewise. + * coff-alpha.c: Likewise. + * coff-i860.c: Likewise. + * coff-mips.c: Likewise. + * coff-ppc.c: Likewise. + * coff-tic80.c: Likewise. + * coff-x86_64.c: Likewise. + * coff-z80.c: Likewise. + * coffcode.h: Likewise. + * coffgen.c: Likewise. + * cofflink.c: Likewise. + * compress.c: Likewise. + * corefile.c: Likewise. + * cpu-arm.c: Likewise. + * cpu-avr.c: Likewise. + * cpu-bfin.c: Likewise. + * cpu-cr16.c: Likewise. + * cpu-cr16c.c: Likewise. + * cpu-crx.c: Likewise. + * cpu-h8300.c: Likewise. + * cpu-i386.c: Likewise. + * cpu-lm32.c: Likewise. + * cpu-m68k.c: Likewise. + * cpu-moxie.c: Likewise. + * cpu-msp430.c: Likewise. + * cpu-sh.c: Likewise. + * cpu-xc16x.c: Likewise. + * dwarf2.c: Likewise. + * ecofflink.c: Likewise. + * ecoffswap.h: Likewise. + * elf-ifunc.c: Likewise. + * elf-m10300.c: Likewise. + * elf-vxworks.c: Likewise. + * elf32-avr.c: Likewise. + * elf32-avr.h: Likewise. + * elf32-cr16.c: Likewise. + * elf32-cr16c.c: Likewise. + * elf32-cris.c: Likewise. + * elf32-crx.c: Likewise. + * elf32-frv.c: Likewise. + * elf32-hppa.c: Likewise. + * elf32-i860.c: Likewise. + * elf32-ip2k.c: Likewise. + * elf32-iq2000.c: Likewise. + * elf32-m32c.c: Likewise. + * elf32-m68hc1x.c: Likewise. + * elf32-msp430.c: Likewise. + * elf32-mt.c: Likewise. + * elf32-ppc.c: Likewise. + * elf32-rl78.c: Likewise. + * elf32-s390.c: Likewise. + * elf32-score.h: Likewise. + * elf32-sh-symbian.c: Likewise. + * elf32-sh.c: Likewise. + * elf32-spu.c: Likewise. + * elf32-tic6x.c: Likewise. + * elf32-v850.c: Likewise. + * elf32-xc16x.c: Likewise. + * elf32-xtensa.c: Likewise. + * elf64-alpha.c: Likewise. + * elf64-hppa.c: Likewise. + * elf64-ppc.c: Likewise. + * elf64-s390.c: Likewise. + * elfcore.h: Likewise. + * elflink.c: Likewise. + * elfxx-mips.c: Likewise. + * elfxx-sparc.c: Likewise. + * elfxx-tilegx.c: Likewise. + * ieee.c: Likewise. + * libcoff.h: Likewise. + * libpei.h: Likewise. + * libxcoff.h: Likewise. + * linker.c: Likewise. + * mach-o-i386.c: Likewise. + * mach-o-target.c: Likewise. + * mach-o.c: Likewise. + * mach-o.h: Likewise. + * mmo.c: Likewise. + * opncls.c: Likewise. + * pdp11.c: Likewise. + * pe-x86_64.c: Likewise. + * peXXigen.c: Likewise. + * pef-traceback.h: Likewise. + * pei-x86_64.c: Likewise. + * peicode.h: Likewise. + * plugin.c: Likewise. + * reloc.c: Likewise. + * riscix.c: Likewise. + * section.c: Likewise. + * som.c: Likewise. + * syms.c: Likewise. + * tekhex.c: Likewise. + * ticoff.h: Likewise. + * vaxbsd.c: Likewise. + * xcofflink.c: Likewise. + * xtensa-isa.c: Likewise. + +2013-01-10 Will Newton + + * Makefile.am: Add Meta. + * Makefile.in: Regenerate. + * archures.c (bfd_mach_metag): New. + * bfd-in2.h: Regenerate. + * config.bfd: Add Meta. + * configure: Regenerate. + * configure.in: Add Meta. + * cpu-metag.c: New file. + * elf-bfd.h: Add Meta. + * elf32-metag.c: New file. + * elf32-metag.h: New file. + * libbfd.h: Regenerate. + * reloc.c: Add Meta relocations. + * targets.c: Add Meta. + +2013-01-08 Yufeng Zhang + + * elf-bfd.h (elfcore_write_aarch_tls): Add prototype. + (elfcore_write_aarch_hw_break): Likewise. + (elfcore_write_aarch_hw_watch): Likewise. + * elf.c (elfcore_grok_aarch_tls): New function. + (elfcore_grok_aarch_hw_break): Likewise. + (elfcore_grok_aarch_hw_watch): Likewise. + (elfcore_grok_note): Call the new functions to handle the + corresponding notes. + (elfcore_write_aarch_tls): New function. + (elfcore_write_aarch_hw_break): Likewise. + (elfcore_write_aarch_hw_watch): Likewise. + (elfcore_write_register_note): Call the new functions to handle the + corresponding pseudo sections. + +2013-01-07 Tom Tromey + + * section.c (_bfd_std_section): Rename from std_section. + (bfd_com_section_ptr, bfd_und_section_ptr, bfd_abs_section_ptr) + (STD_SECTION): Update. + * bfd-in2.h: Rebuild. + +2013-01-04 Juergen Urban + + * archures.c (bfd_mach_mips5900): Define. + * bfd-in2.h: Regenerate. + * config.bfd: Add mips64-ps2-elf and mips-ps2-elf targets. + * cpu-mips.c: Add support for MIPS r5900. + * elfxx-mips.c: Add support for MIPS r5900 (extension of r4000). + +2013-01-03 Nickolai Zeldovich + Nick Clifton + + * elflink.c (get_value): Prevent the use of an undefined shift + operation. Add sanity checks. + +2013-01-02 Kaushik Phatak + + * config.bfd (cr16*-*-uclinux*): New target support. + +For older changes see ChangeLog-2012 + +Copyright (C) 2013 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 284bd2406f5..227748f6234 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -12,676 +12,9 @@ * coffgrok.h (coff_ofile): Don't use PARAMS. * nlmheader.y (strerror): Don't use PARAMS. -2013-12-31 Nick Clifton - - * objcopy.c (dump_sections): New list. - (command_line_switch): Add OPTION_DUMP_SECTION. - (copy_options): Add dump-section. - (copy_usage): Document new option. - (copy_object): Dump requested sections. - (copy_main): Handle --dump-section. - * doc/binutils.texi: Document --dump-section option. - * NEWS: Mention new feature. - -2013-12-20 Nick Clifton - - PR binutils/16218 - * dwarf.c (read_and_display_attr_value): Only print a tab - character if it preceeds further text. - -2013-12-19 Tom Tromey - - * dwarf.c (fetch_indirect_string): Don't bias by section address. - (fetch_indexed_string): Likewise. - (process_debug_info): Likewise. - (display_debug_loc): Likewise. - (display_debug_ranges): Likewise. - -2013-12-13 Kuan-Lin Chen - Wei-Cheng Wang - - * readelf.c: Include elf/nds32.h - (guess_is_rela): Add case for EM_NDS32. - (dump_relocations): Add case for EM_NDS32. - (decode_NDS32_machine_flags): New. - (get_machine_flags): Add case for EM_NDS32. - (is_32bit_abs_reloc): Likewise. - (is_16bit_abs_reloc): Likewise. - (process_nds32_specific): New. - (process_arch_specific): Add case for EM_NDS32. - * NEWS: Announce Andes nds32 support. - * MAINTAINERS: Add nds32 maintainers. - -2013-12-10 Roland McGrath - - * Makefile.am (install-exec-local): Prefix libtool invocation with - $(INSTALL_PROGRAM_ENV). - * Makefile.in: Regenerate. - -2013-11-22 Cory Fields - - * windres.c (define_resource): Use zero for timestamp, making - output deterministic. time.h include is no longer needed. - * resres.c (res_append_resource): Likewise. - -2013-11-13 Martin Mitas - - * rescoff.c (write_coff_file): Use 64-bit alignment for resource - data. - (coff_res_to_bin): Likewise. - -2013-11-07 Doug Evans - - Add pretty-printing of .debug_gnu_pubnames, .debug_gnu_pubtypes. - * dwarf.c (get_gdb_index_symbol_kind_name): New function. - (display_debug_pubnames_worker): Renamed from display_debug_pubnames. - Add support for .debug_gnu_pubnames, .debug_gnu_pubtypes. - (display_debug_pubnames, display_debug_pubnames_gnu): New functions. - (display_gdb_index): Redo printing of symbol kind. - (debug_displays): Add .debug_gnu_pubnames, .debug_gnu_pubtypes. - * dwarf.h (dwarf_section_display_enum): Add gnu_pubnames, gnu_pubtypes. - * readelf.c (process_section_headers): Add gnu_pubnames, gnu_pubtypes. - -2013-11-07 Roland McGrath - - * objdump.c (dump_dwarf): Grok bfd_mach_x86_64_nacl and - bfd_mach_x64_32_nacl as equivalent to bfd_mach_x86_64. - -2013-10-30 Alan Modra - - * readelf.c (get_ppc_dynamic_type): Replace PPC_TLSOPT with PPC_OPT. - (get_ppc64_dynamic_type): Replace PPC64_TLSOPT with PPC64_OPT. - -2013-10-30 Ulrich Weigand - - * readelf.c (get_ppc64_symbol_other): New function. - (get_symbol_other): Use it for EM_PPC64. - -2013-10-30 Alan Modra - - * readelf.c (get_machine_flags): Display ABI version for EM_PPC64. - -2013-10-24 Nick Clifton - - * nm.c (display_rel_file): Treat bfd_error_no_symbols as - non-fatal. - -2013-10-14 Chao-ying Fu - - * readelf.c (display_mips_gnu_attribute): Support Tag_GNU_MIPS_ABI_MSA. - * doc/binutils.texi: Document -Mmsa disassembler option. - -2013-10-14 Jan-Benedict Glaw - - * readelf.c (decode_arm_unwind): Don't initialize `addr'. - -2013-10-14 Nick Clifton - - * readelf.c (decode_arm_unwind): Initialise addr structure. - (process_symbol_table): Free lengths. - * srcconv.c (wr_sc): Free info. - -2013-10-11 Roland McGrath - - * winduni.c (languages): Use \345 (octal syntax) rather than - literal non-ASCII/non-UTF8 character in string literal. - - * readelf.c (print_dynamic_symbol): Use array subscript syntax - rather than addition syntax with string literal. - -2013-10-09 Nick Clifton - - PR binutils/16023 - * debug.c (debug_type_samep): Add missing break statement. - - PR binutils/16024 - * objdump.c (usage): Mark as a no-return function. - (main): Add comment explaining why a break statement is not - needed. - - * dwarf.c (add64): New function. - (read_and_display_attr_value): Add CU offset in to the value - displayed for a DW_AT_ref8 attribute. - -2013-10-01 Cory Fields - - * arsup.c (ar_save): Respect the deterministic setting when - reading from an mri script. - * ar.c (main): Set the default deterministic mode when reading - from an mri script. - -2013-10-01 Jan-Benedict Glaw - - * dwarf.c (SAFE_BYTE_GET): Fix argument check. - -2013-09-27 H.J. Lu - - * dwarf.c (display_debug_frames): Pass offset_size to - print_dwarf_vma for cie_id. - -2013-09-20 Alan Modra - - * configure: Regenerate. - -2013-09-18 Tristan Gingold - - * NEWS: Add marker for 2.24. - -2013-09-18 Tristan Gingold - - * Makefile.am (LEXLIB): Define. Replase references to @LEXLIB@ - by $(LEXLIB). - * Makefile.in: Regenerate. - -2013-09-17 Doug Gilmore - - * readelf.c (get_machine_flags): Handle EF_MIPS_FP64. - -2013-09-12 Nick Clifton - - * dwarf.c (dwarf_vmatoa): Rename to dwarf_vmatoa_1 and add a - precision parameter. - (dwarf_vmatoa): New wrapper for dwarf_vmatoa_1. - (print_dwarf_vma): Use dwarf_vmatoa_1. - (SAFE_BYTE_GET): Add check that VAL is big enough to contain - AMOUNT bytes. - (process_debug_info): Use an unsigned int for the offset size. - (process_debug_pubnames): Likewise. - (display_debug_aranges): Likewise. - (struct Frame_Chunk): Use dwarf_vma type for pc_begin and pc_range - fields. - (frame_display_row): Use print_dwarf_vma to display dwarf_vma - values. - (display_debug_frames): Likewise. - -2013-09-10 Nick Clifton - - * dwarf.c (display_debug_frames): Check for DW64_CIE_ID when - parsing 64-bit frames. - -2013-08-27 Nick Clifton - - PR binutils/15796 - * ar.c (map_over_members): Correctly handle multiple same-name - entries on the command line and in the archive. - -2013-08-23 H.J. Lu - - * doc/binutils.texi: Remove the extra space. - -2013-08-23 Mikael Pettersson - - PR binutils/15779 - * doc/binutils.texi (ranlib -D): Correct description. - PR binutils/15777 - (nm --special-syms): Fix typo. - -2013-08-23 Nick Clifton - - PR binutils/15798 - * doc/binutils.texi (ar cmdline): Update description of 'q' - command. - - PR binutils/14136 - (nm): Add description of 'I' symbol type. - -2013-08-23 Yuri Chornoivan - - PR binutils/15834 - * od-xcoff.c: Fix typos. - -2013-08-19 Tristan Gingold - - * nm.c (print_size_symbols): Directly get symbol size. - -2013-08-12 Andreas Schwab - - PR binutils/15818 - * objdump.c (disassemble_section): Return early if nothing from - this section needs to be disassembled. - -2013-08-09 Nick Clifton - - * readelf.c (get_machine_flags): Handle RL78 G10 flag. - -2013-07-26 Sergey Guriev - Alexander Ivchenko - Maxim Kuznetsov - Sergey Lega - Anna Tikhonova - Ilya Tocar - Andrey Turetskiy - Ilya Verbin - Kirill Yukhin - Michael Zolotukhin - - * dwarf.c (dwarf_regnames_i386): Add k0-k7 registers and - numeration in comments. - (dwarf_regnames_x86_64): Add xmm16-31 and k0-k7 registers to - dwarf table. - -2013-07-19 Nick Clifton - - PR binutils/15745 - * readelf.c (get_unwind_section_word): Whilst searching for a - reloc section associated with an unwind section, check the type as - well as the section number. - -2013-07-18 Jim Thomas - - * ar.c (usage): Fix C conformance issue. - -2013-07-18 Nick Clifton - - * doc/binutils.texi (nm, objdump): Remove bogus links to STABS - documentation. - - * readelf.c (process_unwind): Do not return the result of a void - function. - -2013-07-15 Maciej W. Rozycki - - * readelf.c (display_mips_gnu_attribute): Replace hardcoded magic - numbers with enum values. - -2013-07-12 Maciej W. Rozycki - - * readelf.c (get_machine_flags): Handle EF_MIPS_NAN2008. - -2013-07-10 Tristan Gingold - - * od-xcoff.c (OPT_LDINFO): Define. - (options): Add ldinfo. - (xcoff_help): Mention ldinfo. - (xcoff_dump): Rename to ... - (xcoff_dump_obj): ... this. Add a break. - (dump_dumpx_core): New function. - (xcoff_dump_core): Likewise. - (xcoff_dump): Likewise. - * doc/binutils.texi (objdump): Mention ldinfo. - -2013-07-09 Tristan Gingold - - * configure.com: Add new defines to match changes in configure. - -2013-05-28 Cary Coutant - - * dwarf.c (display_debug_lines_raw): Print section offsets. - -2013-05-15 Cary Coutant - - * dwarf.c (SAFE_BYTE_GET64): Correct end-of-buffer check; - don't increment PTR. - (decode_location_expression): DW_OP_const2u should read 2 bytes. - (display_debug_lines_decoded): Adjust formatting. - * elfcomm.c (byte_get_little_endian): Add cases for 5-, 6-, and - 7-byte reads. - (byte_get_big_endian): Likewise. - (byte_get_signed): Likewise. - -2013-05-09 Andrew Pinski - - * doc/binutils.texi: Document -Mvirt disassembler option. - -2013-05-02 Nick Clifton - - * readelf.c: Add support for MSP430X architecture. - -2013-05-02 Nick Clifton - - * dwarf.c (display_debug_lines_raw): Do not treat .debug_line.dwo - sections as if they were fragmentary .debug_line sections. - (display_debug_lines_decoded): Likewise. - -2013-04-29 Nick Clifton - - * dwarf.c (read_debug_line_header): New function. Reads in a - header in a .debug_line section. - (display_debug_lines_raw): Use new function. Handle fragmentary - .debug_line sections. - (display_debug_lines_decoded): Likewise. - * readelf.c (process_section_headers): Handle fragmenatry - .debug_line sections. - (display_debug_section): Likewise. - -2013-04-26 Ian Lance Taylor - - * MAINTAINERS: Add myself and Cary as gold maintainers. - -2013-04-08 Tom Tromey - - * dwarf.c (process_debug_info): Check dwarf_cutoff_level. - -2013-04-08 Tom Tromey - - * dwarf-mode.el: Bump version number. - (dwarf-mode): Remove autoload. - (dwarf-die-reference): Relax regexp. - -2013-04-05 Alan Modra - - PR binutils/15324 - * configure.in: Add strnlen to AC_CHECK_DECLS, sort. - * dwarf.c (strnlen): Provide fallback decl. - * config.in: Regnerate. - * configure: Regenerate. - -2013-03-29 H.J. Lu - - * dwarf.c (process_debug_info): Increment hdrptr by 8 after - SAFE_BYTE_GET64. - -2013-03-27 Phil Krylov - - PR binutils/13409 - * winduni.c (codepages[]): Use UTF-16LE. - (wind_MultiByteToWideChar): Likewise. - (wind_WideCharToMultiByte): Likewise. - -2013-03-27 Alan Modra - - PR binutils/15206 - * dwarf.c (read_and_display_attr_value): Cast format '*' arg to int. - -2013-03-26 Nick Clifton - - PR binutils/15206 - * dwarf.c (SAFE_BYTE_GET): New macro - checks remaining buffer - space before calling byte_get. - (SAFE_BYTE_GET_AND_INC): New macro. - (SAFE_SIGNED_BYTE_GET): New macro. - (SAFE_SIGNED_BYTE_GET_AND_INC): New macro. - (SAFE_BYTE_GET64): New macro. - (process_extened_line_op): Use new macros. Use strnlen when - appropriate. - (fetch_indirect_string): Likewise. - (get_FORM_name): 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. - (display_debug_pubnames): Likewise. - (display_debug_macinfo): Likewise. - (get_line_filename_and_dirname): Likewise. - (display_debug_macro): Likewise. - (display_loc_list): Likewise. - (display_loc_list_dwo): Likewise. - (display_debug_aranges): Likewise. - (display_debug_ranges): Likewise. - (frame_display_row): Likewise. - (display_debug_frames): Likewise. - -2013-03-25 Nick Clifton - - PR binutils/15202 - * dwarf.c (read_leb128): Add END parameter. Do not read at or - beyond end. - (read_sleb128): Add END parameter. - (read_uleb128): New function. - (process_extended_line_op): Pass END to leb128 functions. - (process_abbrev_section): Likewise. - (decode_location_expression): Likewise. - (read_and_display_attr_value): Likewise. - (read_and_display_attr): Likewise. - (process_debug_info): Likewise. - (display_debug_lines_raw): Likewise. - (display_debug_lines_decoded): Likewise. - (display_debug_macinfo): Likewise. - (get_line_filename_and_dirname): Likewise. - (display_debug_macro): Likewise. - (display_loc_list_dwo): Likewise. - (display_debug_ranges): Likewise. - * dwarf.h (read_leb128): Update prototype. - * readelf.c (read_uleb128): Add END parameter. - (decode_arm_unwind_bytecode): Pass END to read_uleb128. - (decode_tic6x_unwind_bytecode): Likewise. - (display_tag_value): New function. - (display_arm_attribute): Add END parameter. Pass END to - read_uleb128. Use display_tag_value. - (display_gnu_attribute): Likewise. - (display_power_gnu_attribute): Likewise. - (display_sparc_gnu_attribute): Likewise. - (display_mips_gnu_attribute): Likewise. - (display_tic6x_attribute): Likewise. - (process_attributes): Likewise. - (display_raw_attribute): New function. - -2013-03-22 Nick Clifton - - PR binutils/15201 - * dwarf.c (display_debug_ranges): Add checks for reading beyond - the end of the section. - - PR binutils/15157 - * readelf.c (apply_relocations): Catch relocations with negative - offsets. - -2013-03-15 Nick Clifton - - * addr2line.c (slurp_symtab): If canonicalization reveals that - there were no ordinary symbols, try loading the dynamic symbols - instead. - -2013-03-14 Markos Chandras - - * MAINTAINERS: Add myself as Meta maintainer. - -2013-03-08 Andreas Arnez - - * readelf.c (get_note_type): Add NT_S390_TDB. - -2013-03-07 Alan Modra - - * strings.c (get_char): Dispense with buf[]. Instead shift - chars into big-endian value and byte-swap later if - little-endian. Don't EOF check value read from object. - -2013-03-05 Corinna Vinschen - - * configure.in: Build DLL tools on x86_64-*-cygwin* as well. - * configure: Regenerate. - -2013-03-04 Nick Clifton - - * elfcomm.c (error): Flush stdout before emitting the error - message. - (warn): Likewise. - -2013-03-01 Cary Coutant - - * dwarf.c (cu_tu_indexes_read, shndx_pool, shndx_pool_size) - (shndx_pool_used): Move to top of file. - (struct cu_tu_set): New type. - (cu_count, tu_count, cu_sets, tu_sets): New file scope variables. - (fetch_indexed_string): Add "this_set" parameter. Update all callers. - (find_cu_tu_set_v2): New function. - (read_and_display_attr_value): Add "this_set" parameter. - (read_and_display_attr): Likewise. - (process_debug_info): Track base offsets for DWARF package files. - (load_debug_info): Call load_cu_tu_indexes. - (get_DW_SECT_short_name): New function. - (process_cu_tu_index): Add support for version 2 DWARF package files. - -2013-02-27 Alan Modra - - PR binutils/15191 - * readelf.c (offsetof): Define. - (CHECK_ENTSIZE_VALUES): Remove extraneous indefinite article. - (process_corefile_note_segment): Allow notes without name or - desc. Combine out-of-range checks. Disallow "negative" - notesz or descsz. - -2013-02-26 Nick Clifton - - PR binutils/15191 - * readelf.c (process_corefile_note_segment): Prevent attempts to - read beyond the end of the note buffer. - -2013-02-15 Kai Tietz - - * objcopy.c (copy_main): Initialize context variable. - -2013-02-15 Nick Clifton - - PR binutils/15140 - * ar.c (open_inarch): Fail on attempts to convert a normal archive - to a thin archive or vice versa. - * elfcomm.c (make_qualified_name): Handle corrupted thin - archives. - * readelf.c (process_archive): Likewise. - * doc/binutils.texi: Clarify documentation describing thin - archives. - -2013-02-15 Nick Clifton - - PR binutils/15033 - * objcopy.c (enum change_action): Delete. - (struct section_list): Delete remove, copy, change_vma, change_lma - and set_flags fields. Add context field. - (find_section_list): Add a context parameter. Add support for - wildcard characters in section names. - (is_strip_section): Check for sections being both copied and - removed. - (copy_object): Pass context to find_section_list. - (setup_section): Likewise. - (copy_section): Likewise. - (copy_main): Likewise. - * doc/binutils: Document the new behaviour. - * NEWS: Mention the new feature - -2013-02-14 Nick Clifton - - PR binutils/15125 - * objcopy.c (copy_object): Provide a helpful warning message when - adding a gnu_debuglink section to an object which already contains - one. - -2013-02-07 Nick Clifton - - * elfcomm.c (get_archive_member_name): Prevent seg-fault if a - corrupt archive uses long names but has no long name table. - -2013-02-06 Sandra Loosemore - Andrew Jenner - - Based on patches from Altera Corporation. - - * readelf.c: Include elf/nios2.h. - (dump_relocations): Add case for EM_ALTERA_NIOS2. - (get_nios2_dynamic_type): New. - (get_dynamic_type): Add case for EM_ALTERA_NIOS2. - (is_32bit_abs_reloc): Fix EM_ALTERA_NIOS2 case. - (is_16bit_abs_reloc): Likewise. - (is_none_reloc): Add EM_ALTERA_NIOS2 and EM_NIOS32 cases. - * NEWS: Note Altera Nios II support. - * MAINTAINERS: Add Nios II maintainers. - -2013-01-29 Xi Wang - - * readelf.c (process_version_sections): Fix overflow checks to - avoid undefined behaviour. - -2013-01-28 Doug Evans - - * dwarf.c (display_gdb_index): Handle .gdb_index version 8. - -2013-01-28 Robert Schiele - - * objcopy.c (parse_flags): Add merge and strings section flags. - -2013-01-25 Cary Coutant - - * dwarf.c (display_loc_list): Update offset for each line - printed. - (print_addr_index): New function. - (display_loc_list_dwo): Update offset for each line printed. - Fix problems displaying loclists in .dwo files. Add support - for type 4 entries. - (display_debug_loc): Remove custom header for .dwo files. - (display_debug_addr): Adjust formatting. - -2013-01-25 Marco Atzeri - - * objcopy.c : Enable long section names for OPTION_ADD_GNU_DEBUGLINK. - -2013-01-24 Doug Evans - - * dwarf.c (display_debug_addr): Add missing parentheses to expression. - -2013-01-24 Nick Clifton - - * readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH. - -2013-01-23 Andreas Krebbel - - * readelf.c: Add strings for NT_S390_LAST_BREAK and - NT_S390_SYSTEM_CALL. - -2013-01-18 Nick Clifton - - PR binutils/15026 - * addr2line.c (translate_addresses): When pretty printing, print - unknown function names on the same line as unknown symbol names. - -2013-01-17 Nickolai Zeldovich - - * objdump.c (dump_target_specific): Fix NULL pointer test. - -2013-01-16 Alan Modra - - PR binutils/15018 - * stabs.c (parse_stab_members): Always set physname here to avoid - gcc warning.. - (parse_stab_argtypes): ..and don't duplicate the init here. - -2013-01-10 Will Newton - - * binutils/readelf.c: (guess_is_rela): Add EM_METAG. - (dump_relocations): Add EM_METAG. - (get_machine_name): Correct case for Meta. - (is_32bit_abs_reloc): Add support for Meta ADDR32 reloc. - (is_none_reloc): Add support for Meta NONE reloc. - -2013-01-08 Yufeng Zhang - - * readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK - and NT_ARM_HW_WATCH. - -2013-01-07 Roland McGrath - - * objcopy.c (deterministic): Make int rather than bfd_boolean, - initialize to -1. - (strip_options, copy_options): Add -U/--disable-deterministic-archives. - (default_deterministic): New function. - (strip_main, copy_main): Handle -U. Call default_deterministic. - (copy_usage, strip_usage): Describe -U. Cite whether -D or -U is - the default based on DEFAULT_AR_DETERMINISTIC. - * doc/binutils.texi (objcopy, strip): Describe -U and effect of - configure options on -D. - - * ar.c (default_deterministic): Comment fix. - -2013-01-07 Patrice Dumas - - * doc/binutils.texi: Fix ordering of top level nodes. - Replace erroneous uses of @itemx with @item. - -2013-01-04 Andreas Schwab - - * doc/binutils.texi (elfedit): Fix use of @itemx in @table. - -2013-01-03 Marcus Shawcroft - - * MAINTAINERS: Add myself as AArch64 co-maintainer. - -2013-01-02 H.J. Lu - - * version.c (print_version): Update copyright year to 2013. - -For older changes see ChangeLog-2012 +For older changes see ChangeLog-2013 -Copyright (C) 2013 Free Software Foundation, Inc. +Copyright (C) 2014 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright diff --git a/binutils/ChangeLog-2013 b/binutils/ChangeLog-2013 new file mode 100644 index 00000000000..541de444b3f --- /dev/null +++ b/binutils/ChangeLog-2013 @@ -0,0 +1,681 @@ +2013-12-31 Nick Clifton + + * objcopy.c (dump_sections): New list. + (command_line_switch): Add OPTION_DUMP_SECTION. + (copy_options): Add dump-section. + (copy_usage): Document new option. + (copy_object): Dump requested sections. + (copy_main): Handle --dump-section. + * doc/binutils.texi: Document --dump-section option. + * NEWS: Mention new feature. + +2013-12-20 Nick Clifton + + PR binutils/16218 + * dwarf.c (read_and_display_attr_value): Only print a tab + character if it preceeds further text. + +2013-12-19 Tom Tromey + + * dwarf.c (fetch_indirect_string): Don't bias by section address. + (fetch_indexed_string): Likewise. + (process_debug_info): Likewise. + (display_debug_loc): Likewise. + (display_debug_ranges): Likewise. + +2013-12-13 Kuan-Lin Chen + Wei-Cheng Wang + + * readelf.c: Include elf/nds32.h + (guess_is_rela): Add case for EM_NDS32. + (dump_relocations): Add case for EM_NDS32. + (decode_NDS32_machine_flags): New. + (get_machine_flags): Add case for EM_NDS32. + (is_32bit_abs_reloc): Likewise. + (is_16bit_abs_reloc): Likewise. + (process_nds32_specific): New. + (process_arch_specific): Add case for EM_NDS32. + * NEWS: Announce Andes nds32 support. + * MAINTAINERS: Add nds32 maintainers. + +2013-12-10 Roland McGrath + + * Makefile.am (install-exec-local): Prefix libtool invocation with + $(INSTALL_PROGRAM_ENV). + * Makefile.in: Regenerate. + +2013-11-22 Cory Fields + + * windres.c (define_resource): Use zero for timestamp, making + output deterministic. time.h include is no longer needed. + * resres.c (res_append_resource): Likewise. + +2013-11-13 Martin Mitas + + * rescoff.c (write_coff_file): Use 64-bit alignment for resource + data. + (coff_res_to_bin): Likewise. + +2013-11-07 Doug Evans + + Add pretty-printing of .debug_gnu_pubnames, .debug_gnu_pubtypes. + * dwarf.c (get_gdb_index_symbol_kind_name): New function. + (display_debug_pubnames_worker): Renamed from display_debug_pubnames. + Add support for .debug_gnu_pubnames, .debug_gnu_pubtypes. + (display_debug_pubnames, display_debug_pubnames_gnu): New functions. + (display_gdb_index): Redo printing of symbol kind. + (debug_displays): Add .debug_gnu_pubnames, .debug_gnu_pubtypes. + * dwarf.h (dwarf_section_display_enum): Add gnu_pubnames, gnu_pubtypes. + * readelf.c (process_section_headers): Add gnu_pubnames, gnu_pubtypes. + +2013-11-07 Roland McGrath + + * objdump.c (dump_dwarf): Grok bfd_mach_x86_64_nacl and + bfd_mach_x64_32_nacl as equivalent to bfd_mach_x86_64. + +2013-10-30 Alan Modra + + * readelf.c (get_ppc_dynamic_type): Replace PPC_TLSOPT with PPC_OPT. + (get_ppc64_dynamic_type): Replace PPC64_TLSOPT with PPC64_OPT. + +2013-10-30 Ulrich Weigand + + * readelf.c (get_ppc64_symbol_other): New function. + (get_symbol_other): Use it for EM_PPC64. + +2013-10-30 Alan Modra + + * readelf.c (get_machine_flags): Display ABI version for EM_PPC64. + +2013-10-24 Nick Clifton + + * nm.c (display_rel_file): Treat bfd_error_no_symbols as + non-fatal. + +2013-10-14 Chao-ying Fu + + * readelf.c (display_mips_gnu_attribute): Support Tag_GNU_MIPS_ABI_MSA. + * doc/binutils.texi: Document -Mmsa disassembler option. + +2013-10-14 Jan-Benedict Glaw + + * readelf.c (decode_arm_unwind): Don't initialize `addr'. + +2013-10-14 Nick Clifton + + * readelf.c (decode_arm_unwind): Initialise addr structure. + (process_symbol_table): Free lengths. + * srcconv.c (wr_sc): Free info. + +2013-10-11 Roland McGrath + + * winduni.c (languages): Use \345 (octal syntax) rather than + literal non-ASCII/non-UTF8 character in string literal. + + * readelf.c (print_dynamic_symbol): Use array subscript syntax + rather than addition syntax with string literal. + +2013-10-09 Nick Clifton + + PR binutils/16023 + * debug.c (debug_type_samep): Add missing break statement. + + PR binutils/16024 + * objdump.c (usage): Mark as a no-return function. + (main): Add comment explaining why a break statement is not + needed. + + * dwarf.c (add64): New function. + (read_and_display_attr_value): Add CU offset in to the value + displayed for a DW_AT_ref8 attribute. + +2013-10-01 Cory Fields + + * arsup.c (ar_save): Respect the deterministic setting when + reading from an mri script. + * ar.c (main): Set the default deterministic mode when reading + from an mri script. + +2013-10-01 Jan-Benedict Glaw + + * dwarf.c (SAFE_BYTE_GET): Fix argument check. + +2013-09-27 H.J. Lu + + * dwarf.c (display_debug_frames): Pass offset_size to + print_dwarf_vma for cie_id. + +2013-09-20 Alan Modra + + * configure: Regenerate. + +2013-09-18 Tristan Gingold + + * NEWS: Add marker for 2.24. + +2013-09-18 Tristan Gingold + + * Makefile.am (LEXLIB): Define. Replase references to @LEXLIB@ + by $(LEXLIB). + * Makefile.in: Regenerate. + +2013-09-17 Doug Gilmore + + * readelf.c (get_machine_flags): Handle EF_MIPS_FP64. + +2013-09-12 Nick Clifton + + * dwarf.c (dwarf_vmatoa): Rename to dwarf_vmatoa_1 and add a + precision parameter. + (dwarf_vmatoa): New wrapper for dwarf_vmatoa_1. + (print_dwarf_vma): Use dwarf_vmatoa_1. + (SAFE_BYTE_GET): Add check that VAL is big enough to contain + AMOUNT bytes. + (process_debug_info): Use an unsigned int for the offset size. + (process_debug_pubnames): Likewise. + (display_debug_aranges): Likewise. + (struct Frame_Chunk): Use dwarf_vma type for pc_begin and pc_range + fields. + (frame_display_row): Use print_dwarf_vma to display dwarf_vma + values. + (display_debug_frames): Likewise. + +2013-09-10 Nick Clifton + + * dwarf.c (display_debug_frames): Check for DW64_CIE_ID when + parsing 64-bit frames. + +2013-08-27 Nick Clifton + + PR binutils/15796 + * ar.c (map_over_members): Correctly handle multiple same-name + entries on the command line and in the archive. + +2013-08-23 H.J. Lu + + * doc/binutils.texi: Remove the extra space. + +2013-08-23 Mikael Pettersson + + PR binutils/15779 + * doc/binutils.texi (ranlib -D): Correct description. + PR binutils/15777 + (nm --special-syms): Fix typo. + +2013-08-23 Nick Clifton + + PR binutils/15798 + * doc/binutils.texi (ar cmdline): Update description of 'q' + command. + + PR binutils/14136 + (nm): Add description of 'I' symbol type. + +2013-08-23 Yuri Chornoivan + + PR binutils/15834 + * od-xcoff.c: Fix typos. + +2013-08-19 Tristan Gingold + + * nm.c (print_size_symbols): Directly get symbol size. + +2013-08-12 Andreas Schwab + + PR binutils/15818 + * objdump.c (disassemble_section): Return early if nothing from + this section needs to be disassembled. + +2013-08-09 Nick Clifton + + * readelf.c (get_machine_flags): Handle RL78 G10 flag. + +2013-07-26 Sergey Guriev + Alexander Ivchenko + Maxim Kuznetsov + Sergey Lega + Anna Tikhonova + Ilya Tocar + Andrey Turetskiy + Ilya Verbin + Kirill Yukhin + Michael Zolotukhin + + * dwarf.c (dwarf_regnames_i386): Add k0-k7 registers and + numeration in comments. + (dwarf_regnames_x86_64): Add xmm16-31 and k0-k7 registers to + dwarf table. + +2013-07-19 Nick Clifton + + PR binutils/15745 + * readelf.c (get_unwind_section_word): Whilst searching for a + reloc section associated with an unwind section, check the type as + well as the section number. + +2013-07-18 Jim Thomas + + * ar.c (usage): Fix C conformance issue. + +2013-07-18 Nick Clifton + + * doc/binutils.texi (nm, objdump): Remove bogus links to STABS + documentation. + + * readelf.c (process_unwind): Do not return the result of a void + function. + +2013-07-15 Maciej W. Rozycki + + * readelf.c (display_mips_gnu_attribute): Replace hardcoded magic + numbers with enum values. + +2013-07-12 Maciej W. Rozycki + + * readelf.c (get_machine_flags): Handle EF_MIPS_NAN2008. + +2013-07-10 Tristan Gingold + + * od-xcoff.c (OPT_LDINFO): Define. + (options): Add ldinfo. + (xcoff_help): Mention ldinfo. + (xcoff_dump): Rename to ... + (xcoff_dump_obj): ... this. Add a break. + (dump_dumpx_core): New function. + (xcoff_dump_core): Likewise. + (xcoff_dump): Likewise. + * doc/binutils.texi (objdump): Mention ldinfo. + +2013-07-09 Tristan Gingold + + * configure.com: Add new defines to match changes in configure. + +2013-05-28 Cary Coutant + + * dwarf.c (display_debug_lines_raw): Print section offsets. + +2013-05-15 Cary Coutant + + * dwarf.c (SAFE_BYTE_GET64): Correct end-of-buffer check; + don't increment PTR. + (decode_location_expression): DW_OP_const2u should read 2 bytes. + (display_debug_lines_decoded): Adjust formatting. + * elfcomm.c (byte_get_little_endian): Add cases for 5-, 6-, and + 7-byte reads. + (byte_get_big_endian): Likewise. + (byte_get_signed): Likewise. + +2013-05-09 Andrew Pinski + + * doc/binutils.texi: Document -Mvirt disassembler option. + +2013-05-02 Nick Clifton + + * readelf.c: Add support for MSP430X architecture. + +2013-05-02 Nick Clifton + + * dwarf.c (display_debug_lines_raw): Do not treat .debug_line.dwo + sections as if they were fragmentary .debug_line sections. + (display_debug_lines_decoded): Likewise. + +2013-04-29 Nick Clifton + + * dwarf.c (read_debug_line_header): New function. Reads in a + header in a .debug_line section. + (display_debug_lines_raw): Use new function. Handle fragmentary + .debug_line sections. + (display_debug_lines_decoded): Likewise. + * readelf.c (process_section_headers): Handle fragmenatry + .debug_line sections. + (display_debug_section): Likewise. + +2013-04-26 Ian Lance Taylor + + * MAINTAINERS: Add myself and Cary as gold maintainers. + +2013-04-08 Tom Tromey + + * dwarf.c (process_debug_info): Check dwarf_cutoff_level. + +2013-04-08 Tom Tromey + + * dwarf-mode.el: Bump version number. + (dwarf-mode): Remove autoload. + (dwarf-die-reference): Relax regexp. + +2013-04-05 Alan Modra + + PR binutils/15324 + * configure.in: Add strnlen to AC_CHECK_DECLS, sort. + * dwarf.c (strnlen): Provide fallback decl. + * config.in: Regnerate. + * configure: Regenerate. + +2013-03-29 H.J. Lu + + * dwarf.c (process_debug_info): Increment hdrptr by 8 after + SAFE_BYTE_GET64. + +2013-03-27 Phil Krylov + + PR binutils/13409 + * winduni.c (codepages[]): Use UTF-16LE. + (wind_MultiByteToWideChar): Likewise. + (wind_WideCharToMultiByte): Likewise. + +2013-03-27 Alan Modra + + PR binutils/15206 + * dwarf.c (read_and_display_attr_value): Cast format '*' arg to int. + +2013-03-26 Nick Clifton + + PR binutils/15206 + * dwarf.c (SAFE_BYTE_GET): New macro - checks remaining buffer + space before calling byte_get. + (SAFE_BYTE_GET_AND_INC): New macro. + (SAFE_SIGNED_BYTE_GET): New macro. + (SAFE_SIGNED_BYTE_GET_AND_INC): New macro. + (SAFE_BYTE_GET64): New macro. + (process_extened_line_op): Use new macros. Use strnlen when + appropriate. + (fetch_indirect_string): Likewise. + (get_FORM_name): 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. + (display_debug_pubnames): Likewise. + (display_debug_macinfo): Likewise. + (get_line_filename_and_dirname): Likewise. + (display_debug_macro): Likewise. + (display_loc_list): Likewise. + (display_loc_list_dwo): Likewise. + (display_debug_aranges): Likewise. + (display_debug_ranges): Likewise. + (frame_display_row): Likewise. + (display_debug_frames): Likewise. + +2013-03-25 Nick Clifton + + PR binutils/15202 + * dwarf.c (read_leb128): Add END parameter. Do not read at or + beyond end. + (read_sleb128): Add END parameter. + (read_uleb128): New function. + (process_extended_line_op): Pass END to leb128 functions. + (process_abbrev_section): Likewise. + (decode_location_expression): Likewise. + (read_and_display_attr_value): Likewise. + (read_and_display_attr): Likewise. + (process_debug_info): Likewise. + (display_debug_lines_raw): Likewise. + (display_debug_lines_decoded): Likewise. + (display_debug_macinfo): Likewise. + (get_line_filename_and_dirname): Likewise. + (display_debug_macro): Likewise. + (display_loc_list_dwo): Likewise. + (display_debug_ranges): Likewise. + * dwarf.h (read_leb128): Update prototype. + * readelf.c (read_uleb128): Add END parameter. + (decode_arm_unwind_bytecode): Pass END to read_uleb128. + (decode_tic6x_unwind_bytecode): Likewise. + (display_tag_value): New function. + (display_arm_attribute): Add END parameter. Pass END to + read_uleb128. Use display_tag_value. + (display_gnu_attribute): Likewise. + (display_power_gnu_attribute): Likewise. + (display_sparc_gnu_attribute): Likewise. + (display_mips_gnu_attribute): Likewise. + (display_tic6x_attribute): Likewise. + (process_attributes): Likewise. + (display_raw_attribute): New function. + +2013-03-22 Nick Clifton + + PR binutils/15201 + * dwarf.c (display_debug_ranges): Add checks for reading beyond + the end of the section. + + PR binutils/15157 + * readelf.c (apply_relocations): Catch relocations with negative + offsets. + +2013-03-15 Nick Clifton + + * addr2line.c (slurp_symtab): If canonicalization reveals that + there were no ordinary symbols, try loading the dynamic symbols + instead. + +2013-03-14 Markos Chandras + + * MAINTAINERS: Add myself as Meta maintainer. + +2013-03-08 Andreas Arnez + + * readelf.c (get_note_type): Add NT_S390_TDB. + +2013-03-07 Alan Modra + + * strings.c (get_char): Dispense with buf[]. Instead shift + chars into big-endian value and byte-swap later if + little-endian. Don't EOF check value read from object. + +2013-03-05 Corinna Vinschen + + * configure.in: Build DLL tools on x86_64-*-cygwin* as well. + * configure: Regenerate. + +2013-03-04 Nick Clifton + + * elfcomm.c (error): Flush stdout before emitting the error + message. + (warn): Likewise. + +2013-03-01 Cary Coutant + + * dwarf.c (cu_tu_indexes_read, shndx_pool, shndx_pool_size) + (shndx_pool_used): Move to top of file. + (struct cu_tu_set): New type. + (cu_count, tu_count, cu_sets, tu_sets): New file scope variables. + (fetch_indexed_string): Add "this_set" parameter. Update all callers. + (find_cu_tu_set_v2): New function. + (read_and_display_attr_value): Add "this_set" parameter. + (read_and_display_attr): Likewise. + (process_debug_info): Track base offsets for DWARF package files. + (load_debug_info): Call load_cu_tu_indexes. + (get_DW_SECT_short_name): New function. + (process_cu_tu_index): Add support for version 2 DWARF package files. + +2013-02-27 Alan Modra + + PR binutils/15191 + * readelf.c (offsetof): Define. + (CHECK_ENTSIZE_VALUES): Remove extraneous indefinite article. + (process_corefile_note_segment): Allow notes without name or + desc. Combine out-of-range checks. Disallow "negative" + notesz or descsz. + +2013-02-26 Nick Clifton + + PR binutils/15191 + * readelf.c (process_corefile_note_segment): Prevent attempts to + read beyond the end of the note buffer. + +2013-02-15 Kai Tietz + + * objcopy.c (copy_main): Initialize context variable. + +2013-02-15 Nick Clifton + + PR binutils/15140 + * ar.c (open_inarch): Fail on attempts to convert a normal archive + to a thin archive or vice versa. + * elfcomm.c (make_qualified_name): Handle corrupted thin + archives. + * readelf.c (process_archive): Likewise. + * doc/binutils.texi: Clarify documentation describing thin + archives. + +2013-02-15 Nick Clifton + + PR binutils/15033 + * objcopy.c (enum change_action): Delete. + (struct section_list): Delete remove, copy, change_vma, change_lma + and set_flags fields. Add context field. + (find_section_list): Add a context parameter. Add support for + wildcard characters in section names. + (is_strip_section): Check for sections being both copied and + removed. + (copy_object): Pass context to find_section_list. + (setup_section): Likewise. + (copy_section): Likewise. + (copy_main): Likewise. + * doc/binutils: Document the new behaviour. + * NEWS: Mention the new feature + +2013-02-14 Nick Clifton + + PR binutils/15125 + * objcopy.c (copy_object): Provide a helpful warning message when + adding a gnu_debuglink section to an object which already contains + one. + +2013-02-07 Nick Clifton + + * elfcomm.c (get_archive_member_name): Prevent seg-fault if a + corrupt archive uses long names but has no long name table. + +2013-02-06 Sandra Loosemore + Andrew Jenner + + Based on patches from Altera Corporation. + + * readelf.c: Include elf/nios2.h. + (dump_relocations): Add case for EM_ALTERA_NIOS2. + (get_nios2_dynamic_type): New. + (get_dynamic_type): Add case for EM_ALTERA_NIOS2. + (is_32bit_abs_reloc): Fix EM_ALTERA_NIOS2 case. + (is_16bit_abs_reloc): Likewise. + (is_none_reloc): Add EM_ALTERA_NIOS2 and EM_NIOS32 cases. + * NEWS: Note Altera Nios II support. + * MAINTAINERS: Add Nios II maintainers. + +2013-01-29 Xi Wang + + * readelf.c (process_version_sections): Fix overflow checks to + avoid undefined behaviour. + +2013-01-28 Doug Evans + + * dwarf.c (display_gdb_index): Handle .gdb_index version 8. + +2013-01-28 Robert Schiele + + * objcopy.c (parse_flags): Add merge and strings section flags. + +2013-01-25 Cary Coutant + + * dwarf.c (display_loc_list): Update offset for each line + printed. + (print_addr_index): New function. + (display_loc_list_dwo): Update offset for each line printed. + Fix problems displaying loclists in .dwo files. Add support + for type 4 entries. + (display_debug_loc): Remove custom header for .dwo files. + (display_debug_addr): Adjust formatting. + +2013-01-25 Marco Atzeri + + * objcopy.c : Enable long section names for OPTION_ADD_GNU_DEBUGLINK. + +2013-01-24 Doug Evans + + * dwarf.c (display_debug_addr): Add missing parentheses to expression. + +2013-01-24 Nick Clifton + + * readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH. + +2013-01-23 Andreas Krebbel + + * readelf.c: Add strings for NT_S390_LAST_BREAK and + NT_S390_SYSTEM_CALL. + +2013-01-18 Nick Clifton + + PR binutils/15026 + * addr2line.c (translate_addresses): When pretty printing, print + unknown function names on the same line as unknown symbol names. + +2013-01-17 Nickolai Zeldovich + + * objdump.c (dump_target_specific): Fix NULL pointer test. + +2013-01-16 Alan Modra + + PR binutils/15018 + * stabs.c (parse_stab_members): Always set physname here to avoid + gcc warning.. + (parse_stab_argtypes): ..and don't duplicate the init here. + +2013-01-10 Will Newton + + * binutils/readelf.c: (guess_is_rela): Add EM_METAG. + (dump_relocations): Add EM_METAG. + (get_machine_name): Correct case for Meta. + (is_32bit_abs_reloc): Add support for Meta ADDR32 reloc. + (is_none_reloc): Add support for Meta NONE reloc. + +2013-01-08 Yufeng Zhang + + * readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK + and NT_ARM_HW_WATCH. + +2013-01-07 Roland McGrath + + * objcopy.c (deterministic): Make int rather than bfd_boolean, + initialize to -1. + (strip_options, copy_options): Add -U/--disable-deterministic-archives. + (default_deterministic): New function. + (strip_main, copy_main): Handle -U. Call default_deterministic. + (copy_usage, strip_usage): Describe -U. Cite whether -D or -U is + the default based on DEFAULT_AR_DETERMINISTIC. + * doc/binutils.texi (objcopy, strip): Describe -U and effect of + configure options on -D. + + * ar.c (default_deterministic): Comment fix. + +2013-01-07 Patrice Dumas + + * doc/binutils.texi: Fix ordering of top level nodes. + Replace erroneous uses of @itemx with @item. + +2013-01-04 Andreas Schwab + + * doc/binutils.texi (elfedit): Fix use of @itemx in @table. + +2013-01-03 Marcus Shawcroft + + * MAINTAINERS: Add myself as AArch64 co-maintainer. + +2013-01-02 H.J. Lu + + * version.c (print_version): Update copyright year to 2013. + +For older changes see ChangeLog-2012 + +Copyright (C) 2013 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/gas/ChangeLog b/gas/ChangeLog index 9fcc6fd883e..93bf64a9468 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -16,2100 +16,9 @@ * config/tc-aarch64.c (aarch64_cpus): Add entry for "xgene-1" -2013-12-20 Tristan Gingold - - * doc/c-arm.texi (ARM Directives): Remove duplicate .pad entry. - -2013-12-18 Yufeng Zhang - - * config/tc-aarch64.c (md_assemble): Defer the feature checking until - do_encode () succeeds. - -2013-12-18 Nick Clifton - - * config/tc-rx.c (rx_include): Rename 'eof' to 'last_char' in - order to avoid conflict with same named variable in MinGW system - header file. - -2013-12-13 Nick Clifton - - * config/tc-msp430.c (mcu_types): Add some more 430X mcu names. - (OPTION_INTR_NOPS): Define. - (gen_interrupt_nops): Default to FALSE. - (md_parse_opton): Add support for OPTION_INTR_NOPS. - (md_longopts): Add -mn. - (md_show_usage): Add -mn. - (msp430_operands): Generate NOPs for all MCUs not just 430Xv2. - * doc/c-msp430.c: Document -mn. - -2013-12-13 Kuan-Lin Chen - Wei-Cheng Wang - Hsiang-Kai Wang - Hui-Wen Ni - - * Makefile.am (TARGET_CPU_CFILES): Add config/tc-nds32.c. - (TARGET_CPU_HFILES): Add config/tc-nds32.h. - * Makefile.in: Regenerate. - * configure.in (nds32): Add nds32 target extension config support. - * configure.tgt : Add case for nds32-*-elf* and nds32-*-linux*. - * configure: Regenerate. - * config/tc-nds32.c: New file for nds32. - * config/tc-nds32.h: New file for nds32. - * doc/Makefile.am (CPU_DOCS): Add c-nds32.texi. - * doc/Makefile.in: Regenerate. - * doc/as.texinfo: Add nds32 options. - * doc/all.texi: Set NDS32. - * doc/c-nds32.texi: New file dor nds32 document. - * NEWS: Announce Andes nds32 support. - -2013-12-10 Roland McGrath - - * Makefile.am (install-exec-bindir): Prefix libtool invocation - with $(INSTALL_PROGRAM_ENV). - (install-exec-tooldir): Likewise. - * Makefile.in: Regenerate. - -2013-12-07 Mike Frysinger - - * config/bfin-aux.h: Remove +x file mode. - * config/tc-epiphany.c: Likewise. - * config/tc-epiphany.h: Likewise. - -2013-12-03 Tristan Gingold - - * config/tc-i386-intel.c (i386_intel_simplify): Avoid arithmetic - overflow on pointers. - -2013-11-19 Yufeng Zhang - - Revert - - 2013-11-19 Nick Clifton - - * config/tc-aarch64.c (parse_sys_reg): Do not issue error messages - for deprecated system registers when parsing pstate fields. - -2013-11-19 Nick Clifton - - * config/tc-aarch64.c (parse_sys_reg): Do not issue error messages - for deprecated system registers when parsing pstate fields. - -2013-11-19 Catherine Moore - - * config/tc-mips.c (mips_fix_pmc_rm7000): Declare. - (options): Add OPTION_FIX_PMC_RM7000 and OPTION_NO_FIX_PMC_RM7000. - (md_longopts): Add mfix-pmc-rm7000 and mno-fix-pmc-rm7000. - (INSN_DMULT): Define. - (INSN_DMULTU): Define. - (insns_between): Detect PMC RM7000 errata. - (md_parse_option): Supprt OPTION_FIX_PMC_RM7000 and - OPTION_NO_FIX_PMC_RM7000. - * doc/as.texinfo: Document new options. - * doc/c-mips.texi: Likewise. - -2013-11-19 Alexey Makhalov - - PR gas/16109 - * app.c (do_scrub_chars): Only insert a newline character if - end-of-file has been reached. - -2013-11-18 H.J. Lu - - * config/tc-i386.c (lex_got): Add a dummy "int bnd_prefix" - argument. - -2013-11-18 Renlin Li - - * config/tc-arm.c (arm_archs): New armv7ve architecture option. - (arm_cpus): Replace ARM_ARCH_V7A_IDIV_MP_SEC_VIRT with - ARM_ARCH_V7VE for cortex-a7, cortex-a12 and cortex-a15. - (cpu_arch_ver): Likewise. - * doc/c-arm.texi: Document armv7ve. - -2013-11-18 Zhenqiang Chen - - * config/tc-aarch64.c (parse_sys_reg): Support - S2____. - -2013-11-18 Yufeng Zhang - - Revert - - 2013-11-15 Yufeng Zhang - - * config/tc-aarch64.c (set_other_error): New function. - (parse_sys_reg): Add new parameter 'sys_reg' and if non-NULL set - the variable to which it points with 'o'. - (parse_operands): Update; check for write to read-only system - registers or read from write-only ones. - -2013-11-17 H.J. Lu - - * config/tc-i386.c (reloc): Add an argument, bnd_prefix, to - indicate if instruction has the BND prefix. Return - BFD_RELOC_X86_64_PC32_BND instead of BFD_RELOC_32_PCREL if - bnd_prefix isn't zero. - (output_branch): Pass BFD_RELOC_X86_64_PC32_BND to frag_var - if needed. - (output_jump): Update reloc call. - (output_interseg_jump): Likewise. - (output_disp): Likewise. - (output_imm): Likewise. - (x86_cons_fix_new): Likewise. - (lex_got): Add an argument, bnd_prefix, to indicate if - instruction has the BND prefix. Use BFD_RELOC_X86_64_PLT32_BND - if needed. - (x86_cons): Update lex_got call. - (i386_immediate): Likewise. - (i386_displacement): Likewise. - (md_apply_fix): Handle BFD_RELOC_X86_64_PC32_BND and - BFD_RELOC_X86_64_PLT32_BND. - (tc_gen_reloc): Likewise. - * config/tc-i386-intel.c (i386_operator): Update lex_got call. - -2013-11-15 Yufeng Zhang - - * config/tc-aarch64.c (set_other_error): New function. - (parse_sys_reg): Add new parameter 'sys_reg' and if non-NULL set - the variable to which it points with 'o'. - (parse_operands): Update; check for write to read-only system - registers or read from write-only ones. - -2013-11-15 Michael Zolotukhin - - * config/tc-i386.c (check_VecOperands): Reorder checks. - -2013-11-11 Catherine Moore - - * config/mips/tc-mips.c (convert_reg_type): Use - INSN_LOAD_MEMORY instead of INSN_LOAD_MEMORY_DELAY. - (reg_needs_delay): Likewise. - (insns_between): Likewise. - -2013-11-08 Jan-Benedict Glaw - - * config/tc-aarch64.c (parse_sys_reg): Update to use aarch64_sys_reg; - call aarch64_sys_reg_deprecated_p and warn about the deprecated - system registers. - -2013-11-05 Yufeng Zhang - - * config/tc-aarch64.c (parse_operands): Handle AARCH64_OPND_COND1. - -2013-11-05 Will Newton - - PR gas/16103 - * config/tc-aarch64.c (parse_operands): Avoid trying to - parse a vector register as an immediate. - -2013-11-04 Jan Beulich - - * config/tc-i386.c (check_long_reg): Correct comment indentation. - (check_qword_reg): Correct comment and its indentation. - (check_word_reg): Extend comment and correct its indentation. Also - check for 64-bit register. - -2013-10-30 Ulrich Weigand - - * config/tc-ppc.c (md_pseudo_table): Add .localentry. - (ppc_elf_localentry): New function. - (ppc_force_relocation): Force relocs on all branches to localenty - symbols. - (ppc_fix_adjustable): Don't reduce such symbols to section+offset. - -2013-10-30 Alan Modra - - * config/tc-ppc.c: Include elf/ppc64.h. - (ppc_abiversion): New variable. - (md_pseudo_table): Add .abiversion. - (ppc_elf_abiversion, ppc_elf_end): New functions. - * config/tc-ppc.h (md_end): Define. - -2013-10-30 Alan Modra - - * config/tc-ppc.c (SEX16): Don't mask. - (REPORT_OVERFLOW_HI): Define as zero. - (ppc_elf_suffix): Support @high, @higha, @dtprel@high, @dtprel@higha, - @tprel@high, and @tprel@higha modifiers. - (md_assemble): Ignore X_unsigned when applying 16-bit insn fields. - Add (disabled) code to check @h and @ha reloc overflow for powerpc64. - Handle new relocs. - (md_apply_fix): Similarly. - -2013-10-18 Chao-ying Fu - - * config/tc-mips.c (fpr_read_mask): Test MSA registers. - (fpr_write_mask): Test MSA registers. - (can_swap_branch_p): Check fpr write followed by fpr read. - -2013-10-18 Nick Clifton - - * config/tc-tic6x.c (tic6x_parse_operand): Revert previous delta. - -2013-10-14 Richard Sandiford - Chao-ying Fu - - * config/tc-mips.c (options): Add OPTION_MSA and OPTION_NO_MSA. - (md_longopts): Add mmsa and mno-msa. - (mips_ases): Add msa. - (RTYPE_MASK): Update. - (RTYPE_MSA): New define. - (OT_REG_ELEMENT): Replace with... - (OT_INTEGER_INDEX, OT_REG_INDEX): ...these new operand types. - (mips_operand_token): Replace reg_element with index. - (mips_parse_argument_token): Treat vector indices as separate tokens. - Handle register indices. - (md_begin): Add MSA register names. - (operand_reg_mask): Handle cases for OP_IMM_INDEX and OP_REG_INDEX. - (convert_reg_type): Handle cases for OP_REG_MSA and OP_REG_MSA_CTRL. - (match_mdmx_imm_reg_operand): Update accordingly. - (match_imm_index_operand): New function. - (match_reg_index_operand): New function. - (match_operand): Handle cases for OP_IMM_INDEX and OP_REG_INDEX. - (md_convert_frag): Convert bz.b/h/w/d, bnz.b/h/w/d, bz.v bnz.v. - (md_show_usage): Print -mmsa and -mno-msa. - * doc/as.texinfo: Document -mmsa and -mno-msa. - * doc/c-mips.texi: Document -mmsa and -mno-msa. - Document .set msa and .set nomsa. - -2013-10-14 Nick Clifton - - * read.c (add_include_dir): Use xrealloc. - * config/tc-score.c (do_macro_bcmp): Initialise inst_main. - * config/tc-tic6x.c (tic6x_parse_operand): Initialise second_reg. - -2013-10-13 Sandra Loosemore - - * config/tc-nios2.c (nios2_consume_arg): Make the "ba" warning - also test/refer to "sstatus". Reformat the warning message. - -2013-10-10 Sean Keys - - * tc-xgate.c (xgate_find_match): Refactor opcode matching. - -2013-10-10 Jan Beulich - - * tc-i386-intel.c (i386_intel_simplify_register): Suppress base/index - swapping for bndmk, bndldx, and bndstx. - -2013-10-09 Nick Clifton - - PR gas/16025 - * config/tc-epiphany.c (md_convert_frag): Add missing break - statement. - - PR gas/16026 - * config/tc-mn10200.c (md_convert_frag): Add missing break - statement. - -2013-10-08 Jan Beulich - - * tc-i386.c (check_word_reg): Remove misplaced "else". - (check_long_reg): Restore symmetry with check_word_reg. - -2013-10-08 Jan Beulich - - * gas/config/tc-arm.c (do_t_push_pop): Honor inst.size_req. Simplify - LR/PC check. - -2013-10-08 Nick Clifton - - * config/tc-msp430.c (msp430_operands): Accept ".a" as an alias - for "a". Issue error messages for unrecognised or corrrupt - size extensions. - -2013-10-04 Kyrylo Tkachov - - * config/tc-arm.c (do_t_mvn_tst): Use narrow form for tst when - possible. - -2013-09-30 Saravanan Ekanathan - - * config/tc-i386.c (cpu_arch): Add CPU_BDVER4_FLAGS. - * doc/c-i386.texi: Add -march=bdver4 option. - -2013-09-20 Alan Modra - - * configure: Regenerate. - -2013-09-18 Tristan Gingold - - * NEWS: Add marker for 2.24. - -2013-09-18 Nick Clifton - - * config/tc-msp430.c (OPTION_MOVE_DATA): Define. - (move_data): New variable. - (md_parse_option): Parse -md. - (msp430_section): New function. Catch references to the .bss or - .data sections and generate a special symbol for use by the libcrt - library. - (md_pseudo_table): Intercept .section directives. - (md_longopt): Add -md - (md_show_usage): Likewise. - (msp430_operands): Generate a warning message if a NOP is inserted - into the instruction stream. - * doc/c-msp430.texi (node MSP430 Options): Document -md option. - -2013-09-17 Doug Gilmore - - * config/tc-mips.c (mips_elf_final_processing): Set - EF_MIPS_FP64 for -mgp32 -mfp64, removing old FIXME. - -2013-09-16 Will Newton - - * config/tc-arm.c (do_neon_ld_st_interleave): Add constraint - disallowing element size 64 with interleave other than 1. - -2013-09-12 Chao-ying Fu - - * config/tc-mips.c (match_insn): Set error when $31 is used for - bltzal* and bgezal*. - -2013-09-04 Tristan Gingold - - * config/tc-ppc.c (md_apply_fix): Handle defined after use toc - symbols. - -2013-09-04 Roland McGrath - - PR gas/15914 - * config/tc-arm.c (T16_32_TAB): Add _udf. - (do_t_udf): New function. - (insns): Add "udf". - -2013-08-23 Sandeep Kumar Singh - - * config/rx-parse.y: Rearrange the components of a bison grammar to issue - assembler errors at correct position. - -2013-08-23 Yuri Chornoivan - - PR binutils/15834 - * config/tc-ia64.c: Fix typos. - * config/tc-sparc.c: Likewise. - * config/tc-z80.c: Likewise. - * doc/c-i386.texi: Likewise. - * doc/c-m32r.texi: Likewise. - -2013-08-23 Will Newton - - * config/tc-arm.c: (do_neon_ldx_stx): Add extra constraints - for pre-indexed addressing modes. - -2013-08-21 Alan Modra - - * symbols.c (fb_label_instance_inc, fb_label_instance): Properly - range check label number for use with fb_low_counter array. - -2013-08-19 Richard Sandiford - - * config/tc-mips.c (mips_check_isa_supports_ase, reg_lookup) - (mips_parse_argument_token, validate_micromips_insn, md_begin) - (check_regno, match_float_constant, check_completed_insn, append_insn) - (match_insn, match_mips16_insn, match_insns, macro_start) - (macro_build_ldst_constoffset, load_register, macro, mips_ip) - (mips16_ip, mips_set_option_string, md_parse_option) - (mips_after_parse_args, mips_after_parse_args, md_pcrel_from) - (md_apply_fix, s_align, s_option, s_mipsset, s_tls_rel_directive) - (s_gpword, s_gpdword, s_ehword, s_nan, tc_gen_reloc, md_convert_frag) - (s_mips_end, s_mips_ent, s_mips_frame, s_mips_mask, mips_parse_cpu): - Start error messages with a lower-case letter. Do not end error - messages with a period. Wrap long messages to 80 character-lines. - Use "cannot" instead of "can't" and "can not". - -2013-08-19 Richard Sandiford - - * config/tc-mips.c (imm_expr): Expand comment. - (set_at, macro, mips16_macro): Expect imm_expr to be O_constant - when populated. - -2013-08-19 Richard Sandiford - - * config/tc-mips.c (imm2_expr): Delete. - (md_assemble, match_insn, imm2_expr.X_op, mips_ip): Update accordingly. - -2013-08-19 Richard Sandiford - - * config/tc-mips.c (report_bad_range, report_bad_field): Delete. - (macro): Remove M_DEXT and M_DINS handling. - -2013-08-19 Richard Sandiford - - * config/tc-mips.c (mips_arg_info): Replace allow_nonconst and - lax_max with lax_match. - (match_int_operand): Update accordingly. Don't report an error - for !lax_match-only cases. - (match_insn): Replace more_alts with lax_match and use it to - initialize the mips_arg_info field. Add a complete_p parameter. - Handle implicit VU0 suffixes here. - (match_invalid_for_isa, match_insns, match_mips16_insns): New - functions. - (mips_ip, mips16_ip): Use them. - -2013-08-19 Richard Sandiford - - * config/tc-mips.c (match_expression): Report uses of registers here. - Add a "must be an immediate expression" error. Handle elided offsets - here rather than... - (match_int_operand): ...here. - -2013-08-19 Richard Sandiford - - * config/tc-mips.c (mips_arg_info): Remove soft_match. - (match_out_of_range, match_not_constant): New functions. - (match_const_int): Remove fallback parameter and check for soft_match. - Use match_not_constant. - (match_mapped_int_operand, match_addiusp_operand) - (match_perf_reg_operand, match_save_restore_list_operand) - (match_mdmx_imm_reg_operand): Update accordingly. Use - match_out_of_range and set_insn_error* instead of as_bad. - (match_int_operand): Likewise. Use match_not_constant in the - !allows_nonconst case. - (match_float_constant): Report invalid float constants. - (match_insn, match_mips16_insn): Remove soft_match code. Rely on - match_float_constant to check for invalid constants. Fail the - match if match_const_int or match_float_constant return false. - (mips_ip): Update accordingly. - (mips16_ip): Likewise. Undo null termination of instruction name - once lookup is complete. - -2013-08-19 Richard Sandiford - - * config/tc-mips.c (mips_insn_error_format): New enum. - (mips_insn_error): New struct. - (insn_error): Change to a mips_insn_error. - (clear_insn_error, set_insn_error_format, set_insn_error) - (set_insn_error_i, set_insn_error_ss, report_insn_error): New - functions. - (mips_parse_argument_token, md_assemble, match_insn) - (match_mips16_insn): Use them instead of manipulating insn_error - directly. - (mips_ip, mips16_ip): Likewise. Simplify control flow. - -2013-08-19 Richard Sandiford - - * config/tc-mips.c (normalize_constant_expr): Move further up file. - (normalize_address_expr): Likewise. - (match_insn, match_mips16_insn): New functions, split out from... - (mips_ip, mips16_ip): ...here. - -2013-08-19 Richard Sandiford - - * config/tc-mips.c (operand_reg_mask, match_operand): Handle - OP_OPTIONAL_REG. - (mips_ip, mips16_ip): Use mips_optional_operand_p to check - for optional operands. - -2013-08-16 Alan Modra - - * config/tc-ppc.c (ppc_elf_cons): Allow @l and other reloc - modifiers generally. - -2013-08-16 Alan Modra - - * config/tc-ppc.c (ppc_elf_lcomm): Use subsection 1. - -2013-08-14 David Edelsohn - - * config/tc-ppc.c (ppc_comm): Accept optional fourth .lcomm - argument as alignment. - -2013-08-09 Nick Clifton - - * config/tc-rl78.c (elf_flags): New variable. - (enum options): Add OPTION_G10. - (md_longopts): Add mg10. - (md_parse_option): Parse -mg10. - (rl78_elf_final_processing): New function. - * config/tc-rl78.c (tc_final_processing): Define. - * doc/c-rl78.texi: Document -mg10 option. - -2013-08-06 Jürgen Urban - - * config/tc-mips.c (match_vu0_suffix_operand): Allow single-channel - suffixes to be elided too. - (mips_lookup_insn): Don't reject INSN2_VU0_CHANNEL_SUFFIX here. - (mips_ip): Assume .xyzw if no VU0 suffix is specified. Allow +N - to be omitted too. - -2013-08-05 John Tytgat - - * po/POTFILES.in: Regenerate. - -2013-08-05 Eric Botcazou - Konrad Eisele - - * config/tc-sparc.c (sparc_arch_types): Add leon. - (sparc_arch): Move sparc4 around and add leon. - (sparc_target_format): Document -Aleon. - * doc/c-sparc.texi: Likewise. - -2013-08-05 Richard Sandiford - - * config/tc-mips.c (mips_lookup_insn): Make length and opend signed. - -2013-08-04 Jürgen Urban - Richard Sandiford - - * config/tc-mips.c (MAX_OPERANDS): Bump to 6. - (RWARN): Bump to 0x8000000. - (RTYPE_VI, RTYPE_VF, RTYPE_R5900_I, RTYPE_R5900_Q, RTYPE_R5900_R) - (RTYPE_R5900_ACC): New register types. - (RTYPE_MASK): Include them. - (R5900_I_NAMES, R5900_Q_NAMES, R5900_R_NAMES, R5900_ACC_NAMES): New - macros. - (reg_names): Include them. - (mips_parse_register_1): New function, split out from... - (mips_parse_register): ...here. Add a channels_ptr parameter. - Look for VU0 channel suffixes when nonnull. - (reg_lookup): Update the call to mips_parse_register. - (mips_parse_vu0_channels): New function. - (OT_CHANNELS, OT_DOUBLE_CHAR): New mips_operand_token_types. - (mips_operand_token): Add a "channels" field to the union. - Extend the comment above "ch" to OT_DOUBLE_CHAR. - (mips_parse_base_start): Match -- and ++. Handle channel suffixes. - (mips_parse_argument_token): Handle channel suffixes here too. - (validate_mips_insn): Handle INSN2_VU0_CHANNEL_SUFFIX. - Ignore OP_VU0_MATCH_SUFFIX when calculating the used bits. - Handle '#' formats. - (md_begin): Register $vfN and $vfI registers. - (operand_reg_mask): Handle OP_VU0_SUFFIX and OP_VU0_MATCH_SUFFIX. - (convert_reg_type): Handle OP_REG_VI, OP_REG_VF, OP_REG_R5900_I, - OP_REG_R5900_Q, OP_REG_R5900_R and OP_REG_R5900_ACC. - (match_vu0_suffix_operand): New function. - (match_operand): Handle OP_VU0_SUFFIX and OP_VU0_MATCH_SUFFIX. - (macro): Use "+7" rather than "E" for LDQ2 and STQ2. - (mips_lookup_insn): New function. - (mips_ip): Use it. Allow "+K" operands to be elided at the end - of an instruction. Handle '#' sequences. - -2013-08-03 Richard Sandiford - - * config/tc-mips.c (macro, mips16_macro): Create an array of operand - values and use it instead of sreg, treg, xreg, etc. - -2013-08-03 Richard Sandiford - - * config/tc-mips.c (match_int_operand): Use mips_int_operand_min - and mips_int_operand_max. - (mips16_immed_operand, mips16_immed_operands, MIPS16_NUM_IMMED): - Delete. - (mips16_immed_operand, mips16_immed_in_range_p): New functions. - (mips16_immed, mips16_extended_frag): Use them. Use mips_int_operand - instead of mips16_immed_operand. - -2013-08-03 Richard Sandiford - - * config/tc-mips.c (mips16_macro): Don't use move_register. - (mips16_ip): Allow macros to use 'p'. - -2013-08-01 Richard Sandiford - - * config/tc-mips.c (MAX_OPERANDS): New macro. - (mips_operand_array): New structure. - (mips_operands, mips16_operands, micromips_operands): New arrays. - (micromips_to_32_reg_b_map, micromips_to_32_reg_c_map) - (micromips_to_32_reg_e_map, micromips_to_32_reg_f_map) - (micromips_to_32_reg_g_map, micromips_to_32_reg_l_map) - (micromips_to_32_reg_q_map): Delete. - (insn_operands, insn_opno, insn_extract_operand): New functions. - (validate_mips_insn): Take a mips_operand_array as argument and - use it to build up a list of operands. Extend to handle INSN_MACRO - and MIPS16. - (validate_mips16_insn): New function. - (validate_micromips_insn): Take a mips_operand_array as argument. - Handle INSN_MACRO. - (md_begin): Initialize mips_operands, mips16_operands and - micromips_operands. Call validate_mips_insn and - validate_micromips_insn for macro instructions too. - Call validate_mips16_insn for MIPS16 instructions. - (insn_read_mask, insn_write_mask, operand_reg_mask, insn_reg_mask): - New functions. - (gpr_read_mask, gpr_write_mask, fpr_read_mask, fpr_write_mask): Use - them. Handle INSN_UDI. - (get_append_method): Use gpr_read_mask. - -2013-08-01 Richard Sandiford - - * config/tc-mips.c (compact_branch_p, uncond_branch_p): Use the same - flags for MIPS16 and non-MIPS16 instructions. - (gpr_mod_mask): Move the INSN2_MOD_SP case outside the micromips block. - (gpr_read_mask): Use INSN2_READ_GPR_31 for MIPS16 instructions too. - (gpr_write_mask): Remove MIPS16_INSN_WRITE_SP handling. - (can_swap_branch_p, get_append_method): Use the same flags for MIPS16 - and non-MIPS16 instructions. Fix formatting. - -2013-08-01 Richard Sandiford - - * config/tc-mips.c (reg_needs_delay): Move later in file. - Use gpr_write_mask. - (insns_between): Use gpr_read_mask instead of EXTRACT_OPERAND. - -2013-07-26 Sergey Guriev - Alexander Ivchenko - Maxim Kuznetsov - Sergey Lega - Anna Tikhonova - Ilya Tocar - Andrey Turetskiy - Ilya Verbin - Kirill Yukhin - Michael Zolotukhin - - * config/tc-i386-intel.c (O_zmmword_ptr): New. - (i386_types): Add zmmword. - (i386_intel_simplify_register): Allow regzmm. - (i386_intel_simplify): Handle zmmwords. - (i386_intel_operand): Handle RC/SAE, vector operations and - zmmwords. - * config/tc-i386.c (ZMMWORD_MNEM_SUFFIX): New. - (struct RC_Operation): New. - (struct Mask_Operation): New. - (struct Broadcast_Operation): New. - (vex_prefix): Size of bytes increased to 4 to support EVEX - encoding. - (enum i386_error): Add new error codes: unsupported_broadcast, - broadcast_not_on_src_operand, broadcast_needed, - unsupported_masking, mask_not_on_destination, no_default_mask, - unsupported_rc_sae, rc_sae_operand_not_last_imm, - invalid_register_operand, try_vector_disp8. - (struct _i386_insn): Add new fields vrex, need_vrex, mask, - rounding, broadcast, memshift. - (struct RC_name): New. - (RC_NamesTable): New. - (evexlig): New. - (evexwig): New. - (extra_symbol_chars): Add '{'. - (cpu_arch): Add AVX512F, AVX512CD, AVX512ER and AVX512PF. - (i386_operand_type): Add regzmm, regmask and vec_disp8. - (match_mem_size): Handle zmmwords. - (operand_type_match): Handle zmm-registers. - (mode_from_disp_size): Handle vec_disp8. - (fits_in_vec_disp8): New. - (md_begin): Handle {} properly. - (type_names): Add "rZMM", "Mask reg" and "Vector d8". - (build_vex_prefix): Handle vrex. - (build_evex_prefix): New. - (process_immext): Adjust to properly handle EVEX. - (md_assemble): Add EVEX encoding support. - (swap_2_operands): Correctly handle operands with masking, - broadcasting or RC/SAE. - (check_VecOperands): Support EVEX features. - (VEX_check_operands): Properly handle 16 upper [xyz]mm registers. - (match_template): Support regzmm and handle new error codes. - (process_suffix): Handle zmmwords and zmm-registers. - (check_byte_reg): Extend to zmm-registers. - (process_operands): Extend to zmm-registers. - (build_modrm_byte): Handle EVEX. - (output_insn): Adjust to properly handle EVEX case. - (disp_size): Handle vec_disp8. - (output_disp): Support compressed disp8*N evex feature. - (output_imm): Handle RC/SAE immediates properly. - (check_VecOperations): New. - (i386_immediate): Handle EVEX features. - (i386_index_check): Handle zmmwords and zmm-registers. - (RC_SAE_immediate): New. - (i386_att_operand): Handle EVEX features. - (parse_real_register): Add a check for ZMM/Mask registers. - (OPTION_MEVEXLIG): New. - (OPTION_MEVEXWIG): New. - (md_longopts): Add mevexlig and mevexwig. - (md_parse_option): Handle mevexlig and mevexwig options. - (md_show_usage): Add description for mevexlig and mevexwig. - * doc/c-i386.texi: Document avx512f/.avx512f, avx512cd/.avx512cd, - avx512er/.avx512er, avx512pf/.avx512pf, mevexlig and mevexwig. - -2013-07-25 Michael Zolotukhin - - * config/tc-i386.c (cpu_arch): Add .sha. - * doc/c-i386.texi: Document sha/.sha. - -2013-07-24 Anna Tikhonova - Kirill Yukhin - Michael Zolotukhin - - * config/tc-i386.c (BND_PREFIX): New. - (struct _i386_insn): Add new field bnd_prefix. - (add_bnd_prefix): New. - (cpu_arch): Add MPX. - (i386_operand_type): Add regbnd. - (md_assemble): Handle BND prefixes. - (parse_insn): Likewise. - (output_branch): Likewise. - (output_jump): Likewise. - (build_modrm_byte): Handle regbnd. - (OPTION_MADD_BND_PREFIX): New. - (md_longopts): Add entry for 'madd-bnd-prefix'. - (md_parse_option): Handle madd-bnd-prefix option. - (md_show_usage): Add description for madd-bnd-prefix - option. - * doc/c-i386.texi: Document mpx/.mpx and -madd-bnd-prefix. - -2013-07-24 Tristan Gingold - - * config/tc-ppc.c (md_apply_fix): Adjust BFD_RELOC_PPC_B16 on - xcoff targets. - -2013-07-24 Andreas Krebbel - - * config/tc-s390.c (s390_machine): Don't force the .machine - argument to lower case. - -2013-07-22 Kyrylo Tkachov - - * config/tc-arm.c (s_arm_arch_extension): Improve error message - for invalid extension. - -2013-07-19 Yufeng Zhang - - * config/tc-aarch64.c (enum aarch64_abi_type): New enumeration tag. - (AARCH64_ABI_LP64, AARCH64_ABI_ILP32): New enumerators. - (aarch64_abi): New variable. - (ilp32_p): Change to be a macro. - (aarch64_opts): Remove the support for option -milp32 and -mlp64. - (struct aarch64_option_abi_value_table): New struct. - (aarch64_abis): New table. - (aarch64_parse_abi): New function. - (aarch64_long_opts): Add entry for -mabi=. - * doc/as.texinfo (Target AArch64 options): Document -mabi. - * doc/c-aarch64.texi: Likewise. - -2013-07-18 Jim Thomas - - * config/tc-i386-intel.c (i386_intel_operand): Fixed signed vs - unsigned comparison. - -2013-07-18 Sandeep Kumar Singh - - * config/rx-defs.h: Add macros for RX100, RX200, RX600, and - RX610. - * config/rx-parse.y: (rx_check_float_support): Add function to - check floating point operation support for target RX100 and - RX200. - * config/tc-rx.c: Add CPU options RX100, RX200, RX600, and RX610. - * doc/c-rx.texi: Add -mcpu option to recognize macros for RX100, - RX200, RX600, and RX610 - -2013-07-18 Senthil Kumar Selvaraj - - * config/tc-avr.c (md_show_usage): Add avrxmega2 to help text - -2013-07-18 Vishnu K.S - - * config/tc-avr.c: Make ata6289's ISA to AVR_ISA_AVR4. - * doc/c-avr.texi: Likewise. - -2013-07-15 Richard Sandiford - - * config/tc-mips.c (match_save_restore_list_operand): Avoid -Wformat - error with older GCCs. - (mips16_macro_build): Dereference args. - -2013-07-14 Richard Sandiford - - * config/tc-mips.c (mips_prefer_vec_regno, mips_parse_register): - New functions, split out from... - (reg_lookup): ...here. Remove itbl support. - (reglist_lookup): Delete. - (mips_operand_token_type): New enum. - (mips_operand_token): New structure. - (mips_operand_tokens): New variable. - (mips_add_token, mips_parse_base_start, mips_parse_argument_token) - (mips_parse_arguments): New functions. - (md_begin): Initialize mips_operand_tokens. - (mips_arg_info): Add a token field. Remove optional_reg field. - (match_char, match_expression): New functions. - (match_const_int): Use match_expression. Remove "s" argument - and return a boolean result. Remove O_register handling. - (match_regno, match_reg, match_reg_range): New functions. - (match_int_operand, match_mapped_int_operand, match_msb_operand) - (match_reg_operand, match_reg_pair_operand, match_perf_reg_operand) - (match_addiusp_operand, match_clo_clz_dest_operand) - (match_lwm_swm_list_operand, match_entry_exit_operand) - (match_save_restore_list_operand, match_mdmx_imm_reg_operand) - (match_tied_reg_operand): Remove "s" argument and return a boolean - result. Match tokens rather than text. Update calls to - match_const_int. Rely on match_regno to call check_regno. - (match_pcrel_operand, match_pc_operand): Replace "s" argument with - "arg" argument. Return a boolean result. - (parse_float_constant): Replace with... - (match_float_constant): ...this new function. - (match_operand): Remove "s" argument and return a boolean result. - Update calls to subfunctions. - (mips_ip, mips16_ip): Call mips_parse_arguments. Use match routines - rather than string-parsing routines. Update handling of optional - registers for token scheme. - -2013-07-14 Richard Sandiford - - * config/tc-mips.c (parse_float_constant): Split out from... - (mips_ip): ...here. - -2013-07-14 Richard Sandiford - - * config/tc-mips.c (INSERT_BITS, INSERT_OPERAND, MIPS16_INSERT_OPERAND): - Delete. - -2013-07-14 Richard Sandiford - - * config/tc-mips.c (mips32_to_16_reg_map): Delete. - (match_entry_exit_operand): New function. - (match_save_restore_list_operand): Likewise. - (match_operand): Use them. - (check_absolute_expr): Delete. - (mips16_ip): Rewrite main parsing loop to use mips_operands. - -2013-07-14 Richard Sandiford - - * config/tc-mips.c: Enable functions commented out in previous patch. - (SKIP_SPACE_TABS): Move further up file. - (mips32_to_micromips_reg_b_map, mips32_to_micromips_reg_c_map) - (mips32_to_micromips_reg_d_map, mips32_to_micromips_reg_e_map) - (ips32_to_micromips_reg_f_map, mips32_to_micromips_reg_g_map) - (mips32_to_micromips_reg_l_map, mips32_to_micromips_reg_m_map) - (mips32_to_micromips_reg_q_map, mips32_to_micromips_reg_n_map) - (micromips_imm_b_map, micromips_imm_c_map): Delete. - (mips_lookup_reg_pair): Delete. - (macro): Use report_bad_range and report_bad_field. - (mips_immed, expr_const_in_range): Delete. - (mips_ip): Rewrite main parsing loop to use new functions. - -2013-07-14 Richard Sandiford - - * config/tc-mips.c (mips_oddfpreg_ok): Move further up file. - Change return type to bfd_boolean. - (report_bad_range, report_bad_field): New functions. - (mips_arg_info): New structure. - (match_const_int, convert_reg_type, check_regno, match_int_operand) - (match_mapped_int_operand, match_msb_operand, match_reg_operand) - (match_reg_pair_operand, match_pcrel_operand, match_perf_reg_operand) - (match_addiusp_operand, match_clo_clz_dest_operand) - (match_lwm_swm_list_operand, match_mdmx_imm_reg_operand) - (match_pc_operand, match_tied_reg_operand, match_operand) - (check_completed_insn): New functions, commented out for now. - -2013-07-14 Richard Sandiford - - * config/tc-mips.c (insn_insert_operand): New function. - (macro_build, mips16_macro_build): Put null character check - in the for loop and convert continues to breaks. Use operand - structures to handle constant operands. - -2013-07-14 Richard Sandiford - - * config/tc-mips.c (validate_mips_insn): Move further up file. - Add insn_bits and decode_operand arguments. Use the mips_operand - fields to work out which bits an operand occupies. Detect double - definitions. - (validate_micromips_insn): Move further up file. Call into - validate_mips_insn. - -2013-07-14 Richard Sandiford - - * config/tc-mips.c (mips16_macro_build): Remove 'Y' case. - -2013-07-14 Richard Sandiford - - * config/tc-mips.c (macro_build): Take an int for "C", "k", "\\" - and "~". - (macro): Update accordingly. - -2013-07-14 Richard Sandiford - - * config/tc-mips.c (imm_expr, imm2_expr, offset_expr): Tweak commentary. - (imm_reloc): Delete. - (md_assemble): Remove imm_reloc handling. - (mips_ip): Update commentary. Use offset_expr and offset_reloc - rather than imm_expr and imm_reloc for 'i', 'j' and 'u'. - Use a temporary array rather than imm_reloc when parsing - constant expressions. Remove imm_reloc initialization. - (mips16_ip): Update commentary. Use offset_expr and offset_reloc - for the relaxable field. Use a relax_char variable to track the - type of this field. Remove imm_reloc initialization. - -2013-07-14 Richard Sandiford - - * config/tc-mips.c (mips16_ip): Handle "I". - -2013-07-12 Maciej W. Rozycki - - * config/tc-mips.c (mips_flag_nan2008): New variable. - (options): Add OPTION_NAN enum value. - (md_longopts): Handle it. - (md_parse_option): Likewise. - (s_nan): New function. - (mips_elf_final_processing): Handle EF_MIPS_NAN2008. - (md_show_usage): Add -mnan. - - * doc/as.texinfo (Overview): Add -mnan. - * doc/c-mips.texi (MIPS Opts): Document -mnan. - (MIPS NaN Encodings): New node. Document .nan directive. - (MIPS-Dependent): List the new node. - -2013-07-09 Tristan Gingold - - * configure.com: Define HAVE_SYS_TYPES_H and HAVE_UNISTD_H - -2013-07-08 Richard Sandiford - - * config/tc-mips.c (mips_ip): Unconditionally parse an expression - for 'A' and assume that the constant has been elided if the result - is an O_register. - -2013-07-07 Richard Sandiford - - * config/tc-mips.c (gprel16_reloc_p): New function. - (macro_read_relocs): Assume BFD_RELOC_LO16 if all relocs are - BFD_RELOC_UNUSED. - (offset_high_part, small_offset_p): New functions. - (nacro): Use them. Remove *_OB and *_DOB cases. For single- - register load and store macros, handle the 16-bit offset case first. - If a 16-bit offset is not suitable for the instruction we're - generating, load it into the temporary register using - ADDRESS_ADDI_INSN. Make the M_LI_DD code fall through into the - M_L_DAB code once the address has been constructed. For double load - and store macros, again handle the 16-bit offset case first. - If the second register cannot be accessed from the same high - part as the first, load it into AT using ADDRESS_ADDI_INSN. - Fix the handling of LD in cases where the first register is the - same as the base. Also handle the case where the offset is - not 16 bits and the second register cannot be accessed from the - same high part as the first. For unaligned loads and stores, - fuse the offbits == 12 and old "ab" handling. Apply this handling - whenever the second offset needs a different high part from the first. - Construct the offset using ADDRESS_ADDI_INSN where possible, - for offbits == 16 as well as offbits == 12. Use offset_reloc - when constructing the individual loads and stores. - (mips_ip): Set up imm_expr, imm2_expr, offset_expr, imm_reloc - and offset_reloc before matching against a particular opcode. - Handle elided 'A' constants. Allow 'A' constants to use - relocation operators. - -2013-07-07 Richard Sandiford - - * config/tc-mips.c (validate_mips_insn): Remove "[" and "]" handling. - (mips_ip): Likewise. Do not set is_mdmx for INSN_5400 instructions. - Check constraints on the VR5400 RZU.OB, SLL.OB and SRL.OB instructions. - -2013-07-07 Richard Sandiford - - * config/tc-mips.c (mips_ip): Preserve the real bit number for "+p". - Require the msb to be <= 31 for "+s". Check that the size is <= 31 - for both "+s" and "+S". - -2013-07-07 Richard Sandiford - - * config/tc-mips.c (validate_mips_insn, validate_micromips_insn): - (mips_ip, mips16_ip): Handle "+i". - -2013-07-07 Richard Sandiford - - * config/tc-mips.c (mips32_to_micromips_reg_h_map): Delete. - (micromips_to_32_reg_h_map): Rename to... - (micromips_to_32_reg_h_map1): ...this. - (micromips_to_32_reg_i_map): Rename to... - (micromips_to_32_reg_h_map2): ...this. - (mips_lookup_reg_pair): New function. - (gpr_write_mask, macro): Adjust after above renaming. - (validate_micromips_insn): Remove "mi" handling. - (mips_ip): Likewise. Parse both registers in a pair for "mh". - -2013-07-07 Richard Sandiford - - * config/tc-mips.c (validate_mips_insn, validate_micromips_insn) - (mips_ip): Remove "+D" and "+T" handling. - -2013-07-05 Andreas Krebbel - - * config/tc-s390.c (md_gather_operands, md_apply_fix): Support new - relocs. - -2013-07-03 Marcus Shawcroft - - * config/tc-aarch64.c (reloc_table): Merge got_prel19 into got. - -2013-07-02 Marcus Shawcroft - - * config/tc-aarch64.c (md_apply_fix): Reorder case values. - (aarch64_force_relocation): Likewise. - -2013-07-02 Alan Modra - - * config/tc-ppc.c (ppc_elf_adjust_symtab): Don't make .TOC. weak. - -2013-06-26 Maciej W. Rozycki - - * doc/as.texinfo (Overview): Remove @samp from MIPS ISA names. - * doc/c-mips.texi (MIPS Options): Remove @sc from MIPS ISA names. - Replace @sc{mips16} with literal `MIPS16'. - (MIPS ISA): Replace @sc{mips3} with literal `MIPS III'. - -2013-06-26 Yufeng Zhang - - * config/tc-aarch64.c (reloc_table): Replace - BFD_RELOC_AARCH64_LD64_GOT_LO12_NC with - BFD_RELOC_AARCH64_LD_GOT_LO12_NC; likewise to - BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC and - BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_LO12_NC. - (md_apply_fix): Handle BFD_RELOC_AARCH64_LD_GOT_LO12_NC, - BFD_RELOC_AARCH64_LD32_GOT_LO12_NC, - BFD_RELOC_AARCH64_TLSDESC_LD_LO12_NC, - BFD_RELOC_AARCH64_TLSDESC_LD32_LO12_NC, - BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_LO12_NC and - BFD_RELOC_AARCH64_TLSIE_LD32_GOTTPREL_LO12_NC. - (aarch64_force_relocation): Likewise. - -2013-06-26 Yufeng Zhang - - * config/tc-aarch64.c (ilp32_p): New static variable. - (elf64_aarch64_target_format): Return the target according to the - value of 'ilp32_p'. - (md_begin): Determine 'mach' according to the value of 'ilp32_p'. - (aarch64_opts): Add support for options '-milp32' and '-mlp64'. - (aarch64_dwarf2_addr_size): New function. - * config/tc-aarch64.h (aarch64_dwarf2_addr_size): New declaration. - (DWARF2_ADDR_SIZE): New define. - -2013-06-26 Richard Sandiford - - * doc/c-mips.texi: Use ISA instead of @sc{isa}. - -2013-06-26 Richard Sandiford - - * config/tc-mips.c (validate_mips_insn): Use STYPE rather than SHAMT. - -2013-06-25 Maciej W. Rozycki - - * config/tc-mips.c (mips_set_options): Add insn32 member. - (mips_opts): Initialize it. - (NOP_INSN, NOP_INSN_SIZE): Handle insn32 mode. - (options): Add OPTION_INSN32 and OPTION_NO_INSN32 enum values. - (md_longopts): Add "minsn32" and "mno-insn32" options. - (is_size_valid): Handle insn32 mode. - (md_assemble): Pass instruction string down to macro. - (brk_fmt): Add second dimension and insn32 mode initializers. - (mfhl_fmt): Likewise. - (BRK_FMT, MFHL_FMT): Handle insn32 mode. - (macro_build) <'c'>: Handle microMIPS 32-bit BREAK encoding. - (macro_build_jalr, move_register): Handle insn32 mode. - (macro_build_branch_rs): Likewise. - (macro): Handle insn32 mode. - , , : New cases. - (mips_ip): Handle insn32 mode. - (md_parse_option): Handle OPTION_INSN32 and OPTION_NO_INSN32. - (s_mipsset): Handle "insn32" and "noinsn32" pseudo-ops. - (mips_handle_align): Handle insn32 mode. - (md_show_usage): Add -minsn32 and -mno-insn32. - - * doc/as.texinfo (Target MIPS options): Add -minsn32 and - -mno-insn32 options. - (-minsn32, -mno-insn32): New options. - * doc/c-mips.texi (MIPS Opts): Add -minsn32 and -mno-insn32 - options. - (MIPS assembly options): New node. Document .set insn32 and - .set noinsn32. - (MIPS-Dependent): List the new node. - -2013-06-25 Nick Clifton - - * config/tc-msp430.c (msp430_srcoperand): Do not allow the use of - the PC in indirect addressing on 430xv2 parts. - (msp430_operands): Add version test to hardware bug encoding - restrictions. - -2013-06-24 Roland McGrath - - * config/tc-arm.c (parse_reg_list): Use skip_past_char for '}', - so it skips whitespace before it. - (s_arm_unwind_save_mmxwr, s_arm_unwind_save_mmxwcg): Likewise. - - * config/tc-arm.c (arm_symbol_chars): Include '{' and '}'. - (arm_reg_parse_multi): Skip whitespace first. - (parse_reg_list): Likewise. - (parse_vfp_reg_list): Likewise. - (s_arm_unwind_save_mmxwcg): Likewise. - -2013-06-24 Nick Clifton - - PR gas/15623 - * config/tc-arm.c (do_t_smc): Mark as ending an IT block. - -2013-06-23 Richard Sandiford - - * config/tc-mips.c (mips_ip): Fix swapped bit numbers in comments. - -2013-06-23 Richard Sandiford - - * config/tc-mips.c: Assert that offsetT and valueT are at least - 8 bytes in size. - (GPR_SMIN, GPR_SMAX): New macros. - (macro, mips_ip): Remove code for 4-byte valueT and offsetT. - -2013-06-22 Richard Sandiford - - * config/tc-mips.c: Remove OBJ_ELF, OBJ_MAYBE_ELF and IS_ELF - conditions. Remove any code deselected by them. - (s_mips_frame, s_mips_mask): Handle ECOFF_DEBUGGING case first. - -2013-06-22 Richard Sandiford - - * NEWS: Note removal of ECOFF support. - * doc/as.texinfo (--emulation): Update for the removal of MIPS ECOFF. - * Makefile.am (TARG_ENV_HFILES): Remove config/te-lnews.h. - (MULTI_CFILES): Remove config/e-mipsecoff.c. - * Makefile.in: Regenerate. - * configure.in: Remove MIPS ECOFF references. - (mips-sony-bsd*, mips-*-bsd*, mips-*-lnews*-ecoff, mips-*-*-ecoff): - Delete cases. - (mips-*-irix5*-*, mips*-*-linux*-*, mips*-*-freebsd*) - (mips*-*-kfreebsd*-gnu, mips-*-*-elf): Fold into... - (mips-*-*): ...this single case. - (mipsbecoff, mipslecoff, mipsecoff): Remove emulations. Expect - MIPS emulations to be e-mipself*. - * configure: Regenerate. - * configure.tgt (mips-sony-bsd*, mips-*-ultrix*, mips-*-osf*) - (mips-*-ecoff*, mips-*-pe*, mips-*-irix*, ips-*-lnews*, mips-*-riscos*) - (mips-*-sysv*): Remove coff and ecoff cases. - * as.c (mipsbecoff, mipslecoff, mipsecoff): Remove. - * ecoff.c: Remove reference to MIPS ECOFF. - * config/e-mipsecoff.c, config/te-lnews.h: Delete files. - * config/tc-mips.c (ECOFF_LITTLE_FORMAT): Delete. - (RDATA_SECTION_NAME, mips_target_form): Remove COFF and ECOFF cases. - (mips_hi_fixup): Tweak comment. - (append_insn): Require a howto. - (mips_after_parse_args): Remove OBJ_MAYBE_ECOFF code. - -2013-06-22 Richard Sandiford - - * doc/as.texinfo: Use MIPS rather than @sc{mips} throughout. - Use "CPU" instead of "cpu". - * doc/c-mips.texi: Likewise. - (MIPS Opts): Rename to MIPS Options. - (MIPS option stack): Rename to MIPS Option Stack. - (MIPS ASE instruction generation overrides): Rename to - MIPS ASE Instruction Generation Overrides (for now). - (MIPS floating-point): Rename to MIPS Floating-Point. - -2013-06-22 Richard Sandiford - - * doc/c-mips.texi (MIPS Macros): New section. - (MIPS Object): Replace with... - (MIPS Small Data): ...this new section. - -2013-06-22 Richard Sandiford - - * doc/c-mips.texi (MIPS symbol sizes): Move section further up file. - Capitalize name. Use @kindex instead of @cindex for .set entries. - -2013-06-22 Richard Sandiford - - * doc/c-mips.texi (MIPS Stabs): Remove section. - -2013-06-20 Richard Sandiford - - * config/tc-mips.c (ISA_SUPPORTS_SMARTMIPS, ISA_SUPPORTS_DSP_ASE) - (ISA_SUPPORTS_DSP64_ASE, ISA_SUPPORTS_DSPR2_ASE, ISA_SUPPORTS_EVA_ASE) - (ISA_SUPPORTS_MT_ASE, ISA_SUPPORTS_MCU_ASE, ISA_SUPPORTS_VIRT_ASE) - (ISA_SUPPORTS_VIRT64_ASE): Delete. - (mips_ase): New structure. - (mips_ases): New table. - (FP64_ASES): New macro. - (mips_ase_groups): New array. - (mips_isa_rev, mips_ase_mask, mips_check_isa_supports_ase) - (mips_check_isa_supports_ases, mips_set_ase, mips_lookup_ase): New - functions. - (is_opcode_valid): Use mips_ases to get the 64-bit ASE flags. - (md_parse_option): Use mips_ases and mips_set_ase instead of - separate case statements for each ASE option. - (mips_after_parse_args): Use FP64_ASES. Use - mips_check_isa_supports_ases to check the ASEs against - other options. - (s_mipsset): Use mips_ases and mips_set_ase instead of - separate if statements for each ASE option. Use - mips_check_isa_supports_ases, even when a non-ASE option - is specified. - -2013-06-19 Greta Yorsh - - * config/tc-arm.c (arm_cpus): Add support for Cortex-A12. - -2013-06-18 Richard Sandiford - - * config/tc-mips.c (md_shortopts, options, md_longopts) - (md_longopts_size): Move earlier in file. - -2013-06-18 Richard Sandiford - - * config/tc-mips.c (mips_set_options): Replace separate "ase_*" fields - with a single "ase" bitmask. - (mips_opts): Update accordingly. - (file_ase, file_ase_explicit): New variables. - (file_ase_mips3d, file_ase_mdmx, file_ase_smartmips, file_ase_dsp) - (file_ase_dspr2, file_ase_eva, file_ase_mt, file_ase_virt): Delete. - (ISA_HAS_ROR): Adjust for mips_set_options change. - (is_opcode_valid): Take the base ase mask directly from mips_opts. - (mips_ip): Adjust for mips_set_options change. - (md_parse_option): Likewise. Update file_ase_explicit. - (mips_after_parse_args): Adjust for mips_set_options change. - Use bitmask operations to select the default ASEs. Set file_ase - rather than individual per-ASE variables. - (s_mipsset): Adjust for mips_set_options change. - (mips_elf_final_processing): Test file_ase rather than - file_ase_mdmx. Remove commented-out code. - -2013-06-18 Richard Sandiford - - * config/tc-mips.c (mips_cpu_info): Add an "ase" field. - (MIPS_CPU_ASE_SMARTMIPS, MIPS_CPU_ASE_DSP, MIPS_CPU_ASE_MT) - (MIPS_CPU_ASE_MIPS3D, MIPS_CPU_ASE_MDMX, MIPS_CPU_ASE_DSPR2) - (MIPS_CPU_ASE_MCU, MIPS_CPU_ASE_VIRT, MIPS_CPU_ASE_EVA): Delete. - (mips_after_parse_args): Use the new "ase" field to choose - the default ASEs. - (mips_cpu_info_table): Move ASEs from the "flags" field to the - "ase" field. - -2013-06-18 Richard Earnshaw - - * config/tc-arm.c (symbol_preemptible): New function. - (relax_branch): Use it. - -2013-06-17 Catherine Moore - Maciej W. Rozycki - Chao-Ying Fu - - * config/tc-mips.c (mips_set_options): Add ase_eva. - (mips_set_options mips_opts): Add ase_eva. - (file_ase_eva): Declare. - (ISA_SUPPORTS_EVA_ASE): Define. - (IS_SEXT_9BIT_NUM): Define. - (MIPS_CPU_ASE_EVA): Define. - (is_opcode_valid): Add support for ase_eva. - (macro_build): Likewise. - (macro): Likewise. - (validate_mips_insn): Likewise. - (validate_micromips_insn): Likewise. - (mips_ip): Likewise. - (options): Add OPTION_EVA and OPTION_NO_EVA. - (md_longopts): Add -meva and -mno-eva. - (md_parse_option): Process new options. - (mips_after_parse_args): Check for valid EVA combinations. - (s_mipsset): Likewise. - -2013-06-14 Richard Sandiford - - * dwarf2dbg.h (dwarf2_move_insn): Declare. - * dwarf2dbg.c (line_subseg): Add pmove_tail. - (get_line_subseg): Add create_p argument. Initialize pmove_tail. - (dwarf2_gen_line_info_1): Update call accordingly. - (dwarf2_move_insn): New function. - * config/tc-mips.c (append_insn): Use dwarf2_move_insn. - -2013-06-14 Richard Sandiford - - Revert: - - 2011-09-05 Richard Sandiford - - 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. - -2013-06-13 Chao-ying Fu - - * config/tc-mips.c (ISA_SUPPORTS_VIRT_ASE): Support micromips. - (ISA_SUPPORTS_VIRT64_ASE): Support 64-bit micromips. - -2013-06-13 Nick Clifton - - PR gas/15602 - * config/tc-m68k.h (TC_CHECK_ADJUSTED_BROKEN_DOT_WORD): Define. - * config/tc-m68k.c (tc_m68k_check_adjusted_broken_word): New - function. Generates an error if the adjusted offset is out of a - 16-bit range. - -2013-06-12 Sandra Loosemore - - * config/tc-nios2.c (md_apply_fix): Mask constant - BFD_RELOC_NIOS2_HIADJ16 value to 16 bits. - -2013-06-10 Maciej W. Rozycki - - * config/tc-mips.c (append_insn): Don't do branch relaxation for - MIPS-3D instructions either. - (md_convert_frag): Update the COPx branch mask accordingly. - - * config/tc-mips.c (md_show_usage): Document --[no-]relax-branch - option. - * doc/as.texinfo (Overview): Add --relax-branch and - --no-relax-branch. - * doc/c-mips.texi (MIPS Opts): Document --relax-branch and - --no-relax-branch. - -2013-06-09 Sandra Loosemore - - * config/tc-nios2.c (nios2_parse_args): Allow trap argument to - omitted. - -2013-06-08 Catherine Moore - - * config/tc-mips.c (is_opcode_valid): Build ASE mask. - (is_opcode_valid_16): Pass ase value to opcode_is_member. - (append_insn): Change INSN_xxxx to ASE_xxxx. - -2013-06-01 George Thomas - - * gas/config/tc-avr.c: Change ISA for devices with USB support to - AVR_ISA_XMEGAU - -2013-05-31 H.J. Lu - - * config/tc-i386.c (md_begin): Don't align text/data/bss sections - for ELF. - -2013-05-31 Paul Brook - - * config/tc-mips.c (s_ehword): New. - -2013-05-30 Paul Brook - - * config/tc-mips.c (md_apply_fix): Support BFD_RELOC_MIPS_EH. - -2013-05-29 Maciej W. Rozycki - - * write.c (resolve_reloc_expr_symbols): On REL targets don't - convert relocs who have no relocatable field either. Rephrase - the conditional so that the PC-relative check is only applied - for REL targets. - -2013-05-28 Chao-ying Fu - - * config/tc-mips.c (macro) : Don't use $zero for address - calculation. - -2013-05-28 Yufeng Zhang - - * config/tc-aarch64.c (reloc_table): Update to use - BFD_RELOC_AARCH64_TLSDESC_ADR_PAGE21 instead of - BFD_RELOC_AARCH64_TLSDESC_ADR_PAGE. - (md_apply_fix): Likewise. - (aarch64_force_relocation): Likewise. - -2013-05-28 Kyrylo Tkachov - - * config/tc-arm.c (it_fsm_post_encode): Improve - warning messages about deprecated IT block formats. - -2013-05-28 Marcus Shawcroft - - * config/tc-aarch64.c (md_apply_fix): Move value range checking - inside fx_done condition. - -2013-05-22 Jürgen Urban - - * config/tc-mips.c (macro): Handle M_LQC2_AB and M_SQC2_AB. - -2013-05-20 Peter Bergner - - * config/tc-ppc.c (ppc_setup_opcodes): Use new_seg to fix error - and clean up warning when using PRINT_OPCODE_TABLE. - -2013-05-20 Alan Modra - - * config/tc-ppc.c (md_apply_fix): Hoist code common to insn - and data fixups performing shift/high adjust/sign extension on - fieldval. Sink fx_pcrel handling and checks. Use fixP->fx_size - when writing data fixups rather than recalculating size. - -2013-05-16 Jan-Benedict Glaw - - * doc/c-msp430.texi: Fix typo. - -2013-05-16 Tristan Gingold - - * config/tc-ppc.c (ppc_is_toc_sym): Symbols of class XMC_TC - are also TOC symbols. - -2013-05-16 Nick Clifton - - * config/tc-msp430.c: Make -mmcu recognise more part numbers. - Add -mcpu command to specify core type. - * doc/c-msp430.texi: Update documentation. - -2013-05-09 Andrew Pinski - - * config/tc-mips.c (struct mips_set_options): New ase_virt field. - (mips_opts): Update for the new field. - (file_ase_virt): New variable. - (ISA_SUPPORTS_VIRT_ASE): New macro. - (ISA_SUPPORTS_VIRT64_ASE): New macro. - (MIPS_CPU_ASE_VIRT): New define. - (is_opcode_valid): Handle ase_virt. - (macro_build): Handle "+J". - (validate_mips_insn): Likewise. - (mips_ip): Likewise. - (enum options): Add OPTION_VIRT and OPTION_NO_VIRT. - (md_longopts): Add mvirt and mnovirt - (md_parse_option): Handle OPTION_VIRT and OPTION_NO_VIRT. - (mips_after_parse_args): Handle ase_virt field. - (s_mipsset): Handle "virt" and "novirt". - (mips_elf_final_processing): Add a comment about virt ASE might need - a new flag. - (md_show_usage): Print out the usage of -mvirt and mno-virt options. - * doc/c-mips.texi: Document -mvirt and -mno-virt. - Document ".set virt" and ".set novirt". - -2013-05-09 Alan Modra - - * config/tc-ppc.c (md_apply_fix): Sign extend fieldval under - control of operand flag bits. - -2013-05-07 Alan Modra - - * config/tc-ppc.c (PPC_VLE_SPLIT16A): Delete unused macro. - (PPC_VLE_SPLIT16D, PPC_VLE_LO16A, PPC_VLE_LO16D): Likewise. - (PPC_VLE_HI16A, PPC_VLE_HI16D): Likewise. - (PPC_VLE_HA16A, PPC_VLE_HA16D): Likewise. - (md_apply_fix): Set fx_no_overflow for assorted relocations. - Shift and sign-extend fieldval for use by some VLE reloc - operand->insert functions. - -2013-05-06 Paul Brook - Catherine Moore - - * config/tc-mips.c (md_pcrel_from): Handle BFD_RELOC_32_PCREL. - (limited_pcrel_reloc_p): Likewise. - (md_apply_fix): Likewise. - (tc_gen_reloc): Likewise. - -2013-05-06 Richard Sandiford - - * config/tc-mips.c (limited_pcrel_reloc_p): New function. - (mips_fix_adjustable): Adjust pc-relative check to use - limited_pc_reloc_p. - -2013-05-02 Richard Sandiford - - * config/tc-mips.c (mips_pseudo_table): Add stabd and stabs entries. - (s_mips_stab): Do not restrict to stabn only. - -2013-05-02 Nick Clifton - - * config/tc-msp430.c: Add support for the MSP430X architecture. - Add code to insert a NOP instruction after any instruction that - might change the interrupt state. - Add support for the LARGE memory model. - Add code to initialise the .MSP430.attributes section. - * config/tc-msp430.h: Add support for the MSP430X architecture. - * doc/c-msp430.texi: Document the new -mL and -mN command line - options. - * NEWS: Mention support for the MSP430X architecture. - -2013-05-01 Maciej W. Rozycki - - * configure.tgt: Replace alpha*-*-linuxecoff* pattern with - alpha*-*-linux*ecoff*. - -2013-04-30 Chao-ying Fu - - * config/tc-mips.c (mips_ip): Add sizelo. - For "+C", "+G", and "+H", set sizelo and compare against it. - -2013-04-29 Nick Clifton - - * as.c (Options): Add -gdwarf-sections. - (parse_args): Likewise. - * as.h (flag_dwarf_sections): Declare. - * dwarf2dbg.c (emit_fixed_inc_line_addr): Skip section changes. - (process_entries): When -gdwarf-sections is enabled generate - fragmentary .debug_line sections. - (out_debug_line): Set the section for the .debug_line section end - symbol. - * doc/as.texinfo: Document -gdwarf-sections. - * NEWS: Mention -gdwarf-sections. - -2013-04-26 Christian Groessler - - * config/tc-z8k.c (md_parse_option): Set z8k_target_from_cmdline - according to the target parameter. Don't call s_segm since s_segm - calls bfd_set_arch_mach using stdoutput, but stdoutput isn't - initialized yet. - (md_begin): Call s_segm according to target parameter from command - line. - -2013-04-25 Alan Modra - - * configure.in: Allow little-endian linux. - * configure: Regenerate. - -2013-04-24 Sandra Loosemore - - * config/tc-nios2.c (nios2_control_register_arg_p): Rename - "fstatus" control register to "eccinj". - -2013-04-19 Kai Tietz - - * configure.tgt (i386-*-cygwin): Handle x86_64 cygwin. - -2013-04-15 Julian Brown - - * expr.c (add_to_result, subtract_from_result): Make global. - * expr.h (add_to_result, subtract_from_result): Add prototypes. - * config/tc-sh.c (sh_optimize_expr): Use add_to_result, - subtract_from_result to handle extra bit of precision for .sleb128 - directive operands. - -2013-04-10 Julian Brown - - * read.c (convert_to_bignum): Add sign parameter. Use it - instead of X_unsigned to determine sign of resulting bignum. - (emit_expr): Pass extra argument to convert_to_bignum. - (emit_leb128_expr): Use X_extrabit instead of X_unsigned. Pass - X_extrabit to convert_to_bignum. - (parse_bitfield_cons): Set X_extrabit. - * expr.c (make_expr_symbol, expr_build_uconstant, operand): - Initialise X_extrabit field as appropriate. - (add_to_result): New. - (subtract_from_result): New. - (expr): Use above. - * expr.h (expressionS): Add X_extrabit field. - -2013-04-10 Jan Beulich - - * gas/config/tc-arm.c (encode_arm_addr_mode_3): Only reject base - register being PC when is_t or writeback, and use distinct - diagnostic for the latter case. - -2013-04-10 Jan Beulich - - * gas/config/tc-arm.c (parse_operands): Re-write - po_barrier_or_imm(). - (do_barrier): Remove bogus constraint(). - (do_t_barrier): Remove. - -2013-04-09 Joerg Wunsch - - * gas/config/tc-avr.c (mcu_types): Add ATmega64RFR2, - ATmega644RFR2, ATmega128RFR2, ATmega1284RFR2, ATmega256RFR2, - ATmega2564RFR2 - * gas/doc/c-avr.texi (-mmcu documentation): Likewise. - -2013-04-09 Jan Beulich - - * gas/config/tc-arm.c (do_vmrs): Accept all control registers. - Use local variable Rt in more places. - (do_vmsr): Accept all control registers. - -2013-04-09 Jan Beulich - - * gas/config/tc-arm.c (do_neon_mov): Fake an instruction suffix - if there was none specified for moves between scalar and core - register. - -2013-04-09 Jan Beulich - - * gas/config/tc-arm.c (do_neon_ldx_stx): Reject VSTn in the - NEON_ALL_LANES case. - -2013-04-08 Jan Beulich - - * gas/config/tc-arm.c (do_neon_ldr_str): Correct disgnostics for - PC-relative VSTR. - -2013-04-08 Jan Beulich - - * gas/config/tc-arm.c (reg_names): Convert duplicate SP_fiq - entry to sp_fiq. - -2013-04-03 Alan Modra - - * doc/as.texinfo: Add support to generate man options for h8300. - * doc/c-h8300.texi: Likewise. - -2013-03-28 Ramana Radhakrishnan - - * config/tc-arm.c (arm_cpus): Add support for Cortex-A53 and - Cortex-A57. - -2013-03-27 Alexis Deruelle - - PR binutils/15068 - * config/tc-tic6x.c (tic6x_try_encode): Add use of bitfields array. - -2013-03-26 Nick Clifton - - PR gas/15295 - * listing.c (rebuffer_line): Rewrite to avoid seeking back to the - start of the file each time. - - PR gas/15178 - * config/tc-sparc.h (ELF_TARGET_FORMAT): Set to elf32-sparc for - FreeBSD targets. - -2013-03-26 Douglas B Rupp - - * config/tc-ia64.c (emit_one_bundle): Move last_slot adjustment - after fixup. - -2013-03-21 Will Newton - - * config/tc-arm.c (encode_thumb32_addr_mode): Emit an error for all - pc-relative str instructions in Thumb mode. - -2013-03-21 Michael Schewe - - * config/tc-h8300.c (do_a_fix_imm): Add relaxation of mov - @(disp:32,ERx) to mov @(disp:16,ERx) insns by new reloc - R_H8_DISP32A16. - * config/tc-h8300.h: Remove duplicated defines. - -2013-03-21 Senthil Kumar Selvaraj - - PR gas/15282 - * tc-avr.c (mcu_has_3_byte_pc): New function. - (tc_cfi_frame_initial_instructions): Call it to find return - address size. - -2013-03-20 Alexis Deruelle - - PR gas/15095 - * config/tc-tic6x.c (tic6x_try_encode): Handle - tic6x_coding_dreg_(msb|lsb) field coding types and use it to - encode register pair numbers when required. - -2013-03-15 Will Newton - - * config/tc-arm.c (do_neon_ldr_str): Fix error check for PC register - in vstr in Thumb mode for pre-ARMv7 cores. - -2013-03-14 Andreas Schwab - - * doc/c-arc.texi (ARC Directives): Revert last change and use - @itemize instead of @table. - * doc/c-arm.texi (ARM-Instruction-Set): Likewise. - -2013-03-14 Nick Clifton - - PR gas/15273 - * config/tc-arm.c (do_co_reg): Do not call check_obsolete with a - NULL message, instead just check ARM_CPU_IS_ANY directly. - -2013-03-14 Nick Clifton - - PR gas/15212 - * doc/c-arc.texi (ARC Directives): Use @code instead of @bullet - for table format. - * doc/c-arm.texi (ARM-Instruction-Set): Likewise. Also add text - to the @item directives. - (ARM-Neon-Alignment): Move to correct place in the document. - * doc/c-cr16.texi (CR16 Operand Qualifiers): Fix up table - formatting. - * doc/c-tic54x.texi (TIC54X-Subsyms): Correct use of - @smallexample. - -2013-03-12 Sebastian Huber - - * config/tc-nios2.c (nios2_consume_arg): Delete 'k' case. Add 'o' - case. Add default BAD_CASE to switch. - -2013-03-11 Sebastian Huber - - * config/tc-nios2.c (nios2_assemble_args_ds): New function. - (nios2_arg_info_structs): Add "d,s" and "d,s,E" entries. - -2013-03-11 Kyrylo Tkachov - - * config/tc-arm.c (crc_ext_armv8): New feature set. - (UNPRED_REG): New macro. - (do_crc32_1): New function. - (do_crc32b, do_crc32h, do_crc32w, do_crc32cb, - do_crc32ch, do_crc32cw): Likewise. - (TUEc): New macro. - (insns): Add entries for crc32 mnemonics. - (arm_extensions): Add entry for crc. - -2013-03-08 Chung-Lin Tang - - * write.h (struct fix): Add fx_dot_frag field. - (dot_frag): Declare. - * write.c (dot_frag): New variable. - (fix_new_internal): Set fx_dot_frag field with dot_frag. - (fixup_segment): Base calculation of fx_offset with fx_dot_frag. - * expr.c (expr): Save value of frag_now in dot_frag when setting - dot_value. - * read.c (emit_expr): Likewise. Delete comments. - -2013-03-07 H.J. Lu - - * config/tc-i386.c (flag_code_names): Removed. - (i386_index_check): Rewrote. - -2013-03-05 Yufeng Zhang - - * config/tc-aarch64.c (aarch64_imm_float_p): Rename 'e' to 'pattern'; - add comment. - (aarch64_double_precision_fmovable): New function. - (parse_aarch64_imm_float): Add parameter 'dp_p'; call the new - function; handle hexadecimal representation of IEEE754 encoding. - (parse_operands): Update the call to parse_aarch64_imm_float. - -2013-02-28 H.J. Lu - - * config/tc-i386.c (_i386_insn): Replace have_hle with hle_prefix. - (check_hle): Updated. - (md_assemble): Likewise. - (parse_insn): Likewise. - -2013-02-28 H.J. Lu - - * config/tc-i386.c (_i386_insn): Add rep_prefix. - (md_assemble): Check if REP prefix is OK. - (parse_insn): Remove expecting_string_instruction. Set - i.rep_prefix. - -2013-02-28 Yufeng Zhang - - * config/tc-aarch64.c (aarch64_features): Add the 'crc' option. - -2013-02-28 Yufeng Zhang - - * config/tc-aarch64.c (parse_sys_reg): Allow the full range of CRn - for system registers. - -2013-02-27 DJ Delorie - - * config/tc-rl78.c (reloc_function): Add %code -> BFD_RELOC_RL78_CODE. - (rl78_op): Handle %code(). - (rl78_cons_fix_new): Likewise, but ignore for 20-bit operands. - (tc_gen_reloc): Likwise; convert to a computed reloc. - (md_apply_fix): Likewise. - -2013-02-25 Kaushik Phatak - - * config/rl78-parse.y: Fix encoding of DIVWU insn. - -2013-02-25 Terry Guo - - * config/tc-arm.c (arm_cpus): Add cortex-r7 entry. - * doc/c-arm.texi: Add cortex-r7 and missing cortex-r5 to - list of accepted CPUs. - -2013-02-19 H.J. Lu - - PR gas/15159 - * config/tc-i386.c (cpu_arch): Add ".smap". - - * doc/c-i386.texi: Document smap. - -2013-02-18 Maciej W. Rozycki - - * config/tc-mips.c (s_cpload): Call mips_mark_labels and set - mips_assembling_insn appropriately. - (s_cpsetup, s_cprestore, s_cpreturn, s_cpadd): Likewise. - -2013-02-18 Maciej W. Rozycki - - * config/tc-mips.c (append_insn): Correct indentation, remove - extraneous braces. - -2013-02-15 Kyrylo Tkachov - - * config/tc-arm.c (do_neon_mov): Break on NS_NULL. - -2013-02-15 Sebastian Huber - - * configure.tgt: Add nios2-*-rtems*. - -2013-02-14 Yufeng Zhang - - * config/tc-aarch64.c (md_begin): Change to check if 'name' is - NULL. - -2013-02-09 Jürgen Urban - - * config/tc-mips.c (CPU_HAS_LDC1_SDC1): New macro. - (macro): Use it. Assert that trunc.w.s is not used for r5900. - -2013-02-08 Yi-Hsiu, Hsu - - * gas/config/tc-arm.c (arm_cpus): Add support for mcpu=marvell-pj4 - core. - -2013-02-06 Sandra Loosemore - Andrew Jenner - - Based on patches from Altera Corporation. - - * Makefile.am (TARGET_CPU_CFILES): Add config/tc-nios2.c. - (TARGET_CPU_HFILES): Add config/tc-nios2.h. - * Makefile.in: Regenerated. - * configure.tgt: Add case for nios2*-linux*. - * config/obj-elf.c: Conditionally include elf/nios2.h. - * config/tc-nios2.c: New file. - * config/tc-nios2.h: New file. - * doc/Makefile.am (CPU_DOCS): Add c-nios2.texi. - * doc/Makefile.in: Regenerated. - * doc/all.texi: Set NIOSII. - * doc/as.texinfo (Overview): Add Nios II options. - (Machine Dependencies): Include c-nios2.texi. - * doc/c-nios2.texi: New file. - * NEWS: Note Altera Nios II support. - -2013-02-06 Alan Modra - - PR gas/14255 - * config/tc-avr.h (TC_VALIDATE_FIX): Mark symbol used by reloc. - Don't skip fixups with fx_subsy non-NULL. - * config/tc-avr.c (tc_gen_reloc): Don't specially handle fixups - with fx_subsy non-NULL. - -2013-02-04 H.J. Lu - - * doc/c-metag.texi: Add "@c man" markers. - -2013-02-04 Alan Modra - - * write.c (fixup_segment): Return void. Delete seg_reloc_count - related code. - (TC_ADJUST_RELOC_COUNT): Delete. - * config/tc-i960.h (TC_ADJUST_RELOC_COUNT): Delete. - -2013-02-04 Alan Modra - - * po/POTFILES.in: Regenerate. - -2013-01-30 Markos Chandras - - * config/tc-metag.c: Make SWAP instruction less permissive with - its operands. - -2013-01-29 DJ Delorie - - * config/tc-rl78.c (rl78_cons_fix_new): Handle user-specified - relocs in .word/.etc statements. - -2013-01-29 Roland McGrath - - * config/tc-arm.c (md_apply_fix): Use as_bad_where for "bad - immediate value for 8-bit offset" error so it shows line info. - -2013-01-24 Joseph Myers - - * config/tc-ppc.c (md_assemble): Do not generate APUinfo sections - for 64-bit output. - -2013-01-24 Nick Clifton - - * config/tc-v850.c: Add support for e3v5 architecture. - * doc/c-v850.texi: Mention new support. - -2013-01-23 Nick Clifton - - PR gas/15039 - * config/tc-avr.c: Include dwarf2dbg.h. - -2013-01-18 H.J. Lu - - * config/tc-i386.c (reloc): Support size relocation only for ELF. - (tc_i386_fix_adjustable): Likewise. - (lex_got): Likewise. - (tc_gen_reloc): Likewise. - -2013-01-17 Yufeng Zhang - - * config/tc-aarch64.c (output_operand_error_record): Change to output - the out-of-range error message as value-expected message if there is - only one single value in the expected range. - (programmer_friendly_fixup): Remove the handling of 8-bit MOVI with - LSL #0 as a programmer-friendly feature. - -2013-01-16 H.J. Lu - - * config/tc-i386.c (reloc): Support BFD_RELOC_SIZE32. - (tc_i386_fix_adjustable): Keep symbol for BFD_RELOC_32_SIZE and - BFD_RELOC_64_SIZE relocations. - (lex_got): Support "symbol@SIZE" and don't create GOT symbol - for it. - (tc_gen_reloc): Resolve BFD_RELOC_SIZE32 and BFD_RELOC_SIZE64 - relocations against local symbols. - -2013-01-16 Alan Modra - - * config/tc-ppc.c (md_assemble ): Ignore line after - finding some sort of toc syntax error, and break to avoid - compiler uninit warning. - -2013-01-15 H.J. Lu - - PR gas/15019 - * config/tc-i386.c (lex_got): Increment length by 1 if the - relocation token is removed. - -2013-01-15 Nick Clifton - - * config/tc-v850.c (md_assemble): Allow signed values for - V850E_IMMEDIATE. - -2013-01-11 Sean Keys - - * config/tc-xgate.c (md_begin): Fix mistake made when going from - git to cvs. - -2013-01-10 Peter Bergner - - * doc/as.texinfo (Target PowerPC): Document -mpower8 and -mhtm. - * doc/c-ppc.texi (PowerPC-Opts): Likewise. - * config/tc-ppc.c (md_show_usage): Likewise. - (ppc_handle_align): Handle power8's group ending nop. - -2013-01-10 Sean Keys - - * config/tc-xgate.c (md_begin): Fix the printing of opcodes so - that the assember exits after the opcodes have been printed. - -2013-01-10 H.J. Lu - - * app.c: Remove trailing white spaces. - * as.c: Likewise. - * as.h: Likewise. - * cond.c: Likewise. - * dw2gencfi.c: Likewise. - * dwarf2dbg.h: Likewise. - * ecoff.c: Likewise. - * input-file.c: Likewise. - * itbl-lex.h: Likewise. - * output-file.c: Likewise. - * read.c: Likewise. - * sb.c: Likewise. - * subsegs.c: Likewise. - * symbols.c: Likewise. - * write.c: Likewise. - * config/tc-i386.c: Likewise. - * doc/Makefile.am: Likewise. - * doc/Makefile.in: Likewise. - * doc/c-aarch64.texi: Likewise. - * doc/c-alpha.texi: Likewise. - * doc/c-arc.texi: Likewise. - * doc/c-arm.texi: Likewise. - * doc/c-avr.texi: Likewise. - * doc/c-bfin.texi: Likewise. - * doc/c-cr16.texi: Likewise. - * doc/c-d10v.texi: Likewise. - * doc/c-d30v.texi: Likewise. - * doc/c-h8300.texi: Likewise. - * doc/c-hppa.texi: Likewise. - * doc/c-i370.texi: Likewise. - * doc/c-i386.texi: Likewise. - * doc/c-i860.texi: Likewise. - * doc/c-m32c.texi: Likewise. - * doc/c-m32r.texi: Likewise. - * doc/c-m68hc11.texi: Likewise. - * doc/c-m68k.texi: Likewise. - * doc/c-microblaze.texi: Likewise. - * doc/c-mips.texi: Likewise. - * doc/c-msp430.texi: Likewise. - * doc/c-mt.texi: Likewise. - * doc/c-s390.texi: Likewise. - * doc/c-score.texi: Likewise. - * doc/c-sh.texi: Likewise. - * doc/c-sh64.texi: Likewise. - * doc/c-tic54x.texi: Likewise. - * doc/c-tic6x.texi: Likewise. - * doc/c-v850.texi: Likewise. - * doc/c-xc16x.texi: Likewise. - * doc/c-xgate.texi: Likewise. - * doc/c-xtensa.texi: Likewise. - * doc/c-z80.texi: Likewise. - * doc/internals.texi: Likewise. - -2013-01-10 Roland McGrath - - * hash.c (hash_new_sized): Make it global. - * hash.h: Declare it. - * macro.c (define_macro): Use hash_new_sized instead of hash_new, - pass a small size. - -2013-01-10 Will Newton - - * Makefile.am: Add Meta. - * Makefile.in: Regenerate. - * config/tc-metag.c: New file. - * config/tc-metag.h: New file. - * configure.tgt: Add Meta. - * doc/Makefile.am: Add Meta. - * doc/Makefile.in: Regenerate. - * doc/all.texi: Add Meta. - * doc/as.texiinfo: Document Meta options. - * doc/c-metag.texi: New file. - -2013-01-09 Steve Ellcey - - * config/tc-i386.c (md_begin): Remove 'internal Error' from as_fatal - calls. - * config/tc-mips.c (internalError): Remove, replace with abort. - -2013-01-08 Yufeng Zhang - - * config/tc-aarch64.c (parse_operands): Change to compare the result - of function call 'parse_sys_reg' with 'PARSE_FAIL' instead of 'FALSE'. - -2013-01-07 Nick Clifton - - PR gas/14887 - * config/tc-arm.c (skip_past_char): Skip whitespace before the - anticipated character. - * config/tc-arm.c (parse_address_main): Delete skip of whitespace - here as it is no longer needed. - -2013-01-06 Andreas Schwab - - * doc/c-mips.texi (MIPS Opts): Fix use of @itemx. - * doc/c-score.texi (SCORE-Opts): Likewise. - * doc/c-tic54x.texi (TIC54X-Directives): Likewise. - -2013-01-04 Juergen Urban - - * config/tc-mips.c: Add support for MIPS r5900. - Add M_LQ_AB and M_SQ_AB to support large values for instructions - lq and sq. - (can_swap_branch_p, get_append_method): Detect some conditional - short loops to fix a bug on the r5900 by NOP in the branch delay - slot. - (M_MUL): Support 3 operands in multu on r5900. - (M_TRUNCWS): Support trunc.w.s on r5900 in MIPS ISA I. - (s_mipsset): Force 32 bit floating point on r5900. - (mips_ip): Check parameter range of instructions mfps and mtps on - r5900. - * configure.in: Detect CPU type when target string contains r5900 - (e.g. mips64r5900el-linux-gnu). - -2013-01-02 H.J. Lu - - * as.c (parse_args): Update copyright year to 2013. - -2013-01-02 Yufeng Zhang - - * config/tc-aarch64.c (aarch64_cpus): Add entries for "cortex-a53" - and "cortex57". - -2013-01-02 Nick Clifton - - PR gas/14987 - * config/tc-arm.c (parse_address_main): Skip whitespace before a - closing bracket. - -For older changes see ChangeLog-2012 +For older changes see ChangeLog-2013 -Copyright (C) 2013 Free Software Foundation, Inc. +Copyright (C) 2014 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright diff --git a/gas/ChangeLog-2013 b/gas/ChangeLog-2013 new file mode 100644 index 00000000000..82958502efd --- /dev/null +++ b/gas/ChangeLog-2013 @@ -0,0 +1,2105 @@ +2013-12-20 Tristan Gingold + + * doc/c-arm.texi (ARM Directives): Remove duplicate .pad entry. + +2013-12-18 Yufeng Zhang + + * config/tc-aarch64.c (md_assemble): Defer the feature checking until + do_encode () succeeds. + +2013-12-18 Nick Clifton + + * config/tc-rx.c (rx_include): Rename 'eof' to 'last_char' in + order to avoid conflict with same named variable in MinGW system + header file. + +2013-12-13 Nick Clifton + + * config/tc-msp430.c (mcu_types): Add some more 430X mcu names. + (OPTION_INTR_NOPS): Define. + (gen_interrupt_nops): Default to FALSE. + (md_parse_opton): Add support for OPTION_INTR_NOPS. + (md_longopts): Add -mn. + (md_show_usage): Add -mn. + (msp430_operands): Generate NOPs for all MCUs not just 430Xv2. + * doc/c-msp430.c: Document -mn. + +2013-12-13 Kuan-Lin Chen + Wei-Cheng Wang + Hsiang-Kai Wang + Hui-Wen Ni + + * Makefile.am (TARGET_CPU_CFILES): Add config/tc-nds32.c. + (TARGET_CPU_HFILES): Add config/tc-nds32.h. + * Makefile.in: Regenerate. + * configure.in (nds32): Add nds32 target extension config support. + * configure.tgt : Add case for nds32-*-elf* and nds32-*-linux*. + * configure: Regenerate. + * config/tc-nds32.c: New file for nds32. + * config/tc-nds32.h: New file for nds32. + * doc/Makefile.am (CPU_DOCS): Add c-nds32.texi. + * doc/Makefile.in: Regenerate. + * doc/as.texinfo: Add nds32 options. + * doc/all.texi: Set NDS32. + * doc/c-nds32.texi: New file dor nds32 document. + * NEWS: Announce Andes nds32 support. + +2013-12-10 Roland McGrath + + * Makefile.am (install-exec-bindir): Prefix libtool invocation + with $(INSTALL_PROGRAM_ENV). + (install-exec-tooldir): Likewise. + * Makefile.in: Regenerate. + +2013-12-07 Mike Frysinger + + * config/bfin-aux.h: Remove +x file mode. + * config/tc-epiphany.c: Likewise. + * config/tc-epiphany.h: Likewise. + +2013-12-03 Tristan Gingold + + * config/tc-i386-intel.c (i386_intel_simplify): Avoid arithmetic + overflow on pointers. + +2013-11-19 Yufeng Zhang + + Revert + + 2013-11-19 Nick Clifton + + * config/tc-aarch64.c (parse_sys_reg): Do not issue error messages + for deprecated system registers when parsing pstate fields. + +2013-11-19 Nick Clifton + + * config/tc-aarch64.c (parse_sys_reg): Do not issue error messages + for deprecated system registers when parsing pstate fields. + +2013-11-19 Catherine Moore + + * config/tc-mips.c (mips_fix_pmc_rm7000): Declare. + (options): Add OPTION_FIX_PMC_RM7000 and OPTION_NO_FIX_PMC_RM7000. + (md_longopts): Add mfix-pmc-rm7000 and mno-fix-pmc-rm7000. + (INSN_DMULT): Define. + (INSN_DMULTU): Define. + (insns_between): Detect PMC RM7000 errata. + (md_parse_option): Supprt OPTION_FIX_PMC_RM7000 and + OPTION_NO_FIX_PMC_RM7000. + * doc/as.texinfo: Document new options. + * doc/c-mips.texi: Likewise. + +2013-11-19 Alexey Makhalov + + PR gas/16109 + * app.c (do_scrub_chars): Only insert a newline character if + end-of-file has been reached. + +2013-11-18 H.J. Lu + + * config/tc-i386.c (lex_got): Add a dummy "int bnd_prefix" + argument. + +2013-11-18 Renlin Li + + * config/tc-arm.c (arm_archs): New armv7ve architecture option. + (arm_cpus): Replace ARM_ARCH_V7A_IDIV_MP_SEC_VIRT with + ARM_ARCH_V7VE for cortex-a7, cortex-a12 and cortex-a15. + (cpu_arch_ver): Likewise. + * doc/c-arm.texi: Document armv7ve. + +2013-11-18 Zhenqiang Chen + + * config/tc-aarch64.c (parse_sys_reg): Support + S2____. + +2013-11-18 Yufeng Zhang + + Revert + + 2013-11-15 Yufeng Zhang + + * config/tc-aarch64.c (set_other_error): New function. + (parse_sys_reg): Add new parameter 'sys_reg' and if non-NULL set + the variable to which it points with 'o'. + (parse_operands): Update; check for write to read-only system + registers or read from write-only ones. + +2013-11-17 H.J. Lu + + * config/tc-i386.c (reloc): Add an argument, bnd_prefix, to + indicate if instruction has the BND prefix. Return + BFD_RELOC_X86_64_PC32_BND instead of BFD_RELOC_32_PCREL if + bnd_prefix isn't zero. + (output_branch): Pass BFD_RELOC_X86_64_PC32_BND to frag_var + if needed. + (output_jump): Update reloc call. + (output_interseg_jump): Likewise. + (output_disp): Likewise. + (output_imm): Likewise. + (x86_cons_fix_new): Likewise. + (lex_got): Add an argument, bnd_prefix, to indicate if + instruction has the BND prefix. Use BFD_RELOC_X86_64_PLT32_BND + if needed. + (x86_cons): Update lex_got call. + (i386_immediate): Likewise. + (i386_displacement): Likewise. + (md_apply_fix): Handle BFD_RELOC_X86_64_PC32_BND and + BFD_RELOC_X86_64_PLT32_BND. + (tc_gen_reloc): Likewise. + * config/tc-i386-intel.c (i386_operator): Update lex_got call. + +2013-11-15 Yufeng Zhang + + * config/tc-aarch64.c (set_other_error): New function. + (parse_sys_reg): Add new parameter 'sys_reg' and if non-NULL set + the variable to which it points with 'o'. + (parse_operands): Update; check for write to read-only system + registers or read from write-only ones. + +2013-11-15 Michael Zolotukhin + + * config/tc-i386.c (check_VecOperands): Reorder checks. + +2013-11-11 Catherine Moore + + * config/mips/tc-mips.c (convert_reg_type): Use + INSN_LOAD_MEMORY instead of INSN_LOAD_MEMORY_DELAY. + (reg_needs_delay): Likewise. + (insns_between): Likewise. + +2013-11-08 Jan-Benedict Glaw + + * config/tc-aarch64.c (parse_sys_reg): Update to use aarch64_sys_reg; + call aarch64_sys_reg_deprecated_p and warn about the deprecated + system registers. + +2013-11-05 Yufeng Zhang + + * config/tc-aarch64.c (parse_operands): Handle AARCH64_OPND_COND1. + +2013-11-05 Will Newton + + PR gas/16103 + * config/tc-aarch64.c (parse_operands): Avoid trying to + parse a vector register as an immediate. + +2013-11-04 Jan Beulich + + * config/tc-i386.c (check_long_reg): Correct comment indentation. + (check_qword_reg): Correct comment and its indentation. + (check_word_reg): Extend comment and correct its indentation. Also + check for 64-bit register. + +2013-10-30 Ulrich Weigand + + * config/tc-ppc.c (md_pseudo_table): Add .localentry. + (ppc_elf_localentry): New function. + (ppc_force_relocation): Force relocs on all branches to localenty + symbols. + (ppc_fix_adjustable): Don't reduce such symbols to section+offset. + +2013-10-30 Alan Modra + + * config/tc-ppc.c: Include elf/ppc64.h. + (ppc_abiversion): New variable. + (md_pseudo_table): Add .abiversion. + (ppc_elf_abiversion, ppc_elf_end): New functions. + * config/tc-ppc.h (md_end): Define. + +2013-10-30 Alan Modra + + * config/tc-ppc.c (SEX16): Don't mask. + (REPORT_OVERFLOW_HI): Define as zero. + (ppc_elf_suffix): Support @high, @higha, @dtprel@high, @dtprel@higha, + @tprel@high, and @tprel@higha modifiers. + (md_assemble): Ignore X_unsigned when applying 16-bit insn fields. + Add (disabled) code to check @h and @ha reloc overflow for powerpc64. + Handle new relocs. + (md_apply_fix): Similarly. + +2013-10-18 Chao-ying Fu + + * config/tc-mips.c (fpr_read_mask): Test MSA registers. + (fpr_write_mask): Test MSA registers. + (can_swap_branch_p): Check fpr write followed by fpr read. + +2013-10-18 Nick Clifton + + * config/tc-tic6x.c (tic6x_parse_operand): Revert previous delta. + +2013-10-14 Richard Sandiford + Chao-ying Fu + + * config/tc-mips.c (options): Add OPTION_MSA and OPTION_NO_MSA. + (md_longopts): Add mmsa and mno-msa. + (mips_ases): Add msa. + (RTYPE_MASK): Update. + (RTYPE_MSA): New define. + (OT_REG_ELEMENT): Replace with... + (OT_INTEGER_INDEX, OT_REG_INDEX): ...these new operand types. + (mips_operand_token): Replace reg_element with index. + (mips_parse_argument_token): Treat vector indices as separate tokens. + Handle register indices. + (md_begin): Add MSA register names. + (operand_reg_mask): Handle cases for OP_IMM_INDEX and OP_REG_INDEX. + (convert_reg_type): Handle cases for OP_REG_MSA and OP_REG_MSA_CTRL. + (match_mdmx_imm_reg_operand): Update accordingly. + (match_imm_index_operand): New function. + (match_reg_index_operand): New function. + (match_operand): Handle cases for OP_IMM_INDEX and OP_REG_INDEX. + (md_convert_frag): Convert bz.b/h/w/d, bnz.b/h/w/d, bz.v bnz.v. + (md_show_usage): Print -mmsa and -mno-msa. + * doc/as.texinfo: Document -mmsa and -mno-msa. + * doc/c-mips.texi: Document -mmsa and -mno-msa. + Document .set msa and .set nomsa. + +2013-10-14 Nick Clifton + + * read.c (add_include_dir): Use xrealloc. + * config/tc-score.c (do_macro_bcmp): Initialise inst_main. + * config/tc-tic6x.c (tic6x_parse_operand): Initialise second_reg. + +2013-10-13 Sandra Loosemore + + * config/tc-nios2.c (nios2_consume_arg): Make the "ba" warning + also test/refer to "sstatus". Reformat the warning message. + +2013-10-10 Sean Keys + + * tc-xgate.c (xgate_find_match): Refactor opcode matching. + +2013-10-10 Jan Beulich + + * tc-i386-intel.c (i386_intel_simplify_register): Suppress base/index + swapping for bndmk, bndldx, and bndstx. + +2013-10-09 Nick Clifton + + PR gas/16025 + * config/tc-epiphany.c (md_convert_frag): Add missing break + statement. + + PR gas/16026 + * config/tc-mn10200.c (md_convert_frag): Add missing break + statement. + +2013-10-08 Jan Beulich + + * tc-i386.c (check_word_reg): Remove misplaced "else". + (check_long_reg): Restore symmetry with check_word_reg. + +2013-10-08 Jan Beulich + + * gas/config/tc-arm.c (do_t_push_pop): Honor inst.size_req. Simplify + LR/PC check. + +2013-10-08 Nick Clifton + + * config/tc-msp430.c (msp430_operands): Accept ".a" as an alias + for "a". Issue error messages for unrecognised or corrrupt + size extensions. + +2013-10-04 Kyrylo Tkachov + + * config/tc-arm.c (do_t_mvn_tst): Use narrow form for tst when + possible. + +2013-09-30 Saravanan Ekanathan + + * config/tc-i386.c (cpu_arch): Add CPU_BDVER4_FLAGS. + * doc/c-i386.texi: Add -march=bdver4 option. + +2013-09-20 Alan Modra + + * configure: Regenerate. + +2013-09-18 Tristan Gingold + + * NEWS: Add marker for 2.24. + +2013-09-18 Nick Clifton + + * config/tc-msp430.c (OPTION_MOVE_DATA): Define. + (move_data): New variable. + (md_parse_option): Parse -md. + (msp430_section): New function. Catch references to the .bss or + .data sections and generate a special symbol for use by the libcrt + library. + (md_pseudo_table): Intercept .section directives. + (md_longopt): Add -md + (md_show_usage): Likewise. + (msp430_operands): Generate a warning message if a NOP is inserted + into the instruction stream. + * doc/c-msp430.texi (node MSP430 Options): Document -md option. + +2013-09-17 Doug Gilmore + + * config/tc-mips.c (mips_elf_final_processing): Set + EF_MIPS_FP64 for -mgp32 -mfp64, removing old FIXME. + +2013-09-16 Will Newton + + * config/tc-arm.c (do_neon_ld_st_interleave): Add constraint + disallowing element size 64 with interleave other than 1. + +2013-09-12 Chao-ying Fu + + * config/tc-mips.c (match_insn): Set error when $31 is used for + bltzal* and bgezal*. + +2013-09-04 Tristan Gingold + + * config/tc-ppc.c (md_apply_fix): Handle defined after use toc + symbols. + +2013-09-04 Roland McGrath + + PR gas/15914 + * config/tc-arm.c (T16_32_TAB): Add _udf. + (do_t_udf): New function. + (insns): Add "udf". + +2013-08-23 Sandeep Kumar Singh + + * config/rx-parse.y: Rearrange the components of a bison grammar to issue + assembler errors at correct position. + +2013-08-23 Yuri Chornoivan + + PR binutils/15834 + * config/tc-ia64.c: Fix typos. + * config/tc-sparc.c: Likewise. + * config/tc-z80.c: Likewise. + * doc/c-i386.texi: Likewise. + * doc/c-m32r.texi: Likewise. + +2013-08-23 Will Newton + + * config/tc-arm.c: (do_neon_ldx_stx): Add extra constraints + for pre-indexed addressing modes. + +2013-08-21 Alan Modra + + * symbols.c (fb_label_instance_inc, fb_label_instance): Properly + range check label number for use with fb_low_counter array. + +2013-08-19 Richard Sandiford + + * config/tc-mips.c (mips_check_isa_supports_ase, reg_lookup) + (mips_parse_argument_token, validate_micromips_insn, md_begin) + (check_regno, match_float_constant, check_completed_insn, append_insn) + (match_insn, match_mips16_insn, match_insns, macro_start) + (macro_build_ldst_constoffset, load_register, macro, mips_ip) + (mips16_ip, mips_set_option_string, md_parse_option) + (mips_after_parse_args, mips_after_parse_args, md_pcrel_from) + (md_apply_fix, s_align, s_option, s_mipsset, s_tls_rel_directive) + (s_gpword, s_gpdword, s_ehword, s_nan, tc_gen_reloc, md_convert_frag) + (s_mips_end, s_mips_ent, s_mips_frame, s_mips_mask, mips_parse_cpu): + Start error messages with a lower-case letter. Do not end error + messages with a period. Wrap long messages to 80 character-lines. + Use "cannot" instead of "can't" and "can not". + +2013-08-19 Richard Sandiford + + * config/tc-mips.c (imm_expr): Expand comment. + (set_at, macro, mips16_macro): Expect imm_expr to be O_constant + when populated. + +2013-08-19 Richard Sandiford + + * config/tc-mips.c (imm2_expr): Delete. + (md_assemble, match_insn, imm2_expr.X_op, mips_ip): Update accordingly. + +2013-08-19 Richard Sandiford + + * config/tc-mips.c (report_bad_range, report_bad_field): Delete. + (macro): Remove M_DEXT and M_DINS handling. + +2013-08-19 Richard Sandiford + + * config/tc-mips.c (mips_arg_info): Replace allow_nonconst and + lax_max with lax_match. + (match_int_operand): Update accordingly. Don't report an error + for !lax_match-only cases. + (match_insn): Replace more_alts with lax_match and use it to + initialize the mips_arg_info field. Add a complete_p parameter. + Handle implicit VU0 suffixes here. + (match_invalid_for_isa, match_insns, match_mips16_insns): New + functions. + (mips_ip, mips16_ip): Use them. + +2013-08-19 Richard Sandiford + + * config/tc-mips.c (match_expression): Report uses of registers here. + Add a "must be an immediate expression" error. Handle elided offsets + here rather than... + (match_int_operand): ...here. + +2013-08-19 Richard Sandiford + + * config/tc-mips.c (mips_arg_info): Remove soft_match. + (match_out_of_range, match_not_constant): New functions. + (match_const_int): Remove fallback parameter and check for soft_match. + Use match_not_constant. + (match_mapped_int_operand, match_addiusp_operand) + (match_perf_reg_operand, match_save_restore_list_operand) + (match_mdmx_imm_reg_operand): Update accordingly. Use + match_out_of_range and set_insn_error* instead of as_bad. + (match_int_operand): Likewise. Use match_not_constant in the + !allows_nonconst case. + (match_float_constant): Report invalid float constants. + (match_insn, match_mips16_insn): Remove soft_match code. Rely on + match_float_constant to check for invalid constants. Fail the + match if match_const_int or match_float_constant return false. + (mips_ip): Update accordingly. + (mips16_ip): Likewise. Undo null termination of instruction name + once lookup is complete. + +2013-08-19 Richard Sandiford + + * config/tc-mips.c (mips_insn_error_format): New enum. + (mips_insn_error): New struct. + (insn_error): Change to a mips_insn_error. + (clear_insn_error, set_insn_error_format, set_insn_error) + (set_insn_error_i, set_insn_error_ss, report_insn_error): New + functions. + (mips_parse_argument_token, md_assemble, match_insn) + (match_mips16_insn): Use them instead of manipulating insn_error + directly. + (mips_ip, mips16_ip): Likewise. Simplify control flow. + +2013-08-19 Richard Sandiford + + * config/tc-mips.c (normalize_constant_expr): Move further up file. + (normalize_address_expr): Likewise. + (match_insn, match_mips16_insn): New functions, split out from... + (mips_ip, mips16_ip): ...here. + +2013-08-19 Richard Sandiford + + * config/tc-mips.c (operand_reg_mask, match_operand): Handle + OP_OPTIONAL_REG. + (mips_ip, mips16_ip): Use mips_optional_operand_p to check + for optional operands. + +2013-08-16 Alan Modra + + * config/tc-ppc.c (ppc_elf_cons): Allow @l and other reloc + modifiers generally. + +2013-08-16 Alan Modra + + * config/tc-ppc.c (ppc_elf_lcomm): Use subsection 1. + +2013-08-14 David Edelsohn + + * config/tc-ppc.c (ppc_comm): Accept optional fourth .lcomm + argument as alignment. + +2013-08-09 Nick Clifton + + * config/tc-rl78.c (elf_flags): New variable. + (enum options): Add OPTION_G10. + (md_longopts): Add mg10. + (md_parse_option): Parse -mg10. + (rl78_elf_final_processing): New function. + * config/tc-rl78.c (tc_final_processing): Define. + * doc/c-rl78.texi: Document -mg10 option. + +2013-08-06 Jürgen Urban + + * config/tc-mips.c (match_vu0_suffix_operand): Allow single-channel + suffixes to be elided too. + (mips_lookup_insn): Don't reject INSN2_VU0_CHANNEL_SUFFIX here. + (mips_ip): Assume .xyzw if no VU0 suffix is specified. Allow +N + to be omitted too. + +2013-08-05 John Tytgat + + * po/POTFILES.in: Regenerate. + +2013-08-05 Eric Botcazou + Konrad Eisele + + * config/tc-sparc.c (sparc_arch_types): Add leon. + (sparc_arch): Move sparc4 around and add leon. + (sparc_target_format): Document -Aleon. + * doc/c-sparc.texi: Likewise. + +2013-08-05 Richard Sandiford + + * config/tc-mips.c (mips_lookup_insn): Make length and opend signed. + +2013-08-04 Jürgen Urban + Richard Sandiford + + * config/tc-mips.c (MAX_OPERANDS): Bump to 6. + (RWARN): Bump to 0x8000000. + (RTYPE_VI, RTYPE_VF, RTYPE_R5900_I, RTYPE_R5900_Q, RTYPE_R5900_R) + (RTYPE_R5900_ACC): New register types. + (RTYPE_MASK): Include them. + (R5900_I_NAMES, R5900_Q_NAMES, R5900_R_NAMES, R5900_ACC_NAMES): New + macros. + (reg_names): Include them. + (mips_parse_register_1): New function, split out from... + (mips_parse_register): ...here. Add a channels_ptr parameter. + Look for VU0 channel suffixes when nonnull. + (reg_lookup): Update the call to mips_parse_register. + (mips_parse_vu0_channels): New function. + (OT_CHANNELS, OT_DOUBLE_CHAR): New mips_operand_token_types. + (mips_operand_token): Add a "channels" field to the union. + Extend the comment above "ch" to OT_DOUBLE_CHAR. + (mips_parse_base_start): Match -- and ++. Handle channel suffixes. + (mips_parse_argument_token): Handle channel suffixes here too. + (validate_mips_insn): Handle INSN2_VU0_CHANNEL_SUFFIX. + Ignore OP_VU0_MATCH_SUFFIX when calculating the used bits. + Handle '#' formats. + (md_begin): Register $vfN and $vfI registers. + (operand_reg_mask): Handle OP_VU0_SUFFIX and OP_VU0_MATCH_SUFFIX. + (convert_reg_type): Handle OP_REG_VI, OP_REG_VF, OP_REG_R5900_I, + OP_REG_R5900_Q, OP_REG_R5900_R and OP_REG_R5900_ACC. + (match_vu0_suffix_operand): New function. + (match_operand): Handle OP_VU0_SUFFIX and OP_VU0_MATCH_SUFFIX. + (macro): Use "+7" rather than "E" for LDQ2 and STQ2. + (mips_lookup_insn): New function. + (mips_ip): Use it. Allow "+K" operands to be elided at the end + of an instruction. Handle '#' sequences. + +2013-08-03 Richard Sandiford + + * config/tc-mips.c (macro, mips16_macro): Create an array of operand + values and use it instead of sreg, treg, xreg, etc. + +2013-08-03 Richard Sandiford + + * config/tc-mips.c (match_int_operand): Use mips_int_operand_min + and mips_int_operand_max. + (mips16_immed_operand, mips16_immed_operands, MIPS16_NUM_IMMED): + Delete. + (mips16_immed_operand, mips16_immed_in_range_p): New functions. + (mips16_immed, mips16_extended_frag): Use them. Use mips_int_operand + instead of mips16_immed_operand. + +2013-08-03 Richard Sandiford + + * config/tc-mips.c (mips16_macro): Don't use move_register. + (mips16_ip): Allow macros to use 'p'. + +2013-08-01 Richard Sandiford + + * config/tc-mips.c (MAX_OPERANDS): New macro. + (mips_operand_array): New structure. + (mips_operands, mips16_operands, micromips_operands): New arrays. + (micromips_to_32_reg_b_map, micromips_to_32_reg_c_map) + (micromips_to_32_reg_e_map, micromips_to_32_reg_f_map) + (micromips_to_32_reg_g_map, micromips_to_32_reg_l_map) + (micromips_to_32_reg_q_map): Delete. + (insn_operands, insn_opno, insn_extract_operand): New functions. + (validate_mips_insn): Take a mips_operand_array as argument and + use it to build up a list of operands. Extend to handle INSN_MACRO + and MIPS16. + (validate_mips16_insn): New function. + (validate_micromips_insn): Take a mips_operand_array as argument. + Handle INSN_MACRO. + (md_begin): Initialize mips_operands, mips16_operands and + micromips_operands. Call validate_mips_insn and + validate_micromips_insn for macro instructions too. + Call validate_mips16_insn for MIPS16 instructions. + (insn_read_mask, insn_write_mask, operand_reg_mask, insn_reg_mask): + New functions. + (gpr_read_mask, gpr_write_mask, fpr_read_mask, fpr_write_mask): Use + them. Handle INSN_UDI. + (get_append_method): Use gpr_read_mask. + +2013-08-01 Richard Sandiford + + * config/tc-mips.c (compact_branch_p, uncond_branch_p): Use the same + flags for MIPS16 and non-MIPS16 instructions. + (gpr_mod_mask): Move the INSN2_MOD_SP case outside the micromips block. + (gpr_read_mask): Use INSN2_READ_GPR_31 for MIPS16 instructions too. + (gpr_write_mask): Remove MIPS16_INSN_WRITE_SP handling. + (can_swap_branch_p, get_append_method): Use the same flags for MIPS16 + and non-MIPS16 instructions. Fix formatting. + +2013-08-01 Richard Sandiford + + * config/tc-mips.c (reg_needs_delay): Move later in file. + Use gpr_write_mask. + (insns_between): Use gpr_read_mask instead of EXTRACT_OPERAND. + +2013-07-26 Sergey Guriev + Alexander Ivchenko + Maxim Kuznetsov + Sergey Lega + Anna Tikhonova + Ilya Tocar + Andrey Turetskiy + Ilya Verbin + Kirill Yukhin + Michael Zolotukhin + + * config/tc-i386-intel.c (O_zmmword_ptr): New. + (i386_types): Add zmmword. + (i386_intel_simplify_register): Allow regzmm. + (i386_intel_simplify): Handle zmmwords. + (i386_intel_operand): Handle RC/SAE, vector operations and + zmmwords. + * config/tc-i386.c (ZMMWORD_MNEM_SUFFIX): New. + (struct RC_Operation): New. + (struct Mask_Operation): New. + (struct Broadcast_Operation): New. + (vex_prefix): Size of bytes increased to 4 to support EVEX + encoding. + (enum i386_error): Add new error codes: unsupported_broadcast, + broadcast_not_on_src_operand, broadcast_needed, + unsupported_masking, mask_not_on_destination, no_default_mask, + unsupported_rc_sae, rc_sae_operand_not_last_imm, + invalid_register_operand, try_vector_disp8. + (struct _i386_insn): Add new fields vrex, need_vrex, mask, + rounding, broadcast, memshift. + (struct RC_name): New. + (RC_NamesTable): New. + (evexlig): New. + (evexwig): New. + (extra_symbol_chars): Add '{'. + (cpu_arch): Add AVX512F, AVX512CD, AVX512ER and AVX512PF. + (i386_operand_type): Add regzmm, regmask and vec_disp8. + (match_mem_size): Handle zmmwords. + (operand_type_match): Handle zmm-registers. + (mode_from_disp_size): Handle vec_disp8. + (fits_in_vec_disp8): New. + (md_begin): Handle {} properly. + (type_names): Add "rZMM", "Mask reg" and "Vector d8". + (build_vex_prefix): Handle vrex. + (build_evex_prefix): New. + (process_immext): Adjust to properly handle EVEX. + (md_assemble): Add EVEX encoding support. + (swap_2_operands): Correctly handle operands with masking, + broadcasting or RC/SAE. + (check_VecOperands): Support EVEX features. + (VEX_check_operands): Properly handle 16 upper [xyz]mm registers. + (match_template): Support regzmm and handle new error codes. + (process_suffix): Handle zmmwords and zmm-registers. + (check_byte_reg): Extend to zmm-registers. + (process_operands): Extend to zmm-registers. + (build_modrm_byte): Handle EVEX. + (output_insn): Adjust to properly handle EVEX case. + (disp_size): Handle vec_disp8. + (output_disp): Support compressed disp8*N evex feature. + (output_imm): Handle RC/SAE immediates properly. + (check_VecOperations): New. + (i386_immediate): Handle EVEX features. + (i386_index_check): Handle zmmwords and zmm-registers. + (RC_SAE_immediate): New. + (i386_att_operand): Handle EVEX features. + (parse_real_register): Add a check for ZMM/Mask registers. + (OPTION_MEVEXLIG): New. + (OPTION_MEVEXWIG): New. + (md_longopts): Add mevexlig and mevexwig. + (md_parse_option): Handle mevexlig and mevexwig options. + (md_show_usage): Add description for mevexlig and mevexwig. + * doc/c-i386.texi: Document avx512f/.avx512f, avx512cd/.avx512cd, + avx512er/.avx512er, avx512pf/.avx512pf, mevexlig and mevexwig. + +2013-07-25 Michael Zolotukhin + + * config/tc-i386.c (cpu_arch): Add .sha. + * doc/c-i386.texi: Document sha/.sha. + +2013-07-24 Anna Tikhonova + Kirill Yukhin + Michael Zolotukhin + + * config/tc-i386.c (BND_PREFIX): New. + (struct _i386_insn): Add new field bnd_prefix. + (add_bnd_prefix): New. + (cpu_arch): Add MPX. + (i386_operand_type): Add regbnd. + (md_assemble): Handle BND prefixes. + (parse_insn): Likewise. + (output_branch): Likewise. + (output_jump): Likewise. + (build_modrm_byte): Handle regbnd. + (OPTION_MADD_BND_PREFIX): New. + (md_longopts): Add entry for 'madd-bnd-prefix'. + (md_parse_option): Handle madd-bnd-prefix option. + (md_show_usage): Add description for madd-bnd-prefix + option. + * doc/c-i386.texi: Document mpx/.mpx and -madd-bnd-prefix. + +2013-07-24 Tristan Gingold + + * config/tc-ppc.c (md_apply_fix): Adjust BFD_RELOC_PPC_B16 on + xcoff targets. + +2013-07-24 Andreas Krebbel + + * config/tc-s390.c (s390_machine): Don't force the .machine + argument to lower case. + +2013-07-22 Kyrylo Tkachov + + * config/tc-arm.c (s_arm_arch_extension): Improve error message + for invalid extension. + +2013-07-19 Yufeng Zhang + + * config/tc-aarch64.c (enum aarch64_abi_type): New enumeration tag. + (AARCH64_ABI_LP64, AARCH64_ABI_ILP32): New enumerators. + (aarch64_abi): New variable. + (ilp32_p): Change to be a macro. + (aarch64_opts): Remove the support for option -milp32 and -mlp64. + (struct aarch64_option_abi_value_table): New struct. + (aarch64_abis): New table. + (aarch64_parse_abi): New function. + (aarch64_long_opts): Add entry for -mabi=. + * doc/as.texinfo (Target AArch64 options): Document -mabi. + * doc/c-aarch64.texi: Likewise. + +2013-07-18 Jim Thomas + + * config/tc-i386-intel.c (i386_intel_operand): Fixed signed vs + unsigned comparison. + +2013-07-18 Sandeep Kumar Singh + + * config/rx-defs.h: Add macros for RX100, RX200, RX600, and + RX610. + * config/rx-parse.y: (rx_check_float_support): Add function to + check floating point operation support for target RX100 and + RX200. + * config/tc-rx.c: Add CPU options RX100, RX200, RX600, and RX610. + * doc/c-rx.texi: Add -mcpu option to recognize macros for RX100, + RX200, RX600, and RX610 + +2013-07-18 Senthil Kumar Selvaraj + + * config/tc-avr.c (md_show_usage): Add avrxmega2 to help text + +2013-07-18 Vishnu K.S + + * config/tc-avr.c: Make ata6289's ISA to AVR_ISA_AVR4. + * doc/c-avr.texi: Likewise. + +2013-07-15 Richard Sandiford + + * config/tc-mips.c (match_save_restore_list_operand): Avoid -Wformat + error with older GCCs. + (mips16_macro_build): Dereference args. + +2013-07-14 Richard Sandiford + + * config/tc-mips.c (mips_prefer_vec_regno, mips_parse_register): + New functions, split out from... + (reg_lookup): ...here. Remove itbl support. + (reglist_lookup): Delete. + (mips_operand_token_type): New enum. + (mips_operand_token): New structure. + (mips_operand_tokens): New variable. + (mips_add_token, mips_parse_base_start, mips_parse_argument_token) + (mips_parse_arguments): New functions. + (md_begin): Initialize mips_operand_tokens. + (mips_arg_info): Add a token field. Remove optional_reg field. + (match_char, match_expression): New functions. + (match_const_int): Use match_expression. Remove "s" argument + and return a boolean result. Remove O_register handling. + (match_regno, match_reg, match_reg_range): New functions. + (match_int_operand, match_mapped_int_operand, match_msb_operand) + (match_reg_operand, match_reg_pair_operand, match_perf_reg_operand) + (match_addiusp_operand, match_clo_clz_dest_operand) + (match_lwm_swm_list_operand, match_entry_exit_operand) + (match_save_restore_list_operand, match_mdmx_imm_reg_operand) + (match_tied_reg_operand): Remove "s" argument and return a boolean + result. Match tokens rather than text. Update calls to + match_const_int. Rely on match_regno to call check_regno. + (match_pcrel_operand, match_pc_operand): Replace "s" argument with + "arg" argument. Return a boolean result. + (parse_float_constant): Replace with... + (match_float_constant): ...this new function. + (match_operand): Remove "s" argument and return a boolean result. + Update calls to subfunctions. + (mips_ip, mips16_ip): Call mips_parse_arguments. Use match routines + rather than string-parsing routines. Update handling of optional + registers for token scheme. + +2013-07-14 Richard Sandiford + + * config/tc-mips.c (parse_float_constant): Split out from... + (mips_ip): ...here. + +2013-07-14 Richard Sandiford + + * config/tc-mips.c (INSERT_BITS, INSERT_OPERAND, MIPS16_INSERT_OPERAND): + Delete. + +2013-07-14 Richard Sandiford + + * config/tc-mips.c (mips32_to_16_reg_map): Delete. + (match_entry_exit_operand): New function. + (match_save_restore_list_operand): Likewise. + (match_operand): Use them. + (check_absolute_expr): Delete. + (mips16_ip): Rewrite main parsing loop to use mips_operands. + +2013-07-14 Richard Sandiford + + * config/tc-mips.c: Enable functions commented out in previous patch. + (SKIP_SPACE_TABS): Move further up file. + (mips32_to_micromips_reg_b_map, mips32_to_micromips_reg_c_map) + (mips32_to_micromips_reg_d_map, mips32_to_micromips_reg_e_map) + (ips32_to_micromips_reg_f_map, mips32_to_micromips_reg_g_map) + (mips32_to_micromips_reg_l_map, mips32_to_micromips_reg_m_map) + (mips32_to_micromips_reg_q_map, mips32_to_micromips_reg_n_map) + (micromips_imm_b_map, micromips_imm_c_map): Delete. + (mips_lookup_reg_pair): Delete. + (macro): Use report_bad_range and report_bad_field. + (mips_immed, expr_const_in_range): Delete. + (mips_ip): Rewrite main parsing loop to use new functions. + +2013-07-14 Richard Sandiford + + * config/tc-mips.c (mips_oddfpreg_ok): Move further up file. + Change return type to bfd_boolean. + (report_bad_range, report_bad_field): New functions. + (mips_arg_info): New structure. + (match_const_int, convert_reg_type, check_regno, match_int_operand) + (match_mapped_int_operand, match_msb_operand, match_reg_operand) + (match_reg_pair_operand, match_pcrel_operand, match_perf_reg_operand) + (match_addiusp_operand, match_clo_clz_dest_operand) + (match_lwm_swm_list_operand, match_mdmx_imm_reg_operand) + (match_pc_operand, match_tied_reg_operand, match_operand) + (check_completed_insn): New functions, commented out for now. + +2013-07-14 Richard Sandiford + + * config/tc-mips.c (insn_insert_operand): New function. + (macro_build, mips16_macro_build): Put null character check + in the for loop and convert continues to breaks. Use operand + structures to handle constant operands. + +2013-07-14 Richard Sandiford + + * config/tc-mips.c (validate_mips_insn): Move further up file. + Add insn_bits and decode_operand arguments. Use the mips_operand + fields to work out which bits an operand occupies. Detect double + definitions. + (validate_micromips_insn): Move further up file. Call into + validate_mips_insn. + +2013-07-14 Richard Sandiford + + * config/tc-mips.c (mips16_macro_build): Remove 'Y' case. + +2013-07-14 Richard Sandiford + + * config/tc-mips.c (macro_build): Take an int for "C", "k", "\\" + and "~". + (macro): Update accordingly. + +2013-07-14 Richard Sandiford + + * config/tc-mips.c (imm_expr, imm2_expr, offset_expr): Tweak commentary. + (imm_reloc): Delete. + (md_assemble): Remove imm_reloc handling. + (mips_ip): Update commentary. Use offset_expr and offset_reloc + rather than imm_expr and imm_reloc for 'i', 'j' and 'u'. + Use a temporary array rather than imm_reloc when parsing + constant expressions. Remove imm_reloc initialization. + (mips16_ip): Update commentary. Use offset_expr and offset_reloc + for the relaxable field. Use a relax_char variable to track the + type of this field. Remove imm_reloc initialization. + +2013-07-14 Richard Sandiford + + * config/tc-mips.c (mips16_ip): Handle "I". + +2013-07-12 Maciej W. Rozycki + + * config/tc-mips.c (mips_flag_nan2008): New variable. + (options): Add OPTION_NAN enum value. + (md_longopts): Handle it. + (md_parse_option): Likewise. + (s_nan): New function. + (mips_elf_final_processing): Handle EF_MIPS_NAN2008. + (md_show_usage): Add -mnan. + + * doc/as.texinfo (Overview): Add -mnan. + * doc/c-mips.texi (MIPS Opts): Document -mnan. + (MIPS NaN Encodings): New node. Document .nan directive. + (MIPS-Dependent): List the new node. + +2013-07-09 Tristan Gingold + + * configure.com: Define HAVE_SYS_TYPES_H and HAVE_UNISTD_H + +2013-07-08 Richard Sandiford + + * config/tc-mips.c (mips_ip): Unconditionally parse an expression + for 'A' and assume that the constant has been elided if the result + is an O_register. + +2013-07-07 Richard Sandiford + + * config/tc-mips.c (gprel16_reloc_p): New function. + (macro_read_relocs): Assume BFD_RELOC_LO16 if all relocs are + BFD_RELOC_UNUSED. + (offset_high_part, small_offset_p): New functions. + (nacro): Use them. Remove *_OB and *_DOB cases. For single- + register load and store macros, handle the 16-bit offset case first. + If a 16-bit offset is not suitable for the instruction we're + generating, load it into the temporary register using + ADDRESS_ADDI_INSN. Make the M_LI_DD code fall through into the + M_L_DAB code once the address has been constructed. For double load + and store macros, again handle the 16-bit offset case first. + If the second register cannot be accessed from the same high + part as the first, load it into AT using ADDRESS_ADDI_INSN. + Fix the handling of LD in cases where the first register is the + same as the base. Also handle the case where the offset is + not 16 bits and the second register cannot be accessed from the + same high part as the first. For unaligned loads and stores, + fuse the offbits == 12 and old "ab" handling. Apply this handling + whenever the second offset needs a different high part from the first. + Construct the offset using ADDRESS_ADDI_INSN where possible, + for offbits == 16 as well as offbits == 12. Use offset_reloc + when constructing the individual loads and stores. + (mips_ip): Set up imm_expr, imm2_expr, offset_expr, imm_reloc + and offset_reloc before matching against a particular opcode. + Handle elided 'A' constants. Allow 'A' constants to use + relocation operators. + +2013-07-07 Richard Sandiford + + * config/tc-mips.c (validate_mips_insn): Remove "[" and "]" handling. + (mips_ip): Likewise. Do not set is_mdmx for INSN_5400 instructions. + Check constraints on the VR5400 RZU.OB, SLL.OB and SRL.OB instructions. + +2013-07-07 Richard Sandiford + + * config/tc-mips.c (mips_ip): Preserve the real bit number for "+p". + Require the msb to be <= 31 for "+s". Check that the size is <= 31 + for both "+s" and "+S". + +2013-07-07 Richard Sandiford + + * config/tc-mips.c (validate_mips_insn, validate_micromips_insn): + (mips_ip, mips16_ip): Handle "+i". + +2013-07-07 Richard Sandiford + + * config/tc-mips.c (mips32_to_micromips_reg_h_map): Delete. + (micromips_to_32_reg_h_map): Rename to... + (micromips_to_32_reg_h_map1): ...this. + (micromips_to_32_reg_i_map): Rename to... + (micromips_to_32_reg_h_map2): ...this. + (mips_lookup_reg_pair): New function. + (gpr_write_mask, macro): Adjust after above renaming. + (validate_micromips_insn): Remove "mi" handling. + (mips_ip): Likewise. Parse both registers in a pair for "mh". + +2013-07-07 Richard Sandiford + + * config/tc-mips.c (validate_mips_insn, validate_micromips_insn) + (mips_ip): Remove "+D" and "+T" handling. + +2013-07-05 Andreas Krebbel + + * config/tc-s390.c (md_gather_operands, md_apply_fix): Support new + relocs. + +2013-07-03 Marcus Shawcroft + + * config/tc-aarch64.c (reloc_table): Merge got_prel19 into got. + +2013-07-02 Marcus Shawcroft + + * config/tc-aarch64.c (md_apply_fix): Reorder case values. + (aarch64_force_relocation): Likewise. + +2013-07-02 Alan Modra + + * config/tc-ppc.c (ppc_elf_adjust_symtab): Don't make .TOC. weak. + +2013-06-26 Maciej W. Rozycki + + * doc/as.texinfo (Overview): Remove @samp from MIPS ISA names. + * doc/c-mips.texi (MIPS Options): Remove @sc from MIPS ISA names. + Replace @sc{mips16} with literal `MIPS16'. + (MIPS ISA): Replace @sc{mips3} with literal `MIPS III'. + +2013-06-26 Yufeng Zhang + + * config/tc-aarch64.c (reloc_table): Replace + BFD_RELOC_AARCH64_LD64_GOT_LO12_NC with + BFD_RELOC_AARCH64_LD_GOT_LO12_NC; likewise to + BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC and + BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_LO12_NC. + (md_apply_fix): Handle BFD_RELOC_AARCH64_LD_GOT_LO12_NC, + BFD_RELOC_AARCH64_LD32_GOT_LO12_NC, + BFD_RELOC_AARCH64_TLSDESC_LD_LO12_NC, + BFD_RELOC_AARCH64_TLSDESC_LD32_LO12_NC, + BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_LO12_NC and + BFD_RELOC_AARCH64_TLSIE_LD32_GOTTPREL_LO12_NC. + (aarch64_force_relocation): Likewise. + +2013-06-26 Yufeng Zhang + + * config/tc-aarch64.c (ilp32_p): New static variable. + (elf64_aarch64_target_format): Return the target according to the + value of 'ilp32_p'. + (md_begin): Determine 'mach' according to the value of 'ilp32_p'. + (aarch64_opts): Add support for options '-milp32' and '-mlp64'. + (aarch64_dwarf2_addr_size): New function. + * config/tc-aarch64.h (aarch64_dwarf2_addr_size): New declaration. + (DWARF2_ADDR_SIZE): New define. + +2013-06-26 Richard Sandiford + + * doc/c-mips.texi: Use ISA instead of @sc{isa}. + +2013-06-26 Richard Sandiford + + * config/tc-mips.c (validate_mips_insn): Use STYPE rather than SHAMT. + +2013-06-25 Maciej W. Rozycki + + * config/tc-mips.c (mips_set_options): Add insn32 member. + (mips_opts): Initialize it. + (NOP_INSN, NOP_INSN_SIZE): Handle insn32 mode. + (options): Add OPTION_INSN32 and OPTION_NO_INSN32 enum values. + (md_longopts): Add "minsn32" and "mno-insn32" options. + (is_size_valid): Handle insn32 mode. + (md_assemble): Pass instruction string down to macro. + (brk_fmt): Add second dimension and insn32 mode initializers. + (mfhl_fmt): Likewise. + (BRK_FMT, MFHL_FMT): Handle insn32 mode. + (macro_build) <'c'>: Handle microMIPS 32-bit BREAK encoding. + (macro_build_jalr, move_register): Handle insn32 mode. + (macro_build_branch_rs): Likewise. + (macro): Handle insn32 mode. + , , : New cases. + (mips_ip): Handle insn32 mode. + (md_parse_option): Handle OPTION_INSN32 and OPTION_NO_INSN32. + (s_mipsset): Handle "insn32" and "noinsn32" pseudo-ops. + (mips_handle_align): Handle insn32 mode. + (md_show_usage): Add -minsn32 and -mno-insn32. + + * doc/as.texinfo (Target MIPS options): Add -minsn32 and + -mno-insn32 options. + (-minsn32, -mno-insn32): New options. + * doc/c-mips.texi (MIPS Opts): Add -minsn32 and -mno-insn32 + options. + (MIPS assembly options): New node. Document .set insn32 and + .set noinsn32. + (MIPS-Dependent): List the new node. + +2013-06-25 Nick Clifton + + * config/tc-msp430.c (msp430_srcoperand): Do not allow the use of + the PC in indirect addressing on 430xv2 parts. + (msp430_operands): Add version test to hardware bug encoding + restrictions. + +2013-06-24 Roland McGrath + + * config/tc-arm.c (parse_reg_list): Use skip_past_char for '}', + so it skips whitespace before it. + (s_arm_unwind_save_mmxwr, s_arm_unwind_save_mmxwcg): Likewise. + + * config/tc-arm.c (arm_symbol_chars): Include '{' and '}'. + (arm_reg_parse_multi): Skip whitespace first. + (parse_reg_list): Likewise. + (parse_vfp_reg_list): Likewise. + (s_arm_unwind_save_mmxwcg): Likewise. + +2013-06-24 Nick Clifton + + PR gas/15623 + * config/tc-arm.c (do_t_smc): Mark as ending an IT block. + +2013-06-23 Richard Sandiford + + * config/tc-mips.c (mips_ip): Fix swapped bit numbers in comments. + +2013-06-23 Richard Sandiford + + * config/tc-mips.c: Assert that offsetT and valueT are at least + 8 bytes in size. + (GPR_SMIN, GPR_SMAX): New macros. + (macro, mips_ip): Remove code for 4-byte valueT and offsetT. + +2013-06-22 Richard Sandiford + + * config/tc-mips.c: Remove OBJ_ELF, OBJ_MAYBE_ELF and IS_ELF + conditions. Remove any code deselected by them. + (s_mips_frame, s_mips_mask): Handle ECOFF_DEBUGGING case first. + +2013-06-22 Richard Sandiford + + * NEWS: Note removal of ECOFF support. + * doc/as.texinfo (--emulation): Update for the removal of MIPS ECOFF. + * Makefile.am (TARG_ENV_HFILES): Remove config/te-lnews.h. + (MULTI_CFILES): Remove config/e-mipsecoff.c. + * Makefile.in: Regenerate. + * configure.in: Remove MIPS ECOFF references. + (mips-sony-bsd*, mips-*-bsd*, mips-*-lnews*-ecoff, mips-*-*-ecoff): + Delete cases. + (mips-*-irix5*-*, mips*-*-linux*-*, mips*-*-freebsd*) + (mips*-*-kfreebsd*-gnu, mips-*-*-elf): Fold into... + (mips-*-*): ...this single case. + (mipsbecoff, mipslecoff, mipsecoff): Remove emulations. Expect + MIPS emulations to be e-mipself*. + * configure: Regenerate. + * configure.tgt (mips-sony-bsd*, mips-*-ultrix*, mips-*-osf*) + (mips-*-ecoff*, mips-*-pe*, mips-*-irix*, ips-*-lnews*, mips-*-riscos*) + (mips-*-sysv*): Remove coff and ecoff cases. + * as.c (mipsbecoff, mipslecoff, mipsecoff): Remove. + * ecoff.c: Remove reference to MIPS ECOFF. + * config/e-mipsecoff.c, config/te-lnews.h: Delete files. + * config/tc-mips.c (ECOFF_LITTLE_FORMAT): Delete. + (RDATA_SECTION_NAME, mips_target_form): Remove COFF and ECOFF cases. + (mips_hi_fixup): Tweak comment. + (append_insn): Require a howto. + (mips_after_parse_args): Remove OBJ_MAYBE_ECOFF code. + +2013-06-22 Richard Sandiford + + * doc/as.texinfo: Use MIPS rather than @sc{mips} throughout. + Use "CPU" instead of "cpu". + * doc/c-mips.texi: Likewise. + (MIPS Opts): Rename to MIPS Options. + (MIPS option stack): Rename to MIPS Option Stack. + (MIPS ASE instruction generation overrides): Rename to + MIPS ASE Instruction Generation Overrides (for now). + (MIPS floating-point): Rename to MIPS Floating-Point. + +2013-06-22 Richard Sandiford + + * doc/c-mips.texi (MIPS Macros): New section. + (MIPS Object): Replace with... + (MIPS Small Data): ...this new section. + +2013-06-22 Richard Sandiford + + * doc/c-mips.texi (MIPS symbol sizes): Move section further up file. + Capitalize name. Use @kindex instead of @cindex for .set entries. + +2013-06-22 Richard Sandiford + + * doc/c-mips.texi (MIPS Stabs): Remove section. + +2013-06-20 Richard Sandiford + + * config/tc-mips.c (ISA_SUPPORTS_SMARTMIPS, ISA_SUPPORTS_DSP_ASE) + (ISA_SUPPORTS_DSP64_ASE, ISA_SUPPORTS_DSPR2_ASE, ISA_SUPPORTS_EVA_ASE) + (ISA_SUPPORTS_MT_ASE, ISA_SUPPORTS_MCU_ASE, ISA_SUPPORTS_VIRT_ASE) + (ISA_SUPPORTS_VIRT64_ASE): Delete. + (mips_ase): New structure. + (mips_ases): New table. + (FP64_ASES): New macro. + (mips_ase_groups): New array. + (mips_isa_rev, mips_ase_mask, mips_check_isa_supports_ase) + (mips_check_isa_supports_ases, mips_set_ase, mips_lookup_ase): New + functions. + (is_opcode_valid): Use mips_ases to get the 64-bit ASE flags. + (md_parse_option): Use mips_ases and mips_set_ase instead of + separate case statements for each ASE option. + (mips_after_parse_args): Use FP64_ASES. Use + mips_check_isa_supports_ases to check the ASEs against + other options. + (s_mipsset): Use mips_ases and mips_set_ase instead of + separate if statements for each ASE option. Use + mips_check_isa_supports_ases, even when a non-ASE option + is specified. + +2013-06-19 Greta Yorsh + + * config/tc-arm.c (arm_cpus): Add support for Cortex-A12. + +2013-06-18 Richard Sandiford + + * config/tc-mips.c (md_shortopts, options, md_longopts) + (md_longopts_size): Move earlier in file. + +2013-06-18 Richard Sandiford + + * config/tc-mips.c (mips_set_options): Replace separate "ase_*" fields + with a single "ase" bitmask. + (mips_opts): Update accordingly. + (file_ase, file_ase_explicit): New variables. + (file_ase_mips3d, file_ase_mdmx, file_ase_smartmips, file_ase_dsp) + (file_ase_dspr2, file_ase_eva, file_ase_mt, file_ase_virt): Delete. + (ISA_HAS_ROR): Adjust for mips_set_options change. + (is_opcode_valid): Take the base ase mask directly from mips_opts. + (mips_ip): Adjust for mips_set_options change. + (md_parse_option): Likewise. Update file_ase_explicit. + (mips_after_parse_args): Adjust for mips_set_options change. + Use bitmask operations to select the default ASEs. Set file_ase + rather than individual per-ASE variables. + (s_mipsset): Adjust for mips_set_options change. + (mips_elf_final_processing): Test file_ase rather than + file_ase_mdmx. Remove commented-out code. + +2013-06-18 Richard Sandiford + + * config/tc-mips.c (mips_cpu_info): Add an "ase" field. + (MIPS_CPU_ASE_SMARTMIPS, MIPS_CPU_ASE_DSP, MIPS_CPU_ASE_MT) + (MIPS_CPU_ASE_MIPS3D, MIPS_CPU_ASE_MDMX, MIPS_CPU_ASE_DSPR2) + (MIPS_CPU_ASE_MCU, MIPS_CPU_ASE_VIRT, MIPS_CPU_ASE_EVA): Delete. + (mips_after_parse_args): Use the new "ase" field to choose + the default ASEs. + (mips_cpu_info_table): Move ASEs from the "flags" field to the + "ase" field. + +2013-06-18 Richard Earnshaw + + * config/tc-arm.c (symbol_preemptible): New function. + (relax_branch): Use it. + +2013-06-17 Catherine Moore + Maciej W. Rozycki + Chao-Ying Fu + + * config/tc-mips.c (mips_set_options): Add ase_eva. + (mips_set_options mips_opts): Add ase_eva. + (file_ase_eva): Declare. + (ISA_SUPPORTS_EVA_ASE): Define. + (IS_SEXT_9BIT_NUM): Define. + (MIPS_CPU_ASE_EVA): Define. + (is_opcode_valid): Add support for ase_eva. + (macro_build): Likewise. + (macro): Likewise. + (validate_mips_insn): Likewise. + (validate_micromips_insn): Likewise. + (mips_ip): Likewise. + (options): Add OPTION_EVA and OPTION_NO_EVA. + (md_longopts): Add -meva and -mno-eva. + (md_parse_option): Process new options. + (mips_after_parse_args): Check for valid EVA combinations. + (s_mipsset): Likewise. + +2013-06-14 Richard Sandiford + + * dwarf2dbg.h (dwarf2_move_insn): Declare. + * dwarf2dbg.c (line_subseg): Add pmove_tail. + (get_line_subseg): Add create_p argument. Initialize pmove_tail. + (dwarf2_gen_line_info_1): Update call accordingly. + (dwarf2_move_insn): New function. + * config/tc-mips.c (append_insn): Use dwarf2_move_insn. + +2013-06-14 Richard Sandiford + + Revert: + + 2011-09-05 Richard Sandiford + + 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. + +2013-06-13 Chao-ying Fu + + * config/tc-mips.c (ISA_SUPPORTS_VIRT_ASE): Support micromips. + (ISA_SUPPORTS_VIRT64_ASE): Support 64-bit micromips. + +2013-06-13 Nick Clifton + + PR gas/15602 + * config/tc-m68k.h (TC_CHECK_ADJUSTED_BROKEN_DOT_WORD): Define. + * config/tc-m68k.c (tc_m68k_check_adjusted_broken_word): New + function. Generates an error if the adjusted offset is out of a + 16-bit range. + +2013-06-12 Sandra Loosemore + + * config/tc-nios2.c (md_apply_fix): Mask constant + BFD_RELOC_NIOS2_HIADJ16 value to 16 bits. + +2013-06-10 Maciej W. Rozycki + + * config/tc-mips.c (append_insn): Don't do branch relaxation for + MIPS-3D instructions either. + (md_convert_frag): Update the COPx branch mask accordingly. + + * config/tc-mips.c (md_show_usage): Document --[no-]relax-branch + option. + * doc/as.texinfo (Overview): Add --relax-branch and + --no-relax-branch. + * doc/c-mips.texi (MIPS Opts): Document --relax-branch and + --no-relax-branch. + +2013-06-09 Sandra Loosemore + + * config/tc-nios2.c (nios2_parse_args): Allow trap argument to + omitted. + +2013-06-08 Catherine Moore + + * config/tc-mips.c (is_opcode_valid): Build ASE mask. + (is_opcode_valid_16): Pass ase value to opcode_is_member. + (append_insn): Change INSN_xxxx to ASE_xxxx. + +2013-06-01 George Thomas + + * gas/config/tc-avr.c: Change ISA for devices with USB support to + AVR_ISA_XMEGAU + +2013-05-31 H.J. Lu + + * config/tc-i386.c (md_begin): Don't align text/data/bss sections + for ELF. + +2013-05-31 Paul Brook + + * config/tc-mips.c (s_ehword): New. + +2013-05-30 Paul Brook + + * config/tc-mips.c (md_apply_fix): Support BFD_RELOC_MIPS_EH. + +2013-05-29 Maciej W. Rozycki + + * write.c (resolve_reloc_expr_symbols): On REL targets don't + convert relocs who have no relocatable field either. Rephrase + the conditional so that the PC-relative check is only applied + for REL targets. + +2013-05-28 Chao-ying Fu + + * config/tc-mips.c (macro) : Don't use $zero for address + calculation. + +2013-05-28 Yufeng Zhang + + * config/tc-aarch64.c (reloc_table): Update to use + BFD_RELOC_AARCH64_TLSDESC_ADR_PAGE21 instead of + BFD_RELOC_AARCH64_TLSDESC_ADR_PAGE. + (md_apply_fix): Likewise. + (aarch64_force_relocation): Likewise. + +2013-05-28 Kyrylo Tkachov + + * config/tc-arm.c (it_fsm_post_encode): Improve + warning messages about deprecated IT block formats. + +2013-05-28 Marcus Shawcroft + + * config/tc-aarch64.c (md_apply_fix): Move value range checking + inside fx_done condition. + +2013-05-22 Jürgen Urban + + * config/tc-mips.c (macro): Handle M_LQC2_AB and M_SQC2_AB. + +2013-05-20 Peter Bergner + + * config/tc-ppc.c (ppc_setup_opcodes): Use new_seg to fix error + and clean up warning when using PRINT_OPCODE_TABLE. + +2013-05-20 Alan Modra + + * config/tc-ppc.c (md_apply_fix): Hoist code common to insn + and data fixups performing shift/high adjust/sign extension on + fieldval. Sink fx_pcrel handling and checks. Use fixP->fx_size + when writing data fixups rather than recalculating size. + +2013-05-16 Jan-Benedict Glaw + + * doc/c-msp430.texi: Fix typo. + +2013-05-16 Tristan Gingold + + * config/tc-ppc.c (ppc_is_toc_sym): Symbols of class XMC_TC + are also TOC symbols. + +2013-05-16 Nick Clifton + + * config/tc-msp430.c: Make -mmcu recognise more part numbers. + Add -mcpu command to specify core type. + * doc/c-msp430.texi: Update documentation. + +2013-05-09 Andrew Pinski + + * config/tc-mips.c (struct mips_set_options): New ase_virt field. + (mips_opts): Update for the new field. + (file_ase_virt): New variable. + (ISA_SUPPORTS_VIRT_ASE): New macro. + (ISA_SUPPORTS_VIRT64_ASE): New macro. + (MIPS_CPU_ASE_VIRT): New define. + (is_opcode_valid): Handle ase_virt. + (macro_build): Handle "+J". + (validate_mips_insn): Likewise. + (mips_ip): Likewise. + (enum options): Add OPTION_VIRT and OPTION_NO_VIRT. + (md_longopts): Add mvirt and mnovirt + (md_parse_option): Handle OPTION_VIRT and OPTION_NO_VIRT. + (mips_after_parse_args): Handle ase_virt field. + (s_mipsset): Handle "virt" and "novirt". + (mips_elf_final_processing): Add a comment about virt ASE might need + a new flag. + (md_show_usage): Print out the usage of -mvirt and mno-virt options. + * doc/c-mips.texi: Document -mvirt and -mno-virt. + Document ".set virt" and ".set novirt". + +2013-05-09 Alan Modra + + * config/tc-ppc.c (md_apply_fix): Sign extend fieldval under + control of operand flag bits. + +2013-05-07 Alan Modra + + * config/tc-ppc.c (PPC_VLE_SPLIT16A): Delete unused macro. + (PPC_VLE_SPLIT16D, PPC_VLE_LO16A, PPC_VLE_LO16D): Likewise. + (PPC_VLE_HI16A, PPC_VLE_HI16D): Likewise. + (PPC_VLE_HA16A, PPC_VLE_HA16D): Likewise. + (md_apply_fix): Set fx_no_overflow for assorted relocations. + Shift and sign-extend fieldval for use by some VLE reloc + operand->insert functions. + +2013-05-06 Paul Brook + Catherine Moore + + * config/tc-mips.c (md_pcrel_from): Handle BFD_RELOC_32_PCREL. + (limited_pcrel_reloc_p): Likewise. + (md_apply_fix): Likewise. + (tc_gen_reloc): Likewise. + +2013-05-06 Richard Sandiford + + * config/tc-mips.c (limited_pcrel_reloc_p): New function. + (mips_fix_adjustable): Adjust pc-relative check to use + limited_pc_reloc_p. + +2013-05-02 Richard Sandiford + + * config/tc-mips.c (mips_pseudo_table): Add stabd and stabs entries. + (s_mips_stab): Do not restrict to stabn only. + +2013-05-02 Nick Clifton + + * config/tc-msp430.c: Add support for the MSP430X architecture. + Add code to insert a NOP instruction after any instruction that + might change the interrupt state. + Add support for the LARGE memory model. + Add code to initialise the .MSP430.attributes section. + * config/tc-msp430.h: Add support for the MSP430X architecture. + * doc/c-msp430.texi: Document the new -mL and -mN command line + options. + * NEWS: Mention support for the MSP430X architecture. + +2013-05-01 Maciej W. Rozycki + + * configure.tgt: Replace alpha*-*-linuxecoff* pattern with + alpha*-*-linux*ecoff*. + +2013-04-30 Chao-ying Fu + + * config/tc-mips.c (mips_ip): Add sizelo. + For "+C", "+G", and "+H", set sizelo and compare against it. + +2013-04-29 Nick Clifton + + * as.c (Options): Add -gdwarf-sections. + (parse_args): Likewise. + * as.h (flag_dwarf_sections): Declare. + * dwarf2dbg.c (emit_fixed_inc_line_addr): Skip section changes. + (process_entries): When -gdwarf-sections is enabled generate + fragmentary .debug_line sections. + (out_debug_line): Set the section for the .debug_line section end + symbol. + * doc/as.texinfo: Document -gdwarf-sections. + * NEWS: Mention -gdwarf-sections. + +2013-04-26 Christian Groessler + + * config/tc-z8k.c (md_parse_option): Set z8k_target_from_cmdline + according to the target parameter. Don't call s_segm since s_segm + calls bfd_set_arch_mach using stdoutput, but stdoutput isn't + initialized yet. + (md_begin): Call s_segm according to target parameter from command + line. + +2013-04-25 Alan Modra + + * configure.in: Allow little-endian linux. + * configure: Regenerate. + +2013-04-24 Sandra Loosemore + + * config/tc-nios2.c (nios2_control_register_arg_p): Rename + "fstatus" control register to "eccinj". + +2013-04-19 Kai Tietz + + * configure.tgt (i386-*-cygwin): Handle x86_64 cygwin. + +2013-04-15 Julian Brown + + * expr.c (add_to_result, subtract_from_result): Make global. + * expr.h (add_to_result, subtract_from_result): Add prototypes. + * config/tc-sh.c (sh_optimize_expr): Use add_to_result, + subtract_from_result to handle extra bit of precision for .sleb128 + directive operands. + +2013-04-10 Julian Brown + + * read.c (convert_to_bignum): Add sign parameter. Use it + instead of X_unsigned to determine sign of resulting bignum. + (emit_expr): Pass extra argument to convert_to_bignum. + (emit_leb128_expr): Use X_extrabit instead of X_unsigned. Pass + X_extrabit to convert_to_bignum. + (parse_bitfield_cons): Set X_extrabit. + * expr.c (make_expr_symbol, expr_build_uconstant, operand): + Initialise X_extrabit field as appropriate. + (add_to_result): New. + (subtract_from_result): New. + (expr): Use above. + * expr.h (expressionS): Add X_extrabit field. + +2013-04-10 Jan Beulich + + * gas/config/tc-arm.c (encode_arm_addr_mode_3): Only reject base + register being PC when is_t or writeback, and use distinct + diagnostic for the latter case. + +2013-04-10 Jan Beulich + + * gas/config/tc-arm.c (parse_operands): Re-write + po_barrier_or_imm(). + (do_barrier): Remove bogus constraint(). + (do_t_barrier): Remove. + +2013-04-09 Joerg Wunsch + + * gas/config/tc-avr.c (mcu_types): Add ATmega64RFR2, + ATmega644RFR2, ATmega128RFR2, ATmega1284RFR2, ATmega256RFR2, + ATmega2564RFR2 + * gas/doc/c-avr.texi (-mmcu documentation): Likewise. + +2013-04-09 Jan Beulich + + * gas/config/tc-arm.c (do_vmrs): Accept all control registers. + Use local variable Rt in more places. + (do_vmsr): Accept all control registers. + +2013-04-09 Jan Beulich + + * gas/config/tc-arm.c (do_neon_mov): Fake an instruction suffix + if there was none specified for moves between scalar and core + register. + +2013-04-09 Jan Beulich + + * gas/config/tc-arm.c (do_neon_ldx_stx): Reject VSTn in the + NEON_ALL_LANES case. + +2013-04-08 Jan Beulich + + * gas/config/tc-arm.c (do_neon_ldr_str): Correct disgnostics for + PC-relative VSTR. + +2013-04-08 Jan Beulich + + * gas/config/tc-arm.c (reg_names): Convert duplicate SP_fiq + entry to sp_fiq. + +2013-04-03 Alan Modra + + * doc/as.texinfo: Add support to generate man options for h8300. + * doc/c-h8300.texi: Likewise. + +2013-03-28 Ramana Radhakrishnan + + * config/tc-arm.c (arm_cpus): Add support for Cortex-A53 and + Cortex-A57. + +2013-03-27 Alexis Deruelle + + PR binutils/15068 + * config/tc-tic6x.c (tic6x_try_encode): Add use of bitfields array. + +2013-03-26 Nick Clifton + + PR gas/15295 + * listing.c (rebuffer_line): Rewrite to avoid seeking back to the + start of the file each time. + + PR gas/15178 + * config/tc-sparc.h (ELF_TARGET_FORMAT): Set to elf32-sparc for + FreeBSD targets. + +2013-03-26 Douglas B Rupp + + * config/tc-ia64.c (emit_one_bundle): Move last_slot adjustment + after fixup. + +2013-03-21 Will Newton + + * config/tc-arm.c (encode_thumb32_addr_mode): Emit an error for all + pc-relative str instructions in Thumb mode. + +2013-03-21 Michael Schewe + + * config/tc-h8300.c (do_a_fix_imm): Add relaxation of mov + @(disp:32,ERx) to mov @(disp:16,ERx) insns by new reloc + R_H8_DISP32A16. + * config/tc-h8300.h: Remove duplicated defines. + +2013-03-21 Senthil Kumar Selvaraj + + PR gas/15282 + * tc-avr.c (mcu_has_3_byte_pc): New function. + (tc_cfi_frame_initial_instructions): Call it to find return + address size. + +2013-03-20 Alexis Deruelle + + PR gas/15095 + * config/tc-tic6x.c (tic6x_try_encode): Handle + tic6x_coding_dreg_(msb|lsb) field coding types and use it to + encode register pair numbers when required. + +2013-03-15 Will Newton + + * config/tc-arm.c (do_neon_ldr_str): Fix error check for PC register + in vstr in Thumb mode for pre-ARMv7 cores. + +2013-03-14 Andreas Schwab + + * doc/c-arc.texi (ARC Directives): Revert last change and use + @itemize instead of @table. + * doc/c-arm.texi (ARM-Instruction-Set): Likewise. + +2013-03-14 Nick Clifton + + PR gas/15273 + * config/tc-arm.c (do_co_reg): Do not call check_obsolete with a + NULL message, instead just check ARM_CPU_IS_ANY directly. + +2013-03-14 Nick Clifton + + PR gas/15212 + * doc/c-arc.texi (ARC Directives): Use @code instead of @bullet + for table format. + * doc/c-arm.texi (ARM-Instruction-Set): Likewise. Also add text + to the @item directives. + (ARM-Neon-Alignment): Move to correct place in the document. + * doc/c-cr16.texi (CR16 Operand Qualifiers): Fix up table + formatting. + * doc/c-tic54x.texi (TIC54X-Subsyms): Correct use of + @smallexample. + +2013-03-12 Sebastian Huber + + * config/tc-nios2.c (nios2_consume_arg): Delete 'k' case. Add 'o' + case. Add default BAD_CASE to switch. + +2013-03-11 Sebastian Huber + + * config/tc-nios2.c (nios2_assemble_args_ds): New function. + (nios2_arg_info_structs): Add "d,s" and "d,s,E" entries. + +2013-03-11 Kyrylo Tkachov + + * config/tc-arm.c (crc_ext_armv8): New feature set. + (UNPRED_REG): New macro. + (do_crc32_1): New function. + (do_crc32b, do_crc32h, do_crc32w, do_crc32cb, + do_crc32ch, do_crc32cw): Likewise. + (TUEc): New macro. + (insns): Add entries for crc32 mnemonics. + (arm_extensions): Add entry for crc. + +2013-03-08 Chung-Lin Tang + + * write.h (struct fix): Add fx_dot_frag field. + (dot_frag): Declare. + * write.c (dot_frag): New variable. + (fix_new_internal): Set fx_dot_frag field with dot_frag. + (fixup_segment): Base calculation of fx_offset with fx_dot_frag. + * expr.c (expr): Save value of frag_now in dot_frag when setting + dot_value. + * read.c (emit_expr): Likewise. Delete comments. + +2013-03-07 H.J. Lu + + * config/tc-i386.c (flag_code_names): Removed. + (i386_index_check): Rewrote. + +2013-03-05 Yufeng Zhang + + * config/tc-aarch64.c (aarch64_imm_float_p): Rename 'e' to 'pattern'; + add comment. + (aarch64_double_precision_fmovable): New function. + (parse_aarch64_imm_float): Add parameter 'dp_p'; call the new + function; handle hexadecimal representation of IEEE754 encoding. + (parse_operands): Update the call to parse_aarch64_imm_float. + +2013-02-28 H.J. Lu + + * config/tc-i386.c (_i386_insn): Replace have_hle with hle_prefix. + (check_hle): Updated. + (md_assemble): Likewise. + (parse_insn): Likewise. + +2013-02-28 H.J. Lu + + * config/tc-i386.c (_i386_insn): Add rep_prefix. + (md_assemble): Check if REP prefix is OK. + (parse_insn): Remove expecting_string_instruction. Set + i.rep_prefix. + +2013-02-28 Yufeng Zhang + + * config/tc-aarch64.c (aarch64_features): Add the 'crc' option. + +2013-02-28 Yufeng Zhang + + * config/tc-aarch64.c (parse_sys_reg): Allow the full range of CRn + for system registers. + +2013-02-27 DJ Delorie + + * config/tc-rl78.c (reloc_function): Add %code -> BFD_RELOC_RL78_CODE. + (rl78_op): Handle %code(). + (rl78_cons_fix_new): Likewise, but ignore for 20-bit operands. + (tc_gen_reloc): Likwise; convert to a computed reloc. + (md_apply_fix): Likewise. + +2013-02-25 Kaushik Phatak + + * config/rl78-parse.y: Fix encoding of DIVWU insn. + +2013-02-25 Terry Guo + + * config/tc-arm.c (arm_cpus): Add cortex-r7 entry. + * doc/c-arm.texi: Add cortex-r7 and missing cortex-r5 to + list of accepted CPUs. + +2013-02-19 H.J. Lu + + PR gas/15159 + * config/tc-i386.c (cpu_arch): Add ".smap". + + * doc/c-i386.texi: Document smap. + +2013-02-18 Maciej W. Rozycki + + * config/tc-mips.c (s_cpload): Call mips_mark_labels and set + mips_assembling_insn appropriately. + (s_cpsetup, s_cprestore, s_cpreturn, s_cpadd): Likewise. + +2013-02-18 Maciej W. Rozycki + + * config/tc-mips.c (append_insn): Correct indentation, remove + extraneous braces. + +2013-02-15 Kyrylo Tkachov + + * config/tc-arm.c (do_neon_mov): Break on NS_NULL. + +2013-02-15 Sebastian Huber + + * configure.tgt: Add nios2-*-rtems*. + +2013-02-14 Yufeng Zhang + + * config/tc-aarch64.c (md_begin): Change to check if 'name' is + NULL. + +2013-02-09 Jürgen Urban + + * config/tc-mips.c (CPU_HAS_LDC1_SDC1): New macro. + (macro): Use it. Assert that trunc.w.s is not used for r5900. + +2013-02-08 Yi-Hsiu, Hsu + + * gas/config/tc-arm.c (arm_cpus): Add support for mcpu=marvell-pj4 + core. + +2013-02-06 Sandra Loosemore + Andrew Jenner + + Based on patches from Altera Corporation. + + * Makefile.am (TARGET_CPU_CFILES): Add config/tc-nios2.c. + (TARGET_CPU_HFILES): Add config/tc-nios2.h. + * Makefile.in: Regenerated. + * configure.tgt: Add case for nios2*-linux*. + * config/obj-elf.c: Conditionally include elf/nios2.h. + * config/tc-nios2.c: New file. + * config/tc-nios2.h: New file. + * doc/Makefile.am (CPU_DOCS): Add c-nios2.texi. + * doc/Makefile.in: Regenerated. + * doc/all.texi: Set NIOSII. + * doc/as.texinfo (Overview): Add Nios II options. + (Machine Dependencies): Include c-nios2.texi. + * doc/c-nios2.texi: New file. + * NEWS: Note Altera Nios II support. + +2013-02-06 Alan Modra + + PR gas/14255 + * config/tc-avr.h (TC_VALIDATE_FIX): Mark symbol used by reloc. + Don't skip fixups with fx_subsy non-NULL. + * config/tc-avr.c (tc_gen_reloc): Don't specially handle fixups + with fx_subsy non-NULL. + +2013-02-04 H.J. Lu + + * doc/c-metag.texi: Add "@c man" markers. + +2013-02-04 Alan Modra + + * write.c (fixup_segment): Return void. Delete seg_reloc_count + related code. + (TC_ADJUST_RELOC_COUNT): Delete. + * config/tc-i960.h (TC_ADJUST_RELOC_COUNT): Delete. + +2013-02-04 Alan Modra + + * po/POTFILES.in: Regenerate. + +2013-01-30 Markos Chandras + + * config/tc-metag.c: Make SWAP instruction less permissive with + its operands. + +2013-01-29 DJ Delorie + + * config/tc-rl78.c (rl78_cons_fix_new): Handle user-specified + relocs in .word/.etc statements. + +2013-01-29 Roland McGrath + + * config/tc-arm.c (md_apply_fix): Use as_bad_where for "bad + immediate value for 8-bit offset" error so it shows line info. + +2013-01-24 Joseph Myers + + * config/tc-ppc.c (md_assemble): Do not generate APUinfo sections + for 64-bit output. + +2013-01-24 Nick Clifton + + * config/tc-v850.c: Add support for e3v5 architecture. + * doc/c-v850.texi: Mention new support. + +2013-01-23 Nick Clifton + + PR gas/15039 + * config/tc-avr.c: Include dwarf2dbg.h. + +2013-01-18 H.J. Lu + + * config/tc-i386.c (reloc): Support size relocation only for ELF. + (tc_i386_fix_adjustable): Likewise. + (lex_got): Likewise. + (tc_gen_reloc): Likewise. + +2013-01-17 Yufeng Zhang + + * config/tc-aarch64.c (output_operand_error_record): Change to output + the out-of-range error message as value-expected message if there is + only one single value in the expected range. + (programmer_friendly_fixup): Remove the handling of 8-bit MOVI with + LSL #0 as a programmer-friendly feature. + +2013-01-16 H.J. Lu + + * config/tc-i386.c (reloc): Support BFD_RELOC_SIZE32. + (tc_i386_fix_adjustable): Keep symbol for BFD_RELOC_32_SIZE and + BFD_RELOC_64_SIZE relocations. + (lex_got): Support "symbol@SIZE" and don't create GOT symbol + for it. + (tc_gen_reloc): Resolve BFD_RELOC_SIZE32 and BFD_RELOC_SIZE64 + relocations against local symbols. + +2013-01-16 Alan Modra + + * config/tc-ppc.c (md_assemble ): Ignore line after + finding some sort of toc syntax error, and break to avoid + compiler uninit warning. + +2013-01-15 H.J. Lu + + PR gas/15019 + * config/tc-i386.c (lex_got): Increment length by 1 if the + relocation token is removed. + +2013-01-15 Nick Clifton + + * config/tc-v850.c (md_assemble): Allow signed values for + V850E_IMMEDIATE. + +2013-01-11 Sean Keys + + * config/tc-xgate.c (md_begin): Fix mistake made when going from + git to cvs. + +2013-01-10 Peter Bergner + + * doc/as.texinfo (Target PowerPC): Document -mpower8 and -mhtm. + * doc/c-ppc.texi (PowerPC-Opts): Likewise. + * config/tc-ppc.c (md_show_usage): Likewise. + (ppc_handle_align): Handle power8's group ending nop. + +2013-01-10 Sean Keys + + * config/tc-xgate.c (md_begin): Fix the printing of opcodes so + that the assember exits after the opcodes have been printed. + +2013-01-10 H.J. Lu + + * app.c: Remove trailing white spaces. + * as.c: Likewise. + * as.h: Likewise. + * cond.c: Likewise. + * dw2gencfi.c: Likewise. + * dwarf2dbg.h: Likewise. + * ecoff.c: Likewise. + * input-file.c: Likewise. + * itbl-lex.h: Likewise. + * output-file.c: Likewise. + * read.c: Likewise. + * sb.c: Likewise. + * subsegs.c: Likewise. + * symbols.c: Likewise. + * write.c: Likewise. + * config/tc-i386.c: Likewise. + * doc/Makefile.am: Likewise. + * doc/Makefile.in: Likewise. + * doc/c-aarch64.texi: Likewise. + * doc/c-alpha.texi: Likewise. + * doc/c-arc.texi: Likewise. + * doc/c-arm.texi: Likewise. + * doc/c-avr.texi: Likewise. + * doc/c-bfin.texi: Likewise. + * doc/c-cr16.texi: Likewise. + * doc/c-d10v.texi: Likewise. + * doc/c-d30v.texi: Likewise. + * doc/c-h8300.texi: Likewise. + * doc/c-hppa.texi: Likewise. + * doc/c-i370.texi: Likewise. + * doc/c-i386.texi: Likewise. + * doc/c-i860.texi: Likewise. + * doc/c-m32c.texi: Likewise. + * doc/c-m32r.texi: Likewise. + * doc/c-m68hc11.texi: Likewise. + * doc/c-m68k.texi: Likewise. + * doc/c-microblaze.texi: Likewise. + * doc/c-mips.texi: Likewise. + * doc/c-msp430.texi: Likewise. + * doc/c-mt.texi: Likewise. + * doc/c-s390.texi: Likewise. + * doc/c-score.texi: Likewise. + * doc/c-sh.texi: Likewise. + * doc/c-sh64.texi: Likewise. + * doc/c-tic54x.texi: Likewise. + * doc/c-tic6x.texi: Likewise. + * doc/c-v850.texi: Likewise. + * doc/c-xc16x.texi: Likewise. + * doc/c-xgate.texi: Likewise. + * doc/c-xtensa.texi: Likewise. + * doc/c-z80.texi: Likewise. + * doc/internals.texi: Likewise. + +2013-01-10 Roland McGrath + + * hash.c (hash_new_sized): Make it global. + * hash.h: Declare it. + * macro.c (define_macro): Use hash_new_sized instead of hash_new, + pass a small size. + +2013-01-10 Will Newton + + * Makefile.am: Add Meta. + * Makefile.in: Regenerate. + * config/tc-metag.c: New file. + * config/tc-metag.h: New file. + * configure.tgt: Add Meta. + * doc/Makefile.am: Add Meta. + * doc/Makefile.in: Regenerate. + * doc/all.texi: Add Meta. + * doc/as.texiinfo: Document Meta options. + * doc/c-metag.texi: New file. + +2013-01-09 Steve Ellcey + + * config/tc-i386.c (md_begin): Remove 'internal Error' from as_fatal + calls. + * config/tc-mips.c (internalError): Remove, replace with abort. + +2013-01-08 Yufeng Zhang + + * config/tc-aarch64.c (parse_operands): Change to compare the result + of function call 'parse_sys_reg' with 'PARSE_FAIL' instead of 'FALSE'. + +2013-01-07 Nick Clifton + + PR gas/14887 + * config/tc-arm.c (skip_past_char): Skip whitespace before the + anticipated character. + * config/tc-arm.c (parse_address_main): Delete skip of whitespace + here as it is no longer needed. + +2013-01-06 Andreas Schwab + + * doc/c-mips.texi (MIPS Opts): Fix use of @itemx. + * doc/c-score.texi (SCORE-Opts): Likewise. + * doc/c-tic54x.texi (TIC54X-Directives): Likewise. + +2013-01-04 Juergen Urban + + * config/tc-mips.c: Add support for MIPS r5900. + Add M_LQ_AB and M_SQ_AB to support large values for instructions + lq and sq. + (can_swap_branch_p, get_append_method): Detect some conditional + short loops to fix a bug on the r5900 by NOP in the branch delay + slot. + (M_MUL): Support 3 operands in multu on r5900. + (M_TRUNCWS): Support trunc.w.s on r5900 in MIPS ISA I. + (s_mipsset): Force 32 bit floating point on r5900. + (mips_ip): Check parameter range of instructions mfps and mtps on + r5900. + * configure.in: Detect CPU type when target string contains r5900 + (e.g. mips64r5900el-linux-gnu). + +2013-01-02 H.J. Lu + + * as.c (parse_args): Update copyright year to 2013. + +2013-01-02 Yufeng Zhang + + * config/tc-aarch64.c (aarch64_cpus): Add entries for "cortex-a53" + and "cortex57". + +2013-01-02 Nick Clifton + + PR gas/14987 + * config/tc-arm.c (parse_address_main): Skip whitespace before a + closing bracket. + +For older changes see ChangeLog-2012 + +Copyright (C) 2013 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. + +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 f3929473196..dfe7d09ad04 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,1790 +1,6 @@ -2013-12-28 Hans-Peter Nilsson - - Adjust MMIX gas tests for recent bfd/elf.c change. - * gas/mmix/bspec-1.d: Adjust for SHF_INFO_LINK now set on RELA - sections. - * gas/mmix/bspec-2.d: Ditto. - -2013-12-20 Nick Clifton - - PR binutils/16218 - * gas/elf/dwarf2-1.d: Update expected objdump output. - * gas/elf/dwarf2-2.d: Likewise. - * gas/i386/dw2-compress-1.d: Likewise. - -2013-12-19 H.J. Lu - - * gas/i386/i386.exp: Don't run x86-64-disassem for mingw targets. - -2013-12-18 Yufeng Zhang - - * gas/aarch64/rm-simd-ext.d: New file. - * gas/aarch64/rm-simd-ext.l: Likewise. - * gas/aarch64/rm-simd-ext.s: Likewise. - -2013-12-17 Kuan-Lin Chen - - * gas/nds32/nds32.exp: Add system and user special register tests. - * gas/nds32/sys-reg.s: New test. - * gas/nds32/sys-reg.d: Likewise. - * gas/nds32/usr-spe-reg.s: Likewise. - * gas/nds32/usr-spe-reg.d: Likewise. - * gas/nds32/alu-2.d: Delete the new blank line at EOF. - * gas/nds32/br-1.d: Likewise. - * gas/nds32/br-2.d: Likewise. - * gas/nds32/ji-jr.d: Likewise. - * gas/nds32/lsi.d: Likewise. - -2013-12-17 Michael Zolotukhin - - * gas/i386/disassem.s: New. - * gas/i386/disassem.d: Likewise. - * gas/i386/x86-64-disassem.s: Likewise. - * gas/i386/x86-64-disassem.d: Likewise. - * gas/i386/i386.exp: Run disassem and x86-64-disassem. - -2013-12-16 Andrew Bennett - - * gas/mips/mips.exp: Add CP1 register name tests. - * gas/mips/cp1-names-mips32.d: New test. - * gas/mips/cp1-names-mips32r2.d: New test. - * gas/mips/cp1-names-mips64.d: New test. - * gas/mips/cp1-names-mips64r2.d: New test. - * gas/mips/cp1-names-numeric.d: New test. - * gas/mips/cp1-names-r3000.d: New test. - * gas/mips/cp1-names-r4000.d: New test. - * gas/mips/cp1-names-sb1.d: New test. - * gas/mips/cp1-names.s: New test. - * gas/mips/micromips-insn32.d: Add the correct symbolic names for the CP1 - registers. - * gas/mips/micromips-noinsn32.d: Likewise. - * gas/mips/micromips-trap.d: Likewise. - * gas/mips/micromips.d: Likewise. - -2013-12-16 Andrew Bennett - - * gas/mips/msa.s: Reduced maximum element index range - for sldi, splati, copy_s, copy_u, insert and insve instructions. - * gas/mips/msa64.s: Likewise. - * gas/mips/micromips@msa.d: Likewise. - * gas/mips/micromips@msa64.d: Likewise. - * gas/mips/msa.d: Likewise. - * gas/mips/msa64.d: Likewise. - -2013-12-13 Kuan-Lin Chen - - * gas/all/gas.exp: Add expected failures for NDS32. - * gas/elf/elf.exp: Likewise. - * gas/lns/lns.exp: Use alternate test. - * gas/macros/irp.d: Skip for NDS32. - * gas/macros/macros.exp: Skip some tests for the NDS32. - * gas/macros/rept.d: Skip for NDS32. - * gas/macros/test3.d: Skip for NDS32. - * gas/nds32: New directory. - * gas/nds32/alu-1.s: New test. - * gas/nds32/alu-1.d: Likewise. - * gas/nds32/alu-2.s: Likewise. - * gas/nds32/alu-2.d: Likewise. - * gas/nds32/br-1.d: Likewise. - * gas/nds32/br-1.s: Likewise. - * gas/nds32/br-2.d: Likewise. - * gas/nds32/br-2.s: Likewise. - * gas/nds32/ji-jr.d: Likewise. - * gas/nds32/ji-jr.s: Likewise. - * gas/nds32/ls.d: Likewise. - * gas/nds32/ls.s: Likewise. - * gas/nds32/lsi.d: Likewise. - * gas/nds32/lsi.s: Likewise. - * gas/nds32/to-16bit-v1.d: Likewise. - * gas/nds32/to-16bit-v1.s: Likewise. - * gas/nds32/to-16bit-v2.d: Likewise. - * gas/nds32/to-16bit-v2.s: Likewise. - * gas/nds32/to-16bit-v3.d: Likewise. - * gas/nds32/to-16bit-v3.s: Likewise. - * gas/nds32/nds32.exp: New test driver. - -2013-12-07 Mike Frysinger - - * gas/bfin/bit2.s: Remove +x file mode. - * gas/bfin/cache2.s: Likewise. - * gas/bfin/control_code2.s: Likewise. - * gas/bfin/event2.s: Likewise. - * gas/bfin/flow2.s: Likewise. - * gas/bfin/logical2.s: Likewise. - * gas/bfin/move2.s: Likewise. - * gas/bfin/shift2.s: Likewise. - * gas/bfin/stack2.s: Likewise. - * gas/bfin/vector2.s: Likewise. - * gas/bfin/video2.s: Likewise. - * gas/epiphany/sample.s: Likewise. - * gas/pe/aligncomm-a.d: Likewise. - * gas/pe/aligncomm-a.s: Likewise. - * gas/pe/aligncomm-b.d: Likewise. - * gas/pe/aligncomm-c.d: Likewise. - * gas/pe/aligncomm-c.s: Likewise. - * gas/pe/aligncomm-d.d: Likewise. - * gas/pe/aligncomm-d.s: Likewise. - * gas/pe/pe.exp: Likewise. - * gas/ppc/vle-simple-4.s: Likewise. - * gas/ppc/vle.d: Likewise. - * gas/ppc/vle.s: Likewise. - -2013-11-27 Matthew Fortune - - * gas/mips/mips.exp: Consider mips-mti-elf the same as mips-sde-elf - -2013-11-20 Yufeng Zhang - - * gas/aarch64/msr.s: Add tests. - * gas/aarch64/msr.d: Update. - -2013-11-19 Catherine Moore - - * gas/mips/fix-pmc-rm7000-1.d: New. - * gas/mips/fix-pmc-rm7000-1.s: New. - * gas/mips/fix-pmc-rm7000-2.d: New. - * gas/mips/fix-pmc-rm7000-2.s: New. - * gas/mips/micromips@fix-pmc-rm7000-1.d: New. - * gas/mips/micromips@fix-pmc-rm7000-2.d: New. - * gas/mips/mips.exp: Run new tests. - -2013-11-18 H.J. Lu - - * gas/i386/avx512f-nondef.d: Updated for mingw. - * gas/i386/mpx-add-bnd-prefix.d: Likewise. - * gas/i386/x86-64-avx512f-nondef.d: Likewise. - * gas/i386/x86-64-mpx-add-bnd-prefix.d: Likewise. - * gas/i386/x86-64-mpx-addr32.d: Likewise. - * gas/i386/x86-64-opcode.d: Likewise. - * gas/i386/x86-64-sha.d: Likewise. - -2013-11-18 Renlin Li - - * gas/arm/attr-march-armv7ve.d: New test case for armv7ve. - -2013-11-18 Zhenqiang Chen - - * gas/aarch64/sysreg.s: Add test. - * gas/aarch64/sysreg.d: Update. - -2013-11-18 Yufeng Zhang - - Revert - - 2013-11-15 Yufeng Zhang - - * gas/aarch64/diagnostic.s: Add tests. - * gas/aarch64/diagnostic.l: Update. - * gas/aarch64/tracereg-illegal.d: New file. - * gas/aarch64/tracereg-illegal.l: Ditto. - * gas/aarch64/tracereg-illegal.s: Ditto. - * gas/aarch64/tracereg.d: Ditto. - * gas/aarch64/tracereg.s: Ditto. - -2013-11-17 H.J. Lu - - * gas/i386/i386.exp: Run x86-64-mpx-branch-1 and - x86-64-mpx-branch-2 on 64-bit ELF targets. - * gas/i386/x86-64-mpx-branch-1.d: New file. - * gas/i386/x86-64-mpx-branch-1.s: Likewise. - * gas/i386/x86-64-mpx-branch-2.d: Likewise. - * gas/i386/x86-64-mpx-branch-2.s: Likewise. - -2013-11-15 Yufeng Zhang - - * gas/aarch64/diagnostic.s: Add tests. - * gas/aarch64/diagnostic.l: Update. - * gas/aarch64/tracereg-illegal.d: New file. - * gas/aarch64/tracereg-illegal.l: Ditto. - * gas/aarch64/tracereg-illegal.s: Ditto. - * gas/aarch64/tracereg.d: Ditto. - * gas/aarch64/tracereg.s: Ditto. - -2013-11-15 Michael Zolotukhin - - * gas/i386/inval-avx512f.s: Add invalid test for gather instruction - with default mask. - * gas/i386/inval-avx512f.l: Update correspondingly. - -2013-11-05 Yufeng Zhang - - * gas/aarch64/deprecated.d: New file. - * gas/aarch64/deprecated.l: New file. - * gas/aarch64/deprecated.s: New file. - * gas/aarch64/sysreg-1.s: Add tests. - * gas/aarch64/sysreg-1.d: Add tests. - -2013-11-05 Yufeng Zhang - - * gas/aarch64/alias.s: Add tests. - * gas/aarch64/alias.d: Update. - * gas/aarch64/no-aliases.d: Update. - * gas/aarch64/diagnostic.s: Add tests. - * gas/aarch64/diagnostic.l: Update. - * gas/aarch64/illegal.s: Add tests. - * gas/aarch64/illegal.l: Update. - -2013-11-05 Yufeng Zhang - - * gas/aarch64/diagnostic.s: Add tests of ldp/stp. - * gas/aarch64/diagnostic.l: Update. - -2013-11-05 Will Newton - - * gas/aarch64/advsimd-mov-bad.d: New file. - * gas/aarch64/advsimd-mov-bad.s: Likewise. - -2013-11-04 Jan Beulich - - * gas/i386/x86-64-suffix-bad.[sl]: New. - * gas/i386/i386.exp: Run new test. - -2013-11-02 Alan Modra - - * gas/cfi/cfi-x86_64.d: Match when lacking end of section padding. - -2013-10-29 Jan Beulich - - * gas/microblaze/relax_size.elf: Drop expectation of no longer - present STT_FILE symbol. - * gas/microblaze/relax_size2.elf: Likewise. - -2013-10-18 Chao-ying Fu - - * gas/mips/micromips@msa-branch.d, gas/mips/msa-branch.d, - gas/mips/msa-branch.s: New. - * gas/mips/mips.exp: Run new tests. - -2013-10-15 Ramana Radhakrishnan - - * gas/arm/neon-cov.d: Adjust output. - -2013-10-14 Chao-ying Fu - - * gas/mips/micromips@msa-relax.d, gas/mips/micromips@msa.d, - gas/mips/micromips@msa64.d, gas/mips/msa-relax.d, - gas/mips/msa-relax.l, gas/mips/msa-relax.s, - gas/mips/msa.d, gas/mips/msa.s, gas/mips/msa64.d, - gas/mips/msa64.s: New. - * gas/mips/mips.exp: Run new tests. - -2013-10-14 Nick Clifton - - * gas/all/itbl-test.c (main): Close fas. - -2013-10-13 Sandra Loosemore - - * gas/nios2/warn_nobreak.l: Update text of warning messages. - * gas/nios2/registers.s: Use "sstatus" rather than "ba" - as the primary name of r30. - * gas/nios2/registers.d: Likewise. - -2013-10-12 H.J. Lu - - * gas/i386/mpx.s: Remove bndcl/bndcu/bndcn tests with AX. - * gas/i386/x86-64-mpx.s: Likwise. - - * gas/i386/mpx.d: Updated. - * gas/i386/x86-64-mpx.d: Likewise. - -2013-10-10 Sean Keys - - * gas/xgate/all_insns.d: Add com macro insn test. - * gas/xgate/all_insns.s: Add com macro insn test. - -2013-10-08 Jan Beulich - - * gas/arm/thumb-w-good.s: Add PUSH.W and POP.W tests. - * gas/arm/thumb-w-good.d: Update accordingly. - -2013-10-08 Nick Clifton - - * gas/msp430/bad.s: New test: Checks erroneous size extensions. - * gas/msp430/bad.d: New test command file. - * gas/msp430/bad.l: New file: Expected error messages. - * gas/msp430/msp430.exp: Run the new test. - * gas/msp430/msp430x.s: Add ".a" aliases of "a" - instructions. - * gas/msp430/msp430x.d: Update expected disassembly. - -2013-10-07 Chao-ying Fu - - * gas/mips/micromips@virt64.d: Fix dmfgc0 and dmtgc0. - -2013-10-04 Kyrylo Tkachov - - * gas/arm/thumb2_it.s: Add test for narrow tst. - * gas/arm/thumb2_it.d: Update expected output. - * gas/arm/thumb2_it_auto.d: Likewise. - -2013-09-30 Saravanan Ekanathan - - * gas/i386/i386.exp: Run bdver4 test cases. - * gas/i386/nops-1-bdver4.d: New. - * gas/i386/arch-10-bdver4.d: New. - * gas/i386/x86-64-nops-1-bdver4.d: New. - * gas/i386/x86-64-arch-2-bdver4.d: New. - -2013-09-17 Richard Sandiford - - * gas/s390/zarch-z196.s, gas/s390/zarch-z196.d: Test CLIH with - 4000000000. - -2013-09-16 Will Newton - - * gas/arm/neon-ldst-es.d: Add VLD1.64 instructions. - * gas/arm/neon-ldst-es.s: Likewise. - * testsuite/gas/arm/neon-ldst-es-bad.d: New file. - * testsuite/gas/arm/neon-ldst-es-bad.l: Likewise. - * testsuite/gas/arm/neon-ldst-es-bad.s: Likewise. - -2013-09-12 Chao-ying Fu - - * gas/mips/bltzal.s: New file. - * gas/mips/bltzal.l: New file. - * gas/mips/mips.exp: Run the bltzal test. - -2013-09-12 Nick Clifton - - * gas/cfi/cfi-alpha-1.d: Update expected output to allow for - 64-bit addresses. - * gas/cfi/cfi-alpha-3.d: Likewise. - * gas/cfi/cfi-arm-1.d: Likewise. - * gas/cfi/cfi-common-1.d: Likewise. - * gas/cfi/cfi-common-2.d: Likewise. - * gas/cfi/cfi-common-3.d: Likewise. - * gas/cfi/cfi-common-4.d: Likewise. - * gas/cfi/cfi-common-5.d: Likewise. - * gas/cfi/cfi-common-6.d: Likewise. - * gas/cfi/cfi-common-7.d: Likewise. - * gas/cfi/cfi-hppa-1.d: Likewise. - * gas/cfi/cfi-i386-2.d: Likewise. - * gas/cfi/cfi-i386.d: Likewise. - * gas/cfi/cfi-m68k.d: Likewise. - * gas/cfi/cfi-mips-1.d: Likewise. - * gas/cfi/cfi-ppc-1.d: Likewise. - * gas/cfi/cfi-s390-1.d: Likewise. - * gas/cfi/cfi-s390x-1.d: Likewise. - * gas/cfi/cfi-sh-1.d: Likewise. - * gas/cfi/cfi-sparc-1.d: Likewise. - * gas/cfi/cfi-sparc64-1.d: Likewise. - * gas/cfi/cfi-x86_64.d: Likewise. - -2013-09-04 Tristan Gingold - - * gas/ppc/aix.exp: Run xcoff-toc-1 test. - * gas/ppc/xcoff-toc-1.s, gas/ppc/xcoff-toc-1.d: New test. - -2013-09-04 Roland McGrath - - PR gas/15914 - * gas/arm/udf-bad.s: New file. - * gas/arm/udf-bad.d: New file. - * gas/arm/udf-bad.l: New file. - * gas/arm/udf.s: New file. - * gas/arm/udf.d: New file. - * gas/arm/udf.l: New file. - -2013-08-28 Nick Clifton - - * gas/aarch64/illegal.s: Add illegal constant for logical - operation. - * gas/aarch64/illegal.l: Add expected error message. - -2013-08-23 Maciej W. Rozycki - - * gas/testsuite/gas/mips/micromips-insn32.d: Adjust for delay - slot scheduling of ALNV.PS. - * gas/testsuite/gas/mips/micromips-noinsn32.d: Likewise. - * gas/testsuite/gas/mips/micromips-trap.d: Likewise. - * gas/testsuite/gas/mips/micromips.d: Likewise. - * gas/testsuite/gas/mips/micromips@alnv_ps-swap.d: Likewise. - -2013-08-23 Yuri Chornoivan - - PR binutils/15834 - * gas/d10v/instruction_packing.d: Fix typos. - * gas/z80/atend.d: Likewise. - -2013-08-23 Will Newton - - * testsuite/gas/arm/neon-addressing-bad.l: Add test for - VLDn and VSTn instructions. - * testsuite/gas/arm/neon-addressing-bad.s: Likewise. - -2013-08-19 Richard Sandiford - - * gas/mips/ase-errors-1.l, gas/mips/ase-errors-2.l, - gas/mips/ase-errors-3.l, gas/mips/ase-errors-4.l, gas/mips/at-2.l, - gas/mips/baddata1.l, gas/mips/elf-rel30.l, gas/mips/illegal.l, - gas/mips/jalr.l, gas/mips/ldstla-32-1.l, gas/mips/ldstla-32-mips3-1.l, - gas/mips/lui-1.l, gas/mips/macro-warn-1.l, gas/mips/macro-warn-1-n32.l, - gas/mips/macro-warn-2.l, gas/mips/macro-warn-3.l, - gas/mips/macro-warn-4.l, gas/mips/micromips-branch-delay.l, - gas/mips/micromips-branch-relax.l, - gas/mips/micromips-branch-relax-pic.l, gas/mips/micromips-ill.l, - gas/mips/micromips.l, gas/mips/micromips-size-0.l, - gas/mips/micromips-size-1.l, gas/mips/micromips-warn-branch-delay.l, - gas/mips/micromips-warn.l, gas/mips/mips16e-64.l, - gas/mips/mips16e-save-err.l, gas/mips/mips1-fp.l, - gas/mips/mips32r2-fp32.l, gas/mips/mips32r2-ill.l, - gas/mips/mips32-sf32.l, gas/mips/mips4-branch-likely.l, - gas/mips/mips4-fp.l, gas/mips/mips5-fp.l, gas/mips/mips64-mips3d.l, - gas/mips/mips-double-float-flag.l, gas/mips/mips-gp64-fp32.l, - gas/mips/mips-gp64-fp64.l, gas/mips/mips-hard-float-flag.l, - gas/mips/mips-macro-ill-nofp.l, gas/mips/mips-macro-ill-sfp.l, - gas/mips/nan-error-1.l, gas/mips/nan-error-2.l, gas/mips/noat-2.l, - gas/mips/noat-3.l, gas/mips/noat-4.l, gas/mips/noat-5.l, - gas/mips/noat-6.l, gas/mips/noat-7.l, gas/mips/octeon-ill.l, - gas/mips/r5900-error-vu0.l, gas/mips/r5900-nollsc.l, - gas/mips/relax-bc1any.l, gas/mips/relax-bposge.l, gas/mips/relax.l, - gas/mips/relax-swap1.l, gas/mips/relax-swap2.l, gas/mips/set-arch.l, - gas/mips/tls-ill.l, gas/mips/vr5400-ill.l: Adjust expected output. - -2013-08-19 Richard Sandiford - - * gas/mips/ext-ill.l, gas/mips/mips64r2-ill.l: Expect DEXT and DINS - error messages to have the same form as the EXT and INS ones. - * gas/mips/micromips-insn32.d, gas/mips/micromips-noinsn32.d, - gas/mips/micromips-trap.d, gas/mips/micromips.d, - gas/mips/micromips@mips64r2.d, gas/mips/mips64r2.d: Expect - "dext" and "dins" instead of "dextm", "dextu", "dinsm" and "dinsu". - -2013-08-19 Richard Sandiford - - * gas/mips/octeon-ill.l: Adjust expected output. - * gas/mips/lui-1.l, gas/mips/lui-1.s: Add more cases. - -2013-08-19 Richard Sandiford - - * gas/mips/ext-ill.l, gas/mips/lui-1.l, gas/mips/mips16e-64.l, - gas/mips/mips32r2-ill-fp64.l, gas/mips/mips32r2-ill-nofp.l, - gas/mips/mips32r2-ill.l, gas/mips/mips64r2-ill.l, - gas/mips/octeon-ill.l, gas/mips/r5900-error-vu0.l, - gas/mips/vr5400-ill.l: Adjust expected errors. - * gas/mips/micromips-size-0.l, - gas/mips/micromips-size-0.s: Likewise. Add new tests. - * gas/mips/mips16e-save-err.s, gas/mips/mips16e-save-err.l: New test. - * gas/mips/mips.exp: Run it. - -2013-08-19 Richard Sandiford - - * gas/mips/micromips-ill.l: Expect "floating-point expression required" - -2013-08-06 Jürgen Urban - - * gas/mips/r5900-error-vu0.s, gas/mips/r5900-error-vu0.l, - gas/mips/r5900-full-vu0.s, gas/mips/r5900-full-vu0.d: Allow - single-channel suffixes to be elided. - -2013-08-04 Jürgen Urban - - * gas/mips/r5900-vu0.d: Expect $vfN and $viN instead of numeric - coprocessor registers. - * gas/mips/r5900-all-vu0.s, gas/mips/r5900-all-vu0.d, - gas/mips/r5900-full-vu0.s, gas/mips/r5900-full-vu0.d, - gas/mips/r5900-error-vu0.s, gas/mips/r5900-error-vu0.l: New tests. - * gas/mips/mips.exp: Run them. - -2013-08-03 Richard Sandiford - - * gas/mips/mips16-macro.s, gas/mips/mips16-macro.d: New test. - * gas/mips/mips.exp: Run it. - -2013-07-26 Sergey Guriev - Alexander Ivchenko - Maxim Kuznetsov - Sergey Lega - Anna Tikhonova - Ilya Tocar - Andrey Turetskiy - Ilya Verbin - Kirill Yukhin - Michael Zolotukhin - - * gas/cfi/cfi-i386.s: Add tests for k0-k7. - * gas/cfi/cfi-i386.d: Change to reflect above mentioned changes. - * gas/cfi/cfi-x86_64.s: Add tests for xmm16-31, k0-7. - * gas/cfi/cfi-x86_64.d: Change to reflect above mentioned changes. - * gas/i386/ilp32/cfi/cfi-x86_64.d: Ditto. - * gas/i386/intel-regs.s: Add tests for zmm0 and xmm16 registers. - * gas/i386/intel-regs.d: Change correspondingly. - * gas/i386/prefetch-intel.d: Reflect implementation of prefetchwt1. - * gas/i386/prefetch.d: Ditto. - * gas/i386/x86-64-prefetch-intel.d: Ditto. - * gas/i386/x86-64-prefetch.d: Ditto. - * gas/i386/avx512f-intel.d: New. - * gas/i386/avx512f-nondef.d: New. - * gas/i386/avx512f-nondef.s: New. - * gas/i386/avx512f-opts-intel.d: New. - * gas/i386/avx512f-opts.d: New. - * gas/i386/avx512f-opts.s: New. - * gas/i386/avx512f.d: New. - * gas/i386/avx512f.s: New. - * gas/i386/avx512cd-intel.d: New. - * gas/i386/avx512cd.d: New. - * gas/i386/avx512cd.s: New. - * gas/i386/avx512er-intel.d: New. - * gas/i386/avx512er.d: New. - * gas/i386/avx512er.s: New. - * gas/i386/avx512pf-intel.d: New. - * gas/i386/avx512pf.d: New. - * gas/i386/avx512pf.s: New. - * gas/i386/evex-lig.s: New. - * gas/i386/evex-lig256-intel.d: New. - * gas/i386/evex-lig256.d: New. - * gas/i386/evex-lig512-intel.d: New. - * gas/i386/evex-lig512.d: New. - * gas/i386/evex-wig.s: New. - * gas/i386/evex-wig1-intel.d: New. - * gas/i386/evex-wig1.d: New. - * gas/i386/inval-avx512f.l: New. - * gas/i386/inval-avx512f.s: New. - * gas/i386/x86-64-avx512f-intel.d: New. - * gas/i386/x86-64-avx512f-nondef.d: New. - * gas/i386/x86-64-avx512f-nondef.s: New. - * gas/i386/x86-64-avx512f-opts-intel.d: New. - * gas/i386/x86-64-avx512f-opts.d: New. - * gas/i386/x86-64-avx512f-opts.s: New. - * gas/i386/x86-64-avx512f.d: New. - * gas/i386/x86-64-avx512f.s: New. - * gas/i386/x86-64-avx512cd-intel.d: New. - * gas/i386/x86-64-avx512cd.d: New. - * gas/i386/x86-64-avx512cd.s: New. - * gas/i386/x86-64-avx512er-intel.d: New. - * gas/i386/x86-64-avx512er.d: New. - * gas/i386/x86-64-avx512er.s: New. - * gas/i386/x86-64-avx512pf-intel.d: New. - * gas/i386/x86-64-avx512pf.d: New. - * gas/i386/x86-64-avx512pf.s: New. - * gas/i386/x86-64-evex-lig.s: New. - * gas/i386/x86-64-evex-lig256-intel.d: New. - * gas/i386/x86-64-evex-lig256.d: New. - * gas/i386/x86-64-evex-lig512-intel.d: New. - * gas/i386/x86-64-evex-lig512.d: New. - * gas/i386/x86-64-evex-wig.s: New. - * gas/i386/x86-64-evex-wig1-intel.d: New. - * gas/i386/x86-64-evex-wig1.d: New. - * gas/i386/x86-64-inval-avx512f.l: New. - * gas/i386/x86-64-inval-avx512f.s: New. - * gas/i386/i386.exp: Run new AVX-512 tests. - -2013-07-25 Richard Sandiford - - * gas/mips/loongson-2f.d: Fix expected output for madd.ps, - msub.ps, nmadd.ps and nmsub.ps. - -2013-07-25 Michael Zolotukhin - - * gas/i386/sha.d: New. - * gas/i386/sha.s: New. - * gas/i386/x86-64-sha.d: New. - * gas/i386/x86-64-sha.s: New. - * gas/i386/i386.exp: Run new SHA tests. - -2013-07-24 Anna Tikhonova - Kirill Yukhin - Michael Zolotukhin - - * gas/i386/mpx-add-bnd-prefix.s: New. - * gas/i386/mpx-add-bnd-prefix.d: New. - * gas/i386/mpx-inval-1.l: New. - * gas/i386/mpx-inval-1.s: New. - * gas/i386/mpx.d: New. - * gas/i386/mpx.s: New. - * gas/i386/x86-64-mpx-add-bnd-prefix.d: New. - * gas/i386/x86-64-mpx-add-bnd-prefix.s: New. - * gas/i386/x86-64-mpx-addr32.d: New. - * gas/i386/x86-64-mpx-addr32.s: New. - * gas/i386/x86-64-mpx-inval-1.l: New. - * gas/i386/x86-64-mpx-inval-1.s: New. - * gas/i386/x86-64-mpx-inval-2.l: New. - * gas/i386/x86-64-mpx-inval-2.s: New. - * gas/i386/x86-64-mpx.d: New. - * gas/i386/x86-64-mpx.s: New. - * gas/i386/nops.d: Adjust to MPX changes. - * gas/i386/nops.s: Likewise. - * gas/i386/x86-64-nops.d: Likewise. - * gas/i386/x86-64-nops.s: Likewise. - * gas/i386/ilp32/x86-64-nops.d: Likewise. - * gas/i386/i386.exp: Run new MPX tests. - -2013-07-24 Tristan Gingold - - * gas/ppc/test2xcoff32.s, gas/ppc/test2xcoff32.d: New files - * gas/ppc/ppc.exp: Add new test. - * gas/ppc/xcoff-br16-1.s, gas/ppc/xcoff-br16-1.d, - gas/ppc/xcoff-br16-2.s, gas/ppc/xcoff-br16-2.d: New files - * gas/ppc/aix.exp: Add new tests. - -2013-07-19 Yufeng Zhang - - * gas/aarch64/ilp32-basic.d (#as): Update to use -mabi=ilp32 - -2013-07-14 Richard Sandiford - - * gas/mips/vr5400-ill.s, gas/mips/vr5400-ill.l: Add some more cases. - * gas/mips/micromips-ill.s, gas/mips/micromips-ill.l: New test. - * gas/mips/mips.exp: Run it. - -2013-07-14 Richard Sandiford - - * gas/mips/at-2.l: Remove duplicated $at warnings. - * gas/mips/ext-ill.l, gas/mips/lui-1.l, gas/mips/mips32r2-ill.l, - gas/mips/mips32r2-ill-nofp.l, gas/mips/mips32r2-ill-fp64.l, - gas/mips/mips64r2-ill.l, gas/mips/octeon-ill.l: Update error - messages. Expect negative numbers to be printed as such, - rather than as large unsigned positive numbers. - -2013-07-12 Maciej W. Rozycki - - * gas/mips/nan-2008-1.d: New test. - * gas/mips/nan-2008-2.d: New test. - * gas/mips/nan-2008-3.d: New test. - * gas/mips/nan-2008-4.d: New test. - * gas/mips/nan-legacy-1.d: New test. - * gas/mips/nan-legacy-2.d: New test. - * gas/mips/nan-legacy-3.d: New test. - * gas/mips/nan-legacy-4.d: New test. - * gas/mips/nan-legacy-5.d: New test. - * gas/mips/nan-error-1.l: New list test. - * gas/mips/nan-error-2.l: New list test. - * gas/mips/nan-2008-override.s: New test source. - * gas/mips/nan-2008.s: New test source. - * gas/mips/nan-legacy-override.s: New test source. - * gas/mips/nan-legacy.s: New test source. - * gas/mips/nan-error-1.s: New test source. - * gas/mips/nan-error-2.s: New test source. - * gas/mips/mips.exp: Run the new tests. - -2013-07-09 Richard Sandiford - - * gas/mips/la-reloc.s, gas/mips/la-reloc.d, gas/mips/dla-reloc.s, - gas/mips/dla-reloc.d: Add files missing from earlier commit. - -2013-07-08 H.J. Lu - - PR gas/13572 - * gas/i386/simd.s: Add a test for cvttps2pi. - * gas/i386/simd-intel.d: Updated. - * gas/i386/simd.d: Likewise. - -2013-07-08 Richard Sandiford - - * gas/mips/la.s, gas/mips/la.d, gas/mips/la-svr4pic.d, - gas/mips/la-xgot.d: Add tests for bracketed addresses. - -2013-07-07 Richard Sandiford - - * gas/mips/ldstla-32.d: Avoid "lui at,0x0" sequences for - truncated constants. - * gas/mips/ldstla-32-shared.d: Likewise. - * gas/mips/mcu.d: Use ADDIU in preference to LI+ADDU when adding - 16-bit constants to the base. - * gas/mips/micromips@mcu.d: Likewise. - * gas/mips/micromips@cache.d: Likewise. - * gas/mips/micromips@pref.d: Likewise. - * gas/mips/micromips.d, gas/mips/micromips-insn32.d, - gas/mips/micromips-noinsn32.d, gas/mips/micromips-trap.d: Likewise. - Allow the full 16-bit offset range to be used for SB, LB and LBU in - USH and ULH sequences. Fix the expected output for LD and SD when - the two LW and SW offsets need different high parts. - * gas/mips/eva.s: Test PREFE with relocation operators. - * gas/mips/eva.d: Use ADDIU in preference to LI+ADDU for 16-bit - constants. Update after eva.s change. - * gas/mips/micromips@eva.d: Likewise. - * gas/mips/ld-reloc.s, gas/mips/ld-reloc.d, gas/mips/l_d-reloc.s, - gas/mips/l_d-reloc.d, gas/mips/ulw-reloc.s, gas/mips/ulw-reloc.d, - gas/mips/micromips@ulw-reloc.d, gas/mips/ulh-reloc.s, - gas/mips/ulh-reloc.d: New tests. - * gas/mips/mips.exp: Run them. - -2013-07-07 Richard Sandiford - - * gas/mips/eva.d, gas/mips/micromips@eva.d: Remove hard-coded - addresses. Use gpr-names=numeric. - -2013-07-07 Richard Sandiford - - * gas/mips/mips16.d, gas/mips/mips16-64.d: Remove trailing whitespace - from ENTRY and EXIT lines. - -2013-07-07 Richard Sandiford - - * gas/mips/vr5400-ill.s, gas/mips/vr5400-ill.l: New test. - * gas/mips/mips.exp: Run it. - -2013-07-07 Richard Sandiford - - * gas/mips/lb.d, gas/mips/sb.d: Use coprocessor register names - for LWC0 and SWC0. - -2013-07-05 Andreas Krebbel - - * gas/s390/zarch-zEC12.s: Change bprp second operand and add - variants requiring relocations. - * gas/s390/zarch-zEC12.d: Likewise. - -2013-07-03 Marcus Shawcroft - - * gas/aarch64/reloc-insn.s (func): Replace :got_prel19: with :got:. - -2013-06-26 Yufeng Zhang - - * gas/aarch64/ilp32-basic.d: New file. - * gas/aarch64/ilp32-basic.s: New file. - -2013-06-25 Maciej W. Rozycki - - * gas/mips/micromips-insn32.d: New test. - * gas/mips/micromips-noinsn32.d: Likewise. - * gas/mips/micromips.l: Rename to... - * gas/mips/micromips-warn.l: ... this. - * gas/mips/micromips.d: Update accordingly. - * gas/mips/micromips-trap.d: Likewise. - * gas/mips/micromips.l: New list test. - * gas/mips/micromips.s: Add conditionals. - * gas/mips/mips.exp: Run the new tests. - -2013-06-24 Roland McGrath - - * gas/arm/macro-vld1.s: Add a case with whitespace before '}'. - * gas/arm/macro-vld1.d: Update. - - * gas/arm/macro-pld.s: Add a 'push {r0}' case. - * gas/arm/macro-pld.d: Update expected output. - * gas/arm/macro-vld1.s: New file. - * gas/arm/macro-vld1.d: New file. - -2013-06-22 Richard Sandiford - - * gas/mips/mips.exp: Remove "LOSE" comments. - (run_dump_test_arch): Remove format selector support. - (run_dump_test_arches): Remove associated upvars. - (elf, ecoff, aout, no_mips16, no_micromips): Remove variables. - Remove all conditions based on them, on the assumption that $elf - is true and the others are false. Rename "elf-jal" to "jal". - (tmips): Set to "t" for *bsd targets. - * gas/mips/elf-jal.d: Rename to... - * gas/mips/jal.d: ...this, replacing the old file. - * gas/mips/micromips@elf-jal.d: Rename to... - * gas/mips/micromips@jal.d: ...this. - * gas/mips/at-1.d, gas/mips/ld.d, gas/mips/l_d.d, gas/mips/lui.d, - gas/mips/mips1@l_d.d, gas/mips/mips1@ld-forward.d, gas/mips/mips1@ld.d, - gas/mips/mips1@s_d.d, gas/mips/s_d.d, gas/mips/sd.d: Remove ECOFF - relocation names. Do not allow any offset on the symbol. - -2013-06-22 Richard Sandiford - - * gas/mips/lineno.d: Remove ellipsis. - -2013-06-22 Richard Sandiford - - * gas/all/gas.exp: Remove reference to mips-ecoff. - * gas/mips/branch-misc-1.d, gas/mips/branch-misc-2.d, - gas/mips/branch-misc-2-64.d, gas/mips/branch-misc-2pic.d, - gas/mips/branch-misc-2pic-64.d, gas/mips/branch-swap.d: Remove - skips for mips-*-ecoff. - -2013-06-20 Richard Sandiford - - * gas/mips/ase-errors-1.s, gas/mips/ase-errors-1.l, - gas/mips/ase-errors-2.s, gas/mips/ase-errors-2.l, - gas/mips/ase-errors-3.s, gas/mips/ase-errors-3.l, - gas/mips/ase-errors-4.s, gas/mips/ase-errors-4.l: New tests. - * gas/mips/mips.exp: Run them. - -2013-06-18 Richard Sandiford - - * gas/mips/eva.d: Use -32. - -2013-06-17 Catherine Moore - Maciej W. Rozycki - Chao-Ying Fu - - * gas/mips/mips.exp: Run new tests. - * gas/mips/eva.d: New. - * gas/mips/eva.s: New. - * gas/mips/micromips@eva.d: New. - -2013-06-15 Richard Sandiford - - * gas/mips/loc-swap-3.d: Require -32. - -2013-06-14 Richard Sandiford - - * gas/mips/loc-swap-3.d, gas/mips/loc-swap-3.s: New test. - * gas/mips/mips.exp: Run it. - -2013-06-13 Chao-ying Fu - - * gas/mips/micromips@virt.d: New file. - * gas/mips/micromips@virt64.d: New file. - * gas/mips/mips.exp: Enable virt and virt64 tests for micromips. - -2013-06-12 Sandra Loosemore - - * gas/nios2/movia.s: Add additional test case with negative - constant value. - * gas/nios2/movia.d: Likewise. - -2013-06-12 Sandra Loosemore - - * gas/nios2/tret.d: Correct eret encoding. - -2013-06-10 Maciej W. Rozycki - - * gas/mips/relax-bc1any.l: New test. - * gas/mips/relax-bc1any.s: New test source. - * gas/mips/mips.exp: Run the new test. - -2013-06-09 Sandra Loosemore - - * gas/nios2/trap.s: Add additional test cases for optional - argument. - * gas/nios2/trap.d: Likewise. - -2013-05-31 H.J. Lu - - * gas/i386/size-3.d: Updated for text/data/bss section alignment - change. - * gas/i386/x86-64-size-1.d: Likewise. - * gas/i386/x86-64-unwind.d: Likewise. - * gas/i386/ilp32/x86-64-size-1.d: Likewise. - * gas/i386/ilp32/x86-64-size-5.d: Likewise. - * gas/i386/ilp32/x86-64-unwind.d: Likewise. - -2013-05-31 Catherine Moore - - * gas/mips/ehword.d: New. - * gas/mips/ehword.s: New. - * gas/mips/mips.exp: Run ehword test. - -2013-05-29 Maciej W. Rozycki - - * gas/mips/jalr3.d: New test. - * gas/mips/jalr3-n32.d: New test. - * gas/mips/jalr3-n64.d: New test. - * gas/mips/jalr3.s: New test source. - * gas/mips/mips.exp: Run the new tests. - -2013-05-28 Cary Coutant - - * gas/cris/rd-dw2-1.d: Adjust expected output. - * gas/cris/rd-dw2-10.d: Likewise. - * gas/cris/rd-dw2-11.d: Likewise. - * gas/cris/rd-dw2-12.d: Likewise. - * gas/cris/rd-dw2-13.d: Likewise. - * gas/cris/rd-dw2-14.d: Likewise. - * gas/cris/rd-dw2-15.d: Likewise. - * gas/cris/rd-dw2-2.d: Likewise. - * gas/cris/rd-dw2-3.d: Likewise. - * gas/cris/rd-dw2-4.d: Likewise. - * gas/cris/rd-dw2-5.d: Likewise. - * gas/cris/rd-dw2-6.d: Likewise. - * gas/cris/rd-dw2-7.d: Likewise. - * gas/cris/rd-dw2-8.d: Likewise. - * gas/cris/rd-dw2-9.d: Likewise. - * gas/elf/dwarf2-1.d: Likewise. - * gas/elf/dwarf2-2.d: Likewise. - * gas/elf/dwarf2-3.d: Likewise. - * gas/i386/debug1.d: Likewise. - * gas/i386/dw2-compress-1.d: Likewise. - * gas/i386/ilp32/lns/lns-common-1.d: Likewise. - * gas/i386/ilp32/lns/lns-duplicate.d: Likewise. - * gas/ia64/pr13167.d: Likewise. - * gas/lns/lns-big-delta.d: Likewise. - * gas/lns/lns-common-1-alt.d: Likewise. - * gas/lns/lns-common-1.d: Likewise. - * gas/lns/lns-duplicate.d: Likewise. - * gas/mips/loc-swap-2.d: Likewise. - * gas/mips/loc-swap.d: Likewise. - * gas/mips/micromips@loc-swap-2.d: Likewise. - * gas/mips/micromips@loc-swap.d: Likewise. - * gas/mips/mips16-dwarf2-n32.d: Likewise. - * gas/mips/mips16-dwarf2.d: Likewise. - * gas/mips/mips16@loc-swap-2.d: Likewise. - * gas/mips/mips16@loc-swap.d: Likewise. - -2013-05-28 Maciej W. Rozycki - - * gas/mips/ld-zero.d: New test. - * gas/mips/ld-zero-2.d: New test. - * gas/mips/ld-zero-3.d: New test. - * gas/mips/ld-zero-q.d: New test. - * gas/mips/ld-zero-u.d: New test. - * gas/mips/ecoff@ld-zero-3.d: New test. - * gas/mips/micromips@ld-zero-2.d: New test. - * gas/mips/micromips@ld-zero-3.d: New test. - * gas/mips/ld-zero.s: New test source. - * gas/mips/ld-zero-2.s: New test source. - * gas/mips/ld-zero-3.s: New test source. - * gas/mips/ld-zero-q.s: New test source. - * gas/mips/ld-zero-u.s: New test source. - * gas/mips/mips.exp: Run the new tests. - -2013-05-28 Yufeng Zhang - - * gas/aarch64/tls.d: Update. - * gas/aarch64/tls.s: Update. - -2013-05-28 Kyrylo Tkachov - - * gas/arm/armv8-a-bad.l: Update expected warning message. - * gas/arm/armv8-a-it-bad.l: Likewise. - -2013-05-28 Marcus Shawcroft - - * gas/aarch64/adr_1.d: New file. - * gas/aarch64/adr_1.s: New file. - * gas/aarch64/b_1.d: New file. - * gas/aarch64/b_1.s: New file. - * gas/aarch64/beq_1.d: New file. - * gas/aarch64/beq_1.s: New file. - * gas/aarch64/ldr_1.d: New file. - * gas/aarch64/ldr_1.s: New file. - * gas/aarch64/tbz_1.d: New file. - * gas/aarch64/tbz_1.s: New file. - -2013-05-24 Richard Sandiford - - * gas/s390/zarch-z9-109-err.s, gas/s390/zarch-z9-109-err.l: New test. - * gas/s390/s390.exp: Run it. - -2013-05-23 Andreas Krebbel - - * gas/s390/zarch-zEC12.d: Adjust length operands for cdzt, cxzt, - czdt, and czxt. - * gas/s390/zarch-zEC12.d: Likewise. - -2013-05-22 Jürgen Urban - - * gas/mips/r5900-full.s, gas/mips/r5900-full.d: Add tests for LQ - and SQ macros. - * gas/mips/r5900-vu0.s, gas/mips/r5900-vu0.d: New test. - * gas/mips/mips.exp: Run it. - -2013-05-21 Alan Modra - - * gas/ppc/vsx2.d: Ignore trailing padding. - -2013-05-20 Peter Bergner - - * gas/ppc/altivec2.d : Add new tests. - * gas/ppc/altivec2.s: Likewise. - * gas/ppc/power8.d : Add new tests. - * gas/ppc/power8.s Likewise. - * gas/ppc/vsx.d : Add new tests. - * gas/ppc/vsx.s Likewise. - * gas/ppc/vsx2.d: New test file. - * gas/ppc/vsx2.s: Likewise. - * gas/ppc/ppc.exp: Run it. - -2013-05-16 Tristan Gingold - - * gas/ppc/ppc.exp: Do not run simpshft on aix. - -2013-05-16 Nick Clifton - - * gas/msp430/opcodes.s: Use correct value for .arch pseudo. - * gas/msp430/msp430x.d: Use correct value for -mcpu option. - -2013-05-13 Yufeng Zhang - - * gas/aarch64/diagnostic.s: Update. - * gas/aarch64/diagnostic.l: Ditto. - * gas/aarch64/movi.s: Add new tests. - * gas/aarch64/movi.d: Update. - -2013-05-09 Andrew Pinski - - * gas/mips/mips.exp: Run virt and virt64 testcases. - * gas/mips/virt.d: New file. - * gas/mips/virt.s: New file. - * gas/mips/virt64.d: New file. - * gas/mips/virt64.s: New file. - -2013-05-04 Richard Sandiford - - * gas/mips/micromips-warn-branch-delay.d: Use numeric registers. - -2013-05-02 Richard Sandiford - - * gas/mips/mips16-stabs.s, gas/mips/mips16-stabs.d: New test. - * gas/mips/mips.exp: Run it. - -2013-05-02 Nick Clifton - - * gas/all/gas.exp: Skip the DIFF1 test for the MSP430. - Expect the FORWARD test to pass for the MSP430. - Skip the REDEF tests for the MSP430. - Expect the 930509A test to fail for the MSP430. - * gas/all/sleb128-4.d: Skip for the MSP430. - * gas/elf/elf.exp: Set target_machine to msp430 for the MSP430. - Skip the EHOPT0 test for the MSP430. - Skip the REDEF and EQU-RELOC tests for the MSP430. - * gas/elf/section2.e-msp430: New file. - * gas/lns/lns-big-delta.d: Remove expectation of 20-bit - addresses. - * gas/lns/lns.exp: Use alternate LNS COMMON test for the MSP430. - * gas/msp430/msp430x.s: New test. - * gas/msp430/msp430x.d: Expected disassembly. - * gas/msp430/msp430.exp: Run new test. - * gas/msp430/opcode.d: Update expected disassembly. - -2013-04-30 Chao-ying Fu - - * gas/mips/ext-ill.s: New file. - * gas/mips/ext-ill.l: New file. - * gas/mips/mips.exp: Run new tests. - -2013-04-29 Nick Clifton - - * gas/elf/dwarf2-3.d: Fix expected readelf output. - -2013-04-24 H.J. Lu - - * gas/i386/rex.d: Skip x86_64-*-elf*. - * gas/i386/ilp32/rex.d: Likewise. - -2013-04-15 Julian Brown - - * gas/all/gas.exp (sleb128-7): Don't run for tic4x, tic54x. - * gas/all/sleb128-2.s: Reformat, use _ at start of labels, remove - cruft. - * gas/all/sleb128-3.s: Likewise. - * gas/all/sleb128-4.s: Likewise. - * gas/all/sleb128-5.s: Likewise. - * gas/all/sleb128-7.s: Likewise. - * gas/all/sleb128-2.d: Handle data sections named $DATA$. - * gas/all/sleb128-3.d: Likewise. - * gas/all/sleb128-4.d: Likewise. - * gas/all/sleb128-5.d: Likewise. - * gas/all/sleb128-7.d: Likewise. - -2013-04-10 Julian Brown - - * gas/all/sleb128-2.s: New test. - * gas/all/sleb128-3.s: Likewise. - * gas/all/sleb128-4.s: Likewise. - * gas/all/sleb128-5.s: Likewise. - * gas/all/sleb128-7.s: Likewise. - * gas/all/sleb128-2.d: New. - * gas/all/sleb128-3.d: New. - * gas/all/sleb123-4.d: New. - * gas/all/sleb123-5.d: New. - * gas/all/sleb123-7.d: New. - * gas/all/gas.exp (sleb128-2, sleb128-3, sleb128-4, sleb128-5) - (sleb128-7): Run new tests. - -2013-04-10 Jan Beulich - - * gas/testsuite/gas/arm/ldst-pc.s: Add index, non-writeback - forms of various loads and stores with PC as base. - * gas/testsuite/gas/arm/ldst-pc.d: Update accordingly. - -2013-04-10 Jan Beulich - - * gas/arm/barrier-bad.d: Change title. - * gas/arm/barrier-bad.s: Add immediate form of ISB and DSB as - well as one symbolic form of DSB. - * gas/arm/barrier-bad.l: Update accordingly. - * gas/arm/barrier-bad-thumb.d: Adjust title. Use barrier-bad.s as - source. Pass -mthumb to gas. - * gas/arm/barrier-bad-thumb.l: Remove. - * gas/arm/barrier-bad-thumb.s: Remove. - * gas/arm/barrier-thumb.d: Adjust title. Use barrier.s as source. - Pass -mthumb to gas. - * gas/arm/barrier-thumb.s: Remove. - -2013-04-09 Jan Beulich - - * gas/arm/vfp1xD.s: Add VMRS/VMSR tests with FPINST, FPINST2, - and C15. - * gas/arm/vfp1xD.d: Update accordingly. - -2013-04-09 Jan Beulich - - * gas/arm/neon-omit.s: Add tests for suffix less VMOV. - * gas/arm/neon-omit.d: Update accordingly. - -2013-04-09 Jan Beulich - - * gas/arm/neon-addressing-bad.s: Add test for further invalid VST - operands. - * gas/arm/neon-addressing-bad.l: Update accordingly. - -2013-04-08 Jan Beulich - - * gas/i386/x86-64-opcode.s: Flesh out LOOP and J*CXZ sections. - Correct comments in Jcc section. - * gas/i386/x86-64-opcode.d: Refresh. - * gas/i386/ilp32/x86-64-opcode.d: Refresh. - -2013-04-06 David S. Miller - - * gas/sparc/cbcond.s: Add tests for new opcode aliases. - * gas/sparc/cbcond.d: Updated. - * gas/sparc/hpcvis3.s: Add tests for new opcode aliases. - * gas/sparc/hpcvis3.d: Updated. - * gas/sparc/v8-movwr-imm.d: Fix expected disassembly. - * gas/sparc/edge.s: New test. - * gas/sparc/edge.d: Expected disassembly. - * gas/sparc/flush.s: New test. - * gas/sparc/flush.d: Expected disassembly. - * gas/sparc/ldd_std.s: New test. - * gas/sparc/ldd_std.d: Expected disassembly. - * gas/sparc/ldtw_sttw.s: New test. - * gas/sparc/ldtw_sttw.d: Expected disassembly. - * gas/sparc/sparc.exp: Run new tests. - -2013-03-27 Alexis Deruelle - - PR binutils/15068 - * gas/tic6x/insns16-lsd-unit.s: Correct bit patterns for mvk, add - and xor. - * gas/tic6x/insns16-lsd-unit.d: Update expected output. - -2013-03-27 H.J. Lu - - * gas/i386/addr32.s: Add an SIB test. - * gas/i386/addr32.d: Updated. - -2013-03-27 Alexis Deruelle - - PR binutils/15068 - * gas/tic6x/insns16-d-unit.s: New test. - * gas/tic6x/insns16-d-unit.d: Expected disassembly. - * gas/tic6x/insns16-ddec.s: New test. - * gas/tic6x/insns16-ddec.d: Expected disassembly. - * gas/tic6x/insns16-dinc.s: New test. - * gas/tic6x/insns16-dinc.d: Expected disassembly. - * gas/tic6x/insns16-dind.s: New test. - * gas/tic6x/insns16-dind.d: Expected disassembly. - * gas/tic6x/insns16-doff4.s: New test. - * gas/tic6x/insns16-doff4.d: Expected disassembly. - * gas/tic6x/insns16-l-unit.s: New test. - * gas/tic6x/insns16-l-unit.d: Expected disassembly. - * gas/tic6x/insns16-lsd-unit.s: New test. - * gas/tic6x/insns16-lsd-unit.d: Expected disassembly. - * gas/tic6x/insns16-m-unit.s: New test. - * gas/tic6x/insns16-m-unit.d: Expected disassembly. - * gas/tic6x/insns16-s-unit-pcrel.s: New test. - * gas/tic6x/insns16-s-unit-pcrel.d: Expected disassembly. - * gas/tic6x/insns16-s-unit: New test. - * gas/tic6x/insns16-s-unit.d: Expected disassembly. - -2013-03-26 Douglas B Rupp - - * gas/ia64/ia64.exp: Add new test reloc-mlx - * gas/ia64/reloc-mlx.[sd]: New test for X-unit reloc. - * gas/ia64/pcrel.d: Fix output for X-unit reloc. - -2013-03-21 Will Newton - - * gas/arm/thumb2_relax.d: Strip out invalid pc-relative strs. - * gas/arm/thumb2_relax.s: Likewise. - * gas/arm/thumb32.d: Likewise. - * gas/arm/thumb32.l: Likewise. - * gas/arm/thumb32.s: Likewise. - * gas/arm/thumb2_str-bad.d: New file. - * gas/arm/thumb2_str-bad.l: Likewise. - * gas/arm/thumb2_str-bad.s: Likewise. - -2013-03-20 Alexis Deruelle - - PR gas/15082 - * gas/tic6x/insns-bad-1.s: Remove test-case for mpydp with - cross-path. - * gas/tic6x/insns-bad-1.l: Update expected output. - * gas/tic6x/insns-c674x.s: Add a test-case for mpydp with - cross-path. - * gas/tic6x/insns-c674x.d: Update expected output. - -2013-03-20 Alexis Deruelle - - PR gas/15095 - * gas/tic6x/insns-c674x.s: Add test cases for the newly generated - opcode. - * gas/tic6x/insns-c674x.d: Update expected disassembly. - -2013-03-15 Will Newton - - * gas/arm/any-idiv.d: Expand *-*eabi test to cover *-*eabi*. - * gas/arm/arch4t-eabi.d: Likewise. - * gas/arm/arch4t.d: Likewise. - * gas/arm/attr-any-armv4t.d: Likewise. - * gas/arm/attr-any-thumbv6.d: Likewise. - * gas/arm/attr-cpu-directive.d: Likewise. - * gas/arm/attr-default.d: Likewise. - * gas/arm/attr-march-all.d: Likewise. - * gas/arm/attr-march-armv1.d: Likewise. - * gas/arm/attr-march-armv2.d: Likewise. - * gas/arm/attr-march-armv2a.d: Likewise. - * gas/arm/attr-march-armv2s.d: Likewise. - * gas/arm/attr-march-armv3.d: Likewise. - * gas/arm/attr-march-armv3m.d: Likewise. - * gas/arm/attr-march-armv4.d: Likewise. - * gas/arm/attr-march-armv4t.d: Likewise. - * gas/arm/attr-march-armv4txm.d: Likewise. - * gas/arm/attr-march-armv4xm.d: Likewise. - * gas/arm/attr-march-armv5.d: Likewise. - * gas/arm/attr-march-armv5t.d: Likewise. - * gas/arm/attr-march-armv5te.d: Likewise. - * gas/arm/attr-march-armv5tej.d: Likewise. - * gas/arm/attr-march-armv5texp.d: Likewise. - * gas/arm/attr-march-armv5txm.d: Likewise. - * gas/arm/attr-march-armv6-m+os.d: Likewise. - * gas/arm/attr-march-armv6-m.d: Likewise. - * gas/arm/attr-march-armv6.d: Likewise. - * gas/arm/attr-march-armv6j.d: Likewise. - * gas/arm/attr-march-armv6k+sec.d: Likewise. - * gas/arm/attr-march-armv6k.d: Likewise. - * gas/arm/attr-march-armv6kt2.d: Likewise. - * gas/arm/attr-march-armv6s-m.d: Likewise. - * gas/arm/attr-march-armv6t2.d: Likewise. - * gas/arm/attr-march-armv6z.d: Likewise. - * gas/arm/attr-march-armv6zk.d: Likewise. - * gas/arm/attr-march-armv6zkt2.d: Likewise. - * gas/arm/attr-march-armv6zt2.d: Likewise. - * gas/arm/attr-march-armv7-a+idiv.d: Likewise. - * gas/arm/attr-march-armv7-a+mp.d: Likewise. - * gas/arm/attr-march-armv7-a+sec+virt.d: Likewise. - * gas/arm/attr-march-armv7-a+sec.d: Likewise. - * gas/arm/attr-march-armv7-a+virt.d: Likewise. - * gas/arm/attr-march-armv7-a.d: Likewise. - * gas/arm/attr-march-armv7-m.d: Likewise. - * gas/arm/attr-march-armv7-r+mp.d: Likewise. - * gas/arm/attr-march-armv7-r.d: Likewise. - * gas/arm/attr-march-armv7.d: Likewise. - * gas/arm/attr-march-armv7a.d: Likewise. - * gas/arm/attr-march-armv7em.d: Likewise. - * gas/arm/attr-march-armv7m.d: Likewise. - * gas/arm/attr-march-armv7r.d: Likewise. - * gas/arm/attr-march-armv8-a+crypto.d: Likewise. - * gas/arm/attr-march-armv8-a+fp.d: Likewise. - * gas/arm/attr-march-armv8-a+simd.d: Likewise. - * gas/arm/attr-march-armv8-a.d: Likewise. - * gas/arm/attr-march-iwmmxt.d: Likewise. - * gas/arm/attr-march-iwmmxt2.d: Likewise. - * gas/arm/attr-march-xscale.d: Likewise. - * gas/arm/attr-mcpu.d: Likewise. - * gas/arm/attr-mfpu-arm1020e.d: Likewise. - * gas/arm/attr-mfpu-arm1020t.d: Likewise. - * gas/arm/attr-mfpu-arm1136jf-s.d: Likewise. - * gas/arm/attr-mfpu-arm1136jfs.d: Likewise. - * gas/arm/attr-mfpu-arm7500fe.d: Likewise. - * gas/arm/attr-mfpu-fpa.d: Likewise. - * gas/arm/attr-mfpu-fpa10.d: Likewise. - * gas/arm/attr-mfpu-fpa11.d: Likewise. - * gas/arm/attr-mfpu-fpe.d: Likewise. - * gas/arm/attr-mfpu-fpe2.d: Likewise. - * gas/arm/attr-mfpu-fpe3.d: Likewise. - * gas/arm/attr-mfpu-maverick.d: Likewise. - * gas/arm/attr-mfpu-neon-fp16.d: Likewise. - * gas/arm/attr-mfpu-neon.d: Likewise. - * gas/arm/attr-mfpu-softfpa.d: Likewise. - * gas/arm/attr-mfpu-softvfp+vfp.d: Likewise. - * gas/arm/attr-mfpu-softvfp.d: Likewise. - * gas/arm/attr-mfpu-vfp.d: Likewise. - * gas/arm/attr-mfpu-vfp10-r0.d: Likewise. - * gas/arm/attr-mfpu-vfp10.d: Likewise. - * gas/arm/attr-mfpu-vfp3.d: Likewise. - * gas/arm/attr-mfpu-vfp9.d: Likewise. - * gas/arm/attr-mfpu-vfpv2.d: Likewise. - * gas/arm/attr-mfpu-vfpv3-d16.d: Likewise. - * gas/arm/attr-mfpu-vfpv3.d: Likewise. - * gas/arm/attr-mfpu-vfpv4-d16.d: Likewise. - * gas/arm/attr-mfpu-vfpv4.d: Likewise. - * gas/arm/attr-mfpu-vfpxd.d: Likewise. - * gas/arm/attr-names.d: Likewise. - * gas/arm/attr-order.d: Likewise. - * gas/arm/attr-override-cpu-directive.d: Likewise. - * gas/arm/attr-override-mcpu.d: Likewise. - * gas/arm/got_prel.d: Likewise. - * gas/arm/mapdir.d: Likewise. - * gas/arm/mapmisc.d: Likewise. - * gas/arm/mapsecs.d: Likewise. - * gas/arm/mapshort-eabi.d: Likewise. - * gas/arm/mapshort-elf.d: Likewise. - * gas/arm/mov-highregs-any.d: Likewise. - * gas/arm/mov-lowregs-any.d: Likewise. - * gas/arm/pr12198-1.d: Likewise. - * gas/arm/pr12198-2.d: Likewise. - * gas/arm/thumb-eabi.d: Likewise. - * gas/arm/thumb.d: Likewise. - * gas/arm/thumbrel.d: Likewise. - -2013-03-15 Nick Clifton - - * gas/arm/arch7.d: Skip for non-ELF ARM targets. - * gas/arm/arch7a-mp.d: Likewise. - * gas/arm/arch7em.d: Likewise. - * gas/arm/crc32-bad.d: Likewise. - * gas/arm/crc32.d: Likewise. - -2013-03-15 Will Newton - - * gas/arm/vstr-thumb-bad.d: Assemble with -mcpu=arm1156t2f-s. - -2013-03-12 Sebastian Huber - - * gas/nios2/nios2.exp: Use run_dump_tests. - * gas/nios2/mov.d: Delete file. - * gas/nios2/mov.s: Likewise. - * gas/nios2/rol.d: Likewise. - * gas/nios2/rol.s: Likewise. - * gas/nios2/add.d: Check instruction values. - * gas/nios2/align_fill.d: Likewise. - * gas/nios2/and.d: Likewise. - * gas/nios2/branch.d: Likewise. - * gas/nios2/bret.d: Likewise. - * gas/nios2/cache.d: Likewise. - * gas/nios2/call.d: Likewise. - * gas/nios2/call26.d: Likewise. - * gas/nios2/cmp.d: Likewise. - * gas/nios2/comments.d: Likewise. - * gas/nios2/complex.d: Likewise. - * gas/nios2/ctl.d: Likewise. - * gas/nios2/custom.d: Likewise. - * gas/nios2/etbt.d: Likewise. - * gas/nios2/flushda.d: Likewise. - * gas/nios2/jmp.d: Likewise. - * gas/nios2/ldb.d: Likewise. - * gas/nios2/ldh.d: Likewise. - * gas/nios2/ldw.d: Likewise. - * gas/nios2/lineseparator.d: Likewise. - * gas/nios2/movi.d: Likewise. - * gas/nios2/movia.d: Likewise. - * gas/nios2/mul.d: Likewise. - * gas/nios2/nor.d: Likewise. - * gas/nios2/or.d: Likewise. - * gas/nios2/registers.d: Likewise. - * gas/nios2/ret.d: Likewise. - * gas/nios2/rotate.d: Likewise. - * gas/nios2/stb.d: Likewise. - * gas/nios2/sth.d: Likewise. - * gas/nios2/stw.d: Likewise. - * gas/nios2/sub.d: Likewise. - * gas/nios2/sync.d: Likewise. - * gas/nios2/trap.d: Likewise. - * gas/nios2/tret.d: Likewise. - * gas/nios2/xor.d: Likewise. - -2013-03-12 Sebastian Huber - - * gas/nios2/break.d: Check instruction values. - -2013-03-11 Sebastian Huber - - * gas/nios2/nios2.exp: Run wrprs. - * gas/nios2/wrprs.d: New file. - * gas/nios2/wrprs.s: Likewise. - -2013-03-11 Sebastian Huber - - * gas/nios2/nios2.exp: Run rdprs. - * gas/nios2/rdprs.d: New file. - * gas/nios2/rdprs.s: Likewise. - -2013-03-11 Sebastian Huber - - * gas/nios2/nios2.exp: Run registers. - * gas/nios2/registers.d: New file. - * gas/nios2/registers.s: Likewise. - -2013-03-11 Kyrylo Tkachov - - * gas/arm/crc32-bad.d: New file. - * gas/arm/crc32-bad.l: Likewise. - * gas/arm/crc32-bad.s: Likewise. - * gas/arm/crc32.d: Likewise. - * gas/arm/crc32.s: Likewise. - -2013-03-05 Yufeng Zhang - - * gas/aarch64/diagnostic.s: Add test. - * gas/aarch64/diagnostic.l: Update. - * gas/aarch64/illegal.s: Add test. - * gas/aarch64/illegal.l: Update. - * gas/aarch64/fpmov.s: New file. - * gas/aarch64/fpmov.d: New file. - -2013-03-01 H.J. Lu - - * gas/i386/inval.s: Add tests for invalid addresses and eiz. - - * gas/i386/x86-64-inval.s: Add tests for invalid addresses and - riz/eiz. - - * gas/i386/inval.l: Updated. - * gas/i386/x86-64-inval.l: Likewise. - -2013-02-28 H.J. Lu - - * gas/i386/i386.exp: Run inval-rep and x86-64-inval-rep. - - * gas/i386/inval-rep.l: New file. - * gas/i386/inval-rep.s: Likewise. - * gas/i386/x86-64-inval-rep.l: Likewise. - * gas/i386/x86-64-inval-rep.s: Likewise. - -2013-02-28 Yufeng Zhang - - * gas/aarch64/crc32.s: New test. - * gas/aarch64/crc32.d: Ditto. - -2013-02-28 Yufeng Zhang - - * gas/aarch64/illegal.l: Delete the error message for - msr S3_1_C13_C15_1,x7. - * gas/aarch64/sysreg.s: Add new tests. - * gas/aarch64/sysreg.d: Update. - -2013-02-19 H.J. Lu - - PR gas/15159 - * gas/i386/i386.exp: Run smap and x86-64-smap. - - * gas/i386/smap.d: New file. - * gas/i386/smap.s: likewise. - * gas/i386/x86-64-smap.d: likewise. - -2013-02-15 Markos Chandras - - * gas/metag/labelarithmetic.d: Fix the expected disassembler - output to be in little endian format - * gas/metag/metacore12.d: likewise - * gas/metag/metacore21.d: likewise - * gas/metag/metacore21ext.d: likewise - * gas/metag/metadsp21.d: likewise - * gas/metag/metadsp21ext.d: likewise - * gas/metag/metafpu.d: likewise - * gas/metag/metafpuext.d: likewise - * gas/metag/tls.d: likewise - -2013-02-15 Kyrylo Tkachov - - * gas/arm/neon-vmov-bad.d: New file. - * gas/arm/neon-vmov-bad.s: Likewise. - * gas/arm/neon-vmov-bad.l: Likewise. - -2013-02-14 Yufeng Zhang - - * gas/aarch64/system.s: Add tests. - * gas/aarch64/system.d: Update. - -2013-02-11 Kyrylo Tkachov - - * gas/arm/archv6t2.s: Add strht and ldrht tests. - * gas/arm/archv6t2.d: Add disassembly patterns for the above. - -2013-02-09 Jürgen Urban - - * gas/mips/24k-triple-stores-2.d, gas/mips/24k-triple-stores-2.s, - gas/mips/micromips@24k-triple-stores-2.d: Move "sc" tests to... - * gas/mips/24k-triple-stores-2-llsc.d, - gas/mips/24k-triple-stores-2-llsc.s, - gas/mips/micromips@24k-triple-stores-2-llsc.d: ...these new tests. - * gas/mips/r5900-full.d, gas/mips/r5900-full.s: Verify that the - MIPS ISA level can be upgraded to support ll, sc, lld and scd. - * gas/mips/l_d-single.d, gas/mips/s_d-single.d, - gas/mips/r5900-nollsc.l, gas/mips/r5900-nollsc.s: New tests. - * gas/mips/mips.exp: Update accordingly. Add "nollsc" to r5900 - properties. - -2013-02-08 Alan Modra - - * gas/nios2/nios2.exp: Add copyright. - (run_list_test): Delete. Adjust callers to use standard version. - -2013-02-06 Sandra Loosemore - Andrew Jenner - - Based on patches from Altera Corporation. - - * gas/nios2/add.d: New. - * gas/nios2/add.s: New. - * gas/nios2/align_fill.d: New. - * gas/nios2/align_fill.s: New. - * gas/nios2/align_text.d: New. - * gas/nios2/align_text.s: New. - * gas/nios2/and.d: New. - * gas/nios2/and.s: New. - * gas/nios2/branch.d: New. - * gas/nios2/branch.s: New. - * gas/nios2/break.d: New. - * gas/nios2/break.s: New. - * gas/nios2/bret.d: New. - * gas/nios2/bret.s: New. - * gas/nios2/cache.d: New. - * gas/nios2/cache.s: New. - * gas/nios2/call26.d: New. - * gas/nios2/call26.s: New. - * gas/nios2/call.d: New. - * gas/nios2/call.s: New. - * gas/nios2/cmp.d: New. - * gas/nios2/cmp.s: New. - * gas/nios2/comments.d: New. - * gas/nios2/comments.s: New. - * gas/nios2/complex.d: New. - * gas/nios2/complex.s: New. - * gas/nios2/ctl.d: New. - * gas/nios2/ctl.s: New. - * gas/nios2/custom.d: New. - * gas/nios2/custom.s: New. - * gas/nios2/etbt.d: New. - * gas/nios2/etbt.s: New. - * gas/nios2/flushda.d: New. - * gas/nios2/flushda.s: New. - * gas/nios2/illegal.l: New. - * gas/nios2/illegal.s: New. - * gas/nios2/jmp.d: New. - * gas/nios2/jmp.s: New. - * gas/nios2/ldb.d: New. - * gas/nios2/ldb.s: New. - * gas/nios2/ldh.d: New. - * gas/nios2/ldh.s: New. - * gas/nios2/ldw.d: New. - * gas/nios2/ldw.s: New. - * gas/nios2/lineseparator.d: New. - * gas/nios2/lineseparator.s: New. - * gas/nios2/mov.d: New. - * gas/nios2/movia.d: New. - * gas/nios2/movia.s: New. - * gas/nios2/movi.d: New. - * gas/nios2/movi.s: New. - * gas/nios2/mov.s: New. - * gas/nios2/mul.d: New. - * gas/nios2/mul.s: New. - * gas/nios2/nios2.exp: New. - * gas/nios2/nor.d: New. - * gas/nios2/nor.s: New. - * gas/nios2/or.d: New. - * gas/nios2/or.s: New. - * gas/nios2/ret.d: New. - * gas/nios2/ret.s: New. - * gas/nios2/rol.d: New. - * gas/nios2/rol.s: New. - * gas/nios2/rotate.d: New. - * gas/nios2/rotate.s: New. - * gas/nios2/stb.d: New. - * gas/nios2/stb.s: New. - * gas/nios2/sth.d: New. - * gas/nios2/sth.s: New. - * gas/nios2/stw.d: New. - * gas/nios2/stw.s: New. - * gas/nios2/sub.d: New. - * gas/nios2/sub.s: New. - * gas/nios2/sync.d: New. - * gas/nios2/sync.s: New. - * gas/nios2/trap.d: New. - * gas/nios2/trap.s: New. - * gas/nios2/tret.d: New. - * gas/nios2/tret.s: New. - * gas/nios2/warn_noat.l: New. - * gas/nios2/warn_noat.s: New. - * gas/nios2/warn_nobreak.l: New. - * gas/nios2/warn_nobreak.s: New. - * gas/nios2/xor.d: New. - * gas/nios2/xor.s: New. - -2013-01-31 Tristan Gingold - - * gas/ppc/test1xcoff32.d: Updated. - * gas/all/fwdexp.d: Adjusted for AIX. - -2013-01-30 Yufeng Zhang - - * gas/aarch64/alias.s: Add new tests. - * gas/aarch64/alias.d: Update. - * gas/aarch64/no-aliases.d: Update. - -2013-01-30 Markos Chandras - - * gas/metag/metacore21-invalid.s: Add invalid SWAP testcases. - * gas/metag/metacore21-invalid.l: Add expected output for invalid - SWAP testcases. - -2013-01-28 Alexis Deruelle - - PR gas/15069 - * gas/tic6x/insns-c674x-pcrel.s: Add test of BNOP instruction - within header based fetch packet. - * gas/tic6x/insns-c674x-pcrel.d: Update expected disassembly. - -2013-01-24 Nick Clifton - - * gas/elf/warn-2.s: Skip for all V850 variants. - -2013-01-17 Yufeng Zhang - - * gas/aarch64/diagnostic.l: Update. - * gas/aarch64/movi.s: Add tests. - * gas/aarch64/movi.d: Update. - * gas/aarch64/programmer-friendly.s: Add comment. - -2013-01-16 H.J. Lu - - * gas/i386/i386.exp: Run size-1, size-2, size-3, size-4, - x86-64-size-1, x86-64-size-2, x86-64-size-3, x86-64-size-4, - x86-64-size-5 and x86-64-size-inval-1. - - * gas/i386/size-1.d: New file. - * gas/i386/size-1.s: Likewise. - * gas/i386/size-2.d: Likewise. - * gas/i386/size-2.s: Likewise. - * gas/i386/size-3.d: Likewise. - * gas/i386/size-3.s: Likewise. - * gas/i386/size-4.d: Likewise. - * gas/i386/size-4.s: Likewise. - * gas/i386/x86-64-size-1.d: Likewise. - * gas/i386/x86-64-size-2.d: Likewise. - * gas/i386/x86-64-size-3.d: Likewise. - * gas/i386/x86-64-size-4.d: Likewise. - * gas/i386/x86-64-size-5.d: Likewise. - * gas/i386/x86-64-size-5.s: Likewise. - * gas/i386/x86-64-size-inval-1.l: Likewise. - * gas/i386/x86-64-size-inval-1.s: Likewise. - * gas/i386/ilp32/x86-64-size-1.d: Likewise. - * gas/i386/ilp32/x86-64-size-2.d: Likewise. - * gas/i386/ilp32/x86-64-size-3.d: Likewise. - * gas/i386/ilp32/x86-64-size-4.d: Likewise. - * gas/i386/ilp32/x86-64-size-5.d: Likewise. - -2013-01-16 Alan Modra - - * gas/ppc/htm.d: Ignore padding at end of section. - -2013-01-15 H.J. Lu - - PR gas/15019 - * gas/i386/reloc32.s: Add tests for "xtrn@got -/+ 4". - * gas/i386/reloc64.s: Likewise. - * gas/i386/ilp32/reloc64.s: Likewise. - - * gas/i386/reloc32.d: Updated. - * gas/i386/reloc64.d: Likewise. - * gas/i386/ilp32/reloc64.d: Likewise. - -2013-01-15 Nick Clifton - - * gas/v850/basic.exp: Allow for variations in reloc names. - * gas/v850/split-lo16.d: Likewise. - - * gas/v850/v850e1.s: Add more tests of the PREPARE insn. - * gas/v850/v850e1.d: Update expected disassembly. - -2013-01-14 Alan Modra - - * gas/v850/basic.exp (reloc part 1): Pass -mgcc-abi to gas. - * gas/v850/split-lo16.d: Likewise. - -2013-01-14 Will Newton - - * gas/metag/metadsp21.d: Fix expected MMOV disassembly. - -2013-01-14 Alan Modra - - * gas/ppc/htm.s: Use .text rather than .section ".text". - * gas/ppc/power8.s: Likewise. - * gas/ppc/htm.d: Don't match file format. - * gas/ppc/power8.d: Likewise. - -2013-01-10 Peter Bergner - - * gas/ppc/htm.d: New test. - * gas/ppc/htm.s: Likewise. - * gas/ppc/power8.d: Likewise. - * gas/ppc/power8.s: Likewise. - * gas/ppc/ppc.exp: Run them. - -2013-01-10 Will Newton - - * gas/metag/labelarithmetic.d: New file. - * gas/metag/labelarithmetic.s: New file. - * gas/metag/metacore12.d: New file. - * gas/metag/metacore12.s: New file. - * gas/metag/metacore21-invalid.l: New file. - * gas/metag/metacore21-invalid.s: New file. - * gas/metag/metacore21.d: New file. - * gas/metag/metacore21.s: New file. - * gas/metag/metacore21ext.d: New file. - * gas/metag/metacore21ext.s: New file. - * gas/metag/metadsp21-invalid.l: New file. - * gas/metag/metadsp21-invalid.s: New file. - * gas/metag/metadsp21.d: New file. - * gas/metag/metadsp21.s: New file. - * gas/metag/metadsp21ext.d: New file. - * gas/metag/metadsp21ext.s: New file. - * gas/metag/metafpu21.d: New file. - * gas/metag/metafpu21.s: New file. - * gas/metag/metafpu21ext.d: New file. - * gas/metag/metafpu21ext.s: New file. - * gas/metag/metag.exp: New file. - * gas/metag/tls.d: New file. - * gas/metag/tls.s: New file. - -2013-01-08 Yufeng Zhang - - * gas/aarch64/diagnostic.s: Add test. - * gas/aarch64/diagnostic.l: Update. - -2013-01-07 Nick Clifton - - PR gas/14887 - * gas/arm/neon-ldst-es.s: Add more whitespace. - -2013-01-04 Juergen Urban - - * gas/mips/r5900-full.s: New test. - * gas/mips/r5900-full.d: Expected disassembly. - * gas/mips/r5900.s: New test. - * gas/mips/r5900.d: Expected disassembly. - * gas/mips/mips.exp: Run new tests. - -2013-01-04 Yufeng Zhang - - * gas/aarch64/int-insns.d: Update. - * gas/aarch64/mov.d: Update. - * gas/aarch64/reloc-insn.d: Update. - -2013-01-04 Yufeng Zhang - - * gas/aarch64/system.d: Update. - -2013-01-02 Nick Clifton - - PR gas/14987 - * gas/arm/neon-ldst-es.s: Add whitespace test. - * gas/arm/neon-ldst-es.d: Update expected disassembly. - -For older changes see ChangeLog-2012 +For older changes see ChangeLog-2013 -Copyright (C) 2013 Free Software Foundation, Inc. +Copyright (C) 2014 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright diff --git a/gas/testsuite/ChangeLog-2013 b/gas/testsuite/ChangeLog-2013 new file mode 100644 index 00000000000..f3929473196 --- /dev/null +++ b/gas/testsuite/ChangeLog-2013 @@ -0,0 +1,1798 @@ +2013-12-28 Hans-Peter Nilsson + + Adjust MMIX gas tests for recent bfd/elf.c change. + * gas/mmix/bspec-1.d: Adjust for SHF_INFO_LINK now set on RELA + sections. + * gas/mmix/bspec-2.d: Ditto. + +2013-12-20 Nick Clifton + + PR binutils/16218 + * gas/elf/dwarf2-1.d: Update expected objdump output. + * gas/elf/dwarf2-2.d: Likewise. + * gas/i386/dw2-compress-1.d: Likewise. + +2013-12-19 H.J. Lu + + * gas/i386/i386.exp: Don't run x86-64-disassem for mingw targets. + +2013-12-18 Yufeng Zhang + + * gas/aarch64/rm-simd-ext.d: New file. + * gas/aarch64/rm-simd-ext.l: Likewise. + * gas/aarch64/rm-simd-ext.s: Likewise. + +2013-12-17 Kuan-Lin Chen + + * gas/nds32/nds32.exp: Add system and user special register tests. + * gas/nds32/sys-reg.s: New test. + * gas/nds32/sys-reg.d: Likewise. + * gas/nds32/usr-spe-reg.s: Likewise. + * gas/nds32/usr-spe-reg.d: Likewise. + * gas/nds32/alu-2.d: Delete the new blank line at EOF. + * gas/nds32/br-1.d: Likewise. + * gas/nds32/br-2.d: Likewise. + * gas/nds32/ji-jr.d: Likewise. + * gas/nds32/lsi.d: Likewise. + +2013-12-17 Michael Zolotukhin + + * gas/i386/disassem.s: New. + * gas/i386/disassem.d: Likewise. + * gas/i386/x86-64-disassem.s: Likewise. + * gas/i386/x86-64-disassem.d: Likewise. + * gas/i386/i386.exp: Run disassem and x86-64-disassem. + +2013-12-16 Andrew Bennett + + * gas/mips/mips.exp: Add CP1 register name tests. + * gas/mips/cp1-names-mips32.d: New test. + * gas/mips/cp1-names-mips32r2.d: New test. + * gas/mips/cp1-names-mips64.d: New test. + * gas/mips/cp1-names-mips64r2.d: New test. + * gas/mips/cp1-names-numeric.d: New test. + * gas/mips/cp1-names-r3000.d: New test. + * gas/mips/cp1-names-r4000.d: New test. + * gas/mips/cp1-names-sb1.d: New test. + * gas/mips/cp1-names.s: New test. + * gas/mips/micromips-insn32.d: Add the correct symbolic names for the CP1 + registers. + * gas/mips/micromips-noinsn32.d: Likewise. + * gas/mips/micromips-trap.d: Likewise. + * gas/mips/micromips.d: Likewise. + +2013-12-16 Andrew Bennett + + * gas/mips/msa.s: Reduced maximum element index range + for sldi, splati, copy_s, copy_u, insert and insve instructions. + * gas/mips/msa64.s: Likewise. + * gas/mips/micromips@msa.d: Likewise. + * gas/mips/micromips@msa64.d: Likewise. + * gas/mips/msa.d: Likewise. + * gas/mips/msa64.d: Likewise. + +2013-12-13 Kuan-Lin Chen + + * gas/all/gas.exp: Add expected failures for NDS32. + * gas/elf/elf.exp: Likewise. + * gas/lns/lns.exp: Use alternate test. + * gas/macros/irp.d: Skip for NDS32. + * gas/macros/macros.exp: Skip some tests for the NDS32. + * gas/macros/rept.d: Skip for NDS32. + * gas/macros/test3.d: Skip for NDS32. + * gas/nds32: New directory. + * gas/nds32/alu-1.s: New test. + * gas/nds32/alu-1.d: Likewise. + * gas/nds32/alu-2.s: Likewise. + * gas/nds32/alu-2.d: Likewise. + * gas/nds32/br-1.d: Likewise. + * gas/nds32/br-1.s: Likewise. + * gas/nds32/br-2.d: Likewise. + * gas/nds32/br-2.s: Likewise. + * gas/nds32/ji-jr.d: Likewise. + * gas/nds32/ji-jr.s: Likewise. + * gas/nds32/ls.d: Likewise. + * gas/nds32/ls.s: Likewise. + * gas/nds32/lsi.d: Likewise. + * gas/nds32/lsi.s: Likewise. + * gas/nds32/to-16bit-v1.d: Likewise. + * gas/nds32/to-16bit-v1.s: Likewise. + * gas/nds32/to-16bit-v2.d: Likewise. + * gas/nds32/to-16bit-v2.s: Likewise. + * gas/nds32/to-16bit-v3.d: Likewise. + * gas/nds32/to-16bit-v3.s: Likewise. + * gas/nds32/nds32.exp: New test driver. + +2013-12-07 Mike Frysinger + + * gas/bfin/bit2.s: Remove +x file mode. + * gas/bfin/cache2.s: Likewise. + * gas/bfin/control_code2.s: Likewise. + * gas/bfin/event2.s: Likewise. + * gas/bfin/flow2.s: Likewise. + * gas/bfin/logical2.s: Likewise. + * gas/bfin/move2.s: Likewise. + * gas/bfin/shift2.s: Likewise. + * gas/bfin/stack2.s: Likewise. + * gas/bfin/vector2.s: Likewise. + * gas/bfin/video2.s: Likewise. + * gas/epiphany/sample.s: Likewise. + * gas/pe/aligncomm-a.d: Likewise. + * gas/pe/aligncomm-a.s: Likewise. + * gas/pe/aligncomm-b.d: Likewise. + * gas/pe/aligncomm-c.d: Likewise. + * gas/pe/aligncomm-c.s: Likewise. + * gas/pe/aligncomm-d.d: Likewise. + * gas/pe/aligncomm-d.s: Likewise. + * gas/pe/pe.exp: Likewise. + * gas/ppc/vle-simple-4.s: Likewise. + * gas/ppc/vle.d: Likewise. + * gas/ppc/vle.s: Likewise. + +2013-11-27 Matthew Fortune + + * gas/mips/mips.exp: Consider mips-mti-elf the same as mips-sde-elf + +2013-11-20 Yufeng Zhang + + * gas/aarch64/msr.s: Add tests. + * gas/aarch64/msr.d: Update. + +2013-11-19 Catherine Moore + + * gas/mips/fix-pmc-rm7000-1.d: New. + * gas/mips/fix-pmc-rm7000-1.s: New. + * gas/mips/fix-pmc-rm7000-2.d: New. + * gas/mips/fix-pmc-rm7000-2.s: New. + * gas/mips/micromips@fix-pmc-rm7000-1.d: New. + * gas/mips/micromips@fix-pmc-rm7000-2.d: New. + * gas/mips/mips.exp: Run new tests. + +2013-11-18 H.J. Lu + + * gas/i386/avx512f-nondef.d: Updated for mingw. + * gas/i386/mpx-add-bnd-prefix.d: Likewise. + * gas/i386/x86-64-avx512f-nondef.d: Likewise. + * gas/i386/x86-64-mpx-add-bnd-prefix.d: Likewise. + * gas/i386/x86-64-mpx-addr32.d: Likewise. + * gas/i386/x86-64-opcode.d: Likewise. + * gas/i386/x86-64-sha.d: Likewise. + +2013-11-18 Renlin Li + + * gas/arm/attr-march-armv7ve.d: New test case for armv7ve. + +2013-11-18 Zhenqiang Chen + + * gas/aarch64/sysreg.s: Add test. + * gas/aarch64/sysreg.d: Update. + +2013-11-18 Yufeng Zhang + + Revert + + 2013-11-15 Yufeng Zhang + + * gas/aarch64/diagnostic.s: Add tests. + * gas/aarch64/diagnostic.l: Update. + * gas/aarch64/tracereg-illegal.d: New file. + * gas/aarch64/tracereg-illegal.l: Ditto. + * gas/aarch64/tracereg-illegal.s: Ditto. + * gas/aarch64/tracereg.d: Ditto. + * gas/aarch64/tracereg.s: Ditto. + +2013-11-17 H.J. Lu + + * gas/i386/i386.exp: Run x86-64-mpx-branch-1 and + x86-64-mpx-branch-2 on 64-bit ELF targets. + * gas/i386/x86-64-mpx-branch-1.d: New file. + * gas/i386/x86-64-mpx-branch-1.s: Likewise. + * gas/i386/x86-64-mpx-branch-2.d: Likewise. + * gas/i386/x86-64-mpx-branch-2.s: Likewise. + +2013-11-15 Yufeng Zhang + + * gas/aarch64/diagnostic.s: Add tests. + * gas/aarch64/diagnostic.l: Update. + * gas/aarch64/tracereg-illegal.d: New file. + * gas/aarch64/tracereg-illegal.l: Ditto. + * gas/aarch64/tracereg-illegal.s: Ditto. + * gas/aarch64/tracereg.d: Ditto. + * gas/aarch64/tracereg.s: Ditto. + +2013-11-15 Michael Zolotukhin + + * gas/i386/inval-avx512f.s: Add invalid test for gather instruction + with default mask. + * gas/i386/inval-avx512f.l: Update correspondingly. + +2013-11-05 Yufeng Zhang + + * gas/aarch64/deprecated.d: New file. + * gas/aarch64/deprecated.l: New file. + * gas/aarch64/deprecated.s: New file. + * gas/aarch64/sysreg-1.s: Add tests. + * gas/aarch64/sysreg-1.d: Add tests. + +2013-11-05 Yufeng Zhang + + * gas/aarch64/alias.s: Add tests. + * gas/aarch64/alias.d: Update. + * gas/aarch64/no-aliases.d: Update. + * gas/aarch64/diagnostic.s: Add tests. + * gas/aarch64/diagnostic.l: Update. + * gas/aarch64/illegal.s: Add tests. + * gas/aarch64/illegal.l: Update. + +2013-11-05 Yufeng Zhang + + * gas/aarch64/diagnostic.s: Add tests of ldp/stp. + * gas/aarch64/diagnostic.l: Update. + +2013-11-05 Will Newton + + * gas/aarch64/advsimd-mov-bad.d: New file. + * gas/aarch64/advsimd-mov-bad.s: Likewise. + +2013-11-04 Jan Beulich + + * gas/i386/x86-64-suffix-bad.[sl]: New. + * gas/i386/i386.exp: Run new test. + +2013-11-02 Alan Modra + + * gas/cfi/cfi-x86_64.d: Match when lacking end of section padding. + +2013-10-29 Jan Beulich + + * gas/microblaze/relax_size.elf: Drop expectation of no longer + present STT_FILE symbol. + * gas/microblaze/relax_size2.elf: Likewise. + +2013-10-18 Chao-ying Fu + + * gas/mips/micromips@msa-branch.d, gas/mips/msa-branch.d, + gas/mips/msa-branch.s: New. + * gas/mips/mips.exp: Run new tests. + +2013-10-15 Ramana Radhakrishnan + + * gas/arm/neon-cov.d: Adjust output. + +2013-10-14 Chao-ying Fu + + * gas/mips/micromips@msa-relax.d, gas/mips/micromips@msa.d, + gas/mips/micromips@msa64.d, gas/mips/msa-relax.d, + gas/mips/msa-relax.l, gas/mips/msa-relax.s, + gas/mips/msa.d, gas/mips/msa.s, gas/mips/msa64.d, + gas/mips/msa64.s: New. + * gas/mips/mips.exp: Run new tests. + +2013-10-14 Nick Clifton + + * gas/all/itbl-test.c (main): Close fas. + +2013-10-13 Sandra Loosemore + + * gas/nios2/warn_nobreak.l: Update text of warning messages. + * gas/nios2/registers.s: Use "sstatus" rather than "ba" + as the primary name of r30. + * gas/nios2/registers.d: Likewise. + +2013-10-12 H.J. Lu + + * gas/i386/mpx.s: Remove bndcl/bndcu/bndcn tests with AX. + * gas/i386/x86-64-mpx.s: Likwise. + + * gas/i386/mpx.d: Updated. + * gas/i386/x86-64-mpx.d: Likewise. + +2013-10-10 Sean Keys + + * gas/xgate/all_insns.d: Add com macro insn test. + * gas/xgate/all_insns.s: Add com macro insn test. + +2013-10-08 Jan Beulich + + * gas/arm/thumb-w-good.s: Add PUSH.W and POP.W tests. + * gas/arm/thumb-w-good.d: Update accordingly. + +2013-10-08 Nick Clifton + + * gas/msp430/bad.s: New test: Checks erroneous size extensions. + * gas/msp430/bad.d: New test command file. + * gas/msp430/bad.l: New file: Expected error messages. + * gas/msp430/msp430.exp: Run the new test. + * gas/msp430/msp430x.s: Add ".a" aliases of "a" + instructions. + * gas/msp430/msp430x.d: Update expected disassembly. + +2013-10-07 Chao-ying Fu + + * gas/mips/micromips@virt64.d: Fix dmfgc0 and dmtgc0. + +2013-10-04 Kyrylo Tkachov + + * gas/arm/thumb2_it.s: Add test for narrow tst. + * gas/arm/thumb2_it.d: Update expected output. + * gas/arm/thumb2_it_auto.d: Likewise. + +2013-09-30 Saravanan Ekanathan + + * gas/i386/i386.exp: Run bdver4 test cases. + * gas/i386/nops-1-bdver4.d: New. + * gas/i386/arch-10-bdver4.d: New. + * gas/i386/x86-64-nops-1-bdver4.d: New. + * gas/i386/x86-64-arch-2-bdver4.d: New. + +2013-09-17 Richard Sandiford + + * gas/s390/zarch-z196.s, gas/s390/zarch-z196.d: Test CLIH with + 4000000000. + +2013-09-16 Will Newton + + * gas/arm/neon-ldst-es.d: Add VLD1.64 instructions. + * gas/arm/neon-ldst-es.s: Likewise. + * testsuite/gas/arm/neon-ldst-es-bad.d: New file. + * testsuite/gas/arm/neon-ldst-es-bad.l: Likewise. + * testsuite/gas/arm/neon-ldst-es-bad.s: Likewise. + +2013-09-12 Chao-ying Fu + + * gas/mips/bltzal.s: New file. + * gas/mips/bltzal.l: New file. + * gas/mips/mips.exp: Run the bltzal test. + +2013-09-12 Nick Clifton + + * gas/cfi/cfi-alpha-1.d: Update expected output to allow for + 64-bit addresses. + * gas/cfi/cfi-alpha-3.d: Likewise. + * gas/cfi/cfi-arm-1.d: Likewise. + * gas/cfi/cfi-common-1.d: Likewise. + * gas/cfi/cfi-common-2.d: Likewise. + * gas/cfi/cfi-common-3.d: Likewise. + * gas/cfi/cfi-common-4.d: Likewise. + * gas/cfi/cfi-common-5.d: Likewise. + * gas/cfi/cfi-common-6.d: Likewise. + * gas/cfi/cfi-common-7.d: Likewise. + * gas/cfi/cfi-hppa-1.d: Likewise. + * gas/cfi/cfi-i386-2.d: Likewise. + * gas/cfi/cfi-i386.d: Likewise. + * gas/cfi/cfi-m68k.d: Likewise. + * gas/cfi/cfi-mips-1.d: Likewise. + * gas/cfi/cfi-ppc-1.d: Likewise. + * gas/cfi/cfi-s390-1.d: Likewise. + * gas/cfi/cfi-s390x-1.d: Likewise. + * gas/cfi/cfi-sh-1.d: Likewise. + * gas/cfi/cfi-sparc-1.d: Likewise. + * gas/cfi/cfi-sparc64-1.d: Likewise. + * gas/cfi/cfi-x86_64.d: Likewise. + +2013-09-04 Tristan Gingold + + * gas/ppc/aix.exp: Run xcoff-toc-1 test. + * gas/ppc/xcoff-toc-1.s, gas/ppc/xcoff-toc-1.d: New test. + +2013-09-04 Roland McGrath + + PR gas/15914 + * gas/arm/udf-bad.s: New file. + * gas/arm/udf-bad.d: New file. + * gas/arm/udf-bad.l: New file. + * gas/arm/udf.s: New file. + * gas/arm/udf.d: New file. + * gas/arm/udf.l: New file. + +2013-08-28 Nick Clifton + + * gas/aarch64/illegal.s: Add illegal constant for logical + operation. + * gas/aarch64/illegal.l: Add expected error message. + +2013-08-23 Maciej W. Rozycki + + * gas/testsuite/gas/mips/micromips-insn32.d: Adjust for delay + slot scheduling of ALNV.PS. + * gas/testsuite/gas/mips/micromips-noinsn32.d: Likewise. + * gas/testsuite/gas/mips/micromips-trap.d: Likewise. + * gas/testsuite/gas/mips/micromips.d: Likewise. + * gas/testsuite/gas/mips/micromips@alnv_ps-swap.d: Likewise. + +2013-08-23 Yuri Chornoivan + + PR binutils/15834 + * gas/d10v/instruction_packing.d: Fix typos. + * gas/z80/atend.d: Likewise. + +2013-08-23 Will Newton + + * testsuite/gas/arm/neon-addressing-bad.l: Add test for + VLDn and VSTn instructions. + * testsuite/gas/arm/neon-addressing-bad.s: Likewise. + +2013-08-19 Richard Sandiford + + * gas/mips/ase-errors-1.l, gas/mips/ase-errors-2.l, + gas/mips/ase-errors-3.l, gas/mips/ase-errors-4.l, gas/mips/at-2.l, + gas/mips/baddata1.l, gas/mips/elf-rel30.l, gas/mips/illegal.l, + gas/mips/jalr.l, gas/mips/ldstla-32-1.l, gas/mips/ldstla-32-mips3-1.l, + gas/mips/lui-1.l, gas/mips/macro-warn-1.l, gas/mips/macro-warn-1-n32.l, + gas/mips/macro-warn-2.l, gas/mips/macro-warn-3.l, + gas/mips/macro-warn-4.l, gas/mips/micromips-branch-delay.l, + gas/mips/micromips-branch-relax.l, + gas/mips/micromips-branch-relax-pic.l, gas/mips/micromips-ill.l, + gas/mips/micromips.l, gas/mips/micromips-size-0.l, + gas/mips/micromips-size-1.l, gas/mips/micromips-warn-branch-delay.l, + gas/mips/micromips-warn.l, gas/mips/mips16e-64.l, + gas/mips/mips16e-save-err.l, gas/mips/mips1-fp.l, + gas/mips/mips32r2-fp32.l, gas/mips/mips32r2-ill.l, + gas/mips/mips32-sf32.l, gas/mips/mips4-branch-likely.l, + gas/mips/mips4-fp.l, gas/mips/mips5-fp.l, gas/mips/mips64-mips3d.l, + gas/mips/mips-double-float-flag.l, gas/mips/mips-gp64-fp32.l, + gas/mips/mips-gp64-fp64.l, gas/mips/mips-hard-float-flag.l, + gas/mips/mips-macro-ill-nofp.l, gas/mips/mips-macro-ill-sfp.l, + gas/mips/nan-error-1.l, gas/mips/nan-error-2.l, gas/mips/noat-2.l, + gas/mips/noat-3.l, gas/mips/noat-4.l, gas/mips/noat-5.l, + gas/mips/noat-6.l, gas/mips/noat-7.l, gas/mips/octeon-ill.l, + gas/mips/r5900-error-vu0.l, gas/mips/r5900-nollsc.l, + gas/mips/relax-bc1any.l, gas/mips/relax-bposge.l, gas/mips/relax.l, + gas/mips/relax-swap1.l, gas/mips/relax-swap2.l, gas/mips/set-arch.l, + gas/mips/tls-ill.l, gas/mips/vr5400-ill.l: Adjust expected output. + +2013-08-19 Richard Sandiford + + * gas/mips/ext-ill.l, gas/mips/mips64r2-ill.l: Expect DEXT and DINS + error messages to have the same form as the EXT and INS ones. + * gas/mips/micromips-insn32.d, gas/mips/micromips-noinsn32.d, + gas/mips/micromips-trap.d, gas/mips/micromips.d, + gas/mips/micromips@mips64r2.d, gas/mips/mips64r2.d: Expect + "dext" and "dins" instead of "dextm", "dextu", "dinsm" and "dinsu". + +2013-08-19 Richard Sandiford + + * gas/mips/octeon-ill.l: Adjust expected output. + * gas/mips/lui-1.l, gas/mips/lui-1.s: Add more cases. + +2013-08-19 Richard Sandiford + + * gas/mips/ext-ill.l, gas/mips/lui-1.l, gas/mips/mips16e-64.l, + gas/mips/mips32r2-ill-fp64.l, gas/mips/mips32r2-ill-nofp.l, + gas/mips/mips32r2-ill.l, gas/mips/mips64r2-ill.l, + gas/mips/octeon-ill.l, gas/mips/r5900-error-vu0.l, + gas/mips/vr5400-ill.l: Adjust expected errors. + * gas/mips/micromips-size-0.l, + gas/mips/micromips-size-0.s: Likewise. Add new tests. + * gas/mips/mips16e-save-err.s, gas/mips/mips16e-save-err.l: New test. + * gas/mips/mips.exp: Run it. + +2013-08-19 Richard Sandiford + + * gas/mips/micromips-ill.l: Expect "floating-point expression required" + +2013-08-06 Jürgen Urban + + * gas/mips/r5900-error-vu0.s, gas/mips/r5900-error-vu0.l, + gas/mips/r5900-full-vu0.s, gas/mips/r5900-full-vu0.d: Allow + single-channel suffixes to be elided. + +2013-08-04 Jürgen Urban + + * gas/mips/r5900-vu0.d: Expect $vfN and $viN instead of numeric + coprocessor registers. + * gas/mips/r5900-all-vu0.s, gas/mips/r5900-all-vu0.d, + gas/mips/r5900-full-vu0.s, gas/mips/r5900-full-vu0.d, + gas/mips/r5900-error-vu0.s, gas/mips/r5900-error-vu0.l: New tests. + * gas/mips/mips.exp: Run them. + +2013-08-03 Richard Sandiford + + * gas/mips/mips16-macro.s, gas/mips/mips16-macro.d: New test. + * gas/mips/mips.exp: Run it. + +2013-07-26 Sergey Guriev + Alexander Ivchenko + Maxim Kuznetsov + Sergey Lega + Anna Tikhonova + Ilya Tocar + Andrey Turetskiy + Ilya Verbin + Kirill Yukhin + Michael Zolotukhin + + * gas/cfi/cfi-i386.s: Add tests for k0-k7. + * gas/cfi/cfi-i386.d: Change to reflect above mentioned changes. + * gas/cfi/cfi-x86_64.s: Add tests for xmm16-31, k0-7. + * gas/cfi/cfi-x86_64.d: Change to reflect above mentioned changes. + * gas/i386/ilp32/cfi/cfi-x86_64.d: Ditto. + * gas/i386/intel-regs.s: Add tests for zmm0 and xmm16 registers. + * gas/i386/intel-regs.d: Change correspondingly. + * gas/i386/prefetch-intel.d: Reflect implementation of prefetchwt1. + * gas/i386/prefetch.d: Ditto. + * gas/i386/x86-64-prefetch-intel.d: Ditto. + * gas/i386/x86-64-prefetch.d: Ditto. + * gas/i386/avx512f-intel.d: New. + * gas/i386/avx512f-nondef.d: New. + * gas/i386/avx512f-nondef.s: New. + * gas/i386/avx512f-opts-intel.d: New. + * gas/i386/avx512f-opts.d: New. + * gas/i386/avx512f-opts.s: New. + * gas/i386/avx512f.d: New. + * gas/i386/avx512f.s: New. + * gas/i386/avx512cd-intel.d: New. + * gas/i386/avx512cd.d: New. + * gas/i386/avx512cd.s: New. + * gas/i386/avx512er-intel.d: New. + * gas/i386/avx512er.d: New. + * gas/i386/avx512er.s: New. + * gas/i386/avx512pf-intel.d: New. + * gas/i386/avx512pf.d: New. + * gas/i386/avx512pf.s: New. + * gas/i386/evex-lig.s: New. + * gas/i386/evex-lig256-intel.d: New. + * gas/i386/evex-lig256.d: New. + * gas/i386/evex-lig512-intel.d: New. + * gas/i386/evex-lig512.d: New. + * gas/i386/evex-wig.s: New. + * gas/i386/evex-wig1-intel.d: New. + * gas/i386/evex-wig1.d: New. + * gas/i386/inval-avx512f.l: New. + * gas/i386/inval-avx512f.s: New. + * gas/i386/x86-64-avx512f-intel.d: New. + * gas/i386/x86-64-avx512f-nondef.d: New. + * gas/i386/x86-64-avx512f-nondef.s: New. + * gas/i386/x86-64-avx512f-opts-intel.d: New. + * gas/i386/x86-64-avx512f-opts.d: New. + * gas/i386/x86-64-avx512f-opts.s: New. + * gas/i386/x86-64-avx512f.d: New. + * gas/i386/x86-64-avx512f.s: New. + * gas/i386/x86-64-avx512cd-intel.d: New. + * gas/i386/x86-64-avx512cd.d: New. + * gas/i386/x86-64-avx512cd.s: New. + * gas/i386/x86-64-avx512er-intel.d: New. + * gas/i386/x86-64-avx512er.d: New. + * gas/i386/x86-64-avx512er.s: New. + * gas/i386/x86-64-avx512pf-intel.d: New. + * gas/i386/x86-64-avx512pf.d: New. + * gas/i386/x86-64-avx512pf.s: New. + * gas/i386/x86-64-evex-lig.s: New. + * gas/i386/x86-64-evex-lig256-intel.d: New. + * gas/i386/x86-64-evex-lig256.d: New. + * gas/i386/x86-64-evex-lig512-intel.d: New. + * gas/i386/x86-64-evex-lig512.d: New. + * gas/i386/x86-64-evex-wig.s: New. + * gas/i386/x86-64-evex-wig1-intel.d: New. + * gas/i386/x86-64-evex-wig1.d: New. + * gas/i386/x86-64-inval-avx512f.l: New. + * gas/i386/x86-64-inval-avx512f.s: New. + * gas/i386/i386.exp: Run new AVX-512 tests. + +2013-07-25 Richard Sandiford + + * gas/mips/loongson-2f.d: Fix expected output for madd.ps, + msub.ps, nmadd.ps and nmsub.ps. + +2013-07-25 Michael Zolotukhin + + * gas/i386/sha.d: New. + * gas/i386/sha.s: New. + * gas/i386/x86-64-sha.d: New. + * gas/i386/x86-64-sha.s: New. + * gas/i386/i386.exp: Run new SHA tests. + +2013-07-24 Anna Tikhonova + Kirill Yukhin + Michael Zolotukhin + + * gas/i386/mpx-add-bnd-prefix.s: New. + * gas/i386/mpx-add-bnd-prefix.d: New. + * gas/i386/mpx-inval-1.l: New. + * gas/i386/mpx-inval-1.s: New. + * gas/i386/mpx.d: New. + * gas/i386/mpx.s: New. + * gas/i386/x86-64-mpx-add-bnd-prefix.d: New. + * gas/i386/x86-64-mpx-add-bnd-prefix.s: New. + * gas/i386/x86-64-mpx-addr32.d: New. + * gas/i386/x86-64-mpx-addr32.s: New. + * gas/i386/x86-64-mpx-inval-1.l: New. + * gas/i386/x86-64-mpx-inval-1.s: New. + * gas/i386/x86-64-mpx-inval-2.l: New. + * gas/i386/x86-64-mpx-inval-2.s: New. + * gas/i386/x86-64-mpx.d: New. + * gas/i386/x86-64-mpx.s: New. + * gas/i386/nops.d: Adjust to MPX changes. + * gas/i386/nops.s: Likewise. + * gas/i386/x86-64-nops.d: Likewise. + * gas/i386/x86-64-nops.s: Likewise. + * gas/i386/ilp32/x86-64-nops.d: Likewise. + * gas/i386/i386.exp: Run new MPX tests. + +2013-07-24 Tristan Gingold + + * gas/ppc/test2xcoff32.s, gas/ppc/test2xcoff32.d: New files + * gas/ppc/ppc.exp: Add new test. + * gas/ppc/xcoff-br16-1.s, gas/ppc/xcoff-br16-1.d, + gas/ppc/xcoff-br16-2.s, gas/ppc/xcoff-br16-2.d: New files + * gas/ppc/aix.exp: Add new tests. + +2013-07-19 Yufeng Zhang + + * gas/aarch64/ilp32-basic.d (#as): Update to use -mabi=ilp32 + +2013-07-14 Richard Sandiford + + * gas/mips/vr5400-ill.s, gas/mips/vr5400-ill.l: Add some more cases. + * gas/mips/micromips-ill.s, gas/mips/micromips-ill.l: New test. + * gas/mips/mips.exp: Run it. + +2013-07-14 Richard Sandiford + + * gas/mips/at-2.l: Remove duplicated $at warnings. + * gas/mips/ext-ill.l, gas/mips/lui-1.l, gas/mips/mips32r2-ill.l, + gas/mips/mips32r2-ill-nofp.l, gas/mips/mips32r2-ill-fp64.l, + gas/mips/mips64r2-ill.l, gas/mips/octeon-ill.l: Update error + messages. Expect negative numbers to be printed as such, + rather than as large unsigned positive numbers. + +2013-07-12 Maciej W. Rozycki + + * gas/mips/nan-2008-1.d: New test. + * gas/mips/nan-2008-2.d: New test. + * gas/mips/nan-2008-3.d: New test. + * gas/mips/nan-2008-4.d: New test. + * gas/mips/nan-legacy-1.d: New test. + * gas/mips/nan-legacy-2.d: New test. + * gas/mips/nan-legacy-3.d: New test. + * gas/mips/nan-legacy-4.d: New test. + * gas/mips/nan-legacy-5.d: New test. + * gas/mips/nan-error-1.l: New list test. + * gas/mips/nan-error-2.l: New list test. + * gas/mips/nan-2008-override.s: New test source. + * gas/mips/nan-2008.s: New test source. + * gas/mips/nan-legacy-override.s: New test source. + * gas/mips/nan-legacy.s: New test source. + * gas/mips/nan-error-1.s: New test source. + * gas/mips/nan-error-2.s: New test source. + * gas/mips/mips.exp: Run the new tests. + +2013-07-09 Richard Sandiford + + * gas/mips/la-reloc.s, gas/mips/la-reloc.d, gas/mips/dla-reloc.s, + gas/mips/dla-reloc.d: Add files missing from earlier commit. + +2013-07-08 H.J. Lu + + PR gas/13572 + * gas/i386/simd.s: Add a test for cvttps2pi. + * gas/i386/simd-intel.d: Updated. + * gas/i386/simd.d: Likewise. + +2013-07-08 Richard Sandiford + + * gas/mips/la.s, gas/mips/la.d, gas/mips/la-svr4pic.d, + gas/mips/la-xgot.d: Add tests for bracketed addresses. + +2013-07-07 Richard Sandiford + + * gas/mips/ldstla-32.d: Avoid "lui at,0x0" sequences for + truncated constants. + * gas/mips/ldstla-32-shared.d: Likewise. + * gas/mips/mcu.d: Use ADDIU in preference to LI+ADDU when adding + 16-bit constants to the base. + * gas/mips/micromips@mcu.d: Likewise. + * gas/mips/micromips@cache.d: Likewise. + * gas/mips/micromips@pref.d: Likewise. + * gas/mips/micromips.d, gas/mips/micromips-insn32.d, + gas/mips/micromips-noinsn32.d, gas/mips/micromips-trap.d: Likewise. + Allow the full 16-bit offset range to be used for SB, LB and LBU in + USH and ULH sequences. Fix the expected output for LD and SD when + the two LW and SW offsets need different high parts. + * gas/mips/eva.s: Test PREFE with relocation operators. + * gas/mips/eva.d: Use ADDIU in preference to LI+ADDU for 16-bit + constants. Update after eva.s change. + * gas/mips/micromips@eva.d: Likewise. + * gas/mips/ld-reloc.s, gas/mips/ld-reloc.d, gas/mips/l_d-reloc.s, + gas/mips/l_d-reloc.d, gas/mips/ulw-reloc.s, gas/mips/ulw-reloc.d, + gas/mips/micromips@ulw-reloc.d, gas/mips/ulh-reloc.s, + gas/mips/ulh-reloc.d: New tests. + * gas/mips/mips.exp: Run them. + +2013-07-07 Richard Sandiford + + * gas/mips/eva.d, gas/mips/micromips@eva.d: Remove hard-coded + addresses. Use gpr-names=numeric. + +2013-07-07 Richard Sandiford + + * gas/mips/mips16.d, gas/mips/mips16-64.d: Remove trailing whitespace + from ENTRY and EXIT lines. + +2013-07-07 Richard Sandiford + + * gas/mips/vr5400-ill.s, gas/mips/vr5400-ill.l: New test. + * gas/mips/mips.exp: Run it. + +2013-07-07 Richard Sandiford + + * gas/mips/lb.d, gas/mips/sb.d: Use coprocessor register names + for LWC0 and SWC0. + +2013-07-05 Andreas Krebbel + + * gas/s390/zarch-zEC12.s: Change bprp second operand and add + variants requiring relocations. + * gas/s390/zarch-zEC12.d: Likewise. + +2013-07-03 Marcus Shawcroft + + * gas/aarch64/reloc-insn.s (func): Replace :got_prel19: with :got:. + +2013-06-26 Yufeng Zhang + + * gas/aarch64/ilp32-basic.d: New file. + * gas/aarch64/ilp32-basic.s: New file. + +2013-06-25 Maciej W. Rozycki + + * gas/mips/micromips-insn32.d: New test. + * gas/mips/micromips-noinsn32.d: Likewise. + * gas/mips/micromips.l: Rename to... + * gas/mips/micromips-warn.l: ... this. + * gas/mips/micromips.d: Update accordingly. + * gas/mips/micromips-trap.d: Likewise. + * gas/mips/micromips.l: New list test. + * gas/mips/micromips.s: Add conditionals. + * gas/mips/mips.exp: Run the new tests. + +2013-06-24 Roland McGrath + + * gas/arm/macro-vld1.s: Add a case with whitespace before '}'. + * gas/arm/macro-vld1.d: Update. + + * gas/arm/macro-pld.s: Add a 'push {r0}' case. + * gas/arm/macro-pld.d: Update expected output. + * gas/arm/macro-vld1.s: New file. + * gas/arm/macro-vld1.d: New file. + +2013-06-22 Richard Sandiford + + * gas/mips/mips.exp: Remove "LOSE" comments. + (run_dump_test_arch): Remove format selector support. + (run_dump_test_arches): Remove associated upvars. + (elf, ecoff, aout, no_mips16, no_micromips): Remove variables. + Remove all conditions based on them, on the assumption that $elf + is true and the others are false. Rename "elf-jal" to "jal". + (tmips): Set to "t" for *bsd targets. + * gas/mips/elf-jal.d: Rename to... + * gas/mips/jal.d: ...this, replacing the old file. + * gas/mips/micromips@elf-jal.d: Rename to... + * gas/mips/micromips@jal.d: ...this. + * gas/mips/at-1.d, gas/mips/ld.d, gas/mips/l_d.d, gas/mips/lui.d, + gas/mips/mips1@l_d.d, gas/mips/mips1@ld-forward.d, gas/mips/mips1@ld.d, + gas/mips/mips1@s_d.d, gas/mips/s_d.d, gas/mips/sd.d: Remove ECOFF + relocation names. Do not allow any offset on the symbol. + +2013-06-22 Richard Sandiford + + * gas/mips/lineno.d: Remove ellipsis. + +2013-06-22 Richard Sandiford + + * gas/all/gas.exp: Remove reference to mips-ecoff. + * gas/mips/branch-misc-1.d, gas/mips/branch-misc-2.d, + gas/mips/branch-misc-2-64.d, gas/mips/branch-misc-2pic.d, + gas/mips/branch-misc-2pic-64.d, gas/mips/branch-swap.d: Remove + skips for mips-*-ecoff. + +2013-06-20 Richard Sandiford + + * gas/mips/ase-errors-1.s, gas/mips/ase-errors-1.l, + gas/mips/ase-errors-2.s, gas/mips/ase-errors-2.l, + gas/mips/ase-errors-3.s, gas/mips/ase-errors-3.l, + gas/mips/ase-errors-4.s, gas/mips/ase-errors-4.l: New tests. + * gas/mips/mips.exp: Run them. + +2013-06-18 Richard Sandiford + + * gas/mips/eva.d: Use -32. + +2013-06-17 Catherine Moore + Maciej W. Rozycki + Chao-Ying Fu + + * gas/mips/mips.exp: Run new tests. + * gas/mips/eva.d: New. + * gas/mips/eva.s: New. + * gas/mips/micromips@eva.d: New. + +2013-06-15 Richard Sandiford + + * gas/mips/loc-swap-3.d: Require -32. + +2013-06-14 Richard Sandiford + + * gas/mips/loc-swap-3.d, gas/mips/loc-swap-3.s: New test. + * gas/mips/mips.exp: Run it. + +2013-06-13 Chao-ying Fu + + * gas/mips/micromips@virt.d: New file. + * gas/mips/micromips@virt64.d: New file. + * gas/mips/mips.exp: Enable virt and virt64 tests for micromips. + +2013-06-12 Sandra Loosemore + + * gas/nios2/movia.s: Add additional test case with negative + constant value. + * gas/nios2/movia.d: Likewise. + +2013-06-12 Sandra Loosemore + + * gas/nios2/tret.d: Correct eret encoding. + +2013-06-10 Maciej W. Rozycki + + * gas/mips/relax-bc1any.l: New test. + * gas/mips/relax-bc1any.s: New test source. + * gas/mips/mips.exp: Run the new test. + +2013-06-09 Sandra Loosemore + + * gas/nios2/trap.s: Add additional test cases for optional + argument. + * gas/nios2/trap.d: Likewise. + +2013-05-31 H.J. Lu + + * gas/i386/size-3.d: Updated for text/data/bss section alignment + change. + * gas/i386/x86-64-size-1.d: Likewise. + * gas/i386/x86-64-unwind.d: Likewise. + * gas/i386/ilp32/x86-64-size-1.d: Likewise. + * gas/i386/ilp32/x86-64-size-5.d: Likewise. + * gas/i386/ilp32/x86-64-unwind.d: Likewise. + +2013-05-31 Catherine Moore + + * gas/mips/ehword.d: New. + * gas/mips/ehword.s: New. + * gas/mips/mips.exp: Run ehword test. + +2013-05-29 Maciej W. Rozycki + + * gas/mips/jalr3.d: New test. + * gas/mips/jalr3-n32.d: New test. + * gas/mips/jalr3-n64.d: New test. + * gas/mips/jalr3.s: New test source. + * gas/mips/mips.exp: Run the new tests. + +2013-05-28 Cary Coutant + + * gas/cris/rd-dw2-1.d: Adjust expected output. + * gas/cris/rd-dw2-10.d: Likewise. + * gas/cris/rd-dw2-11.d: Likewise. + * gas/cris/rd-dw2-12.d: Likewise. + * gas/cris/rd-dw2-13.d: Likewise. + * gas/cris/rd-dw2-14.d: Likewise. + * gas/cris/rd-dw2-15.d: Likewise. + * gas/cris/rd-dw2-2.d: Likewise. + * gas/cris/rd-dw2-3.d: Likewise. + * gas/cris/rd-dw2-4.d: Likewise. + * gas/cris/rd-dw2-5.d: Likewise. + * gas/cris/rd-dw2-6.d: Likewise. + * gas/cris/rd-dw2-7.d: Likewise. + * gas/cris/rd-dw2-8.d: Likewise. + * gas/cris/rd-dw2-9.d: Likewise. + * gas/elf/dwarf2-1.d: Likewise. + * gas/elf/dwarf2-2.d: Likewise. + * gas/elf/dwarf2-3.d: Likewise. + * gas/i386/debug1.d: Likewise. + * gas/i386/dw2-compress-1.d: Likewise. + * gas/i386/ilp32/lns/lns-common-1.d: Likewise. + * gas/i386/ilp32/lns/lns-duplicate.d: Likewise. + * gas/ia64/pr13167.d: Likewise. + * gas/lns/lns-big-delta.d: Likewise. + * gas/lns/lns-common-1-alt.d: Likewise. + * gas/lns/lns-common-1.d: Likewise. + * gas/lns/lns-duplicate.d: Likewise. + * gas/mips/loc-swap-2.d: Likewise. + * gas/mips/loc-swap.d: Likewise. + * gas/mips/micromips@loc-swap-2.d: Likewise. + * gas/mips/micromips@loc-swap.d: Likewise. + * gas/mips/mips16-dwarf2-n32.d: Likewise. + * gas/mips/mips16-dwarf2.d: Likewise. + * gas/mips/mips16@loc-swap-2.d: Likewise. + * gas/mips/mips16@loc-swap.d: Likewise. + +2013-05-28 Maciej W. Rozycki + + * gas/mips/ld-zero.d: New test. + * gas/mips/ld-zero-2.d: New test. + * gas/mips/ld-zero-3.d: New test. + * gas/mips/ld-zero-q.d: New test. + * gas/mips/ld-zero-u.d: New test. + * gas/mips/ecoff@ld-zero-3.d: New test. + * gas/mips/micromips@ld-zero-2.d: New test. + * gas/mips/micromips@ld-zero-3.d: New test. + * gas/mips/ld-zero.s: New test source. + * gas/mips/ld-zero-2.s: New test source. + * gas/mips/ld-zero-3.s: New test source. + * gas/mips/ld-zero-q.s: New test source. + * gas/mips/ld-zero-u.s: New test source. + * gas/mips/mips.exp: Run the new tests. + +2013-05-28 Yufeng Zhang + + * gas/aarch64/tls.d: Update. + * gas/aarch64/tls.s: Update. + +2013-05-28 Kyrylo Tkachov + + * gas/arm/armv8-a-bad.l: Update expected warning message. + * gas/arm/armv8-a-it-bad.l: Likewise. + +2013-05-28 Marcus Shawcroft + + * gas/aarch64/adr_1.d: New file. + * gas/aarch64/adr_1.s: New file. + * gas/aarch64/b_1.d: New file. + * gas/aarch64/b_1.s: New file. + * gas/aarch64/beq_1.d: New file. + * gas/aarch64/beq_1.s: New file. + * gas/aarch64/ldr_1.d: New file. + * gas/aarch64/ldr_1.s: New file. + * gas/aarch64/tbz_1.d: New file. + * gas/aarch64/tbz_1.s: New file. + +2013-05-24 Richard Sandiford + + * gas/s390/zarch-z9-109-err.s, gas/s390/zarch-z9-109-err.l: New test. + * gas/s390/s390.exp: Run it. + +2013-05-23 Andreas Krebbel + + * gas/s390/zarch-zEC12.d: Adjust length operands for cdzt, cxzt, + czdt, and czxt. + * gas/s390/zarch-zEC12.d: Likewise. + +2013-05-22 Jürgen Urban + + * gas/mips/r5900-full.s, gas/mips/r5900-full.d: Add tests for LQ + and SQ macros. + * gas/mips/r5900-vu0.s, gas/mips/r5900-vu0.d: New test. + * gas/mips/mips.exp: Run it. + +2013-05-21 Alan Modra + + * gas/ppc/vsx2.d: Ignore trailing padding. + +2013-05-20 Peter Bergner + + * gas/ppc/altivec2.d : Add new tests. + * gas/ppc/altivec2.s: Likewise. + * gas/ppc/power8.d : Add new tests. + * gas/ppc/power8.s Likewise. + * gas/ppc/vsx.d : Add new tests. + * gas/ppc/vsx.s Likewise. + * gas/ppc/vsx2.d: New test file. + * gas/ppc/vsx2.s: Likewise. + * gas/ppc/ppc.exp: Run it. + +2013-05-16 Tristan Gingold + + * gas/ppc/ppc.exp: Do not run simpshft on aix. + +2013-05-16 Nick Clifton + + * gas/msp430/opcodes.s: Use correct value for .arch pseudo. + * gas/msp430/msp430x.d: Use correct value for -mcpu option. + +2013-05-13 Yufeng Zhang + + * gas/aarch64/diagnostic.s: Update. + * gas/aarch64/diagnostic.l: Ditto. + * gas/aarch64/movi.s: Add new tests. + * gas/aarch64/movi.d: Update. + +2013-05-09 Andrew Pinski + + * gas/mips/mips.exp: Run virt and virt64 testcases. + * gas/mips/virt.d: New file. + * gas/mips/virt.s: New file. + * gas/mips/virt64.d: New file. + * gas/mips/virt64.s: New file. + +2013-05-04 Richard Sandiford + + * gas/mips/micromips-warn-branch-delay.d: Use numeric registers. + +2013-05-02 Richard Sandiford + + * gas/mips/mips16-stabs.s, gas/mips/mips16-stabs.d: New test. + * gas/mips/mips.exp: Run it. + +2013-05-02 Nick Clifton + + * gas/all/gas.exp: Skip the DIFF1 test for the MSP430. + Expect the FORWARD test to pass for the MSP430. + Skip the REDEF tests for the MSP430. + Expect the 930509A test to fail for the MSP430. + * gas/all/sleb128-4.d: Skip for the MSP430. + * gas/elf/elf.exp: Set target_machine to msp430 for the MSP430. + Skip the EHOPT0 test for the MSP430. + Skip the REDEF and EQU-RELOC tests for the MSP430. + * gas/elf/section2.e-msp430: New file. + * gas/lns/lns-big-delta.d: Remove expectation of 20-bit + addresses. + * gas/lns/lns.exp: Use alternate LNS COMMON test for the MSP430. + * gas/msp430/msp430x.s: New test. + * gas/msp430/msp430x.d: Expected disassembly. + * gas/msp430/msp430.exp: Run new test. + * gas/msp430/opcode.d: Update expected disassembly. + +2013-04-30 Chao-ying Fu + + * gas/mips/ext-ill.s: New file. + * gas/mips/ext-ill.l: New file. + * gas/mips/mips.exp: Run new tests. + +2013-04-29 Nick Clifton + + * gas/elf/dwarf2-3.d: Fix expected readelf output. + +2013-04-24 H.J. Lu + + * gas/i386/rex.d: Skip x86_64-*-elf*. + * gas/i386/ilp32/rex.d: Likewise. + +2013-04-15 Julian Brown + + * gas/all/gas.exp (sleb128-7): Don't run for tic4x, tic54x. + * gas/all/sleb128-2.s: Reformat, use _ at start of labels, remove + cruft. + * gas/all/sleb128-3.s: Likewise. + * gas/all/sleb128-4.s: Likewise. + * gas/all/sleb128-5.s: Likewise. + * gas/all/sleb128-7.s: Likewise. + * gas/all/sleb128-2.d: Handle data sections named $DATA$. + * gas/all/sleb128-3.d: Likewise. + * gas/all/sleb128-4.d: Likewise. + * gas/all/sleb128-5.d: Likewise. + * gas/all/sleb128-7.d: Likewise. + +2013-04-10 Julian Brown + + * gas/all/sleb128-2.s: New test. + * gas/all/sleb128-3.s: Likewise. + * gas/all/sleb128-4.s: Likewise. + * gas/all/sleb128-5.s: Likewise. + * gas/all/sleb128-7.s: Likewise. + * gas/all/sleb128-2.d: New. + * gas/all/sleb128-3.d: New. + * gas/all/sleb123-4.d: New. + * gas/all/sleb123-5.d: New. + * gas/all/sleb123-7.d: New. + * gas/all/gas.exp (sleb128-2, sleb128-3, sleb128-4, sleb128-5) + (sleb128-7): Run new tests. + +2013-04-10 Jan Beulich + + * gas/testsuite/gas/arm/ldst-pc.s: Add index, non-writeback + forms of various loads and stores with PC as base. + * gas/testsuite/gas/arm/ldst-pc.d: Update accordingly. + +2013-04-10 Jan Beulich + + * gas/arm/barrier-bad.d: Change title. + * gas/arm/barrier-bad.s: Add immediate form of ISB and DSB as + well as one symbolic form of DSB. + * gas/arm/barrier-bad.l: Update accordingly. + * gas/arm/barrier-bad-thumb.d: Adjust title. Use barrier-bad.s as + source. Pass -mthumb to gas. + * gas/arm/barrier-bad-thumb.l: Remove. + * gas/arm/barrier-bad-thumb.s: Remove. + * gas/arm/barrier-thumb.d: Adjust title. Use barrier.s as source. + Pass -mthumb to gas. + * gas/arm/barrier-thumb.s: Remove. + +2013-04-09 Jan Beulich + + * gas/arm/vfp1xD.s: Add VMRS/VMSR tests with FPINST, FPINST2, + and C15. + * gas/arm/vfp1xD.d: Update accordingly. + +2013-04-09 Jan Beulich + + * gas/arm/neon-omit.s: Add tests for suffix less VMOV. + * gas/arm/neon-omit.d: Update accordingly. + +2013-04-09 Jan Beulich + + * gas/arm/neon-addressing-bad.s: Add test for further invalid VST + operands. + * gas/arm/neon-addressing-bad.l: Update accordingly. + +2013-04-08 Jan Beulich + + * gas/i386/x86-64-opcode.s: Flesh out LOOP and J*CXZ sections. + Correct comments in Jcc section. + * gas/i386/x86-64-opcode.d: Refresh. + * gas/i386/ilp32/x86-64-opcode.d: Refresh. + +2013-04-06 David S. Miller + + * gas/sparc/cbcond.s: Add tests for new opcode aliases. + * gas/sparc/cbcond.d: Updated. + * gas/sparc/hpcvis3.s: Add tests for new opcode aliases. + * gas/sparc/hpcvis3.d: Updated. + * gas/sparc/v8-movwr-imm.d: Fix expected disassembly. + * gas/sparc/edge.s: New test. + * gas/sparc/edge.d: Expected disassembly. + * gas/sparc/flush.s: New test. + * gas/sparc/flush.d: Expected disassembly. + * gas/sparc/ldd_std.s: New test. + * gas/sparc/ldd_std.d: Expected disassembly. + * gas/sparc/ldtw_sttw.s: New test. + * gas/sparc/ldtw_sttw.d: Expected disassembly. + * gas/sparc/sparc.exp: Run new tests. + +2013-03-27 Alexis Deruelle + + PR binutils/15068 + * gas/tic6x/insns16-lsd-unit.s: Correct bit patterns for mvk, add + and xor. + * gas/tic6x/insns16-lsd-unit.d: Update expected output. + +2013-03-27 H.J. Lu + + * gas/i386/addr32.s: Add an SIB test. + * gas/i386/addr32.d: Updated. + +2013-03-27 Alexis Deruelle + + PR binutils/15068 + * gas/tic6x/insns16-d-unit.s: New test. + * gas/tic6x/insns16-d-unit.d: Expected disassembly. + * gas/tic6x/insns16-ddec.s: New test. + * gas/tic6x/insns16-ddec.d: Expected disassembly. + * gas/tic6x/insns16-dinc.s: New test. + * gas/tic6x/insns16-dinc.d: Expected disassembly. + * gas/tic6x/insns16-dind.s: New test. + * gas/tic6x/insns16-dind.d: Expected disassembly. + * gas/tic6x/insns16-doff4.s: New test. + * gas/tic6x/insns16-doff4.d: Expected disassembly. + * gas/tic6x/insns16-l-unit.s: New test. + * gas/tic6x/insns16-l-unit.d: Expected disassembly. + * gas/tic6x/insns16-lsd-unit.s: New test. + * gas/tic6x/insns16-lsd-unit.d: Expected disassembly. + * gas/tic6x/insns16-m-unit.s: New test. + * gas/tic6x/insns16-m-unit.d: Expected disassembly. + * gas/tic6x/insns16-s-unit-pcrel.s: New test. + * gas/tic6x/insns16-s-unit-pcrel.d: Expected disassembly. + * gas/tic6x/insns16-s-unit: New test. + * gas/tic6x/insns16-s-unit.d: Expected disassembly. + +2013-03-26 Douglas B Rupp + + * gas/ia64/ia64.exp: Add new test reloc-mlx + * gas/ia64/reloc-mlx.[sd]: New test for X-unit reloc. + * gas/ia64/pcrel.d: Fix output for X-unit reloc. + +2013-03-21 Will Newton + + * gas/arm/thumb2_relax.d: Strip out invalid pc-relative strs. + * gas/arm/thumb2_relax.s: Likewise. + * gas/arm/thumb32.d: Likewise. + * gas/arm/thumb32.l: Likewise. + * gas/arm/thumb32.s: Likewise. + * gas/arm/thumb2_str-bad.d: New file. + * gas/arm/thumb2_str-bad.l: Likewise. + * gas/arm/thumb2_str-bad.s: Likewise. + +2013-03-20 Alexis Deruelle + + PR gas/15082 + * gas/tic6x/insns-bad-1.s: Remove test-case for mpydp with + cross-path. + * gas/tic6x/insns-bad-1.l: Update expected output. + * gas/tic6x/insns-c674x.s: Add a test-case for mpydp with + cross-path. + * gas/tic6x/insns-c674x.d: Update expected output. + +2013-03-20 Alexis Deruelle + + PR gas/15095 + * gas/tic6x/insns-c674x.s: Add test cases for the newly generated + opcode. + * gas/tic6x/insns-c674x.d: Update expected disassembly. + +2013-03-15 Will Newton + + * gas/arm/any-idiv.d: Expand *-*eabi test to cover *-*eabi*. + * gas/arm/arch4t-eabi.d: Likewise. + * gas/arm/arch4t.d: Likewise. + * gas/arm/attr-any-armv4t.d: Likewise. + * gas/arm/attr-any-thumbv6.d: Likewise. + * gas/arm/attr-cpu-directive.d: Likewise. + * gas/arm/attr-default.d: Likewise. + * gas/arm/attr-march-all.d: Likewise. + * gas/arm/attr-march-armv1.d: Likewise. + * gas/arm/attr-march-armv2.d: Likewise. + * gas/arm/attr-march-armv2a.d: Likewise. + * gas/arm/attr-march-armv2s.d: Likewise. + * gas/arm/attr-march-armv3.d: Likewise. + * gas/arm/attr-march-armv3m.d: Likewise. + * gas/arm/attr-march-armv4.d: Likewise. + * gas/arm/attr-march-armv4t.d: Likewise. + * gas/arm/attr-march-armv4txm.d: Likewise. + * gas/arm/attr-march-armv4xm.d: Likewise. + * gas/arm/attr-march-armv5.d: Likewise. + * gas/arm/attr-march-armv5t.d: Likewise. + * gas/arm/attr-march-armv5te.d: Likewise. + * gas/arm/attr-march-armv5tej.d: Likewise. + * gas/arm/attr-march-armv5texp.d: Likewise. + * gas/arm/attr-march-armv5txm.d: Likewise. + * gas/arm/attr-march-armv6-m+os.d: Likewise. + * gas/arm/attr-march-armv6-m.d: Likewise. + * gas/arm/attr-march-armv6.d: Likewise. + * gas/arm/attr-march-armv6j.d: Likewise. + * gas/arm/attr-march-armv6k+sec.d: Likewise. + * gas/arm/attr-march-armv6k.d: Likewise. + * gas/arm/attr-march-armv6kt2.d: Likewise. + * gas/arm/attr-march-armv6s-m.d: Likewise. + * gas/arm/attr-march-armv6t2.d: Likewise. + * gas/arm/attr-march-armv6z.d: Likewise. + * gas/arm/attr-march-armv6zk.d: Likewise. + * gas/arm/attr-march-armv6zkt2.d: Likewise. + * gas/arm/attr-march-armv6zt2.d: Likewise. + * gas/arm/attr-march-armv7-a+idiv.d: Likewise. + * gas/arm/attr-march-armv7-a+mp.d: Likewise. + * gas/arm/attr-march-armv7-a+sec+virt.d: Likewise. + * gas/arm/attr-march-armv7-a+sec.d: Likewise. + * gas/arm/attr-march-armv7-a+virt.d: Likewise. + * gas/arm/attr-march-armv7-a.d: Likewise. + * gas/arm/attr-march-armv7-m.d: Likewise. + * gas/arm/attr-march-armv7-r+mp.d: Likewise. + * gas/arm/attr-march-armv7-r.d: Likewise. + * gas/arm/attr-march-armv7.d: Likewise. + * gas/arm/attr-march-armv7a.d: Likewise. + * gas/arm/attr-march-armv7em.d: Likewise. + * gas/arm/attr-march-armv7m.d: Likewise. + * gas/arm/attr-march-armv7r.d: Likewise. + * gas/arm/attr-march-armv8-a+crypto.d: Likewise. + * gas/arm/attr-march-armv8-a+fp.d: Likewise. + * gas/arm/attr-march-armv8-a+simd.d: Likewise. + * gas/arm/attr-march-armv8-a.d: Likewise. + * gas/arm/attr-march-iwmmxt.d: Likewise. + * gas/arm/attr-march-iwmmxt2.d: Likewise. + * gas/arm/attr-march-xscale.d: Likewise. + * gas/arm/attr-mcpu.d: Likewise. + * gas/arm/attr-mfpu-arm1020e.d: Likewise. + * gas/arm/attr-mfpu-arm1020t.d: Likewise. + * gas/arm/attr-mfpu-arm1136jf-s.d: Likewise. + * gas/arm/attr-mfpu-arm1136jfs.d: Likewise. + * gas/arm/attr-mfpu-arm7500fe.d: Likewise. + * gas/arm/attr-mfpu-fpa.d: Likewise. + * gas/arm/attr-mfpu-fpa10.d: Likewise. + * gas/arm/attr-mfpu-fpa11.d: Likewise. + * gas/arm/attr-mfpu-fpe.d: Likewise. + * gas/arm/attr-mfpu-fpe2.d: Likewise. + * gas/arm/attr-mfpu-fpe3.d: Likewise. + * gas/arm/attr-mfpu-maverick.d: Likewise. + * gas/arm/attr-mfpu-neon-fp16.d: Likewise. + * gas/arm/attr-mfpu-neon.d: Likewise. + * gas/arm/attr-mfpu-softfpa.d: Likewise. + * gas/arm/attr-mfpu-softvfp+vfp.d: Likewise. + * gas/arm/attr-mfpu-softvfp.d: Likewise. + * gas/arm/attr-mfpu-vfp.d: Likewise. + * gas/arm/attr-mfpu-vfp10-r0.d: Likewise. + * gas/arm/attr-mfpu-vfp10.d: Likewise. + * gas/arm/attr-mfpu-vfp3.d: Likewise. + * gas/arm/attr-mfpu-vfp9.d: Likewise. + * gas/arm/attr-mfpu-vfpv2.d: Likewise. + * gas/arm/attr-mfpu-vfpv3-d16.d: Likewise. + * gas/arm/attr-mfpu-vfpv3.d: Likewise. + * gas/arm/attr-mfpu-vfpv4-d16.d: Likewise. + * gas/arm/attr-mfpu-vfpv4.d: Likewise. + * gas/arm/attr-mfpu-vfpxd.d: Likewise. + * gas/arm/attr-names.d: Likewise. + * gas/arm/attr-order.d: Likewise. + * gas/arm/attr-override-cpu-directive.d: Likewise. + * gas/arm/attr-override-mcpu.d: Likewise. + * gas/arm/got_prel.d: Likewise. + * gas/arm/mapdir.d: Likewise. + * gas/arm/mapmisc.d: Likewise. + * gas/arm/mapsecs.d: Likewise. + * gas/arm/mapshort-eabi.d: Likewise. + * gas/arm/mapshort-elf.d: Likewise. + * gas/arm/mov-highregs-any.d: Likewise. + * gas/arm/mov-lowregs-any.d: Likewise. + * gas/arm/pr12198-1.d: Likewise. + * gas/arm/pr12198-2.d: Likewise. + * gas/arm/thumb-eabi.d: Likewise. + * gas/arm/thumb.d: Likewise. + * gas/arm/thumbrel.d: Likewise. + +2013-03-15 Nick Clifton + + * gas/arm/arch7.d: Skip for non-ELF ARM targets. + * gas/arm/arch7a-mp.d: Likewise. + * gas/arm/arch7em.d: Likewise. + * gas/arm/crc32-bad.d: Likewise. + * gas/arm/crc32.d: Likewise. + +2013-03-15 Will Newton + + * gas/arm/vstr-thumb-bad.d: Assemble with -mcpu=arm1156t2f-s. + +2013-03-12 Sebastian Huber + + * gas/nios2/nios2.exp: Use run_dump_tests. + * gas/nios2/mov.d: Delete file. + * gas/nios2/mov.s: Likewise. + * gas/nios2/rol.d: Likewise. + * gas/nios2/rol.s: Likewise. + * gas/nios2/add.d: Check instruction values. + * gas/nios2/align_fill.d: Likewise. + * gas/nios2/and.d: Likewise. + * gas/nios2/branch.d: Likewise. + * gas/nios2/bret.d: Likewise. + * gas/nios2/cache.d: Likewise. + * gas/nios2/call.d: Likewise. + * gas/nios2/call26.d: Likewise. + * gas/nios2/cmp.d: Likewise. + * gas/nios2/comments.d: Likewise. + * gas/nios2/complex.d: Likewise. + * gas/nios2/ctl.d: Likewise. + * gas/nios2/custom.d: Likewise. + * gas/nios2/etbt.d: Likewise. + * gas/nios2/flushda.d: Likewise. + * gas/nios2/jmp.d: Likewise. + * gas/nios2/ldb.d: Likewise. + * gas/nios2/ldh.d: Likewise. + * gas/nios2/ldw.d: Likewise. + * gas/nios2/lineseparator.d: Likewise. + * gas/nios2/movi.d: Likewise. + * gas/nios2/movia.d: Likewise. + * gas/nios2/mul.d: Likewise. + * gas/nios2/nor.d: Likewise. + * gas/nios2/or.d: Likewise. + * gas/nios2/registers.d: Likewise. + * gas/nios2/ret.d: Likewise. + * gas/nios2/rotate.d: Likewise. + * gas/nios2/stb.d: Likewise. + * gas/nios2/sth.d: Likewise. + * gas/nios2/stw.d: Likewise. + * gas/nios2/sub.d: Likewise. + * gas/nios2/sync.d: Likewise. + * gas/nios2/trap.d: Likewise. + * gas/nios2/tret.d: Likewise. + * gas/nios2/xor.d: Likewise. + +2013-03-12 Sebastian Huber + + * gas/nios2/break.d: Check instruction values. + +2013-03-11 Sebastian Huber + + * gas/nios2/nios2.exp: Run wrprs. + * gas/nios2/wrprs.d: New file. + * gas/nios2/wrprs.s: Likewise. + +2013-03-11 Sebastian Huber + + * gas/nios2/nios2.exp: Run rdprs. + * gas/nios2/rdprs.d: New file. + * gas/nios2/rdprs.s: Likewise. + +2013-03-11 Sebastian Huber + + * gas/nios2/nios2.exp: Run registers. + * gas/nios2/registers.d: New file. + * gas/nios2/registers.s: Likewise. + +2013-03-11 Kyrylo Tkachov + + * gas/arm/crc32-bad.d: New file. + * gas/arm/crc32-bad.l: Likewise. + * gas/arm/crc32-bad.s: Likewise. + * gas/arm/crc32.d: Likewise. + * gas/arm/crc32.s: Likewise. + +2013-03-05 Yufeng Zhang + + * gas/aarch64/diagnostic.s: Add test. + * gas/aarch64/diagnostic.l: Update. + * gas/aarch64/illegal.s: Add test. + * gas/aarch64/illegal.l: Update. + * gas/aarch64/fpmov.s: New file. + * gas/aarch64/fpmov.d: New file. + +2013-03-01 H.J. Lu + + * gas/i386/inval.s: Add tests for invalid addresses and eiz. + + * gas/i386/x86-64-inval.s: Add tests for invalid addresses and + riz/eiz. + + * gas/i386/inval.l: Updated. + * gas/i386/x86-64-inval.l: Likewise. + +2013-02-28 H.J. Lu + + * gas/i386/i386.exp: Run inval-rep and x86-64-inval-rep. + + * gas/i386/inval-rep.l: New file. + * gas/i386/inval-rep.s: Likewise. + * gas/i386/x86-64-inval-rep.l: Likewise. + * gas/i386/x86-64-inval-rep.s: Likewise. + +2013-02-28 Yufeng Zhang + + * gas/aarch64/crc32.s: New test. + * gas/aarch64/crc32.d: Ditto. + +2013-02-28 Yufeng Zhang + + * gas/aarch64/illegal.l: Delete the error message for + msr S3_1_C13_C15_1,x7. + * gas/aarch64/sysreg.s: Add new tests. + * gas/aarch64/sysreg.d: Update. + +2013-02-19 H.J. Lu + + PR gas/15159 + * gas/i386/i386.exp: Run smap and x86-64-smap. + + * gas/i386/smap.d: New file. + * gas/i386/smap.s: likewise. + * gas/i386/x86-64-smap.d: likewise. + +2013-02-15 Markos Chandras + + * gas/metag/labelarithmetic.d: Fix the expected disassembler + output to be in little endian format + * gas/metag/metacore12.d: likewise + * gas/metag/metacore21.d: likewise + * gas/metag/metacore21ext.d: likewise + * gas/metag/metadsp21.d: likewise + * gas/metag/metadsp21ext.d: likewise + * gas/metag/metafpu.d: likewise + * gas/metag/metafpuext.d: likewise + * gas/metag/tls.d: likewise + +2013-02-15 Kyrylo Tkachov + + * gas/arm/neon-vmov-bad.d: New file. + * gas/arm/neon-vmov-bad.s: Likewise. + * gas/arm/neon-vmov-bad.l: Likewise. + +2013-02-14 Yufeng Zhang + + * gas/aarch64/system.s: Add tests. + * gas/aarch64/system.d: Update. + +2013-02-11 Kyrylo Tkachov + + * gas/arm/archv6t2.s: Add strht and ldrht tests. + * gas/arm/archv6t2.d: Add disassembly patterns for the above. + +2013-02-09 Jürgen Urban + + * gas/mips/24k-triple-stores-2.d, gas/mips/24k-triple-stores-2.s, + gas/mips/micromips@24k-triple-stores-2.d: Move "sc" tests to... + * gas/mips/24k-triple-stores-2-llsc.d, + gas/mips/24k-triple-stores-2-llsc.s, + gas/mips/micromips@24k-triple-stores-2-llsc.d: ...these new tests. + * gas/mips/r5900-full.d, gas/mips/r5900-full.s: Verify that the + MIPS ISA level can be upgraded to support ll, sc, lld and scd. + * gas/mips/l_d-single.d, gas/mips/s_d-single.d, + gas/mips/r5900-nollsc.l, gas/mips/r5900-nollsc.s: New tests. + * gas/mips/mips.exp: Update accordingly. Add "nollsc" to r5900 + properties. + +2013-02-08 Alan Modra + + * gas/nios2/nios2.exp: Add copyright. + (run_list_test): Delete. Adjust callers to use standard version. + +2013-02-06 Sandra Loosemore + Andrew Jenner + + Based on patches from Altera Corporation. + + * gas/nios2/add.d: New. + * gas/nios2/add.s: New. + * gas/nios2/align_fill.d: New. + * gas/nios2/align_fill.s: New. + * gas/nios2/align_text.d: New. + * gas/nios2/align_text.s: New. + * gas/nios2/and.d: New. + * gas/nios2/and.s: New. + * gas/nios2/branch.d: New. + * gas/nios2/branch.s: New. + * gas/nios2/break.d: New. + * gas/nios2/break.s: New. + * gas/nios2/bret.d: New. + * gas/nios2/bret.s: New. + * gas/nios2/cache.d: New. + * gas/nios2/cache.s: New. + * gas/nios2/call26.d: New. + * gas/nios2/call26.s: New. + * gas/nios2/call.d: New. + * gas/nios2/call.s: New. + * gas/nios2/cmp.d: New. + * gas/nios2/cmp.s: New. + * gas/nios2/comments.d: New. + * gas/nios2/comments.s: New. + * gas/nios2/complex.d: New. + * gas/nios2/complex.s: New. + * gas/nios2/ctl.d: New. + * gas/nios2/ctl.s: New. + * gas/nios2/custom.d: New. + * gas/nios2/custom.s: New. + * gas/nios2/etbt.d: New. + * gas/nios2/etbt.s: New. + * gas/nios2/flushda.d: New. + * gas/nios2/flushda.s: New. + * gas/nios2/illegal.l: New. + * gas/nios2/illegal.s: New. + * gas/nios2/jmp.d: New. + * gas/nios2/jmp.s: New. + * gas/nios2/ldb.d: New. + * gas/nios2/ldb.s: New. + * gas/nios2/ldh.d: New. + * gas/nios2/ldh.s: New. + * gas/nios2/ldw.d: New. + * gas/nios2/ldw.s: New. + * gas/nios2/lineseparator.d: New. + * gas/nios2/lineseparator.s: New. + * gas/nios2/mov.d: New. + * gas/nios2/movia.d: New. + * gas/nios2/movia.s: New. + * gas/nios2/movi.d: New. + * gas/nios2/movi.s: New. + * gas/nios2/mov.s: New. + * gas/nios2/mul.d: New. + * gas/nios2/mul.s: New. + * gas/nios2/nios2.exp: New. + * gas/nios2/nor.d: New. + * gas/nios2/nor.s: New. + * gas/nios2/or.d: New. + * gas/nios2/or.s: New. + * gas/nios2/ret.d: New. + * gas/nios2/ret.s: New. + * gas/nios2/rol.d: New. + * gas/nios2/rol.s: New. + * gas/nios2/rotate.d: New. + * gas/nios2/rotate.s: New. + * gas/nios2/stb.d: New. + * gas/nios2/stb.s: New. + * gas/nios2/sth.d: New. + * gas/nios2/sth.s: New. + * gas/nios2/stw.d: New. + * gas/nios2/stw.s: New. + * gas/nios2/sub.d: New. + * gas/nios2/sub.s: New. + * gas/nios2/sync.d: New. + * gas/nios2/sync.s: New. + * gas/nios2/trap.d: New. + * gas/nios2/trap.s: New. + * gas/nios2/tret.d: New. + * gas/nios2/tret.s: New. + * gas/nios2/warn_noat.l: New. + * gas/nios2/warn_noat.s: New. + * gas/nios2/warn_nobreak.l: New. + * gas/nios2/warn_nobreak.s: New. + * gas/nios2/xor.d: New. + * gas/nios2/xor.s: New. + +2013-01-31 Tristan Gingold + + * gas/ppc/test1xcoff32.d: Updated. + * gas/all/fwdexp.d: Adjusted for AIX. + +2013-01-30 Yufeng Zhang + + * gas/aarch64/alias.s: Add new tests. + * gas/aarch64/alias.d: Update. + * gas/aarch64/no-aliases.d: Update. + +2013-01-30 Markos Chandras + + * gas/metag/metacore21-invalid.s: Add invalid SWAP testcases. + * gas/metag/metacore21-invalid.l: Add expected output for invalid + SWAP testcases. + +2013-01-28 Alexis Deruelle + + PR gas/15069 + * gas/tic6x/insns-c674x-pcrel.s: Add test of BNOP instruction + within header based fetch packet. + * gas/tic6x/insns-c674x-pcrel.d: Update expected disassembly. + +2013-01-24 Nick Clifton + + * gas/elf/warn-2.s: Skip for all V850 variants. + +2013-01-17 Yufeng Zhang + + * gas/aarch64/diagnostic.l: Update. + * gas/aarch64/movi.s: Add tests. + * gas/aarch64/movi.d: Update. + * gas/aarch64/programmer-friendly.s: Add comment. + +2013-01-16 H.J. Lu + + * gas/i386/i386.exp: Run size-1, size-2, size-3, size-4, + x86-64-size-1, x86-64-size-2, x86-64-size-3, x86-64-size-4, + x86-64-size-5 and x86-64-size-inval-1. + + * gas/i386/size-1.d: New file. + * gas/i386/size-1.s: Likewise. + * gas/i386/size-2.d: Likewise. + * gas/i386/size-2.s: Likewise. + * gas/i386/size-3.d: Likewise. + * gas/i386/size-3.s: Likewise. + * gas/i386/size-4.d: Likewise. + * gas/i386/size-4.s: Likewise. + * gas/i386/x86-64-size-1.d: Likewise. + * gas/i386/x86-64-size-2.d: Likewise. + * gas/i386/x86-64-size-3.d: Likewise. + * gas/i386/x86-64-size-4.d: Likewise. + * gas/i386/x86-64-size-5.d: Likewise. + * gas/i386/x86-64-size-5.s: Likewise. + * gas/i386/x86-64-size-inval-1.l: Likewise. + * gas/i386/x86-64-size-inval-1.s: Likewise. + * gas/i386/ilp32/x86-64-size-1.d: Likewise. + * gas/i386/ilp32/x86-64-size-2.d: Likewise. + * gas/i386/ilp32/x86-64-size-3.d: Likewise. + * gas/i386/ilp32/x86-64-size-4.d: Likewise. + * gas/i386/ilp32/x86-64-size-5.d: Likewise. + +2013-01-16 Alan Modra + + * gas/ppc/htm.d: Ignore padding at end of section. + +2013-01-15 H.J. Lu + + PR gas/15019 + * gas/i386/reloc32.s: Add tests for "xtrn@got -/+ 4". + * gas/i386/reloc64.s: Likewise. + * gas/i386/ilp32/reloc64.s: Likewise. + + * gas/i386/reloc32.d: Updated. + * gas/i386/reloc64.d: Likewise. + * gas/i386/ilp32/reloc64.d: Likewise. + +2013-01-15 Nick Clifton + + * gas/v850/basic.exp: Allow for variations in reloc names. + * gas/v850/split-lo16.d: Likewise. + + * gas/v850/v850e1.s: Add more tests of the PREPARE insn. + * gas/v850/v850e1.d: Update expected disassembly. + +2013-01-14 Alan Modra + + * gas/v850/basic.exp (reloc part 1): Pass -mgcc-abi to gas. + * gas/v850/split-lo16.d: Likewise. + +2013-01-14 Will Newton + + * gas/metag/metadsp21.d: Fix expected MMOV disassembly. + +2013-01-14 Alan Modra + + * gas/ppc/htm.s: Use .text rather than .section ".text". + * gas/ppc/power8.s: Likewise. + * gas/ppc/htm.d: Don't match file format. + * gas/ppc/power8.d: Likewise. + +2013-01-10 Peter Bergner + + * gas/ppc/htm.d: New test. + * gas/ppc/htm.s: Likewise. + * gas/ppc/power8.d: Likewise. + * gas/ppc/power8.s: Likewise. + * gas/ppc/ppc.exp: Run them. + +2013-01-10 Will Newton + + * gas/metag/labelarithmetic.d: New file. + * gas/metag/labelarithmetic.s: New file. + * gas/metag/metacore12.d: New file. + * gas/metag/metacore12.s: New file. + * gas/metag/metacore21-invalid.l: New file. + * gas/metag/metacore21-invalid.s: New file. + * gas/metag/metacore21.d: New file. + * gas/metag/metacore21.s: New file. + * gas/metag/metacore21ext.d: New file. + * gas/metag/metacore21ext.s: New file. + * gas/metag/metadsp21-invalid.l: New file. + * gas/metag/metadsp21-invalid.s: New file. + * gas/metag/metadsp21.d: New file. + * gas/metag/metadsp21.s: New file. + * gas/metag/metadsp21ext.d: New file. + * gas/metag/metadsp21ext.s: New file. + * gas/metag/metafpu21.d: New file. + * gas/metag/metafpu21.s: New file. + * gas/metag/metafpu21ext.d: New file. + * gas/metag/metafpu21ext.s: New file. + * gas/metag/metag.exp: New file. + * gas/metag/tls.d: New file. + * gas/metag/tls.s: New file. + +2013-01-08 Yufeng Zhang + + * gas/aarch64/diagnostic.s: Add test. + * gas/aarch64/diagnostic.l: Update. + +2013-01-07 Nick Clifton + + PR gas/14887 + * gas/arm/neon-ldst-es.s: Add more whitespace. + +2013-01-04 Juergen Urban + + * gas/mips/r5900-full.s: New test. + * gas/mips/r5900-full.d: Expected disassembly. + * gas/mips/r5900.s: New test. + * gas/mips/r5900.d: Expected disassembly. + * gas/mips/mips.exp: Run new tests. + +2013-01-04 Yufeng Zhang + + * gas/aarch64/int-insns.d: Update. + * gas/aarch64/mov.d: Update. + * gas/aarch64/reloc-insn.d: Update. + +2013-01-04 Yufeng Zhang + + * gas/aarch64/system.d: Update. + +2013-01-02 Nick Clifton + + PR gas/14987 + * gas/arm/neon-ldst-es.s: Add whitespace test. + * gas/arm/neon-ldst-es.d: Update expected disassembly. + +For older changes see ChangeLog-2012 + +Copyright (C) 2013 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/gprof/ChangeLog b/gprof/ChangeLog index d08636fa74d..dfe7d09ad04 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,48 +1,6 @@ -2013-11-21 Conrad Hoffmann - - * gprof.c (inline_file_names): New variable. - (OPTION_INLINE_FILE_NAMES): Define. - (long_options): Add --inline-file-names. - (usage): Likewise. - (main): Process --inline-file-names. - * gprof.h: Add prototype for inline_file_names. - * utils.c (print_name_only): Handle inline_file_names. - * gprof.texi: Document new command line option. - -2013-11-02 Alan Modra - - * Makefile.am (.m.c): Fix input and output file specification. - * Makefile.in: Regenerate. - -2013-10-09 Nick Clifton - - PR gprof/16027 - * source.c (annotate_source): Close ifp. - * corefile.c (read_function_mappings): Close file. - -2013-09-20 Alan Modra - - * configure: Regenerate. - -2013-08-05 John Tytgat - - * po/POTFILES.in: Regenerate. - -2013-05-24 Alan Modra - - * aarch64.c (aarch64_find_call): Promote to bfd_vma before sign - extending. - -2013-05-22 Venkataramanan Kumar - - * aarch64.c: New file. - * corefile.c (find_call): Call aarch64_find_call for bfd_arch_aarch64. - * Makefile.am (sources): Add aarch64.c. - * Makefile.in: Regenerate. - -For older changes see ChangeLog-2012 +For older changes see ChangeLog-2013 -Copyright (C) 2013 Free Software Foundation, Inc. +Copyright (C) 2014 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright diff --git a/gprof/ChangeLog-2013 b/gprof/ChangeLog-2013 new file mode 100644 index 00000000000..d08636fa74d --- /dev/null +++ b/gprof/ChangeLog-2013 @@ -0,0 +1,56 @@ +2013-11-21 Conrad Hoffmann + + * gprof.c (inline_file_names): New variable. + (OPTION_INLINE_FILE_NAMES): Define. + (long_options): Add --inline-file-names. + (usage): Likewise. + (main): Process --inline-file-names. + * gprof.h: Add prototype for inline_file_names. + * utils.c (print_name_only): Handle inline_file_names. + * gprof.texi: Document new command line option. + +2013-11-02 Alan Modra + + * Makefile.am (.m.c): Fix input and output file specification. + * Makefile.in: Regenerate. + +2013-10-09 Nick Clifton + + PR gprof/16027 + * source.c (annotate_source): Close ifp. + * corefile.c (read_function_mappings): Close file. + +2013-09-20 Alan Modra + + * configure: Regenerate. + +2013-08-05 John Tytgat + + * po/POTFILES.in: Regenerate. + +2013-05-24 Alan Modra + + * aarch64.c (aarch64_find_call): Promote to bfd_vma before sign + extending. + +2013-05-22 Venkataramanan Kumar + + * aarch64.c: New file. + * corefile.c (find_call): Call aarch64_find_call for bfd_arch_aarch64. + * Makefile.am (sources): Add aarch64.c. + * Makefile.in: Regenerate. + +For older changes see ChangeLog-2012 + +Copyright (C) 2013 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/ld/ChangeLog b/ld/ChangeLog index b996faf933c..dfe7d09ad04 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,875 +1,6 @@ -2013-12-20 H.J. Lu - - * emulparams/elf_k1om.sh (IREL_IN_PLT): Define. - * emulparams/elf_l1om.sh (IREL_IN_PLT): Likewise. - -2013-12-13 Kuan-Lin Chen - Wei-Cheng Wang - Hui-Wen Ni - - * Makefile.am (ALL_EMULATION_SOURCES): Add nds32 target. - * Makefile.in: Regenerate. - * configure.tgt: Add case for nds32*le-*-elf*, nds32*be-*-elf*, - nds32*le-*-linux-gnu*, and nds32*be-*-linux-gnu*. - * emulparams/nds32belf.sh: New file for nds32. - * emulparams/nds32belf_linux.sh: Likewise. - * emulparams/nds32belf16m.sh: Likewise. - * emulparams/nds32elf.sh: Likewise. - * emulparams/nds32elf_linux.sh: Likewise. - * emulparams/nds32elf16m.sh: Likewise. - * emultempl/nds32elf.em: Likewise. - * scripttempl/nds32elf.sc}: Likewise. - * gen-doc.texi: Set NDS32. - * ld.texinfo: Set NDS32. - * NEWS: Announce Andes nds32 support. - -2013-12-11 H.J. Lu - - * ld.texinfo: Remove shared object from -Ttext-segment. - -2013-12-10 Roland McGrath - - * Makefile.am (install-exec-local): Prefix libtool invocation with - $(INSTALL_PROGRAM_ENV). - * Makefile.in: Regenerate. - -2013-12-07 Mike Frysinger - - * ChangeLog-2008: Remove +x file mode. - * emulparams/bfin.sh: Likewise. - * emulparams/elf32bmipn32.sh: Likewise. - * emulparams/elf32fr30.sh: Likewise. - * emulparams/elf32frv.sh: Likewise. - * emulparams/elf32iq10.sh: Likewise. - * emulparams/elf32iq2000.sh: Likewise. - * emulparams/elf32mep.sh: Likewise. - * emulparams/elf32openrisc.sh: Likewise. - * emulparams/elf64bmip.sh: Likewise. - * emulparams/elf64hppa.sh: Likewise. - * emulparams/i386beos.sh: Likewise. - -2013-11-26 H.J. Lu - - PR ld/16259 - * Makefile.am (HOSTING_SLIBS): New. - * configure.host (HOSTING_SLIBS): New. Used for PIE. - * configure.in (HOSTING_SLIBS): New AC_SUBST. - * Makefile.in: Regenerated. - * configure: Likewise. - -2013-11-22 Cory Fields - - * pe-dll.c (fill_edata): Only use a real timestamp if - --insert-timestamp was used. - * emultempl/pe.em: Add the --insert-timestamp option. - * emultempl/pep.em: Likewise for 64bit. - * ld.texinfo: Document the --insert-timestamp option. - -2013-11-22 Senthil Kumar Selvaraj - - * scripttempl/avr.sc: Set .data section's LMA to next available - address in text region. - -2013-11-21 Andrew Pinski - - * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64linux32.c - and eaarch64linux32b.c - (eaarch64linux32.c): New target. - (eaarch64linux32b.c): Likewise. - * Makefile.in: Regenerate. - * configure.tgt (aarch64_be-*-linux*): Add - aarch64linux32 and aarch64linux32b to targ_extra_libpath. - (aarch64-*-linux*): Likewise. - * emulparams/aarch64elf32.sh (SEPARATE_GOTPLT): Change to 12 (3 words). - * emulparams/aarch64linux32.sh: New file. - * emulparams/aarch64linux32b.sh: New file. - -2013-11-21 Andrew Pinski - - * configure.tgt (aarch64_be-*-linux*): Split out the linux targets - into targ_extra_libpath. - (aarch64-*-linux*): Likewise. - -2013-11-21 Nick Clifton - - PR ld/16192 - * pe-dll.c (pe_create_runtime_relocator_reference): Zero the - newly allocated idata5 block. - -2013-11-20 Nick Clifton - - * scripttempl/elf32msp430.sc (.data): Set the based on the next - free location in the text memory region, not a computation based - upon the size of the text section. Orphaned sections or other - linker scripts might insert new sections between the .text section - and the .data section. - * scripttempl/elf32msp430_3.sc (.data): Likewise. - -2013-11-19 Roland McGrath - Alan Modra - - * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): - Don't use bfd_elf_record_link_assignment to mark __ehdr_start - hidden. Instead, just do it directly here, and only if it was - referenced but not defined. - -2013-11-18 Chung-Lin Tang - - * emulparams/nios2linux.sh: New emulation file. - * configure.tgt: Add nios2*-*-linux* emulation case. - * Makefile.am (enios2linux.c): New emulation entry. - * Makefile.in: Regenerate. - -2013-10-14 Nick Clifton - - * emultempl/aix.em (_read_file): Close file at end of function. - -2013-10-10 Roland McGrath - - * ldmisc.c (vfinfo): Use Boolean ? "" : ":" in place of ":" + Boolean. - It silences some compilers' warnings and is much less bizarre to read. - -2013-10-09 Roland McGrath - - * emultempl/elf32.em (id_note_section_size): Use ATTRIBUTE_UNUSED - rather than a dummy assignment for unused parameter. - * plugin.c (get_input_file, release_input_file): Likewise. - -2013-10-09 Nick Clifton - - PR ld/16028 - * ldmain.c (add_keepsyms_file): Close file at end of function. - -2013-10-03 Will Newton - - * emulparams/aarch64elf.sh: Add IREL_IN_PLT. - * emulparams/aarch64elf32.sh: Likewise. - -2013-09-30 Nick Clifton - - * emulparams/msp430all.sh: Update ARCH names. - -2013-09-24 Alan Modra - - * emulparams/elf32ppccommon.sh (LIBPATH_SUFFIX): Provide 32-bit - and cross-endian values. - * emulparams/elf64ppc.sh: Source elf32ppccomon.sh. Delete duplicate, - and unset unwanted variables. - -2013-09-24 Alan Modra - - * genscripts.sh (LIB_PATH): Don't exclude libdir or tooldir when - sysrooted. Also, don't always add tooldir when non-sysrooted. - Instead add both when native and tooldir also when TOOL_DIR is - defined. Always prepend '=' to paths when sysrooted. Always - put paths with LIBPATH_SUFFIX first in search order. - -2013-09-20 Chung-Lin Tang - - * Makefile.am (enios2elf.c): Change tdir_nios2 to tdir_nios2elf. - * Makefile.in: Regenerate. - -2013-09-20 Alan Modra - - * configure: Regenerate. - -2013-09-18 Tristan Gingold - - * NEWS: Add marker for 2.24. - -2013-09-17 Nick Clifton - - PR ld/15957 - * deffilep.y (def_file_add_directive): Avoid readin past end of - buffer. - -2013-08-28 Nick Clifton - - PR ld/15896 - * ld.texinfo: Fix uses of MB abbreviation. - -2013-08-26 Roland McGrath - - * emulparams/elf_i386_nacl.sh (ARCH): Set to i386:nacl. - * emulparams/elf_x86_64_nacl.sh (ARCH): Set to i386:x86-64:nacl. - * emulparams/elf32_x86_64_nacl.sh (ARCH): Set to i386:x64-32:nacl. - -2013-08-23 Roland McGrath - - * emulparams/elf_nacl.sh (nacl_rodata_addr): Don't add in - SIZEOF_HEADERS here; elf.sc does it already. - -2013-08-23 Nick Clifton - - PR ld/15839 - * scripttempl/avr.sc: Do not include gc'able sections into general - sections during relocatable links. - -2013-08-22 Christian Franke - - * emultempl/pe.em: Add --disable-large-address-aware option. - * ld.texinfo (--disable-large-address-aware): Add documentation. - -2013-08-14 Clemens Lang - - * ldexp.c: Add LOG2CEIL() builtin function to linker script language - * ldgram.y: Likewise - * ldlex.l: Likewise - * NEWS: Mention the new feature. - * ld.texinfo: Document the new feature. - -2013-07-19 Sebastian Huber - - * ldgram.y: Add ALIGN_WITH_INPUT output section attribute. - * ldlang.c: Likewise. - * ldlang.h: Likewise. - * ldlex.l: Likewise. - * mri.c: Likewise. - * ld.texinfo: Document new feature. - * NEWS: Mention new feature. - -2013-07-18 Roland McGrath - - * emultempl/armelf.em (elf32_arm_add_stub_section): Take third - argument ALIGNMENT_POWER, use it instead of constant 3. - -2013-07-08 Jeff Law - - * scripttempl/elf.sc: Handle function names and other text after - .text.unlikely too. - -2013-07-08 Tristan Gingold - - * scripttempl/ia64vms.sc: Add support of per data and per function - sections. - -2013-07-01 Alan Modra - - * emultempl/ppc64elf.em: (ppc_layout_sections_again): Call - ppc64_elf_set_toc rather than ppc64_elf_toc/_bfd_set_gp_value. - (gld${EMULATION_NAME}_after_allocation): Likewise. - -2013-06-26 Yufeng Zhang - - * emulparams/aarch64elf32.sh: New file. - -2013-06-26 Yufeng Zhang - - * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64elf32b.c. - (eaarch64elf32b.c): New dependency and rule. - * Makefile.in: Re-generated. - * configure.tgt (aarch64-*-elf): Add aarch64elf32b. - (aarch64_be-*-elf, aarch64_be-*-linux*, aarch64-*-linux*): Likewise. - * emulparams/aarch64elf32b.sh: New file. - -2013-06-26 Yufeng Zhang - - * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64elf32.c. - (eaarch64elf32.c): New dependency and rule. - * Makefile.in: Re-generated. - * configure.tgt (aarch64-*-elf): Add aarch64elf32. - (aarch64_be-*-elf, aarch64_be-*-linux*, aarch64-*-linux*): Likewise. - * emulparams/aarch64elf32.sh: New file. - -2013-06-25 Maciej W. Rozycki - - * emultempl/mipself.em (insn32): New variable. - (mips_create_output_section_statements): Handle insn32 mode. - (PARSE_AND_LIST_PROLOGUE): New macro. - (PARSE_AND_LIST_LONGOPTS): Likewise. - (PARSE_AND_LIST_OPTIONS): Likewise. - - * gen-doc.texi: Set MIPS. - * ld.texinfo: Likewise. - (Options specific to MIPS targets): New section. - (ld and MIPS family): New node. - (Top, Machine Dependent): List the new node. - -2013-06-24 Maciej W. Rozycki - - * emulparams/elf32btsmip.sh: Arrange for .got.plt to be placed - as close to .plt as possible. - * scripttempl/elf.sc: Handle $INITIAL_READWRITE_SECTIONS and - $PLT_NEXT_DATA variables. - -2013-06-23 Richard Sandiford - - * Makefile.am (ALL_EMULATION_SOURCES): Move MIPS ELF emulations to... - (ALL_64_EMULATION_SOURCES): ...here. - * Makefile.in: Regenerate. - -2013-06-22 Richard Sandiford - - * NEWS: Document the removal of MIPS ECOFF targets. - * ld.texinfo (--gpsize=@var{value}): Use MIPS ELF rather than - MIPS ECOFF as an example of a target that supports small data. - * ldmain.c (g_switch_value): Likewise. - * configure.tgt (mips*-*-pe, mips*-dec-ultrix*, mips*-dec-osf*) - (mips*-sgi-irix* [v4 and earlier], mips*el-*-ecoff*, mips*-*-ecoff*) - (mips*-*-bsd*, mips*-*-lnews*): Remove cases. - * Makefile.am (ALL_EMULATION_SOURCES): Remove emipsbig.c, emipsbsd.c, - emipsidt.c, emipsidtl.c, emipslit.c, emipslnews.c and emipspe.c. - (emipsbig.c, emipsbsd.c, emipsidt.c, emipsidtl.c, emipslit.c) - (emipslnews.c, emipspe.c): Delete rules. - * Makefile.in: Regenerate. - * emulparams/mipsbig.sh, emulparams/mipsbsd.sh, emulparams/mipsidt.sh, - emulparams/mipsidtl.sh, emulparams/mipslit.sh, emulparams/mipslnews.sh, - emulparams/mipspe.sh, emultempl/mipsecoff.em: Delete. - * emultempl/m68kcoff.em: Update comment to say that MIPS ECOFF support - has now been removed. - * emultempl/pe.em: Remove TARGET_IS_mipspe checks. - -2013-06-19 Will Newton - - * emulparams/aarch64elf.sh: Remove IREL_IN_PLT. - -2013-06-14 Yufeng Zhang - - * emulparams/aarch64elf.sh: Add IREL_IN_PLT. - -2013-06-12 Nick Clifton - - * ldcref.c (output_one_cref): Place common definitions after - ordinary definitions but before references. - -2013-06-10 Dilyan Palauzov - - PR ld/15598 - * ld.texinfo (Source Code Reference): Fix typos. - -2013-06-07 Will Newton - - * emulparams/aarch64elf.sh: Add IREL_IN_PLT. - -2013-06-07 Nick Clifton - - * ld.texinfo (SEGMENT_START): Rephrase to indicate that a -T - option must appear before the SEGMENT_START is encountered in - order for the default value to be overridden. - -2013-05-03 Alan Modra - - PR ld/15365 - * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): - Restrict __ehdr_start's export class to no less than STV_HIDDEN. - -2013-05-03 Alan Modra - - * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): - Only call lang_for_each_statement if an ELF hash table is used. - -2013-05-02 Nick Clifton - - * Makefile.am: Add emsp430X.c - * Makefine.in: Regenerate. - * configure.tgt (msp430): Add msp430X emulation. - * ldmain.c (multiple_definition): Only disable relaxation if it - was enabled by the user. - * ldmain.h (RELAXATION_ENABLED_BY_USER): New macro. - * emulparams/msp430all.sh: Add support for MSP430X. - * emultempl/generic.em: (before_parse): Enable relaxation for the - MSP430. - * scripttempl/msp430.sc: Reorganize sections. Add .rodata - section. - * scripttempl/msp430_3.sc: Likewise. - * NEWS: Mention support for MSP430X. - -2013-05-01 Maciej W. Rozycki - - * configure.tgt: Replace alpha*-*-linuxecoff* pattern with - alpha*-*-linux*ecoff*. Update the `sed' pattern used to convert - from alpha*-*-linux-* to alpha*-*-linux*ecoff*. - -2013-05-01 Maciej W. Rozycki - - * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): - Use is_elf_hash_table rather than a handcoded condition. - -2013-04-30 Nick Clifton - - * ld.texinfo (SORT_BY_ALIGNMENT): Fix and clarify typo - sections - are sorted by descending order of alignment. - -2013-04-29 Nick Clifton - - * scripttempl/DWARF.sc: Add support for .debug_line.* and - .debug_line_end. - -2013-04-29 Yaakov Selkowitz - - * emultempl/pe.em [cygwin]: Do not merge rdata with v2 - psuedo-relocs. - -2013-04-28 Thomas Schwinge - - * scripttempl/armbpabi.sc: Replace "source" usage with ".". - * scripttempl/avr.sc: Likewise. - * scripttempl/elf.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/elfxgate.sc: Likewise. - * scripttempl/elfxtensa.sc: Likewise. - * scripttempl/epiphany_4x4.sc: Likewise. - * scripttempl/i386beos.sc: Likewise. - * scripttempl/i386go32.sc: Likewise. - * scripttempl/ia64vms.sc: Likewise. - * scripttempl/ip2k.sc: Likewise. - * scripttempl/iq2000.sc: Likewise. - * scripttempl/mep.sc: Likewise. - * scripttempl/mmo.sc: Likewise. - * scripttempl/v850.sc: Likewise. - * scripttempl/v850_rh850.sc: Likewise. - * scripttempl/xstormy16.sc: Likewise. - -2013-04-26 Senthil Kumar Selvaraj - - * scripttempl/avr.sc: Add ALIGN directive after *(.progmem*). - -2013-04-26 Alan Modra - - * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Test - unresolved_syms_in_shared_libs rather than !executable to - determine whether to load DT_NEEDED libraries. - -2013-04-25 Alan Modra - - * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32lppclinux.c. - (eelf32lppclinux.c): New rule. - * Makefile.in: Regenerate. - * configure.tgt: Merge powerpc-linux and other powerpc-elf targets - with corresponding little-endian targets. - * emulparams/elf32lppc.sh: Update comment. - * emulparams/elf32lppclinux.sh: New. - -2013-04-24 H.J. Lu - - * configure.tgt (targ_extra_emuls): Adds elf32_x86_64 for - x86_64-*-elf*. - (targ_extra_libpath): Likewise. - (tdir_elf_i386): Replace x86_64 with i386 for x86_64-*-elf*. - -2013-04-24 Yufeng Zhang - - * emulparams/aarch64elf.sh: Define ELFSIZE=64. - * emulparams/aarch64linux.sh: Ditto. - * emultempl/aarch64elf.em (aarch64_elf_before_allocation): - Replace elf64 with elf${ELFSIZE}. - (elf64_aarch64_add_stub_section): Likewise. - (build_section_lists): Likewise. - (gld${EMULATION_NAME}_after_allocation): Likewise. - (gld${EMULATION_NAME}_finish): Likewise. - (aarch64_elf_create_output_section_statements): Likewise. - -2013-04-24 Nick Clifton - - PR ld/15389 - * scripttempl/avr.sc: Add .note.gnu.build-id section. - -2013-04-22 Alan Modra - - * emultempl/ppc64elf.em (ppc_create_output_section_statements): - Check return from ppc64_elf_init_stub_bfd. - -2013-04-15 Nick Clifton - - * Makefile.am (ELF_DEPS): Add a dependency upon - scripttempl/DWARF.sc. - (ELF_GEN_DEPS): Likewise. - (emmo.c): Likewise. - * Makefile.in: Regenerate. - - * scripttempl/armbpabi.sc: Replace DWARF sections with an - inclusion of DWARF.sc. - * scripttempl/avr.sc: Likewise. - * scripttempl/elf.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/elfxgate.sc: Likewise. - * scripttempl/elfxtensa.sc: Likewise. - * scripttempl/epiphany_4x4.sc: Likewise. - * scripttempl/i386beos.sc: Likewise. - * scripttempl/i386go32.sc: Likewise. - * scripttempl/ia64vms.sc: Likewise. - * scripttempl/ip2k.sc: Likewise. - * scripttempl/iq2000.sc: Likewise. - * scripttempl/mep.sc: Likewise. - * scripttempl/mmo.sc: Likewise. - * scripttempl/v850.sc: Likewise. - * scripttempl/v850_rh850.sc: Likewise. - * scripttempl/xstormy16.sc: Likewise. - * scripttempl/DWARF.sc: New. - -2013-04-04 Alan Modra - - * ldlang.c (load_symbols): Report "error adding symbols" on - bfd_link_add_symbols failure. - * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise. - * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Likewise. - (gld${EMULATION_NAME}_try_needed): Likewise. - -2013-03-27 Georg-Johann Lay - - PR ld/13812 - * scripttempl/avr.sc: Place trampolines before .progmem section. - -2013-03-25 Kai Tietz - - * ld.texinfo (--disable-runtime-pseudo-reloc): Adjust default. - -2013-03-21 Michael Schewe - - * ld.texinfo (H8/300): Add description of relaxation of - mov @(disp:32,ERx) to mov @(disp:16,ERx). - -2013-03-21 Kai Tietz - - * pe-dll.c (process_def_file_and_drectve): Don't handle VC - generated C++-symbols as stdcall/fastcall. - -2013-03-18 Alan Modra - - * ld.texinfo (--as-needed): Update. - -2013-03-14 Jakub Jelinek - - * emulparams/aarch64linux.sh (LIBPATH_SUFFIX): Set to 64 for - aarch64linux* emulations. - -2013-03-07 Alan Modra - - * ldfile.c (ldfile_open_command_file_1): Return after einfo - to avoid warning. - -2013-03-05 Corinna Vinschen - - * configure.host: Add x86_64-*-cygwin* as valid host. - * configure.tgt: Add x86_64-*-cygwin* as valid target. - * emultempl/pep.em: Handle different requirements for Cygwin in terms - of start addresses for executables and DLLs, based on memory model in - http://cygwin.com/ml/cygwin-developers/2013-02/msg00027.html - -2013-03-05 Alan Modra - - PR ld/15222 - * ldlang.c (lang_size_sections_1): When given an lma_region align - LMA as per VMA only if lma_region is the same as region. - -2013-02-27 Nick Clifton - - * scripttempl/elf32msp430.sc: Add placement of .data.* sections. - Add alignment of .bss section. - * scripttempl/elf32msp430_3.sc: Likewise. - -2013-02-26 Nick Clifton - - PR ld/15188 - * ld.texinfo: Fix typos. - -2013-02-21 Alan Modra - - * scripttempl/elf.sc (.init_array, .fini_array): Don't sort all - .init_array/.fini_array input sections before .ctors/.dtors input - sections. - (CTORS_IN_INIT_ARRAY, DTORS_IN_INIT_ARRAY): Adjust to suit. - -2013-02-21 Alan Modra - - * emultempl/elf32.em (write_build_id, setup_build_id): Adjust - for elf_tdata changes. - -2013-02-21 Alan Modra - - * emultempl/elf-generic.em: Use newly defined elf_obj_tdata - accessor macros. - -2013-02-20 Alan Modra - - * Makefile.am: Use $(ELF_DEPS) on a number of eelf*.c rules. - * Makefile.in: Regenerate. - -2013-02-19 Sandra Loosemore - - PR ld/15146 - * plugin.c (plugin_notice): Add null check before dereferencing - pointer. - -2013-02-19 Alan Modra - - * emultempl/elf32.em (emit_note_gnu_build_id): New static var. - Replace all info->emit_note_gnu_build_id refs. - (id_note_section_size): Rename from - gld${EMULATION_NAME}_id_note_section_size. - (struct build_id_info): Delete. - (write_build_id): Rename from - gld${EMULATION_NAME}_write_build_id_section. - Update elf_tdata usage. Style, formatting. - (setup_build_id): New function. - (gld${EMULATION_NAME}_after_open): Use setup_build_id. - -2013-02-16 H.J. Lu - - PR ld/15146 - * plugin.c (plugin_notice): Replace the undefined dummy bfd with - the real one. - -2013-02-16 H.J. Lu - - PR ld/15141 - * plugin.c (plugin_notice): Also trace symbol from the IR bfd. - -2013-02-15 Kai Tietz - - * scripttempl/pep.sc (.xdata): Merge .xdata* into .xdata section. - (.pdata): Merge .pdata* into .pdata section. - -2013-02-11 Alan Modra - - * ldlang.c (get_init_priority): Comment typo. - (lang_finish): Free link_info.hash and lang_definedness_table. - (lang_end): Delete lang_definedness_table comment. - -2013-02-11 Alan Modra - - PR ld/15130 - * ld.texinfo (-rpath-link): Typo fix. - -2013-02-08 Markos Chandras - - * emultempl/metagelf.em (build_section_lists): Use sec_info_type - rather than userdata->flags.just_syms. - -2013-02-06 Sandra Loosemore - Andrew Jenner - - Based on patches from Altera Corporation. - - * Makefile.am (enios2elf.c): New rule. - * Makefile.in: Regenerated. - * configure.tgt: Add case for nios2*-*-*. - * emulparams/nios2elf.sh: New file. - * NEWS: Note Altera Nios II support. - -2013-02-06 Senthil Kumar Selvaraj - - * emultempl/avrelf.em (avr_elf_before_parse): New function. - (LDEMUL_BEFORE_PARSE): Define. - -2013-02-06 Alan Modra - - PR ld/15096 - * emultempl/elf32.em: Revert 2013-02-04, 2013-01-22 and 2013-01-21. - * emultempl/alphaelf.em: Revert 2013-02-04. - * emultempl/cr16elf.em: Likewise. - * emultempl/crxelf.em: Likewise. - * emultempl/hppaelf.em: Likewise. - * emultempl/ia64elf.em: Likewise. - * emultempl/mipself.em: Likewise. - * NEWS: Revert 2013-01-21. - -2013-02-04 H.J. Lu - - PR ld/15096 - * emultempl/alphaelf.em (alpha_after_parse): Call - gld${EMULATION_NAME}_after_parse instead of after_parse_default. - * emultempl/cr16elf.em (cr16elf_after_parse): Likewise. - * emultempl/crxelf.em (crxelf_after_parse): Likewise. - * emultempl/hppaelf.em (hppaelf_after_parse): Likewise. - * emultempl/mipself.em (mips_after_parse): Likewise. - - * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Renamed - to ... - (gld_${EMULATION_NAME}_after_parse): This. Call - gld${EMULATION_NAME}_after_parse instead of after_parse_default. - (LDEMUL_AFTER_PARSE): Set to gld_${EMULATION_NAME}_after_parse. - - * emultempl/elf32.em (new_dtags_set): New variable. - (gld${EMULATION_NAME}_before_parse): Don't set link_info.new_dtags - here. - (gld${EMULATION_NAME}_after_parse): New function. - (ld_${EMULATION_NAME}_emulation): Replace after_parse_default' - with gld${EMULATION_NAME}_after_parse. - (gld${EMULATION_NAME}_handle_option): Set new_dtags_set to TRUE - when setting link_info.new_dtags. - -2013-01-25 Kai Tietz - - * deffilep.y (def_image_name): Adjust type of base-address - argument. - (%union): Add new type bfd_vma as vma. - (VMA): New rule. - (opt_base): Use VMA instead of NUMBER rule to evaluate value. - (def_file_print): Use bfd's fprintf_vma to output base-address. - -2013-01-24 Nick Clifton - - * NEWS: Mention support for V850E3V5 architecture. - -2013-01-23 Martin Koegler - - PR ld/15041 - * scripttempl/pep.sc (.pdata): Only accept .pdata sections. - (.xdata): Similarly. - (.debug_frame): Similarly. - -2013-01-23 Georg-Johann Lay - - PR ld/15037 - * scripttempl/avr.sc (.eeprom): Keep it. - -2013-01-23 Leif Ekblad - - * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64rdos.c. - (eelf64rdos.c): New rule. - * emulparams/elf64rdos.sh: New file. - * configure.tgt (x86_64-*-rdos*): Use above. - * Makefile.in: Regenerate. - -2013-01-22 Roland McGrath - - * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set - new_dtags to TRUE for *-*-nacl* targets. - -2013-01-21 Mike Frysinger - - * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set - link_info.new_dtags to TRUE for linux/gnu targets. - * NEWS: Mention new dtags default. - -2013-01-19 H.J. Lu - - * Makefile.am (HOSTING_SCRT0): New. - - * configure.host (HOSTING_SCRT0): New. Used for PIE. - - * configure.in (HOSTING_SCRT0): New AC_SUBST. - - * Makefile.in: Regenerated. - * configure: Likewise. - -2013-01-18 Mike Frysinger - - * NEWS: Mention change in behavior with --enable-new-dtags. - * ld.texinfo (Options): Clarify --enable-new-dtags behavior. - -2013-01-14 Leif Ekblad - Alan Modra - - * ld.texinfo (-Tldata-segment): Describe. - * ldlex.h (OPTION_TLDATA_SEGMENT): New enum value. - * lexsup.c (ld_options): Add -Tldata-segment. - (parse_args): Handle OPTION_TLDATA_SEGMENT. - * scripttempl/elf.sc: Support LARGE_DATA_ADDR. - -2013-01-10 H.J. Lu - - * deffilep.y: Remove trailing white spaces. - * elf-hints-local.h: Likewise. - * ldexp.c: Likewise. - * ldlang.h: Likewise. - * ldmisc.c: Likewise. - * ldwrite.c: Likewise. - * pe-dll.c: Likewise. - * emulparams/criself.sh: Likewise. - * emulparams/crislinux.sh: Likewise. - * emulparams/elf32_tic6x_le.sh: Likewise. - * emulparams/elf32bmipn32-defs.sh: Likewise. - * emulparams/elf32mb_linux.sh: Likewise. - * emulparams/elf32mep.sh: Likewise. - * emulparams/elf32microblaze.sh: Likewise. - * emulparams/elf32ppc.sh: Likewise. - * emulparams/elf64_s390.sh: Likewise. - * emulparams/elf64alpha.sh: Likewise. - * emulparams/elf_s390.sh: Likewise. - * emulparams/elf_x86_64.sh: Likewise. - * emulparams/tic80coff.sh: Likewise. - * emultempl/aix.em: Likewise. - * emultempl/avrelf.em: Likewise. - * emultempl/cr16elf.em: Likewise. - * emultempl/pe.em: Likewise. - * emultempl/pep.em: Likewise. - * emultempl/spuelf.em: Likewise. - * emultempl/tic6xdsbt.em: Likewise. - -2013-01-10 Will Newton - - * Makefile.am: Add Meta. - * Makefile.in: Regenerate. - * configure.tgt: Add Meta. - * emulparams/elf32metag.sh: New file. - * emultempl/metagelf.em: New file. - -2013-01-09 Alan Modra - - * emulparams/elf_x86_64.sh (LARGE_BSS_AFTER_BSS): Define. - * emulparams/elf32_x86_64.sh: Likewise. - * emulparams/elf_k1om.sh: Likewise. - * emulparams/elf_l1om.sh: Likewise. - * scripttempl/elf.sc (LARGE_BSS): Define rather than appending to - OTHER_BSS_SECTIONS. Substitute in script. - -2013-01-08 Leif Ekblad - - * scripttempl/elf.sc (RODATA_ADDR): Typo fix. - -2013-01-08 Alan Modra - - * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): Replace - "name" param with a bfd_link_needed_list pointer. Update caller. - (gld${EMULATION_NAME}_check_ld_elf_hints): Likewise. - -2013-01-08 Alan Modra - - * Makefile.am (ALL_EMULATION_SOURCES): Correct eavrxmega entries. - * Makefile.in: Regenerate. - -2013-01-07 H.J. Lu - - * lexsup.c (ld_options): Add fuse-ld= for GCC linker option - compatibility. - -2013-01-07 Patrice Dumas - - * ld.texinfo: Replace @ with @@ when it is part of the text. - Correct ordering of M68HC11 entry. - -2013-01-04 Juergen Urban - - * configure.tgt: Support ELF files for Sony Playstation 2 (for - ps2dev and ps2sdk). - * emulparams/elf32lr5900n32.sh: Create linker script for Sony - Playstation 2 ELF files using MIPS ABI n32. - * emulparams/elf32lr5900.sh: Create linker script for Sony - Playstation 2 ELF files using MIPS ABI o32. - * Makefile.am: Add linker scripts for Sony Playstation 2 ELF - files. - -2013-01-02 H.J. Lu - - * ldver.c (ldversion): Update copyright year to 2013. - -For older changes see ChangeLog-2012 +For older changes see ChangeLog-2013 -Copyright (C) 2013 Free Software Foundation, Inc. +Copyright (C) 2014 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright diff --git a/ld/ChangeLog-2013 b/ld/ChangeLog-2013 new file mode 100644 index 00000000000..b996faf933c --- /dev/null +++ b/ld/ChangeLog-2013 @@ -0,0 +1,883 @@ +2013-12-20 H.J. Lu + + * emulparams/elf_k1om.sh (IREL_IN_PLT): Define. + * emulparams/elf_l1om.sh (IREL_IN_PLT): Likewise. + +2013-12-13 Kuan-Lin Chen + Wei-Cheng Wang + Hui-Wen Ni + + * Makefile.am (ALL_EMULATION_SOURCES): Add nds32 target. + * Makefile.in: Regenerate. + * configure.tgt: Add case for nds32*le-*-elf*, nds32*be-*-elf*, + nds32*le-*-linux-gnu*, and nds32*be-*-linux-gnu*. + * emulparams/nds32belf.sh: New file for nds32. + * emulparams/nds32belf_linux.sh: Likewise. + * emulparams/nds32belf16m.sh: Likewise. + * emulparams/nds32elf.sh: Likewise. + * emulparams/nds32elf_linux.sh: Likewise. + * emulparams/nds32elf16m.sh: Likewise. + * emultempl/nds32elf.em: Likewise. + * scripttempl/nds32elf.sc}: Likewise. + * gen-doc.texi: Set NDS32. + * ld.texinfo: Set NDS32. + * NEWS: Announce Andes nds32 support. + +2013-12-11 H.J. Lu + + * ld.texinfo: Remove shared object from -Ttext-segment. + +2013-12-10 Roland McGrath + + * Makefile.am (install-exec-local): Prefix libtool invocation with + $(INSTALL_PROGRAM_ENV). + * Makefile.in: Regenerate. + +2013-12-07 Mike Frysinger + + * ChangeLog-2008: Remove +x file mode. + * emulparams/bfin.sh: Likewise. + * emulparams/elf32bmipn32.sh: Likewise. + * emulparams/elf32fr30.sh: Likewise. + * emulparams/elf32frv.sh: Likewise. + * emulparams/elf32iq10.sh: Likewise. + * emulparams/elf32iq2000.sh: Likewise. + * emulparams/elf32mep.sh: Likewise. + * emulparams/elf32openrisc.sh: Likewise. + * emulparams/elf64bmip.sh: Likewise. + * emulparams/elf64hppa.sh: Likewise. + * emulparams/i386beos.sh: Likewise. + +2013-11-26 H.J. Lu + + PR ld/16259 + * Makefile.am (HOSTING_SLIBS): New. + * configure.host (HOSTING_SLIBS): New. Used for PIE. + * configure.in (HOSTING_SLIBS): New AC_SUBST. + * Makefile.in: Regenerated. + * configure: Likewise. + +2013-11-22 Cory Fields + + * pe-dll.c (fill_edata): Only use a real timestamp if + --insert-timestamp was used. + * emultempl/pe.em: Add the --insert-timestamp option. + * emultempl/pep.em: Likewise for 64bit. + * ld.texinfo: Document the --insert-timestamp option. + +2013-11-22 Senthil Kumar Selvaraj + + * scripttempl/avr.sc: Set .data section's LMA to next available + address in text region. + +2013-11-21 Andrew Pinski + + * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64linux32.c + and eaarch64linux32b.c + (eaarch64linux32.c): New target. + (eaarch64linux32b.c): Likewise. + * Makefile.in: Regenerate. + * configure.tgt (aarch64_be-*-linux*): Add + aarch64linux32 and aarch64linux32b to targ_extra_libpath. + (aarch64-*-linux*): Likewise. + * emulparams/aarch64elf32.sh (SEPARATE_GOTPLT): Change to 12 (3 words). + * emulparams/aarch64linux32.sh: New file. + * emulparams/aarch64linux32b.sh: New file. + +2013-11-21 Andrew Pinski + + * configure.tgt (aarch64_be-*-linux*): Split out the linux targets + into targ_extra_libpath. + (aarch64-*-linux*): Likewise. + +2013-11-21 Nick Clifton + + PR ld/16192 + * pe-dll.c (pe_create_runtime_relocator_reference): Zero the + newly allocated idata5 block. + +2013-11-20 Nick Clifton + + * scripttempl/elf32msp430.sc (.data): Set the based on the next + free location in the text memory region, not a computation based + upon the size of the text section. Orphaned sections or other + linker scripts might insert new sections between the .text section + and the .data section. + * scripttempl/elf32msp430_3.sc (.data): Likewise. + +2013-11-19 Roland McGrath + Alan Modra + + * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): + Don't use bfd_elf_record_link_assignment to mark __ehdr_start + hidden. Instead, just do it directly here, and only if it was + referenced but not defined. + +2013-11-18 Chung-Lin Tang + + * emulparams/nios2linux.sh: New emulation file. + * configure.tgt: Add nios2*-*-linux* emulation case. + * Makefile.am (enios2linux.c): New emulation entry. + * Makefile.in: Regenerate. + +2013-10-14 Nick Clifton + + * emultempl/aix.em (_read_file): Close file at end of function. + +2013-10-10 Roland McGrath + + * ldmisc.c (vfinfo): Use Boolean ? "" : ":" in place of ":" + Boolean. + It silences some compilers' warnings and is much less bizarre to read. + +2013-10-09 Roland McGrath + + * emultempl/elf32.em (id_note_section_size): Use ATTRIBUTE_UNUSED + rather than a dummy assignment for unused parameter. + * plugin.c (get_input_file, release_input_file): Likewise. + +2013-10-09 Nick Clifton + + PR ld/16028 + * ldmain.c (add_keepsyms_file): Close file at end of function. + +2013-10-03 Will Newton + + * emulparams/aarch64elf.sh: Add IREL_IN_PLT. + * emulparams/aarch64elf32.sh: Likewise. + +2013-09-30 Nick Clifton + + * emulparams/msp430all.sh: Update ARCH names. + +2013-09-24 Alan Modra + + * emulparams/elf32ppccommon.sh (LIBPATH_SUFFIX): Provide 32-bit + and cross-endian values. + * emulparams/elf64ppc.sh: Source elf32ppccomon.sh. Delete duplicate, + and unset unwanted variables. + +2013-09-24 Alan Modra + + * genscripts.sh (LIB_PATH): Don't exclude libdir or tooldir when + sysrooted. Also, don't always add tooldir when non-sysrooted. + Instead add both when native and tooldir also when TOOL_DIR is + defined. Always prepend '=' to paths when sysrooted. Always + put paths with LIBPATH_SUFFIX first in search order. + +2013-09-20 Chung-Lin Tang + + * Makefile.am (enios2elf.c): Change tdir_nios2 to tdir_nios2elf. + * Makefile.in: Regenerate. + +2013-09-20 Alan Modra + + * configure: Regenerate. + +2013-09-18 Tristan Gingold + + * NEWS: Add marker for 2.24. + +2013-09-17 Nick Clifton + + PR ld/15957 + * deffilep.y (def_file_add_directive): Avoid readin past end of + buffer. + +2013-08-28 Nick Clifton + + PR ld/15896 + * ld.texinfo: Fix uses of MB abbreviation. + +2013-08-26 Roland McGrath + + * emulparams/elf_i386_nacl.sh (ARCH): Set to i386:nacl. + * emulparams/elf_x86_64_nacl.sh (ARCH): Set to i386:x86-64:nacl. + * emulparams/elf32_x86_64_nacl.sh (ARCH): Set to i386:x64-32:nacl. + +2013-08-23 Roland McGrath + + * emulparams/elf_nacl.sh (nacl_rodata_addr): Don't add in + SIZEOF_HEADERS here; elf.sc does it already. + +2013-08-23 Nick Clifton + + PR ld/15839 + * scripttempl/avr.sc: Do not include gc'able sections into general + sections during relocatable links. + +2013-08-22 Christian Franke + + * emultempl/pe.em: Add --disable-large-address-aware option. + * ld.texinfo (--disable-large-address-aware): Add documentation. + +2013-08-14 Clemens Lang + + * ldexp.c: Add LOG2CEIL() builtin function to linker script language + * ldgram.y: Likewise + * ldlex.l: Likewise + * NEWS: Mention the new feature. + * ld.texinfo: Document the new feature. + +2013-07-19 Sebastian Huber + + * ldgram.y: Add ALIGN_WITH_INPUT output section attribute. + * ldlang.c: Likewise. + * ldlang.h: Likewise. + * ldlex.l: Likewise. + * mri.c: Likewise. + * ld.texinfo: Document new feature. + * NEWS: Mention new feature. + +2013-07-18 Roland McGrath + + * emultempl/armelf.em (elf32_arm_add_stub_section): Take third + argument ALIGNMENT_POWER, use it instead of constant 3. + +2013-07-08 Jeff Law + + * scripttempl/elf.sc: Handle function names and other text after + .text.unlikely too. + +2013-07-08 Tristan Gingold + + * scripttempl/ia64vms.sc: Add support of per data and per function + sections. + +2013-07-01 Alan Modra + + * emultempl/ppc64elf.em: (ppc_layout_sections_again): Call + ppc64_elf_set_toc rather than ppc64_elf_toc/_bfd_set_gp_value. + (gld${EMULATION_NAME}_after_allocation): Likewise. + +2013-06-26 Yufeng Zhang + + * emulparams/aarch64elf32.sh: New file. + +2013-06-26 Yufeng Zhang + + * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64elf32b.c. + (eaarch64elf32b.c): New dependency and rule. + * Makefile.in: Re-generated. + * configure.tgt (aarch64-*-elf): Add aarch64elf32b. + (aarch64_be-*-elf, aarch64_be-*-linux*, aarch64-*-linux*): Likewise. + * emulparams/aarch64elf32b.sh: New file. + +2013-06-26 Yufeng Zhang + + * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64elf32.c. + (eaarch64elf32.c): New dependency and rule. + * Makefile.in: Re-generated. + * configure.tgt (aarch64-*-elf): Add aarch64elf32. + (aarch64_be-*-elf, aarch64_be-*-linux*, aarch64-*-linux*): Likewise. + * emulparams/aarch64elf32.sh: New file. + +2013-06-25 Maciej W. Rozycki + + * emultempl/mipself.em (insn32): New variable. + (mips_create_output_section_statements): Handle insn32 mode. + (PARSE_AND_LIST_PROLOGUE): New macro. + (PARSE_AND_LIST_LONGOPTS): Likewise. + (PARSE_AND_LIST_OPTIONS): Likewise. + + * gen-doc.texi: Set MIPS. + * ld.texinfo: Likewise. + (Options specific to MIPS targets): New section. + (ld and MIPS family): New node. + (Top, Machine Dependent): List the new node. + +2013-06-24 Maciej W. Rozycki + + * emulparams/elf32btsmip.sh: Arrange for .got.plt to be placed + as close to .plt as possible. + * scripttempl/elf.sc: Handle $INITIAL_READWRITE_SECTIONS and + $PLT_NEXT_DATA variables. + +2013-06-23 Richard Sandiford + + * Makefile.am (ALL_EMULATION_SOURCES): Move MIPS ELF emulations to... + (ALL_64_EMULATION_SOURCES): ...here. + * Makefile.in: Regenerate. + +2013-06-22 Richard Sandiford + + * NEWS: Document the removal of MIPS ECOFF targets. + * ld.texinfo (--gpsize=@var{value}): Use MIPS ELF rather than + MIPS ECOFF as an example of a target that supports small data. + * ldmain.c (g_switch_value): Likewise. + * configure.tgt (mips*-*-pe, mips*-dec-ultrix*, mips*-dec-osf*) + (mips*-sgi-irix* [v4 and earlier], mips*el-*-ecoff*, mips*-*-ecoff*) + (mips*-*-bsd*, mips*-*-lnews*): Remove cases. + * Makefile.am (ALL_EMULATION_SOURCES): Remove emipsbig.c, emipsbsd.c, + emipsidt.c, emipsidtl.c, emipslit.c, emipslnews.c and emipspe.c. + (emipsbig.c, emipsbsd.c, emipsidt.c, emipsidtl.c, emipslit.c) + (emipslnews.c, emipspe.c): Delete rules. + * Makefile.in: Regenerate. + * emulparams/mipsbig.sh, emulparams/mipsbsd.sh, emulparams/mipsidt.sh, + emulparams/mipsidtl.sh, emulparams/mipslit.sh, emulparams/mipslnews.sh, + emulparams/mipspe.sh, emultempl/mipsecoff.em: Delete. + * emultempl/m68kcoff.em: Update comment to say that MIPS ECOFF support + has now been removed. + * emultempl/pe.em: Remove TARGET_IS_mipspe checks. + +2013-06-19 Will Newton + + * emulparams/aarch64elf.sh: Remove IREL_IN_PLT. + +2013-06-14 Yufeng Zhang + + * emulparams/aarch64elf.sh: Add IREL_IN_PLT. + +2013-06-12 Nick Clifton + + * ldcref.c (output_one_cref): Place common definitions after + ordinary definitions but before references. + +2013-06-10 Dilyan Palauzov + + PR ld/15598 + * ld.texinfo (Source Code Reference): Fix typos. + +2013-06-07 Will Newton + + * emulparams/aarch64elf.sh: Add IREL_IN_PLT. + +2013-06-07 Nick Clifton + + * ld.texinfo (SEGMENT_START): Rephrase to indicate that a -T + option must appear before the SEGMENT_START is encountered in + order for the default value to be overridden. + +2013-05-03 Alan Modra + + PR ld/15365 + * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): + Restrict __ehdr_start's export class to no less than STV_HIDDEN. + +2013-05-03 Alan Modra + + * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): + Only call lang_for_each_statement if an ELF hash table is used. + +2013-05-02 Nick Clifton + + * Makefile.am: Add emsp430X.c + * Makefine.in: Regenerate. + * configure.tgt (msp430): Add msp430X emulation. + * ldmain.c (multiple_definition): Only disable relaxation if it + was enabled by the user. + * ldmain.h (RELAXATION_ENABLED_BY_USER): New macro. + * emulparams/msp430all.sh: Add support for MSP430X. + * emultempl/generic.em: (before_parse): Enable relaxation for the + MSP430. + * scripttempl/msp430.sc: Reorganize sections. Add .rodata + section. + * scripttempl/msp430_3.sc: Likewise. + * NEWS: Mention support for MSP430X. + +2013-05-01 Maciej W. Rozycki + + * configure.tgt: Replace alpha*-*-linuxecoff* pattern with + alpha*-*-linux*ecoff*. Update the `sed' pattern used to convert + from alpha*-*-linux-* to alpha*-*-linux*ecoff*. + +2013-05-01 Maciej W. Rozycki + + * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): + Use is_elf_hash_table rather than a handcoded condition. + +2013-04-30 Nick Clifton + + * ld.texinfo (SORT_BY_ALIGNMENT): Fix and clarify typo - sections + are sorted by descending order of alignment. + +2013-04-29 Nick Clifton + + * scripttempl/DWARF.sc: Add support for .debug_line.* and + .debug_line_end. + +2013-04-29 Yaakov Selkowitz + + * emultempl/pe.em [cygwin]: Do not merge rdata with v2 + psuedo-relocs. + +2013-04-28 Thomas Schwinge + + * scripttempl/armbpabi.sc: Replace "source" usage with ".". + * scripttempl/avr.sc: Likewise. + * scripttempl/elf.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/elfxgate.sc: Likewise. + * scripttempl/elfxtensa.sc: Likewise. + * scripttempl/epiphany_4x4.sc: Likewise. + * scripttempl/i386beos.sc: Likewise. + * scripttempl/i386go32.sc: Likewise. + * scripttempl/ia64vms.sc: Likewise. + * scripttempl/ip2k.sc: Likewise. + * scripttempl/iq2000.sc: Likewise. + * scripttempl/mep.sc: Likewise. + * scripttempl/mmo.sc: Likewise. + * scripttempl/v850.sc: Likewise. + * scripttempl/v850_rh850.sc: Likewise. + * scripttempl/xstormy16.sc: Likewise. + +2013-04-26 Senthil Kumar Selvaraj + + * scripttempl/avr.sc: Add ALIGN directive after *(.progmem*). + +2013-04-26 Alan Modra + + * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Test + unresolved_syms_in_shared_libs rather than !executable to + determine whether to load DT_NEEDED libraries. + +2013-04-25 Alan Modra + + * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32lppclinux.c. + (eelf32lppclinux.c): New rule. + * Makefile.in: Regenerate. + * configure.tgt: Merge powerpc-linux and other powerpc-elf targets + with corresponding little-endian targets. + * emulparams/elf32lppc.sh: Update comment. + * emulparams/elf32lppclinux.sh: New. + +2013-04-24 H.J. Lu + + * configure.tgt (targ_extra_emuls): Adds elf32_x86_64 for + x86_64-*-elf*. + (targ_extra_libpath): Likewise. + (tdir_elf_i386): Replace x86_64 with i386 for x86_64-*-elf*. + +2013-04-24 Yufeng Zhang + + * emulparams/aarch64elf.sh: Define ELFSIZE=64. + * emulparams/aarch64linux.sh: Ditto. + * emultempl/aarch64elf.em (aarch64_elf_before_allocation): + Replace elf64 with elf${ELFSIZE}. + (elf64_aarch64_add_stub_section): Likewise. + (build_section_lists): Likewise. + (gld${EMULATION_NAME}_after_allocation): Likewise. + (gld${EMULATION_NAME}_finish): Likewise. + (aarch64_elf_create_output_section_statements): Likewise. + +2013-04-24 Nick Clifton + + PR ld/15389 + * scripttempl/avr.sc: Add .note.gnu.build-id section. + +2013-04-22 Alan Modra + + * emultempl/ppc64elf.em (ppc_create_output_section_statements): + Check return from ppc64_elf_init_stub_bfd. + +2013-04-15 Nick Clifton + + * Makefile.am (ELF_DEPS): Add a dependency upon + scripttempl/DWARF.sc. + (ELF_GEN_DEPS): Likewise. + (emmo.c): Likewise. + * Makefile.in: Regenerate. + + * scripttempl/armbpabi.sc: Replace DWARF sections with an + inclusion of DWARF.sc. + * scripttempl/avr.sc: Likewise. + * scripttempl/elf.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/elfxgate.sc: Likewise. + * scripttempl/elfxtensa.sc: Likewise. + * scripttempl/epiphany_4x4.sc: Likewise. + * scripttempl/i386beos.sc: Likewise. + * scripttempl/i386go32.sc: Likewise. + * scripttempl/ia64vms.sc: Likewise. + * scripttempl/ip2k.sc: Likewise. + * scripttempl/iq2000.sc: Likewise. + * scripttempl/mep.sc: Likewise. + * scripttempl/mmo.sc: Likewise. + * scripttempl/v850.sc: Likewise. + * scripttempl/v850_rh850.sc: Likewise. + * scripttempl/xstormy16.sc: Likewise. + * scripttempl/DWARF.sc: New. + +2013-04-04 Alan Modra + + * ldlang.c (load_symbols): Report "error adding symbols" on + bfd_link_add_symbols failure. + * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise. + * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Likewise. + (gld${EMULATION_NAME}_try_needed): Likewise. + +2013-03-27 Georg-Johann Lay + + PR ld/13812 + * scripttempl/avr.sc: Place trampolines before .progmem section. + +2013-03-25 Kai Tietz + + * ld.texinfo (--disable-runtime-pseudo-reloc): Adjust default. + +2013-03-21 Michael Schewe + + * ld.texinfo (H8/300): Add description of relaxation of + mov @(disp:32,ERx) to mov @(disp:16,ERx). + +2013-03-21 Kai Tietz + + * pe-dll.c (process_def_file_and_drectve): Don't handle VC + generated C++-symbols as stdcall/fastcall. + +2013-03-18 Alan Modra + + * ld.texinfo (--as-needed): Update. + +2013-03-14 Jakub Jelinek + + * emulparams/aarch64linux.sh (LIBPATH_SUFFIX): Set to 64 for + aarch64linux* emulations. + +2013-03-07 Alan Modra + + * ldfile.c (ldfile_open_command_file_1): Return after einfo + to avoid warning. + +2013-03-05 Corinna Vinschen + + * configure.host: Add x86_64-*-cygwin* as valid host. + * configure.tgt: Add x86_64-*-cygwin* as valid target. + * emultempl/pep.em: Handle different requirements for Cygwin in terms + of start addresses for executables and DLLs, based on memory model in + http://cygwin.com/ml/cygwin-developers/2013-02/msg00027.html + +2013-03-05 Alan Modra + + PR ld/15222 + * ldlang.c (lang_size_sections_1): When given an lma_region align + LMA as per VMA only if lma_region is the same as region. + +2013-02-27 Nick Clifton + + * scripttempl/elf32msp430.sc: Add placement of .data.* sections. + Add alignment of .bss section. + * scripttempl/elf32msp430_3.sc: Likewise. + +2013-02-26 Nick Clifton + + PR ld/15188 + * ld.texinfo: Fix typos. + +2013-02-21 Alan Modra + + * scripttempl/elf.sc (.init_array, .fini_array): Don't sort all + .init_array/.fini_array input sections before .ctors/.dtors input + sections. + (CTORS_IN_INIT_ARRAY, DTORS_IN_INIT_ARRAY): Adjust to suit. + +2013-02-21 Alan Modra + + * emultempl/elf32.em (write_build_id, setup_build_id): Adjust + for elf_tdata changes. + +2013-02-21 Alan Modra + + * emultempl/elf-generic.em: Use newly defined elf_obj_tdata + accessor macros. + +2013-02-20 Alan Modra + + * Makefile.am: Use $(ELF_DEPS) on a number of eelf*.c rules. + * Makefile.in: Regenerate. + +2013-02-19 Sandra Loosemore + + PR ld/15146 + * plugin.c (plugin_notice): Add null check before dereferencing + pointer. + +2013-02-19 Alan Modra + + * emultempl/elf32.em (emit_note_gnu_build_id): New static var. + Replace all info->emit_note_gnu_build_id refs. + (id_note_section_size): Rename from + gld${EMULATION_NAME}_id_note_section_size. + (struct build_id_info): Delete. + (write_build_id): Rename from + gld${EMULATION_NAME}_write_build_id_section. + Update elf_tdata usage. Style, formatting. + (setup_build_id): New function. + (gld${EMULATION_NAME}_after_open): Use setup_build_id. + +2013-02-16 H.J. Lu + + PR ld/15146 + * plugin.c (plugin_notice): Replace the undefined dummy bfd with + the real one. + +2013-02-16 H.J. Lu + + PR ld/15141 + * plugin.c (plugin_notice): Also trace symbol from the IR bfd. + +2013-02-15 Kai Tietz + + * scripttempl/pep.sc (.xdata): Merge .xdata* into .xdata section. + (.pdata): Merge .pdata* into .pdata section. + +2013-02-11 Alan Modra + + * ldlang.c (get_init_priority): Comment typo. + (lang_finish): Free link_info.hash and lang_definedness_table. + (lang_end): Delete lang_definedness_table comment. + +2013-02-11 Alan Modra + + PR ld/15130 + * ld.texinfo (-rpath-link): Typo fix. + +2013-02-08 Markos Chandras + + * emultempl/metagelf.em (build_section_lists): Use sec_info_type + rather than userdata->flags.just_syms. + +2013-02-06 Sandra Loosemore + Andrew Jenner + + Based on patches from Altera Corporation. + + * Makefile.am (enios2elf.c): New rule. + * Makefile.in: Regenerated. + * configure.tgt: Add case for nios2*-*-*. + * emulparams/nios2elf.sh: New file. + * NEWS: Note Altera Nios II support. + +2013-02-06 Senthil Kumar Selvaraj + + * emultempl/avrelf.em (avr_elf_before_parse): New function. + (LDEMUL_BEFORE_PARSE): Define. + +2013-02-06 Alan Modra + + PR ld/15096 + * emultempl/elf32.em: Revert 2013-02-04, 2013-01-22 and 2013-01-21. + * emultempl/alphaelf.em: Revert 2013-02-04. + * emultempl/cr16elf.em: Likewise. + * emultempl/crxelf.em: Likewise. + * emultempl/hppaelf.em: Likewise. + * emultempl/ia64elf.em: Likewise. + * emultempl/mipself.em: Likewise. + * NEWS: Revert 2013-01-21. + +2013-02-04 H.J. Lu + + PR ld/15096 + * emultempl/alphaelf.em (alpha_after_parse): Call + gld${EMULATION_NAME}_after_parse instead of after_parse_default. + * emultempl/cr16elf.em (cr16elf_after_parse): Likewise. + * emultempl/crxelf.em (crxelf_after_parse): Likewise. + * emultempl/hppaelf.em (hppaelf_after_parse): Likewise. + * emultempl/mipself.em (mips_after_parse): Likewise. + + * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Renamed + to ... + (gld_${EMULATION_NAME}_after_parse): This. Call + gld${EMULATION_NAME}_after_parse instead of after_parse_default. + (LDEMUL_AFTER_PARSE): Set to gld_${EMULATION_NAME}_after_parse. + + * emultempl/elf32.em (new_dtags_set): New variable. + (gld${EMULATION_NAME}_before_parse): Don't set link_info.new_dtags + here. + (gld${EMULATION_NAME}_after_parse): New function. + (ld_${EMULATION_NAME}_emulation): Replace after_parse_default' + with gld${EMULATION_NAME}_after_parse. + (gld${EMULATION_NAME}_handle_option): Set new_dtags_set to TRUE + when setting link_info.new_dtags. + +2013-01-25 Kai Tietz + + * deffilep.y (def_image_name): Adjust type of base-address + argument. + (%union): Add new type bfd_vma as vma. + (VMA): New rule. + (opt_base): Use VMA instead of NUMBER rule to evaluate value. + (def_file_print): Use bfd's fprintf_vma to output base-address. + +2013-01-24 Nick Clifton + + * NEWS: Mention support for V850E3V5 architecture. + +2013-01-23 Martin Koegler + + PR ld/15041 + * scripttempl/pep.sc (.pdata): Only accept .pdata sections. + (.xdata): Similarly. + (.debug_frame): Similarly. + +2013-01-23 Georg-Johann Lay + + PR ld/15037 + * scripttempl/avr.sc (.eeprom): Keep it. + +2013-01-23 Leif Ekblad + + * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64rdos.c. + (eelf64rdos.c): New rule. + * emulparams/elf64rdos.sh: New file. + * configure.tgt (x86_64-*-rdos*): Use above. + * Makefile.in: Regenerate. + +2013-01-22 Roland McGrath + + * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set + new_dtags to TRUE for *-*-nacl* targets. + +2013-01-21 Mike Frysinger + + * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set + link_info.new_dtags to TRUE for linux/gnu targets. + * NEWS: Mention new dtags default. + +2013-01-19 H.J. Lu + + * Makefile.am (HOSTING_SCRT0): New. + + * configure.host (HOSTING_SCRT0): New. Used for PIE. + + * configure.in (HOSTING_SCRT0): New AC_SUBST. + + * Makefile.in: Regenerated. + * configure: Likewise. + +2013-01-18 Mike Frysinger + + * NEWS: Mention change in behavior with --enable-new-dtags. + * ld.texinfo (Options): Clarify --enable-new-dtags behavior. + +2013-01-14 Leif Ekblad + Alan Modra + + * ld.texinfo (-Tldata-segment): Describe. + * ldlex.h (OPTION_TLDATA_SEGMENT): New enum value. + * lexsup.c (ld_options): Add -Tldata-segment. + (parse_args): Handle OPTION_TLDATA_SEGMENT. + * scripttempl/elf.sc: Support LARGE_DATA_ADDR. + +2013-01-10 H.J. Lu + + * deffilep.y: Remove trailing white spaces. + * elf-hints-local.h: Likewise. + * ldexp.c: Likewise. + * ldlang.h: Likewise. + * ldmisc.c: Likewise. + * ldwrite.c: Likewise. + * pe-dll.c: Likewise. + * emulparams/criself.sh: Likewise. + * emulparams/crislinux.sh: Likewise. + * emulparams/elf32_tic6x_le.sh: Likewise. + * emulparams/elf32bmipn32-defs.sh: Likewise. + * emulparams/elf32mb_linux.sh: Likewise. + * emulparams/elf32mep.sh: Likewise. + * emulparams/elf32microblaze.sh: Likewise. + * emulparams/elf32ppc.sh: Likewise. + * emulparams/elf64_s390.sh: Likewise. + * emulparams/elf64alpha.sh: Likewise. + * emulparams/elf_s390.sh: Likewise. + * emulparams/elf_x86_64.sh: Likewise. + * emulparams/tic80coff.sh: Likewise. + * emultempl/aix.em: Likewise. + * emultempl/avrelf.em: Likewise. + * emultempl/cr16elf.em: Likewise. + * emultempl/pe.em: Likewise. + * emultempl/pep.em: Likewise. + * emultempl/spuelf.em: Likewise. + * emultempl/tic6xdsbt.em: Likewise. + +2013-01-10 Will Newton + + * Makefile.am: Add Meta. + * Makefile.in: Regenerate. + * configure.tgt: Add Meta. + * emulparams/elf32metag.sh: New file. + * emultempl/metagelf.em: New file. + +2013-01-09 Alan Modra + + * emulparams/elf_x86_64.sh (LARGE_BSS_AFTER_BSS): Define. + * emulparams/elf32_x86_64.sh: Likewise. + * emulparams/elf_k1om.sh: Likewise. + * emulparams/elf_l1om.sh: Likewise. + * scripttempl/elf.sc (LARGE_BSS): Define rather than appending to + OTHER_BSS_SECTIONS. Substitute in script. + +2013-01-08 Leif Ekblad + + * scripttempl/elf.sc (RODATA_ADDR): Typo fix. + +2013-01-08 Alan Modra + + * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): Replace + "name" param with a bfd_link_needed_list pointer. Update caller. + (gld${EMULATION_NAME}_check_ld_elf_hints): Likewise. + +2013-01-08 Alan Modra + + * Makefile.am (ALL_EMULATION_SOURCES): Correct eavrxmega entries. + * Makefile.in: Regenerate. + +2013-01-07 H.J. Lu + + * lexsup.c (ld_options): Add fuse-ld= for GCC linker option + compatibility. + +2013-01-07 Patrice Dumas + + * ld.texinfo: Replace @ with @@ when it is part of the text. + Correct ordering of M68HC11 entry. + +2013-01-04 Juergen Urban + + * configure.tgt: Support ELF files for Sony Playstation 2 (for + ps2dev and ps2sdk). + * emulparams/elf32lr5900n32.sh: Create linker script for Sony + Playstation 2 ELF files using MIPS ABI n32. + * emulparams/elf32lr5900.sh: Create linker script for Sony + Playstation 2 ELF files using MIPS ABI o32. + * Makefile.am: Add linker scripts for Sony Playstation 2 ELF + files. + +2013-01-02 H.J. Lu + + * ldver.c (ldversion): Update copyright year to 2013. + +For older changes see ChangeLog-2012 + +Copyright (C) 2013 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. + +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 519c2cd94cd..dfe7d09ad04 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,1656 +1,6 @@ -2013-12-19 H.J. Lu - - PR binutils/16317 - * ld-elf/linkinfo1.s: New file. - * ld-elf/linkinfo1a.d: Likewise. - * ld-elf/linkinfo1b.d: Likewise. - -2013-12-18 Vidya Praveen - - * lib/ld-lib.exp (check_lto_available): Support cflags, ldflags and - test by compiling for an executable rather than shared library. - -2013-12-13 Vidya Praveen - - * lib/ld-lib.exp (default_ld_link): Use ldflags from board description - file. - (default_ld_simple_link): Likewise. - (default_ld_compile): Use cflags from board description file. - -2013-12-13 Kuan-Lin Chen - - * lib/ld-lib.exp: Add NDS32 to list of targets that do not support - shared library generation. - * ld-nds32: New directory. - * ld-nds32/branch.d: New test. - * ld-nds32/branch.ld: New test. - * ld-nds32/branch.s: New test. - * ld-nds32/diff.d: New test. - * ld-nds32/diff.ld: New test. - * ld-nds32/diff.s: New test. - * ld-nds32/gp.d: New test. - * ld-nds32/gp.ld: New test. - * ld-nds32/gp.s: New test. - * ld-nds32/imm.d: New test. - * ld-nds32/imm.ld: New test. - * ld-nds32/imm.s: New test. - * ld-nds32/imm_symbol.s: New test. - * ld-nds32/relax_jmp.d: New test. - * ld-nds32/relax_jmp.ld: New test. - * ld-nds32/relax_jmp.s: New test. - * ld-nds32/relax_load_store.d: New test. - * ld-nds32/relax_load_store.ld: New test. - * ld-nds32/relax_load_store.s: New test. - * ld-nds32/nds32.exp: New file. - -2013-12-12 H.J. Lu - - * ld-elf/ehdr_start-userdef.d: Add "#...". - -2013-12-12 H.J. Lu - - * ld-pie/vaddr-0.d: New file. - * ld-pie/vaddr-1.d: Likewise. - * ld-pie/vaddr.s: Likewise. - -2013-12-11 Will Newton - - * ld-aarch64/ifunc-21.d: Make test more generic to support - aarch64_be and ELF targets. - * ld-aarch64/ifunc-22.d: Likewise. - -2013-12-11 H.J. Lu - - * ld-elf/shared.exp (build_tests): Add libneeded2a.so, - libneeded2b.so, libneeded2c.o and needed2. - - * ld-elf/needed2.ver: New file. - * ld-elf/needed2a.c: Likewise. - * ld-elf/needed2b.c: Likewise. - * ld-elf/needed2c.c: Likewise. - -2013-12-07 Mike Frysinger - - * ld-pe/aligncomm-1.c: Remove +x file mode. - * ld-pe/aligncomm-2.c: Likewise. - * ld-pe/aligncomm-3.c: Likewise. - * ld-pe/aligncomm-4.c: Likewise. - * ld-pe/aligncomm.d: Likewise. - * ld-pe/export_dynamic_warning.s: Likewise. - * ld-pe/exports64.d: Likewise. - * ld-pe/longsecn-1.d: Likewise. - * ld-pe/longsecn-2.d: Likewise. - * ld-pe/longsecn-3.d: Likewise. - * ld-pe/longsecn-4.d: Likewise. - * ld-pe/longsecn-5.d: Likewise. - * ld-pe/longsecn.d: Likewise. - * ld-pe/longsecn.s: Likewise. - * ld-pe/non-c-lang-syms.d: Likewise. - * ld-pe/non-c-lang-syms.s: Likewise. - * ld-pe/pe-compile.exp: Likewise. - * ld-pe/pe-run.exp: Likewise. - * ld-pe/tlssec.s: Likewise. - * ld-pe/tlssec32.d: Likewise. - * ld-pe/tlssec64.d: Likewise. - * ld-pe/vers-script-1.ver: Likewise. - * ld-pe/vers-script-2.ver: Likewise. - * ld-pe/vers-script-3.ver: Likewise. - * ld-pe/vers-script-4.ver: Likewise. - * ld-pe/vers-script-dll.c: Likewise. - -2013-11-27 Kyrylo Tkachov - - * ld-plugin/lto.exp: Add -ffat-lto-objects. - * lib/ld-lib.exp (check_lto_available): Likewise. - -2013-11-27 Matthew Fortune - - * ld-mips-elf/mips-elf.exp: Consider mips-mti-elf the same as - mips-sde-elf - -2013-11-26 H.J. Lu - - PR ld/16259 - * config/default.exp (get_target_emul): Also set HOSTING_SLIBS. - * lib/ld-lib.exp (default_ld_link): Use HOSTING_SLIBS for -pie. - -2013-11-26 Will Newton - - * ld-aarch64/aarch64-elf.exp: Add ifunc-22. - * ld-aarch64/ifunc-22.d: New file. - * ld-aarch64/ifunc-22.s: Likewise. - -2013-11-26 Will Newton - - * ld-aarch64/aarch64-elf.exp: Add ifunc-21 test. - * ld-aarch64/ifunc-21.d: New file. - * ld-aarch64/ifunc-21.s: Likewise. - -2013-11-21 H.J. Lu - - * ld-x86-64/mpx.exp: Run bnd-branch-1. - * ld-x86-64/bnd-branch-1.d: New file. - * ld-x86-64/bnd-branch-1.s: Likewise. - -2013-11-20 H.J. Lu - - * ld-x86-64/mpx.exp (build_tests): Add libmpx2a.a, libmpx2b.a - and libmpx2c.a. - (run_tests): Add mpx1static, mpx2 and mpx2static. - * ld-x86-64/mpx2.out: Likewise. - * ld-x86-64/mpx2a.c: Likewise. - * ld-x86-64/mpx2a.rd: Likewise. - * ld-x86-64/mpx2b.c: Likewise. - * ld-x86-64/mpx2c.c: Likewise. - * ld-x86-64/mpx2c.rd: Likewise. - -2013-11-19 Roland McGrath - - * ld-elf/ehdr_start-userdef.t: New file. - * ld-elf/ehdr_start-userdef.d: New file. - * ld-elf/ehdr_start-strongref.s: New file. - * ld-elf/ehdr_start-missing.t: New file. - * ld-elf/ehdr_start-missing.d: New file. - * ld-elf/ehdr_start-weak.d: New file. - * ld-mips-elf/ehdr_start-2.nd: Expect __ehdr_start to be global. - -2013-11-17 H.J. Lu - - * ld-x86-64/mpx.exp: New file. - * ld-x86-64/mpx1.out: Likewise. - * ld-x86-64/mpx1a.c: Likewise. - * ld-x86-64/mpx1a.rd: Likewise. - * ld-x86-64/mpx1b.c: Likewise. - * ld-x86-64/mpx1c.c: Likewise. - * ld-x86-64/mpx1c.rd: Likewise. - -2013-11-14 Will Newton - - * ld-arm/script-type.sym: Remove redundant STT_FILE symbol. - -2013-11-07 Roland McGrath - - * ld-x86-64/x86-64.exp (mixed1, mixed2): Loosen error string match - so it accepts "i386:nacl" in place of "i386". - * ld-x86-64/ilp32-2.d: Likewise. - * ld-x86-64/ilp32-3.d: Likewise. - * ld-x86-64/lp64-2.d: Likewise. - * ld-x86-64/lp64-3.d: Likewise. - -2013-11-05 H.J. Lu - - PR ld/4409 - * ld-ia64/error1.d: New file. - * ld-ia64/error1.s: Likewise. - * ld-ia64/error2.d: Likewise. - * ld-ia64/error3.d: Likewise. - -2013-11-04 Alan Modra - - * ld-powerpc/elfv2exe.d: Adjust for non-PIC global entry. - -2013-11-04 Alan Modra - - * ld-elfvers/vers24.rd: Allow extra readelf output after - symbol visibility. - * ld-ifunc/ifunc.exp: Likewise. - -2013-11-04 Alan Modra - - * ld-scripts/crossref.exp: Don't allow changes made to CFLAGS - for this test to bleed into following tests. Don't set - -mcall-aixdesc for powerpc64le. - -2013-11-02 Alan Modra - - * ld-pe/cfi.d: Allow wide display of addresses. - -2013-11-01 Roland McGrath - - * ld-x86-64/plt-nacl.pd: Update expected disassembly for PLT nop fix. - * ld-x86-64/tlsdesc-nacl.pd: Likewise. - -2013-10-30 Alan Modra - - * ld-powerpc/elfv2.s, - * ld-powerpc/elfv2so.d, - * ld-powerpc/elfv2exe.d: New tests. - * ld-powerpc/powerpc.exp: Run them. - -2013-10-30 Alan Modra - - * ld-powerpc/tls.s: Add proper .opd entry for _start. - * ld-powerpc/tlstoc.s: Likewise. - * ld-powerpc/relbrlt.d: Update for changed stubs. - * ld-powerpc/tls.d: Update for changed stubs and _start .opd entry. - * ld-powerpc/tls.g: Likewise. - * ld-powerpc/tlsexe.d: Likewise. - * ld-powerpc/tlsexe.g: Likewise. - * ld-powerpc/tlsexe.r: Likewise. - * ld-powerpc/tlsexetoc.d: Likewise. - * ld-powerpc/tlsexetoc.g: Likewise. - * ld-powerpc/tlsexetoc.r: Likewise. - * ld-powerpc/tlsso.d: Likewise. - * ld-powerpc/tlsso.g: Likewise. - * ld-powerpc/tlsso.r: Likewise. - * ld-powerpc/tlstoc.d: Likewise. - * ld-powerpc/tlstoc.g: Likewise. - * ld-powerpc/tlstocso.d: Likewise. - * ld-powerpc/tlstocso.g: Likewise. - * ld-powerpc/tlstocso.r: Likewise. - -2013-10-29 Jan Beulich - - * ld-cris/tls-e-tpoffcomm1.d: Drop expectation of no longer - present STT_FILE symbol. - * ld-mmix/bpo-18.d: Likewise. - * ld-mmix/bpo-22.d: Likewise. - * ld-mmix/greg-6.d: Likewise. - * ld-mmix/greg-7.d: Likewise. - * ld-mmix/loc4.d: Likewise. - * ld-mmix/local1.d: Likewise. - * ld-mmix/local3.d: Likewise. - * ld-mmix/local5.d: Likewise. - * ld-mmix/local7.d: Likewise. - * ld-mmix/loct-1.d: Likewise. - * ld-sh/sh64/abi32.xd: Likewise. - * ld-sh/sh64/abi64.xd: Likewise. - * ld-sh/sh64/cmpct1.xd: Likewise. - * ld-sh/sh64/crange1.rd: Likewise. - * ld-sh/sh64/crange2.rd: Likewise. - * ld-sh/sh64/crange3-cmpct.rd: Likewise. - * ld-sh/sh64/crange3-media.rd: Likewise. - * ld-sh/sh64/crange3.rd: Likewise. - * ld-sh/sh64/crangerel1.rd: Likewise. - * ld-sh/sh64/crangerel2.rd: Likewise. - * ld-sh/sh64/mix1.xd: Likewise. - * ld-sh/sh64/mix2.xd: Likewise. - * ld-sh/sh64/shdl32.xd: Likewise. - * ld-sh/sh64/shdl64.xd: Likewise. - -2013-10-18 Hans-Peter Nilsson - - * ld-cris/asneed1.d: New test. - -2013-10-14 Chao-ying Fu - - * ld-mips-elf/attr-gnu-8-0.s, ld-mips-elf/attr-gnu-8-1.s, - ld-mips-elf/attr-gnu-8-2.s, - ld-mips-elf/attr-gnu-8-00.d, ld-mips-elf/attr-gnu-8-01.d, - ld-mips-elf/attr-gnu-8-02.d, ld-mips-elf/attr-gnu-8-10.d, - ld-mips-elf/attr-gnu-8-11.d, ld-mips-elf/attr-gnu-8-12.d, - ld-mips-elf/attr-gnu-8-20.d, ld-mips-elf/attr-gnu-8-21.d, - ld-mips-elf/attr-gnu-8-22.d: New. - * ld-mips-elf/mips-elf.exp: Run new tests. - -2013-10-13 Richard Sandiford - - * lib/ld-lib.exp (default_ld_compile): Add a -I option for the source - directory. - * ld-mips-elf/compressed-plt-1.ld, ld-mips-elf/compressed-plt-1.s, - ld-mips-elf/compressed-plt-1-dyn.s, ld-mips-elf/compressed-plt-1a.s, - ld-mips-elf/compressed-plt-1b.s, ld-mips-elf/compressed-plt-1c.s, - ld-mips-elf/compressed-plt-1d.s, ld-mips-elf/compressed-plt-1e.s, - ld-mips-elf/compressed-plt-1-o32-se.rd, - ld-mips-elf/compressed-plt-1-o32-se.od, - ld-mips-elf/compressed-plt-1-o32-mips16-only.rd, - ld-mips-elf/compressed-plt-1-o32-mips16-only.od, - ld-mips-elf/compressed-plt-1-o32-umips-only.rd, - ld-mips-elf/compressed-plt-1-o32-umips-only.od, - ld-mips-elf/compressed-plt-1-o32-mips16.rd, - ld-mips-elf/compressed-plt-1-o32-mips16.od, - ld-mips-elf/compressed-plt-1-o32-mips16-got.rd, - ld-mips-elf/compressed-plt-1-o32-mips16-got.od, - ld-mips-elf/compressed-plt-1-o32-mips16-word.rd, - ld-mips-elf/compressed-plt-1-o32-mips16-word.od, - ld-mips-elf/compressed-plt-1-o32-umips.rd, - ld-mips-elf/compressed-plt-1-o32-umips.od, - ld-mips-elf/compressed-plt-1-o32-umips-got.rd, - ld-mips-elf/compressed-plt-1-o32-umips-got.od, - ld-mips-elf/compressed-plt-1-o32-umips-word.rd, - ld-mips-elf/compressed-plt-1-o32-umips-word.od, - ld-mips-elf/compressed-plt-1-n32-mips16.rd, - ld-mips-elf/compressed-plt-1-n32-mips16.od, - ld-mips-elf/compressed-plt-1-n32-umips.rd, - ld-mips-elf/compressed-plt-1-n32-umips.od: New tests. - * ld-mips-elf/mips-elf.exp: Run them. - -2013-10-13 Richard Sandiford - - * ld-mips-elf/pic-and-nonpic-6-n32.ad, - ld-mips-elf/pic-and-nonpic-6-n32.dd, - ld-mips-elf/pic-and-nonpic-6-n32.gd, - ld-mips-elf/pic-and-nonpic-6-n32.nd, - ld-mips-elf/pic-and-nonpic-6-n32.rd, - ld-mips-elf/pic-and-nonpic-6-n64.ad, - ld-mips-elf/pic-and-nonpic-6-n64.dd, - ld-mips-elf/pic-and-nonpic-6-n64.gd, - ld-mips-elf/pic-and-nonpic-6-n64.nd, - ld-mips-elf/pic-and-nonpic-6-n64.rd, - ld-mips-elf/pic-and-nonpic-6-o32.ad, - ld-mips-elf/pic-and-nonpic-6-o32.dd, - ld-mips-elf/pic-and-nonpic-6-o32.gd, - ld-mips-elf/pic-and-nonpic-6-o32.nd, - ld-mips-elf/pic-and-nonpic-6-o32.rd: Fix symbol value of extf4. - No longer expect extf3, extf4 and extd2 to be in the global GOT. - -2013-10-03 Will Newton - - * ld-ifunc/ifunc.exp: Enable ifunc tests for AArch64. - * ld-aarch64/aarch64-elf.exp: Run ifunc tests. - * ld-aarch64/ifunc-1-local.d: New file. - * ld-aarch64/ifunc-1-local.s: Likewise. - * ld-aarch64/ifunc-1.d: Likewise. - * ld-aarch64/ifunc-1.s: Likewise. - * ld-aarch64/ifunc-10.d: Likewise. - * ld-aarch64/ifunc-10.s: Likewise. - * ld-aarch64/ifunc-11.d: Likewise. - * ld-aarch64/ifunc-11.s: Likewise. - * ld-aarch64/ifunc-12.d: Likewise. - * ld-aarch64/ifunc-12.s: Likewise. - * ld-aarch64/ifunc-13.d: Likewise. - * ld-aarch64/ifunc-13a.s: Likewise. - * ld-aarch64/ifunc-13b.s: Likewise. - * ld-aarch64/ifunc-14a.d: Likewise. - * ld-aarch64/ifunc-14a.s: Likewise. - * ld-aarch64/ifunc-14b.d: Likewise. - * ld-aarch64/ifunc-14b.s: Likewise. - * ld-aarch64/ifunc-14c.d: Likewise. - * ld-aarch64/ifunc-14c.s: Likewise. - * ld-aarch64/ifunc-14d.d: Likewise. - * ld-aarch64/ifunc-14e.d: Likewise. - * ld-aarch64/ifunc-14f.d: Likewise. - * ld-aarch64/ifunc-15.d: Likewise. - * ld-aarch64/ifunc-15.s: Likewise. - * ld-aarch64/ifunc-16.d: Likewise. - * ld-aarch64/ifunc-16.s: Likewise. - * ld-aarch64/ifunc-17a.d: Likewise. - * ld-aarch64/ifunc-17a.s: Likewise. - * ld-aarch64/ifunc-17b.d: Likewise. - * ld-aarch64/ifunc-17b.s: Likewise. - * ld-aarch64/ifunc-18a.d: Likewise. - * ld-aarch64/ifunc-18a.s: Likewise. - * ld-aarch64/ifunc-18b.d: Likewise. - * ld-aarch64/ifunc-18b.s: Likewise. - * ld-aarch64/ifunc-19a.d: Likewise. - * ld-aarch64/ifunc-19a.s: Likewise. - * ld-aarch64/ifunc-19b.d: Likewise. - * ld-aarch64/ifunc-19b.s: Likewise. - * ld-aarch64/ifunc-2-local.d: Likewise. - * ld-aarch64/ifunc-2-local.s: Likewise. - * ld-aarch64/ifunc-2.d: Likewise. - * ld-aarch64/ifunc-2.s: Likewise. - * ld-aarch64/ifunc-20.d: Likewise. - * ld-aarch64/ifunc-20.s: Likewise. - * ld-aarch64/ifunc-3.s: Likewise. - * ld-aarch64/ifunc-3a.d: Likewise. - * ld-aarch64/ifunc-3b.d: Likewise. - * ld-aarch64/ifunc-4.d: Likewise. - * ld-aarch64/ifunc-4.s: Likewise. - * ld-aarch64/ifunc-4a.d: Likewise. - * ld-aarch64/ifunc-5-local.s: Likewise. - * ld-aarch64/ifunc-5.s: Likewise. - * ld-aarch64/ifunc-5a-local.d: Likewise. - * ld-aarch64/ifunc-5a.d: Likewise. - * ld-aarch64/ifunc-5b-local.d: Likewise. - * ld-aarch64/ifunc-5b.d: Likewise. - * ld-aarch64/ifunc-5r-local.d: Likewise. - * ld-aarch64/ifunc-6.s: Likewise. - * ld-aarch64/ifunc-6a.d: Likewise. - * ld-aarch64/ifunc-6b.d: Likewise. - * ld-aarch64/ifunc-7.s: Likewise. - * ld-aarch64/ifunc-7a.d: Likewise. - * ld-aarch64/ifunc-7b.d: Likewise. - * ld-aarch64/ifunc-7c.d: Likewise. - * ld-aarch64/ifunc-8.d: Likewise. - * ld-aarch64/ifunc-8a.s: Likewise. - * ld-aarch64/ifunc-8b.s: Likewise. - * ld-aarch64/ifunc-9.d: Likewise. - * ld-aarch64/ifunc-9.s: Likewise. - -2013-09-24 Gregory Fong - - * ld-mips-elf/eh-frame5.d, ld-mips-elf/jalx-2.dd, - ld-mips-elf/mips-elf.exp, ld-mips-elf/mips16-pic-2.ad, - ld-mips-elf/mips16-pic-2.nd, ld-mips-elf/pic-and-nonpic-3a.dd, - ld-mips-elf/pic-and-nonpic-3b.ad, ld-mips-elf/pic-and-nonpic-3b.dd, - ld-mips-elf/pic-and-nonpic-3b.nd, ld-mips-elf/pic-and-nonpic-4b.ad, - ld-mips-elf/pic-and-nonpic-4b.nd, ld-mips-elf/pic-and-nonpic-4b.rd, - ld-mips-elf/pic-and-nonpic-5b.ad, ld-mips-elf/pic-and-nonpic-5b.nd, - ld-mips-elf/pic-and-nonpic-6-n32.ad, - ld-mips-elf/pic-and-nonpic-6-n32.dd, - ld-mips-elf/pic-and-nonpic-6-n32.nd, - ld-mips-elf/pic-and-nonpic-6-n64.ad, - ld-mips-elf/pic-and-nonpic-6-n64.dd, - ld-mips-elf/pic-and-nonpic-6-n64.nd, - ld-mips-elf/pic-and-nonpic-6-o32.ad, - ld-mips-elf/pic-and-nonpic-6-o32.dd, - ld-mips-elf/pic-and-nonpic-6-o32.nd, ld-mips-elf/rel32-n32.d, - ld-mips-elf/rel32-o32.d, ld-mips-elf/rel64.d, - ld-mips-elf/tls-multi-got-1.got, ld-mips-elf/tls-multi-got-1.r, - ld-mips-elf/tlsdyn-o32-1.d, ld-mips-elf/tlsdyn-o32-1.got, - ld-mips-elf/tlsdyn-o32-2.d, ld-mips-elf/tlsdyn-o32-2.got, - ld-mips-elf/tlsdyn-o32-3.d, ld-mips-elf/tlsdyn-o32-3.got, - ld-mips-elf/tlsdyn-o32.d, ld-mips-elf/tlsdyn-o32.got, - ld-mips-elf/tlslib-o32-ver.got, ld-mips-elf/tlslib-o32.got: Update - for removal of _GLOBAL_OFFSET_TABLE_ from .dynsym. - -2013-09-18 Kyrylo Tkachov - - * ld-aarch64/eh-frame.d: Update expected output to allow for - 64-bit addresses. - -2013-09-12 Nick Clifton - - * ld-elf/eh1.d: Update expected output to allow for - 64-bit addresses. - * ld-elf/eh2.d: Likewise. - * ld-elf/eh3.d: Likewise. - * ld-elf/eh4.d: Likewise. - * ld-elf/eh5.d: Likewise. - * ld-elf/eh6.d: Likewise. - * ld-mips-elf/eh-frame1-n64.d: Likewise. - * ld-mips-elf/eh-frame2-n64.d: Likewise. - * ld-mips-elf/eh-frame3.d: Likewise. - -2013-09-04 Vidya Praveen - - * ld-arm/export-class.exp: Fix the condition. - -2013-08-29 Jakub Jelinek - - * ld-x86-64/x86-64.exp: Add tlsld3, tlsgd7 and tlsgd8 tests. - * ld-x86-64/tlspic1.s: Add -mcmodel=large -fpic TLS GD and LD - sequences. - * ld-x86-64/tlspic.dd: Adjusted. - * ld-x86-64/tlspic.rd: Adjusted. - * ld-x86-64/tlspic-nacl.rd: Adjusted. - * ld-x86-64/tlsld3.dd: New test. - * ld-x86-64/tlsld3.s: New file. - * ld-x86-64/tlsgd7.dd: New test. - * ld-x86-64/tlsgd7.s: New file. - * ld-x86-64/tlsgd8.dd: New test. - * ld-x86-64/tlsgd8.s: New file. - -2013-08-26 Roland McGrath - - * ld-x86-64/x86-64.exp (Mixed x86_64 and i386 input test 1): - Loosen string match to admit i386:x86-64*. - (Mixed x86_64 and i386 input test 2): Likewise. - * ld-x86-64/ilp32-2.d: Likewise. - * ld-x86-64/ilp32-3.d: Likewise. - * ld-x86-64/lp64-2.d: Likewise. - * ld-x86-64/lp64-3.d: Likewise. - * ld-x86-64/ia32-2.d: Likewise, and i386.* too. - * ld-x86-64/ia32-3.d: Likewise. - -2013-08-26 Roland McGrath - - * ld-x86-64/ilp32-4-nacl.d: Loosen .shstrtab line regexp to match - any file offset. - * ld-x86-64/tlsbin-nacl.rd: Update expected code segment PT_LOAD. - * ld-x86-64/tlsbindesc-nacl.rd: Likewise. - * ld-scripts/rgn-at3.d: XFAIL for *-*-nacl* targets. - * ld-scripts/rgn-over8-ok.d: Likewise. - -2013-08-24 Maciej W. Rozycki - - * ld-elf/comm-data.exp: Use check_shared_lib_support rather than - explicit patterns for test target qualification. Define extra - tool flags for *-*-hpux* and tic6x-*-* targets. Link with a - linker script. Use alternative patterns for targets that do not - eliminate copy relocs, currently mn10300-*-* and vax-*-*. - * ld-elf/comm-data2.s: Handle HPUX's `.comm' syntax. - * ld-elf/comm-data2.ld: New test linker script. - * ld-elf/comm-data2.xd: Match section's VMA too. Ignore ASCII - data dump. - * ld-elf/comm-data2r.rd: New test pattern. - * ld-elf/comm-data2r.sd: New test pattern. - * ld-elf/comm-data2r.xd: New test pattern. - * ld-mips-elf/comm-data.exp: Use check_shared_lib_support rather - than an explicit pattern for test target qualification. Link - with a linker script. - -2013-08-24 Maciej W. Rozycki - - * ld-arm/export-class.exp: Handle non-EABI targets. - -2013-08-23 Roland McGrath - - * ld-x86-64/ilp32-4-nacl.d: Update for 2013-05-31 gas alignment change. - * ld/testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise. - * ld/testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise. - * ld/testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise. - * ld/testsuite/ld-x86-64/tlspic-nacl.rd: Likewise. - -2013-08-23 Yuri Chornoivan - - PR binutils/15834 - * ld-mips-elf/mips16-pic-1.inc: Fix typos. - -2013-08-22 Alan Modra - - * ld-powerpc/powerpc.exp: Substitute for le in options_regsub(ld). - Correct ppc64elftests option replacement. - (supports_ppc64): Match elf64lppc too. - * ld-powerpc/relbrlt.d: Update for little-endian. - * ld-powerpc/symtocbase.d: Likewise. - * ld-powerpc/tls.t: Likewise. - * ld-powerpc/tlsexetoc.g: Likewise. - * ld-powerpc/tlsso.d: Likewise. - * ld-powerpc/tlsso.g: Likewise. - * ld-powerpc/tlstoc.t: Likewise. - * ld-powerpc/tlstocso.d: Likewise. - * ld-powerpc/tlstocso.g: Likewise. - * ld-powerpc/tlstocso.t: Likewise. - * ld-powerpc/tocopt.d: Likewise. - * ld-powerpc/tocopt2.d: Likewise. - * ld-powerpc/tocopt3.d: Likewise. - * ld-powerpc/tocopt4.d: Likewise. - * ld-powerpc/tocopt5.d: Likewise. - -2013-08-14 Clemens Lang - - * ld-scripts/log2.exp: New: Run the new log2 test. - * ld-scripts/log2.s: Source for the new test. - * ld-scripts/log2.t: Linker script for new test. - -2013-08-14 John Tytgat - - PR ld/15787 - * ld-arm/group-relocs-ldr-bad.s: Redefine bar into foo section - beyond 16 bit offset width. - * ld-arm/group-relocs-ldrs-bad.s: Likewise. - * ld-arm/group-relocs-ldr-bad.d: Adjust expected result. - * ld-arm/group-relocs-ldrs-bad.d: Likewise. - * ld-arm/group-relocs.s: Add comments. Move symbols used for sb - group relocations into .data section. Drop section zero. Use pc/r0 - as base register when pc/sb group relocations are used. - * ld-arm/group-relocs.d: Adjust expected result. - * ld-arm/group-relocs-alu-bad-2.d: New test for sb group relocation. - * ld-arm/group-relocs-ldc-bad-2.d: Likewise. - * ld-arm/group-relocs-ldr-bad-2.d: New test for pc group relocation. - * ld-arm/group-relocs-ldrs-bad-2.d: Likewise. - * ld-arm/unresolved-2.d: Add sb relocation failure test. - * ld-arm/group-relocs-alu-bad-2.s: New test source. - * ld-arm/group-relocs-ldr-bad-2.s: Likewise. - * ld-arm/group-relocs-ldrs-bad-2.s: Likewise. - * ld-arm/group-relocs-ldc-bad-2.s: Likewise. - * ld-arm/unresolved-2.s: Likewise. - * ld-arm/arm-elf.exp: For group-relocs, drop section zero start - definition. Run the new tests. - -2013-08-09 Nick Clifton - - * lib/ld-lib.exp (check_shared_lib_support): Note that the RL78 - does not support shared library generation. - -2013-07-31 John Tytgat - - PR ld/15787 - * ld-arm/group-relocs-alu-bad-2.d; New. - * ld-arm/group-relocs-alu-bad-2.s: New. - * ld-arm/group-relocs-ldc-bad-2.d: New. - * ld-arm/group-relocs-ldc-bad-2.s: New. - * ld-arm/group-relocs-ldr-bad-2.d: New. - * ld-arm/group-relocs-ldr-bad-2.s: New. - * ld-arm/group-relocs-ldrs-bad-2.d: New. - * ld-arm/group-relocs-ldrs-bad-2: New. - * ld-arm/arm-elf.exp: Add the new tests. - * ld-arm/group-relocs-ldr-bad.d: Update expected output. - * ld-arm/group-relocs-ldr-bad.s: Likewise. - * ld-arm/group-relocs-ldrs-bad.d: Likewise. - * ld-arm/group-relocs-ldrs-bad.s: Likewise. - * ld-arm/group-relocs.d: Likewise. - * ld-arm/group-relocs.s: Likewise. - -2013-07-27 Maciej W. Rozycki - - * ld-vax-elf/export-class-call.dd: New test. - * ld-vax-elf/export-class-call.rd: New test. - * ld-vax-elf/export-class-call.xd: New test. - * ld-vax-elf/export-class-data.dd: New test. - * ld-vax-elf/export-class-data.rd: New test. - * ld-vax-elf/export-class-data.xd: New test. - * ld-vax-elf/export-class.ld: New test linker script. - * ld-vax-elf/export-class-call.s: New test source. - * ld-vax-elf/export-class-data.s: New test source. - * ld-vax-elf/export-class-def.s: New test source. - * ld-vax-elf/vax-elf.exp: Run the new tests. - * ld-vax-elf/vax-export-class.rd: New test. - * ld-vax-elf/vax-export-class.xd: New test. - * ld-vax-elf/export-class.exp: New test script. - -2013-07-27 Maciej W. Rozycki - - * ld-vax-elf/got-local-exe.xd: New test. - * ld-vax-elf/got-local-lib.xd: New test. - * ld-vax-elf/got-local-aux.s: New test source. - * ld-vax-elf/got-local-def.s: New test source. - * ld-vax-elf/got-local-ref.s: New test source. - * ld-vax-elf/vax-elf.exp: Run the new tests. - -2013-07-24 H.J. Lu - - PR ld/15762 - * ld-elf/shared.exp (build_tests): Check .gnu.warning section - in the libbarw.so library. - * ld-elf/libbarw.rd: New. - - * lib/ld-lib.exp (run_cc_link_tests): Support checking on - output with warning message. - -2013-07-22 Sebastian Huber - - * ld-scripts/script.exp: Use run_dump_test instead of - ld_simple_link to check the error message. - * ld-scripts/align-with-input.d: New file. - * ld-scripts/region-alias-1.d: Likewise. - * ld-scripts/region-alias-2.d: Likewise. - * ld-scripts/region-alias-3.d: Likewise. - * ld-scripts/region-alias-4.d: Likewise. - -2013-07-19 Sebastian Huber - - * ld-scripts/script.exp: Run align with input test. - * ld-scripts/align-with-input.t: New file. - * ld-scripts/rgn-at8.d: Likewise. - * ld-scripts/rgn-at8.t: Likewise. - -2013-07-18 Terry Guo - - * ld-arm/thumb-b-lks-sym.d: Updated to be more flexible. - * ld-arm/thumb-bl-lks-sym.d: Likewise. - -2013-07-18 Roland McGrath - - * ld-arm/farcall-arm-nacl.d: New file. - * ld-arm/farcall-arm-nacl-pic.d: New file. - * ld-arm/farcall-data-nacl.d: New file. - * ld-arm/arm-elf.exp (armeabitests_common): Add extra element to - "action" lists for those cases to use a different dump file for NaCl - targets. - Massage $armeabitests_common to drop the extra element or the one - before it, depending on [istarget "arm*-*-nacl*"]. - - * ld-arm/arm-elf.exp (armelftests_common): Move all "Cortex-A8 - erratum fix", Thumb-only and interworking cases to ... - (armelftests_nonacl): ... here. - (armeabitests_common): Move all "erratum 760522 fix", Thumb-only - and interworking cases to ... - (armeabitests_nonacl): ... here. - -2013-07-12 Maciej W. Rozycki - - * ld-mips-elf/nan-2008.d: New test. - * ld-mips-elf/nan-legacy.d: New test. - * ld-mips-elf/nan-mixed-1.d: New test. - * ld-mips-elf/nan-mixed-2.d: New test. - * ld-mips-elf/nan-2008.s: New test source. - * ld-mips-elf/nan-legacy.s: New test source. - -2013-07-03 Marcus Shawcroft - - * ld-aarch64/emit-relocs-309.s: Replace got_prel19 with got. - * ld-aarch64/gc-relocs-309.s: Likewise. - -2013-07-02 Marcus Shawcroft - - * ld-aarch64/gc-plt-relocs.d: Adjust expected .got offsets. - * ld-aarch64/tls-desc-ie.d: Likewise. - * ld-aarch64/emit-relocs-311.d: Adjust expected symbol. - * ld-aarch64/tls-relax-all.d: Likewise. - * ld-aarch64/tls-relax-gd-ie.d: Likewise. - * ld-aarch64/tls-relax-gdesc-ie.d: Likewise. - * ld-aarch64/tls-relax-gdesc-ie-2.d: Likewise. - -2013-07-01 H.J. Lu - - * ld-x86-64/tlsg.sd: Adjusted. - -2013-06-28 H.J. Lu - - PR ld/15685 - * ld-x86-64/tlsg.s: Add a test for R_X86_64_DTPOFF64. - * ld-x86-64/tlsg.sd: Updated. - -2013-06-24 Maciej W. Rozycki - - * ld-mips-elf/jalx-2.dd: Update for microMIPS PLT support. - * ld-mips-elf/pic-and-nonpic-3a.dd: Update for the _MIPS_STUBS_ - magic symbol. - * ld-mips-elf/pic-and-nonpic-3b.dd: Likewise. - * ld-mips-elf/pic-and-nonpic-6-n32.dd: Likewise. - * ld-mips-elf/pic-and-nonpic-6-n64.dd: Likewise. - * ld-mips-elf/pic-and-nonpic-6-o32.dd: Likewise. - * ld-mips-elf/stub-dynsym-1-10000.d: Likewise. - * ld-mips-elf/stub-dynsym-1-2fe80.d: Likewise. - * ld-mips-elf/stub-dynsym-1-7fff.d: Likewise. - * ld-mips-elf/stub-dynsym-1-8000.d: Likewise. - * ld-mips-elf/stub-dynsym-1-fff0.d: Likewise. - * ld-mips-elf/tlslib-o32.d: Likewise. - -2013-06-19 Will Newton - - * ld-aarch64/aarch64-elf.exp: Remove ifunc tests. - * ld-ifunc/ifunc.exp: Disable ifunc tests on AArch64. - * ld-aarch64/ifunc-1-local.d: Remove. - * ld-aarch64/ifunc-1-local.s: Likewise. - * ld-aarch64/ifunc-1.d: Likewise. - * ld-aarch64/ifunc-1.s: Likewise. - * ld-aarch64/ifunc-10.d: Likewise. - * ld-aarch64/ifunc-10.s: Likewise. - * ld-aarch64/ifunc-11.d: Likewise. - * ld-aarch64/ifunc-11.s: Likewise. - * ld-aarch64/ifunc-12.d: Likewise. - * ld-aarch64/ifunc-12.s: Likewise. - * ld-aarch64/ifunc-13.d: Likewise. - * ld-aarch64/ifunc-13a.s: Likewise. - * ld-aarch64/ifunc-13b.s: Likewise. - * ld-aarch64/ifunc-14a.d: Likewise. - * ld-aarch64/ifunc-14a.s: Likewise. - * ld-aarch64/ifunc-14b.d: Likewise. - * ld-aarch64/ifunc-14b.s: Likewise. - * ld-aarch64/ifunc-14c.d: Likewise. - * ld-aarch64/ifunc-14c.s: Likewise. - * ld-aarch64/ifunc-14d.d: Likewise. - * ld-aarch64/ifunc-14e.d: Likewise. - * ld-aarch64/ifunc-14f.d: Likewise. - * ld-aarch64/ifunc-15.d: Likewise. - * ld-aarch64/ifunc-15.s: Likewise. - * ld-aarch64/ifunc-16.d: Likewise. - * ld-aarch64/ifunc-16.s: Likewise. - * ld-aarch64/ifunc-17a.d: Likewise. - * ld-aarch64/ifunc-17a.s: Likewise. - * ld-aarch64/ifunc-17b.d: Likewise. - * ld-aarch64/ifunc-17b.s: Likewise. - * ld-aarch64/ifunc-18a.d: Likewise. - * ld-aarch64/ifunc-18a.s: Likewise. - * ld-aarch64/ifunc-18b.d: Likewise. - * ld-aarch64/ifunc-18b.s: Likewise. - * ld-aarch64/ifunc-19a.d: Likewise. - * ld-aarch64/ifunc-19a.s: Likewise. - * ld-aarch64/ifunc-19b.d: Likewise. - * ld-aarch64/ifunc-19b.s: Likewise. - * ld-aarch64/ifunc-2-local.d: Likewise. - * ld-aarch64/ifunc-2-local.s: Likewise. - * ld-aarch64/ifunc-2.d: Likewise. - * ld-aarch64/ifunc-2.s: Likewise. - * ld-aarch64/ifunc-20.d: Likewise. - * ld-aarch64/ifunc-20.s: Likewise. - * ld-aarch64/ifunc-3.s: Likewise. - * ld-aarch64/ifunc-3a.d: Likewise. - * ld-aarch64/ifunc-3b.d: Likewise. - * ld-aarch64/ifunc-4.d: Likewise. - * ld-aarch64/ifunc-4.s: Likewise. - * ld-aarch64/ifunc-4a.d: Likewise. - * ld-aarch64/ifunc-5-local.s: Likewise. - * ld-aarch64/ifunc-5.s: Likewise. - * ld-aarch64/ifunc-5a-local.d: Likewise. - * ld-aarch64/ifunc-5a.d: Likewise. - * ld-aarch64/ifunc-5b-local.d: Likewise. - * ld-aarch64/ifunc-5b.d: Likewise. - * ld-aarch64/ifunc-5r-local.d: Likewise. - * ld-aarch64/ifunc-6.s: Likewise. - * ld-aarch64/ifunc-6a.d: Likewise. - * ld-aarch64/ifunc-6b.d: Likewise. - * ld-aarch64/ifunc-7.s: Likewise. - * ld-aarch64/ifunc-7a.d: Likewise. - * ld-aarch64/ifunc-7b.d: Likewise. - * ld-aarch64/ifunc-7c.d: Likewise. - * ld-aarch64/ifunc-8.d: Likewise. - * ld-aarch64/ifunc-8a.s: Likewise. - * ld-aarch64/ifunc-8b.s: Likewise. - * ld-aarch64/ifunc-9.d: Likewise. - * ld-aarch64/ifunc-9.s: Likewise. - -2013-06-17 Will Newton - - * ld-aarch64/ifunc-1-local.d: Enable test on aarch64_be. - * ld-aarch64/ifunc-1.d: Likewise. - * ld-aarch64/ifunc-10.d: Likewise. - * ld-aarch64/ifunc-11.d: Likewise. - * ld-aarch64/ifunc-12.d: Likewise. - * ld-aarch64/ifunc-13.d: Likewise. - * ld-aarch64/ifunc-14a.d: Likewise. - * ld-aarch64/ifunc-14b.d: Likewise. - * ld-aarch64/ifunc-14c.d: Likewise. - * ld-aarch64/ifunc-14d.d: Likewise. - * ld-aarch64/ifunc-14e.d: Likewise. - * ld-aarch64/ifunc-14f.d: Likewise. - * ld-aarch64/ifunc-15.d: Likewise. - * ld-aarch64/ifunc-16.d: Likewise. - * ld-aarch64/ifunc-17a.d: Likewise. - * ld-aarch64/ifunc-17b.d: Likewise. - * ld-aarch64/ifunc-18a.d: Likewise. - * ld-aarch64/ifunc-18b.d: Likewise. - * ld-aarch64/ifunc-19a.d: Likewise. - * ld-aarch64/ifunc-19b.d: Likewise. - * ld-aarch64/ifunc-2-local.d: Likewise. - * ld-aarch64/ifunc-2.d: Likewise. - * ld-aarch64/ifunc-20.d: Likewise. - * ld-aarch64/ifunc-3a.d: Likewise. - * ld-aarch64/ifunc-3b.d: Likewise. - * ld-aarch64/ifunc-4.d: Likewise. - * ld-aarch64/ifunc-4a.d: Likewise. - * ld-aarch64/ifunc-5a-local.d: Likewise. - * ld-aarch64/ifunc-5a.d: Likewise. - * ld-aarch64/ifunc-5b-local.d: Likewise. - * ld-aarch64/ifunc-5b.d: Likewise. - * ld-aarch64/ifunc-5r-local.d: Likewise. - * ld-aarch64/ifunc-6a.d: Likewise. - * ld-aarch64/ifunc-6b.d: Likewise. - * ld-aarch64/ifunc-7a.d: Likewise. - * ld-aarch64/ifunc-7b.d: Likewise. - * ld-aarch64/ifunc-8.d: Likewise. - * ld-aarch64/ifunc-9.d: Likewise. - * ld-ifunc/ifunc.exp: Likewise. - -2013-06-14 Yufeng Zhang - - * ld-aarch64/aarch64-elf.exp: Add 'ifunc-7c'. - * ld-aarch64/ifunc-7c.d: New test. - -2013-06-14 Yufeng Zhang - - * ld-aarch64/ifunc-1-local.d: Replace hard-coded immediate offset - with regexp. - * ld-aarch64/ifunc-1.d: Likewise. - * ld-aarch64/ifunc-2-local.d: Likewise. - * ld-aarch64/ifunc-2.d: Likewise. - * ld-aarch64/ifunc-3a.d: Likewise. - * ld-aarch64/ifunc-2-local.s: Change not to declare __GI_foo and foo - global. - -2013-06-13 Terry Guo - - PR ld/15302 - * ld-arm/branch-lks-sym.ld: New script. - * ld-arm/thumb-b-lks-sym.s: New test. - * ld-arm/thumb-b-lks-sym.d: Expected disassembly. - * ld-arm/thumb-bl-lks-sym.s: New test. - * ld-arm/thumb-bl-lks-sym.d: Expected disassembly. - * ld-arm/arm-elf.exp: Run the new tests. - -2013-06-07 Will Newton - - * ld-ifunc/ifunc.exp: Enable ifunc tests for AArch64. - * ld-aarch64/aarch64-elf.exp: Add ifunc tests. - * ld-aarch64/ifunc-1-local.d: New file. - * ld-aarch64/ifunc-1-local.s: Likewise. - * ld-aarch64/ifunc-1.d: Likewise. - * ld-aarch64/ifunc-1.s: Likewise. - * ld-aarch64/ifunc-10.d: Likewise. - * ld-aarch64/ifunc-10.s: Likewise. - * ld-aarch64/ifunc-11.d: Likewise. - * ld-aarch64/ifunc-11.s: Likewise. - * ld-aarch64/ifunc-12.d: Likewise. - * ld-aarch64/ifunc-12.s: Likewise. - * ld-aarch64/ifunc-13.d: Likewise. - * ld-aarch64/ifunc-13a.s: Likewise. - * ld-aarch64/ifunc-13b.s: Likewise. - * ld-aarch64/ifunc-14a.d: Likewise. - * ld-aarch64/ifunc-14a.s: Likewise. - * ld-aarch64/ifunc-14b.d: Likewise. - * ld-aarch64/ifunc-14b.s: Likewise. - * ld-aarch64/ifunc-14c.d: Likewise. - * ld-aarch64/ifunc-14c.s: Likewise. - * ld-aarch64/ifunc-14d.d: Likewise. - * ld-aarch64/ifunc-14e.d: Likewise. - * ld-aarch64/ifunc-14f.d: Likewise. - * ld-aarch64/ifunc-15.d: Likewise. - * ld-aarch64/ifunc-15.s: Likewise. - * ld-aarch64/ifunc-16.d: Likewise. - * ld-aarch64/ifunc-16.s: Likewise. - * ld-aarch64/ifunc-17a.d: Likewise. - * ld-aarch64/ifunc-17a.s: Likewise. - * ld-aarch64/ifunc-17b.d: Likewise. - * ld-aarch64/ifunc-17b.s: Likewise. - * ld-aarch64/ifunc-18a.d: Likewise. - * ld-aarch64/ifunc-18a.s: Likewise. - * ld-aarch64/ifunc-18b.d: Likewise. - * ld-aarch64/ifunc-18b.s: Likewise. - * ld-aarch64/ifunc-19a.d: Likewise. - * ld-aarch64/ifunc-19a.s: Likewise. - * ld-aarch64/ifunc-19b.d: Likewise. - * ld-aarch64/ifunc-19b.s: Likewise. - * ld-aarch64/ifunc-2-local.d: Likewise. - * ld-aarch64/ifunc-2-local.s: Likewise. - * ld-aarch64/ifunc-2.d: Likewise. - * ld-aarch64/ifunc-2.s: Likewise. - * ld-aarch64/ifunc-20.d: Likewise. - * ld-aarch64/ifunc-20.s: Likewise. - * ld-aarch64/ifunc-3.s: Likewise. - * ld-aarch64/ifunc-3a.d: Likewise. - * ld-aarch64/ifunc-3b.d: Likewise. - * ld-aarch64/ifunc-4.d: Likewise. - * ld-aarch64/ifunc-4.s: Likewise. - * ld-aarch64/ifunc-4a.d: Likewise. - * ld-aarch64/ifunc-5-local.s: Likewise. - * ld-aarch64/ifunc-5.s: Likewise. - * ld-aarch64/ifunc-5a-local.d: Likewise. - * ld-aarch64/ifunc-5a.d: Likewise. - * ld-aarch64/ifunc-5b-local.d: Likewise. - * ld-aarch64/ifunc-5b.d: Likewise. - * ld-aarch64/ifunc-5r-local.d: Likewise. - * ld-aarch64/ifunc-6.s: Likewise. - * ld-aarch64/ifunc-6a.d: Likewise. - * ld-aarch64/ifunc-6b.d: Likewise. - * ld-aarch64/ifunc-7.s: Likewise. - * ld-aarch64/ifunc-7a.d: Likewise. - * ld-aarch64/ifunc-7b.d: Likewise. - * ld-aarch64/ifunc-8.d: Likewise. - * ld-aarch64/ifunc-8a.s: Likewise. - * ld-aarch64/ifunc-8b.s: Likewise. - * ld-aarch64/ifunc-9.d: Likewise. - * ld-aarch64/ifunc-9.s: Likewise. - -2013-06-04 Roland McGrath - - * ld-size/size.exp: For *-*-nacl* targets, use options_regsub(ld) - to massage -m arguments into _nacl variants. - * ld/testsuite/ld-size/size32-1-i386.d: Loosen regexps so they - don't care what the exact addresses are. - * ld/testsuite/ld-size/size32-1-x32.d: Likewise. - * ld/testsuite/ld-size/size32-1-x86-64.d: Likewise. - * ld/testsuite/ld-size/size32-2-i386.d: Likewise. - * ld/testsuite/ld-size/size32-2-x32.d: Likewise. - * ld/testsuite/ld-size/size32-2-x86-64.d: Likewise. - * ld/testsuite/ld-size/size64-1-x32.d: Likewise. - * ld/testsuite/ld-size/size64-1-x86-64.d: Likewise. - * ld/testsuite/ld-size/size64-2-x32.d: Likewise. - * ld/testsuite/ld-size/size64-2-x86-64.d: Likewise. - -2013-06-04 H.J. Lu - - * ld-i386/tlsbindesc-nacl.rd: Updated for text/data/bss section - alignment change. - * ld-x86-64/split-by-file-nacl.rd: Likewise. - -2013-05-31 H.J. Lu - - * ld-i386/pr12718.d: Updated for text/data/bss section alignment - change. - * ld-i386/tlsbindesc.dd: Likewise. - * ld-i386/tlsbindesc.rd: Likewise. - * ld-i386/tlsnopic.dd: Likewise. - * ld-i386/tlspic.dd: Likewise. - * ld-x86-64/ilp32-4.d: Likewise. - * ld-x86-64/pr12718.d: Likewise. - * ld-x86-64/split-by-file.rd: Likewise. - * ld-x86-64/tlsbin.dd: Likewise. - * ld-x86-64/tlsbin.rd: Likewise. - * ld-x86-64/tlsbindesc.dd: Likewise. - * ld-x86-64/tlsbindesc.rd: Likewise. - * ld-x86-64/tlsdesc.dd: Likewise. - * ld-x86-64/tlsdesc.rd: Likewise. - * ld-x86-64/tlspic.dd: Likewise. - * ld-x86-64/tlspic.rd: Likewise. - -2013-05-29 Maciej W. Rozycki - - * ld-mips-elf/jalr3.dd: New test. - * ld-mips-elf/jalr3.ld: New test linker script. - * ld-mips-elf/mips-elf.exp: Run the new test. - -2013-05-21 Alan Modra - - PR ld/12982 - * ld-plugin/pr12982.d: Fail if RWE GNU_STACK present. - -2013-05-21 Alan Modra - - * ld-powerpc/export-class.exp (supports_ppc64): Delete. - (powerpc_export_class_test): Add "endian" param. - (abis): Add little-endian targets and test. - * ld-powerpc/powerpc-64-export-class.xd: Update for little-endian. - -2013-05-10 Joel Brobecker - - * ld-powerpc/aix-core-sec-1.hd, ld-powerpc/aix-core-sec-2.hd, - ld-powerpc/aix-core-sec-3.hd: Adjust expected section flags - for section .loader. - -2013-05-03 Maciej W. Rozycki - - PR ld/15365 - * ld-elf/ehdr_start.d: Expect __ehdr_start to be STB_LOCAL. - * ld-mips-elf/ehdr_start-1.nd: New test. - * ld-mips-elf/ehdr_start-2.nd: New test. - * ld-mips-elf/ehdr_start-1.ld: New test linker script. - * ld-mips-elf/ehdr_start-2.ld: New test linker script. - * ld-mips-elf/ehdr_start-new.s: New test source. - * ld-mips-elf/ehdr_start-o32.s: New test source. - * ld-mips-elf/mips-elf.exp: Run the new tests. - -2013-05-03 Maciej W. Rozycki - - * ld-elf/provide-hidden-s.nd: New test. - * ld-elf/provide-hidden-abs.nd: New test. - * ld-elf/provide-hidden-def.nd: New test. - * ld-elf/provide-hidden-dyn.nd: New test. - * ld-elf/provide-hidden-sec.nd: New test. - * ld-elf/provide-hidden-dynabs.nd: New test. - * ld-elf/provide-hidden-dynsec.nd: New test. - * ld-elf/provide-hidden-s.ld: New test linker script. - * ld-elf/provide-hidden-1.ld: New test linker script. - * ld-elf/provide-hidden-2.ld: New test linker script. - * ld-elf/provide-hidden-1.s: New test source. - * ld-elf/provide-hidden-2.s: New test source. - * ld-elf/provide-hidden-3.s: New test source. - * ld-elf/provide-hidden-4.s: New test source. - * ld-elf/provide-hidden.exp: New test script. - -2013-05-02 Nick Clifton - - * ld-elf/flags1.d: Expect this test to pass on the MSP430. - * ld-elf/init-fini-arrays.d: Expect this test to fail on the - MSP430. - * ld-elf/merge.d: Expect this test to pass on the MSP430. - * ld-elf/sec64k.exp: Skip these tests for the MSP430. - * ld-gc/pr13683.d: Expect this test to fail on the MSP430. - * ld-srec/srec.exp: Expect these tests to fail on the MSP430. - * ld-undefined/undefined.exp: Expect the UNDEFINED LINE test to - fail on the MSP430. - -2013-05-01 Maciej W. Rozycki - - * lib/ld-lib.exp (check_shared_lib_support): Also exclude - mips*-*-elf. - -2013-04-30 Hans-Peter Nilsson - - * lib/ld-lib.exp (check_shared_lib_support): Match cris*-*-elf as - a negative pattern instead of cris*-*-*. - -2013-04-30 Will Newton - - * ld-arm/arm-elf.exp: Use linker script for IFUNC test 17. - * ld-arm/ifunc-17.dd: Update offsets for linker script. - * ld-arm/ifunc-17.gd: Likewise. - * ld-arm/ifunc-17.rd: Likewise. - -2013-04-29 Will Newton - - * ld-arm/arm-elf.exp: Add IFUNC test 17. - * ld-arm/ifunc-17.dd: New file. - * ld-arm/ifunc-17.gd: Likewise. - * ld-arm/ifunc-17.rd: Likewise. - * ld-arm/ifunc-17.s: Likweise. - * ld-arm/ifunc-1.rd: Reorder relocs to match linker output. - * ld-arm/ifunc-2.rd: Likewise. - * ld-arm/ifunc-5.rd: Likewise. - * ld-arm/ifunc-6.rd: Likewise. - -2013-04-29 Will Newton - - * ld-plugin/lto.exp: Disable ld/12942 test for gcc < 4.7.0. - -2013-04-22 Alan Modra - - * ld-powerpc/tlsexe.d: Adjust for section id changes. - * ld-powerpc/tlsexe.r: Likewise. - * ld-powerpc/tlsexetoc.d: Likewise. - * ld-powerpc/tlsexetoc.r: Likewise. - * ld-powerpc/tlsso.d: Likewise. - * ld-powerpc/tlsso.r: Likewise. - * ld-powerpc/tlstocso.d: Likewise. - * ld-powerpc/tlstocso.r: Likewise. - -2013-04-15 H.J. Lu - - PR ld/15371 - * ld-ifunc/ifunc-20-i386.d: New file. - * ld-ifunc/ifunc-20-x86-64.d: Likewise. - * ld-ifunc/ifunc-20.s: Likewise. - -2013-04-10 Venkataramanan Kumar - - * ld-aarch64/gc-plt1.s: New file. - * ld-aarch64/gc-plt2.s: Likewise. - * ld-aarch64/gc-plt-hidden.s: Likewise. - * ld-aarch64/gc-plt-main.s: Likewise. - * ld-aarch64/gc-relocs-257.s: Likewise. - * ld-aarch64/gc-plt-relocs.d: Update expected objdump. - * ld-aarch64/gc-relocs-257.d: Likewise. - * ld-aarch64/gc-relocs-257-dyn.d: Likewise. - * ld-aarch64/aarch64-elf.exp: Add test. - -2013-04-08 Ramana Radhakrishnan - - * ld-aarch64/gc-tls-relocs.d: Handle big endian format. - * ld-aarch64/gc-got-relocs.d: Likewise. - -2013-04-04 Alan Modra - - * ld-elf/shared.exp: Update regexp on --no-add-needed and - --no-copy-dt-needed-entries tests. - -2013-04-03 Alan Modra - - PR ld/15227 - * ld-plugin/lto.exp (PR ld/12942 (3)): Remove file name and - line number from regexp. - (PR ld/15146 (2)): Similarly. - * ld-plugin/pr12942a.cc (main): Use __builtin_abort. - -2013-03-30 Alan Modra - - PR ld/15323 - * ld-plugin/lto.exp (pr15323a.c): Compile without -flto rather - than using -r to effectively strip out lto info. - -2013-03-29 H.J. Lu - - PR ld/15323 - * ld-plugin/lto.exp (lto_link_tests): Add pr15323a-r.o. - (lto_run_tests): Add a test for PR ld/15323. - - * ld-plugin/pr15323.out: New file. - * ld-plugin/pr15323a.c: Likewise. - * ld-plugin/pr15323b.c: Likewise. - -2013-03-22 Nick Clifton - - * ld-elf/init0.s: Add alloc attribute to .section directive. - * ld-elf/fini1.s: Likewise. - * ld-elf/fini2.s: Likewise. - * ld-elf/fini3.s: Likewise. - * ld-elf/finin.s: Likewise. - * ld-elf/init0.s: Likewise. - * ld-elf/init1.s: Likewise. - * ld-elf/init2.s: Likewise. - * ld-elf/init3.s: Likewise. - * ld-elf/initn.s: Likewise. - -2013-02-02 Michael Schewe - - * ld-h8300/h8300.exp: Add new relax-7 test on ELF. - * ld-h8300/relax-2.s: Add other direction and .w/.l variants of - mov insns. - * ld-h8300/relax-2.d: Update expected disassembly. - * ld-h8300/relax-7a.s: New: tests for mov @(disp:32,ERx) -> mov - @(disp:16,ERx). - * ld-h8300/relax-7b.s: New: Likewise. - * ld-h8300/relax-7.d: New: expected disassembly. - -2013-03-20 Venkataramanan Kumar - - * ld-elf/group8a.d (notarget): Remove aarch64*-*-*. - * ld-elf/group8b.d: Likewise. - * ld-elf/group9a.d: Likewise. - * ld-elf/group9b.d: Likewise. - * ld-elf/pr12851.d: Likewise. - * ld-elf/pr12975.d: Likewise. - * ld-elf/pr13177.d: Likewise. - * ld-elf/pr13195.d: Likewise. - -2013-03-20 Will Newton - - * ld-elfvers/vers.exp (objdump_symstuff): Sort objdump output - based on the symbol name rather than address. - * ld-elfvers/vers1.sym: Reorder contents to match changes to vers.exp. - * ld-elfvers/vers15.sym: Likewise. - * ld-elfvers/vers18.sym: Likewise. - * ld-elfvers/vers21.sym: Likewise. - * ld-elfvers/vers9.sym: Likewise. - -2013-03-20 Alan Modra - - * ld-elf/rel.c, ld-elf/relmain.c, ld-elf/relmain.out: New test. - * ld-elf/shared.exp: Build and run it. - -2013-03-20 Alan Modra - Will Newton - - * ld-elf/pr14862.out: Expect no output. - -2013-03-15 Will Newton - - * ld-arm/arm-elf.exp: Expand *-*eabi test to cover *-*eabi*. - * ld-arm/gc-hidden-1.d: Likewise. - * ld-elfvsb/elfvsb.exp: Likewise. - * ld-shared/shared.exp: Likewise. - -2013-03-08 Venkataramanan Kumar - - * lib/ld-lib.exp (check_gc_sections_available): Remove aarch64 - from list of targets that don't support gc-section. - -2013-03-05 Alan Modra - - * ld-scripts/rgn-at6.s, * ld-scripts/rgn-at6.t, * ld-scripts/rgn-at6.d, - * ld-scripts/rgn-at7.t, * ld-scripts/rgn-at7.d: New tests. - -2013-02-28 Nathan Sidwell - - * ld-arm/tls-local-static.s: New test. - * ld-arm/tls-local-static.d: New. - * ld-arm/arm-elf.exp (tls-local-static): Add test. - -2013-02-21 H.J. Lu - - PR ld/15167 - * ld-unique/unique.exp: Add a test for shared library with - reference. - -2013-02-19 Maciej W. Rozycki - - * lib/ld-lib.exp (run_ld_link_tests): Add another argument, pass - its contents to ar_simple_create and ld_simple_link after - objfiles. - * ld-aarch64/aarch64-elf.exp: Adjust accordingly. - * ld-alpha/alpha.exp: Likewise. - * ld-arm/arm-elf.exp: Likewise. - * ld-arm/export-class.exp: Likewise. - * ld-elf/comm-data.exp: Likewise. - * ld-elf/eh-group.exp: Likewise. - * ld-elf/elf.exp: Likewise. - * ld-elf/export-class.exp: Likewise. - * ld-elfvers/vers.exp: Likewise. - * ld-frv/tls.exp: Likewise. - * ld-i386/export-class.exp: Likewise. - * ld-i386/i386.exp: Likewise. - * ld-ia64/ia64.exp: Likewise. - * ld-libs/libs.exp: Likewise. - * ld-m68k/m68k.exp: Likewise. - * ld-metag/metag.exp: Likewise. - * ld-mips-elf/comm-data.exp: Likewise. - * ld-mips-elf/export-class.exp: Likewise. - * ld-mips-elf/mips-elf.exp: Likewise. - * ld-mn10300/mn10300.exp: Likewise. - * ld-pe/pe-compile.exp: Likewise. - * ld-pe/pe.exp: Likewise. - * ld-plugin/plugin.exp: Likewise. - * ld-powerpc/aix52.exp: Likewise. - * ld-powerpc/export-class.exp: Likewise. - * ld-powerpc/powerpc.exp: Likewise. - * ld-s390/s390.exp: Likewise. - * ld-sh/sh-vxworks.exp: Likewise. - * ld-sh/sh64/sh64.exp: Likewise. - * ld-sparc/sparc.exp: Likewise. - * ld-tic6x/tic6x.exp: Likewise. - * ld-tilegx/tilegx.exp: Likewise. - * ld-tilepro/tilepro.exp: Likewise. - * ld-undefined/entry.exp: Likewise. - * ld-vax-elf/vax-elf.exp: Likewise. - * ld-x86-64/dwarfreloc.exp: Likewise. - * ld-x86-64/export-class.exp: Likewise. - * ld-x86-64/x86-64.exp: Likewise. - * ld-xc16x/xc16x.exp: Likewise. - * ld-xstormy16/xstormy16.exp: Likewise. - * ld-xtensa/xtensa.exp: Likewise. - -2013-02-18 Maciej W. Rozycki - - * ld-mips-elf/jalx-2.ld: Include .rel.plt in output, give .plt a - mapping. - * ld-mips-elf/jalx-2.dd: Adjust disassembly accordingly. - -2013-02-18 Alan Modra - - * ld-plugin/lto.exp (Build pr15146b.so) Add -Wl,--no-as-needed. - (PR ld/15146 (1), (2)): Likewise. - (LTO 7): Likewise. - -2013-02-16 H.J. Lu - - PR ld/15146 - * ld-plugin/pr15146.d: New file. - * ld-plugin/pr15146a.c: Likewise. - * ld-plugin/pr15146b.c: Likewise. - * ld-plugin/pr15146c.c: Likewise. - * ld-plugin/pr15146d.c: Likewise. - - * ld-plugin/lto.exp: Add tests for PR ld/15146. - -2013-02-15 Markos Chandras - - * ld-metag/pcrel.d: Fix the expected disassembler - output to be in little endian format - * ld-metag/shared.d: likewise - * ld-metag/stub.d: likewise - * ld-metag/stub_pic_app.d: likewise - * ld-metag/stub_pic_shared.d: likewise - * ld-metag/stub_shared.d: likewise - -2013-02-13 Richard Sandiford - - * ld-mips-elf/mips16-pic-2.dd, - ld-mips-elf/mips16-pic-2.gd: Remove 3 unused local GOT entries. - * ld-mips-elf/got-page-4a.s, ld-mips-elf/got-page-4b.s, - ld-mips-elf/got-page-4a.d, ld-mips-elf/got-page-4a.got, - ld-mips-elf/got-page-4b.d, ld-mips-elf/got-page-4b.got, - ld-mips-elf/got-page-5.s, ld-mips-elf/got-page-5.d, - ld-mips-elf/got-page-5.got, ld-mips-elf/got-page-6.s, - ld-mips-elf/got-page-6.d, ld-mips-elf/got-page-6.got, - ld-mips-elf/got-page-7a.s, ld-mips-elf/got-page-7b.s, - ld-mips-elf/got-page-7c.s, ld-mips-elf/got-page-7d.s, - ld-mips-elf/got-page-7e.s, ld-mips-elf/got-page-7.d, - ld-mips-elf/got-page-7.got: New tests. - * ld-mips-elf/mips-elf.exp: Run them. - -2013-02-11 Richard Sandiford - - * ld-mips-elf/tlsdyn-o32-1.d, ld-mips-elf/tlsdyn-o32-1.got, - ld-mips-elf/tlsdyn-o32-2.d, ld-mips-elf/tlsdyn-o32-2.got, - ld-mips-elf/tlsdyn-o32-3.d, ld-mips-elf/tlsdyn-o32-3.got, - ld-mips-elf/tls-hidden3.d, ld-mips-elf/tls-hidden3.got: Update - for new hash table order. - -2013-02-11 Richard Sandiford - - * ld-mips-elf/tls-hidden4.got, ld-mips-elf/tls-multi-got-1.d, - ld-mips-elf/tls-multi-got-1.got: Update for changes in the order - that symbols are added to per-bfd GOTs. - -2013-02-11 Richard Sandiford - - * ld-mips-elf/tls-hidden3.d, ld-mips-elf/tls-hidden3.got, - ld-mips-elf/tls-multi-got-1.got, ld-mips-elf/tlsbin-o32.d, - ld-mips-elf/tlsbin-o32.got, ld-mips-elf/tlsdyn-o32-1.d, - ld-mips-elf/tlsdyn-o32-1.got, ld-mips-elf/tlsdyn-o32-2.d, - ld-mips-elf/tlsdyn-o32-2.got, ld-mips-elf/tlsdyn-o32-3.d, - ld-mips-elf/tlsdyn-o32-3.got, ld-mips-elf/tlsdyn-o32.d, - ld-mips-elf/tlsdyn-o32.got, ld-mips-elf/tlslib-o32.d, - ld-mips-elf/tlslib-o32.got, ld-mips-elf/tlslib-o32-hidden.got, - ld-mips-elf/tlslib-o32-ver.got: Adjust GOT layout for new - got_entry hash function. - -2013-02-11 Richard Sandiford - - * ld-mips-elf/tlsdyn-o32-2.got, ld-mips-elf/tlsdyn-o32-3.got: Remove - unused GOT entries. - -2013-02-07 H.J. Lu - - PR ld/15107 - * ld-unique/unique_empty.s: Add reference to "b". - -2013-02-06 H.J. Lu - - * ld-size/size-10.rd: Updated. - * ld-size/size-8.rd: Likewise. - * ld-size/size32-2-i386.d: Likewise. - * ld-size/size32-2-x32.d: Likewise. - * ld-size/size32-2-x86-64.d: Likewise. - * ld-size/size64-2-x32.d: Likewise. - * ld-size/size64-2-x86-64.d: Likewise. - - * ld-size/size.exp (run_time_tests): Pass --hash-styl=gnu to - linker for size-8 test. - -2013-02-06 Sandra Loosemore - Andrew Jenner - - Based on patches from Altera Corporation. - - * ld-nios2/emit-relocs-1a.s: New. - * ld-nios2/emit-relocs-1b.s: New. - * ld-nios2/emit-relocs-1.d: New. - * ld-nios2/emit-relocs-1.ld: New. - * ld-nios2/gprel.d: New. - * ld-nios2/gprel.s: New. - * ld-nios2/hilo16.d: New. - * ld-nios2/hilo16.s: New. - * ld-nios2/hilo16_symbol.s: New. - * ld-nios2/imm5.d: New. - * ld-nios2/imm5.s: New. - * ld-nios2/imm5_symbol.s: New. - * ld-nios2/nios2.exp: New. - * ld-nios2/pcrel16.d: New. - * ld-nios2/pcrel16_label.s: New. - * ld-nios2/pcrel16.s: New. - * ld-nios2/relax_callr.d: New. - * ld-nios2/relax_callr.ld: New. - * ld-nios2/relax_callr.s: New. - * ld-nios2/relax_cjmp.d: New. - * ld-nios2/relax_cjmp.s: New. - * ld-nios2/relax_jmp.ld: New. - * ld-nios2/relax_section.d: New. - * ld-nios2/relax_section.s: New. - * ld-nios2/relax_ujmp.d: New. - * ld-nios2/relax_ujmp.s: New. - * ld-nios2/reloc.d: New. - * ld-nios2/reloc.s: New. - * ld-nios2/reloc_symbol.s: New. - * ld-nios2/s16.d: New. - * ld-nios2/s16.s: New. - * ld-nios2/s16_symbol.s: New. - * ld-nios2/u16.d: New. - * ld-nios2/u16.s: New. - * ld-nios2/u16_symbol.s: New. - * ld-elf/indirect.exp: Skip on targets that don't support - -shared -fPIC. - * ld-elfcomm/elfcomm.exp: Build with -G0 for nios2. - * ld-plugin/lto.exp: Skip shared library tests on targets that - don't support them. Skip execution tests on non-native targets. - -2013-02-06 H.J. Lu - - * ld-elf/now-1.d: New file. - * ld-elf/now-2.d: Likewise. - * ld-elf/now-3.d: Likewise. - * ld-elf/now-4.d: Likewise. - * ld-elf/rpath-1.d: Likewise. - * ld-elf/rpath-2.d: Likewise. - * ld-elf/runpath-1.d: Likewise. - * ld-elf/runpath-2.d: Likewise. - -2013-02-06 Alan Modra - - PR ld/15096 - * ld-elf/new-dtags-1.d: Delete. - * ld-elf/new-dtags-2.d: Likewise. - * ld-elf/new-dtags-3.d: Likewise. - * ld-elf/new-dtags-4.d: Likewise. - * ld-elf/new-dtags-5.d: Likewise. - * ld-elf/new-dtags-6.d: Likewise. - * ld-elf/new-dtags-7.d: Likewise. - * ld-elf/new-dtags-8.d: Likewise. - -2013-02-04 H.J. Lu - - PR ld/15096 - * ld-elf/new-dtags-1.d: New test. - * ld-elf/new-dtags-2.d: Likewise. - * ld-elf/new-dtags-3.d: Likewise. - * ld-elf/new-dtags-4.d: Likewise. - * ld-elf/new-dtags-5.d: Likewise. - * ld-elf/new-dtags-6.d: Likewise. - * ld-elf/new-dtags-7.d: Likewise. - * ld-elf/new-dtags-8.d: Likewise. - -2013-01-31 Alan Modra - - * ld-powerpc/tlsexe.d: Update for changed stub names. - * ld-powerpc/tlsexe.r: Likewise. - * ld-powerpc/tlsexetoc.d: Likewise. - * ld-powerpc/tlsexetoc.r: Likewise. - * ld-powerpc/tlsso.d: Likewise. - * ld-powerpc/tlsso.r: Likewise. - * ld-powerpc/tlstocso.d: Likewise. - * ld-powerpc/tlstocso.r: Likewise. - -2013-01-31 Hans-Peter Nilsson - - * ld-cris/libdso-13.d: Adjust for --enable-new-dtags now - default for *-*-linux-* by passing explicitly for all targets. - -2013-01-21 Alan Modra - - * ld-size/size.exp (build_tests ): Pass - --no-as-needed in cflags. - -2013-01-19 H.J. Lu - - * config/default.exp (get_target_emul): Also set HOSTING_SCRT0. - - * lib/ld-lib.exp (default_ld_link): Use HOSTING_SCRT0 for -pie. - -2013-01-18 H.J. Lu - - * ld-size/size-10.rd: Updated. - * ld-size/size-8.rd: Likewise. - * ld-size/size32-2-i386.d: Likewise. - * ld-size/size32-2-x32.d: Likewise. - * ld-size/size32-2-x86-64.d: Likewise. - * ld-size/size64-2-x32.d: Likewise. - * ld-size/size64-2-x86-64.d: Likewise. - -2013-01-17 H.J. Lu - - * ld-size/size-7.out: New file. - * ld-size/size-8.out: Likewise. - * ld-size/size-9.out: Likewise. - * ld-size/size-9.rd: Likewise. - * ld-size/size-9a.c: Likewise. - * ld-size/size-9b.c: Likewise. - * ld-size/size-10.out: Likewise. - * ld-size/size-10.rd: Likewise. - * ld-size/size-10a.c: Likewise. - * ld-size/size-10b.c: Likewise. - - * ld-size/size.exp (build_tests): Build libsize-9.so and - libsize-10.so. - Run-time size relocation tests if supported. - (run_time_tests): New. - -2013-01-17 H.J. Lu - - * ld-size/size-1.c: New file. - * ld-size/size-1.out: Likewise. - * ld-size/size-1a.c: Likewise. - * ld-size/size-1b.c: Likewise. - * ld-size/size-2.c: Likewise. - * ld-size/size-2.out: Likewise. - * ld-size/size-2a.c: Likewise. - * ld-size/size-2b.c: Likewise. - - * ld-size/size.exp (build_tests): Build libsize-1.so and - libsize-2.so. - (run_tests): Run size-1 and size-2. - -2013-01-17 H.J. Lu - - * ld-size/size32-3-i386.d: New file. - * ld-size/size32-3-x32.d: Likewise. - * ld-size/size32-3-x86-64.d: Likewise. - * ld-size/size32-3a.s: Likewise. - * ld-size/size32-3b.s: Likewise. - -2013-01-16 H.J. Lu - - * ld-size/size.exp: New file. - * ld-size/size32-1-i386.d: Likewise. - * ld-size/size32-1-x32.d: Likewise. - * ld-size/size32-1-x86-64.d: Likewise. - * ld-size/size32-1.s: Likewise. - * ld-size/size32-2-i386.d: Likewise. - * ld-size/size32-2-x32.d: Likewise. - * ld-size/size32-2-x86-64.d: Likewise. - * ld-size/size32-2.s: Likewise. - * ld-size/size64-1-x32.d: Likewise. - * ld-size/size64-1-x86-64.d: Likewise. - * ld-size/size64-1.s: Likewise. - * ld-size/size64-2-x32.d: Likewise. - * ld-size/size64-2-x86-64.d: Likewise. - * ld-size/size64-2.s: Likewise. - * ld-size/size-3.c: Likewise. - * ld-size/size-3.out: Likewise. - * ld-size/size-3a.c: Likewise. - * ld-size/size-3b.c: Likewise. - * ld-size/size-3c.c: Likewise. - * ld-size/size-4.out: Likewise. - * ld-size/size-4a.c: Likewise. - * ld-size/size-4b.c: Likewise. - * ld-size/size-5.out: Likewise. - * ld-size/size-5a.c: Likewise. - * ld-size/size-5b.c: Likewise. - * ld-size/size-6.out: Likewise. - * ld-size/size-6a.c: Likewise. - * ld-size/size-6b.c: Likewise. - * ld-size/size-7.rd: Likewise. - * ld-size/size-7a.c: Likewise. - * ld-size/size-7b.c: Likewise. - * ld-size/size-8.rd: Likewise. - * ld-size/size-8a.c: Likewise. - * ld-size/size-8b.c: Likewise. - -2013-01-16 Alan Modra - - * ld-plugin/lto.exp (lto-9.o, pr13229.o): Pass -finline. - -2013-01-15 Alan Modra - - * ld-powerpc/tlsso.d: Adjust for plt-thread-safe stubs. - * ld-powerpc/tlsso.g: Likewise. - * ld-powerpc/tlsso.r: Likewise. - * ld-powerpc/tlstocso.d: Likewise. - * ld-powerpc/tlstocso.g: Likewise. - -2013-01-15 Alan Modra - - * ld-plugin/lto-16a.d: Match powerpc64 function symbol type. - * ld-plugin/lto-16b.d: Likewise. - * ld-plugin/lto-17a.d: Likewise. - * ld-plugin/lto-17b-2.d: Likewise. - -2013-01-14 Alan Modra - - * ld-elf/pr14926.d: Disable for d10v, msp, xstormy. - * ld-elf/sec-to-seg.exp: Choose correct variant output to suit - updated microblaze page size. - -2013-01-10 Will Newton - - * ld-elf/merge.d: Mark Meta as xfail. - * ld-gc/start.d: Skip this test on Meta. - * ld-gc/personality.d: Skip this test on Meta. - * ld-metag/external.s: New file. - * ld-metag/metag.exp: New file. - * ld-metag/pcrel.d: New file. - * ld-metag/pcrel.s: New file. - * ld-metag/shared.d: New file. - * ld-metag/shared.r: New file. - * ld-metag/shared.s: New file. - * ld-metag/stub.d: New file. - * ld-metag/stub.s: New file. - * ld-metag/stub_pic_app.d: New file. - * ld-metag/stub_pic_app.r: New file. - * ld-metag/stub_pic_app.s: New file. - * ld-metag/stub_pic_shared.d: New file. - * ld-metag/stub_pic_shared.s: New file. - * ld-metag/stub_shared.d: New file. - * ld-metag/stub_shared.r: New file. - * ld-metag/stub_shared.s: New file. - -2013-01-08 Thomas Schwinge - - * ld-i386/export-class.exp: Restore (and reword) comment about - excluded targets. - -2013-01-04 Yufeng Zhang - - * ld-aarch64/emit-relocs-264.d: Append the '-Mno-aliases' option to - the objdump directive. - * ld-aarch64/emit-relocs-266.d: Ditto. - * ld-aarch64/emit-relocs-268.d: Ditto. - * ld-aarch64/emit-relocs-269.d: Ditto. - * ld-aarch64/emit-relocs-270.d: Ditto. - * ld-aarch64/emit-relocs-271.d: Ditto. - * ld-aarch64/emit-relocs-272.d: Ditto. - -For older changes see ChangeLog-2012 +For older changes see ChangeLog-2013 -Copyright (C) 2013 Free Software Foundation, Inc. +Copyright (C) 2014 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright diff --git a/ld/testsuite/ChangeLog-2013 b/ld/testsuite/ChangeLog-2013 new file mode 100644 index 00000000000..519c2cd94cd --- /dev/null +++ b/ld/testsuite/ChangeLog-2013 @@ -0,0 +1,1664 @@ +2013-12-19 H.J. Lu + + PR binutils/16317 + * ld-elf/linkinfo1.s: New file. + * ld-elf/linkinfo1a.d: Likewise. + * ld-elf/linkinfo1b.d: Likewise. + +2013-12-18 Vidya Praveen + + * lib/ld-lib.exp (check_lto_available): Support cflags, ldflags and + test by compiling for an executable rather than shared library. + +2013-12-13 Vidya Praveen + + * lib/ld-lib.exp (default_ld_link): Use ldflags from board description + file. + (default_ld_simple_link): Likewise. + (default_ld_compile): Use cflags from board description file. + +2013-12-13 Kuan-Lin Chen + + * lib/ld-lib.exp: Add NDS32 to list of targets that do not support + shared library generation. + * ld-nds32: New directory. + * ld-nds32/branch.d: New test. + * ld-nds32/branch.ld: New test. + * ld-nds32/branch.s: New test. + * ld-nds32/diff.d: New test. + * ld-nds32/diff.ld: New test. + * ld-nds32/diff.s: New test. + * ld-nds32/gp.d: New test. + * ld-nds32/gp.ld: New test. + * ld-nds32/gp.s: New test. + * ld-nds32/imm.d: New test. + * ld-nds32/imm.ld: New test. + * ld-nds32/imm.s: New test. + * ld-nds32/imm_symbol.s: New test. + * ld-nds32/relax_jmp.d: New test. + * ld-nds32/relax_jmp.ld: New test. + * ld-nds32/relax_jmp.s: New test. + * ld-nds32/relax_load_store.d: New test. + * ld-nds32/relax_load_store.ld: New test. + * ld-nds32/relax_load_store.s: New test. + * ld-nds32/nds32.exp: New file. + +2013-12-12 H.J. Lu + + * ld-elf/ehdr_start-userdef.d: Add "#...". + +2013-12-12 H.J. Lu + + * ld-pie/vaddr-0.d: New file. + * ld-pie/vaddr-1.d: Likewise. + * ld-pie/vaddr.s: Likewise. + +2013-12-11 Will Newton + + * ld-aarch64/ifunc-21.d: Make test more generic to support + aarch64_be and ELF targets. + * ld-aarch64/ifunc-22.d: Likewise. + +2013-12-11 H.J. Lu + + * ld-elf/shared.exp (build_tests): Add libneeded2a.so, + libneeded2b.so, libneeded2c.o and needed2. + + * ld-elf/needed2.ver: New file. + * ld-elf/needed2a.c: Likewise. + * ld-elf/needed2b.c: Likewise. + * ld-elf/needed2c.c: Likewise. + +2013-12-07 Mike Frysinger + + * ld-pe/aligncomm-1.c: Remove +x file mode. + * ld-pe/aligncomm-2.c: Likewise. + * ld-pe/aligncomm-3.c: Likewise. + * ld-pe/aligncomm-4.c: Likewise. + * ld-pe/aligncomm.d: Likewise. + * ld-pe/export_dynamic_warning.s: Likewise. + * ld-pe/exports64.d: Likewise. + * ld-pe/longsecn-1.d: Likewise. + * ld-pe/longsecn-2.d: Likewise. + * ld-pe/longsecn-3.d: Likewise. + * ld-pe/longsecn-4.d: Likewise. + * ld-pe/longsecn-5.d: Likewise. + * ld-pe/longsecn.d: Likewise. + * ld-pe/longsecn.s: Likewise. + * ld-pe/non-c-lang-syms.d: Likewise. + * ld-pe/non-c-lang-syms.s: Likewise. + * ld-pe/pe-compile.exp: Likewise. + * ld-pe/pe-run.exp: Likewise. + * ld-pe/tlssec.s: Likewise. + * ld-pe/tlssec32.d: Likewise. + * ld-pe/tlssec64.d: Likewise. + * ld-pe/vers-script-1.ver: Likewise. + * ld-pe/vers-script-2.ver: Likewise. + * ld-pe/vers-script-3.ver: Likewise. + * ld-pe/vers-script-4.ver: Likewise. + * ld-pe/vers-script-dll.c: Likewise. + +2013-11-27 Kyrylo Tkachov + + * ld-plugin/lto.exp: Add -ffat-lto-objects. + * lib/ld-lib.exp (check_lto_available): Likewise. + +2013-11-27 Matthew Fortune + + * ld-mips-elf/mips-elf.exp: Consider mips-mti-elf the same as + mips-sde-elf + +2013-11-26 H.J. Lu + + PR ld/16259 + * config/default.exp (get_target_emul): Also set HOSTING_SLIBS. + * lib/ld-lib.exp (default_ld_link): Use HOSTING_SLIBS for -pie. + +2013-11-26 Will Newton + + * ld-aarch64/aarch64-elf.exp: Add ifunc-22. + * ld-aarch64/ifunc-22.d: New file. + * ld-aarch64/ifunc-22.s: Likewise. + +2013-11-26 Will Newton + + * ld-aarch64/aarch64-elf.exp: Add ifunc-21 test. + * ld-aarch64/ifunc-21.d: New file. + * ld-aarch64/ifunc-21.s: Likewise. + +2013-11-21 H.J. Lu + + * ld-x86-64/mpx.exp: Run bnd-branch-1. + * ld-x86-64/bnd-branch-1.d: New file. + * ld-x86-64/bnd-branch-1.s: Likewise. + +2013-11-20 H.J. Lu + + * ld-x86-64/mpx.exp (build_tests): Add libmpx2a.a, libmpx2b.a + and libmpx2c.a. + (run_tests): Add mpx1static, mpx2 and mpx2static. + * ld-x86-64/mpx2.out: Likewise. + * ld-x86-64/mpx2a.c: Likewise. + * ld-x86-64/mpx2a.rd: Likewise. + * ld-x86-64/mpx2b.c: Likewise. + * ld-x86-64/mpx2c.c: Likewise. + * ld-x86-64/mpx2c.rd: Likewise. + +2013-11-19 Roland McGrath + + * ld-elf/ehdr_start-userdef.t: New file. + * ld-elf/ehdr_start-userdef.d: New file. + * ld-elf/ehdr_start-strongref.s: New file. + * ld-elf/ehdr_start-missing.t: New file. + * ld-elf/ehdr_start-missing.d: New file. + * ld-elf/ehdr_start-weak.d: New file. + * ld-mips-elf/ehdr_start-2.nd: Expect __ehdr_start to be global. + +2013-11-17 H.J. Lu + + * ld-x86-64/mpx.exp: New file. + * ld-x86-64/mpx1.out: Likewise. + * ld-x86-64/mpx1a.c: Likewise. + * ld-x86-64/mpx1a.rd: Likewise. + * ld-x86-64/mpx1b.c: Likewise. + * ld-x86-64/mpx1c.c: Likewise. + * ld-x86-64/mpx1c.rd: Likewise. + +2013-11-14 Will Newton + + * ld-arm/script-type.sym: Remove redundant STT_FILE symbol. + +2013-11-07 Roland McGrath + + * ld-x86-64/x86-64.exp (mixed1, mixed2): Loosen error string match + so it accepts "i386:nacl" in place of "i386". + * ld-x86-64/ilp32-2.d: Likewise. + * ld-x86-64/ilp32-3.d: Likewise. + * ld-x86-64/lp64-2.d: Likewise. + * ld-x86-64/lp64-3.d: Likewise. + +2013-11-05 H.J. Lu + + PR ld/4409 + * ld-ia64/error1.d: New file. + * ld-ia64/error1.s: Likewise. + * ld-ia64/error2.d: Likewise. + * ld-ia64/error3.d: Likewise. + +2013-11-04 Alan Modra + + * ld-powerpc/elfv2exe.d: Adjust for non-PIC global entry. + +2013-11-04 Alan Modra + + * ld-elfvers/vers24.rd: Allow extra readelf output after + symbol visibility. + * ld-ifunc/ifunc.exp: Likewise. + +2013-11-04 Alan Modra + + * ld-scripts/crossref.exp: Don't allow changes made to CFLAGS + for this test to bleed into following tests. Don't set + -mcall-aixdesc for powerpc64le. + +2013-11-02 Alan Modra + + * ld-pe/cfi.d: Allow wide display of addresses. + +2013-11-01 Roland McGrath + + * ld-x86-64/plt-nacl.pd: Update expected disassembly for PLT nop fix. + * ld-x86-64/tlsdesc-nacl.pd: Likewise. + +2013-10-30 Alan Modra + + * ld-powerpc/elfv2.s, + * ld-powerpc/elfv2so.d, + * ld-powerpc/elfv2exe.d: New tests. + * ld-powerpc/powerpc.exp: Run them. + +2013-10-30 Alan Modra + + * ld-powerpc/tls.s: Add proper .opd entry for _start. + * ld-powerpc/tlstoc.s: Likewise. + * ld-powerpc/relbrlt.d: Update for changed stubs. + * ld-powerpc/tls.d: Update for changed stubs and _start .opd entry. + * ld-powerpc/tls.g: Likewise. + * ld-powerpc/tlsexe.d: Likewise. + * ld-powerpc/tlsexe.g: Likewise. + * ld-powerpc/tlsexe.r: Likewise. + * ld-powerpc/tlsexetoc.d: Likewise. + * ld-powerpc/tlsexetoc.g: Likewise. + * ld-powerpc/tlsexetoc.r: Likewise. + * ld-powerpc/tlsso.d: Likewise. + * ld-powerpc/tlsso.g: Likewise. + * ld-powerpc/tlsso.r: Likewise. + * ld-powerpc/tlstoc.d: Likewise. + * ld-powerpc/tlstoc.g: Likewise. + * ld-powerpc/tlstocso.d: Likewise. + * ld-powerpc/tlstocso.g: Likewise. + * ld-powerpc/tlstocso.r: Likewise. + +2013-10-29 Jan Beulich + + * ld-cris/tls-e-tpoffcomm1.d: Drop expectation of no longer + present STT_FILE symbol. + * ld-mmix/bpo-18.d: Likewise. + * ld-mmix/bpo-22.d: Likewise. + * ld-mmix/greg-6.d: Likewise. + * ld-mmix/greg-7.d: Likewise. + * ld-mmix/loc4.d: Likewise. + * ld-mmix/local1.d: Likewise. + * ld-mmix/local3.d: Likewise. + * ld-mmix/local5.d: Likewise. + * ld-mmix/local7.d: Likewise. + * ld-mmix/loct-1.d: Likewise. + * ld-sh/sh64/abi32.xd: Likewise. + * ld-sh/sh64/abi64.xd: Likewise. + * ld-sh/sh64/cmpct1.xd: Likewise. + * ld-sh/sh64/crange1.rd: Likewise. + * ld-sh/sh64/crange2.rd: Likewise. + * ld-sh/sh64/crange3-cmpct.rd: Likewise. + * ld-sh/sh64/crange3-media.rd: Likewise. + * ld-sh/sh64/crange3.rd: Likewise. + * ld-sh/sh64/crangerel1.rd: Likewise. + * ld-sh/sh64/crangerel2.rd: Likewise. + * ld-sh/sh64/mix1.xd: Likewise. + * ld-sh/sh64/mix2.xd: Likewise. + * ld-sh/sh64/shdl32.xd: Likewise. + * ld-sh/sh64/shdl64.xd: Likewise. + +2013-10-18 Hans-Peter Nilsson + + * ld-cris/asneed1.d: New test. + +2013-10-14 Chao-ying Fu + + * ld-mips-elf/attr-gnu-8-0.s, ld-mips-elf/attr-gnu-8-1.s, + ld-mips-elf/attr-gnu-8-2.s, + ld-mips-elf/attr-gnu-8-00.d, ld-mips-elf/attr-gnu-8-01.d, + ld-mips-elf/attr-gnu-8-02.d, ld-mips-elf/attr-gnu-8-10.d, + ld-mips-elf/attr-gnu-8-11.d, ld-mips-elf/attr-gnu-8-12.d, + ld-mips-elf/attr-gnu-8-20.d, ld-mips-elf/attr-gnu-8-21.d, + ld-mips-elf/attr-gnu-8-22.d: New. + * ld-mips-elf/mips-elf.exp: Run new tests. + +2013-10-13 Richard Sandiford + + * lib/ld-lib.exp (default_ld_compile): Add a -I option for the source + directory. + * ld-mips-elf/compressed-plt-1.ld, ld-mips-elf/compressed-plt-1.s, + ld-mips-elf/compressed-plt-1-dyn.s, ld-mips-elf/compressed-plt-1a.s, + ld-mips-elf/compressed-plt-1b.s, ld-mips-elf/compressed-plt-1c.s, + ld-mips-elf/compressed-plt-1d.s, ld-mips-elf/compressed-plt-1e.s, + ld-mips-elf/compressed-plt-1-o32-se.rd, + ld-mips-elf/compressed-plt-1-o32-se.od, + ld-mips-elf/compressed-plt-1-o32-mips16-only.rd, + ld-mips-elf/compressed-plt-1-o32-mips16-only.od, + ld-mips-elf/compressed-plt-1-o32-umips-only.rd, + ld-mips-elf/compressed-plt-1-o32-umips-only.od, + ld-mips-elf/compressed-plt-1-o32-mips16.rd, + ld-mips-elf/compressed-plt-1-o32-mips16.od, + ld-mips-elf/compressed-plt-1-o32-mips16-got.rd, + ld-mips-elf/compressed-plt-1-o32-mips16-got.od, + ld-mips-elf/compressed-plt-1-o32-mips16-word.rd, + ld-mips-elf/compressed-plt-1-o32-mips16-word.od, + ld-mips-elf/compressed-plt-1-o32-umips.rd, + ld-mips-elf/compressed-plt-1-o32-umips.od, + ld-mips-elf/compressed-plt-1-o32-umips-got.rd, + ld-mips-elf/compressed-plt-1-o32-umips-got.od, + ld-mips-elf/compressed-plt-1-o32-umips-word.rd, + ld-mips-elf/compressed-plt-1-o32-umips-word.od, + ld-mips-elf/compressed-plt-1-n32-mips16.rd, + ld-mips-elf/compressed-plt-1-n32-mips16.od, + ld-mips-elf/compressed-plt-1-n32-umips.rd, + ld-mips-elf/compressed-plt-1-n32-umips.od: New tests. + * ld-mips-elf/mips-elf.exp: Run them. + +2013-10-13 Richard Sandiford + + * ld-mips-elf/pic-and-nonpic-6-n32.ad, + ld-mips-elf/pic-and-nonpic-6-n32.dd, + ld-mips-elf/pic-and-nonpic-6-n32.gd, + ld-mips-elf/pic-and-nonpic-6-n32.nd, + ld-mips-elf/pic-and-nonpic-6-n32.rd, + ld-mips-elf/pic-and-nonpic-6-n64.ad, + ld-mips-elf/pic-and-nonpic-6-n64.dd, + ld-mips-elf/pic-and-nonpic-6-n64.gd, + ld-mips-elf/pic-and-nonpic-6-n64.nd, + ld-mips-elf/pic-and-nonpic-6-n64.rd, + ld-mips-elf/pic-and-nonpic-6-o32.ad, + ld-mips-elf/pic-and-nonpic-6-o32.dd, + ld-mips-elf/pic-and-nonpic-6-o32.gd, + ld-mips-elf/pic-and-nonpic-6-o32.nd, + ld-mips-elf/pic-and-nonpic-6-o32.rd: Fix symbol value of extf4. + No longer expect extf3, extf4 and extd2 to be in the global GOT. + +2013-10-03 Will Newton + + * ld-ifunc/ifunc.exp: Enable ifunc tests for AArch64. + * ld-aarch64/aarch64-elf.exp: Run ifunc tests. + * ld-aarch64/ifunc-1-local.d: New file. + * ld-aarch64/ifunc-1-local.s: Likewise. + * ld-aarch64/ifunc-1.d: Likewise. + * ld-aarch64/ifunc-1.s: Likewise. + * ld-aarch64/ifunc-10.d: Likewise. + * ld-aarch64/ifunc-10.s: Likewise. + * ld-aarch64/ifunc-11.d: Likewise. + * ld-aarch64/ifunc-11.s: Likewise. + * ld-aarch64/ifunc-12.d: Likewise. + * ld-aarch64/ifunc-12.s: Likewise. + * ld-aarch64/ifunc-13.d: Likewise. + * ld-aarch64/ifunc-13a.s: Likewise. + * ld-aarch64/ifunc-13b.s: Likewise. + * ld-aarch64/ifunc-14a.d: Likewise. + * ld-aarch64/ifunc-14a.s: Likewise. + * ld-aarch64/ifunc-14b.d: Likewise. + * ld-aarch64/ifunc-14b.s: Likewise. + * ld-aarch64/ifunc-14c.d: Likewise. + * ld-aarch64/ifunc-14c.s: Likewise. + * ld-aarch64/ifunc-14d.d: Likewise. + * ld-aarch64/ifunc-14e.d: Likewise. + * ld-aarch64/ifunc-14f.d: Likewise. + * ld-aarch64/ifunc-15.d: Likewise. + * ld-aarch64/ifunc-15.s: Likewise. + * ld-aarch64/ifunc-16.d: Likewise. + * ld-aarch64/ifunc-16.s: Likewise. + * ld-aarch64/ifunc-17a.d: Likewise. + * ld-aarch64/ifunc-17a.s: Likewise. + * ld-aarch64/ifunc-17b.d: Likewise. + * ld-aarch64/ifunc-17b.s: Likewise. + * ld-aarch64/ifunc-18a.d: Likewise. + * ld-aarch64/ifunc-18a.s: Likewise. + * ld-aarch64/ifunc-18b.d: Likewise. + * ld-aarch64/ifunc-18b.s: Likewise. + * ld-aarch64/ifunc-19a.d: Likewise. + * ld-aarch64/ifunc-19a.s: Likewise. + * ld-aarch64/ifunc-19b.d: Likewise. + * ld-aarch64/ifunc-19b.s: Likewise. + * ld-aarch64/ifunc-2-local.d: Likewise. + * ld-aarch64/ifunc-2-local.s: Likewise. + * ld-aarch64/ifunc-2.d: Likewise. + * ld-aarch64/ifunc-2.s: Likewise. + * ld-aarch64/ifunc-20.d: Likewise. + * ld-aarch64/ifunc-20.s: Likewise. + * ld-aarch64/ifunc-3.s: Likewise. + * ld-aarch64/ifunc-3a.d: Likewise. + * ld-aarch64/ifunc-3b.d: Likewise. + * ld-aarch64/ifunc-4.d: Likewise. + * ld-aarch64/ifunc-4.s: Likewise. + * ld-aarch64/ifunc-4a.d: Likewise. + * ld-aarch64/ifunc-5-local.s: Likewise. + * ld-aarch64/ifunc-5.s: Likewise. + * ld-aarch64/ifunc-5a-local.d: Likewise. + * ld-aarch64/ifunc-5a.d: Likewise. + * ld-aarch64/ifunc-5b-local.d: Likewise. + * ld-aarch64/ifunc-5b.d: Likewise. + * ld-aarch64/ifunc-5r-local.d: Likewise. + * ld-aarch64/ifunc-6.s: Likewise. + * ld-aarch64/ifunc-6a.d: Likewise. + * ld-aarch64/ifunc-6b.d: Likewise. + * ld-aarch64/ifunc-7.s: Likewise. + * ld-aarch64/ifunc-7a.d: Likewise. + * ld-aarch64/ifunc-7b.d: Likewise. + * ld-aarch64/ifunc-7c.d: Likewise. + * ld-aarch64/ifunc-8.d: Likewise. + * ld-aarch64/ifunc-8a.s: Likewise. + * ld-aarch64/ifunc-8b.s: Likewise. + * ld-aarch64/ifunc-9.d: Likewise. + * ld-aarch64/ifunc-9.s: Likewise. + +2013-09-24 Gregory Fong + + * ld-mips-elf/eh-frame5.d, ld-mips-elf/jalx-2.dd, + ld-mips-elf/mips-elf.exp, ld-mips-elf/mips16-pic-2.ad, + ld-mips-elf/mips16-pic-2.nd, ld-mips-elf/pic-and-nonpic-3a.dd, + ld-mips-elf/pic-and-nonpic-3b.ad, ld-mips-elf/pic-and-nonpic-3b.dd, + ld-mips-elf/pic-and-nonpic-3b.nd, ld-mips-elf/pic-and-nonpic-4b.ad, + ld-mips-elf/pic-and-nonpic-4b.nd, ld-mips-elf/pic-and-nonpic-4b.rd, + ld-mips-elf/pic-and-nonpic-5b.ad, ld-mips-elf/pic-and-nonpic-5b.nd, + ld-mips-elf/pic-and-nonpic-6-n32.ad, + ld-mips-elf/pic-and-nonpic-6-n32.dd, + ld-mips-elf/pic-and-nonpic-6-n32.nd, + ld-mips-elf/pic-and-nonpic-6-n64.ad, + ld-mips-elf/pic-and-nonpic-6-n64.dd, + ld-mips-elf/pic-and-nonpic-6-n64.nd, + ld-mips-elf/pic-and-nonpic-6-o32.ad, + ld-mips-elf/pic-and-nonpic-6-o32.dd, + ld-mips-elf/pic-and-nonpic-6-o32.nd, ld-mips-elf/rel32-n32.d, + ld-mips-elf/rel32-o32.d, ld-mips-elf/rel64.d, + ld-mips-elf/tls-multi-got-1.got, ld-mips-elf/tls-multi-got-1.r, + ld-mips-elf/tlsdyn-o32-1.d, ld-mips-elf/tlsdyn-o32-1.got, + ld-mips-elf/tlsdyn-o32-2.d, ld-mips-elf/tlsdyn-o32-2.got, + ld-mips-elf/tlsdyn-o32-3.d, ld-mips-elf/tlsdyn-o32-3.got, + ld-mips-elf/tlsdyn-o32.d, ld-mips-elf/tlsdyn-o32.got, + ld-mips-elf/tlslib-o32-ver.got, ld-mips-elf/tlslib-o32.got: Update + for removal of _GLOBAL_OFFSET_TABLE_ from .dynsym. + +2013-09-18 Kyrylo Tkachov + + * ld-aarch64/eh-frame.d: Update expected output to allow for + 64-bit addresses. + +2013-09-12 Nick Clifton + + * ld-elf/eh1.d: Update expected output to allow for + 64-bit addresses. + * ld-elf/eh2.d: Likewise. + * ld-elf/eh3.d: Likewise. + * ld-elf/eh4.d: Likewise. + * ld-elf/eh5.d: Likewise. + * ld-elf/eh6.d: Likewise. + * ld-mips-elf/eh-frame1-n64.d: Likewise. + * ld-mips-elf/eh-frame2-n64.d: Likewise. + * ld-mips-elf/eh-frame3.d: Likewise. + +2013-09-04 Vidya Praveen + + * ld-arm/export-class.exp: Fix the condition. + +2013-08-29 Jakub Jelinek + + * ld-x86-64/x86-64.exp: Add tlsld3, tlsgd7 and tlsgd8 tests. + * ld-x86-64/tlspic1.s: Add -mcmodel=large -fpic TLS GD and LD + sequences. + * ld-x86-64/tlspic.dd: Adjusted. + * ld-x86-64/tlspic.rd: Adjusted. + * ld-x86-64/tlspic-nacl.rd: Adjusted. + * ld-x86-64/tlsld3.dd: New test. + * ld-x86-64/tlsld3.s: New file. + * ld-x86-64/tlsgd7.dd: New test. + * ld-x86-64/tlsgd7.s: New file. + * ld-x86-64/tlsgd8.dd: New test. + * ld-x86-64/tlsgd8.s: New file. + +2013-08-26 Roland McGrath + + * ld-x86-64/x86-64.exp (Mixed x86_64 and i386 input test 1): + Loosen string match to admit i386:x86-64*. + (Mixed x86_64 and i386 input test 2): Likewise. + * ld-x86-64/ilp32-2.d: Likewise. + * ld-x86-64/ilp32-3.d: Likewise. + * ld-x86-64/lp64-2.d: Likewise. + * ld-x86-64/lp64-3.d: Likewise. + * ld-x86-64/ia32-2.d: Likewise, and i386.* too. + * ld-x86-64/ia32-3.d: Likewise. + +2013-08-26 Roland McGrath + + * ld-x86-64/ilp32-4-nacl.d: Loosen .shstrtab line regexp to match + any file offset. + * ld-x86-64/tlsbin-nacl.rd: Update expected code segment PT_LOAD. + * ld-x86-64/tlsbindesc-nacl.rd: Likewise. + * ld-scripts/rgn-at3.d: XFAIL for *-*-nacl* targets. + * ld-scripts/rgn-over8-ok.d: Likewise. + +2013-08-24 Maciej W. Rozycki + + * ld-elf/comm-data.exp: Use check_shared_lib_support rather than + explicit patterns for test target qualification. Define extra + tool flags for *-*-hpux* and tic6x-*-* targets. Link with a + linker script. Use alternative patterns for targets that do not + eliminate copy relocs, currently mn10300-*-* and vax-*-*. + * ld-elf/comm-data2.s: Handle HPUX's `.comm' syntax. + * ld-elf/comm-data2.ld: New test linker script. + * ld-elf/comm-data2.xd: Match section's VMA too. Ignore ASCII + data dump. + * ld-elf/comm-data2r.rd: New test pattern. + * ld-elf/comm-data2r.sd: New test pattern. + * ld-elf/comm-data2r.xd: New test pattern. + * ld-mips-elf/comm-data.exp: Use check_shared_lib_support rather + than an explicit pattern for test target qualification. Link + with a linker script. + +2013-08-24 Maciej W. Rozycki + + * ld-arm/export-class.exp: Handle non-EABI targets. + +2013-08-23 Roland McGrath + + * ld-x86-64/ilp32-4-nacl.d: Update for 2013-05-31 gas alignment change. + * ld/testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise. + * ld/testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise. + * ld/testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise. + * ld/testsuite/ld-x86-64/tlspic-nacl.rd: Likewise. + +2013-08-23 Yuri Chornoivan + + PR binutils/15834 + * ld-mips-elf/mips16-pic-1.inc: Fix typos. + +2013-08-22 Alan Modra + + * ld-powerpc/powerpc.exp: Substitute for le in options_regsub(ld). + Correct ppc64elftests option replacement. + (supports_ppc64): Match elf64lppc too. + * ld-powerpc/relbrlt.d: Update for little-endian. + * ld-powerpc/symtocbase.d: Likewise. + * ld-powerpc/tls.t: Likewise. + * ld-powerpc/tlsexetoc.g: Likewise. + * ld-powerpc/tlsso.d: Likewise. + * ld-powerpc/tlsso.g: Likewise. + * ld-powerpc/tlstoc.t: Likewise. + * ld-powerpc/tlstocso.d: Likewise. + * ld-powerpc/tlstocso.g: Likewise. + * ld-powerpc/tlstocso.t: Likewise. + * ld-powerpc/tocopt.d: Likewise. + * ld-powerpc/tocopt2.d: Likewise. + * ld-powerpc/tocopt3.d: Likewise. + * ld-powerpc/tocopt4.d: Likewise. + * ld-powerpc/tocopt5.d: Likewise. + +2013-08-14 Clemens Lang + + * ld-scripts/log2.exp: New: Run the new log2 test. + * ld-scripts/log2.s: Source for the new test. + * ld-scripts/log2.t: Linker script for new test. + +2013-08-14 John Tytgat + + PR ld/15787 + * ld-arm/group-relocs-ldr-bad.s: Redefine bar into foo section + beyond 16 bit offset width. + * ld-arm/group-relocs-ldrs-bad.s: Likewise. + * ld-arm/group-relocs-ldr-bad.d: Adjust expected result. + * ld-arm/group-relocs-ldrs-bad.d: Likewise. + * ld-arm/group-relocs.s: Add comments. Move symbols used for sb + group relocations into .data section. Drop section zero. Use pc/r0 + as base register when pc/sb group relocations are used. + * ld-arm/group-relocs.d: Adjust expected result. + * ld-arm/group-relocs-alu-bad-2.d: New test for sb group relocation. + * ld-arm/group-relocs-ldc-bad-2.d: Likewise. + * ld-arm/group-relocs-ldr-bad-2.d: New test for pc group relocation. + * ld-arm/group-relocs-ldrs-bad-2.d: Likewise. + * ld-arm/unresolved-2.d: Add sb relocation failure test. + * ld-arm/group-relocs-alu-bad-2.s: New test source. + * ld-arm/group-relocs-ldr-bad-2.s: Likewise. + * ld-arm/group-relocs-ldrs-bad-2.s: Likewise. + * ld-arm/group-relocs-ldc-bad-2.s: Likewise. + * ld-arm/unresolved-2.s: Likewise. + * ld-arm/arm-elf.exp: For group-relocs, drop section zero start + definition. Run the new tests. + +2013-08-09 Nick Clifton + + * lib/ld-lib.exp (check_shared_lib_support): Note that the RL78 + does not support shared library generation. + +2013-07-31 John Tytgat + + PR ld/15787 + * ld-arm/group-relocs-alu-bad-2.d; New. + * ld-arm/group-relocs-alu-bad-2.s: New. + * ld-arm/group-relocs-ldc-bad-2.d: New. + * ld-arm/group-relocs-ldc-bad-2.s: New. + * ld-arm/group-relocs-ldr-bad-2.d: New. + * ld-arm/group-relocs-ldr-bad-2.s: New. + * ld-arm/group-relocs-ldrs-bad-2.d: New. + * ld-arm/group-relocs-ldrs-bad-2: New. + * ld-arm/arm-elf.exp: Add the new tests. + * ld-arm/group-relocs-ldr-bad.d: Update expected output. + * ld-arm/group-relocs-ldr-bad.s: Likewise. + * ld-arm/group-relocs-ldrs-bad.d: Likewise. + * ld-arm/group-relocs-ldrs-bad.s: Likewise. + * ld-arm/group-relocs.d: Likewise. + * ld-arm/group-relocs.s: Likewise. + +2013-07-27 Maciej W. Rozycki + + * ld-vax-elf/export-class-call.dd: New test. + * ld-vax-elf/export-class-call.rd: New test. + * ld-vax-elf/export-class-call.xd: New test. + * ld-vax-elf/export-class-data.dd: New test. + * ld-vax-elf/export-class-data.rd: New test. + * ld-vax-elf/export-class-data.xd: New test. + * ld-vax-elf/export-class.ld: New test linker script. + * ld-vax-elf/export-class-call.s: New test source. + * ld-vax-elf/export-class-data.s: New test source. + * ld-vax-elf/export-class-def.s: New test source. + * ld-vax-elf/vax-elf.exp: Run the new tests. + * ld-vax-elf/vax-export-class.rd: New test. + * ld-vax-elf/vax-export-class.xd: New test. + * ld-vax-elf/export-class.exp: New test script. + +2013-07-27 Maciej W. Rozycki + + * ld-vax-elf/got-local-exe.xd: New test. + * ld-vax-elf/got-local-lib.xd: New test. + * ld-vax-elf/got-local-aux.s: New test source. + * ld-vax-elf/got-local-def.s: New test source. + * ld-vax-elf/got-local-ref.s: New test source. + * ld-vax-elf/vax-elf.exp: Run the new tests. + +2013-07-24 H.J. Lu + + PR ld/15762 + * ld-elf/shared.exp (build_tests): Check .gnu.warning section + in the libbarw.so library. + * ld-elf/libbarw.rd: New. + + * lib/ld-lib.exp (run_cc_link_tests): Support checking on + output with warning message. + +2013-07-22 Sebastian Huber + + * ld-scripts/script.exp: Use run_dump_test instead of + ld_simple_link to check the error message. + * ld-scripts/align-with-input.d: New file. + * ld-scripts/region-alias-1.d: Likewise. + * ld-scripts/region-alias-2.d: Likewise. + * ld-scripts/region-alias-3.d: Likewise. + * ld-scripts/region-alias-4.d: Likewise. + +2013-07-19 Sebastian Huber + + * ld-scripts/script.exp: Run align with input test. + * ld-scripts/align-with-input.t: New file. + * ld-scripts/rgn-at8.d: Likewise. + * ld-scripts/rgn-at8.t: Likewise. + +2013-07-18 Terry Guo + + * ld-arm/thumb-b-lks-sym.d: Updated to be more flexible. + * ld-arm/thumb-bl-lks-sym.d: Likewise. + +2013-07-18 Roland McGrath + + * ld-arm/farcall-arm-nacl.d: New file. + * ld-arm/farcall-arm-nacl-pic.d: New file. + * ld-arm/farcall-data-nacl.d: New file. + * ld-arm/arm-elf.exp (armeabitests_common): Add extra element to + "action" lists for those cases to use a different dump file for NaCl + targets. + Massage $armeabitests_common to drop the extra element or the one + before it, depending on [istarget "arm*-*-nacl*"]. + + * ld-arm/arm-elf.exp (armelftests_common): Move all "Cortex-A8 + erratum fix", Thumb-only and interworking cases to ... + (armelftests_nonacl): ... here. + (armeabitests_common): Move all "erratum 760522 fix", Thumb-only + and interworking cases to ... + (armeabitests_nonacl): ... here. + +2013-07-12 Maciej W. Rozycki + + * ld-mips-elf/nan-2008.d: New test. + * ld-mips-elf/nan-legacy.d: New test. + * ld-mips-elf/nan-mixed-1.d: New test. + * ld-mips-elf/nan-mixed-2.d: New test. + * ld-mips-elf/nan-2008.s: New test source. + * ld-mips-elf/nan-legacy.s: New test source. + +2013-07-03 Marcus Shawcroft + + * ld-aarch64/emit-relocs-309.s: Replace got_prel19 with got. + * ld-aarch64/gc-relocs-309.s: Likewise. + +2013-07-02 Marcus Shawcroft + + * ld-aarch64/gc-plt-relocs.d: Adjust expected .got offsets. + * ld-aarch64/tls-desc-ie.d: Likewise. + * ld-aarch64/emit-relocs-311.d: Adjust expected symbol. + * ld-aarch64/tls-relax-all.d: Likewise. + * ld-aarch64/tls-relax-gd-ie.d: Likewise. + * ld-aarch64/tls-relax-gdesc-ie.d: Likewise. + * ld-aarch64/tls-relax-gdesc-ie-2.d: Likewise. + +2013-07-01 H.J. Lu + + * ld-x86-64/tlsg.sd: Adjusted. + +2013-06-28 H.J. Lu + + PR ld/15685 + * ld-x86-64/tlsg.s: Add a test for R_X86_64_DTPOFF64. + * ld-x86-64/tlsg.sd: Updated. + +2013-06-24 Maciej W. Rozycki + + * ld-mips-elf/jalx-2.dd: Update for microMIPS PLT support. + * ld-mips-elf/pic-and-nonpic-3a.dd: Update for the _MIPS_STUBS_ + magic symbol. + * ld-mips-elf/pic-and-nonpic-3b.dd: Likewise. + * ld-mips-elf/pic-and-nonpic-6-n32.dd: Likewise. + * ld-mips-elf/pic-and-nonpic-6-n64.dd: Likewise. + * ld-mips-elf/pic-and-nonpic-6-o32.dd: Likewise. + * ld-mips-elf/stub-dynsym-1-10000.d: Likewise. + * ld-mips-elf/stub-dynsym-1-2fe80.d: Likewise. + * ld-mips-elf/stub-dynsym-1-7fff.d: Likewise. + * ld-mips-elf/stub-dynsym-1-8000.d: Likewise. + * ld-mips-elf/stub-dynsym-1-fff0.d: Likewise. + * ld-mips-elf/tlslib-o32.d: Likewise. + +2013-06-19 Will Newton + + * ld-aarch64/aarch64-elf.exp: Remove ifunc tests. + * ld-ifunc/ifunc.exp: Disable ifunc tests on AArch64. + * ld-aarch64/ifunc-1-local.d: Remove. + * ld-aarch64/ifunc-1-local.s: Likewise. + * ld-aarch64/ifunc-1.d: Likewise. + * ld-aarch64/ifunc-1.s: Likewise. + * ld-aarch64/ifunc-10.d: Likewise. + * ld-aarch64/ifunc-10.s: Likewise. + * ld-aarch64/ifunc-11.d: Likewise. + * ld-aarch64/ifunc-11.s: Likewise. + * ld-aarch64/ifunc-12.d: Likewise. + * ld-aarch64/ifunc-12.s: Likewise. + * ld-aarch64/ifunc-13.d: Likewise. + * ld-aarch64/ifunc-13a.s: Likewise. + * ld-aarch64/ifunc-13b.s: Likewise. + * ld-aarch64/ifunc-14a.d: Likewise. + * ld-aarch64/ifunc-14a.s: Likewise. + * ld-aarch64/ifunc-14b.d: Likewise. + * ld-aarch64/ifunc-14b.s: Likewise. + * ld-aarch64/ifunc-14c.d: Likewise. + * ld-aarch64/ifunc-14c.s: Likewise. + * ld-aarch64/ifunc-14d.d: Likewise. + * ld-aarch64/ifunc-14e.d: Likewise. + * ld-aarch64/ifunc-14f.d: Likewise. + * ld-aarch64/ifunc-15.d: Likewise. + * ld-aarch64/ifunc-15.s: Likewise. + * ld-aarch64/ifunc-16.d: Likewise. + * ld-aarch64/ifunc-16.s: Likewise. + * ld-aarch64/ifunc-17a.d: Likewise. + * ld-aarch64/ifunc-17a.s: Likewise. + * ld-aarch64/ifunc-17b.d: Likewise. + * ld-aarch64/ifunc-17b.s: Likewise. + * ld-aarch64/ifunc-18a.d: Likewise. + * ld-aarch64/ifunc-18a.s: Likewise. + * ld-aarch64/ifunc-18b.d: Likewise. + * ld-aarch64/ifunc-18b.s: Likewise. + * ld-aarch64/ifunc-19a.d: Likewise. + * ld-aarch64/ifunc-19a.s: Likewise. + * ld-aarch64/ifunc-19b.d: Likewise. + * ld-aarch64/ifunc-19b.s: Likewise. + * ld-aarch64/ifunc-2-local.d: Likewise. + * ld-aarch64/ifunc-2-local.s: Likewise. + * ld-aarch64/ifunc-2.d: Likewise. + * ld-aarch64/ifunc-2.s: Likewise. + * ld-aarch64/ifunc-20.d: Likewise. + * ld-aarch64/ifunc-20.s: Likewise. + * ld-aarch64/ifunc-3.s: Likewise. + * ld-aarch64/ifunc-3a.d: Likewise. + * ld-aarch64/ifunc-3b.d: Likewise. + * ld-aarch64/ifunc-4.d: Likewise. + * ld-aarch64/ifunc-4.s: Likewise. + * ld-aarch64/ifunc-4a.d: Likewise. + * ld-aarch64/ifunc-5-local.s: Likewise. + * ld-aarch64/ifunc-5.s: Likewise. + * ld-aarch64/ifunc-5a-local.d: Likewise. + * ld-aarch64/ifunc-5a.d: Likewise. + * ld-aarch64/ifunc-5b-local.d: Likewise. + * ld-aarch64/ifunc-5b.d: Likewise. + * ld-aarch64/ifunc-5r-local.d: Likewise. + * ld-aarch64/ifunc-6.s: Likewise. + * ld-aarch64/ifunc-6a.d: Likewise. + * ld-aarch64/ifunc-6b.d: Likewise. + * ld-aarch64/ifunc-7.s: Likewise. + * ld-aarch64/ifunc-7a.d: Likewise. + * ld-aarch64/ifunc-7b.d: Likewise. + * ld-aarch64/ifunc-7c.d: Likewise. + * ld-aarch64/ifunc-8.d: Likewise. + * ld-aarch64/ifunc-8a.s: Likewise. + * ld-aarch64/ifunc-8b.s: Likewise. + * ld-aarch64/ifunc-9.d: Likewise. + * ld-aarch64/ifunc-9.s: Likewise. + +2013-06-17 Will Newton + + * ld-aarch64/ifunc-1-local.d: Enable test on aarch64_be. + * ld-aarch64/ifunc-1.d: Likewise. + * ld-aarch64/ifunc-10.d: Likewise. + * ld-aarch64/ifunc-11.d: Likewise. + * ld-aarch64/ifunc-12.d: Likewise. + * ld-aarch64/ifunc-13.d: Likewise. + * ld-aarch64/ifunc-14a.d: Likewise. + * ld-aarch64/ifunc-14b.d: Likewise. + * ld-aarch64/ifunc-14c.d: Likewise. + * ld-aarch64/ifunc-14d.d: Likewise. + * ld-aarch64/ifunc-14e.d: Likewise. + * ld-aarch64/ifunc-14f.d: Likewise. + * ld-aarch64/ifunc-15.d: Likewise. + * ld-aarch64/ifunc-16.d: Likewise. + * ld-aarch64/ifunc-17a.d: Likewise. + * ld-aarch64/ifunc-17b.d: Likewise. + * ld-aarch64/ifunc-18a.d: Likewise. + * ld-aarch64/ifunc-18b.d: Likewise. + * ld-aarch64/ifunc-19a.d: Likewise. + * ld-aarch64/ifunc-19b.d: Likewise. + * ld-aarch64/ifunc-2-local.d: Likewise. + * ld-aarch64/ifunc-2.d: Likewise. + * ld-aarch64/ifunc-20.d: Likewise. + * ld-aarch64/ifunc-3a.d: Likewise. + * ld-aarch64/ifunc-3b.d: Likewise. + * ld-aarch64/ifunc-4.d: Likewise. + * ld-aarch64/ifunc-4a.d: Likewise. + * ld-aarch64/ifunc-5a-local.d: Likewise. + * ld-aarch64/ifunc-5a.d: Likewise. + * ld-aarch64/ifunc-5b-local.d: Likewise. + * ld-aarch64/ifunc-5b.d: Likewise. + * ld-aarch64/ifunc-5r-local.d: Likewise. + * ld-aarch64/ifunc-6a.d: Likewise. + * ld-aarch64/ifunc-6b.d: Likewise. + * ld-aarch64/ifunc-7a.d: Likewise. + * ld-aarch64/ifunc-7b.d: Likewise. + * ld-aarch64/ifunc-8.d: Likewise. + * ld-aarch64/ifunc-9.d: Likewise. + * ld-ifunc/ifunc.exp: Likewise. + +2013-06-14 Yufeng Zhang + + * ld-aarch64/aarch64-elf.exp: Add 'ifunc-7c'. + * ld-aarch64/ifunc-7c.d: New test. + +2013-06-14 Yufeng Zhang + + * ld-aarch64/ifunc-1-local.d: Replace hard-coded immediate offset + with regexp. + * ld-aarch64/ifunc-1.d: Likewise. + * ld-aarch64/ifunc-2-local.d: Likewise. + * ld-aarch64/ifunc-2.d: Likewise. + * ld-aarch64/ifunc-3a.d: Likewise. + * ld-aarch64/ifunc-2-local.s: Change not to declare __GI_foo and foo + global. + +2013-06-13 Terry Guo + + PR ld/15302 + * ld-arm/branch-lks-sym.ld: New script. + * ld-arm/thumb-b-lks-sym.s: New test. + * ld-arm/thumb-b-lks-sym.d: Expected disassembly. + * ld-arm/thumb-bl-lks-sym.s: New test. + * ld-arm/thumb-bl-lks-sym.d: Expected disassembly. + * ld-arm/arm-elf.exp: Run the new tests. + +2013-06-07 Will Newton + + * ld-ifunc/ifunc.exp: Enable ifunc tests for AArch64. + * ld-aarch64/aarch64-elf.exp: Add ifunc tests. + * ld-aarch64/ifunc-1-local.d: New file. + * ld-aarch64/ifunc-1-local.s: Likewise. + * ld-aarch64/ifunc-1.d: Likewise. + * ld-aarch64/ifunc-1.s: Likewise. + * ld-aarch64/ifunc-10.d: Likewise. + * ld-aarch64/ifunc-10.s: Likewise. + * ld-aarch64/ifunc-11.d: Likewise. + * ld-aarch64/ifunc-11.s: Likewise. + * ld-aarch64/ifunc-12.d: Likewise. + * ld-aarch64/ifunc-12.s: Likewise. + * ld-aarch64/ifunc-13.d: Likewise. + * ld-aarch64/ifunc-13a.s: Likewise. + * ld-aarch64/ifunc-13b.s: Likewise. + * ld-aarch64/ifunc-14a.d: Likewise. + * ld-aarch64/ifunc-14a.s: Likewise. + * ld-aarch64/ifunc-14b.d: Likewise. + * ld-aarch64/ifunc-14b.s: Likewise. + * ld-aarch64/ifunc-14c.d: Likewise. + * ld-aarch64/ifunc-14c.s: Likewise. + * ld-aarch64/ifunc-14d.d: Likewise. + * ld-aarch64/ifunc-14e.d: Likewise. + * ld-aarch64/ifunc-14f.d: Likewise. + * ld-aarch64/ifunc-15.d: Likewise. + * ld-aarch64/ifunc-15.s: Likewise. + * ld-aarch64/ifunc-16.d: Likewise. + * ld-aarch64/ifunc-16.s: Likewise. + * ld-aarch64/ifunc-17a.d: Likewise. + * ld-aarch64/ifunc-17a.s: Likewise. + * ld-aarch64/ifunc-17b.d: Likewise. + * ld-aarch64/ifunc-17b.s: Likewise. + * ld-aarch64/ifunc-18a.d: Likewise. + * ld-aarch64/ifunc-18a.s: Likewise. + * ld-aarch64/ifunc-18b.d: Likewise. + * ld-aarch64/ifunc-18b.s: Likewise. + * ld-aarch64/ifunc-19a.d: Likewise. + * ld-aarch64/ifunc-19a.s: Likewise. + * ld-aarch64/ifunc-19b.d: Likewise. + * ld-aarch64/ifunc-19b.s: Likewise. + * ld-aarch64/ifunc-2-local.d: Likewise. + * ld-aarch64/ifunc-2-local.s: Likewise. + * ld-aarch64/ifunc-2.d: Likewise. + * ld-aarch64/ifunc-2.s: Likewise. + * ld-aarch64/ifunc-20.d: Likewise. + * ld-aarch64/ifunc-20.s: Likewise. + * ld-aarch64/ifunc-3.s: Likewise. + * ld-aarch64/ifunc-3a.d: Likewise. + * ld-aarch64/ifunc-3b.d: Likewise. + * ld-aarch64/ifunc-4.d: Likewise. + * ld-aarch64/ifunc-4.s: Likewise. + * ld-aarch64/ifunc-4a.d: Likewise. + * ld-aarch64/ifunc-5-local.s: Likewise. + * ld-aarch64/ifunc-5.s: Likewise. + * ld-aarch64/ifunc-5a-local.d: Likewise. + * ld-aarch64/ifunc-5a.d: Likewise. + * ld-aarch64/ifunc-5b-local.d: Likewise. + * ld-aarch64/ifunc-5b.d: Likewise. + * ld-aarch64/ifunc-5r-local.d: Likewise. + * ld-aarch64/ifunc-6.s: Likewise. + * ld-aarch64/ifunc-6a.d: Likewise. + * ld-aarch64/ifunc-6b.d: Likewise. + * ld-aarch64/ifunc-7.s: Likewise. + * ld-aarch64/ifunc-7a.d: Likewise. + * ld-aarch64/ifunc-7b.d: Likewise. + * ld-aarch64/ifunc-8.d: Likewise. + * ld-aarch64/ifunc-8a.s: Likewise. + * ld-aarch64/ifunc-8b.s: Likewise. + * ld-aarch64/ifunc-9.d: Likewise. + * ld-aarch64/ifunc-9.s: Likewise. + +2013-06-04 Roland McGrath + + * ld-size/size.exp: For *-*-nacl* targets, use options_regsub(ld) + to massage -m arguments into _nacl variants. + * ld/testsuite/ld-size/size32-1-i386.d: Loosen regexps so they + don't care what the exact addresses are. + * ld/testsuite/ld-size/size32-1-x32.d: Likewise. + * ld/testsuite/ld-size/size32-1-x86-64.d: Likewise. + * ld/testsuite/ld-size/size32-2-i386.d: Likewise. + * ld/testsuite/ld-size/size32-2-x32.d: Likewise. + * ld/testsuite/ld-size/size32-2-x86-64.d: Likewise. + * ld/testsuite/ld-size/size64-1-x32.d: Likewise. + * ld/testsuite/ld-size/size64-1-x86-64.d: Likewise. + * ld/testsuite/ld-size/size64-2-x32.d: Likewise. + * ld/testsuite/ld-size/size64-2-x86-64.d: Likewise. + +2013-06-04 H.J. Lu + + * ld-i386/tlsbindesc-nacl.rd: Updated for text/data/bss section + alignment change. + * ld-x86-64/split-by-file-nacl.rd: Likewise. + +2013-05-31 H.J. Lu + + * ld-i386/pr12718.d: Updated for text/data/bss section alignment + change. + * ld-i386/tlsbindesc.dd: Likewise. + * ld-i386/tlsbindesc.rd: Likewise. + * ld-i386/tlsnopic.dd: Likewise. + * ld-i386/tlspic.dd: Likewise. + * ld-x86-64/ilp32-4.d: Likewise. + * ld-x86-64/pr12718.d: Likewise. + * ld-x86-64/split-by-file.rd: Likewise. + * ld-x86-64/tlsbin.dd: Likewise. + * ld-x86-64/tlsbin.rd: Likewise. + * ld-x86-64/tlsbindesc.dd: Likewise. + * ld-x86-64/tlsbindesc.rd: Likewise. + * ld-x86-64/tlsdesc.dd: Likewise. + * ld-x86-64/tlsdesc.rd: Likewise. + * ld-x86-64/tlspic.dd: Likewise. + * ld-x86-64/tlspic.rd: Likewise. + +2013-05-29 Maciej W. Rozycki + + * ld-mips-elf/jalr3.dd: New test. + * ld-mips-elf/jalr3.ld: New test linker script. + * ld-mips-elf/mips-elf.exp: Run the new test. + +2013-05-21 Alan Modra + + PR ld/12982 + * ld-plugin/pr12982.d: Fail if RWE GNU_STACK present. + +2013-05-21 Alan Modra + + * ld-powerpc/export-class.exp (supports_ppc64): Delete. + (powerpc_export_class_test): Add "endian" param. + (abis): Add little-endian targets and test. + * ld-powerpc/powerpc-64-export-class.xd: Update for little-endian. + +2013-05-10 Joel Brobecker + + * ld-powerpc/aix-core-sec-1.hd, ld-powerpc/aix-core-sec-2.hd, + ld-powerpc/aix-core-sec-3.hd: Adjust expected section flags + for section .loader. + +2013-05-03 Maciej W. Rozycki + + PR ld/15365 + * ld-elf/ehdr_start.d: Expect __ehdr_start to be STB_LOCAL. + * ld-mips-elf/ehdr_start-1.nd: New test. + * ld-mips-elf/ehdr_start-2.nd: New test. + * ld-mips-elf/ehdr_start-1.ld: New test linker script. + * ld-mips-elf/ehdr_start-2.ld: New test linker script. + * ld-mips-elf/ehdr_start-new.s: New test source. + * ld-mips-elf/ehdr_start-o32.s: New test source. + * ld-mips-elf/mips-elf.exp: Run the new tests. + +2013-05-03 Maciej W. Rozycki + + * ld-elf/provide-hidden-s.nd: New test. + * ld-elf/provide-hidden-abs.nd: New test. + * ld-elf/provide-hidden-def.nd: New test. + * ld-elf/provide-hidden-dyn.nd: New test. + * ld-elf/provide-hidden-sec.nd: New test. + * ld-elf/provide-hidden-dynabs.nd: New test. + * ld-elf/provide-hidden-dynsec.nd: New test. + * ld-elf/provide-hidden-s.ld: New test linker script. + * ld-elf/provide-hidden-1.ld: New test linker script. + * ld-elf/provide-hidden-2.ld: New test linker script. + * ld-elf/provide-hidden-1.s: New test source. + * ld-elf/provide-hidden-2.s: New test source. + * ld-elf/provide-hidden-3.s: New test source. + * ld-elf/provide-hidden-4.s: New test source. + * ld-elf/provide-hidden.exp: New test script. + +2013-05-02 Nick Clifton + + * ld-elf/flags1.d: Expect this test to pass on the MSP430. + * ld-elf/init-fini-arrays.d: Expect this test to fail on the + MSP430. + * ld-elf/merge.d: Expect this test to pass on the MSP430. + * ld-elf/sec64k.exp: Skip these tests for the MSP430. + * ld-gc/pr13683.d: Expect this test to fail on the MSP430. + * ld-srec/srec.exp: Expect these tests to fail on the MSP430. + * ld-undefined/undefined.exp: Expect the UNDEFINED LINE test to + fail on the MSP430. + +2013-05-01 Maciej W. Rozycki + + * lib/ld-lib.exp (check_shared_lib_support): Also exclude + mips*-*-elf. + +2013-04-30 Hans-Peter Nilsson + + * lib/ld-lib.exp (check_shared_lib_support): Match cris*-*-elf as + a negative pattern instead of cris*-*-*. + +2013-04-30 Will Newton + + * ld-arm/arm-elf.exp: Use linker script for IFUNC test 17. + * ld-arm/ifunc-17.dd: Update offsets for linker script. + * ld-arm/ifunc-17.gd: Likewise. + * ld-arm/ifunc-17.rd: Likewise. + +2013-04-29 Will Newton + + * ld-arm/arm-elf.exp: Add IFUNC test 17. + * ld-arm/ifunc-17.dd: New file. + * ld-arm/ifunc-17.gd: Likewise. + * ld-arm/ifunc-17.rd: Likewise. + * ld-arm/ifunc-17.s: Likweise. + * ld-arm/ifunc-1.rd: Reorder relocs to match linker output. + * ld-arm/ifunc-2.rd: Likewise. + * ld-arm/ifunc-5.rd: Likewise. + * ld-arm/ifunc-6.rd: Likewise. + +2013-04-29 Will Newton + + * ld-plugin/lto.exp: Disable ld/12942 test for gcc < 4.7.0. + +2013-04-22 Alan Modra + + * ld-powerpc/tlsexe.d: Adjust for section id changes. + * ld-powerpc/tlsexe.r: Likewise. + * ld-powerpc/tlsexetoc.d: Likewise. + * ld-powerpc/tlsexetoc.r: Likewise. + * ld-powerpc/tlsso.d: Likewise. + * ld-powerpc/tlsso.r: Likewise. + * ld-powerpc/tlstocso.d: Likewise. + * ld-powerpc/tlstocso.r: Likewise. + +2013-04-15 H.J. Lu + + PR ld/15371 + * ld-ifunc/ifunc-20-i386.d: New file. + * ld-ifunc/ifunc-20-x86-64.d: Likewise. + * ld-ifunc/ifunc-20.s: Likewise. + +2013-04-10 Venkataramanan Kumar + + * ld-aarch64/gc-plt1.s: New file. + * ld-aarch64/gc-plt2.s: Likewise. + * ld-aarch64/gc-plt-hidden.s: Likewise. + * ld-aarch64/gc-plt-main.s: Likewise. + * ld-aarch64/gc-relocs-257.s: Likewise. + * ld-aarch64/gc-plt-relocs.d: Update expected objdump. + * ld-aarch64/gc-relocs-257.d: Likewise. + * ld-aarch64/gc-relocs-257-dyn.d: Likewise. + * ld-aarch64/aarch64-elf.exp: Add test. + +2013-04-08 Ramana Radhakrishnan + + * ld-aarch64/gc-tls-relocs.d: Handle big endian format. + * ld-aarch64/gc-got-relocs.d: Likewise. + +2013-04-04 Alan Modra + + * ld-elf/shared.exp: Update regexp on --no-add-needed and + --no-copy-dt-needed-entries tests. + +2013-04-03 Alan Modra + + PR ld/15227 + * ld-plugin/lto.exp (PR ld/12942 (3)): Remove file name and + line number from regexp. + (PR ld/15146 (2)): Similarly. + * ld-plugin/pr12942a.cc (main): Use __builtin_abort. + +2013-03-30 Alan Modra + + PR ld/15323 + * ld-plugin/lto.exp (pr15323a.c): Compile without -flto rather + than using -r to effectively strip out lto info. + +2013-03-29 H.J. Lu + + PR ld/15323 + * ld-plugin/lto.exp (lto_link_tests): Add pr15323a-r.o. + (lto_run_tests): Add a test for PR ld/15323. + + * ld-plugin/pr15323.out: New file. + * ld-plugin/pr15323a.c: Likewise. + * ld-plugin/pr15323b.c: Likewise. + +2013-03-22 Nick Clifton + + * ld-elf/init0.s: Add alloc attribute to .section directive. + * ld-elf/fini1.s: Likewise. + * ld-elf/fini2.s: Likewise. + * ld-elf/fini3.s: Likewise. + * ld-elf/finin.s: Likewise. + * ld-elf/init0.s: Likewise. + * ld-elf/init1.s: Likewise. + * ld-elf/init2.s: Likewise. + * ld-elf/init3.s: Likewise. + * ld-elf/initn.s: Likewise. + +2013-02-02 Michael Schewe + + * ld-h8300/h8300.exp: Add new relax-7 test on ELF. + * ld-h8300/relax-2.s: Add other direction and .w/.l variants of + mov insns. + * ld-h8300/relax-2.d: Update expected disassembly. + * ld-h8300/relax-7a.s: New: tests for mov @(disp:32,ERx) -> mov + @(disp:16,ERx). + * ld-h8300/relax-7b.s: New: Likewise. + * ld-h8300/relax-7.d: New: expected disassembly. + +2013-03-20 Venkataramanan Kumar + + * ld-elf/group8a.d (notarget): Remove aarch64*-*-*. + * ld-elf/group8b.d: Likewise. + * ld-elf/group9a.d: Likewise. + * ld-elf/group9b.d: Likewise. + * ld-elf/pr12851.d: Likewise. + * ld-elf/pr12975.d: Likewise. + * ld-elf/pr13177.d: Likewise. + * ld-elf/pr13195.d: Likewise. + +2013-03-20 Will Newton + + * ld-elfvers/vers.exp (objdump_symstuff): Sort objdump output + based on the symbol name rather than address. + * ld-elfvers/vers1.sym: Reorder contents to match changes to vers.exp. + * ld-elfvers/vers15.sym: Likewise. + * ld-elfvers/vers18.sym: Likewise. + * ld-elfvers/vers21.sym: Likewise. + * ld-elfvers/vers9.sym: Likewise. + +2013-03-20 Alan Modra + + * ld-elf/rel.c, ld-elf/relmain.c, ld-elf/relmain.out: New test. + * ld-elf/shared.exp: Build and run it. + +2013-03-20 Alan Modra + Will Newton + + * ld-elf/pr14862.out: Expect no output. + +2013-03-15 Will Newton + + * ld-arm/arm-elf.exp: Expand *-*eabi test to cover *-*eabi*. + * ld-arm/gc-hidden-1.d: Likewise. + * ld-elfvsb/elfvsb.exp: Likewise. + * ld-shared/shared.exp: Likewise. + +2013-03-08 Venkataramanan Kumar + + * lib/ld-lib.exp (check_gc_sections_available): Remove aarch64 + from list of targets that don't support gc-section. + +2013-03-05 Alan Modra + + * ld-scripts/rgn-at6.s, * ld-scripts/rgn-at6.t, * ld-scripts/rgn-at6.d, + * ld-scripts/rgn-at7.t, * ld-scripts/rgn-at7.d: New tests. + +2013-02-28 Nathan Sidwell + + * ld-arm/tls-local-static.s: New test. + * ld-arm/tls-local-static.d: New. + * ld-arm/arm-elf.exp (tls-local-static): Add test. + +2013-02-21 H.J. Lu + + PR ld/15167 + * ld-unique/unique.exp: Add a test for shared library with + reference. + +2013-02-19 Maciej W. Rozycki + + * lib/ld-lib.exp (run_ld_link_tests): Add another argument, pass + its contents to ar_simple_create and ld_simple_link after + objfiles. + * ld-aarch64/aarch64-elf.exp: Adjust accordingly. + * ld-alpha/alpha.exp: Likewise. + * ld-arm/arm-elf.exp: Likewise. + * ld-arm/export-class.exp: Likewise. + * ld-elf/comm-data.exp: Likewise. + * ld-elf/eh-group.exp: Likewise. + * ld-elf/elf.exp: Likewise. + * ld-elf/export-class.exp: Likewise. + * ld-elfvers/vers.exp: Likewise. + * ld-frv/tls.exp: Likewise. + * ld-i386/export-class.exp: Likewise. + * ld-i386/i386.exp: Likewise. + * ld-ia64/ia64.exp: Likewise. + * ld-libs/libs.exp: Likewise. + * ld-m68k/m68k.exp: Likewise. + * ld-metag/metag.exp: Likewise. + * ld-mips-elf/comm-data.exp: Likewise. + * ld-mips-elf/export-class.exp: Likewise. + * ld-mips-elf/mips-elf.exp: Likewise. + * ld-mn10300/mn10300.exp: Likewise. + * ld-pe/pe-compile.exp: Likewise. + * ld-pe/pe.exp: Likewise. + * ld-plugin/plugin.exp: Likewise. + * ld-powerpc/aix52.exp: Likewise. + * ld-powerpc/export-class.exp: Likewise. + * ld-powerpc/powerpc.exp: Likewise. + * ld-s390/s390.exp: Likewise. + * ld-sh/sh-vxworks.exp: Likewise. + * ld-sh/sh64/sh64.exp: Likewise. + * ld-sparc/sparc.exp: Likewise. + * ld-tic6x/tic6x.exp: Likewise. + * ld-tilegx/tilegx.exp: Likewise. + * ld-tilepro/tilepro.exp: Likewise. + * ld-undefined/entry.exp: Likewise. + * ld-vax-elf/vax-elf.exp: Likewise. + * ld-x86-64/dwarfreloc.exp: Likewise. + * ld-x86-64/export-class.exp: Likewise. + * ld-x86-64/x86-64.exp: Likewise. + * ld-xc16x/xc16x.exp: Likewise. + * ld-xstormy16/xstormy16.exp: Likewise. + * ld-xtensa/xtensa.exp: Likewise. + +2013-02-18 Maciej W. Rozycki + + * ld-mips-elf/jalx-2.ld: Include .rel.plt in output, give .plt a + mapping. + * ld-mips-elf/jalx-2.dd: Adjust disassembly accordingly. + +2013-02-18 Alan Modra + + * ld-plugin/lto.exp (Build pr15146b.so) Add -Wl,--no-as-needed. + (PR ld/15146 (1), (2)): Likewise. + (LTO 7): Likewise. + +2013-02-16 H.J. Lu + + PR ld/15146 + * ld-plugin/pr15146.d: New file. + * ld-plugin/pr15146a.c: Likewise. + * ld-plugin/pr15146b.c: Likewise. + * ld-plugin/pr15146c.c: Likewise. + * ld-plugin/pr15146d.c: Likewise. + + * ld-plugin/lto.exp: Add tests for PR ld/15146. + +2013-02-15 Markos Chandras + + * ld-metag/pcrel.d: Fix the expected disassembler + output to be in little endian format + * ld-metag/shared.d: likewise + * ld-metag/stub.d: likewise + * ld-metag/stub_pic_app.d: likewise + * ld-metag/stub_pic_shared.d: likewise + * ld-metag/stub_shared.d: likewise + +2013-02-13 Richard Sandiford + + * ld-mips-elf/mips16-pic-2.dd, + ld-mips-elf/mips16-pic-2.gd: Remove 3 unused local GOT entries. + * ld-mips-elf/got-page-4a.s, ld-mips-elf/got-page-4b.s, + ld-mips-elf/got-page-4a.d, ld-mips-elf/got-page-4a.got, + ld-mips-elf/got-page-4b.d, ld-mips-elf/got-page-4b.got, + ld-mips-elf/got-page-5.s, ld-mips-elf/got-page-5.d, + ld-mips-elf/got-page-5.got, ld-mips-elf/got-page-6.s, + ld-mips-elf/got-page-6.d, ld-mips-elf/got-page-6.got, + ld-mips-elf/got-page-7a.s, ld-mips-elf/got-page-7b.s, + ld-mips-elf/got-page-7c.s, ld-mips-elf/got-page-7d.s, + ld-mips-elf/got-page-7e.s, ld-mips-elf/got-page-7.d, + ld-mips-elf/got-page-7.got: New tests. + * ld-mips-elf/mips-elf.exp: Run them. + +2013-02-11 Richard Sandiford + + * ld-mips-elf/tlsdyn-o32-1.d, ld-mips-elf/tlsdyn-o32-1.got, + ld-mips-elf/tlsdyn-o32-2.d, ld-mips-elf/tlsdyn-o32-2.got, + ld-mips-elf/tlsdyn-o32-3.d, ld-mips-elf/tlsdyn-o32-3.got, + ld-mips-elf/tls-hidden3.d, ld-mips-elf/tls-hidden3.got: Update + for new hash table order. + +2013-02-11 Richard Sandiford + + * ld-mips-elf/tls-hidden4.got, ld-mips-elf/tls-multi-got-1.d, + ld-mips-elf/tls-multi-got-1.got: Update for changes in the order + that symbols are added to per-bfd GOTs. + +2013-02-11 Richard Sandiford + + * ld-mips-elf/tls-hidden3.d, ld-mips-elf/tls-hidden3.got, + ld-mips-elf/tls-multi-got-1.got, ld-mips-elf/tlsbin-o32.d, + ld-mips-elf/tlsbin-o32.got, ld-mips-elf/tlsdyn-o32-1.d, + ld-mips-elf/tlsdyn-o32-1.got, ld-mips-elf/tlsdyn-o32-2.d, + ld-mips-elf/tlsdyn-o32-2.got, ld-mips-elf/tlsdyn-o32-3.d, + ld-mips-elf/tlsdyn-o32-3.got, ld-mips-elf/tlsdyn-o32.d, + ld-mips-elf/tlsdyn-o32.got, ld-mips-elf/tlslib-o32.d, + ld-mips-elf/tlslib-o32.got, ld-mips-elf/tlslib-o32-hidden.got, + ld-mips-elf/tlslib-o32-ver.got: Adjust GOT layout for new + got_entry hash function. + +2013-02-11 Richard Sandiford + + * ld-mips-elf/tlsdyn-o32-2.got, ld-mips-elf/tlsdyn-o32-3.got: Remove + unused GOT entries. + +2013-02-07 H.J. Lu + + PR ld/15107 + * ld-unique/unique_empty.s: Add reference to "b". + +2013-02-06 H.J. Lu + + * ld-size/size-10.rd: Updated. + * ld-size/size-8.rd: Likewise. + * ld-size/size32-2-i386.d: Likewise. + * ld-size/size32-2-x32.d: Likewise. + * ld-size/size32-2-x86-64.d: Likewise. + * ld-size/size64-2-x32.d: Likewise. + * ld-size/size64-2-x86-64.d: Likewise. + + * ld-size/size.exp (run_time_tests): Pass --hash-styl=gnu to + linker for size-8 test. + +2013-02-06 Sandra Loosemore + Andrew Jenner + + Based on patches from Altera Corporation. + + * ld-nios2/emit-relocs-1a.s: New. + * ld-nios2/emit-relocs-1b.s: New. + * ld-nios2/emit-relocs-1.d: New. + * ld-nios2/emit-relocs-1.ld: New. + * ld-nios2/gprel.d: New. + * ld-nios2/gprel.s: New. + * ld-nios2/hilo16.d: New. + * ld-nios2/hilo16.s: New. + * ld-nios2/hilo16_symbol.s: New. + * ld-nios2/imm5.d: New. + * ld-nios2/imm5.s: New. + * ld-nios2/imm5_symbol.s: New. + * ld-nios2/nios2.exp: New. + * ld-nios2/pcrel16.d: New. + * ld-nios2/pcrel16_label.s: New. + * ld-nios2/pcrel16.s: New. + * ld-nios2/relax_callr.d: New. + * ld-nios2/relax_callr.ld: New. + * ld-nios2/relax_callr.s: New. + * ld-nios2/relax_cjmp.d: New. + * ld-nios2/relax_cjmp.s: New. + * ld-nios2/relax_jmp.ld: New. + * ld-nios2/relax_section.d: New. + * ld-nios2/relax_section.s: New. + * ld-nios2/relax_ujmp.d: New. + * ld-nios2/relax_ujmp.s: New. + * ld-nios2/reloc.d: New. + * ld-nios2/reloc.s: New. + * ld-nios2/reloc_symbol.s: New. + * ld-nios2/s16.d: New. + * ld-nios2/s16.s: New. + * ld-nios2/s16_symbol.s: New. + * ld-nios2/u16.d: New. + * ld-nios2/u16.s: New. + * ld-nios2/u16_symbol.s: New. + * ld-elf/indirect.exp: Skip on targets that don't support + -shared -fPIC. + * ld-elfcomm/elfcomm.exp: Build with -G0 for nios2. + * ld-plugin/lto.exp: Skip shared library tests on targets that + don't support them. Skip execution tests on non-native targets. + +2013-02-06 H.J. Lu + + * ld-elf/now-1.d: New file. + * ld-elf/now-2.d: Likewise. + * ld-elf/now-3.d: Likewise. + * ld-elf/now-4.d: Likewise. + * ld-elf/rpath-1.d: Likewise. + * ld-elf/rpath-2.d: Likewise. + * ld-elf/runpath-1.d: Likewise. + * ld-elf/runpath-2.d: Likewise. + +2013-02-06 Alan Modra + + PR ld/15096 + * ld-elf/new-dtags-1.d: Delete. + * ld-elf/new-dtags-2.d: Likewise. + * ld-elf/new-dtags-3.d: Likewise. + * ld-elf/new-dtags-4.d: Likewise. + * ld-elf/new-dtags-5.d: Likewise. + * ld-elf/new-dtags-6.d: Likewise. + * ld-elf/new-dtags-7.d: Likewise. + * ld-elf/new-dtags-8.d: Likewise. + +2013-02-04 H.J. Lu + + PR ld/15096 + * ld-elf/new-dtags-1.d: New test. + * ld-elf/new-dtags-2.d: Likewise. + * ld-elf/new-dtags-3.d: Likewise. + * ld-elf/new-dtags-4.d: Likewise. + * ld-elf/new-dtags-5.d: Likewise. + * ld-elf/new-dtags-6.d: Likewise. + * ld-elf/new-dtags-7.d: Likewise. + * ld-elf/new-dtags-8.d: Likewise. + +2013-01-31 Alan Modra + + * ld-powerpc/tlsexe.d: Update for changed stub names. + * ld-powerpc/tlsexe.r: Likewise. + * ld-powerpc/tlsexetoc.d: Likewise. + * ld-powerpc/tlsexetoc.r: Likewise. + * ld-powerpc/tlsso.d: Likewise. + * ld-powerpc/tlsso.r: Likewise. + * ld-powerpc/tlstocso.d: Likewise. + * ld-powerpc/tlstocso.r: Likewise. + +2013-01-31 Hans-Peter Nilsson + + * ld-cris/libdso-13.d: Adjust for --enable-new-dtags now + default for *-*-linux-* by passing explicitly for all targets. + +2013-01-21 Alan Modra + + * ld-size/size.exp (build_tests ): Pass + --no-as-needed in cflags. + +2013-01-19 H.J. Lu + + * config/default.exp (get_target_emul): Also set HOSTING_SCRT0. + + * lib/ld-lib.exp (default_ld_link): Use HOSTING_SCRT0 for -pie. + +2013-01-18 H.J. Lu + + * ld-size/size-10.rd: Updated. + * ld-size/size-8.rd: Likewise. + * ld-size/size32-2-i386.d: Likewise. + * ld-size/size32-2-x32.d: Likewise. + * ld-size/size32-2-x86-64.d: Likewise. + * ld-size/size64-2-x32.d: Likewise. + * ld-size/size64-2-x86-64.d: Likewise. + +2013-01-17 H.J. Lu + + * ld-size/size-7.out: New file. + * ld-size/size-8.out: Likewise. + * ld-size/size-9.out: Likewise. + * ld-size/size-9.rd: Likewise. + * ld-size/size-9a.c: Likewise. + * ld-size/size-9b.c: Likewise. + * ld-size/size-10.out: Likewise. + * ld-size/size-10.rd: Likewise. + * ld-size/size-10a.c: Likewise. + * ld-size/size-10b.c: Likewise. + + * ld-size/size.exp (build_tests): Build libsize-9.so and + libsize-10.so. + Run-time size relocation tests if supported. + (run_time_tests): New. + +2013-01-17 H.J. Lu + + * ld-size/size-1.c: New file. + * ld-size/size-1.out: Likewise. + * ld-size/size-1a.c: Likewise. + * ld-size/size-1b.c: Likewise. + * ld-size/size-2.c: Likewise. + * ld-size/size-2.out: Likewise. + * ld-size/size-2a.c: Likewise. + * ld-size/size-2b.c: Likewise. + + * ld-size/size.exp (build_tests): Build libsize-1.so and + libsize-2.so. + (run_tests): Run size-1 and size-2. + +2013-01-17 H.J. Lu + + * ld-size/size32-3-i386.d: New file. + * ld-size/size32-3-x32.d: Likewise. + * ld-size/size32-3-x86-64.d: Likewise. + * ld-size/size32-3a.s: Likewise. + * ld-size/size32-3b.s: Likewise. + +2013-01-16 H.J. Lu + + * ld-size/size.exp: New file. + * ld-size/size32-1-i386.d: Likewise. + * ld-size/size32-1-x32.d: Likewise. + * ld-size/size32-1-x86-64.d: Likewise. + * ld-size/size32-1.s: Likewise. + * ld-size/size32-2-i386.d: Likewise. + * ld-size/size32-2-x32.d: Likewise. + * ld-size/size32-2-x86-64.d: Likewise. + * ld-size/size32-2.s: Likewise. + * ld-size/size64-1-x32.d: Likewise. + * ld-size/size64-1-x86-64.d: Likewise. + * ld-size/size64-1.s: Likewise. + * ld-size/size64-2-x32.d: Likewise. + * ld-size/size64-2-x86-64.d: Likewise. + * ld-size/size64-2.s: Likewise. + * ld-size/size-3.c: Likewise. + * ld-size/size-3.out: Likewise. + * ld-size/size-3a.c: Likewise. + * ld-size/size-3b.c: Likewise. + * ld-size/size-3c.c: Likewise. + * ld-size/size-4.out: Likewise. + * ld-size/size-4a.c: Likewise. + * ld-size/size-4b.c: Likewise. + * ld-size/size-5.out: Likewise. + * ld-size/size-5a.c: Likewise. + * ld-size/size-5b.c: Likewise. + * ld-size/size-6.out: Likewise. + * ld-size/size-6a.c: Likewise. + * ld-size/size-6b.c: Likewise. + * ld-size/size-7.rd: Likewise. + * ld-size/size-7a.c: Likewise. + * ld-size/size-7b.c: Likewise. + * ld-size/size-8.rd: Likewise. + * ld-size/size-8a.c: Likewise. + * ld-size/size-8b.c: Likewise. + +2013-01-16 Alan Modra + + * ld-plugin/lto.exp (lto-9.o, pr13229.o): Pass -finline. + +2013-01-15 Alan Modra + + * ld-powerpc/tlsso.d: Adjust for plt-thread-safe stubs. + * ld-powerpc/tlsso.g: Likewise. + * ld-powerpc/tlsso.r: Likewise. + * ld-powerpc/tlstocso.d: Likewise. + * ld-powerpc/tlstocso.g: Likewise. + +2013-01-15 Alan Modra + + * ld-plugin/lto-16a.d: Match powerpc64 function symbol type. + * ld-plugin/lto-16b.d: Likewise. + * ld-plugin/lto-17a.d: Likewise. + * ld-plugin/lto-17b-2.d: Likewise. + +2013-01-14 Alan Modra + + * ld-elf/pr14926.d: Disable for d10v, msp, xstormy. + * ld-elf/sec-to-seg.exp: Choose correct variant output to suit + updated microblaze page size. + +2013-01-10 Will Newton + + * ld-elf/merge.d: Mark Meta as xfail. + * ld-gc/start.d: Skip this test on Meta. + * ld-gc/personality.d: Skip this test on Meta. + * ld-metag/external.s: New file. + * ld-metag/metag.exp: New file. + * ld-metag/pcrel.d: New file. + * ld-metag/pcrel.s: New file. + * ld-metag/shared.d: New file. + * ld-metag/shared.r: New file. + * ld-metag/shared.s: New file. + * ld-metag/stub.d: New file. + * ld-metag/stub.s: New file. + * ld-metag/stub_pic_app.d: New file. + * ld-metag/stub_pic_app.r: New file. + * ld-metag/stub_pic_app.s: New file. + * ld-metag/stub_pic_shared.d: New file. + * ld-metag/stub_pic_shared.s: New file. + * ld-metag/stub_shared.d: New file. + * ld-metag/stub_shared.r: New file. + * ld-metag/stub_shared.s: New file. + +2013-01-08 Thomas Schwinge + + * ld-i386/export-class.exp: Restore (and reword) comment about + excluded targets. + +2013-01-04 Yufeng Zhang + + * ld-aarch64/emit-relocs-264.d: Append the '-Mno-aliases' option to + the objdump directive. + * ld-aarch64/emit-relocs-266.d: Ditto. + * ld-aarch64/emit-relocs-268.d: Ditto. + * ld-aarch64/emit-relocs-269.d: Ditto. + * ld-aarch64/emit-relocs-270.d: Ditto. + * ld-aarch64/emit-relocs-271.d: Ditto. + * ld-aarch64/emit-relocs-272.d: Ditto. + +For older changes see ChangeLog-2012 + +Copyright (C) 2013 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index fbb86a3d2a9..3147f6f3e35 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -2,1359 +2,9 @@ * nds32-asm.c (parse_operand): Fix out-of-range integer constant. -2013-12-17 Kuan-Lin Chen - - * nds32-dis.c (sr_map): Add system register table for disassembling. - (usr_map): Fix typo. - * nds32-asm.c (keyword_sr): Add embedded debug registers. - -2013-12-17 Michael Zolotukhin - - * i386-dis.c (MOD_FF_REG_3): New. - (MOD_FF_REG_5): Likewise. - (mod_table): Add MOD_FF_REG_3 and MOD_FF_REG_5. - (reg_table): Use MOD_FF_REG_3 and MOD_FF_REG_5. - -2013-12-16 Andrew Bennett - - * mips-dis.c: Add mips_cp1_names pointer. - (mips_cp1_names_numeric): New array. - (mips_cp1_names_mips3264): New array. - (mips_arch_choice): Add cp1_names. - (mips_arch_choices): Add relevant cp1 register name array to each of - the elements. - (set_default_mips_dis_options): Add support for setting up the - mips_cp1_names pointer. - (parse_mips_dis_option): Add support for the cp1-names command line - variable. Also setup the mips_cp1_names pointer. - (print_reg): Print out name of the cp1 register. - -2013-12-16 Andrew Bennett - - * micromips-opc.c (decode_micromips_operand): Reduced range of +o, +u, - +v and +w. - (micromips_opcodes): Reduced element index range for sldi, splati, - copy_s, copy_u, insert and insve instructions. - * opcodes/mips-opc.c (decode_mips_operand): Reduced range of +o, +u, - +v and +w. - (mips_builtin_opcodes): Reduced element index range for sldi, splati, - copy_s, copy_u, insert and insve instructions. - -2013-12-13 Jan-Benedict Glaw - - * nds32-dis.c (mnemonic_96): Fix typo. - -2013-12-13 Kuan-Lin Chen - Wei-Cheng Wang - - * Makefile.am (TARGET_LIBOPCODES_CFILES): Add nds32-asm.c - and nds32-dis.c. - * Makefile.in: Regenerate. - * configure.in: Add case for bfd_nds32_arch. - * configure: Regenerate. - * disassemble.c (ARCH_nds32): Define. - * nds32-asm.c: New file for nds32. - * nds32-asm.h: New file for nds32. - * nds32-dis.c: New file for nds32. - * nds32-opc.h: New file for nds32. - -2013-12-05 Nick Clifton - - * s390-mkopc.c (dumpTable): Provide a format string to printf so - that compiling with -Werror=format-security does not produce an - error. - -2013-11-20 Yufeng Zhang - - * aarch64-opc.c (aarch64_pstatefields): Update. - -2013-11-19 Catherine Moore - - * micromips-opc.c (LM): Define. - (micromips_opcodes): Add LM to load instructions. - * mips-opc.c (prefe): Add LM attribute. - -2013-11-18 Yufeng Zhang - - Revert - - 2013-11-15 Yufeng Zhang - - * aarch64-opc.c (CPENT): New define. - (F_READONLY, F_WRITEONLY): Likewise. - (aarch64_sys_regs): Add trace unit registers. - (aarch64_sys_reg_readonly_p): New function. - (aarch64_sys_reg_writeonly_p): Ditto. - -2013-11-15 Yufeng Zhang - - * aarch64-opc.c (CPENT): New define. - (F_READONLY, F_WRITEONLY): Likewise. - (aarch64_sys_regs): Add trace unit registers. - (aarch64_sys_reg_readonly_p): New function. - (aarch64_sys_reg_writeonly_p): Ditto. - -2013-11-15 Maciej W. Rozycki - - * mips-opc.c (mips_builtin_opcodes): Add RD_2 to "mfcr" and - "mtcr". - -2013-11-11 Catherine Moore - - * mips-dis.c (print_insn_mips): Use - INSN_LOAD_MEMORY instead of INSN_LOAD_MEMORY_DELAY. - (print_insn_micromips): Likewise. - * mips-opc.c (LDD): Remove. - (CLD): Include INSN_LOAD_MEMORY. - (LM): New. - (mips_builtin_opcodes): Use LM instead of LDD. - Add LM to load instructions. - -2013-11-08 H.J. Lu - - PR gas/16140 - * i386-gen.c (cpu_flag_init): Remove CpuNop from CPU_K6_2_FLAGS. - * i386-init.h: Regenerated. - -2013-11-05 Yufeng Zhang - - * aarch64-opc.c (F_DEPRECATED): New macro. - (aarch64_sys_regs): Update; flag "spsr_svc" and "spsr_hyp" with - F_DEPRECATED. - (aarch64_print_operand): Call aarch64_sys_reg_deprecated_p on - AARCH64_OPND_SYSREG. - -2013-11-05 Yufeng Zhang - - * aarch64-dis.c (convert_ubfm_to_lsl): Check for cond != '111x'. - (convert_from_csel): Likewise. - * aarch64-opc.c (operand_general_constraint_met_p): Handle - AARCH64_OPND_CLASS_COND and AARCH64_OPND_COND1. - (aarch64_print_operand): Handle AARCH64_OPND_COND1. - * aarch64-tbl.h (aarch64_opcode_table): Use COND1 instead of - COND for cinc, cset, cinv, csetm and cneg. - (AARCH64_OPERANDS): Add entry for AARCH64_OPND_COND1. - * aarch64-asm-2.c: Re-generated. - * aarch64-dis-2.c: Ditto. - * aarch64-opc-2.c: Ditto. - -2013-11-05 Yufeng Zhang - - * aarch64-opc.c (set_syntax_error): New function. - (operand_general_constraint_met_p): Replace set_other_error - with set_syntax_error. - -2013-10-30 Andreas Arnez - - * s390-dis.c (init_disasm): Default to full 'zarch' opcode - availability even for 31-bit programs. - -2013-10-15 Ramana Radhakrishnan - - * arm-dis.c (neon_opcodes): Adjust print string for vshll. - -2013-10-14 Chao-ying Fu - - * micromips-opc.c (decode_micromips_operand): Add +T, +U, +V, +W, - +d, +e, +h, +k, +l, +n, +o, +u, +v, +w, +x, - +~, +!, +@, +#, +$, +%, +^, +&, +*, +|. - (MSA): New define. - (MSA64): New define. - (micromips_opcodes): Add MSA instructions. - * mips-dis.c (msa_control_names): New array. - (mips_abi_choice): Add ASE_MSA to mips32r2. - Remove ASE_MDMX from mips64r2. - Add ASE_MSA and ASE_MSA64 to mips64r2. - (parse_mips_dis_option): Handle -Mmsa. - (print_reg): Handle cases for OP_REG_MSA and OP_REG_MSA_CTRL. - (print_insn_arg): Handle cases for OP_IMM_INDEX and OP_REG_INDEX. - (print_mips_disassembler_options): Print -Mmsa. - * mips-opc.c (decode_mips_operand): Add +T, +U, +V, +W, +d, +e, +h, +k, - +l, +n, +o, +u, +v, +w, +~, +!, +@, +#, +$, +%, +^, +&, +*, +|. - (MSA): New define. - (MSA64): New define. - (mips_builtin_op): Add MSA instructions. - -2013-10-13 Sandra Loosemore - - * nios2-opc.c (nios2_builtin_reg): Use "sstatus" rather than "ba" - as the primary name of r30. - -2013-10-12 Jan Beulich - - * i386-dis.c (intel_operand_size): Move v_bnd_mode alongside the - default case. - (OP_E_register): Move v_bnd_mode alongside m_mode. - * i386-opc.tbl (bndcl, bndcu, bndcn): Split 32- and 64-bit variants. - Drop Reg16 and Disp16. Add NoRex64. - (bndmk, bndmov, bndldx, bndstx): Drop Disp16. - * i386-tbl.h: Re-generate. - -2013-10-10 Sean Keys - - * xgate-opc.c (xgate_opcode): Remove short_hand field from opcode - table. - * xgate-dis.c (print_insn): Refactor to work with table change. - -2013-10-10 Roland McGrath - - * i386-dis.c (oappend_maybe_intel): New function. - (OP_ST, OP_STi, append_seg, OP_I, OP_I64, OP_sI, OP_ESreg): Use it. - (OP_C, OP_T, CMP_Fixup, OP_EX_VexImmW): Likewise. - (VCMP_Fixup, VPCMP_Fixup, PCLMUL_Fixup): Likewise. - - * cr16-opc.c (REG): Cast NAME to 'reg' enum type to suppress - possible compiler warnings when the union's initializer is - actually meant for the 'preg' enum typed member. - * crx-opc.c (REG): Likewise. - - * v850-dis.c (v850_cacheop_codes, v850_prefop_codes): - Remove duplicate const qualifier. - -2013-10-08 Jan Beulich - - * i386-opc.tbl (invlpg): Use Anysize instead of Unspecified. - (clflush): Use Anysize instead of Byte|Unspecified. - (prefetch*): Likewise. - * i386-tbl.h: Re-generate. - -2013-10-07 Chao-ying Fu - - * micromips-opc.c (micromips_opcodes): Fix dmfgc0 and dmtgc0. - -2013-09-30 H.J. Lu - - * i386-opc.tbl: Add Size64 to movq/vmovq with Reg64 operand. - * i386-init.h: Regenerated. - -2013-09-30 Saravanan Ekanathan - - * i386-gen.c (cpu_flag_init): Add CPU_BDVER4_FLAGS. - * i386-init.h: Regenerated. - -2013-09-20 Alan Modra - - * configure: Regenerate. - -2013-09-17 Richard Sandiford - - * s390-opc.txt (clih): Make the immediate unsigned. - -2013-09-04 Roland McGrath - - PR gas/15914 - * arm-dis.c (arm_opcodes): Add udf. - (thumb_opcodes): Use "udf" mnemonic rather than UNDEFINED_INSTRUCTION. - (thumb32_opcodes): Add udf.w. - (print_insn_thumb32): Handle %H as the thumb32_opcodes comment says. - -2013-09-02 Andreas Krebbel - - * s390-opc.txt: Fix description for fiebra, fidbra, and fixbra. - For the load fp integer instructions only the suppression flag was - new with z196 version. - -2013-08-28 Nick Clifton - - * aarch64-opc.c (aarch64_logical_immediate_p): Return FALSE if the - immediate is not suitable for the 32-bit ABI. - -2013-08-23 Maciej W. Rozycki - - * micromips-opc.c (micromips_opcodes): Use RD_4 for "alnv.ps", - replacing NODS. - -2013-08-23 Yuri Chornoivan - - PR binutils/15834 - * aarch64-asm.c: Fix typos. - * aarch64-dis.c: Likewise. - * msp430-dis.c: Likewise. - -2013-08-19 Richard Sandiford - - * micromips-opc.c (micromips_opcodes): Replace "dext" and "dins" - macro entries with "dextm", "dextu", "dinsm" and "dinsu" aliases. - Use +H rather than +C for the real "dext". - * mips-opc.c (mips_builtin_opcodes): Likewise. - -2013-08-19 Richard Sandiford - - * mips-formats.h (OPTIONAL_REG, OPTIONAL_MAPPED_REG): New macros. - * micromips-opc.c (decode_micromips_operand): Use OPTIONAL_REG - and OPTIONAL_MAPPED_REG. - * mips-opc.c (decode_mips_operand): Likewise. - * mips16-opc.c (decode_mips16_operand): Likewise. - * mips-dis.c (print_insn_arg): Handle OP_OPTIONAL_REG. - -2013-08-19 H.J. Lu - - * i386-dis.c (PREFIX_EVEX_0F3A3E): Removed. - (PREFIX_EVEX_0F3A3F): Likewise. - * i386-dis-evex.h (evex_table): Updated. - -2013-08-06 Jürgen Urban - - * mips-opc.c (mips_builtin_opcodes): Add a suffixless version of - VCLIPW. - -2013-08-05 Eric Botcazou - Konrad Eisele - - * sparc-dis.c (compute_arch_mask): Set SPARC_OPCODE_ARCH_LEON bit for - bfd_mach_sparc. - * sparc-opc.c (MASK_LEON): Define. - (v6, v6notlet, v7, v8, v6notv9): Add MASK_LEON. - (letandleon): New macro. - (v9andleon): Likewise. - (sparc_opc): Add leon. - (umac): Enable for letandleon. - (smac): Likewise. - (casa): Enable for v9andleon. - (cas): Likewise. - (casl): Likewise. - -2013-08-04 Jürgen Urban - Richard Sandiford - - * mips-dis.c (print_reg): Handle OP_REG_VI, OP_REG_VF, OP_REG_R5900_I, - OP_REG_R5900_Q, OP_REG_R5900_R and OP_REG_R5900_ACC. - (print_vu0_channel): New function. - (print_insn_arg): Handle OP_VU0_SUFFIX and OP_VU0_MATCH_SUFFIX. - (print_insn_args): Handle '#'. - (print_insn_mips): Handle INSN2_VU0_CHANNEL_SUFFIX. - * mips-opc.c (mips_vu0_channel_mask): New constant. - (decode_mips_operand): Handle new VU0 operand types. - (VU0, VU0CH): New macros. - (mips_builtin_opcodes): Add VU0 opcodes. Use "+7" rather than "E" - for LQC2 and SQC2. Use "+9" rather than "G" for EE CFC2 and CTC2. - Use "+6" rather than "G" for QMFC2 and QMTC2. - -2013-08-03 Richard Sandiford - - * mips-formats.h (PCREL): Reorder parameters and update the definition - to match new mips_pcrel_operand layout. - (JUMP, JALX, BRANCH): Update accordingly. - * mips16-opc.c (decode_mips16_operand): Likewise. - -2013-08-01 Richard Sandiford - - * micromips-opc.c (WR_s): Delete. - -2013-08-01 Richard Sandiford - - * mips-opc.c (WR_1, WR_2, RD_1, RD_2, RD_3, RD_4, MOD_1, MOD_2, UDI): - New macros. - (WR_d, WR_t, WR_D, WR_T, WR_S, RD_s, RD_b, RD_t, RD_S, RD_T, RD_R) - (WR_z, WR_Z, RD_z, RD_Z, RD_d): Delete. - (mips_builtin_opcodes): Use the new position-based read-write flags - instead of field-based ones. Use UDI for "udi..." instructions. - * mips16-opc.c (WR_1, WR_2, RD_1, RD_2, RD_3, RD_4, MOD_1, MOD_2): - New macros. - (WR_x, WR_y, WR_z, WR_Y, RD_x, RD_y, RD_Z, RD_X): Delete. - (RD_T, WR_T, WR_31): Redefine using generic INSN_* flags. - (WR_SP, RD_16): New macros. - (RD_SP): Redefine as an INSN2_* flag. - (MOD_SP): Redefine in terms of RD_SP and WR_SP. - (mips16_opcodes): Use the new position-based read-write flags - instead of field-based ones. Use RD_16 for "nop". Move RD_SP to - pinfo2 field. - * micromips-opc.c (WR_1, WR_2, RD_1, RD_2, RD_3, RD_4, MOD_1, MOD_2): - New macros. - (WR_mb, RD_mc, RD_md, WR_md, RD_me, RD_mf, WR_mf, RD_mg, WR_mh, RD_mj) - (WR_mj, RD_ml, RD_mmn, RD_mp, WR_mp, RD_mq, RD_gp, WR_d, WR_t, WR_D) - (WR_T, WR_S, RD_s, RD_b, RD_t, RD_T, RD_S, RD_R, RD_D): Delete. - (RD_sp, WR_sp): Redefine to INSN2_READ_SP and INSN2_WRITE_SP. - (micromips_opcodes): Use the new position-based read-write flags - instead of field-based ones. - * mips-dis.c (print_insn_arg): Use mips_decode_reg_operand. - (print_insn_mips, print_insn_micromips): Use INSN_WRITE_1 instead - of field-based flags. - -2013-08-01 Richard Sandiford - - * mips16-opc.c (UBR, CBR, RD_31, RD_PC): Redefine as INSN2_* flags. - (WR_SP): Replace with... - (MOD_SP): ...this. - (mips16_opcodes): Update accordingly. - * mips-dis.c (print_insn_mips16): Likewise. - -2013-08-01 Richard Sandiford - - * mips16-opc.c (mips16_opcodes): Reformat. - -2013-08-01 Richard Sandiford - - * mips-opc.c (mips_builtin_opcodes): Remove WR_* and RD_* flags - for operands that are hard-coded to $0. - * micromips-opc.c (micromips_opcodes): Likewise. - -2013-08-01 Richard Sandiford - - * mips-opc.c (mips_builtin_opcodes): Use WR_31 rather than WR_d - for the single-operand forms of JALR and JALR.HB. - * micromips-opc.c (micromips_opcodes): Likewise JALR, JALRS, JALR.HB - and JALRS.HB. - -2013-08-01 Richard Sandiford - - * mips-opc.c (mips_builtin_opcodes): Add FP_D to VR5400 vector - instructions. Fix them to use WR_MACC instead of WR_CC and - add missing RD_MACCs. - -2013-08-01 Richard Sandiford - - * mips-dis.c (print_mips16_insn_arg): Include ISA bit in base address. - -2013-07-29 Peter Bergner - - * ppc-dis.c (powerpc_init_dialect): Use ppc_parse_cpu() to set dialect. - -2013-07-26 Sergey Guriev - Alexander Ivchenko - Maxim Kuznetsov - Sergey Lega - Anna Tikhonova - Ilya Tocar - Andrey Turetskiy - Ilya Verbin - Kirill Yukhin - Michael Zolotukhin - - * i386-dis-evex.h: New. - * i386-dis.c (OP_Rounding): New. - (VPCMP_Fixup): New. - (OP_Mask): New. - (Rdq): New. - (XMxmmq): New. - (EXdScalarS): New. - (EXymm): New. - (EXEvexHalfBcstXmmq): New. - (EXxmm_mdq): New. - (EXEvexXGscat): New. - (EXEvexXNoBcst): New. - (VPCMP): New. - (EXxEVexR): New. - (EXxEVexS): New. - (XMask): New. - (MaskG): New. - (MaskE): New. - (MaskR): New. - (MaskVex): New. - (modes enum): Add evex_x_gscat_mode, evex_x_nobcst_mode, - evex_half_bcst_xmmq_mode, xmm_mdq_mode, ymm_mode, - evex_rounding_mode, evex_sae_mode, mask_mode. - (USE_EVEX_TABLE): New. - (EVEX_TABLE): New. - (EVEX enum): New. - (REG enum): Add REG_EVEX_0F72, REG_EVEX_0F73, REG_EVEX_0F38C6, - REG_EVEX_0F38C7. - (MOD enum): Add MOD_EVEX_0F10_PREFIX_1, MOD_EVEX_0F10_PREFIX_3, - MOD_EVEX_0F11_PREFIX_1, MOD_EVEX_0F11_PREFIX_3, - MOD_EVEX_0F12_PREFIX_0, MOD_EVEX_0F16_PREFIX_0, MOD_EVEX_0F38C6_REG_1, - MOD_EVEX_0F38C6_REG_2, MOD_EVEX_0F38C6_REG_5, MOD_EVEX_0F38C6_REG_6, - MOD_EVEX_0F38C7_REG_1, MOD_EVEX_0F38C7_REG_2, MOD_EVEX_0F38C7_REG_5, - MOD_EVEX_0F38C7_REG_6. - (PREFIX enum): Add PREFIX_VEX_0F41, PREFIX_VEX_0F42, PREFIX_VEX_0F44, - PREFIX_VEX_0F45, PREFIX_VEX_0F46, PREFIX_VEX_0F47, PREFIX_VEX_0F4B, - PREFIX_VEX_0F90, PREFIX_VEX_0F91, PREFIX_VEX_0F92, PREFIX_VEX_0F93, - PREFIX_VEX_0F98, PREFIX_VEX_0F3A30, PREFIX_VEX_0F3A32, - PREFIX_VEX_0F3AF0, PREFIX_EVEX_0F10, PREFIX_EVEX_0F11, - PREFIX_EVEX_0F12, PREFIX_EVEX_0F13, PREFIX_EVEX_0F14, - PREFIX_EVEX_0F15, PREFIX_EVEX_0F16, PREFIX_EVEX_0F17, - PREFIX_EVEX_0F28, PREFIX_EVEX_0F29, PREFIX_EVEX_0F2A, - PREFIX_EVEX_0F2B, PREFIX_EVEX_0F2C, PREFIX_EVEX_0F2D, - PREFIX_EVEX_0F2E, PREFIX_EVEX_0F2F, PREFIX_EVEX_0F51, - PREFIX_EVEX_0F58, PREFIX_EVEX_0F59, PREFIX_EVEX_0F5A, - PREFIX_EVEX_0F5B, PREFIX_EVEX_0F5C, PREFIX_EVEX_0F5D, - PREFIX_EVEX_0F5E, PREFIX_EVEX_0F5F, PREFIX_EVEX_0F62, - PREFIX_EVEX_0F66, PREFIX_EVEX_0F6A, PREFIX_EVEX_0F6C, - PREFIX_EVEX_0F6D, PREFIX_EVEX_0F6E, PREFIX_EVEX_0F6F, - PREFIX_EVEX_0F70, PREFIX_EVEX_0F72_REG_0, PREFIX_EVEX_0F72_REG_1, - PREFIX_EVEX_0F72_REG_2, PREFIX_EVEX_0F72_REG_4, - PREFIX_EVEX_0F72_REG_6, PREFIX_EVEX_0F73_REG_2, - PREFIX_EVEX_0F73_REG_6, PREFIX_EVEX_0F76, PREFIX_EVEX_0F78, - PREFIX_EVEX_0F79, PREFIX_EVEX_0F7A, PREFIX_EVEX_0F7B, - PREFIX_EVEX_0F7E, PREFIX_EVEX_0F7F, PREFIX_EVEX_0FC2, - PREFIX_EVEX_0FC6, PREFIX_EVEX_0FD2, PREFIX_EVEX_0FD3, - PREFIX_EVEX_0FD4, PREFIX_EVEX_0FD6, PREFIX_EVEX_0FDB, - PREFIX_EVEX_0FDF, PREFIX_EVEX_0FE2, PREFIX_EVEX_0FE6 PREFIX_EVEX_0FE7, - PREFIX_EVEX_0FEB, PREFIX_EVEX_0FEF, PREFIX_EVEX_0FF2, - PREFIX_EVEX_0FF3, PREFIX_EVEX_0FF4, PREFIX_EVEX_0FFA, PREFIX_EVEX_0FFB, - PREFIX_EVEX_0FFE, PREFIX_EVEX_0F380C, PREFIX_EVEX_0F380D, - PREFIX_EVEX_0F3811, PREFIX_EVEX_0F3812, PREFIX_EVEX_0F3813, - PREFIX_EVEX_0F3814, PREFIX_EVEX_0F3815, PREFIX_EVEX_0F3816, - PREFIX_EVEX_0F3818, PREFIX_EVEX_0F3819, PREFIX_EVEX_0F381A, - PREFIX_EVEX_0F381B, PREFIX_EVEX_0F381E, PREFIX_EVEX_0F381F, - PREFIX_EVEX_0F3821, PREFIX_EVEX_0F3822, PREFIX_EVEX_0F3823, - PREFIX_EVEX_0F3824, PREFIX_EVEX_0F3825, PREFIX_EVEX_0F3827, - PREFIX_EVEX_0F3828, PREFIX_EVEX_0F3829, PREFIX_EVEX_0F382A, - PREFIX_EVEX_0F382C, PREFIX_EVEX_0F382D, PREFIX_EVEX_0F3831, - PREFIX_EVEX_0F3832, PREFIX_EVEX_0F3833, PREFIX_EVEX_0F3834, - PREFIX_EVEX_0F3835, PREFIX_EVEX_0F3836, PREFIX_EVEX_0F3837, - PREFIX_EVEX_0F3839, PREFIX_EVEX_0F383A, PREFIX_EVEX_0F383B, - PREFIX_EVEX_0F383D, PREFIX_EVEX_0F383F, PREFIX_EVEX_0F3840, - PREFIX_EVEX_0F3842, PREFIX_EVEX_0F3843, PREFIX_EVEX_0F3844, - PREFIX_EVEX_0F3845, PREFIX_EVEX_0F3846, PREFIX_EVEX_0F3847, - PREFIX_EVEX_0F384C, PREFIX_EVEX_0F384D, PREFIX_EVEX_0F384E, - PREFIX_EVEX_0F384F, PREFIX_EVEX_0F3858, PREFIX_EVEX_0F3859, - PREFIX_EVEX_0F385A, PREFIX_EVEX_0F385B, PREFIX_EVEX_0F3864, - PREFIX_EVEX_0F3865, PREFIX_EVEX_0F3876, PREFIX_EVEX_0F3877, - PREFIX_EVEX_0F387C, PREFIX_EVEX_0F387E, PREFIX_EVEX_0F387F, - PREFIX_EVEX_0F3888, PREFIX_EVEX_0F3889, PREFIX_EVEX_0F388A, - PREFIX_EVEX_0F388B, PREFIX_EVEX_0F3890, PREFIX_EVEX_0F3891, - PREFIX_EVEX_0F3892, PREFIX_EVEX_0F3893, PREFIX_EVEX_0F3896, - PREFIX_EVEX_0F3897, PREFIX_EVEX_0F3898, PREFIX_EVEX_0F3899, - PREFIX_EVEX_0F389A, PREFIX_EVEX_0F389B, PREFIX_EVEX_0F389C, - PREFIX_EVEX_0F389D, PREFIX_EVEX_0F389E, PREFIX_EVEX_0F389F, - PREFIX_EVEX_0F38A0, PREFIX_EVEX_0F38A1, PREFIX_EVEX_0F38A2, - PREFIX_EVEX_0F38A3, PREFIX_EVEX_0F38A6, PREFIX_EVEX_0F38A7, - PREFIX_EVEX_0F38A8, PREFIX_EVEX_0F38A9, PREFIX_EVEX_0F38AA, - PREFIX_EVEX_0F38AB, PREFIX_EVEX_0F38AC, PREFIX_EVEX_0F38AD, - PREFIX_EVEX_0F38AE, PREFIX_EVEX_0F38AF, PREFIX_EVEX_0F38B6, - PREFIX_EVEX_0F38B7, PREFIX_EVEX_0F38B8, PREFIX_EVEX_0F38B9, - PREFIX_EVEX_0F38BA, PREFIX_EVEX_0F38BB, PREFIX_EVEX_0F38BC, - PREFIX_EVEX_0F38BD, PREFIX_EVEX_0F38BE, PREFIX_EVEX_0F38BF, - PREFIX_EVEX_0F38C4, PREFIX_EVEX_0F38C6_REG_1, - PREFIX_EVEX_0F38C6_REG_2, PREFIX_EVEX_0F38C6_REG_5, - PREFIX_EVEX_0F38C6_REG_6, PREFIX_EVEX_0F38C7_REG_1, - PREFIX_EVEX_0F38C7_REG_2, PREFIX_EVEX_0F38C7_REG_5, - PREFIX_EVEX_0F38C7_REG_6, PREFIX_EVEX_0F38C8, PREFIX_EVEX_0F38CA, - PREFIX_EVEX_0F38CB, PREFIX_EVEX_0F38CC, PREFIX_EVEX_0F38CD, - PREFIX_EVEX_0F3A00, PREFIX_EVEX_0F3A01, PREFIX_EVEX_0F3A03, - PREFIX_EVEX_0F3A04, PREFIX_EVEX_0F3A05, PREFIX_EVEX_0F3A08, - PREFIX_EVEX_0F3A09, PREFIX_EVEX_0F3A0A, PREFIX_EVEX_0F3A0B, - PREFIX_EVEX_0F3A17, PREFIX_EVEX_0F3A18, PREFIX_EVEX_0F3A19, - PREFIX_EVEX_0F3A1A, PREFIX_EVEX_0F3A1B, PREFIX_EVEX_0F3A1D, - PREFIX_EVEX_0F3A1E, PREFIX_EVEX_0F3A1F, PREFIX_EVEX_0F3A21, - PREFIX_EVEX_0F3A23, PREFIX_EVEX_0F3A25, PREFIX_EVEX_0F3A26, - PREFIX_EVEX_0F3A27, PREFIX_EVEX_0F3A38, PREFIX_EVEX_0F3A39, - PREFIX_EVEX_0F3A3A, PREFIX_EVEX_0F3A3B, PREFIX_EVEX_0F3A3E, - PREFIX_EVEX_0F3A3F, PREFIX_EVEX_0F3A43, PREFIX_EVEX_0F3A54, - PREFIX_EVEX_0F3A55. - (VEX_LEN enum): Add VEX_LEN_0F41_P_0, VEX_LEN_0F42_P_0, VEX_LEN_0F44_P_0, - VEX_LEN_0F45_P_0, VEX_LEN_0F46_P_0, VEX_LEN_0F47_P_0, - VEX_LEN_0F4B_P_2, VEX_LEN_0F90_P_0, VEX_LEN_0F91_P_0, - VEX_LEN_0F92_P_0, VEX_LEN_0F93_P_0, VEX_LEN_0F98_P_0, - VEX_LEN_0F3A30_P_2, VEX_LEN_0F3A32_P_2, VEX_W_0F41_P_0_LEN_1, - VEX_W_0F42_P_0_LEN_1, VEX_W_0F44_P_0_LEN_0, VEX_W_0F45_P_0_LEN_1, - VEX_W_0F46_P_0_LEN_1, VEX_W_0F47_P_0_LEN_1, VEX_W_0F4B_P_2_LEN_1, - VEX_W_0F90_P_0_LEN_0, VEX_W_0F91_P_0_LEN_0, VEX_W_0F92_P_0_LEN_0, - VEX_W_0F93_P_0_LEN_0, VEX_W_0F98_P_0_LEN_0, VEX_W_0F3A30_P_2_LEN_0, - VEX_W_0F3A32_P_2_LEN_0. - (VEX_W enum): Add EVEX_W_0F10_P_0, EVEX_W_0F10_P_1_M_0, - EVEX_W_0F10_P_1_M_1, EVEX_W_0F10_P_2, EVEX_W_0F10_P_3_M_0, - EVEX_W_0F10_P_3_M_1, EVEX_W_0F11_P_0, EVEX_W_0F11_P_1_M_0, - EVEX_W_0F11_P_1_M_1, EVEX_W_0F11_P_2, EVEX_W_0F11_P_3_M_0, - EVEX_W_0F11_P_3_M_1, EVEX_W_0F12_P_0_M_0, EVEX_W_0F12_P_0_M_1, - EVEX_W_0F12_P_1, EVEX_W_0F12_P_2, EVEX_W_0F12_P_3, EVEX_W_0F13_P_0, - EVEX_W_0F13_P_2, EVEX_W_0F14_P_0, EVEX_W_0F14_P_2, EVEX_W_0F15_P_0, - EVEX_W_0F15_P_2, EVEX_W_0F16_P_0_M_0, EVEX_W_0F16_P_0_M_1, - EVEX_W_0F16_P_1, EVEX_W_0F16_P_2, EVEX_W_0F17_P_0, EVEX_W_0F17_P_2, - EVEX_W_0F28_P_0, EVEX_W_0F28_P_2, EVEX_W_0F29_P_0, EVEX_W_0F29_P_2, - EVEX_W_0F2A_P_1, EVEX_W_0F2A_P_3, EVEX_W_0F2B_P_0, EVEX_W_0F2B_P_2, - EVEX_W_0F2E_P_0, EVEX_W_0F2E_P_2, EVEX_W_0F2F_P_0, EVEX_W_0F2F_P_2, - EVEX_W_0F51_P_0, EVEX_W_0F51_P_1, EVEX_W_0F51_P_2, EVEX_W_0F51_P_3, - EVEX_W_0F58_P_0, EVEX_W_0F58_P_1, EVEX_W_0F58_P_2, EVEX_W_0F58_P_3, - EVEX_W_0F59_P_0, EVEX_W_0F59_P_1, EVEX_W_0F59_P_2, EVEX_W_0F59_P_3, - EVEX_W_0F5A_P_0, EVEX_W_0F5A_P_1, EVEX_W_0F5A_P_2, EVEX_W_0F5A_P_3, - EVEX_W_0F5B_P_0, EVEX_W_0F5B_P_1, EVEX_W_0F5B_P_2, EVEX_W_0F5C_P_0, - EVEX_W_0F5C_P_1, EVEX_W_0F5C_P_2, EVEX_W_0F5C_P_3, EVEX_W_0F5D_P_0, - EVEX_W_0F5D_P_1, EVEX_W_0F5D_P_2, EVEX_W_0F5D_P_3, EVEX_W_0F5E_P_0, - EVEX_W_0F5E_P_1, EVEX_W_0F5E_P_2, EVEX_W_0F5E_P_3, EVEX_W_0F5F_P_0, - EVEX_W_0F5F_P_1, EVEX_W_0F5F_P_2, EVEX_W_0F5F_P_3, EVEX_W_0F62_P_2, - EVEX_W_0F66_P_2, EVEX_W_0F6A_P_2, EVEX_W_0F6C_P_2, EVEX_W_0F6D_P_2, - EVEX_W_0F6E_P_2, EVEX_W_0F6F_P_1, EVEX_W_0F6F_P_2, EVEX_W_0F70_P_2, - EVEX_W_0F72_R_2_P_2, EVEX_W_0F72_R_6_P_2, EVEX_W_0F73_R_2_P_2, - EVEX_W_0F73_R_6_P_2, EVEX_W_0F76_P_2, EVEX_W_0F78_P_0, - EVEX_W_0F79_P_0, EVEX_W_0F7A_P_1, EVEX_W_0F7A_P_3, EVEX_W_0F7B_P_1, - EVEX_W_0F7B_P_3, EVEX_W_0F7E_P_1, EVEX_W_0F7E_P_2, EVEX_W_0F7F_P_1, - EVEX_W_0F7F_P_2, EVEX_W_0FC2_P_0, EVEX_W_0FC2_P_1, EVEX_W_0FC2_P_2, - EVEX_W_0FC2_P_3, EVEX_W_0FC6_P_0, EVEX_W_0FC6_P_2, EVEX_W_0FD2_P_2, - EVEX_W_0FD3_P_2, EVEX_W_0FD4_P_2, EVEX_W_0FD6_P_2, EVEX_W_0FE6_P_1, - EVEX_W_0FE6_P_2, EVEX_W_0FE6_P_3, EVEX_W_0FE7_P_2, EVEX_W_0FF2_P_2, - EVEX_W_0FF3_P_2, EVEX_W_0FF4_P_2, EVEX_W_0FFA_P_2, EVEX_W_0FFB_P_2, - EVEX_W_0FFE_P_2, EVEX_W_0F380C_P_2, EVEX_W_0F380D_P_2, - EVEX_W_0F3811_P_1, EVEX_W_0F3812_P_1, EVEX_W_0F3813_P_1, - EVEX_W_0F3813_P_2, EVEX_W_0F3814_P_1, EVEX_W_0F3815_P_1, - EVEX_W_0F3818_P_2, EVEX_W_0F3819_P_2, EVEX_W_0F381A_P_2, - EVEX_W_0F381B_P_2, EVEX_W_0F381E_P_2, EVEX_W_0F381F_P_2, - EVEX_W_0F3821_P_1, EVEX_W_0F3822_P_1, EVEX_W_0F3823_P_1, - EVEX_W_0F3824_P_1, EVEX_W_0F3825_P_1, EVEX_W_0F3825_P_2, - EVEX_W_0F3828_P_2, EVEX_W_0F3829_P_2, EVEX_W_0F382A_P_1, - EVEX_W_0F382A_P_2, EVEX_W_0F3831_P_1, EVEX_W_0F3832_P_1, - EVEX_W_0F3833_P_1, EVEX_W_0F3834_P_1, EVEX_W_0F3835_P_1, - EVEX_W_0F3835_P_2, EVEX_W_0F3837_P_2, EVEX_W_0F383A_P_1, - EVEX_W_0F3840_P_2, EVEX_W_0F3858_P_2, EVEX_W_0F3859_P_2, - EVEX_W_0F385A_P_2, EVEX_W_0F385B_P_2, EVEX_W_0F3891_P_2, - EVEX_W_0F3893_P_2, EVEX_W_0F38A1_P_2, EVEX_W_0F38A3_P_2, - EVEX_W_0F38C7_R_1_P_2, EVEX_W_0F38C7_R_2_P_2, EVEX_W_0F38C7_R_5_P_2, - EVEX_W_0F38C7_R_6_P_2, EVEX_W_0F3A00_P_2, EVEX_W_0F3A01_P_2, - EVEX_W_0F3A04_P_2, EVEX_W_0F3A05_P_2, EVEX_W_0F3A08_P_2, - EVEX_W_0F3A09_P_2, EVEX_W_0F3A0A_P_2, EVEX_W_0F3A0B_P_2, - EVEX_W_0F3A18_P_2, EVEX_W_0F3A19_P_2, EVEX_W_0F3A1A_P_2, - EVEX_W_0F3A1B_P_2, EVEX_W_0F3A1D_P_2, EVEX_W_0F3A21_P_2, - EVEX_W_0F3A23_P_2, EVEX_W_0F3A38_P_2, EVEX_W_0F3A39_P_2, - EVEX_W_0F3A3A_P_2, EVEX_W_0F3A3B_P_2, EVEX_W_0F3A43_P_2. - (struct vex): Add fields evex, r, v, mask_register_specifier, - zeroing, ll, b. - (intel_names_xmm): Add upper 16 registers. - (att_names_xmm): Ditto. - (intel_names_ymm): Ditto. - (att_names_ymm): Ditto. - (names_zmm): New. - (intel_names_zmm): Ditto. - (att_names_zmm): Ditto. - (names_mask): Ditto. - (intel_names_mask): Ditto. - (att_names_mask): Ditto. - (names_rounding): Ditto. - (names_broadcast): Ditto. - (x86_64_table): Add escape to evex-table. - (reg_table): Include reg_table evex-entries from - i386-dis-evex.h. Fix prefetchwt1 instruction. - (prefix_table): Add entries for new instructions. - (vex_table): Ditto. - (vex_len_table): Ditto. - (vex_w_table): Ditto. - (mod_table): Ditto. - (get_valid_dis386): Properly handle new instructions. - (print_insn): Handle zmm and mask registers, print mask operand. - (intel_operand_size): Support EVEX, new modes and sizes. - (OP_E_register): Handle new modes. - (OP_E_memory): Ditto. - (OP_G): Ditto. - (OP_XMM): Ditto. - (OP_EX): Ditto. - (OP_VEX): Ditto. - * i386-gen.c (cpu_flag_init): Update CPU_ANY_SSE_FLAGS and - CPU_ANY_AVX_FLAGS. Add CPU_AVX512F_FLAGS, CPU_AVX512CD_FLAGS, - CPU_AVX512ER_FLAGS and CPU_AVX512PF_FLAGS. - (cpu_flags): Add CpuAVX512F, CpuAVX512CD, CpuAVX512ER, - CpuAVX512PF and CpuVREX. - (operand_type_init): Add OPERAND_TYPE_REGZMM, - OPERAND_TYPE_REGMASK and OPERAND_TYPE_VEC_DISP8. - (opcode_modifiers): Add EVex, Masking, VecESize, Broadcast, - StaticRounding, SAE, Disp8MemShift, NoDefMask. - (operand_types): Add RegZMM, RegMask, Vec_Disp8, Zmmword. - * i386-init.h: Regenerate. - * i386-opc.h (CpuAVX512F): New. - (CpuAVX512CD): New. - (CpuAVX512ER): New. - (CpuAVX512PF): New. - (CpuVREX): New. - (i386_cpu_flags): Add cpuavx512f, cpuavx512cd, cpuavx512er, - cpuavx512pf and cpuvrex fields. - (VecSIB): Add VecSIB512. - (EVex): New. - (Masking): New. - (VecESize): New. - (Broadcast): New. - (StaticRounding): New. - (SAE): New. - (Disp8MemShift): New. - (NoDefMask): New. - (i386_opcode_modifier): Add evex, masking, vecesize, broadcast, - staticrounding, sae, disp8memshift and nodefmask. - (RegZMM): New. - (Zmmword): Ditto. - (Vec_Disp8): Ditto. - (i386_operand_type): Add regzmm, regmask, zmmword and vec_disp8 - fields. - (RegVRex): New. - * i386-opc.tbl: Add AVX512 instructions. - * i386-reg.tbl: Add 16 upper XMM and YMM registers, 32 new ZMM - registers, mask registers. - * i386-tbl.h: Regenerate. - -2013-07-25 Aaro Koskinen - - PR gas/15220 - * mips-opc.c (mips_builtin_opcodes): Fix wrong opcodes for - Loongson 2F madd.ps, msub.ps, nmadd.ps and nmsub.ps. - -2013-07-25 Michael Zolotukhin - - * i386-dis.c (PREFIX enum): Add PREFIX_0F38C8, PREFIX_0F38C9, - PREFIX_0F38CA, PREFIX_0F38CB, PREFIX_0F38CC, PREFIX_0F38CD, - PREFIX_0F3ACC. - (prefix_table): Updated. - (three_byte_table): Likewise. - * i386-gen.c (cpu_flag_init): Add CPU_SHA_FLAGS. - (cpu_flags): Add CpuSHA. - (i386_cpu_flags): Add cpusha. - * i386-init.h: Regenerate. - * i386-opc.h (CpuSHA): New. - (CpuUnused): Restored. - (i386_cpu_flags): Add cpusha. - * i386-opc.tbl: Add SHA instructions. - * i386-tbl.h: Regenerate. - -2013-07-24 Anna Tikhonova - Kirill Yukhin - Michael Zolotukhin - - * i386-dis.c (BND_Fixup): New. - (Ebnd): New. - (Ev_bnd): New. - (Gbnd): New. - (BND): New. - (v_bnd_mode): New. - (bnd_mode): New. - (MOD enum): Add MOD_0F1A_PREFIX_0, MOD_0F1B_PREFIX_0, - MOD_0F1B_PREFIX_1. - (PREFIX enum): Add PREFIX_0F1A, PREFIX_0F1B. - (dis tables): Replace XX with BND for near branch and call - instructions. - (prefix_table): Add new entries. - (mod_table): Likewise. - (names_bnd): New. - (intel_names_bnd): New. - (att_names_bnd): New. - (BND_PREFIX): New. - (prefix_name): Handle BND_PREFIX. - (print_insn): Initialize names_bnd. - (intel_operand_size): Handle new modes. - (OP_E_register): Likewise. - (OP_E_memory): Likewise. - (OP_G): Likewise. - * i386-gen.c (cpu_flag_init): Add CpuMPX. - (cpu_flags): Add CpuMPX. - (operand_type_init): Add RegBND. - (opcode_modifiers): Add BNDPrefixOk. - (operand_types): Add RegBND. - * i386-init.h: Regenerate. - * i386-opc.h (CpuMPX): New. - (CpuUnused): Comment out. - (i386_cpu_flags): Add cpumpx. - (BNDPrefixOk): New. - (i386_opcode_modifier): Add bndprefixok. - (RegBND): New. - (i386_operand_type): Add regbnd. - * i386-opc.tbl: Add BNDPrefixOk to near jumps, calls and rets. - Add MPX instructions and bnd prefix. - * i386-reg.tbl: Add bnd0-bnd3 registers. - * i386-tbl.h: Regenerate. - -2013-07-17 Richard Sandiford - - * mips-formats.h (MAPPED_INT, MAPPED_REG, REG_PAIR): Add - ATTRIBUTE_UNUSED. - -2013-07-14 Richard Sandiford - - * Makefile.am (mips-opc.lo, micromips-opc.lo, mips16-opc.lo): Remove - special rules. - * Makefile.in: Regenerate. - * mips-opc.c, micromips-opc.c, mips16-opc.c: Explicitly initialize - all fields. Reformat. - -2013-07-14 Richard Sandiford - - * mips16-opc.c: Include mips-formats.h. - (reg_0_map, reg_29_map, reg_31_map, reg_m16_map, reg32r_map): New - static arrays. - (decode_mips16_operand): New function. - * mips-dis.c (mips16_to_32_reg_map, mips16_reg_names): Delete. - (print_insn_arg): Handle OP_ENTRY_EXIT list. - Abort for OP_SAVE_RESTORE_LIST. - (print_mips16_insn_arg): Change interface. Use mips_operand - structures. Delete GET_OP_S. Move GET_OP definition to... - (print_insn_mips16): ...here. Call init_print_arg_state. - Update the call to print_mips16_insn_arg. - -2013-07-14 Richard Sandiford - - * mips-formats.h: New file. - * mips-opc.c: Include mips-formats.h. - (reg_0_map): New static array. - (decode_mips_operand): New function. - * micromips-opc.c: Remove include. Include mips-formats.h. - (reg_0_map, reg_28_map, reg_29_map, reg_31_map, reg_m16_map) - (reg_mn_map, reg_q_map, reg_h_map1, reg_h_map2, int_b_map) - (int_c_map): New static arrays. - (decode_micromips_operand): New function. - * mips-dis.c (micromips_to_32_reg_b_map, micromips_to_32_reg_c_map) - (micromips_to_32_reg_d_map, micromips_to_32_reg_e_map) - (micromips_to_32_reg_f_map, micromips_to_32_reg_g_map) - (micromips_to_32_reg_h_map1, micromips_to_32_reg_h_map2) - (micromips_to_32_reg_l_map, micromips_to_32_reg_m_map) - (micromips_to_32_reg_n_map, micromips_to_32_reg_q_map) - (micromips_imm_b_map, micromips_imm_c_map): Delete. - (print_reg): New function. - (mips_print_arg_state): New structure. - (init_print_arg_state, print_insn_arg): New functions. - (print_insn_args): Change interface and use mips_operand structures. - Delete GET_OP_S. Move GET_OP definition to... - (print_insn_mips): ...here. Update the call to print_insn_args. - (print_insn_micromips): Use print_insn_args. - -2013-07-14 Richard Sandiford - - * mips16-opc.c (mips16_opcodes): Use "I" for immediate operands - in macros. - -2013-07-14 Richard Sandiford - - * mips-opc.c (mips_builtin_opcodes): Use "S,T" rather than "V,T" for - ADDA.S, MULA.S and SUBA.S. - -2013-07-08 H.J. Lu - - PR gas/13572 - * i386-opc.tbl: Replace Xmmword with Qword on cvttps2pi. - * i386-tbl.h: Regenerated. - -2013-07-07 Richard Sandiford - - * mips-opc.c (mips_builtin_opcodes): Remove o(b) macros. Move LD - and SD A(B) macros up. - * micromips-opc.c (micromips_opcodes): Likewise. - -2013-07-07 Richard Sandiford - - * mips16-opc.c: Add entries for argumentless "entry" and "exit" - instructions. - -2013-07-07 Richard Sandiford - - * mips-opc.c (mips_builtin_opcodes): Use "Q" for the INSN_5400 - MDMX-like instructions. - * mips-dis.c (print_insn_arg): Use "$f" rather than "$v" when - printing "Q" operands for INSN_5400 instructions. - -2013-07-07 Richard Sandiford - - * mips-opc.c (mips_builtin_opcodes): Use "+s" for "cins32" and - "+S" for "cins". - * mips-dis.c (print_mips_arg): Update "+s" and "+S" comments. - Combine cases. - -2013-07-07 Richard Sandiford - - * mips-opc.c (mips_builtin_opcodes): Use "+i" rather than "a" for - "jalx". - * mips16-opc.c (mips16_opcodes): Likewise. - * micromips-opc.c (micromips_opcodes): Likewise. - * mips-dis.c (print_insn_args, print_mips16_insn_arg) - (print_insn_mips16): Handle "+i". - (print_insn_micromips): Likewise. Conditionally preserve the - ISA bit for "a" but not for "+i". - -2013-07-07 Richard Sandiford - - * micromips-opc.c (WR_mhi): Rename to.. - (WR_mh): ...this. - (micromips_opcodes): Update "movep" entry accordingly. Replace - "mh,mi" with "mh". - * mips-dis.c (micromips_to_32_reg_h_map): Rename to... - (micromips_to_32_reg_h_map1): ...this. - (micromips_to_32_reg_i_map): Rename to... - (micromips_to_32_reg_h_map2): ...this. - (print_micromips_insn): Remove "mi" case. Print both registers - in the pair for "mh". - -2013-07-07 Richard Sandiford - - * mips-opc.c (mips_builtin_opcodes): Remove "+D" and "+T" entries. - * micromips-opc.c (micromips_opcodes): Likewise. - * mips-dis.c (print_insn_args, print_insn_micromips): Remove "+D" - and "+T" handling. Check for a "0" suffix when deciding whether to - use coprocessor 0 names. In that case, also check for ",H" selectors. - -2013-07-05 Andreas Krebbel - - * s390-opc.c (J12_12, J24_24): New macros. - (INSTR_MII_UPI): Rename to INSTR_MII_UPP. - (MASK_MII_UPI): Rename to MASK_MII_UPP. - * s390-opc.txt: Rename MII_UPI to MII_UPP for bprp instruction. - -2013-07-04 Alan Modra - - * ppc-opc.c (powerpc_opcodes): Add tdui, twui, tdu, twu, tui, tu. - -2013-06-26 Nick Clifton - - * rx-decode.opc (rx_decode_opcode): Check sd field as well as ss - field when checking for type 2 nop. - * rx-decode.c: Regenerate. - -2013-06-25 Maciej W. Rozycki - - * micromips-opc.c (micromips_opcodes): Add "jraddiusp", "jrc" - and "movep" macros. - -2013-06-24 Maciej W. Rozycki - - * mips-dis.c (is_mips16_plt_tail): New function. - (print_insn_mips16): Handle MIPS16 PLT entry's GOT slot address - word. - (is_compressed_mode_p): Handle MIPS16/microMIPS PLT entries. - -2013-06-21 DJ Delorie - - * msp430-decode.opc: New. - * msp430-decode.c: New/generated. - * Makefile.am (TARGET_LIBOPCODES_CFILES): Add msp430-decode.c. - (MAINTAINER_CLEANFILES): Likewise. - Add rule to build msp430-decode.c frommsp430decode.opc - using the opc2c program. - * Makefile.in: Regenerate. - * configure.in: Add msp430-decode.lo to msp430 architecture files. - * configure: Regenerate. - -2013-06-20 Yufeng Zhang - - * aarch64-dis.c (EMBEDDED_ENV): Remove the check on it. - (SYMTAB_AVAILABLE): Removed. - (#include "elf/aarch64.h): Ditto. - -2013-06-17 Catherine Moore - Maciej W. Rozycki - Chao-Ying Fu - - * micromips-opc.c (EVA): Define. - (TLBINV): Define. - (micromips_opcodes): Add EVA opcodes. - * mips-dis.c (mips_arch_choices): Update for ASE_EVA. - (print_insn_args): Handle EVA offsets. - (print_insn_micromips): Likewise. - * mips-opc.c (EVA): Define. - (TLBINV): Define. - (mips_builtin_opcodes): Add EVA opcodes. - -2013-06-17 Alan Modra - - * Makefile.am (mips-opc.lo): Add rules to create automatic - dependency files. Pass archdefs. - (micromips-opc.lo, mips16-opc.lo): Likewise. - * Makefile.in: Regenerate. - -2013-06-14 DJ Delorie - - * rx-decode.opc (rx_decode_opcode): Bit operations on - registers are 32-bit operations, not 8-bit operations. - * rx-decode.c: Regenerate. - -2013-06-13 Chao-ying Fu - - * micromips-opc.c (IVIRT): New define. - (IVIRT64): New define. - (micromips_opcodes): Add dmfgc0, dmtgc0, hypcall, mfgc0, mtgc0, - tlbginv, tlbginvf, tlbgp, tlbgr, tlbgwi, tlbgwr VIRT instructions. - - * mips-dis.c (print_insn_micromips): Handle mfgc0, mtgc0, dmfgc0, - dmtgc0 to print cp0 names. - -2013-06-09 Sandra Loosemore - - * nios2-opc.c (nios2_builtin_opcodes): Give "trap" a type-"b" - argument. - -2013-06-08 Catherine Moore - Richard Sandiford - - * micromips-opc.c (D32, D33, MC): Update definitions. - (micromips_opcodes): Initialize ase field. - * mips-dis.c (mips_arch_choice): Add ase field. - (mips_arch_choices): Initialize ase field. - (set_default_mips_dis_options): Declare and setup mips_ase. - * mips-opc.c (M3D, SMT, MX, IVIRT, IVIRT64, D32, D33, D64, - MT32, MC): Update definitions. - (mips_builtin_opcodes): Initialize ase field. - -2013-05-24 Richard Sandiford - - * s390-opc.txt (flogr): Require a register pair destination. - -2013-05-23 Andreas Krebbel - - * s390-opc.c: Fix length operand in RSL_LRDFU and RSL_LRDFEU - instruction format. - -2013-05-22 Jürgen Urban - - * mips-opc.c (mips_builtin_opcodes): Add R5900 VU0 instructions. - -2013-05-20 Peter Bergner - - * ppc-dis.c (powerpc_init_dialect): Set default dialect to power8. - * ppc-opc.c (BHRBE, ST, SIX, PS, SXL, VXPS_MASK, XX1RB_MASK, - XLS_MASK, PPCVSX2): New defines. - (powerpc_opcodes) : New instructions. - : New extended mnemonics. - -2013-05-17 Alan Modra - - * ia64-raw.tbl: Replace non-ASCII char. - * ia64-waw.tbl: Likewise. - * ia64-asmtab.c: Regenerate. - -2013-05-15 Saravanan Ekanathan - - * i386-gen.c (cpu_flag_init): Add CpuFSGSBase in CPU_BDVER3_FLAGS. - * i386-init.h: Regenerated. - -2013-05-13 Yufeng Zhang - - * aarch64-asm.c (aarch64_ins_advsimd_imm_modified): Remove assertion. - * aarch64-opc.c (operand_general_constraint_met_p): Relax the range - check from [0, 255] to [-128, 255]. - -2013-05-09 Andrew Pinski - - * mips-dis.c (mips_arch_choices): Add INSN_VIRT to mips32r2. - Add INSN_VIRT and INSN_VIRT64 to mips64r2. - (parse_mips_dis_option): Handle the virt option. - (print_insn_args): Handle "+J". - (print_mips_disassembler_options): Print out message about virt64. - * mips-opc.c (IVIRT): New define. - (IVIRT64): New define. - (mips_builtin_opcodes): Add dmfgc0, dmtgc0, hypcall, mfgc0, mtgc0, - tlbgr, tlbgwi, tlbginv, tlbginvf, tlbgwr, tlbgp VIRT instructions. - Move rfe to the bottom as it conflicts with tlbgp. - -2013-05-09 Alan Modra - - * ppc-opc.c (extract_vlesi): Properly sign extend. - (extract_vlensi): Likewise. Comment reason for setting invalid. - -2013-05-02 Nick Clifton - - * msp430-dis.c: Add support for MSP430X instructions. - -2013-04-24 Sandra Loosemore - - * nios2-opc.c (nios2_builtin_reg): Rename "fstatus" control register - to "eccinj". - -2013-04-17 Wei-chen Wang - - PR binutils/15369 - * cgen-dis.c (hash_insn_array): Use CGEN_CPU_INSN_ENDIAN instead - of CGEN_CPU_ENDIAN. - (hash_insns_list): Likewise. - -2013-04-10 Jan Kratochvil - - * rl78-dis.c (print_insn_rl78): Use alternative form as a GCC false - warning workaround. - -2013-04-08 Jan Beulich - - * i386-opc.tbl: Fold 64-bit and non-64-bit jecxz entries. - * i386-tbl.h: Re-generate. - -2013-04-06 David S. Miller - - * sparc-dis.c (compare_opcodes): When encountering multiple aliases - of an opcode, prefer the one with F_PREFERRED set. - * sparc-opc.c (sparc_opcodes): Add ldtw, ldtwa, sttw, sttwa, - lzcnt, flush with '[address]' syntax, and missing cbcond pseudo - ops. Make 64-bit VIS logical ops have "d" suffix in their names, - mark existing mnenomics as aliases. Add "cc" suffix to edge - instructions generating condition codes, mark existing mnenomics - as aliases. Add "fp" prefix to VIS compare instructions, mark - existing mnenomics as aliases. - -2013-04-03 Nick Clifton - - * v850-dis.c (print_value): With V850_INVERSE_PCREL compute the - destination address by subtracting the operand from the current - address. - * v850-opc.c (insert_u16_loop): Disallow negative offsets. Store - a positive value in the insn. - (extract_u16_loop): Do not negate the returned value. - (D16_LOOP): Add V850_INVERSE_PCREL flag. - - (ceilf.sw): Remove duplicate entry. - (cvtf.hs): New entry. - (cvtf.sh): Likewise. - (fmaf.s): Likewise. - (fmsf.s): Likewise. - (fnmaf.s): Likewise. - (fnmsf.s): Likewise. - (maddf.s): Restrict to E3V5 architectures. - (msubf.s): Likewise. - (nmaddf.s): Likewise. - (nmsubf.s): Likewise. - -2013-03-27 H.J. Lu - - * i386-dis.c (get_sib): Add the sizeflag argument. Properly - check address mode. - (print_insn): Pass sizeflag to get_sib. - -2013-03-27 Alexis Deruelle - - PR binutils/15068 - * tic6x-dis.c: Add support for displaying 16-bit insns. - -2013-03-20 Alexis Deruelle - - PR gas/15095 - * tic6x-dis.c (print_insn_tic6x): Decode opcodes that have - individual msb and lsb halves in src1 & src2 fields. Discard the - src1 (lsb) value and only use src2 (msb), discarding bit 0, to - follow what Ti SDK does in that case as any value in the src1 - field yields the same output with SDK disassembler. - -2013-03-12 Michael Eager - - * opcodes/mips-dis.c (print_insn_args): Modify def of reg. - -2013-03-11 Sebastian Huber - - * nios2-opc.c (nios2_builtin_opcodes): Add entry for wrprs. - -2013-03-11 Sebastian Huber - - * nios2-opc.c (nios2_builtin_opcodes): Add entry for rdprs. - -2013-03-11 Sebastian Huber - - * nios2-opc.c (nios2_builtin_regs): Add sstatus alias for ba register. - -2013-03-11 Kyrylo Tkachov - - * arm-dis.c (arm_opcodes): Add entries for CRC instructions. - (thumb32_opcodes): Likewise. - (print_insn_thumb32): Handle 'S' control char. - -2013-03-08 Yann Sionneau - - * lm32-desc.c: Regenerate. - -2013-03-01 H.J. Lu - - * i386-reg.tbl (riz): Add RegRex64. - * i386-tbl.h: Regenerated. - -2013-02-28 Yufeng Zhang - - * aarch64-tbl.h (QL_I3SAMEW, QL_I3WWX): New macros. - (aarch64_feature_crc): New static. - (CRC): New macro. - (aarch64_opcode_table): Add entries for the crc32b, crc32h, crc32w, - crc32x, crc32cb, crc32ch, crc32cw and crc32cx instructions. - * aarch64-asm-2.c: Re-generate. - * aarch64-dis-2.c: Ditto. - * aarch64-opc-2.c: Ditto. - -2013-02-27 Alan Modra - - * rl78-decode.opc (rl78_decode_opcode): Fix typo. - * rl78-decode.c: Regenerate. - -2013-02-25 Kaushik Phatak - - * rl78-decode.opc: Fix encoding of DIVWU insn. - * rl78-decode.c: Regenerate. - -2013-02-19 H.J. Lu - - PR gas/15159 - * i386-dis.c (rm_table): Add clac and stac to RM_0F01_REG_1. - - * i386-gen.c (cpu_flag_init): Add CPU_SMAP_FLAGS. - (cpu_flags): Add CpuSMAP. - - * i386-opc.h (CpuSMAP): New. - (i386_cpu_flags): Add cpusmap. - - * i386-opc.tbl: Add clac and stac. - - * i386-init.h: Regenerated. - * i386-tbl.h: Likewise. - -2013-02-15 Markos Chandras - - * metag-dis.c: Initialize outf->bytes_per_chunk to 4 - which also makes the disassembler output be in little - endian like it should be. - -2013-02-14 Yufeng Zhang - - * aarch64-opc.c (aarch64_prfops): Change unnamed operation 'name' - fields to NULL. - (aarch64_print_operand): Adjust the printing for AARCH64_OPND_PRFOP. - -2013-02-13 Maciej W. Rozycki - - * mips-dis.c (is_compressed_mode_p): Only match symbols from the - section disassembled. - -2013-02-11 Kyrylo Tkachov - - * arm-dis.c: Update strht pattern. - -2013-02-09 Jürgen Urban - - * mips-opc.c (mips_builtin_opcodes): Enable l.d and s.d macros for - single-float. Disable ll, lld, sc and scd for EE. Disable the - trunc.w.s macro for EE. - -2013-02-06 Sandra Loosemore - Andrew Jenner - - Based on patches from Altera Corporation. - - * Makefile.am (TARGET_LIBOPCODES_CFILES): Add nios2-dis.c and - nios2-opc.c. - * Makefile.in: Regenerated. - * configure.in: Add case for bfd_nios2_arch. - * configure: Regenerated. - * disassemble.c (ARCH_nios2): Define. - (disassembler): Add case for bfd_arch_nios2. - * nios2-dis.c: New file. - * nios2-opc.c: New file. - -2013-02-04 Alan Modra - - * po/POTFILES.in: Regenerate. - * rl78-decode.c: Regenerate. - * rx-decode.c: Regenerate. - -2013-01-30 Yufeng Zhang - - * aarch64-tbl.h (aarch64_opcode_table): Flag sshll, sshll2, ushll and - ushll2 with F_HAS_ALIAS. Add entries for sxtl, sxtl2, uxtl and uxtl2. - * aarch64-asm.c (convert_xtl_to_shll): New function. - (convert_to_real): Handle OP_SXTL, OP_SXTL2, OP_UXTL and OP_UXTL2 by - calling convert_xtl_to_shll. - * aarch64-dis.c (convert_shll_to_xtl): New function. - (convert_to_alias): Handle OP_SXTL, OP_SXTL2, OP_UXTL and OP_UXTL2 by - calling convert_shll_to_xtl. - * aarch64-gen.c: Update copyright year. - * aarch64-asm-2.c: Re-generate. - * aarch64-dis-2.c: Re-generate. - * aarch64-opc-2.c: Re-generate. - -2013-01-24 Nick Clifton - - * v850-dis.c: Add support for e3v5 architecture. - * v850-opc.c: Likewise. - -2013-01-17 Yufeng Zhang - - * aarch64-asm.c (aarch64_ins_advsimd_imm_modified): Handle 8-bit MOVI. - * aarch64-dis.c (aarch64_ext_advsimd_imm_modified): Likewise. - * aarch64-opc.c (operand_general_constraint_met_p): For - AARCH64_MOD_LSL, move the range check on the shift amount before the - alignment check; change to call set_sft_amount_out_of_range_error - instead of set_imm_out_of_range_error. - * aarch64-tbl.h (QL_SIMD_IMM_B): Replace NIL with LSL. - (aarch64_opcode_table): Remove the OP enumerator from the asimdimm - 8-bit MOVI entry; change the 2nd operand from SIMD_IMM to - SIMD_IMM_SFT. - -2013-01-16 H.J. Lu - - * i386-gen.c (operand_type_init): Add OPERAND_TYPE_IMM32_64. - - * i386-init.h: Regenerated. - * i386-tbl.h: Likewise. - -2013-01-15 Nick Clifton - - * v850-dis.c (get_operand_value): Sign extend V850E_IMMEDIATE - values. - * v850-opc.c (IMM16LO): Add V850_OPERAND_SIGNED attribute. - -2013-01-14 Will Newton - - * metag-dis.c (REG_WIDTH): Increase to 64. - -2013-01-10 Peter Bergner - - * ppc-dis.c (ppc_opts): Add "power8", "pwr8" and "htm" entries. - * ppc-opc.c (HTM_R, HTM_SI, XRTRB_MASK, XRTRARB_MASK, XRTLRARB_MASK, - XRTARARB_MASK, XRTBFRARB_MASK, XRCL, POWER8, PPCHTM): New defines. - (SH6): Update. - <"tabort.", "tabortdc.", "tabortdci.", "tabortwc.", - "tabortwci.", "tbegin.", "tcheck", "tend.", "trechkpt.", - "treclaim.", "tsr.">: Add POWER8 HTM opcodes. - <"tendall.", "tresume.", "tsuspend.">: Add POWER8 HTM extended opcodes. - -2013-01-10 Will Newton - - * Makefile.am: Add Meta. - * configure.in: Add Meta. - * disassemble.c: Add Meta support. - * metag-dis.c: New file. - * Makefile.in: Regenerate. - * configure: Regenerate. - -2013-01-07 Kaushik Phatak - - * cr16-dis.c (make_instruction): Rename to cr16_make_instruction. - (match_opcode): Rename to cr16_match_opcode. - -2013-01-04 Juergen Urban - - * mips-dis.c: Add names for CP0 registers of r5900. - * mips-opc.c: Add M_SQ_AB and M_LQ_AB to support larger range for - instructions sq and lq. - Add support for MIPS r5900 CPU. - Add support for 128 bit MMI (Multimedia Instructions). - Add support for EE instructions (Emotion Engine). - Disable unsupported floating point instructions (64 bit and - undefined compare operations). - Enable instructions of MIPS ISA IV which are supported by r5900. - Disable 64 bit co processor instructions. - Disable 64 bit multiplication and division instructions. - Disable instructions for co-processor 2 and 3, because these are - not supported (preparation for later VU0 support (Vector Unit)). - Disable cvt.w.s because this behaves like trunc.w.s and the - correct execution can't be ensured on r5900. - Add trunc.w.s using the opcode encoding of cvt.w.s on r5900. This - will confuse less developers and compilers. - -2013-01-04 Yufeng Zhang - - * aarch64-opc.c (aarch64_print_operand): Change to print - AARCH64_OPND_IMM_MOV in hexadecimal in the instruction and in decimal - in comment. - * aarch64-tbl.h (aarch64_opcode_table): Remove the 'F_PSEUDO' flag - from the opcode entries of OP_MOV_IMM_LOG, OP_MOV_IMM_WIDEN and - OP_MOV_IMM_WIDE. - -2013-01-04 Yufeng Zhang - - * aarch64-opc.c (aarch64_prfops): Update to support PLIL1KEEP, - PLIL1STRM, PLIL2KEEP, PLIL2STRM, PLIL3KEEP and PLIL3STRM. - -2013-01-02 H.J. Lu - - * i386-gen.c (process_copyright): Update copyright year to 2013. - -2013-01-02 Kaushik Phatak - - * cr16-dis.c (match_opcode,make_instruction): Remove static - declaration. - (dwordU,wordU): Moved typedefs to opcode/cr16.h - (cr16_words,cr16_allWords,cr16_currInsn): Added prefix 'cr16_'. - -For older changes see ChangeLog-2012 +For older changes see ChangeLog-2013 -Copyright (C) 2013 Free Software Foundation, Inc. +Copyright (C) 2014 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright diff --git a/opcodes/ChangeLog-2013 b/opcodes/ChangeLog-2013 new file mode 100644 index 00000000000..8a9d7e6c1d4 --- /dev/null +++ b/opcodes/ChangeLog-2013 @@ -0,0 +1,1364 @@ +2013-12-17 Kuan-Lin Chen + + * nds32-dis.c (sr_map): Add system register table for disassembling. + (usr_map): Fix typo. + * nds32-asm.c (keyword_sr): Add embedded debug registers. + +2013-12-17 Michael Zolotukhin + + * i386-dis.c (MOD_FF_REG_3): New. + (MOD_FF_REG_5): Likewise. + (mod_table): Add MOD_FF_REG_3 and MOD_FF_REG_5. + (reg_table): Use MOD_FF_REG_3 and MOD_FF_REG_5. + +2013-12-16 Andrew Bennett + + * mips-dis.c: Add mips_cp1_names pointer. + (mips_cp1_names_numeric): New array. + (mips_cp1_names_mips3264): New array. + (mips_arch_choice): Add cp1_names. + (mips_arch_choices): Add relevant cp1 register name array to each of + the elements. + (set_default_mips_dis_options): Add support for setting up the + mips_cp1_names pointer. + (parse_mips_dis_option): Add support for the cp1-names command line + variable. Also setup the mips_cp1_names pointer. + (print_reg): Print out name of the cp1 register. + +2013-12-16 Andrew Bennett + + * micromips-opc.c (decode_micromips_operand): Reduced range of +o, +u, + +v and +w. + (micromips_opcodes): Reduced element index range for sldi, splati, + copy_s, copy_u, insert and insve instructions. + * opcodes/mips-opc.c (decode_mips_operand): Reduced range of +o, +u, + +v and +w. + (mips_builtin_opcodes): Reduced element index range for sldi, splati, + copy_s, copy_u, insert and insve instructions. + +2013-12-13 Jan-Benedict Glaw + + * nds32-dis.c (mnemonic_96): Fix typo. + +2013-12-13 Kuan-Lin Chen + Wei-Cheng Wang + + * Makefile.am (TARGET_LIBOPCODES_CFILES): Add nds32-asm.c + and nds32-dis.c. + * Makefile.in: Regenerate. + * configure.in: Add case for bfd_nds32_arch. + * configure: Regenerate. + * disassemble.c (ARCH_nds32): Define. + * nds32-asm.c: New file for nds32. + * nds32-asm.h: New file for nds32. + * nds32-dis.c: New file for nds32. + * nds32-opc.h: New file for nds32. + +2013-12-05 Nick Clifton + + * s390-mkopc.c (dumpTable): Provide a format string to printf so + that compiling with -Werror=format-security does not produce an + error. + +2013-11-20 Yufeng Zhang + + * aarch64-opc.c (aarch64_pstatefields): Update. + +2013-11-19 Catherine Moore + + * micromips-opc.c (LM): Define. + (micromips_opcodes): Add LM to load instructions. + * mips-opc.c (prefe): Add LM attribute. + +2013-11-18 Yufeng Zhang + + Revert + + 2013-11-15 Yufeng Zhang + + * aarch64-opc.c (CPENT): New define. + (F_READONLY, F_WRITEONLY): Likewise. + (aarch64_sys_regs): Add trace unit registers. + (aarch64_sys_reg_readonly_p): New function. + (aarch64_sys_reg_writeonly_p): Ditto. + +2013-11-15 Yufeng Zhang + + * aarch64-opc.c (CPENT): New define. + (F_READONLY, F_WRITEONLY): Likewise. + (aarch64_sys_regs): Add trace unit registers. + (aarch64_sys_reg_readonly_p): New function. + (aarch64_sys_reg_writeonly_p): Ditto. + +2013-11-15 Maciej W. Rozycki + + * mips-opc.c (mips_builtin_opcodes): Add RD_2 to "mfcr" and + "mtcr". + +2013-11-11 Catherine Moore + + * mips-dis.c (print_insn_mips): Use + INSN_LOAD_MEMORY instead of INSN_LOAD_MEMORY_DELAY. + (print_insn_micromips): Likewise. + * mips-opc.c (LDD): Remove. + (CLD): Include INSN_LOAD_MEMORY. + (LM): New. + (mips_builtin_opcodes): Use LM instead of LDD. + Add LM to load instructions. + +2013-11-08 H.J. Lu + + PR gas/16140 + * i386-gen.c (cpu_flag_init): Remove CpuNop from CPU_K6_2_FLAGS. + * i386-init.h: Regenerated. + +2013-11-05 Yufeng Zhang + + * aarch64-opc.c (F_DEPRECATED): New macro. + (aarch64_sys_regs): Update; flag "spsr_svc" and "spsr_hyp" with + F_DEPRECATED. + (aarch64_print_operand): Call aarch64_sys_reg_deprecated_p on + AARCH64_OPND_SYSREG. + +2013-11-05 Yufeng Zhang + + * aarch64-dis.c (convert_ubfm_to_lsl): Check for cond != '111x'. + (convert_from_csel): Likewise. + * aarch64-opc.c (operand_general_constraint_met_p): Handle + AARCH64_OPND_CLASS_COND and AARCH64_OPND_COND1. + (aarch64_print_operand): Handle AARCH64_OPND_COND1. + * aarch64-tbl.h (aarch64_opcode_table): Use COND1 instead of + COND for cinc, cset, cinv, csetm and cneg. + (AARCH64_OPERANDS): Add entry for AARCH64_OPND_COND1. + * aarch64-asm-2.c: Re-generated. + * aarch64-dis-2.c: Ditto. + * aarch64-opc-2.c: Ditto. + +2013-11-05 Yufeng Zhang + + * aarch64-opc.c (set_syntax_error): New function. + (operand_general_constraint_met_p): Replace set_other_error + with set_syntax_error. + +2013-10-30 Andreas Arnez + + * s390-dis.c (init_disasm): Default to full 'zarch' opcode + availability even for 31-bit programs. + +2013-10-15 Ramana Radhakrishnan + + * arm-dis.c (neon_opcodes): Adjust print string for vshll. + +2013-10-14 Chao-ying Fu + + * micromips-opc.c (decode_micromips_operand): Add +T, +U, +V, +W, + +d, +e, +h, +k, +l, +n, +o, +u, +v, +w, +x, + +~, +!, +@, +#, +$, +%, +^, +&, +*, +|. + (MSA): New define. + (MSA64): New define. + (micromips_opcodes): Add MSA instructions. + * mips-dis.c (msa_control_names): New array. + (mips_abi_choice): Add ASE_MSA to mips32r2. + Remove ASE_MDMX from mips64r2. + Add ASE_MSA and ASE_MSA64 to mips64r2. + (parse_mips_dis_option): Handle -Mmsa. + (print_reg): Handle cases for OP_REG_MSA and OP_REG_MSA_CTRL. + (print_insn_arg): Handle cases for OP_IMM_INDEX and OP_REG_INDEX. + (print_mips_disassembler_options): Print -Mmsa. + * mips-opc.c (decode_mips_operand): Add +T, +U, +V, +W, +d, +e, +h, +k, + +l, +n, +o, +u, +v, +w, +~, +!, +@, +#, +$, +%, +^, +&, +*, +|. + (MSA): New define. + (MSA64): New define. + (mips_builtin_op): Add MSA instructions. + +2013-10-13 Sandra Loosemore + + * nios2-opc.c (nios2_builtin_reg): Use "sstatus" rather than "ba" + as the primary name of r30. + +2013-10-12 Jan Beulich + + * i386-dis.c (intel_operand_size): Move v_bnd_mode alongside the + default case. + (OP_E_register): Move v_bnd_mode alongside m_mode. + * i386-opc.tbl (bndcl, bndcu, bndcn): Split 32- and 64-bit variants. + Drop Reg16 and Disp16. Add NoRex64. + (bndmk, bndmov, bndldx, bndstx): Drop Disp16. + * i386-tbl.h: Re-generate. + +2013-10-10 Sean Keys + + * xgate-opc.c (xgate_opcode): Remove short_hand field from opcode + table. + * xgate-dis.c (print_insn): Refactor to work with table change. + +2013-10-10 Roland McGrath + + * i386-dis.c (oappend_maybe_intel): New function. + (OP_ST, OP_STi, append_seg, OP_I, OP_I64, OP_sI, OP_ESreg): Use it. + (OP_C, OP_T, CMP_Fixup, OP_EX_VexImmW): Likewise. + (VCMP_Fixup, VPCMP_Fixup, PCLMUL_Fixup): Likewise. + + * cr16-opc.c (REG): Cast NAME to 'reg' enum type to suppress + possible compiler warnings when the union's initializer is + actually meant for the 'preg' enum typed member. + * crx-opc.c (REG): Likewise. + + * v850-dis.c (v850_cacheop_codes, v850_prefop_codes): + Remove duplicate const qualifier. + +2013-10-08 Jan Beulich + + * i386-opc.tbl (invlpg): Use Anysize instead of Unspecified. + (clflush): Use Anysize instead of Byte|Unspecified. + (prefetch*): Likewise. + * i386-tbl.h: Re-generate. + +2013-10-07 Chao-ying Fu + + * micromips-opc.c (micromips_opcodes): Fix dmfgc0 and dmtgc0. + +2013-09-30 H.J. Lu + + * i386-opc.tbl: Add Size64 to movq/vmovq with Reg64 operand. + * i386-init.h: Regenerated. + +2013-09-30 Saravanan Ekanathan + + * i386-gen.c (cpu_flag_init): Add CPU_BDVER4_FLAGS. + * i386-init.h: Regenerated. + +2013-09-20 Alan Modra + + * configure: Regenerate. + +2013-09-17 Richard Sandiford + + * s390-opc.txt (clih): Make the immediate unsigned. + +2013-09-04 Roland McGrath + + PR gas/15914 + * arm-dis.c (arm_opcodes): Add udf. + (thumb_opcodes): Use "udf" mnemonic rather than UNDEFINED_INSTRUCTION. + (thumb32_opcodes): Add udf.w. + (print_insn_thumb32): Handle %H as the thumb32_opcodes comment says. + +2013-09-02 Andreas Krebbel + + * s390-opc.txt: Fix description for fiebra, fidbra, and fixbra. + For the load fp integer instructions only the suppression flag was + new with z196 version. + +2013-08-28 Nick Clifton + + * aarch64-opc.c (aarch64_logical_immediate_p): Return FALSE if the + immediate is not suitable for the 32-bit ABI. + +2013-08-23 Maciej W. Rozycki + + * micromips-opc.c (micromips_opcodes): Use RD_4 for "alnv.ps", + replacing NODS. + +2013-08-23 Yuri Chornoivan + + PR binutils/15834 + * aarch64-asm.c: Fix typos. + * aarch64-dis.c: Likewise. + * msp430-dis.c: Likewise. + +2013-08-19 Richard Sandiford + + * micromips-opc.c (micromips_opcodes): Replace "dext" and "dins" + macro entries with "dextm", "dextu", "dinsm" and "dinsu" aliases. + Use +H rather than +C for the real "dext". + * mips-opc.c (mips_builtin_opcodes): Likewise. + +2013-08-19 Richard Sandiford + + * mips-formats.h (OPTIONAL_REG, OPTIONAL_MAPPED_REG): New macros. + * micromips-opc.c (decode_micromips_operand): Use OPTIONAL_REG + and OPTIONAL_MAPPED_REG. + * mips-opc.c (decode_mips_operand): Likewise. + * mips16-opc.c (decode_mips16_operand): Likewise. + * mips-dis.c (print_insn_arg): Handle OP_OPTIONAL_REG. + +2013-08-19 H.J. Lu + + * i386-dis.c (PREFIX_EVEX_0F3A3E): Removed. + (PREFIX_EVEX_0F3A3F): Likewise. + * i386-dis-evex.h (evex_table): Updated. + +2013-08-06 Jürgen Urban + + * mips-opc.c (mips_builtin_opcodes): Add a suffixless version of + VCLIPW. + +2013-08-05 Eric Botcazou + Konrad Eisele + + * sparc-dis.c (compute_arch_mask): Set SPARC_OPCODE_ARCH_LEON bit for + bfd_mach_sparc. + * sparc-opc.c (MASK_LEON): Define. + (v6, v6notlet, v7, v8, v6notv9): Add MASK_LEON. + (letandleon): New macro. + (v9andleon): Likewise. + (sparc_opc): Add leon. + (umac): Enable for letandleon. + (smac): Likewise. + (casa): Enable for v9andleon. + (cas): Likewise. + (casl): Likewise. + +2013-08-04 Jürgen Urban + Richard Sandiford + + * mips-dis.c (print_reg): Handle OP_REG_VI, OP_REG_VF, OP_REG_R5900_I, + OP_REG_R5900_Q, OP_REG_R5900_R and OP_REG_R5900_ACC. + (print_vu0_channel): New function. + (print_insn_arg): Handle OP_VU0_SUFFIX and OP_VU0_MATCH_SUFFIX. + (print_insn_args): Handle '#'. + (print_insn_mips): Handle INSN2_VU0_CHANNEL_SUFFIX. + * mips-opc.c (mips_vu0_channel_mask): New constant. + (decode_mips_operand): Handle new VU0 operand types. + (VU0, VU0CH): New macros. + (mips_builtin_opcodes): Add VU0 opcodes. Use "+7" rather than "E" + for LQC2 and SQC2. Use "+9" rather than "G" for EE CFC2 and CTC2. + Use "+6" rather than "G" for QMFC2 and QMTC2. + +2013-08-03 Richard Sandiford + + * mips-formats.h (PCREL): Reorder parameters and update the definition + to match new mips_pcrel_operand layout. + (JUMP, JALX, BRANCH): Update accordingly. + * mips16-opc.c (decode_mips16_operand): Likewise. + +2013-08-01 Richard Sandiford + + * micromips-opc.c (WR_s): Delete. + +2013-08-01 Richard Sandiford + + * mips-opc.c (WR_1, WR_2, RD_1, RD_2, RD_3, RD_4, MOD_1, MOD_2, UDI): + New macros. + (WR_d, WR_t, WR_D, WR_T, WR_S, RD_s, RD_b, RD_t, RD_S, RD_T, RD_R) + (WR_z, WR_Z, RD_z, RD_Z, RD_d): Delete. + (mips_builtin_opcodes): Use the new position-based read-write flags + instead of field-based ones. Use UDI for "udi..." instructions. + * mips16-opc.c (WR_1, WR_2, RD_1, RD_2, RD_3, RD_4, MOD_1, MOD_2): + New macros. + (WR_x, WR_y, WR_z, WR_Y, RD_x, RD_y, RD_Z, RD_X): Delete. + (RD_T, WR_T, WR_31): Redefine using generic INSN_* flags. + (WR_SP, RD_16): New macros. + (RD_SP): Redefine as an INSN2_* flag. + (MOD_SP): Redefine in terms of RD_SP and WR_SP. + (mips16_opcodes): Use the new position-based read-write flags + instead of field-based ones. Use RD_16 for "nop". Move RD_SP to + pinfo2 field. + * micromips-opc.c (WR_1, WR_2, RD_1, RD_2, RD_3, RD_4, MOD_1, MOD_2): + New macros. + (WR_mb, RD_mc, RD_md, WR_md, RD_me, RD_mf, WR_mf, RD_mg, WR_mh, RD_mj) + (WR_mj, RD_ml, RD_mmn, RD_mp, WR_mp, RD_mq, RD_gp, WR_d, WR_t, WR_D) + (WR_T, WR_S, RD_s, RD_b, RD_t, RD_T, RD_S, RD_R, RD_D): Delete. + (RD_sp, WR_sp): Redefine to INSN2_READ_SP and INSN2_WRITE_SP. + (micromips_opcodes): Use the new position-based read-write flags + instead of field-based ones. + * mips-dis.c (print_insn_arg): Use mips_decode_reg_operand. + (print_insn_mips, print_insn_micromips): Use INSN_WRITE_1 instead + of field-based flags. + +2013-08-01 Richard Sandiford + + * mips16-opc.c (UBR, CBR, RD_31, RD_PC): Redefine as INSN2_* flags. + (WR_SP): Replace with... + (MOD_SP): ...this. + (mips16_opcodes): Update accordingly. + * mips-dis.c (print_insn_mips16): Likewise. + +2013-08-01 Richard Sandiford + + * mips16-opc.c (mips16_opcodes): Reformat. + +2013-08-01 Richard Sandiford + + * mips-opc.c (mips_builtin_opcodes): Remove WR_* and RD_* flags + for operands that are hard-coded to $0. + * micromips-opc.c (micromips_opcodes): Likewise. + +2013-08-01 Richard Sandiford + + * mips-opc.c (mips_builtin_opcodes): Use WR_31 rather than WR_d + for the single-operand forms of JALR and JALR.HB. + * micromips-opc.c (micromips_opcodes): Likewise JALR, JALRS, JALR.HB + and JALRS.HB. + +2013-08-01 Richard Sandiford + + * mips-opc.c (mips_builtin_opcodes): Add FP_D to VR5400 vector + instructions. Fix them to use WR_MACC instead of WR_CC and + add missing RD_MACCs. + +2013-08-01 Richard Sandiford + + * mips-dis.c (print_mips16_insn_arg): Include ISA bit in base address. + +2013-07-29 Peter Bergner + + * ppc-dis.c (powerpc_init_dialect): Use ppc_parse_cpu() to set dialect. + +2013-07-26 Sergey Guriev + Alexander Ivchenko + Maxim Kuznetsov + Sergey Lega + Anna Tikhonova + Ilya Tocar + Andrey Turetskiy + Ilya Verbin + Kirill Yukhin + Michael Zolotukhin + + * i386-dis-evex.h: New. + * i386-dis.c (OP_Rounding): New. + (VPCMP_Fixup): New. + (OP_Mask): New. + (Rdq): New. + (XMxmmq): New. + (EXdScalarS): New. + (EXymm): New. + (EXEvexHalfBcstXmmq): New. + (EXxmm_mdq): New. + (EXEvexXGscat): New. + (EXEvexXNoBcst): New. + (VPCMP): New. + (EXxEVexR): New. + (EXxEVexS): New. + (XMask): New. + (MaskG): New. + (MaskE): New. + (MaskR): New. + (MaskVex): New. + (modes enum): Add evex_x_gscat_mode, evex_x_nobcst_mode, + evex_half_bcst_xmmq_mode, xmm_mdq_mode, ymm_mode, + evex_rounding_mode, evex_sae_mode, mask_mode. + (USE_EVEX_TABLE): New. + (EVEX_TABLE): New. + (EVEX enum): New. + (REG enum): Add REG_EVEX_0F72, REG_EVEX_0F73, REG_EVEX_0F38C6, + REG_EVEX_0F38C7. + (MOD enum): Add MOD_EVEX_0F10_PREFIX_1, MOD_EVEX_0F10_PREFIX_3, + MOD_EVEX_0F11_PREFIX_1, MOD_EVEX_0F11_PREFIX_3, + MOD_EVEX_0F12_PREFIX_0, MOD_EVEX_0F16_PREFIX_0, MOD_EVEX_0F38C6_REG_1, + MOD_EVEX_0F38C6_REG_2, MOD_EVEX_0F38C6_REG_5, MOD_EVEX_0F38C6_REG_6, + MOD_EVEX_0F38C7_REG_1, MOD_EVEX_0F38C7_REG_2, MOD_EVEX_0F38C7_REG_5, + MOD_EVEX_0F38C7_REG_6. + (PREFIX enum): Add PREFIX_VEX_0F41, PREFIX_VEX_0F42, PREFIX_VEX_0F44, + PREFIX_VEX_0F45, PREFIX_VEX_0F46, PREFIX_VEX_0F47, PREFIX_VEX_0F4B, + PREFIX_VEX_0F90, PREFIX_VEX_0F91, PREFIX_VEX_0F92, PREFIX_VEX_0F93, + PREFIX_VEX_0F98, PREFIX_VEX_0F3A30, PREFIX_VEX_0F3A32, + PREFIX_VEX_0F3AF0, PREFIX_EVEX_0F10, PREFIX_EVEX_0F11, + PREFIX_EVEX_0F12, PREFIX_EVEX_0F13, PREFIX_EVEX_0F14, + PREFIX_EVEX_0F15, PREFIX_EVEX_0F16, PREFIX_EVEX_0F17, + PREFIX_EVEX_0F28, PREFIX_EVEX_0F29, PREFIX_EVEX_0F2A, + PREFIX_EVEX_0F2B, PREFIX_EVEX_0F2C, PREFIX_EVEX_0F2D, + PREFIX_EVEX_0F2E, PREFIX_EVEX_0F2F, PREFIX_EVEX_0F51, + PREFIX_EVEX_0F58, PREFIX_EVEX_0F59, PREFIX_EVEX_0F5A, + PREFIX_EVEX_0F5B, PREFIX_EVEX_0F5C, PREFIX_EVEX_0F5D, + PREFIX_EVEX_0F5E, PREFIX_EVEX_0F5F, PREFIX_EVEX_0F62, + PREFIX_EVEX_0F66, PREFIX_EVEX_0F6A, PREFIX_EVEX_0F6C, + PREFIX_EVEX_0F6D, PREFIX_EVEX_0F6E, PREFIX_EVEX_0F6F, + PREFIX_EVEX_0F70, PREFIX_EVEX_0F72_REG_0, PREFIX_EVEX_0F72_REG_1, + PREFIX_EVEX_0F72_REG_2, PREFIX_EVEX_0F72_REG_4, + PREFIX_EVEX_0F72_REG_6, PREFIX_EVEX_0F73_REG_2, + PREFIX_EVEX_0F73_REG_6, PREFIX_EVEX_0F76, PREFIX_EVEX_0F78, + PREFIX_EVEX_0F79, PREFIX_EVEX_0F7A, PREFIX_EVEX_0F7B, + PREFIX_EVEX_0F7E, PREFIX_EVEX_0F7F, PREFIX_EVEX_0FC2, + PREFIX_EVEX_0FC6, PREFIX_EVEX_0FD2, PREFIX_EVEX_0FD3, + PREFIX_EVEX_0FD4, PREFIX_EVEX_0FD6, PREFIX_EVEX_0FDB, + PREFIX_EVEX_0FDF, PREFIX_EVEX_0FE2, PREFIX_EVEX_0FE6 PREFIX_EVEX_0FE7, + PREFIX_EVEX_0FEB, PREFIX_EVEX_0FEF, PREFIX_EVEX_0FF2, + PREFIX_EVEX_0FF3, PREFIX_EVEX_0FF4, PREFIX_EVEX_0FFA, PREFIX_EVEX_0FFB, + PREFIX_EVEX_0FFE, PREFIX_EVEX_0F380C, PREFIX_EVEX_0F380D, + PREFIX_EVEX_0F3811, PREFIX_EVEX_0F3812, PREFIX_EVEX_0F3813, + PREFIX_EVEX_0F3814, PREFIX_EVEX_0F3815, PREFIX_EVEX_0F3816, + PREFIX_EVEX_0F3818, PREFIX_EVEX_0F3819, PREFIX_EVEX_0F381A, + PREFIX_EVEX_0F381B, PREFIX_EVEX_0F381E, PREFIX_EVEX_0F381F, + PREFIX_EVEX_0F3821, PREFIX_EVEX_0F3822, PREFIX_EVEX_0F3823, + PREFIX_EVEX_0F3824, PREFIX_EVEX_0F3825, PREFIX_EVEX_0F3827, + PREFIX_EVEX_0F3828, PREFIX_EVEX_0F3829, PREFIX_EVEX_0F382A, + PREFIX_EVEX_0F382C, PREFIX_EVEX_0F382D, PREFIX_EVEX_0F3831, + PREFIX_EVEX_0F3832, PREFIX_EVEX_0F3833, PREFIX_EVEX_0F3834, + PREFIX_EVEX_0F3835, PREFIX_EVEX_0F3836, PREFIX_EVEX_0F3837, + PREFIX_EVEX_0F3839, PREFIX_EVEX_0F383A, PREFIX_EVEX_0F383B, + PREFIX_EVEX_0F383D, PREFIX_EVEX_0F383F, PREFIX_EVEX_0F3840, + PREFIX_EVEX_0F3842, PREFIX_EVEX_0F3843, PREFIX_EVEX_0F3844, + PREFIX_EVEX_0F3845, PREFIX_EVEX_0F3846, PREFIX_EVEX_0F3847, + PREFIX_EVEX_0F384C, PREFIX_EVEX_0F384D, PREFIX_EVEX_0F384E, + PREFIX_EVEX_0F384F, PREFIX_EVEX_0F3858, PREFIX_EVEX_0F3859, + PREFIX_EVEX_0F385A, PREFIX_EVEX_0F385B, PREFIX_EVEX_0F3864, + PREFIX_EVEX_0F3865, PREFIX_EVEX_0F3876, PREFIX_EVEX_0F3877, + PREFIX_EVEX_0F387C, PREFIX_EVEX_0F387E, PREFIX_EVEX_0F387F, + PREFIX_EVEX_0F3888, PREFIX_EVEX_0F3889, PREFIX_EVEX_0F388A, + PREFIX_EVEX_0F388B, PREFIX_EVEX_0F3890, PREFIX_EVEX_0F3891, + PREFIX_EVEX_0F3892, PREFIX_EVEX_0F3893, PREFIX_EVEX_0F3896, + PREFIX_EVEX_0F3897, PREFIX_EVEX_0F3898, PREFIX_EVEX_0F3899, + PREFIX_EVEX_0F389A, PREFIX_EVEX_0F389B, PREFIX_EVEX_0F389C, + PREFIX_EVEX_0F389D, PREFIX_EVEX_0F389E, PREFIX_EVEX_0F389F, + PREFIX_EVEX_0F38A0, PREFIX_EVEX_0F38A1, PREFIX_EVEX_0F38A2, + PREFIX_EVEX_0F38A3, PREFIX_EVEX_0F38A6, PREFIX_EVEX_0F38A7, + PREFIX_EVEX_0F38A8, PREFIX_EVEX_0F38A9, PREFIX_EVEX_0F38AA, + PREFIX_EVEX_0F38AB, PREFIX_EVEX_0F38AC, PREFIX_EVEX_0F38AD, + PREFIX_EVEX_0F38AE, PREFIX_EVEX_0F38AF, PREFIX_EVEX_0F38B6, + PREFIX_EVEX_0F38B7, PREFIX_EVEX_0F38B8, PREFIX_EVEX_0F38B9, + PREFIX_EVEX_0F38BA, PREFIX_EVEX_0F38BB, PREFIX_EVEX_0F38BC, + PREFIX_EVEX_0F38BD, PREFIX_EVEX_0F38BE, PREFIX_EVEX_0F38BF, + PREFIX_EVEX_0F38C4, PREFIX_EVEX_0F38C6_REG_1, + PREFIX_EVEX_0F38C6_REG_2, PREFIX_EVEX_0F38C6_REG_5, + PREFIX_EVEX_0F38C6_REG_6, PREFIX_EVEX_0F38C7_REG_1, + PREFIX_EVEX_0F38C7_REG_2, PREFIX_EVEX_0F38C7_REG_5, + PREFIX_EVEX_0F38C7_REG_6, PREFIX_EVEX_0F38C8, PREFIX_EVEX_0F38CA, + PREFIX_EVEX_0F38CB, PREFIX_EVEX_0F38CC, PREFIX_EVEX_0F38CD, + PREFIX_EVEX_0F3A00, PREFIX_EVEX_0F3A01, PREFIX_EVEX_0F3A03, + PREFIX_EVEX_0F3A04, PREFIX_EVEX_0F3A05, PREFIX_EVEX_0F3A08, + PREFIX_EVEX_0F3A09, PREFIX_EVEX_0F3A0A, PREFIX_EVEX_0F3A0B, + PREFIX_EVEX_0F3A17, PREFIX_EVEX_0F3A18, PREFIX_EVEX_0F3A19, + PREFIX_EVEX_0F3A1A, PREFIX_EVEX_0F3A1B, PREFIX_EVEX_0F3A1D, + PREFIX_EVEX_0F3A1E, PREFIX_EVEX_0F3A1F, PREFIX_EVEX_0F3A21, + PREFIX_EVEX_0F3A23, PREFIX_EVEX_0F3A25, PREFIX_EVEX_0F3A26, + PREFIX_EVEX_0F3A27, PREFIX_EVEX_0F3A38, PREFIX_EVEX_0F3A39, + PREFIX_EVEX_0F3A3A, PREFIX_EVEX_0F3A3B, PREFIX_EVEX_0F3A3E, + PREFIX_EVEX_0F3A3F, PREFIX_EVEX_0F3A43, PREFIX_EVEX_0F3A54, + PREFIX_EVEX_0F3A55. + (VEX_LEN enum): Add VEX_LEN_0F41_P_0, VEX_LEN_0F42_P_0, VEX_LEN_0F44_P_0, + VEX_LEN_0F45_P_0, VEX_LEN_0F46_P_0, VEX_LEN_0F47_P_0, + VEX_LEN_0F4B_P_2, VEX_LEN_0F90_P_0, VEX_LEN_0F91_P_0, + VEX_LEN_0F92_P_0, VEX_LEN_0F93_P_0, VEX_LEN_0F98_P_0, + VEX_LEN_0F3A30_P_2, VEX_LEN_0F3A32_P_2, VEX_W_0F41_P_0_LEN_1, + VEX_W_0F42_P_0_LEN_1, VEX_W_0F44_P_0_LEN_0, VEX_W_0F45_P_0_LEN_1, + VEX_W_0F46_P_0_LEN_1, VEX_W_0F47_P_0_LEN_1, VEX_W_0F4B_P_2_LEN_1, + VEX_W_0F90_P_0_LEN_0, VEX_W_0F91_P_0_LEN_0, VEX_W_0F92_P_0_LEN_0, + VEX_W_0F93_P_0_LEN_0, VEX_W_0F98_P_0_LEN_0, VEX_W_0F3A30_P_2_LEN_0, + VEX_W_0F3A32_P_2_LEN_0. + (VEX_W enum): Add EVEX_W_0F10_P_0, EVEX_W_0F10_P_1_M_0, + EVEX_W_0F10_P_1_M_1, EVEX_W_0F10_P_2, EVEX_W_0F10_P_3_M_0, + EVEX_W_0F10_P_3_M_1, EVEX_W_0F11_P_0, EVEX_W_0F11_P_1_M_0, + EVEX_W_0F11_P_1_M_1, EVEX_W_0F11_P_2, EVEX_W_0F11_P_3_M_0, + EVEX_W_0F11_P_3_M_1, EVEX_W_0F12_P_0_M_0, EVEX_W_0F12_P_0_M_1, + EVEX_W_0F12_P_1, EVEX_W_0F12_P_2, EVEX_W_0F12_P_3, EVEX_W_0F13_P_0, + EVEX_W_0F13_P_2, EVEX_W_0F14_P_0, EVEX_W_0F14_P_2, EVEX_W_0F15_P_0, + EVEX_W_0F15_P_2, EVEX_W_0F16_P_0_M_0, EVEX_W_0F16_P_0_M_1, + EVEX_W_0F16_P_1, EVEX_W_0F16_P_2, EVEX_W_0F17_P_0, EVEX_W_0F17_P_2, + EVEX_W_0F28_P_0, EVEX_W_0F28_P_2, EVEX_W_0F29_P_0, EVEX_W_0F29_P_2, + EVEX_W_0F2A_P_1, EVEX_W_0F2A_P_3, EVEX_W_0F2B_P_0, EVEX_W_0F2B_P_2, + EVEX_W_0F2E_P_0, EVEX_W_0F2E_P_2, EVEX_W_0F2F_P_0, EVEX_W_0F2F_P_2, + EVEX_W_0F51_P_0, EVEX_W_0F51_P_1, EVEX_W_0F51_P_2, EVEX_W_0F51_P_3, + EVEX_W_0F58_P_0, EVEX_W_0F58_P_1, EVEX_W_0F58_P_2, EVEX_W_0F58_P_3, + EVEX_W_0F59_P_0, EVEX_W_0F59_P_1, EVEX_W_0F59_P_2, EVEX_W_0F59_P_3, + EVEX_W_0F5A_P_0, EVEX_W_0F5A_P_1, EVEX_W_0F5A_P_2, EVEX_W_0F5A_P_3, + EVEX_W_0F5B_P_0, EVEX_W_0F5B_P_1, EVEX_W_0F5B_P_2, EVEX_W_0F5C_P_0, + EVEX_W_0F5C_P_1, EVEX_W_0F5C_P_2, EVEX_W_0F5C_P_3, EVEX_W_0F5D_P_0, + EVEX_W_0F5D_P_1, EVEX_W_0F5D_P_2, EVEX_W_0F5D_P_3, EVEX_W_0F5E_P_0, + EVEX_W_0F5E_P_1, EVEX_W_0F5E_P_2, EVEX_W_0F5E_P_3, EVEX_W_0F5F_P_0, + EVEX_W_0F5F_P_1, EVEX_W_0F5F_P_2, EVEX_W_0F5F_P_3, EVEX_W_0F62_P_2, + EVEX_W_0F66_P_2, EVEX_W_0F6A_P_2, EVEX_W_0F6C_P_2, EVEX_W_0F6D_P_2, + EVEX_W_0F6E_P_2, EVEX_W_0F6F_P_1, EVEX_W_0F6F_P_2, EVEX_W_0F70_P_2, + EVEX_W_0F72_R_2_P_2, EVEX_W_0F72_R_6_P_2, EVEX_W_0F73_R_2_P_2, + EVEX_W_0F73_R_6_P_2, EVEX_W_0F76_P_2, EVEX_W_0F78_P_0, + EVEX_W_0F79_P_0, EVEX_W_0F7A_P_1, EVEX_W_0F7A_P_3, EVEX_W_0F7B_P_1, + EVEX_W_0F7B_P_3, EVEX_W_0F7E_P_1, EVEX_W_0F7E_P_2, EVEX_W_0F7F_P_1, + EVEX_W_0F7F_P_2, EVEX_W_0FC2_P_0, EVEX_W_0FC2_P_1, EVEX_W_0FC2_P_2, + EVEX_W_0FC2_P_3, EVEX_W_0FC6_P_0, EVEX_W_0FC6_P_2, EVEX_W_0FD2_P_2, + EVEX_W_0FD3_P_2, EVEX_W_0FD4_P_2, EVEX_W_0FD6_P_2, EVEX_W_0FE6_P_1, + EVEX_W_0FE6_P_2, EVEX_W_0FE6_P_3, EVEX_W_0FE7_P_2, EVEX_W_0FF2_P_2, + EVEX_W_0FF3_P_2, EVEX_W_0FF4_P_2, EVEX_W_0FFA_P_2, EVEX_W_0FFB_P_2, + EVEX_W_0FFE_P_2, EVEX_W_0F380C_P_2, EVEX_W_0F380D_P_2, + EVEX_W_0F3811_P_1, EVEX_W_0F3812_P_1, EVEX_W_0F3813_P_1, + EVEX_W_0F3813_P_2, EVEX_W_0F3814_P_1, EVEX_W_0F3815_P_1, + EVEX_W_0F3818_P_2, EVEX_W_0F3819_P_2, EVEX_W_0F381A_P_2, + EVEX_W_0F381B_P_2, EVEX_W_0F381E_P_2, EVEX_W_0F381F_P_2, + EVEX_W_0F3821_P_1, EVEX_W_0F3822_P_1, EVEX_W_0F3823_P_1, + EVEX_W_0F3824_P_1, EVEX_W_0F3825_P_1, EVEX_W_0F3825_P_2, + EVEX_W_0F3828_P_2, EVEX_W_0F3829_P_2, EVEX_W_0F382A_P_1, + EVEX_W_0F382A_P_2, EVEX_W_0F3831_P_1, EVEX_W_0F3832_P_1, + EVEX_W_0F3833_P_1, EVEX_W_0F3834_P_1, EVEX_W_0F3835_P_1, + EVEX_W_0F3835_P_2, EVEX_W_0F3837_P_2, EVEX_W_0F383A_P_1, + EVEX_W_0F3840_P_2, EVEX_W_0F3858_P_2, EVEX_W_0F3859_P_2, + EVEX_W_0F385A_P_2, EVEX_W_0F385B_P_2, EVEX_W_0F3891_P_2, + EVEX_W_0F3893_P_2, EVEX_W_0F38A1_P_2, EVEX_W_0F38A3_P_2, + EVEX_W_0F38C7_R_1_P_2, EVEX_W_0F38C7_R_2_P_2, EVEX_W_0F38C7_R_5_P_2, + EVEX_W_0F38C7_R_6_P_2, EVEX_W_0F3A00_P_2, EVEX_W_0F3A01_P_2, + EVEX_W_0F3A04_P_2, EVEX_W_0F3A05_P_2, EVEX_W_0F3A08_P_2, + EVEX_W_0F3A09_P_2, EVEX_W_0F3A0A_P_2, EVEX_W_0F3A0B_P_2, + EVEX_W_0F3A18_P_2, EVEX_W_0F3A19_P_2, EVEX_W_0F3A1A_P_2, + EVEX_W_0F3A1B_P_2, EVEX_W_0F3A1D_P_2, EVEX_W_0F3A21_P_2, + EVEX_W_0F3A23_P_2, EVEX_W_0F3A38_P_2, EVEX_W_0F3A39_P_2, + EVEX_W_0F3A3A_P_2, EVEX_W_0F3A3B_P_2, EVEX_W_0F3A43_P_2. + (struct vex): Add fields evex, r, v, mask_register_specifier, + zeroing, ll, b. + (intel_names_xmm): Add upper 16 registers. + (att_names_xmm): Ditto. + (intel_names_ymm): Ditto. + (att_names_ymm): Ditto. + (names_zmm): New. + (intel_names_zmm): Ditto. + (att_names_zmm): Ditto. + (names_mask): Ditto. + (intel_names_mask): Ditto. + (att_names_mask): Ditto. + (names_rounding): Ditto. + (names_broadcast): Ditto. + (x86_64_table): Add escape to evex-table. + (reg_table): Include reg_table evex-entries from + i386-dis-evex.h. Fix prefetchwt1 instruction. + (prefix_table): Add entries for new instructions. + (vex_table): Ditto. + (vex_len_table): Ditto. + (vex_w_table): Ditto. + (mod_table): Ditto. + (get_valid_dis386): Properly handle new instructions. + (print_insn): Handle zmm and mask registers, print mask operand. + (intel_operand_size): Support EVEX, new modes and sizes. + (OP_E_register): Handle new modes. + (OP_E_memory): Ditto. + (OP_G): Ditto. + (OP_XMM): Ditto. + (OP_EX): Ditto. + (OP_VEX): Ditto. + * i386-gen.c (cpu_flag_init): Update CPU_ANY_SSE_FLAGS and + CPU_ANY_AVX_FLAGS. Add CPU_AVX512F_FLAGS, CPU_AVX512CD_FLAGS, + CPU_AVX512ER_FLAGS and CPU_AVX512PF_FLAGS. + (cpu_flags): Add CpuAVX512F, CpuAVX512CD, CpuAVX512ER, + CpuAVX512PF and CpuVREX. + (operand_type_init): Add OPERAND_TYPE_REGZMM, + OPERAND_TYPE_REGMASK and OPERAND_TYPE_VEC_DISP8. + (opcode_modifiers): Add EVex, Masking, VecESize, Broadcast, + StaticRounding, SAE, Disp8MemShift, NoDefMask. + (operand_types): Add RegZMM, RegMask, Vec_Disp8, Zmmword. + * i386-init.h: Regenerate. + * i386-opc.h (CpuAVX512F): New. + (CpuAVX512CD): New. + (CpuAVX512ER): New. + (CpuAVX512PF): New. + (CpuVREX): New. + (i386_cpu_flags): Add cpuavx512f, cpuavx512cd, cpuavx512er, + cpuavx512pf and cpuvrex fields. + (VecSIB): Add VecSIB512. + (EVex): New. + (Masking): New. + (VecESize): New. + (Broadcast): New. + (StaticRounding): New. + (SAE): New. + (Disp8MemShift): New. + (NoDefMask): New. + (i386_opcode_modifier): Add evex, masking, vecesize, broadcast, + staticrounding, sae, disp8memshift and nodefmask. + (RegZMM): New. + (Zmmword): Ditto. + (Vec_Disp8): Ditto. + (i386_operand_type): Add regzmm, regmask, zmmword and vec_disp8 + fields. + (RegVRex): New. + * i386-opc.tbl: Add AVX512 instructions. + * i386-reg.tbl: Add 16 upper XMM and YMM registers, 32 new ZMM + registers, mask registers. + * i386-tbl.h: Regenerate. + +2013-07-25 Aaro Koskinen + + PR gas/15220 + * mips-opc.c (mips_builtin_opcodes): Fix wrong opcodes for + Loongson 2F madd.ps, msub.ps, nmadd.ps and nmsub.ps. + +2013-07-25 Michael Zolotukhin + + * i386-dis.c (PREFIX enum): Add PREFIX_0F38C8, PREFIX_0F38C9, + PREFIX_0F38CA, PREFIX_0F38CB, PREFIX_0F38CC, PREFIX_0F38CD, + PREFIX_0F3ACC. + (prefix_table): Updated. + (three_byte_table): Likewise. + * i386-gen.c (cpu_flag_init): Add CPU_SHA_FLAGS. + (cpu_flags): Add CpuSHA. + (i386_cpu_flags): Add cpusha. + * i386-init.h: Regenerate. + * i386-opc.h (CpuSHA): New. + (CpuUnused): Restored. + (i386_cpu_flags): Add cpusha. + * i386-opc.tbl: Add SHA instructions. + * i386-tbl.h: Regenerate. + +2013-07-24 Anna Tikhonova + Kirill Yukhin + Michael Zolotukhin + + * i386-dis.c (BND_Fixup): New. + (Ebnd): New. + (Ev_bnd): New. + (Gbnd): New. + (BND): New. + (v_bnd_mode): New. + (bnd_mode): New. + (MOD enum): Add MOD_0F1A_PREFIX_0, MOD_0F1B_PREFIX_0, + MOD_0F1B_PREFIX_1. + (PREFIX enum): Add PREFIX_0F1A, PREFIX_0F1B. + (dis tables): Replace XX with BND for near branch and call + instructions. + (prefix_table): Add new entries. + (mod_table): Likewise. + (names_bnd): New. + (intel_names_bnd): New. + (att_names_bnd): New. + (BND_PREFIX): New. + (prefix_name): Handle BND_PREFIX. + (print_insn): Initialize names_bnd. + (intel_operand_size): Handle new modes. + (OP_E_register): Likewise. + (OP_E_memory): Likewise. + (OP_G): Likewise. + * i386-gen.c (cpu_flag_init): Add CpuMPX. + (cpu_flags): Add CpuMPX. + (operand_type_init): Add RegBND. + (opcode_modifiers): Add BNDPrefixOk. + (operand_types): Add RegBND. + * i386-init.h: Regenerate. + * i386-opc.h (CpuMPX): New. + (CpuUnused): Comment out. + (i386_cpu_flags): Add cpumpx. + (BNDPrefixOk): New. + (i386_opcode_modifier): Add bndprefixok. + (RegBND): New. + (i386_operand_type): Add regbnd. + * i386-opc.tbl: Add BNDPrefixOk to near jumps, calls and rets. + Add MPX instructions and bnd prefix. + * i386-reg.tbl: Add bnd0-bnd3 registers. + * i386-tbl.h: Regenerate. + +2013-07-17 Richard Sandiford + + * mips-formats.h (MAPPED_INT, MAPPED_REG, REG_PAIR): Add + ATTRIBUTE_UNUSED. + +2013-07-14 Richard Sandiford + + * Makefile.am (mips-opc.lo, micromips-opc.lo, mips16-opc.lo): Remove + special rules. + * Makefile.in: Regenerate. + * mips-opc.c, micromips-opc.c, mips16-opc.c: Explicitly initialize + all fields. Reformat. + +2013-07-14 Richard Sandiford + + * mips16-opc.c: Include mips-formats.h. + (reg_0_map, reg_29_map, reg_31_map, reg_m16_map, reg32r_map): New + static arrays. + (decode_mips16_operand): New function. + * mips-dis.c (mips16_to_32_reg_map, mips16_reg_names): Delete. + (print_insn_arg): Handle OP_ENTRY_EXIT list. + Abort for OP_SAVE_RESTORE_LIST. + (print_mips16_insn_arg): Change interface. Use mips_operand + structures. Delete GET_OP_S. Move GET_OP definition to... + (print_insn_mips16): ...here. Call init_print_arg_state. + Update the call to print_mips16_insn_arg. + +2013-07-14 Richard Sandiford + + * mips-formats.h: New file. + * mips-opc.c: Include mips-formats.h. + (reg_0_map): New static array. + (decode_mips_operand): New function. + * micromips-opc.c: Remove include. Include mips-formats.h. + (reg_0_map, reg_28_map, reg_29_map, reg_31_map, reg_m16_map) + (reg_mn_map, reg_q_map, reg_h_map1, reg_h_map2, int_b_map) + (int_c_map): New static arrays. + (decode_micromips_operand): New function. + * mips-dis.c (micromips_to_32_reg_b_map, micromips_to_32_reg_c_map) + (micromips_to_32_reg_d_map, micromips_to_32_reg_e_map) + (micromips_to_32_reg_f_map, micromips_to_32_reg_g_map) + (micromips_to_32_reg_h_map1, micromips_to_32_reg_h_map2) + (micromips_to_32_reg_l_map, micromips_to_32_reg_m_map) + (micromips_to_32_reg_n_map, micromips_to_32_reg_q_map) + (micromips_imm_b_map, micromips_imm_c_map): Delete. + (print_reg): New function. + (mips_print_arg_state): New structure. + (init_print_arg_state, print_insn_arg): New functions. + (print_insn_args): Change interface and use mips_operand structures. + Delete GET_OP_S. Move GET_OP definition to... + (print_insn_mips): ...here. Update the call to print_insn_args. + (print_insn_micromips): Use print_insn_args. + +2013-07-14 Richard Sandiford + + * mips16-opc.c (mips16_opcodes): Use "I" for immediate operands + in macros. + +2013-07-14 Richard Sandiford + + * mips-opc.c (mips_builtin_opcodes): Use "S,T" rather than "V,T" for + ADDA.S, MULA.S and SUBA.S. + +2013-07-08 H.J. Lu + + PR gas/13572 + * i386-opc.tbl: Replace Xmmword with Qword on cvttps2pi. + * i386-tbl.h: Regenerated. + +2013-07-07 Richard Sandiford + + * mips-opc.c (mips_builtin_opcodes): Remove o(b) macros. Move LD + and SD A(B) macros up. + * micromips-opc.c (micromips_opcodes): Likewise. + +2013-07-07 Richard Sandiford + + * mips16-opc.c: Add entries for argumentless "entry" and "exit" + instructions. + +2013-07-07 Richard Sandiford + + * mips-opc.c (mips_builtin_opcodes): Use "Q" for the INSN_5400 + MDMX-like instructions. + * mips-dis.c (print_insn_arg): Use "$f" rather than "$v" when + printing "Q" operands for INSN_5400 instructions. + +2013-07-07 Richard Sandiford + + * mips-opc.c (mips_builtin_opcodes): Use "+s" for "cins32" and + "+S" for "cins". + * mips-dis.c (print_mips_arg): Update "+s" and "+S" comments. + Combine cases. + +2013-07-07 Richard Sandiford + + * mips-opc.c (mips_builtin_opcodes): Use "+i" rather than "a" for + "jalx". + * mips16-opc.c (mips16_opcodes): Likewise. + * micromips-opc.c (micromips_opcodes): Likewise. + * mips-dis.c (print_insn_args, print_mips16_insn_arg) + (print_insn_mips16): Handle "+i". + (print_insn_micromips): Likewise. Conditionally preserve the + ISA bit for "a" but not for "+i". + +2013-07-07 Richard Sandiford + + * micromips-opc.c (WR_mhi): Rename to.. + (WR_mh): ...this. + (micromips_opcodes): Update "movep" entry accordingly. Replace + "mh,mi" with "mh". + * mips-dis.c (micromips_to_32_reg_h_map): Rename to... + (micromips_to_32_reg_h_map1): ...this. + (micromips_to_32_reg_i_map): Rename to... + (micromips_to_32_reg_h_map2): ...this. + (print_micromips_insn): Remove "mi" case. Print both registers + in the pair for "mh". + +2013-07-07 Richard Sandiford + + * mips-opc.c (mips_builtin_opcodes): Remove "+D" and "+T" entries. + * micromips-opc.c (micromips_opcodes): Likewise. + * mips-dis.c (print_insn_args, print_insn_micromips): Remove "+D" + and "+T" handling. Check for a "0" suffix when deciding whether to + use coprocessor 0 names. In that case, also check for ",H" selectors. + +2013-07-05 Andreas Krebbel + + * s390-opc.c (J12_12, J24_24): New macros. + (INSTR_MII_UPI): Rename to INSTR_MII_UPP. + (MASK_MII_UPI): Rename to MASK_MII_UPP. + * s390-opc.txt: Rename MII_UPI to MII_UPP for bprp instruction. + +2013-07-04 Alan Modra + + * ppc-opc.c (powerpc_opcodes): Add tdui, twui, tdu, twu, tui, tu. + +2013-06-26 Nick Clifton + + * rx-decode.opc (rx_decode_opcode): Check sd field as well as ss + field when checking for type 2 nop. + * rx-decode.c: Regenerate. + +2013-06-25 Maciej W. Rozycki + + * micromips-opc.c (micromips_opcodes): Add "jraddiusp", "jrc" + and "movep" macros. + +2013-06-24 Maciej W. Rozycki + + * mips-dis.c (is_mips16_plt_tail): New function. + (print_insn_mips16): Handle MIPS16 PLT entry's GOT slot address + word. + (is_compressed_mode_p): Handle MIPS16/microMIPS PLT entries. + +2013-06-21 DJ Delorie + + * msp430-decode.opc: New. + * msp430-decode.c: New/generated. + * Makefile.am (TARGET_LIBOPCODES_CFILES): Add msp430-decode.c. + (MAINTAINER_CLEANFILES): Likewise. + Add rule to build msp430-decode.c frommsp430decode.opc + using the opc2c program. + * Makefile.in: Regenerate. + * configure.in: Add msp430-decode.lo to msp430 architecture files. + * configure: Regenerate. + +2013-06-20 Yufeng Zhang + + * aarch64-dis.c (EMBEDDED_ENV): Remove the check on it. + (SYMTAB_AVAILABLE): Removed. + (#include "elf/aarch64.h): Ditto. + +2013-06-17 Catherine Moore + Maciej W. Rozycki + Chao-Ying Fu + + * micromips-opc.c (EVA): Define. + (TLBINV): Define. + (micromips_opcodes): Add EVA opcodes. + * mips-dis.c (mips_arch_choices): Update for ASE_EVA. + (print_insn_args): Handle EVA offsets. + (print_insn_micromips): Likewise. + * mips-opc.c (EVA): Define. + (TLBINV): Define. + (mips_builtin_opcodes): Add EVA opcodes. + +2013-06-17 Alan Modra + + * Makefile.am (mips-opc.lo): Add rules to create automatic + dependency files. Pass archdefs. + (micromips-opc.lo, mips16-opc.lo): Likewise. + * Makefile.in: Regenerate. + +2013-06-14 DJ Delorie + + * rx-decode.opc (rx_decode_opcode): Bit operations on + registers are 32-bit operations, not 8-bit operations. + * rx-decode.c: Regenerate. + +2013-06-13 Chao-ying Fu + + * micromips-opc.c (IVIRT): New define. + (IVIRT64): New define. + (micromips_opcodes): Add dmfgc0, dmtgc0, hypcall, mfgc0, mtgc0, + tlbginv, tlbginvf, tlbgp, tlbgr, tlbgwi, tlbgwr VIRT instructions. + + * mips-dis.c (print_insn_micromips): Handle mfgc0, mtgc0, dmfgc0, + dmtgc0 to print cp0 names. + +2013-06-09 Sandra Loosemore + + * nios2-opc.c (nios2_builtin_opcodes): Give "trap" a type-"b" + argument. + +2013-06-08 Catherine Moore + Richard Sandiford + + * micromips-opc.c (D32, D33, MC): Update definitions. + (micromips_opcodes): Initialize ase field. + * mips-dis.c (mips_arch_choice): Add ase field. + (mips_arch_choices): Initialize ase field. + (set_default_mips_dis_options): Declare and setup mips_ase. + * mips-opc.c (M3D, SMT, MX, IVIRT, IVIRT64, D32, D33, D64, + MT32, MC): Update definitions. + (mips_builtin_opcodes): Initialize ase field. + +2013-05-24 Richard Sandiford + + * s390-opc.txt (flogr): Require a register pair destination. + +2013-05-23 Andreas Krebbel + + * s390-opc.c: Fix length operand in RSL_LRDFU and RSL_LRDFEU + instruction format. + +2013-05-22 Jürgen Urban + + * mips-opc.c (mips_builtin_opcodes): Add R5900 VU0 instructions. + +2013-05-20 Peter Bergner + + * ppc-dis.c (powerpc_init_dialect): Set default dialect to power8. + * ppc-opc.c (BHRBE, ST, SIX, PS, SXL, VXPS_MASK, XX1RB_MASK, + XLS_MASK, PPCVSX2): New defines. + (powerpc_opcodes) : New instructions. + : New extended mnemonics. + +2013-05-17 Alan Modra + + * ia64-raw.tbl: Replace non-ASCII char. + * ia64-waw.tbl: Likewise. + * ia64-asmtab.c: Regenerate. + +2013-05-15 Saravanan Ekanathan + + * i386-gen.c (cpu_flag_init): Add CpuFSGSBase in CPU_BDVER3_FLAGS. + * i386-init.h: Regenerated. + +2013-05-13 Yufeng Zhang + + * aarch64-asm.c (aarch64_ins_advsimd_imm_modified): Remove assertion. + * aarch64-opc.c (operand_general_constraint_met_p): Relax the range + check from [0, 255] to [-128, 255]. + +2013-05-09 Andrew Pinski + + * mips-dis.c (mips_arch_choices): Add INSN_VIRT to mips32r2. + Add INSN_VIRT and INSN_VIRT64 to mips64r2. + (parse_mips_dis_option): Handle the virt option. + (print_insn_args): Handle "+J". + (print_mips_disassembler_options): Print out message about virt64. + * mips-opc.c (IVIRT): New define. + (IVIRT64): New define. + (mips_builtin_opcodes): Add dmfgc0, dmtgc0, hypcall, mfgc0, mtgc0, + tlbgr, tlbgwi, tlbginv, tlbginvf, tlbgwr, tlbgp VIRT instructions. + Move rfe to the bottom as it conflicts with tlbgp. + +2013-05-09 Alan Modra + + * ppc-opc.c (extract_vlesi): Properly sign extend. + (extract_vlensi): Likewise. Comment reason for setting invalid. + +2013-05-02 Nick Clifton + + * msp430-dis.c: Add support for MSP430X instructions. + +2013-04-24 Sandra Loosemore + + * nios2-opc.c (nios2_builtin_reg): Rename "fstatus" control register + to "eccinj". + +2013-04-17 Wei-chen Wang + + PR binutils/15369 + * cgen-dis.c (hash_insn_array): Use CGEN_CPU_INSN_ENDIAN instead + of CGEN_CPU_ENDIAN. + (hash_insns_list): Likewise. + +2013-04-10 Jan Kratochvil + + * rl78-dis.c (print_insn_rl78): Use alternative form as a GCC false + warning workaround. + +2013-04-08 Jan Beulich + + * i386-opc.tbl: Fold 64-bit and non-64-bit jecxz entries. + * i386-tbl.h: Re-generate. + +2013-04-06 David S. Miller + + * sparc-dis.c (compare_opcodes): When encountering multiple aliases + of an opcode, prefer the one with F_PREFERRED set. + * sparc-opc.c (sparc_opcodes): Add ldtw, ldtwa, sttw, sttwa, + lzcnt, flush with '[address]' syntax, and missing cbcond pseudo + ops. Make 64-bit VIS logical ops have "d" suffix in their names, + mark existing mnenomics as aliases. Add "cc" suffix to edge + instructions generating condition codes, mark existing mnenomics + as aliases. Add "fp" prefix to VIS compare instructions, mark + existing mnenomics as aliases. + +2013-04-03 Nick Clifton + + * v850-dis.c (print_value): With V850_INVERSE_PCREL compute the + destination address by subtracting the operand from the current + address. + * v850-opc.c (insert_u16_loop): Disallow negative offsets. Store + a positive value in the insn. + (extract_u16_loop): Do not negate the returned value. + (D16_LOOP): Add V850_INVERSE_PCREL flag. + + (ceilf.sw): Remove duplicate entry. + (cvtf.hs): New entry. + (cvtf.sh): Likewise. + (fmaf.s): Likewise. + (fmsf.s): Likewise. + (fnmaf.s): Likewise. + (fnmsf.s): Likewise. + (maddf.s): Restrict to E3V5 architectures. + (msubf.s): Likewise. + (nmaddf.s): Likewise. + (nmsubf.s): Likewise. + +2013-03-27 H.J. Lu + + * i386-dis.c (get_sib): Add the sizeflag argument. Properly + check address mode. + (print_insn): Pass sizeflag to get_sib. + +2013-03-27 Alexis Deruelle + + PR binutils/15068 + * tic6x-dis.c: Add support for displaying 16-bit insns. + +2013-03-20 Alexis Deruelle + + PR gas/15095 + * tic6x-dis.c (print_insn_tic6x): Decode opcodes that have + individual msb and lsb halves in src1 & src2 fields. Discard the + src1 (lsb) value and only use src2 (msb), discarding bit 0, to + follow what Ti SDK does in that case as any value in the src1 + field yields the same output with SDK disassembler. + +2013-03-12 Michael Eager + + * opcodes/mips-dis.c (print_insn_args): Modify def of reg. + +2013-03-11 Sebastian Huber + + * nios2-opc.c (nios2_builtin_opcodes): Add entry for wrprs. + +2013-03-11 Sebastian Huber + + * nios2-opc.c (nios2_builtin_opcodes): Add entry for rdprs. + +2013-03-11 Sebastian Huber + + * nios2-opc.c (nios2_builtin_regs): Add sstatus alias for ba register. + +2013-03-11 Kyrylo Tkachov + + * arm-dis.c (arm_opcodes): Add entries for CRC instructions. + (thumb32_opcodes): Likewise. + (print_insn_thumb32): Handle 'S' control char. + +2013-03-08 Yann Sionneau + + * lm32-desc.c: Regenerate. + +2013-03-01 H.J. Lu + + * i386-reg.tbl (riz): Add RegRex64. + * i386-tbl.h: Regenerated. + +2013-02-28 Yufeng Zhang + + * aarch64-tbl.h (QL_I3SAMEW, QL_I3WWX): New macros. + (aarch64_feature_crc): New static. + (CRC): New macro. + (aarch64_opcode_table): Add entries for the crc32b, crc32h, crc32w, + crc32x, crc32cb, crc32ch, crc32cw and crc32cx instructions. + * aarch64-asm-2.c: Re-generate. + * aarch64-dis-2.c: Ditto. + * aarch64-opc-2.c: Ditto. + +2013-02-27 Alan Modra + + * rl78-decode.opc (rl78_decode_opcode): Fix typo. + * rl78-decode.c: Regenerate. + +2013-02-25 Kaushik Phatak + + * rl78-decode.opc: Fix encoding of DIVWU insn. + * rl78-decode.c: Regenerate. + +2013-02-19 H.J. Lu + + PR gas/15159 + * i386-dis.c (rm_table): Add clac and stac to RM_0F01_REG_1. + + * i386-gen.c (cpu_flag_init): Add CPU_SMAP_FLAGS. + (cpu_flags): Add CpuSMAP. + + * i386-opc.h (CpuSMAP): New. + (i386_cpu_flags): Add cpusmap. + + * i386-opc.tbl: Add clac and stac. + + * i386-init.h: Regenerated. + * i386-tbl.h: Likewise. + +2013-02-15 Markos Chandras + + * metag-dis.c: Initialize outf->bytes_per_chunk to 4 + which also makes the disassembler output be in little + endian like it should be. + +2013-02-14 Yufeng Zhang + + * aarch64-opc.c (aarch64_prfops): Change unnamed operation 'name' + fields to NULL. + (aarch64_print_operand): Adjust the printing for AARCH64_OPND_PRFOP. + +2013-02-13 Maciej W. Rozycki + + * mips-dis.c (is_compressed_mode_p): Only match symbols from the + section disassembled. + +2013-02-11 Kyrylo Tkachov + + * arm-dis.c: Update strht pattern. + +2013-02-09 Jürgen Urban + + * mips-opc.c (mips_builtin_opcodes): Enable l.d and s.d macros for + single-float. Disable ll, lld, sc and scd for EE. Disable the + trunc.w.s macro for EE. + +2013-02-06 Sandra Loosemore + Andrew Jenner + + Based on patches from Altera Corporation. + + * Makefile.am (TARGET_LIBOPCODES_CFILES): Add nios2-dis.c and + nios2-opc.c. + * Makefile.in: Regenerated. + * configure.in: Add case for bfd_nios2_arch. + * configure: Regenerated. + * disassemble.c (ARCH_nios2): Define. + (disassembler): Add case for bfd_arch_nios2. + * nios2-dis.c: New file. + * nios2-opc.c: New file. + +2013-02-04 Alan Modra + + * po/POTFILES.in: Regenerate. + * rl78-decode.c: Regenerate. + * rx-decode.c: Regenerate. + +2013-01-30 Yufeng Zhang + + * aarch64-tbl.h (aarch64_opcode_table): Flag sshll, sshll2, ushll and + ushll2 with F_HAS_ALIAS. Add entries for sxtl, sxtl2, uxtl and uxtl2. + * aarch64-asm.c (convert_xtl_to_shll): New function. + (convert_to_real): Handle OP_SXTL, OP_SXTL2, OP_UXTL and OP_UXTL2 by + calling convert_xtl_to_shll. + * aarch64-dis.c (convert_shll_to_xtl): New function. + (convert_to_alias): Handle OP_SXTL, OP_SXTL2, OP_UXTL and OP_UXTL2 by + calling convert_shll_to_xtl. + * aarch64-gen.c: Update copyright year. + * aarch64-asm-2.c: Re-generate. + * aarch64-dis-2.c: Re-generate. + * aarch64-opc-2.c: Re-generate. + +2013-01-24 Nick Clifton + + * v850-dis.c: Add support for e3v5 architecture. + * v850-opc.c: Likewise. + +2013-01-17 Yufeng Zhang + + * aarch64-asm.c (aarch64_ins_advsimd_imm_modified): Handle 8-bit MOVI. + * aarch64-dis.c (aarch64_ext_advsimd_imm_modified): Likewise. + * aarch64-opc.c (operand_general_constraint_met_p): For + AARCH64_MOD_LSL, move the range check on the shift amount before the + alignment check; change to call set_sft_amount_out_of_range_error + instead of set_imm_out_of_range_error. + * aarch64-tbl.h (QL_SIMD_IMM_B): Replace NIL with LSL. + (aarch64_opcode_table): Remove the OP enumerator from the asimdimm + 8-bit MOVI entry; change the 2nd operand from SIMD_IMM to + SIMD_IMM_SFT. + +2013-01-16 H.J. Lu + + * i386-gen.c (operand_type_init): Add OPERAND_TYPE_IMM32_64. + + * i386-init.h: Regenerated. + * i386-tbl.h: Likewise. + +2013-01-15 Nick Clifton + + * v850-dis.c (get_operand_value): Sign extend V850E_IMMEDIATE + values. + * v850-opc.c (IMM16LO): Add V850_OPERAND_SIGNED attribute. + +2013-01-14 Will Newton + + * metag-dis.c (REG_WIDTH): Increase to 64. + +2013-01-10 Peter Bergner + + * ppc-dis.c (ppc_opts): Add "power8", "pwr8" and "htm" entries. + * ppc-opc.c (HTM_R, HTM_SI, XRTRB_MASK, XRTRARB_MASK, XRTLRARB_MASK, + XRTARARB_MASK, XRTBFRARB_MASK, XRCL, POWER8, PPCHTM): New defines. + (SH6): Update. + <"tabort.", "tabortdc.", "tabortdci.", "tabortwc.", + "tabortwci.", "tbegin.", "tcheck", "tend.", "trechkpt.", + "treclaim.", "tsr.">: Add POWER8 HTM opcodes. + <"tendall.", "tresume.", "tsuspend.">: Add POWER8 HTM extended opcodes. + +2013-01-10 Will Newton + + * Makefile.am: Add Meta. + * configure.in: Add Meta. + * disassemble.c: Add Meta support. + * metag-dis.c: New file. + * Makefile.in: Regenerate. + * configure: Regenerate. + +2013-01-07 Kaushik Phatak + + * cr16-dis.c (make_instruction): Rename to cr16_make_instruction. + (match_opcode): Rename to cr16_match_opcode. + +2013-01-04 Juergen Urban + + * mips-dis.c: Add names for CP0 registers of r5900. + * mips-opc.c: Add M_SQ_AB and M_LQ_AB to support larger range for + instructions sq and lq. + Add support for MIPS r5900 CPU. + Add support for 128 bit MMI (Multimedia Instructions). + Add support for EE instructions (Emotion Engine). + Disable unsupported floating point instructions (64 bit and + undefined compare operations). + Enable instructions of MIPS ISA IV which are supported by r5900. + Disable 64 bit co processor instructions. + Disable 64 bit multiplication and division instructions. + Disable instructions for co-processor 2 and 3, because these are + not supported (preparation for later VU0 support (Vector Unit)). + Disable cvt.w.s because this behaves like trunc.w.s and the + correct execution can't be ensured on r5900. + Add trunc.w.s using the opcode encoding of cvt.w.s on r5900. This + will confuse less developers and compilers. + +2013-01-04 Yufeng Zhang + + * aarch64-opc.c (aarch64_print_operand): Change to print + AARCH64_OPND_IMM_MOV in hexadecimal in the instruction and in decimal + in comment. + * aarch64-tbl.h (aarch64_opcode_table): Remove the 'F_PSEUDO' flag + from the opcode entries of OP_MOV_IMM_LOG, OP_MOV_IMM_WIDEN and + OP_MOV_IMM_WIDE. + +2013-01-04 Yufeng Zhang + + * aarch64-opc.c (aarch64_prfops): Update to support PLIL1KEEP, + PLIL1STRM, PLIL2KEEP, PLIL2STRM, PLIL3KEEP and PLIL3STRM. + +2013-01-02 H.J. Lu + + * i386-gen.c (process_copyright): Update copyright year to 2013. + +2013-01-02 Kaushik Phatak + + * cr16-dis.c (match_opcode,make_instruction): Remove static + declaration. + (dwordU,wordU): Moved typedefs to opcode/cr16.h + (cr16_words,cr16_allWords,cr16_currInsn): Added prefix 'cr16_'. + +For older changes see ChangeLog-2012 + +Copyright (C) 2013 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: