summaryrefslogtreecommitdiff
path: root/gas/as.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2022-09-28 12:56:04 +0100
committerNick Clifton <nickc@redhat.com>2022-09-28 12:56:04 +0100
commit7ebd68d1420692cda899a40acf5d96a4013a3258 (patch)
tree0661ac9e18efe1259eb57fc8f5fd5fbf37725af3 /gas/as.c
parent67d1991b785bdfef1d70cddfa0202b99b43ccce9 (diff)
downloadbinutils-gdb-7ebd68d1420692cda899a40acf5d96a4013a3258.tar.gz
The help document of as misses some many options
PR 29623 * as.c (show_usage): Document the --dump-config, --gdwarf-cie-version, --hash-size, --multibyte-handling, and --reduce-memory-overheads options. * config/tc-i386.c (md_show_usage): Document the -O option. * doc/as.texi: Document the --dump-config, --emulation, --hash-size, and --reduce-memory-overheads options.
Diffstat (limited to 'gas/as.c')
-rw-r--r--gas/as.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/gas/as.c b/gas/as.c
index 35ad6b3ab3b..9ce3d622f95 100644
--- a/gas/as.c
+++ b/gas/as.c
@@ -268,6 +268,8 @@ Options:\n\
fprintf (stream, _("\
-D produce assembler debugging messages\n"));
fprintf (stream, _("\
+ --dump-config display how the assembler is configured and then exit\n"));
+ fprintf (stream, _("\
--debug-prefix-map OLD=NEW\n\
map OLD to NEW in debug information\n"));
fprintf (stream, _("\
@@ -278,7 +280,7 @@ Options:\n\
const char *def_em;
fprintf (stream, "\
- --em=[");
+ --emulation=[");
for (i = 0; i < n_emulations - 1; i++)
fprintf (stream, "%s | ", emulations[i]->name);
fprintf (stream, "%s]\n", emulations[i]->name);
@@ -331,8 +333,14 @@ Options:\n\
fprintf (stream, _("\
--gdwarf-<N> generate DWARF<N> debugging information. 2 <= <N> <= 5\n"));
fprintf (stream, _("\
+ --gdwarf-cie-version=<N> generate version 1, 3 or 4 DWARF CIEs\n"));
+ fprintf (stream, _("\
--gdwarf-sections generate per-function section names for DWARF line information\n"));
fprintf (stream, _("\
+ --hash-size=<N> ignored\n"));
+ fprintf (stream, _("\
+ --help show all assembler options\n"));
+ fprintf (stream, _("\
--target-help show target specific options\n"));
fprintf (stream, _("\
-I DIR add DIR to search list for .include directives\n"));
@@ -347,6 +355,9 @@ Options:\n\
fprintf (stream, _("\
--MD FILE write dependency information in FILE (default none)\n"));
fprintf (stream, _("\
+ --multibyte-handling=<method>\n\
+ what to do with multibyte characters encountered in the input\n"));
+ fprintf (stream, _("\
-nocpp ignored\n"));
fprintf (stream, _("\
-no-pad-sections do not pad the end of sections to alignment boundaries\n"));
@@ -355,6 +366,8 @@ Options:\n\
fprintf (stream, _("\
-R fold data section into text section\n"));
fprintf (stream, _("\
+ --reduce-memory-overheads ignored\n"));
+ fprintf (stream, _("\
--statistics print various measured statistics from execution\n"));
fprintf (stream, _("\
--strip-local-absolute strip local absolute symbols\n"));