RISC-V: Add description for -march-attr/-mno-arch-attr options in gas doc.
authorNelson Chu <nelson.chu@sifive.com>
Thu, 6 Feb 2020 03:14:21 +0000 (19:14 -0800)
committerJim Wilson <jimw@sifive.com>
Thu, 20 Feb 2020 01:18:25 +0000 (17:18 -0800)
gas/
* doc/c-riscv.texi: Add the doc entries for -march-attr/
-mno-arch-attr command line options.

gas/ChangeLog
gas/doc/c-riscv.texi

index 92869a3e0036967e85dec610d88e53dcf9d4729e..fe177cf8e2dc1d1b454db4bfbc181c5d2c7afa7e 100644 (file)
@@ -1,3 +1,8 @@
+2020-02-19  Nelson Chu  <nelson.chu@sifive.com>
+
+       * doc/c-riscv.texi: Add the doc entries for -march-attr/
+       -mno-arch-attr command line options.
+
 2020-02-19  Nelson Chu  <nelson.chu@sifive.com>
 
        * testsuite/gas/riscv/c-add-addi.d: New testcase.
index 09766511651c2b06a308eb7b7d2690b2c6ca2ee0..739670fafe32e0daff7b6dc49ad4120f69f30bc5 100644 (file)
@@ -59,6 +59,20 @@ required to materialize symbol addresses. (default)
 @item -mno-relax
 Don't do linker relaxations.
 
+@cindex @samp{-march-attr} option, RISC-V
+@item -march-attr
+Generate the default contents for the riscv elf attribute section if the
+.attribute directives are not set.  This section is used to record the
+information that a linker or runtime loader needs to check compatibility.
+This information includes ISA string, stack alignment requirement, unaligned
+memory accesses, and the major, minor and revision version of privileged
+specification.
+
+@cindex @samp{-mno-arch-attr} option, RISC-V
+@item -mno-arch-attr
+Don't generate the default riscv elf attribute section if the .attribute
+directives are not set.
+
 @end table
 @c man end
 
This page took 0.026955 seconds and 4 git commands to generate.