aboutsummaryrefslogtreecommitdiff
path: root/gas/doc
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2017-03-21 08:36:44 -0700
committerPalmer Dabbelt <palmer@dabbelt.com>2017-03-22 15:46:52 -0700
commit19683c0408d66d9e48085fd5af009ad7d83aa3cd (patch)
tree57e0fa0e0e11261377c57394da397bef6b7f0356 /gas/doc
parent24e5b4e682a92788ffa676e963b7f1dec2101333 (diff)
downloadgdb-19683c0408d66d9e48085fd5af009ad7d83aa3cd.zip
gdb-19683c0408d66d9e48085fd5af009ad7d83aa3cd.tar.gz
gdb-19683c0408d66d9e48085fd5af009ad7d83aa3cd.tar.bz2
Sanitize RISC-V GAS help text, documentation
It looks like I missed the GAS help text when going through all the documentation last time, so it printed some of the old-format (never upstream) arguments. I fixed this, and when I went to check doc/ I noticed it was missing the '-fpic'/'-fno-pic' options.
Diffstat (limited to 'gas/doc')
-rw-r--r--gas/doc/c-riscv.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/gas/doc/c-riscv.texi b/gas/doc/c-riscv.texi
index 8915db4..01b9931 100644
--- a/gas/doc/c-riscv.texi
+++ b/gas/doc/c-riscv.texi
@@ -26,6 +26,14 @@ The following table lists all available RISC-V specific options
@c man begin OPTIONS
@table @gcctabopt
+@cindex @samp{-fpic} option, RISC-V
+@item -fpic
+Generate position-independent code
+
+@cindex @samp{-fno-pic} option, RISC-V
+@item -fno-pic
+Don't generate position-independent code (default)
+
@cindex @samp{-march=ISA} option, RISC-V
@item -march=ISA
Select the base isa, as specified by ISA. For example -march=rv32ima.