aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2004-09-22 16:58:15 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2004-09-22 12:58:15 -0400
commit39cf49a1136b328c90d2ed6fdfb50269ae8c85ab (patch)
treede550c554cad949d0e4c8f0a87c50e82d7490b84
parent1afd063a67a62f4908f0e6e337014a25ad334841 (diff)
downloadgcc-39cf49a1136b328c90d2ed6fdfb50269ae8c85ab.zip
gcc-39cf49a1136b328c90d2ed6fdfb50269ae8c85ab.tar.gz
gcc-39cf49a1136b328c90d2ed6fdfb50269ae8c85ab.tar.bz2
dbxout.c (get_lang_number): Do not define if DBX_OUTPUT_MAIN_SOURCE_DIRECTORY is defined.
* dbxout.c (get_lang_number): Do not define if DBX_OUTPUT_MAIN_SOURCE_DIRECTORY is defined. From-SVN: r87868
-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 2f374f1..4ebfab5 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 f822fee..22eaf27 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. */