RISC-V: Support ELF attribute for gas and readelf.
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 604ff423264b27ee807c86fd0aa6e287bdba8e86..3228342d4b789318ae890768ee65c099ad8d2096 100644 (file)
@@ -1,3 +1,204 @@
+2019-01-16  Kito Cheng  <kito@andestech.com>
+           Nelson Chu  <nelson@andestech.com>
+
+       * config/tc-riscv.c (DEFAULT_RISCV_ATTR): Define to 0 if not defined.
+       (riscv_set_options): Add `arch_attr` field.
+       (riscv_opts): Set default value for arch_attr.
+       (riscv_write_out_arch_attr): New.
+       (riscv_set_public_attributes): Likewise.
+       (riscv_md_end): Likewise.
+       (riscv_convert_symbolic_attribute): Likewise.
+       (s_riscv_attribute): Likewise.
+       (explicit_arch_attr): Likewise.
+       (riscv_pseudo_table): Add .attribute to the table.
+       (options): Add OPTION_ARCH_ATTR and OPTION_NO_ARCH_ATTR
+       enumeration constants.
+       (md_longopts): Add `march-attr' and `mno-arch-attr' options.
+       (md_parse_option): Handle the new options.
+       (md_show_usage): Document the `march-attr' option.
+       * config/tc-riscv.h (md_end): Define as riscv_md_end
+       (riscv_md_end): Declare.
+       (CONVERT_SYMBOLIC_ATTRIBUTE): Define as
+       riscv_convert_symbolic_attribute.
+       (riscv_convert_symbolic_attribute): Declare.
+       (start_assemble): Declare.
+       * testsuite/gas/elf/elf.exp: Adjust test case for section2.e.
+       * testsuite/gas/elf/section2.e-riscv: New.
+       * testsuite/gas/riscv/attribute-01.d: New test
+       * 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-04.s: Likewise.
+       * testsuite/gas/riscv/attribute-05.d: Likewise.
+       * testsuite/gas/riscv/attribute-05.s: Likewise.
+       * testsuite/gas/riscv/attribute-06.d: Likewise.
+       * testsuite/gas/riscv/attribute-06.s: Likewise.
+       * testsuite/gas/riscv/attribute-07.d: Likewise.
+       * testsuite/gas/riscv/attribute-07.s: Likewise.
+       * testsuite/gas/riscv/attribute-08.d: Likewise.
+       * testsuite/gas/riscv/attribute-08.s: Likewise.
+       * testsuite/gas/riscv/attribute-unknown.d: Likewise.
+       * testsuite/gas/riscv/attribute-unknown.s: Likewise.
+       * testsuite/gas/riscv/empty.l: Likewise.
+       * doc/c-riscv.texi (.attribute): Add documentation.
+       * configure.ac (--enable-default-riscv-attribute): New options.
+       * configure: Re-generate.
+       * config.in: Re-generate.
+
+2019-01-16  John Darrington <john@darrington.wattle.id.au>
+
+       * config/tc-s12z.c (lex_reg_name): Compare the length of the strings
+       before the contents.
+       * testsuite/gas/s12z/labels.d: New file.
+       * testsuite/gas/s12z/labels.s: New file.
+       * testsuite/gas/s12z/s12z.exp: Add them.
+       * config/tc-s12z.c (tfr): Change as_bad to as_warn.
+       Also fix message typo and semantics.
+       * config/tc-s12z.c (emit_opr): Emit BFD_RELOC_S12Z_OPR instead of
+       BFD_RELOC_24.
+       * testsuite/gas/s12z/opr-indirect-expr.d: Expect R_S12Z_OPR instead
+       of R_S12Z_EXT24.
+
+2019-01-14  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
+
+       * config/tc-arm.c (arm_ext_v6k_v6t2): Define.
+       (insns) [ARM_VARIANT]: Modified.
+       (insns) [THUMB_VARIANT]: To implement few ARMv6K instructions
+       in ARMv6T2 as well.
+       * testsuite/gas/arm/archv6t2-1.d: New test.
+       * testsuite/gas/arm/archv6t2-1.s: Likewise.
+       * testsuite/gas/arm/archv6t2-2.d: Likewise.
+
+2019-01-11  Alan Modra  <amodra@gmail.com>
+
+       PR 23963
+       * testsuite/gas/m68hc11/lbranch-dwarf2.d: Adjust for PR23963 change.
+       * testsuite/gas/m68hc11/opers12-dwarf2.d: Likewise.
+
+2019-01-10  Nick Clifton  <nickc@redhat.com>
+
+       PR 23963
+       * testsuite/gas/mips/mips16-branch-absolute-1.d: Adjust for the
+       fact that control characters are now displayed as escape
+       sequences.
+       * testsuite/gas/mips/mips16-e.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-0.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-1.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-delay-0.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-delay-1.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-n32-0.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-n32-1.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: Likewise.
+       * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: Likewise.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-0.d: Likewise.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-1.d: Likewise.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d: Likewise.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d: Likewise.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-0.d: Likewise.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-1.d: Likewise.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-0.d:
+       Likewise.
+       * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-1.d:
+       Likewise.
+       * testsuite/gas/mips/mipsel16-e.d: Likewise.
+       * testsuite/gas/mips/mipsr6@msa.d: Likewise.
+       * testsuite/gas/mips/mipsr6@relax-swap3.d: Likewise.
+       * testsuite/gas/mips/r6-64-n32.d: Likewise.
+       * testsuite/gas/mips/r6-64-n64.d: Likewise.
+       * testsuite/gas/mips/r6-n32.d: Likewise.
+       * testsuite/gas/mips/r6-n64.d: Likewise.
+       * testsuite/gas/mips/r6.d: Likewise.
+       * testsuite/gas/mips/tmips16-e.d: Likewise.
+       * testsuite/gas/mips/tmipsel16-e.d: Likewise.
+       * testsuite/gas/mn10300/relax.d: Likewise.
+
+2019-01-09  John Darrington <john@darrington.wattle.id.au>
+
+        * testsuite/gas/s12z/jsr.s: New case.
+       * testsuite/gas/s12z/jsr.d: New case.
+
+2019-01-09  Andrew Paprocki  <andrew@ishiboo.com>
+
+       * configure: Regenerate.
+
+2019-01-08  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       * config/tc-aarch64.c (aarch64_cpus): Add ares.
+       * doc/c-aarch64.texi (-mcpu): Document ares value.
+
+2019-01-08  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/rx/rx.exp: Create generated test source in
+       current directory.
+       * testsuite/gas/rx/Xtod.d, * testsuite/gas/rx/abs.d,
+       * testsuite/gas/rx/adc.d, * testsuite/gas/rx/add.d,
+       * testsuite/gas/rx/and.d, * testsuite/gas/rx/bclr.d,
+       * testsuite/gas/rx/bcnd.d, * testsuite/gas/rx/bfmov.d,
+       * testsuite/gas/rx/bmcnd.d, * testsuite/gas/rx/bnot.d,
+       * testsuite/gas/rx/bra.d, * testsuite/gas/rx/brk.d,
+       * testsuite/gas/rx/bset.d, * testsuite/gas/rx/bsr.d,
+       * testsuite/gas/rx/btst.d, * testsuite/gas/rx/clrpsw.d,
+       * testsuite/gas/rx/cmp.d, * testsuite/gas/rx/dabs.d,
+       * testsuite/gas/rx/dadd.d, * testsuite/gas/rx/dbt.d,
+       * testsuite/gas/rx/dcmp.d, * testsuite/gas/rx/ddiv.d,
+       * testsuite/gas/rx/div.d, * testsuite/gas/rx/divu.d,
+       * testsuite/gas/rx/dmov.d, * testsuite/gas/rx/dmul.d,
+       * testsuite/gas/rx/dneg.d, * testsuite/gas/rx/dpopm.d,
+       * testsuite/gas/rx/dpushm.d, * testsuite/gas/rx/dround.d,
+       * testsuite/gas/rx/dsqrt.d, * testsuite/gas/rx/dsub.d,
+       * testsuite/gas/rx/dtoX.d, * testsuite/gas/rx/emaca.d,
+       * testsuite/gas/rx/emsba.d, * testsuite/gas/rx/emul.d,
+       * testsuite/gas/rx/emula.d, * testsuite/gas/rx/emulu.d,
+       * testsuite/gas/rx/fadd.d, * testsuite/gas/rx/fcmp.d,
+       * testsuite/gas/rx/fdiv.d, * testsuite/gas/rx/fmul.d,
+       * testsuite/gas/rx/fsqrt.d, * testsuite/gas/rx/fsub.d,
+       * testsuite/gas/rx/ftoi.d, * testsuite/gas/rx/ftou.d,
+       * testsuite/gas/rx/gprel.d, * testsuite/gas/rx/int.d,
+       * testsuite/gas/rx/itof.d, * testsuite/gas/rx/jmp.d,
+       * testsuite/gas/rx/jsr.d, * testsuite/gas/rx/machi.d,
+       * testsuite/gas/rx/maclh.d, * testsuite/gas/rx/maclo.d,
+       * testsuite/gas/rx/max.d, * testsuite/gas/rx/min.d,
+       * testsuite/gas/rx/mov.d, * testsuite/gas/rx/movco.d,
+       * testsuite/gas/rx/movli.d, * testsuite/gas/rx/movu.d,
+       * testsuite/gas/rx/msbhi.d, * testsuite/gas/rx/msblh.d,
+       * testsuite/gas/rx/msblo.d, * testsuite/gas/rx/mul.d,
+       * testsuite/gas/rx/mulhi.d, * testsuite/gas/rx/mullh.d,
+       * testsuite/gas/rx/mullo.d, * testsuite/gas/rx/mvfacgu.d,
+       * testsuite/gas/rx/mvfachi.d, * testsuite/gas/rx/mvfaclo.d,
+       * testsuite/gas/rx/mvfacmi.d, * testsuite/gas/rx/mvfc.d,
+       * testsuite/gas/rx/mvfcp.d, * testsuite/gas/rx/mvfdc.d,
+       * testsuite/gas/rx/mvfdr.d, * testsuite/gas/rx/mvtacgu.d,
+       * testsuite/gas/rx/mvtachi.d, * testsuite/gas/rx/mvtaclo.d,
+       * testsuite/gas/rx/mvtc.d, * testsuite/gas/rx/mvtcp.d,
+       * testsuite/gas/rx/mvtdc.d, * testsuite/gas/rx/neg.d,
+       * testsuite/gas/rx/nop.d, * testsuite/gas/rx/not.d,
+       * testsuite/gas/rx/opecp.d, * testsuite/gas/rx/or.d,
+       * testsuite/gas/rx/pop.d, * testsuite/gas/rx/popc.d,
+       * testsuite/gas/rx/popm.d, * testsuite/gas/rx/push.d,
+       * testsuite/gas/rx/pushc.d, * testsuite/gas/rx/pushm.d,
+       * testsuite/gas/rx/r-bcc.d, * testsuite/gas/rx/r-bra.d,
+       * testsuite/gas/rx/racl.d, * testsuite/gas/rx/racw.d,
+       * testsuite/gas/rx/rdacl.d, * testsuite/gas/rx/rdacw.d,
+       * testsuite/gas/rx/revl.d, * testsuite/gas/rx/revw.d,
+       * testsuite/gas/rx/rmpa.d, * testsuite/gas/rx/rolc.d,
+       * testsuite/gas/rx/rorc.d, * testsuite/gas/rx/rotl.d,
+       * testsuite/gas/rx/rotr.d, * testsuite/gas/rx/round.d,
+       * testsuite/gas/rx/rstr.d, * testsuite/gas/rx/rte.d,
+       * testsuite/gas/rx/rtfi.d, * testsuite/gas/rx/rts.d,
+       * testsuite/gas/rx/rtsd.d, * testsuite/gas/rx/sat.d,
+       * testsuite/gas/rx/satr.d, * testsuite/gas/rx/save.d,
+       * testsuite/gas/rx/sbb.d, * testsuite/gas/rx/sccnd.d,
+       * testsuite/gas/rx/scmpu.d, * testsuite/gas/rx/setpsw.d,
+       * testsuite/gas/rx/shar.d, * testsuite/gas/rx/shll.d,
+       * testsuite/gas/rx/shlr.d, * testsuite/gas/rx/smovb.d,
+       * testsuite/gas/rx/smovf.d, * testsuite/gas/rx/smovu.d,
+       * testsuite/gas/rx/sstr.d, * testsuite/gas/rx/stnz.d,
+       * testsuite/gas/rx/stz.d, * testsuite/gas/rx/sub.d,
+       * testsuite/gas/rx/suntil.d, * testsuite/gas/rx/swhile.d,
+       * testsuite/gas/rx/tst.d, * testsuite/gas/rx/utof.d,
+       * testsuite/gas/rx/wait.d, * testsuite/gas/rx/xchg.d,
+       * testsuite/gas/rx/xor.d: Add #source line.
+
 2019-01-07  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
 
        * config/tc-arm.c (arm_cpus): Add ares.
This page took 0.038437 seconds and 4 git commands to generate.