diff options
author | Nelson Chu <nelson.chu@sifive.com> | 2020-02-05 19:14:21 -0800 |
---|---|---|
committer | Jim Wilson <jimw@sifive.com> | 2020-02-19 17:18:25 -0800 |
commit | bd3380bcddbaef8b189b22a4747b354e1addd4e2 (patch) | |
tree | a279870f561d90a5ab3aec26aa884d00b3b72e9c /gas/doc | |
parent | 869d89506ca4b97b1b31d0d9e7508d980a3653b6 (diff) | |
download | gdb-bd3380bcddbaef8b189b22a4747b354e1addd4e2.zip gdb-bd3380bcddbaef8b189b22a4747b354e1addd4e2.tar.gz gdb-bd3380bcddbaef8b189b22a4747b354e1addd4e2.tar.bz2 |
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.
Diffstat (limited to 'gas/doc')
-rw-r--r-- | gas/doc/c-riscv.texi | 14 |
1 files changed, 14 insertions, 0 deletions
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 |