From 7ebd68d1420692cda899a40acf5d96a4013a3258 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 28 Sep 2022 12:56:04 +0100 Subject: 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. --- gas/as.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'gas/as.c') diff --git a/gas/as.c b/gas/as.c index 35ad6b3..9ce3d62 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- generate DWARF debugging information. 2 <= <= 5\n")); fprintf (stream, _("\ + --gdwarf-cie-version= 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= 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=\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")); -- cgit v1.1