Ensure deterministic result order in gdb.ada/info_auto_lang.exp
[external/binutils.git] / gas / ChangeLog
index cf0fc7c..b21680a 100644 (file)
@@ -1,3 +1,241 @@
+2018-12-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/23997
+       * config/tc-i386.c (x86_cons): Check for invalid PLT expression.
+       (md_apply_fix): Subtract the PLT relocation size only for jump
+       instructions.
+       * testsuite/gas/i386/reloc32.s: Add test for invalid PLT
+       expression.
+       * testsuite/gas/i386/reloc64.s: Likewise.
+       * testsuite/gas/i386/ilp32/reloc64.s: Likewise.
+       * testsuite/gas/i386/reloc32.l: Updated.
+       * testsuite/gas/i386/reloc64.l: Likewise.
+       * testsuite/gas/i386/ilp32/reloc64.l: Likewise.
+
+2018-12-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/23900
+       * config/tc-i386.c (x86_cleanup): Don't set
+       GNU_PROPERTY_X86_UINT32_VALID.
+       * testsuite/gas/i386/property-1.s: Change
+       GNU_PROPERTY_X86_ISA_1_USED bits to 0.
+
+2018-12-13  Jeff Law  <law@redhat.com>
+
+       * dw2gencfi.c (output_cie): Add missing semicolon in last
+       change.
+
+2018-12-13  Sam Tebbs  <sam.tebbs@arm.com>
+
+       * config/tc-aarch64.h (enum pointer_auth_key,
+       tc_fde_entry_extras, tc_cie_entry_extras, tc_fde_entry_init_extra,
+       tc_output_cie_extra, tc_cie_fde_equivalent_extra,
+       tc_cie_entry_init_extra): Define.
+       * dw2gencfi.c (struct cie_entry): Add tc_cie_entry_extras invocation.
+       (alloc_fde_entry, select_cie_for_fde): Add tc_fde_entry_init_extra
+       invocation.
+       (output_cie): Add tc_output_cie_extra invocation.
+       (select_cie_for_fde): Add tc_cie_fde_equivalent_extra invocation.
+       * dw2gencfi.h (enum pointer_auth_key): Move to config/tc-aarch64.h.
+       (struct fde_entry): Add tc_fde_entry_extras invocation
+
+2018-12-12  Andre Vieira  <andre.simoesdiasvieira@arm.com>
+
+       * testsuite/gas/arm/blx-local-thumb.d: Skip arm-nto and
+       arm-netbsdelf.
+
+2018-12-10  Jim Wilson  <jimw@sifive.com>
+
+       PR gas/23954
+       * config/tc-riscv.c (my_getSmallExpression): Expand comment for
+       register support.  Set expr_end if parse a register.
+       (riscv_ip) <'u'>: Break if imm_expr is not a symbol or constant.
+       * testsuite/gas/riscv/auipc-parsing.d: New.
+       * testsuite/gas/riscv/auipc-parsing.l: New.
+       * testsuite/gas/riscv/auipc-parsing.s: New.
+
+2018-12-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/23968
+       * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Put back
+       BFD_RELOC_X86_64_GOTPCREL.
+       * testsuite/gas/i386/i386.exp: Run x86-64-gotpcrel-2.
+       * testsuite/gas/i386/x86-64-gotpcrel-2.d: New file.
+       * testsuite/gas/i386/x86-64-gotpcrel-2.s: Likewise.
+       * testsuite/gas/i386/ilp32/x86-64-gotpcrel-2.d: Likewise.
+
+2018-12-07  Jim Wilson  <jimw@sifive.com>
+
+       PR gas/23956
+       * config/tc-riscv.c (validate_riscv_insn) <'1'>: New case.
+       (percent_op_null): New.
+       (riscv_ip) <'j'>: Set imm_reloc before p.
+       <'1'>: New case.
+       <'0'>: Use percent_op_null and don't set imm_reloc.
+       <alu_op>: Handle *args == '1'.
+       * testsuite/gas/riscv/tprel-add.d: New.
+       * testsuite/gas/riscv/tprel-add.l: New.
+       * testsuite/gas/riscv/tprel-add.s: New.
+
+2018-12-06  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-ppc.c (md_assemble): Adjust relocs for VLE before
+       TLS tweaks.  Handle e_li.  Warn on unexpected operand field
+       for lo16/hi16/ha16 relocs.
+
+2018-12-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * config/tc-riscv.h (FAKE_LABEL_NAME): Define as
+       RISCV_FAKE_LABEL_NAME.
+       (FAKE_LABEL_CHAR): Define as RISCV_FAKE_LABEL_CHAR.
+
+2018-12-05  Sam Tebbs  <sam.tebbs@arm.com>
+
+       * dw2gencfi.c (struct cie_entry): Add tc_cie_entry_extras invocation.
+       (alloc_fde_entry): Add tc_fde_entry_init_extra invocation.
+       (output_cie): Add tc_output_cie_extra invocation.
+       (select_cie_for_fde): Add tc_cie_fde_equivalent_extra and
+       tc_cie_entry_init_extra invocation.
+       (frch_cfi_data, cfa_save_data): Move to dwgencfi.h.
+       * config/tc-aarch64.c (s_aarch64_cfi_b_key_frame): Declare.
+       (md_pseudo_table): Add "cfi_b_key_frame".
+       * config/tc-aarch64.h (tc_fde_entry_extras, tc_cie_entry_extras,
+       tc_fde_entry_init_extra, tc_output_cie_extra,
+       tc_cie_fde_equivalent_extra, tc_cie_entry_init_extra): Define.
+       * dw2gencfi.h (struct fde_entry): Add tc_fde_entry_extras invocation.
+       (pointer_auth_key): Define.
+       (frch_cfi_data, cfa_save_data): Move from dwgencfi.c.
+       * doc/c-aarch64.texi (.cfi_b_key_frame): Add documentation.
+       * testsuite/gas/aarch64/(pac_ab_key.d, pac_ab_key.s): New file.
+
+2018-12-04  wu.heng  <wu.heng@zte.com.cn>
+
+       PR 23939
+       * dw2gencfi.c (dot_cfi_label): Check frch_cfi_data is non-NULL
+       before use.
+
+2018-12-03  Kito Cheng  <kito@andestech.com>
+
+       * config/tc-riscv.c: Include elfxx-riscv.h.
+       (struct riscv_subset): Removed.
+       (riscv_subsets): Change type to riscv_subset_list_t.
+       (riscv_subset_supports): Removed argument: xlen_required and move
+       logic into libbfd.
+       (riscv_multi_subset_supports): Removed argument: xlen_required.
+       (riscv_clear_subsets): Removed.
+       (riscv_add_subset): Ditto.
+       (riscv_set_arch): Extract parsing logic into libbfd.
+       (riscv_ip): Update argument for riscv_multi_subset_supports and
+       riscv_subset_supports. Update riscv_subsets due to struct definition
+       changed.
+       (riscv_after_parse_args): Update riscv_subsets due to struct
+       definition changed, update and argument for riscv_subset_supports.
+       * testsuite/gas/riscv/empty.s: New.
+       * testsuite/gas/riscv/march-fail-rv32ef.d: Likewise.
+       * testsuite/gas/riscv/march-fail-rv32ef.l: Likewise.
+       * testsuite/gas/riscv/march-fail-rv32i.d: Likewise.
+       * testsuite/gas/riscv/march-fail-rv32i.l: Likewise.
+       * testsuite/gas/riscv/march-fail-rv32iam.d: Likewise.
+       * testsuite/gas/riscv/march-fail-rv32iam.l: Likewise.
+       * testsuite/gas/riscv/march-fail-rv32ic.d: Likewise.
+       * testsuite/gas/riscv/march-fail-rv32ic.l: Likewise.
+       * testsuite/gas/riscv/march-fail-rv32icx2p.d: Likewise.
+       * testsuite/gas/riscv/march-fail-rv32icx2p.l: Likewise.
+       * testsuite/gas/riscv/march-fail-rv32imc.d: Likewise.
+       * testsuite/gas/riscv/march-fail-rv32imc.l: Likewise.
+       * testsuite/gas/riscv/march-fail-rv64I.d: Likewise.
+       * testsuite/gas/riscv/march-fail-rv64I.l: Likewise.
+       * testsuite/gas/riscv/march-fail-rv64e.d: Likewise.
+       * testsuite/gas/riscv/march-fail-rv64e.l: Likewise.
+       * testsuite/gas/riscv/march-ok-g2.d: Likewise.
+       * testsuite/gas/riscv/march-ok-g2p0.d: Likewise.
+       * testsuite/gas/riscv/march-ok-i2p0.d: Likewise.
+       * testsuite/gas/riscv/march-ok-nse-with-version.: Likewise.d
+       * testsuite/gas/riscv/march-ok-s-with-version.d: Likewise.
+       * testsuite/gas/riscv/march-ok-s.d: Likewise.
+       * testsuite/gas/riscv/march-ok-sx.d: Likewise.
+       * testsuite/gas/riscv/march-ok-two-nse.d: Likewise.
+       * testsuite/gas/riscv/march-ok-g2_p1.d: Likewise.
+       * testsuite/gas/riscv/march-ok-i2p0m2_a2f2.d: Likewise.
+
+018-12-03  Egeyar Bagcioglu  <egeyar.bagcioglu@oracle.com>
+
+       PR 23193
+       PR 19721
+       * testsuite/gas/aarch64/pr19721.s: Add new test cases.
+       * testsuite/gas/aarch64/pr19721.d: Correct existing test
+       cases and add new ones.
+
+2018-12-03  Nick Clifton  <nickc@redhat.com>
+
+       PR 23941
+       * dwarf2dbg.c (DWARF2_LINE_VERSION): Change to 3.
+       * testsuite/gas/elf/dwarf2-3.d: Update expected output.
+       * testsuite/gas/elf/dwarf2-5.d: Likewise.
+       * testsuite/gas/i386/debug1.d: Likewise.
+       * testsuite/gas/i386/dw2-compress-1.d: Likewise.
+       * testsuite/gas/i386/dw2-compress-3a.d: Likewise.
+       * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
+       * testsuite/gas/i386/dw2-compressed-1.d: Likewise.
+       * testsuite/gas/i386/dw2-compressed-3a.d: Likewise.
+       * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
+       * testsuite/gas/ia64/pr13167.d: Likewise.
+       * testsuite/gas/mips/loc-swap-2.d: Likewise.
+       * testsuite/gas/mips/loc-swap.d: Likewise.
+       * testsuite/gas/mips/micromips@loc-swap-2.d: Likewise.
+       * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
+       * testsuite/gas/mips/mips16@loc-swap-2.d: Likewise.
+       * testsuite/gas/mips/mips16@loc-swap.d: Likewise.
+       * testsuite/gas/mips/mips16e@loc-swap.d: Likewise.
+
+2018-12-01  Alan Modra  <amodra@gmail.com>
+
+       PR 23938
+       * read.h (get_stab_string_offset): Update prototype.
+       * stabs.c (get_stab_string_offset): Add free_stabstr_secname
+       parameter.  Free stabstr_secname if unused as section name.
+       Don't xstrdup name when used.
+       (s_stab_generic): Remove forward declaration.  Add
+       stab_secname_obstack_end param.  Reference notes obstack via
+       macros.  Delete cached_secname.  Adjust get_stab_string_offset
+       call.  Free stab_secname if unused as section name.
+       (s_stab): Adjust s_stab_generic call.
+       (s_xstab): Likewise.  Delete saved_secname and saved_strsecname.
+       * config/obj-elf.c (obj_elf_init_stab_section): Adjust
+       get_stab_string_offset call.
+       * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
+       * config/obj-som.c (obj_som_init_stab_section): Likewise.
+       * testsuite/gas/all/pr23938.s: New test.
+       * testsuite/gas/all/gas.exp: Run it.
+
+2018-11-30  Fredrik Noring  <noring@nocrew.org>
+
+       * config/tc-mips.c (mips_fix_r5900, mips_fix_r5900_explicit):
+       New variables.
+       (options): Add OPTION_FIX_R5900 and OPTION_NO_FIX_R5900
+       enumeration constants.
+       (md_longopts): Add "mfix-r5900" and "mno-fix-r5900" options.
+       (can_swap_branch_p, md_parse_option, mips_after_parse_args):
+       Handle the new options.
+       (md_show_usage): Document the `-mfix-r5900' option.
+       * doc/as.texi: Likewise.
+       * doc/c-mips.texi: Likewise.
+       * testsuite/gas/mips/mips.exp: Run R5900 dump tests.
+       * testsuite/gas/mips/r5900-fix.d: Test `-mfix-r5900' option.
+       * testsuite/gas/mips/r5900-fix.s: Likewise.
+       * testsuite/gas/mips/r5900-no-fix.d: Test `-mno-fix-r5900'.
+       * testsuite/gas/mips/r5900-no-fix.s: Likewise.
+
+2018-11-27  Jim Wilson  <jimw@sifive.com>
+
+       * config/tc-riscv.c (validate_riscv_insn) <'F'>: Add support for CF6
+       and CF2 operands.
+       (riscv_ip) <'F'>: Likewise.
+       * doc/c-riscv.texi (RISC-V-Formats): Add func6 abbreviation.  Use rs2
+       instead of rs1 in CR description.  Add CA docs.
+       * gas/testsuite/riscv/insn.s: Add use of .insn ca.
+       * gas/testsuite/riscv/insn.d: Update to match.
+
 2018-11-27  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
 
        * testsuite/gas/arm/cpu-arm1020.d: New testcase.