Allow target files access to default TC_FORCE_RELOCATION defines
[deliverable/binutils-gdb.git] / gas / ChangeLog
index c40140fa87093d1745395f0f133e4aaa5dd51557..9b0ea23f4755a0e42bde74d39993ebc793e1d853 100644 (file)
+2017-05-16  Alan Modra  <amodra@gmail.com>
+
+       * write.c (GENERIC_FORCE_RELOCATION_LOCAL): Define.
+       (TC_FORCE_RELOCATION_LOCAL): Use it.
+       (GENERIC_FORCE_RELOCATION_SUB_SAME): Define.
+       (TC_FORCE_RELOCATION_SUB_SAME): Use it.
+       * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL,
+       TC_FORCE_RELOCATION_SUB_SAME): Use GENERIC defines.
+       * config/tc-aarch64.h: Similarly.
+       * config/tc-avr.h: Similarly.
+       * config/tc-cris.h: Similarly.
+       * config/tc-i386.h: Similarly.
+       * config/tc-i960.h: Similarly.
+       * config/tc-ia64.h: Similarly.
+       * config/tc-microblaze.h: Similarly.
+       * config/tc-mips.h: Similarly.
+       * config/tc-msp430.h: Similarly.
+       * config/tc-nds32.h: Similarly.
+       * config/tc-pru.h: Similarly.
+       * config/tc-riscv.h: Similarly.
+       * config/tc-rl78.h: Similarly.
+       * config/tc-s390.h: Similarly.
+       * config/tc-sh.h: Similarly.
+       * config/tc-sh64.h: Similarly.
+       * config/tc-sparc.h: Similarly.
+       * config/tc-xtensa.h: Similarly.
+       * config/tc-mn10300.h: Similarly.
+       (GENERIC_FORCE_RELOCATION_LOCAL): Define.
+       * config/tc-msp430.c (msp430_force_relocation_local): Modify to
+       be addition to rather than replacement of standard
+       TC_FORCE_RELOCATION_LOCAL.
+
+2017-05-15  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/21458
+       * config/tc-arm.c (do_adr): If the ADR involves a thumb function
+       symbol, ensure that the T bit will be set.
+       (do_adrl): Likewise.
+       (do_t_adr): Likewise.
+       * testsuite/gas/arm/pr21458.s: New test.
+       * testsuite/gas/arm/pr21458.d: New test driver.
+
+2017-05-15  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/gas/mips/mips16-pcrel-1.d: Remove `-mips3' from `as'
+       flags.
+       * testsuite/gas/mips/mips16-pcrel-pic-1.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-n32-0.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-n32-1.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-n64-0.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-n64-1.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-reloc-4.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-reloc-5.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-reloc-6.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-reloc-7.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-addend-4.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-addend-5.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-addend-6.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-addend-7.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-addend-9.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-addend-n32-8.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-addend-n32-9.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-8.d:
+       Likewise.
+       * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-9.d:
+       Likewise.
+       * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-absolute-2.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-absolute-3.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-absolute-6.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-absolute-7.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-absolute-pic-6.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-absolute-n32-4.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-absolute-n32-6.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-4.d:
+       Likewise.
+       * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-6.d:
+       Likewise.
+       * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-4.d:
+       Likewise.
+       * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-6.d:
+       Likewise.
+       * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d:
+       Likewise.
+       * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d:
+       Likewise.
+       * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-4.d:
+       Likewise.
+       * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-6.d:
+       Likewise.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-0.d: New test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-1.d: New test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-2.d: New test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-0.d: New test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-1.d: New test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-0.d: New
+       test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-1.d: New
+       test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d: New test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d: New test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-2.d: New test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-3.d: New test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-6.d: New test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-7.d: New test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-2.d: New test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-3.d: New test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-6.d: New test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-7.d: New test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-8.d: New test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-9.d: New test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n32-8.d: New
+       test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n32-9.d: New
+       test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n64-sym32-8.d:
+       New test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n64-sym32-9.d:
+       New test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute.d: New test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-1.d: New
+       test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-2.d: New
+       test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-3.d: New
+       test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-4.d: New
+       test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-5.d: New
+       test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-6.d: New
+       test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-7.d: New
+       test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-4.d: New
+       test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-6.d: New
+       test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n32-4.d: New
+       test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n32-6.d: New
+       test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n64-sym32-4.d:
+       New test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n64-sym32-6.d:
+       New test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n32-4.d:
+       New test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n32-6.d:
+       New test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n64-sym32-4.d:
+       New test.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n64-sym32-6.d:
+       New test.
+       * testsuite/gas/mips/mips16-pcrel-1.l: Adjust line numbers.
+       * testsuite/gas/mips/mips16-pcrel-1.s: Adjust for alignment
+       preservation between MIPS16 and MIPS16e2 code.
+       * testsuite/gas/mips/mips.exp: Run MIPS16 relaxation tests over
+       all MIPS16 architectures.
+
+2017-05-15  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/gas/mips/mips16e2.d: New test.
+       * testsuite/gas/mips/mips16e2-mt.d: New test.
+       * testsuite/gas/mips/mips16e2-sub.d: New test.
+       * testsuite/gas/mips/mips16e2@mips16e2-sub.d: New test.
+       * testsuite/gas/mips/mips16e2-mt-sub.d: New test.
+       * testsuite/gas/mips/mips16e2@mips16e2-mt-sub.d: New test.
+       * testsuite/gas/mips/mips16e2-hilo.d: New test.
+       * testsuite/gas/mips/mips16e2-hilo-n32.d: New test.
+       * testsuite/gas/mips/mips16e2-reloc-error.d: New test.
+       * testsuite/gas/mips/mips16e2-imm-error.d: New test.
+       * testsuite/gas/mips/elf_ase_mips16e2.d: New test.
+       * testsuite/gas/mips/elf_ase_mips16e2-2.d: New test.
+       * testsuite/gas/mips/elf-rel9-mips16e2.d: New test.
+       * testsuite/gas/mips/mips16e2-lui.d: New test.
+       * testsuite/gas/mips/mips16e2@mips32r2-sync.d: New test.
+       * testsuite/gas/mips/mips16e2@mips32r2-sync-1.d: New test.
+       * testsuite/gas/mips/mips16e2@lui-2.d: New test.
+       * testsuite/gas/mips/mips16e2-reloc-error.l: New stderr output.
+       * testsuite/gas/mips/mips16e2-imm-error.l: New stderr output.
+       * testsuite/gas/mips/mips16e2@lui-2.l: New stderr output.
+       * testsuite/gas/mips/mips16e2.s: New test source.
+       * testsuite/gas/mips/mips16e2-mt.s: New test source.
+       * testsuite/gas/mips/mips16e2-sub.s: New test source.
+       * testsuite/gas/mips/mips16e2-mt-sub.s: New test source.
+       * testsuite/gas/mips/mips16e2-hilo.s: New test source.
+       * testsuite/gas/mips/mips16e2-reloc-error.s: New test source.
+       * testsuite/gas/mips/mips16e2-imm-error.s: New test source.
+       * testsuite/gas/mips/elf-rel9-mips16e2.s: New test source.
+       * testsuite/gas/mips/mips16e2-lui.s: New test source.
+       * testsuite/gas/mips/mips.exp: Expand `mips32r2-sync',
+       `mips32r2-sync-1', `lui-1' and `lui-2' tests across MIPS16e2
+       architectures.  Run the new tests.
+
+2017-05-15  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/gas/mips/mips.exp (run_dump_test_arch): Add
+       `mips16e2@' prefix.
+       (run_list_test_arch): Likewise.
+       (mips16e2-32, mips16e2-64): New architectures.
+       * testsuite/gas/mips/mips16e2-32@mips16-macro.d: New test.
+       * testsuite/gas/mips/mips16e2-32@mips16-macro-t.d: New test.
+       * testsuite/gas/mips/mips16e2-32@mips16-macro-e.d: New test.
+       * testsuite/gas/mips/mips16e2-32@mips16-insn-t.d: New test.
+       * testsuite/gas/mips/mips16e2-32@mips16-insn-e.d: New test.
+       * testsuite/gas/mips/mips16e2-32@mips16e-64.d: New test.
+       * testsuite/gas/mips/mips16e2-32@mips16-sub.d: New test.
+       * testsuite/gas/mips/mips16e2-32@mips16e-64-sub.d: New test.
+       * testsuite/gas/mips/mips16e2@relax-swap3.d: New test.
+       * testsuite/gas/mips/mips16-32@mips16-asmacro.d: Remove `source'
+       tag.  Add `-I$srcdir/$subdir' to `as' flags.
+       * testsuite/gas/mips/mips16-64@mips16-asmacro.d: Likewise.
+       * testsuite/gas/mips/mips16e2-32@mips16-macro.l: New stderr
+       output.
+       * testsuite/gas/mips/mips16e2-32@mips16-macro-t.l: New stderr
+       output.
+       * testsuite/gas/mips/mips16e2-32@mips16-macro-e.l: New stderr
+       output.
+       * testsuite/gas/mips/mips16e2-32@mips16-insn-t.l: New stderr
+       output.
+       * testsuite/gas/mips/mips16e2-32@mips16-insn-e.l: New stderr
+       output.
+       * testsuite/gas/mips/mips16-sub.s: Add `.set nomips16e2'.
+       * testsuite/gas/mips/mips16e-sub.s: Likewise.
+       * testsuite/gas/mips/mips16e-64-sub.s: Likewise.
+       * testsuite/gas/mips/mips16-asmacro.s: Remove `.set mips32'.
+       * testsuite/gas/mips/mips16-32@mips16-asmacro.s: New test
+       source.
+       * testsuite/gas/mips/mips16-64@mips16-asmacro.s: New test
+       source.
+
+2017-05-15  Maciej W. Rozycki  <macro@imgtec.com>
+           Matthew Fortune  <matthew.fortune@imgtec.com>
+           Andrew Bennett  <andrew.bennett@imgtec.com>
+
+       * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add `e2' flag.
+       (RELAX_MIPS16_E2): New macro.
+       (RELAX_MIPS16_PIC, RELAX_MIPS16_SYM32, RELAX_MIPS16_NOMACRO)
+       (RELAX_MIPS16_USER_SMALL, RELAX_MIPS16_USER_EXT)
+       (RELAX_MIPS16_DSLOT, RELAX_MIPS16_JAL_DSLOT)
+       (RELAX_MIPS16_EXTENDED, RELAX_MIPS16_MARK_EXTENDED)
+       (RELAX_MIPS16_CLEAR_EXTENDED, RELAX_MIPS16_ALWAYS_EXTENDED)
+       (RELAX_MIPS16_MARK_ALWAYS_EXTENDED)
+       (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED, RELAX_MIPS16_MACRO)
+       (RELAX_MIPS16_MARK_MACRO, RELAX_MIPS16_CLEAR_MACRO): Shift bits.
+       (mips16_immed_extend): New prototype.
+       (options): Add OPTION_MIPS16E2 and OPTION_NO_MIPS16E2 enum
+       values.
+       (md_longopts): Add "mmips16e2" and "mno-mips16e2" options.
+       (mips_ases): Add "mips16e2" entry.
+       (mips_set_ase): Handle MIPS16e2 ASE.
+       (insn_insert_operand): Explicitly handle immediates with MIPS16
+       instructions that require 32-bit encoding.
+       (is_opcode_valid_16): Pass enabled ASE bitmask on to
+       `opcode_is_member'.
+       (validate_mips_insn): Explicitly handle immediates with MIPS16
+       instructions that require 32-bit encoding.
+       (operand_reg_mask) <OP_REG28>: Add handler.
+       (match_reg28_operand): New function.
+       (match_operand) <OP_REG28>: Add handler.
+       (append_insn): Pass ASE_MIPS16E2 setting to RELAX_MIPS16_ENCODE.
+       (match_mips16_insn): Handle MIPS16 instructions that require
+       32-bit encoding and `V' and `u' operand codes.
+       (mips16_ip): Allow any characters except from `.' in opcodes.
+       (mips16_immed_extend): Handle 9-bit immediates.  Do not shuffle
+       immediates whose width is not one of these listed.
+       (md_estimate_size_before_relax): Handle MIPS16e2 relaxation.
+       (mips_relax_frag): Likewise.
+       (md_convert_frag): Likewise.
+       (mips_convert_ase_flags): Handle MIPS16e2 ASE.
+
+       * doc/as.texinfo (Target MIPS options): Add `-mmips16e2' and
+       `-mno-mips16e2' options.
+       (-mmips16e2, -mno-mips16e2): New options.
+       * doc/c-mips.texi (MIPS Options): Add `-mmips16e2' and
+       `-mno-mips16e2' options.
+       (MIPS ASE Instruction Generation Overrides): Add `.set mips16e2'
+       and `.set nomips16e2'.
+
+2017-05-15  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * config/tc-mips.c (match_int_operand): Call
+       `match_out_of_range' before returning failure for 0x8000-0xffff
+       values conditionally allowed.
+
+2017-05-15  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * config/tc-mips.c (match_int_operand): Call
+       `match_not_constant' before returning failure for a non-constant
+       16-bit immediate conditionally allowed.
+
+2017-05-15  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * config/tc-mips.c (match_const_int): Call `match_out_of_range'
+       rather than `match_not_constant' for unrelocated operands
+       retrieved as an `O_big' expression.
+       (match_int_operand): Call `match_out_of_range' for relocatable
+       operands retrieved as an `O_big' expression.
+       (match_mips16_insn): Call `match_out_of_range' for relaxable
+       operands retrieved as an `O_big' expression.
+       * testsuite/gas/mips/addiu-error.d: New test.
+       * testsuite/gas/mips/mips16@addiu-error.d: New test.
+       * testsuite/gas/mips/micromips@addiu-error.d: New test.
+       * testsuite/gas/mips/break-error.d: New test.
+       * testsuite/gas/mips/lui-1.l: Adjust error message.
+       * testsuite/gas/mips/addiu-error.l: New stderr output.
+       * testsuite/gas/mips/mips16@addiu-error.l: New stderr output.
+       * testsuite/gas/mips/micromips@addiu-error.l: New stderr output.
+       * testsuite/gas/mips/break-error.l: New stderr output.
+       * testsuite/gas/mips/addiu-error.s: New test source.
+       * testsuite/gas/mips/break-error.s: New test source.
+       * testsuite/gas/mips/mips.exp: Run the new tests.
+
+2017-05-15  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * config/tc-mips.c (match_mips16_insn): Remove the explicit
+       OT_INTEGER check before the `match_expression' call.
+       * testsuite/gas/mips/mips16-insn-e.l: Adjust messages.
+       * testsuite/gas/mips/mips16-32@mips16-insn-e.l: Likewise.
+       * testsuite/gas/mips/mips16-64@mips16-insn-e.l: Likewise.
+       * testsuite/gas/mips/mips16e-32@mips16-insn-e.l: Likewise.
+       * testsuite/gas/mips/mips16-reg-error.d: New test.
+       * testsuite/gas/mips/mips16-reg-error.l: New stderr output.
+       * testsuite/gas/mips/mips16-reg-error.s: New test source.
+       * testsuite/gas/mips/mips.exp: Run the new test.
+
+2017-05-15  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * config/tc-mips.c (match_mips16_insn): Call
+       `match_not_constant' for a disallowed relocation operation.
+       * testsuite/gas/mips/mips16-reloc-error.d: New test.
+       * testsuite/gas/mips/mips16-reloc-error.l: New stderr output.
+       * testsuite/gas/mips/mips16-reloc-error.s: New test source.
+       * testsuite/gas/mips/mips.exp: Run the new test.
+
+2017-05-15  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/gas/mips/lui-1.d: New test.
+       * testsuite/gas/mips/lui-2.d: New test.
+       * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
+       into the new tests.
+
+2017-05-15  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * config/tc-mips.c (match_const_int): Update description.
+
+2017-05-15  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * doc/as.texinfo (-mips16, -no-mips16): Refer to `.module
+       mips16' rather than `.set mips16'.
+       (-mmicromips, -mno-micromips): Refer to `.module micromips' and
+       `.module nomicromips' rather than `.set micromips' and `.set
+       nomicromips'.
+       (-msmartmips, -mno-smartmips): Refer to `.module smartmips'
+       rather than `.set smartmips'.
+       * doc/c-mips.texi (MIPS Options): Refer to `.module mips16',
+       `.module micromips', `.module nomicromips' and `.module
+       smartmips' rather than `.set mips16', `.set micromips', `.set
+       nomicromips' and `.set smartmips' respectively.
+
+2017-05-12  Maciej W. Rozycki  <macro@imgtec.com>
+           Matthew Fortune  <matthew.fortune@imgtec.com>
+
+       * config/tc-mips.c (mips_percent_op): Add "%gprel".
+       (mips16_percent_op): Add "%gp_rel".
+       * testsuite/gas/mips/elf-rel8.s:: Add `%gprel' forms.
+       * testsuite/gas/mips/elf-rel8-mips16.s: Add `%gp_rel' forms.
+       * testsuite/gas/mips/elf-rel8.d: Adjust accordingly.
+       * testsuite/gas/mips/elf-rel8-mips16.d: Likewise.
+
+2017-05-12  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/gas/mips/mips16.d: Adjust BREAK disassembly.
+       * testsuite/gas/mips/mips16-64@mips16.d: Likewise.
+       * testsuite/gas/mips/mips16-64.d: Likewise.
+       * testsuite/gas/mips/mips16-64@mips16-64.d: Likewise.
+       * testsuite/gas/mips/mips16-macro.d: Likewise.
+       * testsuite/gas/mips/mips16-64@mips16-macro.d: Likewise.
+       * testsuite/gas/mips/mips16-sub.d: Likewise.
+       * testsuite/gas/mips/mips16-32@mips16-sub.d: Likewise.
+
+2017-05-11  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/gas/mips/mips32r2-sync-1.d: New test.
+       * testsuite/gas/mips/micromips@mips32r2-sync-1.d: New test.
+       * testsuite/gas/mips/mips.exp: Run the new tests.
+
+2017-05-10  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/gas/mips/isa-override-2.d: New test.
+       * testsuite/gas/mips/mips1@isa-override-2.d: New test.
+       * testsuite/gas/mips/r3000@isa-override-2.d: New test.
+       * testsuite/gas/mips/r3900@isa-override-2.d: New test.
+       * testsuite/gas/mips/mips2@isa-override-2.d: New test.
+       * testsuite/gas/mips/mips32@isa-override-2.d: New test.
+       * testsuite/gas/mips/mips32r2@isa-override-2.d: New test.
+       * testsuite/gas/mips/mips32r3@isa-override-2.d: New test.
+       * testsuite/gas/mips/mips32r5@isa-override-2.d: New test.
+       * testsuite/gas/mips/mips32r6@isa-override-2.d: New test.
+       * testsuite/gas/mips/octeon3@isa-override-2.d: New test.
+       * testsuite/gas/mips/r3000@isa-override-2.l: Remove list test.
+       * testsuite/gas/mips/mips1@isa-override-2.s: Remove test source.
+       * testsuite/gas/mips/r3000@isa-override-2.s: Remove test source.
+       * testsuite/gas/mips/r3900@isa-override-2.s: Remove test source.
+       * testsuite/gas/mips/mips2@isa-override-2.s: Remove test source.
+       * testsuite/gas/mips/mips32@isa-override-2.s: Remove test
+       source.
+       * testsuite/gas/mips/mips32r2@isa-override-2.s: Remove test
+       source.
+       * testsuite/gas/mips/mips32r3@isa-override-2.s: Remove test
+       source.
+       * testsuite/gas/mips/mips32r5@isa-override-2.s: Remove test
+       source.
+       * testsuite/gas/mips/mips32r6@isa-override-2.s: Remove test
+       source.
+       * testsuite/gas/mips/octeon3@isa-override-2.s: Remove test
+       source.
+       * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
+       into the new tests.
+
+2017-05-10  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/gas/mips/mips16e-sub.d: Correct test name.
+       * testsuite/gas/mips/mips16-32@mips16e-sub.d: Likewise.
+       * testsuite/gas/mips/mips16-64@mips16e-sub.d: Likewise.
+       * testsuite/gas/mips/mips16e-64-sub.d: Likewise.
+       * testsuite/gas/mips/mips16-32@mips16e-64-sub.d: Likewise.
+       * testsuite/gas/mips/mips16-64@mips16e-64-sub.d: Likewise.
+       * testsuite/gas/mips/mips16e-32@mips16e-64-sub.d: Likewise.
+
+2017-05-10  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/gas/mips/mips16-macro.l: Remove list test.
+
+2017-05-10  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/gas/mips/r3900@ecoff@ld.d: Remove test.
+       * testsuite/gas/mips/mips2@ecoff@ld.d: Remove test.
+       * testsuite/gas/mips/mips32@ecoff@ld.d: Remove test.
+       * testsuite/gas/mips/mips32r2@ecoff@ld.d: Remove test.
+       * testsuite/gas/mips/r3900@ecoff@ld-forward.d: Remove test.
+       * testsuite/gas/mips/mips2@ecoff@ld-forward.d: Remove test.
+       * testsuite/gas/mips/mips32@ecoff@ld-forward.d: Remove test.
+       * testsuite/gas/mips/mips32r2@ecoff@ld-forward.d: Remove test.
+       * testsuite/gas/mips/mips1@ecoff@sd.d: Remove test.
+       * testsuite/gas/mips/r3000@ecoff@sd.d: Remove test.
+       * testsuite/gas/mips/r3900@ecoff@sd.d: Remove test.
+       * testsuite/gas/mips/mips2@ecoff@sd.d: Remove test.
+       * testsuite/gas/mips/mips32@ecoff@sd.d: Remove test.
+       * testsuite/gas/mips/mips32r2@ecoff@sd.d: Remove test.
+       * testsuite/gas/mips/mips1@ecoff@sd-forward.d: Remove test.
+       * testsuite/gas/mips/r3000@ecoff@sd-forward.d: Remove test.
+       * testsuite/gas/mips/r3900@ecoff@sd-forward.d: Remove test.
+       * testsuite/gas/mips/mips2@ecoff@sd-forward.d: Remove test.
+       * testsuite/gas/mips/mips32@ecoff@sd-forward.d: Remove test.
+       * testsuite/gas/mips/mips32r2@ecoff@sd-forward.d: Remove test.
+
+2017-05-10  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * testsuite/gas/arc/attr-arc600.d: New file.
+       * testsuite/gas/arc/attr-arc600_mul32x16.d: Likewise.
+       * testsuite/gas/arc/attr-arc600_norm.d: Likewise.
+       * testsuite/gas/arc/attr-arc601.d: Likewise.
+       * testsuite/gas/arc/attr-arc601_mul32x16.d: Likewise.
+       * testsuite/gas/arc/attr-arc601_mul64.d: Likewise.
+       * testsuite/gas/arc/attr-arc601_norm.d: Likewise.
+       * testsuite/gas/arc/attr-arc700.d: Likewise.
+       * testsuite/gas/arc/attr-arcem.d: Likewise.
+       * testsuite/gas/arc/attr-archs.d: Likewise.
+       * testsuite/gas/arc/attr-autodetect-1.d: Likewise.
+       * testsuite/gas/arc/attr-autodetect-1.s: Likewise.
+       * testsuite/gas/arc/attr-cpu-a601.d: Likewise.
+       * testsuite/gas/arc/attr-cpu-a601.s: Likewise.
+       * testsuite/gas/arc/attr-cpu-a700.d: Likewise.
+       * testsuite/gas/arc/attr-cpu-a700.s: Likewise.
+       * testsuite/gas/arc/attr-cpu-em.d: Likewise.
+       * testsuite/gas/arc/attr-cpu-em.s: Likewise.
+       * testsuite/gas/arc/attr-cpu-hs.d: Likewise.
+       * testsuite/gas/arc/attr-cpu-hs.s: Likewise.
+       * testsuite/gas/arc/attr-em.d: Likewise.
+       * testsuite/gas/arc/attr-em4.d: Likewise.
+       * testsuite/gas/arc/attr-em4_dmips.d: Likewise.
+       * testsuite/gas/arc/attr-em4_fpuda.d: Likewise.
+       * testsuite/gas/arc/attr-em4_fpus.d: Likewise.
+       * testsuite/gas/arc/attr-hs.d: Likewise.
+       * testsuite/gas/arc/attr-hs34.d: Likewise.
+       * testsuite/gas/arc/attr-hs38.d: Likewise.
+       * testsuite/gas/arc/attr-hs38_linux.d: Likewise.
+       * testsuite/gas/arc/attr-mul64.d: Likewise.
+       * testsuite/gas/arc/attr-name.d: Likewise.
+       * testsuite/gas/arc/attr-name.s: Likewise.
+       * testsuite/gas/arc/attr-nps400.d: Likewise.
+       * testsuite/gas/arc/attr-override-mcpu.d: Likewise.
+       * testsuite/gas/arc/attr-override-mcpu.s
+       * testsuite/gas/arc/attr-quarkse_em.d: Likewise.
+       * testsuite/gas/arc/blank.s: Likewise.
+       * testsuite/gas/elf/section2.e-arc: Likewise.
+       * testsuite/gas/arc/cpu-pseudop-1.d: Update test.
+       * testsuite/gas/arc/cpu-pseudop-2.d: Likewise.
+       * testsuite/gas/arc/nps400-0.d: Likewise.
+       * testsuite/gas/elf/elf.exp: Set target_machine for ARC.
+       * config/tc-arc.c (opcode/arc-attrs.h): Include.
+       (ARC_GET_FLAG, ARC_SET_FLAG, streq): Define.
+       (arc_attribute): Declare new function.
+       (md_pseudo_table): Add arc_attribute.
+       (cpu_types): Rename default cpu features.
+       (selected_cpu): Set the default OSABI flag.
+       (mpy_option): New variable.
+       (pic_option): Likewise.
+       (sda_option): Likewise.
+       (tls_option): Likewise.
+       (feature_type, feature_list): Remove.
+       (arc_initial_eflag): Likewise.
+       (attributes_set_explicitly): New variable.
+       (arc_check_feature): Check also for the conflicting features.
+       (arc_select_cpu): Refactor assignment of selected_cpu.eflags.
+       (arc_option): Remove setting of private flags and architecture.
+       (check_cpu_feature): Refactor feature names.
+       (autodetect_attributes): New function.
+       (assemble_tokens): Use above function.
+       (md_parse_option): Refactor feature names.
+       (arc_attribute): New function.
+       (arc_set_attribute_int): Likewise.
+       (arc_set_attribute_string): Likewise.
+       (arc_stralloc): Likewise.
+       (arc_set_public_attributes): Likewise.
+       (arc_md_end): Likewise.
+       (arc_copy_symbol_attributes): Likewise.
+       (rc_convert_symbolic_attribute): Likewise.
+       * config/tc-arc.h (md_end): Define.
+       (CONVERT_SYMBOLIC_ATTRIBUTE): Likewise.
+       (TC_COPY_SYMBOL_ATTRIBUTES): Likewise.
+       * doc/c-arc.texi: Document ARC object attributes.
+
+2017-05-03  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add `pic', `sym32' and
+       `nomacro' flags.
+       (RELAX_MIPS16_PIC, RELAX_MIPS16_SYM32, RELAX_MIPS16_NOMACRO):
+       New macros.
+       (RELAX_MIPS16_USER_SMALL, RELAX_MIPS16_USER_EXT)
+       (RELAX_MIPS16_DSLOT, RELAX_MIPS16_JAL_DSLOT)
+       (RELAX_MIPS16_EXTENDED, RELAX_MIPS16_MARK_EXTENDED)
+       (RELAX_MIPS16_CLEAR_EXTENDED, RELAX_MIPS16_ALWAYS_EXTENDED)
+       (RELAX_MIPS16_MARK_ALWAYS_EXTENDED)
+       (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): Shift bits.
+       (RELAX_MIPS16_MACRO, RELAX_MIPS16_MARK_MACRO)
+       (RELAX_MIPS16_CLEAR_MACRO): New macros.
+       (append_insn): Pass `mips_pic', HAVE_32BIT_SYMBOLS and
+       `mips_opts.warn_about_macros' settings to RELAX_MIPS16_ENCODE.
+       (mips16_macro_frag): New function.
+       (md_estimate_size_before_relax): Handle HI16/LO16 relaxation.
+       (mips_relax_frag): Likewise.
+       (md_convert_frag): Likewise.
+
+       * testsuite/gas/mips/mips16@relax-swap3.d: Remove error output,
+       add dump patterns.
+       * testsuite/gas/mips/mips16e@relax-swap3.d: New test
+       subarchitecture.
+       * testsuite/gas/mips/micromips@relax-swap3.d: Remove trailing
+       NOP padding.
+       * testsuite/gas/mips/mips16-pcrel-reloc-2.d: Remove error
+       output, add dump patterns.
+       * testsuite/gas/mips/mips16-pcrel-reloc-3.d: Remove error
+       output, add dump patterns.
+       * testsuite/gas/mips/mips16-pcrel-reloc-6.d: Remove error
+       output, add dump patterns.
+       * testsuite/gas/mips/mips16-pcrel-reloc-7.d: Remove error
+       output, add dump patterns.
+       * testsuite/gas/mips/mips16-pcrel-addend-2.d: Remove error
+       output, add dump patterns.
+       * testsuite/gas/mips/mips16-pcrel-addend-3.d: Remove error
+       output, add dump patterns.
+       * testsuite/gas/mips/mips16-pcrel-absolute.d: Remove error
+       output, add dump patterns.
+       * testsuite/gas/mips/mips16-pcrel-absolute-1.d: Remove error
+       output, add dump patterns.
+       * testsuite/gas/mips/mips16@relax-swap3.l: Remove file.
+       * testsuite/gas/mips/mips16-pcrel-reloc-2.l: Remove file.
+       * testsuite/gas/mips/mips16-pcrel-reloc-3.l: Remove file.
+       * testsuite/gas/mips/mips16-pcrel-reloc-6.l: Remove file.
+       * testsuite/gas/mips/mips16-pcrel-reloc-7.l: Remove file.
+       * testsuite/gas/mips/mips16-pcrel-addend-2.l: Remove file.
+       * testsuite/gas/mips/mips16-pcrel-addend-3.l: Remove file.
+       * testsuite/gas/mips/mips16-pcrel-absolute.l: Remove file.
+       * testsuite/gas/mips/mips16-pcrel-absolute-1.l: Remove file.
+       * testsuite/gas/mips/relax-swap3.s: Adjust trailing padding.
+
+       * testsuite/gas/mips/mips16-pcrel-0.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-1.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-2.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-3.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-4.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-5.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-pic-0.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-pic-1.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-n32-0.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-n32-1.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-n64-0.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-n64-1.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-delay-0.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-delay-1.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-addend-4.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-addend-5.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-addend-6.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-addend-7.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-addend-8.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-addend-9.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-addend-pic-8.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-addend-n32-8.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-addend-n32-9.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-8.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-9.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-absolute-2.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-absolute-3.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-absolute-4.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-absolute-5.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-absolute-6.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-absolute-7.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-absolute-pic-4.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-absolute-pic-6.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-absolute-n32-4.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-absolute-n32-6.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d: New test.
+       * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-4.d: New
+       test.
+       * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-6.d: New
+       test.
+       * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-4.d: New
+       test.
+       * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-6.d: New
+       test.
+       * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d: New
+       test.
+       * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d: New
+       test.
+       * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-4.d:
+       New test.
+       * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-6.d:
+       New test.
+       * testsuite/gas/mips/mips16-pcrel-0.l: New stderr output.
+       * testsuite/gas/mips/mips16-pcrel-1.l: New stderr output.
+       * testsuite/gas/mips/mips16-pcrel-2.l: New stderr output.
+       * testsuite/gas/mips/mips16-pcrel-3.l: New stderr output.
+       * testsuite/gas/mips/mips16-pcrel-4.l: New stderr output.
+       * testsuite/gas/mips/mips16-pcrel-5.l: New stderr output.
+       * testsuite/gas/mips/mips16-pcrel-delay-0.l: New stderr output.
+       * testsuite/gas/mips/mips16-pcrel-delay-1.l: New stderr output.
+       * testsuite/gas/mips/mips16-pcrel-addend-8.l: New stderr output.
+       * testsuite/gas/mips/mips16-pcrel-addend-9.l: New stderr output.
+       * testsuite/gas/mips/mips16-pcrel-absolute-4.l: New stderr
+       output.
+       * testsuite/gas/mips/mips16-pcrel-absolute-6.l: New stderr
+       output.
+       * testsuite/gas/mips/mips16-pcrel-0.s: New test source.
+       * testsuite/gas/mips/mips16-pcrel-1.s: New test source.
+       * testsuite/gas/mips/mips16-pcrel-2.s: New test source.
+       * testsuite/gas/mips/mips16-pcrel-3.s: New test source.
+       * testsuite/gas/mips/mips16-pcrel-4.s: New test source.
+       * testsuite/gas/mips/mips16-pcrel-5.s: New test source.
+       * testsuite/gas/mips/mips16-pcrel-delay-0.s: New test source.
+       * testsuite/gas/mips/mips16-pcrel-delay-1.s: New test source.
+       * testsuite/gas/mips/mips16-pcrel-addend-4.s: New test source.
+       * testsuite/gas/mips/mips16-pcrel-addend-5.s: New test source.
+       * testsuite/gas/mips/mips16-pcrel-addend-6.s: New test source.
+       * testsuite/gas/mips/mips16-pcrel-addend-7.s: New test source.
+       * testsuite/gas/mips/mips16-pcrel-addend-8.s: New test source.
+       * testsuite/gas/mips/mips16-pcrel-addend-9.s: New test source.
+       * testsuite/gas/mips/mips16-pcrel-absolute-2.s: New test.
+       * testsuite/gas/mips/mips16-pcrel-absolute-3.s: New test.
+       * testsuite/gas/mips/mips16-pcrel-absolute-4.s: New test.
+       * testsuite/gas/mips/mips16-pcrel-absolute-5.s: New test.
+       * testsuite/gas/mips/mips16-pcrel-absolute-6.s: New test.
+       * testsuite/gas/mips/mips16-pcrel-absolute-7.s: New test.
+       * testsuite/gas/mips/mips.exp: Run the new tests.
+
+2017-05-03  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/20941
+       * symbols.c (snapshot_symbol): Handle the case where
+       resolve_expression returns a local symbol.
+
+2017-05-02  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * config/tc-mips.c (append_insn): Call `symbol_append' for any
+       expression symbol created for MIPS16 relaxation.
+       (match_mips16_insn): Don't encode a constant value as an
+       immediate with a PC-relative operand.
+
+       * testsuite/gas/mips/mips16-pcrel-absolute-1.d: New test.
+       * testsuite/gas/mips/mips16-branch-absolute-1.d: New test.
+       * testsuite/gas/mips/mips16-branch-absolute-2.d: New test.
+       * testsuite/gas/mips/mips16-branch-absolute-addend-1.d: New
+       test.
+       * testsuite/gas/mips/mips16-branch-absolute-n32-1.d: New test.
+       * testsuite/gas/mips/mips16-branch-absolute-n32-2.d: New test.
+       * testsuite/gas/mips/mips16-branch-absolute-addend-n32-1.d: New
+       test.
+       * testsuite/gas/mips/mips16-branch-absolute-n64-1.d: New test.
+       * testsuite/gas/mips/mips16-branch-absolute-n64-2.d: New test.
+       * testsuite/gas/mips/mips16-branch-absolute-addend-n64-1.d: New
+       test.
+       * testsuite/gas/mips/mips16-pcrel-absolute-1.l: New stderr
+       output.
+       * testsuite/gas/mips/mips16-pcrel-absolute-1.s: New test source.
+       * testsuite/gas/mips/mips16-branch-absolute-1.s: New test
+       source.
+       * testsuite/gas/mips/mips16-branch-absolute-2.s: New test
+       source.
+       * testsuite/gas/mips/mips16-branch-absolute-addend-1.s: New test
+       source.
+       * testsuite/gas/mips/mips.exp: Run the new tests.
+
+2017-04-27  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * config/tc-mips.c (mips16_pcrel_val): New function, factored
+       out from...
+       (mips16_extended_frag): ... here.
+       (md_convert_frag): Use `mips16_pcrel_val' rather than repeated
+       code in MIPS16 relaxation, with `stretch' hardcoded to 0.
+
+2017-04-27  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * config/tc-mips.c (RELAX_MIPS16_LONG_BRANCH): Rename to...
+       (RELAX_MIPS16_ALWAYS_EXTENDED): ... this.
+       (RELAX_MIPS16_MARK_LONG_BRANCH): Rename to...
+       (RELAX_MIPS16_MARK_ALWAYS_EXTENDED): ... this.
+       (RELAX_MIPS16_CLEAR_LONG_BRANCH): Rename to...
+       (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): ... this.
+       (mips16_extended_frag): Adjust accordingly.
+
+2017-04-27  Alan Modra  <amodra@gmail.com>
+
+       * symbols.c (S_FORCE_RELOC): Separate section and symbol tests.
+
+2017-04-26  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * config/tc-mips.c (RELAX_ENCODE): Add `PIC' flag.
+       (RELAX_PIC): New macro.
+       (RELAX_USE_SECOND, RELAX_SECOND_LONGER, RELAX_NOMACRO)
+       (RELAX_DELAY_SLOT, RELAX_DELAY_SLOT_16BIT)
+       (RELAX_DELAY_SLOT_SIZE_FIRST, RELAX_DELAY_SLOT_SIZE_SECOND):
+       Shift bits.
+       (RELAX_BRANCH_ENCODE): Add `pic' flag.
+       (RELAX_BRANCH_UNCOND, RELAX_BRANCH_LIKELY, RELAX_BRANCH_LINK)
+       (RELAX_BRANCH_TOOFAR): Shift bits.
+       (RELAX_BRANCH_PIC): New macro.
+       (RELAX_MICROMIPS_ENCODE): Add `pic' flag.
+       (RELAX_MICROMIPS_PIC): New macro.
+       (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
+       (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_NODS)
+       (RELAX_MICROMIPS_RELAX32): Shift bits.
+       (relax_close_frag): Pass `mips_pic' setting to RELAX_ENCODE.
+       (append_insn): Pass `mips_pic' setting to RELAX_BRANCH_ENCODE
+       and RELAX_MICROMIPS_ENCODE, and record it in `fx_tcbit2' of the
+       first fixup created.
+       (md_apply_fix) <BFD_RELOC_16_PCREL_S2>: Use `fx_tcbit2' of the
+       fixup processed rather than `mips_pic' in choosing to relax an
+       out of range branch to a jump.
+       (relaxed_branch_length): Use the `pic' flag of the relaxed frag
+       rather than `mips_pic'.
+       (relaxed_micromips_32bit_branch_length): Likewise.
+       (md_estimate_size_before_relax): Likewise.
+       (md_convert_frag): Likewise.
+
+       * testsuite/gas/mips/option-pic-relax-0.d: New test.
+       * testsuite/gas/mips/option-pic-relax-1.d: New test.
+       * testsuite/gas/mips/option-pic-relax-2.d: New test.
+       * testsuite/gas/mips/option-pic-relax-3.d: New test.
+       * testsuite/gas/mips/option-pic-relax-3a.d: New test.
+       * testsuite/gas/mips/option-pic-relax-4.d: New test.
+       * testsuite/gas/mips/option-pic-relax-5.d: New test.
+       * testsuite/gas/mips/option-pic-relax-2.l: New stderr output.
+       * testsuite/gas/mips/option-pic-relax-3.l: New stderr output.
+       * testsuite/gas/mips/option-pic-relax-4.l: New stderr output.
+       * testsuite/gas/mips/option-pic-relax-5.l: New stderr output.
+       * testsuite/gas/mips/option-pic-relax-0.s: New test source.
+       * testsuite/gas/mips/option-pic-relax-1.s: New test source.
+       * testsuite/gas/mips/option-pic-relax-2.s: New test source.
+       * testsuite/gas/mips/option-pic-relax-3.s: New test source.
+       * testsuite/gas/mips/option-pic-relax-4.s: New test source.
+       * testsuite/gas/mips/option-pic-relax-5.s: New test source.
+       * testsuite/gas/mips/mips.exp: Run the new tests.
+
+2017-04-25  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * testsuite/gas/arc/leave_enter.d: Update test.
+       * testsuite/gas/arc/leave_enter.s: Likewise.
+
+2017-04-25  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * testsuite/gas/arc/b.d: Update test.
+       * testsuite/gas/arc/noargs_hs.d: Likewise.
+
+2017-04-25  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * config/tc-mips.c (md_convert_frag): Correct
+       BFD_RELOC_MIPS16_16_PCREL_S1 fixup size.
+       * testsuite/gas/mips/mips16-branch-addend-4.d: New test.
+       * testsuite/gas/mips/mips16-branch-addend-5.d: New test.
+       * testsuite/gas/mips/mips16-branch-addend-5.l: New stderr
+       output.
+       * testsuite/gas/mips/mips16-branch-addend-4.s: New test source.
+       * testsuite/gas/mips/mips16-branch-addend-5.s: New test source.
+       * testsuite/gas/mips/mips.exp: Run the new tests.
+
+2017-04-25  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       PR gas/21407
+       * config/tc-sparc.c (md_apply_fix): Do not transform `call'
+       instructions into branch instructions in fixups generating
+       additional relocations.
+       * testsuite/gas/sparc/call-relax.s: New file.
+       * testsuite/gas/sparc/call-relax.d: Likewise.
+       * testsuite/gas/sparc/call-relax-aout.d: Likewise.
+       * testsuite/gas/sparc/sparc.exp: Test call-relax and call-relax-aout.
+
+2017-04-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * config/tc-arm.c (move_or_literal_pool): Remove code generating MOVS.
+       Forbid MOV.W and MOVW if destination is SP or PC.
+       * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.s: Explain
+       expectation of LDR not generating a MOVS for low registers and small
+       constants.  Add tests of MOVW generation.
+       * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.d: Update
+       expected disassembly.
+
+2017-04-22  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/ppc/vle.s: Format.  Add se_rfgi and e_sc.
+       * testsuite/gas/ppc/vle.d: Update.
+
+2017-04-21  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21380
+       * testsuite/gas/aarch64/illegal-3.s: New file.
+       * testsuite/gas/aarch64/illegal-3.d: New file.
+
+2017-04-11  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-ppc.c (md_show_usage): Delete mention of -mhtm.
+       * testsuite/gas/ppc/htm.d: Pass -mpower8 and -Mpower8.
+
+2017-04-10  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * config/tc-xtensa.c (xtensa_maybe_create_literal_pool_frag):
+       Initialize lps->frag_count with auto_litpool_limit.
+       (xg_promote_candidate_litpool): New function.
+       (xtensa_move_literals): Extract candidate litpool promotion code
+       into separate function. Call it for all possible found
+       candidates.
+       (xtensa_switch_to_literal_fragment): Drop 'recursive' flag and
+       call to xtensa_mark_literal_pool_location that it guards.
+       Replace it with call to xtensa_maybe_create_literal_pool_frag.
+       Initialize pool_location with created literal pool candidate.
+       * testsuite/gas/xtensa/all.exp: Add new tests.
+       * testsuite/gas/xtensa/auto-litpools-first1.d: New test results.
+       * testsuite/gas/xtensa/auto-litpools-first1.s: New test.
+       * testsuite/gas/xtensa/auto-litpools-first2.d: New test results.
+       * testsuite/gas/xtensa/auto-litpools-first2.s: New test.
+       * testsuite/gas/xtensa/auto-litpools.d: Fix offsets changed due
+       to additional jump instruction.
+
+2017-04-07  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/ppc/altivec2.s: Delete E6500 vector insns.
+       * testsuite/gas/ppc/altivec2.d: Adjust to suit.
+
+2017-04-07  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/elf/section12a.d: Don't expect alignment of 1
+       for .mbind.text.
+
+2017-04-06  Pip Cet  <pipcet@gmail.com>
+
+       * testsuite/gas/wasm32/allinsn.d: Adjust test for disassembler
+       changes.
+       * testsuite/gas/wasm32/disass.d: New test.
+       * testsuite/gas/wasm32/disass.s: New test.
+       * testsuite/gas/wasm32/disass-2.d: New test.
+       * testsuite/gas/wasm32/disass-2.s: New test.
+       * testsuite/gas/wasm32/reloc.d: Adjust test for changed reloc
+       names.
+       * testsuite/gas/wasm32/reloc.s: Update test for changed assembler
+       syntax.
+       * testsuite/gas/wasm32/wasm32.exp: Run new tests.  Expect allinsn
+       test to succeed.
+
+2017-04-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * NEWS: Mention support for ELF SHF_GNU_MBIND.
+       * config/obj-elf.c (section_match): New.
+       (get_section): Match both sh_info and group name.
+       (obj_elf_change_section): Add argument for sh_info.  Pass both
+       sh_info and group name to get_section. Issue an error for
+       SHF_GNU_MBIND section without SHF_ALLOC.  Set sh_info.
+       (obj_elf_parse_section_letters): Set SHF_GNU_MBIND for 'd'.
+       (obj_elf_section): Support SHF_GNU_MBIND section info.
+       * config/obj-elf.h (obj_elf_change_section): Add argument for
+       sh_info.
+       * config/tc-arm.c (start_unwind_section): Pass 0 as sh_info to
+       obj_elf_change_section.
+       * config/tc-ia64.c (obj_elf_vms_common): Likewise.
+       * config/tc-microblaze.c (microblaze_s_data): Likewise.
+       (microblaze_s_sdata): Likewise.
+       (microblaze_s_rdata): Likewise.
+       (microblaze_s_bss): Likewise.
+       * config/tc-mips.c (s_change_section): Likewise.
+       * config/tc-msp430.c (msp430_profiler): Likewise.
+       * config/tc-rx.c (parse_rx_section): Likewise.
+       * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
+       * doc/as.texinfo: Document 'd' for SHF_GNU_MBIND.
+       * testsuite/gas/elf/elf.exp: Run section12a, section12b and
+       section13.
+       * testsuite/gas/elf/section10.d: Updated.
+       * testsuite/gas/elf/section10.s: Likewise.
+       * testsuite/gas/elf/section12.s: New file.
+       * testsuite/gas/elf/section12a.d: Likewise.
+       * testsuite/gas/elf/section12b.d: Likewise.
+       * testsuite/gas/elf/section13.l: Likewise.
+       * testsuite/gas/elf/section13.d: Likewise.
+       * testsuite/gas/elf/section13.s: Likewise.
+
+2017-04-03  Palmer Dabbelt  <palmer@dabbelt.com>
+
+       * config/tc-riscv.c (riscv_clear_subsets): Cast argument to free to
+       avoid const warnings.
+
+2017-03-30  Palmer Dabbelt  <palmer@dabbelt.com>
+
+       * config/tc-riscv.c (riscv_clear_subsets): New function.
+       (riscv_add_subset): Call riscv_clear_subsets and riscv_set_rvc to
+       clear RVC when it's been previously set.
+
+2017-03-31  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/21333
+       * config/tc-s390.c (tc_s390_fix_adjustable): Allow non pc-relative
+       fixups in mergeable sections to be adjusted.
+
+2017-03-30  Pip Cet  <pipcet@gmail.com>
+
+       * config/tc-wasm32.h: New file: Add WebAssembly assembler target.
+       * config/tc-wasm32.c: New file: Add WebAssembly assembler target.
+       * Makefile.am: Add WebAssembly assembler target.
+       * configure.tgt: Add WebAssembly assembler target.
+       * doc/c-wasm32.texi: New file: Start documenting WebAssembly
+       assembler.
+       * doc/all.texi: Define WASM32.
+       * doc/as.texinfo: Add WebAssembly entries.
+       * NEWS: Mention the new support.
+       * Makefile.in: Regenerate.
+       * po/gas.pot: Regenerate.
+       * po/POTFILES.in: Regenerate.
+       * testsuite/gas/wasm32: New directory.
+       * testsuite/gas/wasm32/allinsn.d: New file.
+       * testsuite/gas/wasm32/allinsn.s: New file.
+       * testsuite/gas/wasm32/illegal.l: New file.
+       * testsuite/gas/wasm32/illegal.s: New file.
+       * testsuite/gas/wasm32/illegal-2.l: New file.
+       * testsuite/gas/wasm32/illegal-2.s: New file.
+       * testsuite/gas/wasm32/illegal-3.l: New file.
+       * testsuite/gas/wasm32/illegal-3.s: New file.
+       * testsuite/gas/wasm32/illegal-4.l: New file.
+       * testsuite/gas/wasm32/illegal-4.s: New file.
+       * testsuite/gas/wasm32/illegal-5.l: New file.
+       * testsuite/gas/wasm32/illegal-5.s: New file.
+       * testsuite/gas/wasm32/illegal-6.l: New file.
+       * testsuite/gas/wasm32/illegal-6.s: New file.
+       * testsuite/gas/wasm32/illegal-7.l: New file.
+       * testsuite/gas/wasm32/illegal-7.s: New file.
+       * testsuite/gas/wasm32/illegal-8.l: New file.
+       * testsuite/gas/wasm32/illegal-8.s: New file.
+       * testsuite/gas/wasm32/illegal-9.l: New file.
+       * testsuite/gas/wasm32/illegal-9.s: New file.
+       * testsuite/gas/wasm32/illegal-10.l: New file.
+       * testsuite/gas/wasm32/illegal-10.s: New file.
+       * testsuite/gas/wasm32/illegal-11.l: New file.
+       * testsuite/gas/wasm32/illegal-11.s: New file.
+       * testsuite/gas/wasm32/illegal-12.l: New file.
+       * testsuite/gas/wasm32/illegal-12.s: New file.
+       * testsuite/gas/wasm32/illegal-13.l: New file.
+       * testsuite/gas/wasm32/illegal-13.s: New file.
+       * testsuite/gas/wasm32/illegal-14.l: New file.
+       * testsuite/gas/wasm32/illegal-14.s: New file.
+       * testsuite/gas/wasm32/illegal-15.l: New file.
+       * testsuite/gas/wasm32/illegal-15.s: New file.
+       * testsuite/gas/wasm32/illegal-16.l: New file.
+       * testsuite/gas/wasm32/illegal-16.s: New file.
+       * testsuite/gas/wasm32/illegal-17.l: New file.
+       * testsuite/gas/wasm32/illegal-17.s: New file.
+       * testsuite/gas/wasm32/illegal-18.l: New file.
+       * testsuite/gas/wasm32/illegal-18.s: New file.
+       * testsuite/gas/wasm32/illegal-19.l: New file.
+       * testsuite/gas/wasm32/illegal-19.s: New file.
+       * testsuite/gas/wasm32/illegal-20.l: New file.
+       * testsuite/gas/wasm32/illegal-20.s: New file.
+       * testsuite/gas/wasm32/illegal-21.l: New file.
+       * testsuite/gas/wasm32/illegal-21.s: New file.
+       * testsuite/gas/wasm32/illegal-22.l: New file.
+       * testsuite/gas/wasm32/illegal-22.s: New file.
+       * testsuite/gas/wasm32/illegal-24.l: New file.
+       * testsuite/gas/wasm32/illegal-24.s: New file.
+       * testsuite/gas/wasm32/illegal-25.l: New file.
+       * testsuite/gas/wasm32/illegal-25.s: New file.
+       * testsuite/gas/wasm32/reloc.d: New file.
+       * testsuite/gas/wasm32/reloc.s: New file.
+       * testsuite/gas/wasm32/wasm32.exp: New tests for WebAssembly
+       architecture.
+
+2017-03-29  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-ppc.c (md_parse_option): Reject -mraw.
+
+2017-03-27  Alan Modra  <amodra@gmail.com>
+
+       PR 21303
+       * testsuite/gas/ppc/pr21303.d,
+       * testsuite/gas/ppc/pr21303.s: New test
+       * testsuite/gas/ppc/ppc.exp: Run it.
+
+2017-03-27  Rinat Zelig  <rinat@mellanox.com>
+
+       * testsuite/gas/arc/nps400-12.s: New file.
+       * testsuite/gas/arc/nps400-12.d: New file.
+
+2017-03-24  Thomas preud'homme  <thomas.preudhomme@arm.com>
+
+       * config/tc-arm.: (md_begin): Set selected_cpu from *mcpu_cpu_opt when
+       CPU_DEFAULT is defined.
+
+2017-03-21  Palmer Dabbbelt  <palmer@dabbelt.com>
+
+       * config/tc-riscv.c (md_show_usage): Remode defuct -m32, -m64,
+       -msoft-float, -mhard-float, -mno-rvc, and -mrvc options; and don't
+       print an invalid default ISA string.
+       * doc/c-riscv.texi (OPTIONS): Add -fpic and -fno-pic options.
+
+2017-03-22  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * config/tc-xtensa.c (xtensa_relax_frag): Change fx_size of the
+       reassigned fixup to size of jump instruction (3) and fx_r_type
+       to BFD_RELOC_XTENSA_SLOT0_OP, as there's only one slot.
+       (add_jump_to_trampoline): Search
+       origfrag->tc_frag_data.slot_symbols for the slot with non-NULL
+       symbol and use that slot instead of slot 0.
+
+2017-03-21  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * config/tc-s390.c (s390_parse_cpu): Remove S390_INSTR_FLAG_VX2
+       from cpu_table.  Remove vx2, and novx2 from cpu_flags.
+
+2017-03-21  Rinat Zelig  <rinat@mellanox.com>
+
+       * testsuite/gas/arc/nps400-11.s: New file.
+       * testsuite/gas/arc/nps400-11.d: New file.
+
+2017-03-20  Nick Clifton  <nickc@redhat.com>
+
+       * doc/as.texinfo (2byte): Note that if no expressions are present
+       the directive does nothing.  Emphasize that the output is
+       unaligned, and that this can have an effect on the relocations
+       generated.
+       (4byte): Simplify description.  Refer back to the 2byte
+       description.
+       (8byte): Likewise.
+
+2017-03-20  Richard Earnshaw  <rearnsha@arm.com>
+
+       * config/tc-arm.c (arm_fpus): Note entires that should not be
+       documented.
+       * doc/c-arm.texi (-mfpu): Add missing FPU entries for neon-vfpv3 and
+       neon-fp16.  Fix spelling error.
+
+2017-03-20  Richard Earnshaw  <rearnsha@arm.com>
+
+       * config/tc-arm.c (arm_fpus): Add neon-vfpv3 as an alias for neon.
+
+2017-03-16  Rinat Zelig  <rinat@mellanox.com>
+
+       * config/tc-arc.c (assemble_insn): Only handle ".t" and ".nt"
+       specially for ARCv2.
+
+2017-03-14  Kito Cheng  <kito.cheng@gmail.com>
+
+       * config/tc-riscv.c (validate_riscv_insn): Add 'o' RVC immediate
+       encoding format, which can accept 0-valued immediates.
+       (riscv_ip): Likewise.
+
+2017-03-15  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-riscv.c (riscv_pre_output_hook): Fix compile time
+       warning about discarding a const qualifier.
+
+2017-03-02  Kuan-Lin Chen  <rufus@andestech.com>
+
+       * config/tc-riscv.h (HWARD2_USE_FIXED_ADVANCE_PC): New define.
+
+2017-03-02  Kuan-Lin Chen  <rufus@andestech.com>
+
+       * config/tc-riscv.c (md_apply_fix): Set fx_frag and
+       fx_next->fx_frag for CFA_advance_loc relocations.
+
+2017-03-02  Kuan-Lin Chen  <rufus@andestech.com>
+
+       * config/tc-riscv.c (md_apply_fix): Compute the correct offsets
+       for CFA relocations.
+
+2017-03-13  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21202
+       * config/tc-aarch64.c (reloc_table): Rename
+       BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC to
+       BFD_RELOC_AARCH64_TLSDESC_LD64_LO12.  Rname
+       BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC to
+       BFD_RELOC_AARCH64_TLSDESC_ADD_LO12.
+       (md_apply_fix): Likewise.
+       (aarch64_force_relocation): Likewise.
+       * testsuite/gas/aarch64/tls.d: Update regexp.
+
+2017-03-10  Tobin C. Harding  <me@tobin.cc>
+           Nick Clifton  <nickc@redhat.com>
+
+       * doc/as.texinfo (2byte): Tidy up wording.  Add note that
+       overlarge values will produce a warning message and be trunacted.
+       (4byte): Likewise.
+
+2017-03-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (_i386_insn): Add dir_encoding and
+       vec_encoding.  Remove swap_operand and need_vrex.
+       (extra_symbol_chars): Add '}'.
+       (md_begin): Mark '}' with LEX_BEGIN_NAME.  Allow '}' in
+       mnemonic.
+       (build_vex_prefix): Don't use 2-byte VEX encoding with
+       {vex3}.  Check dir_encoding and load.
+       (parse_insn): Check pseudo prefixes.  Set dir_encoding.
+       (VEX_check_operands): Likewise.
+       (match_template): Check dir_encoding and load.
+       (parse_real_register): Set vec_encoding instead of need_vrex.
+       (parse_register): Likewise.
+       * doc/c-i386.texi: Document {disp8}, {disp32}, {load}, {store},
+       {vex2}, {vex3} and {evex}.  Remove ".s", ".d8" and ".d32"
+       * testsuite/gas/i386/i386.exp: Run pseudos and x86-64-pseudos.
+       * testsuite/gas/i386/pseudos.d: New file.
+       * testsuite/gas/i386/pseudos.s: Likewise.
+       * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
+       * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
+
+2017-03-08  Peter Bergner <bergner@vnet.ibm.com>
+
+       * testsuite/gas/ppc/altivec2.d (as): Use the -mpower8 option.
+       (objdump): Use the -Mpower8 option.
+
+2017-03-08  Peter Bergner <bergner@vnet.ibm.com>
+
+       * testsuite/gas/ppc/power9.d <lnia> New test.
+       * testsuite/gas/ppc/power9.s: Likewise.
+
+2017-03-07  Alan Modra  <amodra@gmail.com>
+
+       * doc/as.texinfo (2byte, 4byte, 8byte): Correct @section placement.
+
+2017-03-07  Tobin C. Harding  <me@tobin.cc>
+           Alan Modra  <amodra@gmail.com>
+
+       * doc/as.texinfo (2byte, 4byte, 8byte): Document.
+       * doc/c-arm.texi (2byte, 4byte, 8byte): Omit if ELF.
+
+2017-03-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (cpu_arch): Add .cet.
+       * doc/c-i386.texi: Document cet.
+       * testsuite/gas/i386/cet-intel.d: New file.
+       * testsuite/gas/i386/cet.d: Likewise.
+       * testsuite/gas/i386/cet.s: Likewise.
+       * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
+       * testsuite/gas/i386/x86-64-cet.d: Likewise.
+       * testsuite/gas/i386/x86-64-cet.s: Likewise.
+       * testsuite/gas/i386/i386.exp: Run Intel CET tests.
+
+2017-03-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/gas/i386/x86-64-mpx-inval-2.s: Force a good alignment.
+       * testsuite/gas/i386/x86-64-mpx-inval-2.l: Expect [0-9A-F]+.
+
+2017-03-06  Alan Modra  <amodra@gmail.com>
+
+       * dw2gencfi.c (encoding_size): Return unsigned int.
+       (emit_expr_encoded): Assert size matches reloc bitsize.
+       (output_fde): Use unsigned for offset_size and addr_size.  Set
+       addr_size earlier and use in place of constant 4 and uses of
+       DWARF2_FDE_RELOC_SIZE.  Assert it matches reloc bitsize.
+
+2017-03-06  Alan Modra  <amodra@gmail.com>
+
+       * dw2gencfi.c: Wrap overlong lines.  Add parens for emacs
+       auto reformat.  Formatting and whitespace fixes.
+
+2017-03-05  Mark Wielaard  <mark@klomp.org>
+
+       * dwarf2dbg.c (out_debug_abbrev): Use DW_FORM_strp instead of
+       DW_FORM_string for DW_AT_name, DW_AT_comp_dir and DW_AT_producer.
+       (out_debug_info): Accept symbols to name, comp_dir and producer in
+       the .debug_str section and emit those offsets not full strings.
+       (out_debug_str): New function that outputs the strings for name,
+       comp_dir and producer in .debug_str and generates symbols to those
+       strings.
+       (out_debug_line): Create a .debug_str section if necessary and call
+       out_debug_str before calling out_debug_info.
+       * testsuite/gas/aarch64/dwarf.d: Add extra section symbol to expected
+       output.
+
+2017-03-02  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * write.c (relax_segment) <rs_org>: Only bail out if the fixed
+       part of the frag has overrun the location requested.
+
+       * testsuite/gas/all/org-1.d: New test.
+       * testsuite/gas/all/org-2.d: New test.
+       * testsuite/gas/all/org-3.d: New test.
+       * testsuite/gas/all/org-4.d: New test.
+       * testsuite/gas/all/org-5.d: New test.
+       * testsuite/gas/all/org-6.d: New test.
+       * testsuite/gas/all/org-1.l: New stderr output.
+       * testsuite/gas/all/org-2.l: New stderr output.
+       * testsuite/gas/all/org-3.l: New stderr output.
+       * testsuite/gas/all/org-1.s: New test source.
+       * testsuite/gas/all/org-2.s: New test source.
+       * testsuite/gas/all/org-3.s: New test source.
+       * testsuite/gas/all/org-4.s: New test source.
+       * testsuite/gas/all/org-5.s: New test source.
+       * testsuite/gas/all/org-6.s: New test source.
+       * testsuite/gas/all/gas.exp: Run the new tests.
+
+       * testsuite/gas/mips/org-1.d: New test.
+       * testsuite/gas/mips/org-2.d: New test.
+       * testsuite/gas/mips/org-3.d: New test.
+       * testsuite/gas/mips/org-4.d: New test.
+       * testsuite/gas/mips/org-5.d: New test.
+       * testsuite/gas/mips/org-6.d: New test.
+       * testsuite/gas/mips/org-7.d: New test.
+       * testsuite/gas/mips/org-8.d: New test.
+       * testsuite/gas/mips/org-9.d: New test.
+       * testsuite/gas/mips/org-10.d: New test.
+       * testsuite/gas/mips/org-11.d: New test.
+       * testsuite/gas/mips/org-12.d: New test.
+       * testsuite/gas/mips/org-1.l: New stderr output.
+       * testsuite/gas/mips/org-4.l: New stderr output.
+       * testsuite/gas/mips/org-5.l: New stderr output.
+       * testsuite/gas/mips/org-6.l: New stderr output.
+       * testsuite/gas/mips/org-10.l: New stderr output.
+       * testsuite/gas/mips/org-1.s: New test source.
+       * testsuite/gas/mips/org-2.s: New test source.
+       * testsuite/gas/mips/org-3.s: New test source.
+       * testsuite/gas/mips/org-4.s: New test source.
+       * testsuite/gas/mips/org-5.s: New test source.
+       * testsuite/gas/mips/org-6.s: New test source.
+       * testsuite/gas/mips/org-7.s: New test source.
+       * testsuite/gas/mips/org-8.s: New test source.
+       * testsuite/gas/mips/org-9.s: New test source.
+       * testsuite/gas/mips/org-10.s: New test source.
+       * testsuite/gas/mips/org-11.s: New test source.
+       * testsuite/gas/mips/org-12.s: New test source.
+       * testsuite/gas/mips/mips.exp: Run the new tests.
+
+2017-03-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+       * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
+
+2017-02-28  Jan Beulich  <jbeulich@suse.com>
+
+       * testsuite/gas/i386/x86-64-avx.s: Add suffixed variants of
+       VPCMPESTR{I,M}.
+       * testsuite/gas/i386/x86-64-sse2avx.s: Likewise.
+       * testsuite/gas/i386/x86-64-sse4_2.s: Add suffixed variants
+       of PCMPESTR{I,M}.
+       * testsuite/gas/i386/ilp32/x86-64-avx-intel.d: Likewise.
+       * testsuite/gas/i386/ilp32/x86-64-avx.d: Likewise.
+       * testsuite/gas/i386/ilp32/x86-64-sse2avx.d: Likewise.
+       * testsuite/gas/i386/ilp32/x86-64-sse4_2-intel.d: Likewise.
+       * testsuite/gas/i386/ilp32/x86-64-sse4_2.d: Likewise.
+       * testsuite/gas/i386/x86-64-avx-intel.d: Likewise.
+       * testsuite/gas/i386/x86-64-avx.d: Likewise.
+       * testsuite/gas/i386/x86-64-sse2avx.d: Likewise.
+       * testsuite/gas/i386/x86-64-sse4_2-intel.d: Likewise.
+       * testsuite/gas/i386/x86-64-sse4_2.d: Likewise.
+
+2017-02-28  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-nios2.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
+
+2017-02-28  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-ppc.c (md_assemble): Use BFD_RELOC_PPC_16DX_HA for addpcis.
+       (md_apply_fix): Remove fx_subsy check.  Move code converting to
+       pcrel reloc earlier and handle BFD_RELOC_PPC_16DX_HA.  Remove code
+       emiiting errors on seeing fx_pcrel set on unexpected relocs, as
+       that is done now by the generic code via..
+       * config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): ..this. Define.
+       (TC_VALIDATE_FIX_SUB): Define.
+
+2017-02-28  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/gas/mips/jalr4.s: Add `jalr $0, $25' instructions.
+       * testsuite/gas/mips/jalr4.d: Adjust accordingly.  Remove MIPSr6
+       encoding patterns.
+       * testsuite/gas/mips/jalr4-n64.d: Likewise.
+       * testsuite/gas/mips/mipsr6@jalr4.d: New test.
+       * testsuite/gas/mips/mipsr6@jalr4-n32.d: New test.
+       * testsuite/gas/mips/mipsr6@jalr4-n64.d: New test.
+
+2017-02-25  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/elf/strtab.s: Don't put directives on first
+       column or continuation with labels not in first column.
+
+2017-02-24  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * doc/c-aarch64.texi: Document that sve implies fp16, simd and compnum.
+       * config/tc-aarch64.c (parse_vector_type_for_operand): Allow .q
+       to be used with SVE registers.
+       (parse_operands): Handle new SVE operands.
+       (aarch64_features): Make "sve" require F16 rather than FP.  Also
+       require COMPNUM.
+       * testsuite/gas/aarch64/sve.s: Add tests for new instructions.
+       Include compnum tests.
+       * testsuite/gas/aarch64/sve.d: Update accordingly.
+       * testsuite/gas/aarch64/sve-invalid.s: Add tests for new instructions.
+       * testsuite/gas/aarch64/sve-invalid.l: Update accordingly.  Also
+       update expected output for new FMOV and MOV alternatives.
+
+2017-02-24  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * doc/c-aarch64.texi: Add a "compnum" entry.
+       * config/tc-aarch64.c (aarch64_features): Likewise,
+       * testsuite/gas/aarch64/advsimd-compnum.s: New test.
+       * testsuite/gas/aarch64/advsimd-compnum.d: Likewise.
+
 2017-02-24  Jan Beulich  <jbeulich@suse.com>
 
        * testsuite/gas/i386/opcode.s: Add alternative TEST forms.
This page took 0.03751 seconds and 4 git commands to generate.