[binutils-gdb] RISC-V: Add description for -march-attr/-mno-arch-attr options in gas doc.
Jim Wilson
wilson@sourceware.org
Thu Feb 20 01:19:00 GMT 2020
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=bd3380bcddbaef8b189b22a4747b354e1addd4e2
commit bd3380bcddbaef8b189b22a4747b354e1addd4e2
Author: Nelson Chu <nelson.chu@sifive.com>
Date: Wed Feb 5 19:14:21 2020 -0800
RISC-V: Add description for -march-attr/-mno-arch-attr options in gas doc.
gas/
* doc/c-riscv.texi: Add the doc entries for -march-attr/
-mno-arch-attr command line options.
Diff:
---
gas/ChangeLog | 5 +++++
gas/doc/c-riscv.texi | 14 ++++++++++++++
2 files changed, 19 insertions(+)
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 92869a3..fe177cf 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
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.
* testsuite/gas/riscv/c-add-addi.s: Likewise.
diff --git a/gas/doc/c-riscv.texi b/gas/doc/c-riscv.texi
index 0976651..739670f 100644
--- a/gas/doc/c-riscv.texi
+++ b/gas/doc/c-riscv.texi
@@ -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
More information about the Binutils-cvs
mailing list