]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gas/ChangeLog
Enable support to Intel Keylocker instructions
[thirdparty/binutils-gdb.git] / gas / ChangeLog
index f6b9e45a5275ae90f022bd6db3ffeb4a6c9835e4..c04b90afd4f92f8b60ca4b779873dcfb944f2197 100644 (file)
@@ -1,3 +1,298 @@
+
+2020-09-23  Lili Cui  <lili.cui@intel.com>
+
+       * NEWS: Add Key Locker.
+       * config/tc-i386.c (cpu_arch): Add .kl and .wide_kl.
+       (cpu_noarch): Likewise.
+       * doc/c-i386.texi: Document kl and wide_kl.
+       * testsuite/gas/i386/i386.exp: Run keylocker tests.
+       * testsuite/gas/i386/keylocker-intel.d: New test.
+       * testsuite/gas/i386/keylocker.d: Likewise.
+       * testsuite/gas/i386/keylocker.s: Likewise.
+       * testsuite/gas/i386/x86-64-keylocker-intel.d: Likewise.
+       * testsuite/gas/i386/x86-64-keylocker.d: Likewise.
+       * testsuite/gas/i386/x86-64-keylocker.s: Likewise.
+       * testsuite/gas/i386/x86-64-property-10.d: Likewise.
+       * testsuite/gas/i386/property-10.d: Likewise.
+       * testsuite/gas/i386/property-10.s: Likewise.
+
+2020-09-21  Alan Modra  <amodra@gmail.com>
+
+       PR 26569
+       * config/tc-riscv.c (append_insn): Don't tie off frags at CALL
+       relocs.
+       (riscv_call): Tie them off after the jalr.
+       (md_apply_fix): Zero fx_size of RELAX fixup.
+
+2020-09-018  David Faust  <david.faust@oracle.com>
+
+       * testsuite/gas/bpf/alu-xbpf.d: New file.
+       * testsuite/gas/bpf/alu-xbpf.s: Likewise.
+       * testsuite/gas/bpf/alu32-xbpf.d: Likewise.
+       * testsuite/gas/bpf/alu32-xbpf.d: Likewise.
+       * testuiste/gas/bpf/bpf.exp: Run new tests.
+
+2020-09-18  Tucker  <tuckkern+sourceware@gmail.com>
+
+       PR 26556
+       * read.c (bss_alloc): Convert size parameter from octets to
+       bytes.
+
+2020-09-17  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/i386/i386.exp: Return early if not x86.
+
+2020-09-16  Alan Modra  <amodra@gmail.com>
+
+       * config/obj-elf.c (obj_elf_visibility, elf_frob_symbol): Adjust
+       elf_symbol_from invocation.
+       * config/tc-aarch64.c (s_variant_pcs): Likewise.
+       * config/tc-m68hc11.c (s_m68hc11_mark_symbol): Likewise.
+       * config/tc-ppc.c (ppc_elf_localentry, ppc_force_relocation),
+       (ppc_fix_adjustable): Likewise.
+       * config/tc-xgate.c (xgate_frob_symbol): Likewise.
+
+2020-09-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/gas/cfi/reloc-pe-i386.d: Updated.
+       * testsuite/gas/i386/x86-64-w64-pcrel.d: Likewise.
+
+2020-09-15  Alan Modra  <amodra@gmail.com>
+
+       PR 26610
+       * config/tc-arm.c (move_or_literal_pool): Correct extraction of
+       bignum.  Use unsigned "v"
+       (is_double_a_single): Make "v" and "mantissa" unsigned.  Formatting.
+       (double_to_single): Likewise.
+
+2020-09-15  Nick Clifton  <nickc@redhat.com>
+
+       * read.c (s_nop): Preserve the input_line_pointer around the call
+       to md_assemble.
+       * config/tc-s12z.c (md_assemble): Revert previous delta.
+
+2020-09-15  David Faust  <david.faust@oracle.com>
+
+       * config/tc-bpf.h (md_single_noop_insn): Use 'ja 0' for no-op.
+
+2020-09-14  Nick Clifton  <nickc@redhat.com>
+
+       * read.c (s_nop): New function.  Handles the .nop directive.
+       (potable): Add entry for "nop".
+       (s_nops): Code tidy.
+       * read.h (s_nop): Add prototype.
+       * config/tc-bpf.h (md_single_noop_insn): Define.
+       * config/tc-mmix.h (md_single_noop_insn): Define.
+       * config/tc-or1k.h (md_single_noop_insn): Define.
+       * config/tc-ia64.h (md_single_noop_insn): Define.
+       * config/tc-s12z.c (md_assemble): Preserve the input line pointer,
+       rather than corrupting it.
+       * write.c (relax_segment): Update error message regarding
+       non-absolute values passed to .fill and .nops.
+       * NEWS: Mention the new directive.
+       * doc/as.texi: Document the new directive.
+       * doc/internals.texi: Document the new internal macros used to
+       implement the new directive.
+       * testsuite/gas/all/nop.s: New test.
+       * testsuite/gas/all/nop.d: New test control file.
+       * testsuite/gas/all/gas.exp: Run the new test.
+       * testsuite/gas/elf/dwarf-5-nop-for-line-table.s: New test.
+       * testsuite/gas/elf/dwarf-5-nop-for-line-table.d: New test
+       control file.
+       * testsuite/gas/elf/elf.exp: Run the new test.
+       * testsuite/gas/i386/space1.l: Adjust expected output.
+
+2020-09-07  Mark Wielaard  <mark@klomp.org>
+
+       * as.texi (-g): Explicitly mention when .debug_info and .debug_line
+       are generated for the DWARF format.
+       (Loc): Add that it is an error to both use a .loc directive and
+       generate a .debug_line yourself.
+       * dwarf2dbg.c (dwarf2_any_loc_directive_seen): New static variable.
+       (dwarf2_directive_loc): Set dwarf2_any_loc_directive_seen to TRUE.
+       (dwarf2_finish): Check dwarf2_any_loc_directive_seen before emitting
+       an error. Only create .debug_line if it is empty (or doesn't exist).
+       * testsuite/gas/i386/i386.exp: Add dwarf2-line-{1,2,3,4} when testing
+       an elf target.
+       * testsuite/gas/i386/dwarf2-line-{1,2,3,4}.{s,d,l}: New test files.
+
+2020-09-10  Cooper Qu  <cooper.qu@linux.alibaba.com>
+
+       * config/tc-csky.c (md_begin): Enable extend lrw by default for
+       CK802, CK803 and CK860.
+
+2020-09-10  Cooper Qu  <cooper.qu@linux.alibaba.com>
+
+       * config/tc-csky.c (struct csky_cpu_info): Add new members
+       isa_flag, features and ver.
+       (struct csky_cpu_feature): New.
+       (struct csky_cpu_version): New.
+       (CSKY_FEATURE_MAX): Define.
+       (CSKY_CPU_REVERISON_MAX): Define.
+       (FEATURE_DSP_EXT, FEATURE_DSP, FEATURE_MMU, FEATURE_VDSP,
+        FEATURE_FLOAT, FEATURE_TRUST, FEATURE_JAVA, FEATURE_SHIELD):
+       Define, each standard one collection of instructions.
+       (CSKY_FEATURES_DEF_NULL, CSKY_FEATURES_DEF_e,
+        CSKY_FEATURES_DEF_t, CSKY_FEATURES_DEF_f, CSKY_FEATURES_DEF_v,
+        CSKY_FEATURES_DEF_ef, CSKY_FEATURES_DEF_jt,
+        CSKY_FEATURES_DEF_efht, CSKY_FEATURES_DEF_efv,
+        CSKY_FEATURES_DEF_eft, CSKY_FEATURES_DEF_d,
+        CSKY_FEATURES_DEF_df, CSKY_FEATURES_DEF_ft,
+        CSKY_FEATURES_DEF_tv, CSKY_FEATURES_DEF_fv,
+        CSKY_FEATURES_DEF_dft, CSKY_FEATURES_DEF_dfv,
+        CSKY_FEATURES_DEF_ftv, CSKY_FEATURES_DEF_eftv): Define,
+       the features combination used by cpu.
+       (CSKY_CPU_REVERISON_r0p0, CSKY_CPU_REVERISON_r1p0,
+        CSKY_CPU_REVERISON_r2p0, CSKY_CPU_REVERISON_r3p0,
+        CSKY_CPU_REVERISON_RESERVED, CSKY_CPU_REVERISON_R3):
+       Define, version information used by cpu.
+       (csky_cpus): Refine, and add CK804, CK805 and CK800.
+       (parse_cpu): Refine.
+       (parse_arch): Refine.
+       (md_show_usage): Refine.
+       (md_begin): Refine.
+
+2020-09-09  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-ppc.c (md_assemble): Emit prefix insn by parts when
+       valueT is smaller than 64 bits.
+
+2020-09-07  Cooper Qu  <cooper.qu@linux.alibaba.com>
+
+       * config/tc-csky.c (CSKYV2_ISA_DSP): CSKY_ISA_DSPE60.
+       (CSKY_ISA_860): Likewise.
+
+2020-09-07  Cooper Qu  <cooper.qu@linux.alibaba.com>
+
+       * config/tc-csky.c (float_abi): New.
+       (md_longopts): Add mfloat-abi.
+       (struct sky_option_value_table): New.
+       (csky_float_abis): New, the possible values for -mfloat-abi.
+       (parse_float_abi): New funtion.
+       (md_show_usage): Show help information for -mfloat-abi.
+       (set_csky_attribute): Store float-abi value.
+
+2020-09-07  Cooper Qu  <cooper.qu@linux.alibaba.com>
+
+       * config/tc-csky.c (float_work_fpuv3_fmovi): New function,
+       helper function to encode fpuv3 fmovi instructions.
+       (float_work_fpuv3_fstore): New function.
+       (struct literal): Add new member 'offset'.
+       (csky_cpus): New cpu CK860f.
+       (enter_literal): Return literal pool pointer instead of offset.
+       (parse_rt): Adjust the change of enter_literal.
+       (parse_rtf): Likewise.
+       (v1_work_lrw): Likewise.
+       (v1_work_jbsr): Likewise.
+       (v2_work_lrw): Likewise.
+       (v2_work_jbsr): Likewise.
+       (v2_work_jsri): Likewise.
+       (vdsp_work_vlrw): Likewise.
+       (is_freglist_legal): Add handler for FPUV3.
+       (parse_type_freg): Likewise.
+       (is_imm_within_range): Set e.X_add_number if it is a signed and
+       negtive number.
+       (get_operand_value): Add handler for OPRND_TYPE_IMM9b,
+       OPRND_TYPE_HFLOAT_FMOVI, OPRND_TYPE_SFLOAT_FMOVI
+       and OPRND_TYPE_DFLOAT_FMOVI.
+       (float_to_half): Convert float number to harf float.
+       * testsuite/gas/csky/case-fpuv3-ck860f/ : New folder containing
+       the test cases for FPUV3, they are divided by instruction
+       operands format and both have legal cases and illegal cases.
+
+2020-09-08  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
+       Kuan-Lin Chen  <kuanlinchentw@gmail.com>
+
+       * config/tc-msp430.c (msp430_insert_uleb128_fixes): New.
+       (msp430_md_end): Call msp430_insert_uleb128_fixes.
+
+2020-09-08  Alex Coplan  <alex.coplan@arm.com>
+
+       * config/tc-aarch64.c (aarch64_cpus): Add Cortex-R82.
+       * doc/c-aarch64.texi: Document -mcpu=cortex-r82.
+
+2020-09-08  Alex Coplan  <alex.coplan@arm.com>
+
+       * config/tc-aarch64.c (parse_sys_reg): Also pass sysreg name to
+       validation function.
+       (parse_sys_ins_reg): Likewise.
+       (print_operands): Pass CPU features to aarch64_print_operand().
+       * testsuite/gas/aarch64/v8-r-bad-sysregs.d: New test.
+       * testsuite/gas/aarch64/v8-r-bad-sysregs.l: Error output.
+       * testsuite/gas/aarch64/v8-r-bad-sysregs.s: Input.
+       * testsuite/gas/aarch64/v8-r-sysregs-need-arch.d: New test.
+       * testsuite/gas/aarch64/v8-r-sysregs-need-arch.l: Error output.
+       * testsuite/gas/aarch64/v8-r-sysregs.d: New test.
+       * testsuite/gas/aarch64/v8-r-sysregs.s: Input for previous two tests.
+
+2020-09-08  Alex Coplan  <alex.coplan@arm.com>
+
+       * testsuite/gas/aarch64/dfb.d: New test.
+       * testsuite/gas/aarch64/dfb.s: Input.
+
+2020-09-08  Alex Coplan  <alex.coplan@arm.com>
+
+       * config/tc-aarch64.c (aarch64_archs): Add armv8-r.
+       * doc/c-aarch64.texi: Document -march=armv8-r.
+
+2020-09-07  Mark Wielaard  <mark@klomp.org>
+
+       * dwarf2dbg.c (add_line_strp): New function.
+       (out_dir_and_file_list): Take line_seg and sizeof_offset as
+       arguments, Use DW_FORM_line_strp for dir and file. Call
+       add_line_strp and set symbol offset for DWARF2_LINE_VERSION 5.
+       (out_debug_line): Call out_dir_and_file_list with line_seg and
+       sizeof_offset.
+       * gas/testsuite/gas/elf/dwarf-5-file0.d: Expect indirect line
+       strings.
+
+2020-09-07  Mark Wielaard  <mark@klomp.org>
+
+       * dwarf2dbg.c (DWARF2_RNGLISTS_VERSION): New constant.
+       (out_debug_ranges): Add ranges_sym argument and set it.
+       (out_debug_rnglists): New function.
+       (out_debug_info): Change ranges_seg argument to ranges_sym
+       and use it to set DW_AT_ranges value.
+       (dwarf2_finish): Remove ranges_seg, add ranges_sym. For
+       DWARF2_VERSION 5 call out_debug_rnglists.
+
+2020-09-07  Mark Wielaard  <mark@klomp.org>
+
+       * dwarf2dbg.c (dwarf2_directive_filename): Initialize with_md5 to
+       FALSE.
+       * gas/testsuite/gas/elf/dwarf-5-file0.s: Add a random bignum.
+
+2020-09-01  Mark Wielaard  <mark@klomp.org>
+
+       * dwarf2dbg.c (out_debug_abbrev): Use DW_FORM_sec_offset for DWARF
+       version 4 or higher.
+
+2020-09-02  Alan Modra  <amodra@gmail.com>
+
+       * expr.c (add_to_result, subtract_from_result): Use unsigned
+       addition and subtraction.
+
+2020-09-02  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-z80.c (is_overflow): Avoid too large shift.
+
+2020-09-02  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-sparc.c (in_signed_range): Use an unsigned type for
+       sign mask.
+
+2020-09-02  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-nios2.c (md_apply_fix): Avoid too large shift.
+
+2020-09-02  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-mips.c (load_register): Avoid too large shift.
+
+2020-09-02  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-d30v.c (parallel_ok): Use 1UL for left shift expression.
+
 2020-09-02  Alan Modra  <amodra@gmail.com>
 
        * config/rx-parse.y (rx_intop): Avoid too large shifts.