Fix a use before initialization bug in the pdp11.c source file.
[deliverable/binutils-gdb.git] / gas / ChangeLog
index b105aa0ab6015cd73ce1e486100f63bafa60a229..14d10799f0b9aa199bdc7a061eff523a7a05b6a7 100644 (file)
@@ -1,3 +1,82 @@
+2020-06-05  Nelson Chu  <nelson.chu@sifive.com>
+
+       * config/tc-riscv.c (explicit_csr): New static boolean.
+       Used to indicate CSR are explictly used.
+       (riscv_ip): Set explicit_csr to TRUE if any CSR is used.
+       (riscv_write_out_attrs): If we already have set elf priv
+       attributes, then generate them.  Otherwise, don't generate
+       them when no CSR are used.
+       * testsuite/gas/riscv/attribute-01.d: Remove the priv attributes.
+       * testsuite/gas/riscv/attribute-02.d: Likewise.
+       * testsuite/gas/riscv/attribute-03.d: Likewise.
+       * testsuite/gas/riscv/attribute-04.d: Likewise.
+       * testsuite/gas/riscv/attribute-05.d: Likewise.
+       * testsuite/gas/riscv/attribute-06.d: Likewise.
+       * testsuite/gas/riscv/attribute-07.d: Likewise.
+       * testsuite/gas/riscv/attribute-08.d: Likewise.
+       * testsuite/gas/riscv/attribute-09.d: Likewise.
+       * testsuite/gas/riscv/attribute-10.d: Likewise.
+       * testsuite/gas/riscv/attribute-unknown.d: Likewise.
+       * testsuite/gas/riscv/attribute-11.s: New testcase.
+       * testsuite/gas/riscv/attribute-11.d: New testcase.  The CSR is
+       used, so we should output the ELF priv attributes.
+       * testsuite/gas/riscv/attribute-12.d: New testcase.  The CSR is
+       used, so output the priv attributes according to the -mpriv-spec.
+       * testsuite/gas/riscv/attribute-13.d: New testcase.  The CSR isn't
+       used, so ignore the -mpriv-spec setting.
+
+2020-06-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-ip2k. (ip2k_apply_fix): Pass endianness to
+       cgen_get_insn_value.
+       * config/tc-xstormy16.c (xstormy16_md_apply_fix): Pass
+       endianness to cgen_get_insn_value and cgen_put_insn_value.
+
+2020-06-04  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * config/tc-bpf.c (md_apply_fix): Simplify and avoid using
+       cgen_put_insn_value.
+
+2020-06-04  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * config/tc-bpf.c (md_begin): Pass CGEN_CPU_OPEN_INSN_ENDIAN to
+       bpf_cgen_cpu_open.
+       (md_assemble): Remove no longer needed hack.
+
+2020-06-04  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * cgen.c (gas_cgen_finish_insn): Pass the endianness to
+       cgen_put_insn_value.
+       (gas_cgen_md_apply_fix): Likewise.
+       (gas_cgen_md_apply_fix): Likewise.
+       * config/tc-bpf.c (md_apply_fix): Pass data endianness to
+       cgen_put_insn_value.
+       * config/tc-mep.c (mep_check_ivc2_scheduling): Pass endianness to
+       cgen_put_insn_value.
+
+2020-06-04  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/config/default.exp: Remove global directive outside
+       proc body.
+       * testsuite/gas/mep/complex-relocs.exp: Likewise.
+       * testsuite/gas/microblaze/relax_size.exp: Likewise.
+       * testsuite/gas/microblaze/reloc_sym.exp: Likewise.
+       * testsuite/gas/mt/relocs.exp: Likewise.
+       * testsuite/gas/rx/rx.exp: Likewise.
+
+2020-06-03  Stephen Casner  <casner@acm.org>
+
+       * doc/c-riscv.texi (RISC-V-Options): Fix non-ASCII apostrophe.
+
+2020-06-02  Frédéric Pétrot  <frederic.petrot@univ-grenoble-alpes.fr>
+           Jim Wilson  <jimw@sifive.com>
+
+       PR 26051
+       * doc/c-riscv.texi (RISC-V-Formats): Add missing I format using
+       simm12(rs1).  Correct S format to use simm12(rs1).  Drop SB and B
+       formats using simm12(rs1).  Correct SB and B to use rs1 and rs2.
+       Move B before SB.  Move J before UJ.
+
 2020-06-01  Alex Coplan  <alex.coplan@arm.com>
 
        * write.c (relax_segment): Fix handling of negative offset when
This page took 0.02502 seconds and 4 git commands to generate.