+2020-12-15 Alan Modra <amodra@gmail.com>
+
+ PR 27071
+ * config/obj-elf.c (elf_obj_symbol_clone_hook): New function.
+ (elf_format_ops): Set symbol_clone_hook.
+ * config/obj-elf.h (elf_obj_symbol_clone_hook): Declare.
+ (obj_symbol_clone_hook): Define.
+ * listing.c (buffer_line): Avoid integer overflow on paper_width
+ set to zero.
+
+2020-12-14 Alan Modra <amodra@gmail.com>
+
+ * testsuite/gas/elf/section27.s: Reorder .text, .data and .bss
+ so that output section order does not depend on those sections
+ being already created. Use ".section .text" rather than ".text".
+
+2020-12-13 Borislav Petkov <bp@suse.de>
+
+ * testsuite/gas/i386/align-branch-9.s: Don't use labels that are
+ automatically local for ELF targets.
+ * testsuite/gas/i386/branch.s: Likewise.
+ * testsuite/gas/i386/x86-64-align-branch-9.s: Likewise.
+ * testsuite/gas/i386/x86-64-branch.s: Likewise.
+ * testsuite/gas/i386/align-branch-9.d: Adjust to match more targets.
+ * testsuite/gas/i386/branch.d: Likewise.
+ * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
+ * testsuite/gas/i386/x86-64-align-branch-9.d: Likewise.
+ * testsuite/gas/i386/x86-64-branch.d: Likewise.
+
+2020-12-11 Sergey Belyashov <sergey.belyashov@gmail.com>
+ Nick Clifton <nickc@redhat.com>
+
+ PR 27047
+ * config/tc-z80.c (s_bss): New function.
+ (md_pseudo_table): Add bss entry.
+
+2020-12-10 Nelson Chu <nelson.chu@sifive.com>
+
+ * config/tc-riscv.c (riscv_ext): New function. Use md_assemblef
+ to expand the zext and sext pseudos, to give them a chance to be
+ expanded into c-ext instructions.
+ (macro): Handle M_ZEXTH, M_ZEXTW, M_SEXTB and M_SEXTH.
+ * testsuite/gas/riscv/ext.s: New testcase.
+ * testsuite/gas/riscv/ext-32.d: Likewise.
+ * testsuite/gas/riscv/ext-64.d: Likewise.
+
+2020-12-10 Nelson Chu <nelson.chu@sifive.com>
+
+ * config/tc-riscv.c (riscv_multi_subset_supports): Handle INSN_CLASS_ZICSR
+ and INSN_CLASS_ZIFENCEI.
+ * testsuite/gas/riscv/march-imply-i.s: New testcase.
+ * testsuite/gas/riscv/march-imply-i2p0-01.d: New testcase. The version
+ of i is less than 2.1, and zi* are supported in the chosen spec, so
+ enable the fence.i and csr instructions, also output the implicit zi* to
+ the arch string.
+ * testsuite/gas/riscv/march-imply-i2p0-02.d: Likewise, but the zi* are
+ not supported in the spec 2.2. Enable the related instructions since
+ i's version is less than 2.1, but do not output them.
+ * testsuite/gas/riscv/march-imply-i2p1-01.d: New testcase. The version
+ of i is 2.1, so don't add it's implicit zi*, and disable the related
+ instructions.
+ * testsuite/gas/riscv/march-imply-i2p1-01.l: Likewise.
+ * testsuite/gas/riscv/march-imply-i2p1-02.d: Likewise, and set the zi*
+ explicitly, so enable the related instructions.
+ * testsuite/gas/riscv/march-imply-i2p0.d: Removed.
+ * testsuite/gas/riscv/march-imply-i2p1.d: Removed.
+
+2020-12-08 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/obj-elf.c (SEC_ASSEMBLER_SHF_MASK): New.
+ (get_section_by_match): Also check if SEC_ASSEMBLER_SHF_MASK of
+ sh_flags matches. Rename info to sh_info.
+ (obj_elf_change_section): Don't check previous SHF_GNU_RETAIN.
+ Rename info to sh_info.
+ (obj_elf_section): Rename info to sh_info. Set sh_flags for
+ SHF_GNU_RETAIN.
+ * config/obj-elf.h (elf_section_match): Rename info to sh_info.
+ Add sh_flags.
+ * testsuite/gas/elf/elf.exp: Run section27.
+ * testsuite/gas/elf/section24b.d: Updated.
+ * testsuite/gas/elf/section27.d: New file.
+ * testsuite/gas/elf/section27.s: Likewise.
+
+2020-12-04 Andreas Krebbel <krebbel@linux.ibm.com>
+
+ * testsuite/gas/s390/zarch-z10.s: Add tests for risbgz.
+ * testsuite/gas/s390/zarch-z10.d: Add regexp for risbgz.
+ * testsuite/gas/s390/zarch-zEC12.s: Add tests for risbgnz.
+ * testsuite/gas/s390/zarch-zEC12.d: Add regexp for risbgnz.
+
+2020-12-03 Andreas Krebbel <krebbel@linux.ibm.com>
+
+ * testsuite/gas/s390/esa-g5.s: Test new extended mnemonics.
+ * testsuite/gas/s390/esa-g5.d: Likewise.
+ * testsuite/gas/s390/esa-z900.s: Likewise.
+ * testsuite/gas/s390/esa-z900.d: Likewise.
+ * testsuite/gas/s390/zarch-z900.s: Likewise.
+ * testsuite/gas/s390/zarch-z900.d: Likewise.
+
+2020-12-01 Nelson Chu <nelson.chu@sifive.com>
+
+ * testsuite/gas/riscv/attribute-10.d: Updated.
+ * testsuite/gas/riscv/march-imply-g.d: New testcase for g.
+ * testsuite/gas/riscv/march-imply-unsupported.d: The zicsr and zifencei
+ are not supported in the ISA spec v2.2, so don't add and output them.
+
+2020-12-01 Nelson Chu <nelson.chu@sifive.com>
+
+ * config/tc-riscv.c (riscv_subset_supports): Updated.
+ * testsuite/gas/riscv/march-imply-i2p0.d: New testcase. Need to
+ add the implicit zicsr and zifencei when i's version less than 2.1.
+ * testsuite/gas/riscv/march-imply-i2p1.d: New testcase.
+ * testsuite/gas/riscv/march-imply-d.d: Likewise.
+ * testsuite/gas/riscv/march-imply-f.d: Likewise.
+ * testsuite/gas/riscv/march-imply-q.d: Likewise.
+ * testsuite/gas/riscv/march-fail-rv32iq.l: Updated.
+ * testsuite/gas/riscv/march-fail-rv32id.d: Removed.
+ * testsuite/gas/riscv/march-fail-rv32id.l: Likewise.
+ * testsuite/gas/riscv/march-fail-rv64iq.d: Likewise.
+ * testsuite/gas/riscv/march-fail-rv64iq.l: Likewise.
+
+2020-12-01 Nelson Chu <nelson.chu@sifive.com>
+
+ * config/tc-riscv.c (riscv_get_default_ext_version):
+ Change the version type from unsigned to int.
+ (riscv_set_arch): Use as_bad rather than as_fatal to
+ report more errors.
+ * testsuite/gas/riscv/attribute-02.d: Updated since x must be
+ set with versions.
+ * testsuite/gas/riscv/attribute-03.d: Likewise.
+ * testsuite/gas/riscv/march-ok-two-nse.d: Likewise.
+ * testsuite/gas/riscv/attribute-09.d: zicsr wasn't supported
+ in the spec 2.2, so choose the newer spec.
+ * testsuite/gas/riscv/march-fail-base-01.l: Updated since as_bad.
+ * testsuite/gas/riscv/march-fail-base-02.l: Likewise.
+ * testsuite/gas/riscv/march-fail-order-std.l: Likewise.
+ * testsuite/gas/riscv/march-fail-order-x.l: Likewise.
+ * testsuite/gas/riscv/march-fail-order-z.l: Likewise.
+ * testsuite/gas/riscv/march-fail-porder.l: Likewise.
+ * testsuite/gas/riscv/march-fail-rv32ef.l: Likewise.
+ * testsuite/gas/riscv/march-fail-rv32id.l: Likewise.
+ * testsuite/gas/riscv/march-fail-rv32iq.l: Likewise.
+ * testsuite/gas/riscv/march-fail-rv64iq.l: Likewise.
+ * testsuite/gas/riscv/march-fail-single-char.l: Likewise.
+ * testsuite/gas/riscv/march-fail-unknown-std.l: Likewise.
+ * testsuite/gas/riscv/march-fail-unknown.l: Likewise.
+ * testsuite/gas/riscv/march-fail-uppercase.l: Likewise.
+ * testsuite/gas/riscv/march-fail-version.l: Likewise.
+ * testsuite/gas/riscv/march-fail-isa-spec.d: Likewise.
+ * testsuite/gas/riscv/march-fail-isa-spec.l: Likewise.
+
+2020-12-01 Nelson Chu <nelson.chu@sifive.com>
+
+ * testsuite/gas/riscv/march-fail-order-z.d: New testcase, check
+ orders of prefixed z extensions.
+ * testsuite/gas/riscv/march-fail-order-z.l: Likewise.
+ * testsuite/gas/riscv/march-fail-single-char-h.d: New testcase.
+ * testsuite/gas/riscv/march-fail-single-char.l: Updated.
+ * testsuite/gas/riscv/march-fail-unknown-h.d: New testcase.
+ * testsuite/gas/riscv/march-fail-unknown.l: Updated.
+
+2020-12-01 Nelson Chu <nelson.chu@sifive.com>
+
+ * testsuite/gas/riscv/march-fail-uppercase-base.d: Updated.
+ * testsuite/gas/riscv/march-fail-uppercase.l: Updated.
+ * testsuite/gas/riscv/march-fail-uppercase-x.d: New testcase.
+
+2020-12-01 Nelson Chu <nelson.chu@sifive.com>
+
+ (These are new testcases that cover more cases)
+ * testsuite/gas/riscv/march-fail-base-01.d: The first extension must
+ be e, i or g.
+ * testsuite/gas/riscv/march-fail-base-01.l: Likewise.
+ * testsuite/gas/riscv/march-fail-base-02.d: rv64e is an invalid base ISA.
+ * testsuite/gas/riscv/march-fail-base-02.l: Likewise.
+ * testsuite/gas/riscv/march-fail-order-std.d: Check orders of standard
+ extensions.
+ * testsuite/gas/riscv/march-fail-order-std.l: Likewise.
+ * testsuite/gas/riscv/march-fail-order-x.d: Check orders of prefixed
+ x extensions.
+ * testsuite/gas/riscv/march-fail-order-x.l: Likewise.
+ * testsuite/gas/riscv/march-fail-porder-x-std.d: Check orders when
+ standard and prefixed extensions are set at the same time.
+ * testsuite/gas/riscv/march-fail-porder-x-z.d: Likewise.
+ * testsuite/gas/riscv/march-fail-porder-z-std.d: Likewise.
+ * testsuite/gas/riscv/march-fail-porder.l: Likewise.
+ * testsuite/gas/riscv/march-fail-single-char-s.d: Only standard
+ extensions can use single char.
+ * testsuite/gas/riscv/march-fail-single-char-x.d: Likewise.
+ * testsuite/gas/riscv/march-fail-single-char-z.d: Likewise.
+ * testsuite/gas/riscv/march-fail-single-char.l: Likewise.
+ * testsuite/gas/riscv/march-fail-unknown-s.d: All extensions
+ should be known, except the non-standard x extensions.
+ * testsuite/gas/riscv/march-fail-unknown-std.d: Likewise.
+ * testsuite/gas/riscv/march-fail-unknown-std.l: Likewise.
+ * testsuite/gas/riscv/march-fail-unknown-z.d: Likewise.
+ * testsuite/gas/riscv/march-fail-unknown.l: Likewise.
+ * testsuite/gas/riscv/march-fail-uppercase-base.d: Do not
+ allow any uppercase in the arch string.
+ * testsuite/gas/riscv/march-fail-uppercase-std.d: Likewise.
+ * testsuite/gas/riscv/march-fail-uppercase-z.d: Likewise.
+ * testsuite/gas/riscv/march-fail-uppercase.l: Likewise.
+ * testsuite/gas/riscv/march-fail-version-x.d: Failed to set versions.
+ * testsuite/gas/riscv/march-fail-version-z.d: Likewise.
+ * testsuite/gas/riscv/march-fail-version.l: Likewise.
+ * testsuite/gas/riscv/march-fail-rv32ef.l: Updated.
+ * testsuite/gas/riscv/march-fail-rv32id.d: Need f-ext.
+ * testsuite/gas/riscv/march-fail-rv32iq.d: Should be rv64.
+ * testsuite/gas/riscv/march-fail-rv32iq.l: Likewise.
+ * testsuite/gas/riscv/march-fail-rv64iq.d: Need d-ext and f-ext.
+ * testsuite/gas/riscv/march-fail-rv64iq.l: Likewise.
+
+ (The following testcases are removed and covered by new testcases)
+ * testsuite/gas/riscv/march-fail-rv32i.d: march-fail-uppercase-base.
+ * testsuite/gas/riscv/march-fail-rv32i.l: Likewise.
+ * testsuite/gas/riscv/march-fail-rv32iam.d: march-fail-order-std.
+ * testsuite/gas/riscv/march-fail-rv32iam.l: Likewise.
+ * testsuite/gas/riscv/march-fail-rv32ic.d: march-fail-uppercase-std.
+ * testsuite/gas/riscv/march-fail-rv32ic.l: Likewise.
+ * testsuite/gas/riscv/march-fail-rv32icx2p.d: march-fail-version-x.
+ * testsuite/gas/riscv/march-fail-rv32icx2p.l: Likewise.
+ * testsuite/gas/riscv/march-fail-rv32imc.d: march-fail-order-std.
+ * testsuite/gas/riscv/march-fail-rv32imc.l: Likewise.
+ * testsuite/gas/riscv/march-fail-rv64I.d: march-fail-uppercase-std.
+ * testsuite/gas/riscv/march-fail-rv64I.l: Likewise.
+ * testsuite/gas/riscv/march-fail-rv64e.d: march-fail-base-02.
+ * testsuite/gas/riscv/march-fail-rv64e.l: Likewise.
+ * testsuite/gas/riscv/march-fail-s-with-version.d: march-fail-unknown-s.
+ * testsuite/gas/riscv/march-fail-s-with-version.l: Likewise.
+ * testsuite/gas/riscv/march-fail-s.d: march-fail-unknown-s.
+ * testsuite/gas/riscv/march-fail-s.l: Likewise.
+ * testsuite/gas/riscv/march-fail-sx.d: march-fail-unknown-s.
+ * testsuite/gas/riscv/march-fail-sx.l: Likewise.
+
+2002-11-29 Borislav Petkov <bp@suse.de>
+
+ * testsuite/gas/i386/branch.d: Add new branch insns test.
+ * testsuite/gas/i386/branch.s: Likewise.
+ * testsuite/gas/i386/i386.exp: Insert the new branch test.
+ * testsuite/gas/i386/x86-64-branch.d: Test for branch hints insns.
+ * testsuite/gas/i386/x86-64-branch.s: Likewise.
+ * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
+
2020-11-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
* testsuite/gas/elf/elf.exp: Run new tests.