gas: Rename .nop directive to .nops
[deliverable/binutils-gdb.git] / gas / ChangeLog
index e66e8cee68cc44ec4c3b6a256d721fa43fbb7f9f..7c9f2f20b589ce858ead58d96dd8795163343b41 100644 (file)
@@ -1,3 +1,218 @@
+2018-02-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * NEWS: Rename .nop to .nops.
+       * doc/as.texinfo: Likewise.
+       * read.c (potable): Add "nops".  Remove "nop".
+       (s_nop): Renamed to ...
+       (s_nops): This.
+       * read.h (s_nop): Renamed to ...
+       (s_nops): This.
+       * write.c (cvt_frag_to_fill): Rename .nop to .nops.
+       (md_generate_nops): Likewise.
+       (relax_segment): Likewise.
+       * testsuite/gas/i386/nop-1.d: Updated.
+       * testsuite/gas/i386/nop-1.s: Likewise.
+       * testsuite/gas/i386/nop-2.d: Likewise.
+       * testsuite/gas/i386/nop-2.s: Likewise.
+       * testsuite/gas/i386/nop-3.d: Likewise.
+       * testsuite/gas/i386/nop-3.s: Likewise.
+       * testsuite/gas/i386/nop-4.d: Likewise.
+       * testsuite/gas/i386/nop-4.s: Likewise.
+       * testsuite/gas/i386/nop-5.d: Likewise.
+       * testsuite/gas/i386/nop-5.s: Likewise.
+       * testsuite/gas/i386/nop-6.d: Likewise.
+       * testsuite/gas/i386/nop-6.s: Likewise.
+       * testsuite/gas/i386/nop-bad-1.l: Likewise.
+       * testsuite/gas/i386/nop-bad-1.s: Likewise.
+       * testsuite/gas/i386/x86-64-nop-1.d: Likewise.
+       * testsuite/gas/i386/x86-64-nop-2.d: Likewise.
+       * testsuite/gas/i386/x86-64-nop-3.d: Likewise.
+       * testsuite/gas/i386/x86-64-nop-4.d: Likewise.
+       * testsuite/gas/i386/x86-64-nop-5.d: Likewise.
+       * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
+
+2018-02-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/22871
+       * NEWS: Mention -O[2|s].
+       * config/tc-i386.c (_i386_insn): Add no_optimize.
+       (optimize): New.
+       (optimize_for_space): Likewise.
+       (fits_in_imm7): New function.
+       (fits_in_imm31): Likewise.
+       (optimize_encoding): Likewise.
+       (md_assemble): Call optimize_encoding to optimize encoding.
+       (parse_insn): Handle {nooptimize}.
+       (md_shortopts): Append "O::".
+       (md_parse_option): Handle -On.
+       * doc/c-i386.texi: Document -O0, -O, -O1, -O2 and -Os as well
+       as {nooptimize}.
+       * testsuite/gas/cfi/cfi-x86_64.d: Pass -O0 to assembler.
+       * testsuite/gas/i386/ilp32/cfi/cfi-x86_64.d: Likewise.
+       * testsuite/gas/i386/i386.exp: Run optimize-1, optimize-2,
+       optimize-3, x86-64-optimize-1, x86-64-optimize-2,
+       x86-64-optimize-3 and x86-64-optimize-4.
+       * testsuite/gas/i386/optimize-1.d: New file.
+       * testsuite/gas/i386/optimize-1.s: Likewise.
+       * testsuite/gas/i386/optimize-2.d: Likewise.
+       * testsuite/gas/i386/optimize-2.s: Likewise.
+       * testsuite/gas/i386/optimize-3.d: Likewise.
+       * testsuite/gas/i386/optimize-3.s: Likewise.
+       * testsuite/gas/i386/x86-64-optimize-1.s: Likewise.
+       * testsuite/gas/i386/x86-64-optimize-1.d: Likewise.
+       * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
+       * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
+       * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
+       * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
+       * testsuite/gas/i386/x86-64-optimize-4.d: Likewise.
+       * testsuite/gas/i386/x86-64-optimize-4.s: Likewise.
+
+2018-02-27  Nick Clifton  <nickc@redhat.com>
+
+       * po/ru.po: Updated Russian translation.
+
+2018-02-26  Maciej W. Rozycki  <macro@mips.com>
+
+       * doc/as.texinfo (Pseudo Ops): Clean up `.dc' and `.ds'
+       descriptions.
+
+2018-02-26  Nick Clifton  <nickc@redhat.com>
+
+       * doc/as.texinfo (Dc): Fix typo.
+
+2018-02-26  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/mips/reginfo-2.l: Update.
+
+2018-02-23  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/mips/reginfo-2.l: Update.
+
+2018-02-23  Nick Clifton  <nickc@redhat.com>
+
+       * doc/as.texinfo (Pseudo Ops): Add nodes for .dc, .dcb and .ds.
+
+2018-02-23  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
+
+       * config/tc-nds32.c (ict_model): New function. Hook new
+       directive .ict_model.
+       (nds32_insert_relax_entry): Tag the bits of entry relocation
+       for .ict_model.
+
+2018-02-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (_i386_insn): Add rex_encoding.
+       (md_assemble): When i.rex_encoding is true, generate a REX byte
+       if possible.
+       (parse_insn): Set i.rex_encoding for {rex}.
+       * doc/c-i386.texi: Document {rex}.
+       * testsuite/gas/i386/x86-64-pseudos.s: Add {rex} tests.
+       * testsuite/gas/i386/x86-64-pseudos.d: Updated.
+
+2018-02-22  A. Wilcox  <awilfox@adelielinux.org>
+
+       PR 22014
+       * config/tc-mips.c (mips_lookup_insn): Use memmove to strip the
+       instruction size suffix.
+
+2018-02-20  Maciej W. Rozycki  <macro@mips.com>
+
+       * testsuite/gas/mips/mips16-branch-reloc-4.d: New test.
+       * testsuite/gas/mips/mips16-branch-reloc-5.d: New test.
+       * testsuite/gas/mips/mips16-branch-reloc-4.s: New test source.
+       * testsuite/gas/mips/mips16-branch-reloc-5.s: New test source.
+       * testsuite/gas/mips/mips.exp: Run the new tests.
+
+2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * config/tc-xtensa.c (struct litpool_frag): Add new field
+       literal_count.
+       (MAX_AUTO_POOL_LITERALS, MAX_EXPLICIT_POOL_LITERALS)
+       (MAX_POOL_LITERALS): New macro definitions.
+       (auto_litpool_limit): Initialize to 0.
+       (md_parse_option): Set auto_litpool_limit in the presence of
+       --auto-litpools option.
+       (xtensa_maybe_create_literal_pool_frag): Zero-initialize
+       literal_count field.
+       (xg_find_litpool): New function. Make sure that found literal
+       pool size is within the limit.
+       (xtensa_move_literals): Extract literal pool search code into
+       the new function.
+       * testsuite/gas/xtensa/all.exp: Add auto-litpools-2 test.
+       * testsuite/gas/xtensa/auto-litpools-2.d: New file.
+       * testsuite/gas/xtensa/auto-litpools-2.s: New file.
+       * testsuite/gas/xtensa/auto-litpools.d: Fix up changed
+       addresses.
+       * testsuite/gas/xtensa/auto-litpools.s: Change literal value so
+       that objdump doesn't get out of sync.
+
+2018-02-20  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * doc/c-arm.texi (.arch_extension): Mention extensions it accepts are
+       also the same as -march.
+
+2018-02-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * NEWS: Mention .nop directive.
+       * as.h (_relax_state): Add rs_space_nop and rs_fill_nop.
+       * read.c (potable): Add .nop.
+       (s_nop): New function.
+       * read.h (s_nop): New prototype.
+       * write.c (cvt_frag_to_fill): Handle rs_space_nop and
+       rs_fill_nop.
+       (md_generate_nops): New function.
+       (relax_segment): Likewise.
+       (write_contents): Use md_generate_nops for rs_fill_nop.
+       * config/tc-i386.c (alt64_11): New.
+       (alt64_patt): Likewise.
+       (md_convert_frag): Handle rs_space_nop.
+       (i386_output_nops): New function.
+       (i386_generate_nops): Likewise.
+       (i386_align_code): Call i386_output_nops.
+       * config/tc-i386.h (i386_generate_nops): New.
+       (md_generate_nops): Likewise.
+       * doc/as.texinfo: Document .nop directive.
+       * testsuite/gas/i386/i386.exp: Run .nop directive tests.
+       * testsuite/gas/i386/nop-1.d: New file.
+       * testsuite/gas/i386/nop-1.s: Likewise.
+       * testsuite/gas/i386/nop-2.d: Likewise.
+       * testsuite/gas/i386/nop-2.s: Likewise.
+       * testsuite/gas/i386/nop-3.d: Likewise.
+       * testsuite/gas/i386/nop-3.s: Likewise.
+       * testsuite/gas/i386/nop-4.d: Likewise.
+       * testsuite/gas/i386/nop-4.s: Likewise.
+       * testsuite/gas/i386/nop-5.d: Likewise.
+       * testsuite/gas/i386/nop-5.s: Likewise.
+       * testsuite/gas/i386/nop-6.d: Likewise.
+       * testsuite/gas/i386/nop-6.s: Likewise.
+       * testsuite/gas/i386/nop-bad-1.l: Likewise.
+       * testsuite/gas/i386/nop-bad-1.s: Likewise.
+       * testsuite/gas/i386/x86-64-nop-1.d: Likewise.
+       * testsuite/gas/i386/x86-64-nop-2.d: Likewise.
+       * testsuite/gas/i386/x86-64-nop-3.d: Likewise.
+       * testsuite/gas/i386/x86-64-nop-4.d: Likewise.
+       * testsuite/gas/i386/x86-64-nop-5.d: Likewise.
+       * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
+
+2018-02-15  Tamar Christina  <tamar.christina@arm.com>
+
+       * config/tc-arm.c (cpu_arch_ver): Renumber ARM_ARCH_V8_4A.
+       * testsuite/gas/arm/attr-march-armv8_4-a.d: New.
+
+2018-02-13  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * config/tc-xtensa.c (xg_find_best_trampoline): Skip trampoline
+       frag that contains source address.
+
+2018-02-13  Nick Clifton  <nickc@redhat.com>
+
+       PR 22773
+       * config/tc-arm.c (md_apply_fix): Test Rn field of Thumb ORR
+       instruction before assuming that it is a MOV instruction.
+       * testsuite/gas/arm/pr22773.s: New test.
+       * testsuite/gas/arm/pr22773.d: New test driver.
+       * testsuite/gas/arm/pr22773.l: New expected output.
+
 2018-02-13  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR gas/22791
This page took 0.024837 seconds and 4 git commands to generate.