X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2FChangeLog;h=7c9f2f20b589ce858ead58d96dd8795163343b41;hb=8f065d3b4a814b5a69b3f39700fea7034c79c492;hp=5887b36fc1a4fb23c528a096a818f4aab1b2a215;hpb=b5b62006522c6d8d42028754bb1be165f00fe210;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/ChangeLog b/gas/ChangeLog index 5887b36fc1..7c9f2f20b5 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,498 @@ +2018-02-27 H.J. Lu + + * 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 + + 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 + + * po/ru.po: Updated Russian translation. + +2018-02-26 Maciej W. Rozycki + + * doc/as.texinfo (Pseudo Ops): Clean up `.dc' and `.ds' + descriptions. + +2018-02-26 Nick Clifton + + * doc/as.texinfo (Dc): Fix typo. + +2018-02-26 Alan Modra + + * testsuite/gas/mips/reginfo-2.l: Update. + +2018-02-23 Alan Modra + + * testsuite/gas/mips/reginfo-2.l: Update. + +2018-02-23 Nick Clifton + + * doc/as.texinfo (Pseudo Ops): Add nodes for .dc, .dcb and .ds. + +2018-02-23 Kuan-Lin Chen + + * 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 + + * 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 + + PR 22014 + * config/tc-mips.c (mips_lookup_insn): Use memmove to strip the + instruction size suffix. + +2018-02-20 Maciej W. Rozycki + + * 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 + + * 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 + + * doc/c-arm.texi (.arch_extension): Mention extensions it accepts are + also the same as -march. + +2018-02-17 H.J. Lu + + * 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 + + * 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 + + * config/tc-xtensa.c (xg_find_best_trampoline): Skip trampoline + frag that contains source address. + +2018-02-13 Nick Clifton + + 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 + + PR gas/22791 + * config/tc-i386.c (need_plt32_p): New function. + (output_jump): Generate BFD_RELOC_X86_64_PLT32 if possible. + (md_estimate_size_before_relax): Likewise. + * testsuite/gas/i386/reloc64.d: Updated. + * testsuite/gas/i386/x86-64-jump.d: Likewise. + * testsuite/gas/i386/x86-64-mpx-branch-1.d: Likewise. + * testsuite/gas/i386/x86-64-mpx-branch-2.d: Likewise. + * testsuite/gas/i386/x86-64-relax-2.d: Likewise. + * testsuite/gas/i386/x86-64-relax-3.d: Likewise. + * testsuite/gas/i386/ilp32/reloc64.d: Likewise. + * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise. + +2018-02-13 Maciej W. Rozycki + + * testsuite/gas/mips/loongson-3a-2.d: Rename test. + +2018-02-13 Nick Clifton + + PR 22823 + * config/obj-elf.c (elf_pseudo_table): Remove now redundant + casts. + (obj_elf_vtable_inherit): Rename to obj_elf_get_vtable_inherit. + (obj_elf_vtable_inherit): New stub function that calls + obj_elf_get_vtable_inherit. + (obj_elf_vtable_entry): Rename to obj_elf_get_vtable_entry. + (obj_elf_vtable_entry): New stub function that calls + obj_elf_get_vtable_entry. + * config/obj-elf.h (obj_elf_vtable_inherit): Update prototype. + (obj_elf_vtable_entry) Likewise. + (obj_elf_get_vtable_inherit) Likewise. + (obj_elf_get_vtable_entry) Likewise. + * config/tc-arm.c (md_pseudo_table): Remove now redundant cast. + * config/tc-i386c (md_pseudo_table): Likewise. + * config/tc-hppa.c (pa_vtable_entry): Call + obj_elf_get_vtable_entry. + (pa_vtable_inherit): Call obj_elf_get_vtable_inherit. + * config/tc-mips.c (s_mips_file): Replace call to dwarf2_get_file + with call to dwarf2_get_filename. + * dwarf2dbg.c (dwarf2_directive_file): Rename to + dwarf2_directive_filename. + (dwarf2_directive_file): New stub function that calls + dwarf2_directive_filename. + * dwarf2dbg.h: Prototype dwarf2_directive_filename. + +2018-02-12 Maciej W. Rozycki + + * testsuite/gas/mips/reginfo-2-n32.d: Add `--no-pad-sections' to + `as' flags. + +2018-02-12 Henry Wong + + * testsuite/gas/mips/r6.d: Update for "sigrie" encoding fix. + * testsuite/gas/mips/r6-n32.d: Likewise. + * testsuite/gas/mips/r6-n64.d: Likewise. + +2018-02-12 Nick Clifton + + * po/ru.po: Updated Russian translation. + +2018-02-08 Alan Modra + + PR 22819 + * config/tc-ppc.c (md_assemble): Rewrite insn alignment checking. + (ppc_frag_check): Likewise. + * testsuite/gas/ppc/misalign.d, + * testsuite/gas/ppc/misalign.l, + * testsuite/gas/ppc/misalign.s: New test. + * testsuite/gas/ppc/misalign2.d, + * testsuite/gas/ppc/misalign2.s: New test. + * testsuite/gas/ppc/ppc.exp: Run them. + +2018-02-05 Maciej W. Rozycki + + * config/tc-riscv.c (riscv_handle_implicit_zero_offset): Rename + `expr' parameter to `ep'. + +2018-02-05 Maciej W. Rozycki + + * testsuite/gas/mips/reginfo-2.d: New test. + * testsuite/gas/mips/reginfo-2-n32.d: New test. + * testsuite/gas/mips/reginfo-2.l: New test stderr output. + * testsuite/gas/mips/reginfo-2.s: New test source. + * testsuite/gas/mips/mips.exp: Run the new tests. + +2018-02-05 Nick Clifton + + * po/ru.po: Updated Russian translation. + +2018-01-31 Alan Modra + + PR 22714 + * app.c (last_char): New static var. + (struct app_save): Add last_char field. + (app_push, app_pop): Handle it. + (do_scrub_chars): Use last_char in test for "\@". Set last_char. + +2018-01-29 Eric Botcazou + + PR gas/22738 + * config/tc-sparc.h (sparc_mach): Declare. + (TARGET_MACH): Define to above. + * config/tc-sparc.c (sparc_mach): New function. + (sparc_md_end): Minor tweak. + +2018-01-29 Nick Clifton + + * po/ru.po: Updated Russian translation. + +2018-01-26 Maciej W. Rozycki + + * configure.tgt: Use generic emulation for `mips-*-windiss', + overriding the blanket choice made for `*-*-windiss'. + +2018-01-26 Maciej W. Rozycki + + * configure.tgt: Use `mips-*-sysv4*' rather than + `mips-*-sysv4*MP*'. + +2018-01-24 Renlin Li + + * config/tc-aarch64.c (reloc_table): add entries for + BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC, + BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC, + BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC, + BFD_RELOC_AARCH64_MOVW_PREL_G3. + (process_movw_reloc_info): Supports newly added MOVW_PREL relocations. + (md_apply_fix): Likewise + * testsuite/gas/aarch64/prel_g0.s: New. + * testsuite/gas/aarch64/prel_g0.d: New. + * testsuite/gas/aarch64/prel_g0_nc.s: New. + * testsuite/gas/aarch64/prel_g0_nc.d: New. + * testsuite/gas/aarch64/prel_g1.s: New. + * testsuite/gas/aarch64/prel_g1.d: New. + * testsuite/gas/aarch64/prel_g1_nc.s: New. + * testsuite/gas/aarch64/prel_g1_nc.d: New. + * testsuite/gas/aarch64/prel_g2.s: New. + * testsuite/gas/aarch64/prel_g2.d: New. + * testsuite/gas/aarch64/prel_g2_nc.s: New. + * testsuite/gas/aarch64/prel_g2_nc.d: New. + * testsuite/gas/aarch64/prel_g3.s: New. + * testsuite/gas/aarch64/prel_g3.d: New. + +2018-01-23 Maciej W. Rozycki + + * configure.ac: Also set `mips_default_abi' to N32_ABI for + `mips64*-ps2-elf*'. + * configure: Regenerate. + +2018-01-23 Maciej W. Rozycki + + * config/tc-mips.c (options): Remove OPTION_COMPAT_ARCH_BASE + enum value. + +2018-01-23 Igor Tsimbalist + + * config/tc-i386.c (cpu_arch): Add .pconfig. + * doc/c-i386.texi: Document .pconfig. + * testsuite/gas/i386/i386.exp: Add PCONFIG tests. + * testsuite/gas/i386/pconfig-intel.d: New test. + * testsuite/gas/i386/pconfig.d: Likewise. + * testsuite/gas/i386/pconfig.s: Likewise. + * testsuite/gas/i386/x86-64-pconfig-intel.d: Likewise. + * testsuite/gas/i386/x86-64-pconfig.d: Likewise. + * testsuite/gas/i386/x86-64-pconfig.s: Likewise. + +2018-01-23 Igor Tsimbalist + + * config/tc-i386.c (cpu_arch): Add .wbnoinvd. + * doc/c-i386.texi: Document .wbnoinvd. + * testsuite/gas/i386/i386.exp: Add WBNOINVD tests. + * testsuite/gas/i386/wbnoinvd-intel.d: New test. + * testsuite/gas/i386/wbnoinvd.d: Likewise. + * testsuite/gas/i386/wbnoinvd.s: Likewise. + * testsuite/gas/i386/x86-64-wbnoinvd-intel.d: Likewise. + * testsuite/gas/i386/x86-64-wbnoinvd.d: Likewise. + * testsuite/gas/i386/x86-64-wbnoinvd.s: Likewise. + +2018-01-23 Maciej W. Rozycki + + * config/tc-mips.c (md_show_usage): Correctly indicate the + configuration-specific default ABI. + +2018-01-23 Maciej W. Rozycki + + * config/tc-mips.c (md_show_usage): Report `-mmips16e2' and + `-mno-mips16e2' options. + +2018-01-22 Maciej W. Rozycki + + * doc/c-mips.texi (MIPS ASE Instruction Generation Overrides): + Correct syntax of the `.set nomips16e2' directive description. + +2018-01-22 Oleg Endo + + PR 22737 + * config/tc-rx.c (rx_start_line): Handle escaped double-quote character. + * testsuite/gas/rx/pr22737.s: New test. + * testsuite/gas/rx/pr22737.d: Likewise. + * testsuite/gas/rx/rx.exp: Run the new test. + +2018-01-19 Thomas Preud'homme + + * config/tc-arm.c (ToC macro): Remove spurious comment. + (ToU macro): Likewise. + +2018-01-17 Jim Wilson + + * config/tc-riscv.c (validate_riscv_insn) <'z'>: New. + (riscv_ip) <'z'>: New. + +2018-01-17 Igor Tsimbalist + + * config/tc-i386.c (cpu_arch): Delete .cet. Add .ibt, .shstk. + (cpu_noarch): Add noibt, noshstk. + (parse_insn): Change cpucet to cpuibt. + * doc/c-i386.texi: Delete .cet. Add .ibt, .shstk. + * testsuite/gas/i386/cet-ibt-inval.l: New test. + * testsuite/gas/i386/cet-ibt-inval.s: Likewise. + * testsuite/gas/i386/cet-shstk-inval.l: Likewise. + * testsuite/gas/i386/cet-shstk-inval.s: Likewise. + * testsuite/gas/i386/x86-64-cet-ibt-inval.l: Likewise. + * testsuite/gas/i386/x86-64-cet-ibt-inval.s: Likewise. + * testsuite/gas/i386/x86-64-cet-shstk-inval.l: Likewise. + * testsuite/gas/i386/x86-64-cet-shstk-inval.s: Likewise. + +2018-01-16 Nick Clifton + + * po/fr.po: Updated French translation. + +2018-01-15 Jim Wilson + + * testsuite/gas/riscv/c-zero-imm.s: Test addi that compresses to c.nop. + * testsuite/gas/riscv/c-zero-imm.d: Likewise. + +2018-01-15 Thomas Preud'homme + + * config/tc-arm.c (ToC): Define macro. + (ToU): Likewise. + (insns): Make use of above macros for new instructions introduced in + Armv8-M. + +2018-01-15 Thomas Preud'homme + + * config/tc-arm.c (insns): Make blxns, bxns, tt, ttt, tta, ttat, vlldm + and vlstm conditionally executable and reindent parameters. + * testsuite/gas/arm/archv8m-cmse-main.s: Add conditional version of + aforementionned instructions. + +2018-01-15 Thomas Preud'homme + + * config/tc-arm.c (it_fsm_post_encode): Do not warn if targeting M + profile architecture or if in autodetection mode. Clarify that + deprecation is for performance reason and concerns Armv8-A and Armv8-R. + * testsuite/gas/arm/armv8-ar-bad.l: Adapt to new IT deprecation warning + message. + * testsuite/gas/arm/armv8-ar-it-bad.l: Likewise. + * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.l: Likewise. + * testsuite/gas/arm/udf.l: Likewise. + * testsuite/gas/arm/udf.d: Assemble for Armv8-A explicitely. + +2018-01-15 Nick Clifton + + * po/uk.po: Updated Ukranian translation. + +2018-01-13 Nick Clifton + + * po/gas.pot: Regenerated. + +2018-01-13 Nick Clifton + + * configure: Regenerate. + +2018-01-13 Nick Clifton + + 2.30 branch created. + * NEWS: Add marker for 2.30. + 2018-01-12 Gunther Nikl * gas/config/aout_gnu.h (USE_EXTENDED_RELOC): Explicitly