Update the handling of shift rotate and load/store multiple instructions in the...
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 8209cd07daa06d7ac295660fa7ebca761ca96b95..60bf831f740fcb9405e121233cf2b01317b1625e 100644 (file)
@@ -1,3 +1,365 @@
+2019-08-08  Yoshinori Sato  <ysato@users.sourceforge.jp>
+
+       * testsuite/gas/h8300/h8300.exp: Fix movfpe and movtpe tests.
+       * testsuite/gas/h8300/misc.s: Likewise.
+       * testsuite/gas/h8300/misch.s: Likewise.
+       * testsuite/gas/h8300/miscs.s: Likewise.
+
+2019-08-05  Barnaby Wilks  <barnaby.wilks@arm.com>
+
+       * config/tc-arm.c (do_mve_vqdmlah): Use N_S_32 macro.
+       (do_neon_qrdmlah): Use N_S_32 macro.
+       * testsuite/gas/arm/mve-vqdmlah-bad.d: New test.
+       * testsuite/gas/arm/mve-vqdmlah-bad.l: New test.
+       * testsuite/gas/arm/mve-vqdmlah-bad.s: New test.
+       * testsuite/gas/arm/mve-vqdmlah.d: Remove unsigned instruction tests.
+       * testsuite/gas/arm/mve-vqdmlah.s: Remove unsigned instruction tests.
+       * testsuite/gas/arm/mve-vqdmlash-bad.d: New test.
+       * testsuite/gas/arm/mve-vqdmlash-bad.l: New test.
+       * testsuite/gas/arm/mve-vqdmlash-bad.s: New test.
+       * testsuite/gas/arm/mve-vqdmlash.d: Remove unsigned instruction tests.
+       * testsuite/gas/arm/mve-vqdmlash.s: Remove unsigned instruction tests.
+
+2019-07-30  Mel Chen <mel.chen@sifive.com>
+
+       * testsuite/gas/riscv/alias-csr.s: Add testcase for CSR-access
+       alias instructions.
+       * testsuite/gas/riscv/no-aliases-csr.d: Run testcase alias-csr.s with
+       -Mno-aliases.
+
+       * testsuite/gas/riscv/alias-csr.d: Run testcase alias-csr.s.
+       * testsuite/gas/riscv/priv-reg.d: Update.
+
+2019-07-24  Nick Clifton  <nickc@redhat.com>
+
+       * po/sv.po: Updated Swedish translation.
+
+2019-07-24  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * testsuite/gas/arc/nps400-6.d: Update test.
+
+2019-07-24  Alan Modra  <amodra@gmail.com>
+
+       * config/obj-elf.c (obj_elf_section, obj_elf_type): Set has_gnu_osabi.
+       * testsuite/gas/elf/section12a.d: Update xfails.
+       * testsuite/gas/elf/section12b.d: Likewise.
+
+2019-07-24  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/elf/section12a.d: xfail visium and cloudabi.
+       * testsuite/gas/elf/section12b.d: Likewise.
+       * testsuite/gas/elf/section13.d: Likewise.
+
+2019-07-23  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       * testsuite/gas/aarch64/sysreg-4.s: Test gmid_el1 read.
+       * testsuite/gas/aarch64/sysreg-4.d: Update expected output.
+       * testsuite/gas/aarch64/illegal-sysreg-4.l: Likewise.
+
+2019-07-23  Alan Modra  <amodra@gmail.com>
+
+       * config/obj-elf.c (obj_elf_change_section): Don't emit a fatal
+       error for non-SHF_ALLOC SHF_GNU_MBIND here.
+       (obj_elf_parse_section_letters): Return SHF_GNU_MBIND in new
+       gnu_attr param.
+       (obj_elf_section): Adjust obj_elf_parse_section_letters call.
+       Formatting.  Set SHF_GNU_MBIND and elf_osabi from gnu_attr.
+       Emit normal error for non-SHF_ALLOC SHF_GNU_MBIND and wrong osabi.
+       (obj_elf_type): Set elf_osabi for ifunc.
+       * testsuite/gas/elf/section12a.d: xfail msp430 and hpux.
+       * testsuite/gas/elf/section12b.d: Likewise.
+       * testsuite/gas/elf/section13.d: Likewise.
+       * testsuite/gas/elf/section13.l: Adjust expected error.
+
+2019-07-23  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/elf/section12a.d: Don't skip for rx.
+
+2019-07-22  Barnaby Wilks  <barnaby.wilks@arm.com>
+
+       * config/tc-arm.c (do_mve_vqdmladh): Remove check for UNPREDICTABLE.
+       * testsuite/gas/arm/mve-vqdmladh-bad.l: Remove tests.
+       * testsuite/gas/arm/mve-vqdmladh-bad.s: Remove tests.
+       * testsuite/gas/arm/mve-vqdmladh.d: New tests.
+       * testsuite/gas/arm/mve-vqdmladh.s: New tests.
+       * testsuite/gas/arm/mve-vqdmlsdh-bad.l: Remove tests.
+       * testsuite/gas/arm/mve-vqdmlsdh-bad.s: Remove tests.
+       * testsuite/gas/arm/mve-vqdmlsdh.d: New tests.
+       * testsuite/gas/arm/mve-vqdmlsdh.s: New tests.
+
+2019-07-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/gas/i386/noextreg.d: Pass -O0 to assembler.
+
+2019-07-19  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * testsuite/gas/bpf/alu.d: Use %r6 instead of %ctx.
+       * testsuite/gas/bpf/lddw-be.d: Likewise.
+       * testsuite/gas/bpf/lddw.d: Likewise.
+       * testsuite/gas/bpf/alu-be.d: Likewise.
+       * testsuite/gas/bpf/alu32.d: Likewise.
+
+2019-07-19  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * config/tc-bpf.c (pe_lcomm_internal): Adapted from tc-i386.c.
+       (pe_lcomm): Likewise.
+       (md_pseudo_table): Use pe_lcomm to implement .lcomm.
+
+2019-07-19  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * doc/c-aarch64.texi: Remame the +bitperm extension to +sve2-bitperm.
+       * config/tc-aarch64.c (aarch64_features): Likewise.
+       * testsuite/gas/aarch64/illegal-sve2-aes.d: Update accordingly.
+       * testsuite/gas/aarch64/illegal-sve2-sha3.d: Likewise.
+       * testsuite/gas/aarch64/illegal-sve2-sm4.d: Likewise.
+       * testsuite/gas/aarch64/illegal-sve2.d: Likewise.
+       * testsuite/gas/aarch64/sve2.d: Likewise.
+
+2019-07-19  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-ppc.c (ppc_elf_suffix): Map "tls@pcrel", "got@tlsgd@pcrel",
+       "got@tlsld@pcrel", "got@tprel@pcrel", and "got@dtprel@pcrel".
+       (fixup_size, md_assemble): Handle pcrel tls relocs.
+       (ppc_force_relocation, ppc_fix_adjustable): Likewise.
+       (md_apply_fix, tc_gen_reloc): Likewise.
+
+2019-07-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * config/tc-bpf.c: Make .lcomm to get a third argument with the
+       alignment.
+
+2019-07-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * config/tc-bpf.c (md_pseudo_table): .half, .word and .dword.
+
+       * testsuite/gas/bpf/data.s: New file.
+       * testsuite/gas/bpf/data.d: Likewise.
+       * testsuite/gas/bpf/data-be.d: Likewise.
+       * testsuite/gas/bpf/bpf.exp: Run data and data-be.
+       * doc/c-bpf.texi (BPF Directives): New section.
+
+2019-07-17  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (check_hle, md_assemble, check_VecOperands,
+       match_template, check_string, build_modrm_byte): Replace
+       operand_type_check(..., anymem) by Operand_Mem ones.
+       (process_operands): Also copy i.flags[] when copying other
+       operand properties.
+
+2019-07-16  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (match_template): Adjust regmem reference.
+       Adjust comment and update regmem when swapping operands.
+       (build_modrm_byte): Drop clearing of regmem and stale part of
+       comment. Correct comment. Adjust regmem reference.
+
+2019-07-16  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (type_names): Replace SReg entries.
+       (pi, check_byte_reg, build_modrm_byte, i386_att_operand,
+       parse_real_register): Switch to using sreg field.
+       (process_operands): Likewise. Extend handling of PUSH/POP of
+       segment registers. Drop dead setting of REX_B.
+       * config/tc-i386-intel.c (i386_intel_simplify_register,
+       i386_intel_operand): Switch to using sreg field.
+       * testsuite/gas/i386/x86-64-opcode.s: Add PUSH/POP of %fs/%gs.
+       * testsuite/gas/i386/x86-64-opcode.d: Adjust expectations.
+       * testsuite/gas/i386/ilp32/x86-64-opcode.d: Use parent dir
+       expectations.
+
+2019-07-15  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * testsuite/gas/bpf/mem.s: ldabs instructions do not take a `src'
+       register as an argument.
+       * testsuite/gas/bpf/mem.d: Updated accordingly.
+       * testsuite/gas/bpf/mem-be.d: Likewise.
+       * doc/c-bpf.texi (BPF Opcodes): Update to reflect the correct
+       explicit arguments to ldabs and ldind instructions.
+
+2019-07-14  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * testsuite/gas/bpf/mem.s: Do not use explicit arguments for
+       ldabs and ldind instructions.
+       * testsuite/gas/bpf/mem.d: Updated accordingly.
+       * testsuite/gas/bpf/mem-be.d: Likewise.
+
+2019-07-09  Alan Modra  <amodra@gmail.com>
+
+       * config/obj-elf.c (elf_frob_symbol): Remove mips hacks.
+       * config/tc-mips.h (tc_frob_symbol): Define.
+       (mips_frob_symbol): Declare.
+       * config/tc-mips.c (s_mips_globl): Don't set BSF_OBJECT for irix.
+       (mips_frob_symbol): Fudge symbols for irix here.
+       * testsuite/gas/elf/type-2.e: Allow random target symbols.
+
+2019-07-05  Kito Cheng <kito.cheng@sifive.com>
+
+       * doc/c-riscv.texi (Instruction Formats): Add r4 type.
+       * testsuite/gas/riscv/insn.d: Add testcase for r4 type.
+       * testsuite/gas/riscv/insn.s: Ditto.
+
+       * doc/c-riscv.texi (Instruction Formats): Add b and j type.
+       * testsuite/gas/riscv/insn.d: Add test case for b and j type.
+       * testsuite/gas/riscv/insn.s: Ditto.
+
+       * testsuite/gas/riscv/insn.s: Correct instruction type for load
+       and store.
+
+       * testsuite/gas/riscv/insn.d: Using regular expression to match
+       address.
+
+       * doc/c-riscv.texi (Instruction Formats): Fix encoding table for SB
+       type and fix typo.
+
+2019-07-04  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (md_parse_option): Don't blindly accept all
+       -Q options.
+       (md_show_usage): Correctly name the ignored -Q option flavors.
+
+2019-07-04  Jan Beulich  <jbeulich@suse.com>
+
+       * config/obj-elf.c (obj_elf_type): Check for conflicts between
+       old and new types.
+       * config/tc-hppa.h (md_elf_symbol_type_change): New.
+       * doc/as.texi: Mention warning behavior for the ELF flavor of
+       .type.
+       * testsuite/gas/elf/type-2.e, testsuite/gas/elf/type-2.l,
+       testsuite/gas/elf/type-2.s: New.
+       * testsuite/gas/elf/elf.exp: Run new test.
+
+2019-07-03  Nick Clifton  <nickc@redhat.com>
+
+       * testsuite/gas/aarch64/codealign.d: Update to work with a
+       toolchain configured to generate build notes.
+       * testsuite/gas/aarch64/codealign_1.d: Likewise.
+       * testsuite/gas/aarch64/dwarf.d: Likewise.
+       * testsuite/gas/aarch64/mapmisc.d: Likewise.
+       * testsuite/gas/aarch64/mapping.d: Likewise.
+       * testsuite/gas/aarch64/mapping2.d: Likewise.
+       * testsuite/gas/aarch64/mapping3.d: Likewise.
+       * testsuite/gas/aarch64/mapping4.d: Likewise.
+       * testsuite/gas/aarch64/mapping_5.d: Likewise.
+       * testsuite/gas/aarch64/mapping_6.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_1.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_10.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_11.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_12.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_13.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_14.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_15.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_16.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_17.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_18.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_19.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_2.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_20.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_21.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_22.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_23.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_24.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_25.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_26.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_27.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_3.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_4.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_5.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_6.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_7.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_8.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_9.d: Likewise.
+       * testsuite/gas/aarch64/symbol-variant_pcs-1.d: Likewise.
+       * testsuite/gas/aarch64/symbol-variant_pcs-2.d: Likewise.
+       * testsuite/gas/aarch64/symbol-variant_pcs-3.d: Likewise.
+       * testsuite/gas/all/assign.d: Likewise.
+       * testsuite/gas/all/none.d: Likewise.
+       * testsuite/gas/all/weakref1.d: Likewise.
+       * testsuite/gas/arm/got_prel.d: Likewise.
+       * testsuite/gas/arm/local_function.d: Likewise.
+       * testsuite/gas/arm/mapdir.d: Likewise.
+       * testsuite/gas/arm/mapmisc.d: Likewise.
+       * testsuite/gas/arm/mapping2.d: Likewise.
+       * testsuite/gas/arm/mapping3.d: Likewise.
+       * testsuite/gas/arm/mapping4.d: Likewise.
+       * testsuite/gas/arm/mapsecs.d: Likewise.
+       * testsuite/gas/arm/mapshort-eabi.d: Likewise.
+       * testsuite/gas/arm/thumbrel.d: Likewise.
+       * testsuite/gas/arm/unwind.d: Likewise.
+       * testsuite/gas/cfi/cfi-label.d: Likewise.
+       * testsuite/gas/elf/elf.exp: Likewise.
+       * testsuite/gas/i386/bss.d: Likewise.
+       * testsuite/gas/i386/ifunc-3.d: Likewise.
+       * testsuite/gas/i386/ilp32/mixed-mode-reloc64.d: Likewise.
+       * testsuite/gas/i386/ilp32/quad.d: Likewise.
+       * testsuite/gas/i386/ilp32/reloc64.d: Likewise.
+       * testsuite/gas/i386/ilp32/x86-64-size-1.d: Likewise.
+       * testsuite/gas/i386/ilp32/x86-64-size-3.d: Likewise.
+       * testsuite/gas/i386/ilp32/x86-64-size-5.d: Likewise.
+       * testsuite/gas/i386/ilp32/x86-64-unwind.d: Likewise.
+       * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
+       * testsuite/gas/i386/mixed-mode-reloc64.d: Likewise.
+       * testsuite/gas/i386/nop-6.d: Likewise.
+       * testsuite/gas/i386/property-1.d: Likewise.
+       * testsuite/gas/i386/property-2.d: Likewise.
+       * testsuite/gas/i386/relax.d: Likewise.
+       * testsuite/gas/i386/reloc64.d: Likewise.
+       * testsuite/gas/i386/size-1.d: Likewise.
+       * testsuite/gas/i386/size-3.d: Likewise.
+       * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
+       * testsuite/gas/i386/x86-64-property-1.d: Likewise.
+       * testsuite/gas/i386/x86-64-property-2.d: Likewise.
+       * testsuite/gas/i386/x86-64-size-1.d: Likewise.
+       * testsuite/gas/i386/x86-64-size-3.d: Likewise.
+       * testsuite/gas/i386/x86-64-size-5.d: Likewise.
+       * testsuite/gas/i386/x86-64-unwind.d: Likewise.
+       * testsuite/gas/macros/irp.d: Likewise.
+       * testsuite/gas/macros/repeat.d: Likewise.
+       * testsuite/gas/macros/rept.d: Likewise.
+       * testsuite/gas/macros/test2.d: Likewise.
+       * testsuite/gas/macros/test3.d: Likewise.
+       * testsuite/gas/macros/vararg.d: Likewise.
+       * testsuite/gas/ppc/astest2.d: Likewise.
+       * testsuite/gas/ppc/astest2_64.d: Likewise.
+       * testsuite/gas/ppc/astest64.d: Likewise.
+       * testsuite/gas/ppc/power4.d: Likewise.
+       * testsuite/gas/ppc/test1elf64.d: Likewise.
+
+2019-07-02  Barnaby Wilks  <barnaby.wilks@arm.com>
+
+       * config/tc-aarch64.c (parse_operands): Add error check.
+       * testsuite/gas/aarch64/diagnostic.l: New test.
+       * testsuite/gas/aarch64/diagnostic.s: New test.
+       * testsuite/gas/aarch64/illegal.l: New tests.
+       * testsuite/gas/aarch64/illegal.s: New tests.
+
+2019-07-02  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * testsuite/gas/aarch64/sve-movprfx_27.s,
+       * testsuite/gas/aarch64/sve-movprfx_27.d: New test.
+
+2019-07-02  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * testsuite/gas/aarch64/sve-movprfx_26.s: Also test FCVTZS, FCVTZU,
+       SCVTF, UCVTF, LSR and ASR.
+       * testsuite/gas/aarch64/sve-movprfx_26.d: Update accordingly.
+       * testsuite/gas/aarch64/sve-movprfx_26.l: Likewise.
+
+2019-07-02  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * testsuite/gas/aarch64/sve-movprfx_25.s: Allow CPY Z1.D.P1/M,X1
+       to be prefixed by MOVPRFX.
+       * testsuite/gas/aarch64/sve-movprfx_25.d: Update accordingly.
+       * testsuite/gas/aarch64/sve-movprfx_25.l: Likewise.
+
+2019-07-01  Nick Clifton  <nickc@redhat.com>
+
+       PR 24748
+       * write.c (create_note_reloc): Add desc2_offset parameter.  Change
+       name of offset parameter to note_offset.  Only use desc2_offset
+       when placing addend into REL reloc's address space.
+       (maybe_generate_build_notes): Update parameters passed to
+       create_note_reloc.
+
 2019-07-01  Matthew Malcomson  <matthew.malcomson@arm.com>
 
        * testsuite/gas/aarch64/illegal-sve2-aes.d: Update tests.
This page took 0.027443 seconds and 4 git commands to generate.