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
This commit is contained in:
David Edelsohn 2004-09-22 16:58:15 +00:00 committed by David Edelsohn
parent 1afd063a67
commit 39cf49a113
2 changed files with 9 additions and 0 deletions

View file

@ -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

View file

@ -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. */