From 39cf49a1136b328c90d2ed6fdfb50269ae8c85ab Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Wed, 22 Sep 2004 16:58:15 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/dbxout.c | 4 ++++ 2 files changed, 9 insertions(+) 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 + + * dbxout.c (get_lang_number): Do not define if + DBX_OUTPUT_MAIN_SOURCE_DIRECTORY is defined. + 2004-09-22 Ralf Corsepius 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. */ -- 2.30.2