summaryrefslogtreecommitdiff
path: root/gcc/dbxout.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r--gcc/dbxout.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 101574f2750..1c760b20e8e 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -1,5 +1,5 @@
/* Output dbx-format symbol table information from GNU compiler.
- Copyright (C) 1987, 88, 92-96, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1987, 88, 92-97, 1998 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -162,8 +162,6 @@ static int have_used_extensions = 0;
static int source_label_number = 1;
-static int scope_labelno = 0;
-
char *getpwd ();
/* Typical USG systems don't have stab.h, and they also have
@@ -333,7 +331,9 @@ void dbxout_types ();
void dbxout_args ();
void dbxout_symbol ();
+#ifndef NO_DBX_FUNCTION_END
static void dbxout_function_end PROTO((void));
+#endif
static void dbxout_typedefs PROTO((tree));
static void dbxout_type_index PROTO((tree));
static void dbxout_continue PROTO((void));
@@ -352,9 +352,11 @@ static void dbxout_finish_symbol PROTO((tree));
static void dbxout_block PROTO((tree, int, tree));
static void dbxout_really_begin_function PROTO((tree));
+#ifndef NO_DBX_FUNCTION_END
static void
dbxout_function_end ()
{
+ static int scope_labelno = 0;
char lscope_label_name[100];
/* Convert Ltext into the appropriate format for local labels in case
the system doesn't insert underscores in front of user generated
@@ -371,6 +373,7 @@ dbxout_function_end ()
assemble_name (asmfile, XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0));
fprintf (asmfile, "\n");
}
+#endif /* ! NO_DBX_FUNCTION_END */
/* At the beginning of compilation, start writing the symbol table.
Initialize `typevec' and output the standard data types of C. */