aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2000-10-30 20:15:02 +0000
committerHans-Peter Nilsson <hp@axis.com>2000-10-30 20:15:02 +0000
commitd8374dcd8a7b20b0c54a7fbc255609d488348fb5 (patch)
tree15b84e2a8c36b7e85a43724431ea364cfd23d815 /gas
parentbb518678acdf8bdf3c7640c8d1dea7bba35e176a (diff)
downloadgdb-d8374dcd8a7b20b0c54a7fbc255609d488348fb5.zip
gdb-d8374dcd8a7b20b0c54a7fbc255609d488348fb5.tar.gz
gdb-d8374dcd8a7b20b0c54a7fbc255609d488348fb5.tar.bz2
* 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.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/as.c2
-rw-r--r--gas/as.h4
3 files changed, 10 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 168458a..7bf1d20 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/as.c b/gas/as.c
index dab9d25..db183a3 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 a7ca131..f58b53b 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