diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/as.c | 10 | ||||
-rw-r--r-- | gas/doc/as.texinfo | 5 |
3 files changed, 19 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 5905749..d174be8 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2000-10-17 Chandrakala Chavva <cchavva@redhat.com> + + * as.c: New option OPTION_TARGET_HELP. Prints all target specific + options. + * doc/as.texinfo: Added notes about this new option. + 2000-10-16 Hans-Peter Nilsson <hp@bitrange.com> * config/tc-sh.c (JREG): Remove. @@ -264,6 +264,8 @@ Options:\n\ fprintf (stream, _("\ --help show this message and exit\n")); fprintf (stream, _("\ + --target-help show target specific options\n")); + fprintf (stream, _("\ -I DIR add DIR to search list for .include directives\n")); fprintf (stream, _("\ -J don't warn about signed overflow\n")); @@ -416,7 +418,9 @@ parse_args (pargc, pargv) {"no-warn", no_argument, NULL, 'W'}, #define OPTION_WARN (OPTION_STD_BASE + 18) {"warn", no_argument, NULL, OPTION_WARN}, -#define OPTION_WARN_FATAL (OPTION_STD_BASE + 19) +#define OPTION_TARGET_HELP (OPTION_STD_BASE + 19) + {"target-help", no_argument, NULL, OPTION_TARGET_HELP}, +#define OPTION_WARN_FATAL (OPTION_STD_BASE + 20) {"fatal-warnings", no_argument, NULL, OPTION_WARN_FATAL} }; @@ -491,6 +495,10 @@ parse_args (pargc, pargv) new_argv[new_argc++] = optarg; new_argv[new_argc] = NULL; break; + + case OPTION_TARGET_HELP: + md_show_usage (stdout); + exit (EXIT_SUCCESS); case OPTION_HELP: show_usage (stdout); diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo index 110d23a..88c447c 100644 --- a/gas/doc/as.texinfo +++ b/gas/doc/as.texinfo @@ -205,7 +205,7 @@ Here is a brief summary of how to invoke @code{@value{AS}}. For details, [ -f ] [ --gstabs ] [ --gdwarf2 ] [ --help ] [ -I @var{dir} ] [ -J ] [ -K ] [ -L ] [ --keep-locals ] [ -o @var{objfile} ] [ -R ] [ --statistics ] [ -v ] [ -version ] [ --version ] [ -W ] [ --warn ] [ --fatal-warnings ] - [ -w ] [ -x ] [ -Z ] + [ -w ] [ -x ] [ -Z ] [ --target-help ] @ifset A29K @c am29k has no machine-dependent assembler options @end ifset @@ -343,6 +343,9 @@ may help debugging assembler code, if the debugger can handle it. @item --help Print a summary of the command line options and exit. +@item --target-help +Print a summary of all target specific options and exit. + @item -I @var{dir} Add directory @var{dir} to the search list for @code{.include} directives. |