From d8374dcd8a7b20b0c54a7fbc255609d488348fb5 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Mon, 30 Oct 2000 20:15:02 +0000 Subject: [PATCH] * as.h (OPTION_MD_BASE): Bump to 190. * as.c (parse_args) : Add comment about the need to check OPTION_MD_BASE in as.h. --- gas/ChangeLog | 6 ++++++ gas/as.c | 2 ++ gas/as.h | 4 ++-- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 168458ad46..7bf1d207bd 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2000-10-30 Hans-Peter Nilsson + + * as.h (OPTION_MD_BASE): Bump to 190. + * as.c (parse_args) : Add comment about the need to + check OPTION_MD_BASE in as.h. + 2000-10-27 Nick Clifton * configure.in (emulations): Add m68hc12. diff --git a/gas/as.c b/gas/as.c index dab9d25e52..db183a3df4 100644 --- a/gas/as.c +++ b/gas/as.c @@ -422,6 +422,8 @@ parse_args (pargc, pargv) {"target-help", no_argument, NULL, OPTION_TARGET_HELP}, #define OPTION_WARN_FATAL (OPTION_STD_BASE + 20) {"fatal-warnings", no_argument, NULL, OPTION_WARN_FATAL} + /* When you add options here, check that they do not collide with + OPTION_MD_BASE. See as.h. */ }; /* Construct the option lists from the standard list and the target diff --git a/gas/as.h b/gas/as.h index a7ca131c78..f58b53b634 100644 --- a/gas/as.h +++ b/gas/as.h @@ -105,8 +105,8 @@ extern void *alloca (); 150 isn't special; it's just an arbitrary non-ASCII char value. */ #define OPTION_STD_BASE 150 /* The first getopt value for machine-dependent long options. - 170 gives the standard options room to grow. */ -#define OPTION_MD_BASE 170 + 190 gives the standard options room to grow. */ +#define OPTION_MD_BASE 190 #ifdef DEBUG #undef NDEBUG -- 2.34.1