summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/dbxout.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2f374f1b687..4ebfab5e835 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-09-22 David Edelsohn <edelsohn@gnu.org>
+
+ * dbxout.c (get_lang_number): Do not define if
+ DBX_OUTPUT_MAIN_SOURCE_DIRECTORY is defined.
+
2004-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
PR target/15583
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index f822feef799..22eaf27dfb7 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -343,7 +343,9 @@ static void emit_pending_bincls (void);
static inline void emit_pending_bincls_if_required (void);
static void dbxout_init (const char *);
+#ifndef DBX_OUTPUT_MAIN_SOURCE_DIRECTORY
static unsigned int get_lang_number (void);
+#endif
static void dbxout_finish (const char *);
static void dbxout_start_source_file (unsigned, const char *);
static void dbxout_end_source_file (unsigned);
@@ -490,6 +492,7 @@ dbxout_function_end (void)
}
#endif /* DBX_DEBUGGING_INFO */
+#ifndef DBX_OUTPUT_MAIN_SOURCE_DIRECTORY
/* Get lang description for N_SO stab. */
static unsigned int
@@ -513,6 +516,7 @@ get_lang_number (void)
return 0;
}
+#endif
/* At the beginning of compilation, start writing the symbol table.
Initialize `typevec' and output the standard data types of C. */
OpenPOWER on IntegriCloud