* as.h (OPTION_MD_BASE): Bump to 190.
authorHans-Peter Nilsson <hp@axis.com>
Mon, 30 Oct 2000 20:15:02 +0000 (20:15 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Mon, 30 Oct 2000 20:15:02 +0000 (20:15 +0000)
* as.c (parse_args) <std_longopts>: Add comment about the need to
check OPTION_MD_BASE in as.h.

gas/ChangeLog
gas/as.c
gas/as.h

index 168458a..7bf1d20 100644 (file)
@@ -1,3 +1,9 @@
+2000-10-30  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * as.h (OPTION_MD_BASE): Bump to 190.
+       * as.c (parse_args) <std_longopts>: Add comment about the need to
+       check OPTION_MD_BASE in as.h.
+
 2000-10-27  Nick Clifton  <nickc@redhat.com>
 
        * configure.in (emulations): Add m68hc12.
index dab9d25..db183a3 100644 (file)
--- 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
index a7ca131..f58b53b 100644 (file)
--- 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