* [PATCH] RISC-V: Add description for -march-attr/-mno-arch-attr options in gas doc.
@ 2020-02-06 3:14 Nelson Chu
2020-02-20 1:23 ` Jim Wilson
0 siblings, 1 reply; 3+ messages in thread
From: Nelson Chu @ 2020-02-06 3:14 UTC (permalink / raw)
To: binutils; +Cc: jimw
gas/
* doc/c-riscv.texi: Add the doc entries for -march-attr/
-mno-arch-attr command line options.
---
gas/doc/c-riscv.texi | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/gas/doc/c-riscv.texi b/gas/doc/c-riscv.texi
index 0976651..d45012a 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.
+These information include 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
--
2.7.4
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] RISC-V: Add description for -march-attr/-mno-arch-attr options in gas doc.
2020-02-06 3:14 [PATCH] RISC-V: Add description for -march-attr/-mno-arch-attr options in gas doc Nelson Chu
@ 2020-02-20 1:23 ` Jim Wilson
2020-02-20 6:36 ` Nelson Chu
0 siblings, 1 reply; 3+ messages in thread
From: Jim Wilson @ 2020-02-20 1:23 UTC (permalink / raw)
To: Nelson Chu; +Cc: Binutils
On Wed, Feb 5, 2020 at 7:14 PM Nelson Chu <nelson.chu@sifive.com> wrote:
> gas/
> * doc/c-riscv.texi: Add the doc entries for -march-attr/
> -mno-arch-attr command line options.
Thanks. Committed, and I got the author attribution right this time.
Jim
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] RISC-V: Add description for -march-attr/-mno-arch-attr options in gas doc.
2020-02-20 1:23 ` Jim Wilson
@ 2020-02-20 6:36 ` Nelson Chu
0 siblings, 0 replies; 3+ messages in thread
From: Nelson Chu @ 2020-02-20 6:36 UTC (permalink / raw)
To: Jim Wilson; +Cc: Binutils
On Thu, Feb 20, 2020 at 9:23 AM Jim Wilson <jimw@sifive.com> wrote:
> Thanks. Committed, and I got the author attribution right this time.
That's great! Thank you very much :)
Nelson
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-02-20 6:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-06 3:14 [PATCH] RISC-V: Add description for -march-attr/-mno-arch-attr options in gas doc Nelson Chu
2020-02-20 1:23 ` Jim Wilson
2020-02-20 6:36 ` Nelson Chu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).