summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/dbxout.c5
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4beb748a828..aa364d026ee 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2001-04-17 Loren J. Rittle <ljrittle@acm.org>
+
+ * dbxout.c (N_OPT): Define if not available from <stab.h>
+
2001-04-17 John David Anglin <dave@hiauly1.hia.nrc.ca>
* vax.h (PROMOTE_PROTOTYPES): Define for compatibility with system
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 75bcbdc5bfa..4b58f0e6d50 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -183,6 +183,11 @@ static int source_label_number = 1;
#ifndef N_CATCH
#define N_CATCH 0x54
#endif
+
+/* This is a Solaris extension we need to reference in this file. */
+#ifndef N_OPT
+#define N_OPT 0x3c
+#endif
#endif
#ifdef __GNU_STAB__