diff options
author | Nick Clifton <nickc@redhat.com> | 1998-05-18 17:34:24 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 1998-05-18 17:34:24 +0000 |
commit | 98c5cd5a5a6c30c1aa6ca253956ff51193c07deb (patch) | |
tree | e83ac4b36160ebbdcaa6d8925e1a3ea8aa19e93d /gas/config | |
parent | 3fa454e95fe104add1b25e53a8dc1decc1c270f1 (diff) | |
download | gdb-98c5cd5a5a6c30c1aa6ca253956ff51193c07deb.zip gdb-98c5cd5a5a6c30c1aa6ca253956ff51193c07deb.tar.gz gdb-98c5cd5a5a6c30c1aa6ca253956ff51193c07deb.tar.bz2 |
Changed command line switch from --m32rx-enable-special to --hidden
Removed documentation about the switch.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-m32r.c | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/gas/config/tc-m32r.c b/gas/config/tc-m32r.c index 1e48e64..c5a8a9f 100644 --- a/gas/config/tc-m32r.c +++ b/gas/config/tc-m32r.c @@ -91,7 +91,7 @@ static int warn_unmatched_high = 0; extended M32RX instruction set should be enabled. */ static int enable_m32rx = 0; -/* Non-zero if --m32rx-enable-special has been specified, in which case support for +/* Non-zero if --m32rx --hidden has been specified, in which case support for the special M32RX instruction set should be enabled. */ static int enable_special = 0; @@ -170,8 +170,7 @@ struct option md_longopts[] = {"no-warn-explicit-parallel-conflicts", no_argument, NULL, OPTION_NO_WARN_PARALLEL}, {"Wnp", no_argument, NULL, OPTION_NO_WARN_PARALLEL}, #define OPTION_SPECIAL (OPTION_MD_BASE + 3) - {"m32rx-enable-special", no_argument, NULL, OPTION_SPECIAL}, - {"m32rx-es", no_argument, NULL, OPTION_SPECIAL}, + {"hidden", no_argument, NULL, OPTION_SPECIAL}, /* end-sanitize-m32rx */ /* Sigh. I guess all warnings must now have both variants. */ @@ -218,8 +217,16 @@ md_parse_option (c, arg) break; case OPTION_SPECIAL: - allow_m32rx (1); - enable_special = 1; + if (enable_m32rx) + enable_special = 1; + else + { + extern char * myname; + + /* Pretend that we do not recognise this option. */ + fprintf (stderr, _("%s: unrecognised option: --hidden\n"), myname); + return 0; + } break; /* end-sanitize-m32rx */ @@ -256,10 +263,6 @@ md_show_usage (stream) fprintf (stream, _("\ --m32rx support the extended m32rx instruction set\n")); fprintf (stream, _("\ ---m32rx-enable-special support the special m32rx instructions\n")); - fprintf (stream, _("\ ---m32rx-es synonym for --m32rx-enable-special\n")); - fprintf (stream, _("\ -O try to combine instructions in parallel\n")); fprintf (stream, _("\ |