aboutsummaryrefslogtreecommitdiff
path: root/gas/config
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/config
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/config')
-rw-r--r--gas/config/tc-riscv.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/gas/config/tc-riscv.c b/gas/config/tc-riscv.c
index ff6d737..68b28f7 100644
--- a/gas/config/tc-riscv.c
+++ b/gas/config/tc-riscv.c
@@ -2475,15 +2475,10 @@ md_show_usage (FILE *stream)
{
fprintf (stream, _("\
RISC-V options:\n\
- -m32 assemble RV32 code\n\
- -m64 assemble RV64 code (default)\n\
-fpic generate position-independent code\n\
-fno-pic don't generate position-independent code (default)\n\
- -msoft-float don't use F registers for floating-point values\n\
- -mhard-float use F registers for floating-point values (default)\n\
- -mno-rvc disable the C extension for compressed instructions (default)\n\
- -mrvc enable the C extension for compressed instructions\n\
- -march=ISA set the RISC-V architecture, RV64IMAFD by default\n\
+ -march=ISA set the RISC-V architecture\n\
+ -mabi=ABI set the RISC-V ABI\n\
"));
}