summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/dbxout.c3
-rw-r--r--gcc/doc/tm.texi8
-rw-r--r--gcc/system.h2
4 files changed, 8 insertions, 12 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4db7c3cb235..972675ad920 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2004-10-23 Kazu Hirata <kazu@cs.umass.edu>
+
+ * dbxout.c (dbxout_function_decl): Don't use
+ DBX_OUTPUT_FUNCTION_END.
+ * system.h: Poison DBX_OUTPUT_FUNCTION_END.
+ * doc/tm.texi (DBX_OUTPUT_FUNCTION_END): Remove.
+
2004-10-23 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/17967
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 077cc498a32..afbc2be640e 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -851,9 +851,6 @@ dbxout_function_decl (tree decl)
dbxout_begin_function (decl);
#endif
dbxout_block (DECL_INITIAL (decl), 0, DECL_ARGUMENTS (decl));
-#ifdef DBX_OUTPUT_FUNCTION_END
- DBX_OUTPUT_FUNCTION_END (asm_out_file, decl);
-#endif
dbxout_function_end ();
}
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index d7e13e9b041..c7ebbb86f46 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -8028,14 +8028,6 @@ This macro should not be defined if the default output is correct, or
if it can be made correct by defining @code{DBX_LINES_FUNCTION_RELATIVE}.
@end defmac
-@defmac DBX_OUTPUT_FUNCTION_END (@var{stream}, @var{function})
-Define this macro if the target machine requires special output at the
-end of the debugging information for a function. The definition should
-be a C statement (sans semicolon) to output the appropriate information
-to @var{stream}. @var{function} is the @code{FUNCTION_DECL} node for
-the function.
-@end defmac
-
@defmac NO_DBX_FUNCTION_END
Some stabs encapsulation formats (in particular ECOFF), cannot handle the
@code{.stabs "",N_FUN,,0,0,Lscope-function-1} gdb dbx extension construct.
diff --git a/gcc/system.h b/gcc/system.h
index 56f5ff028eb..31ec37ecb55 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -656,7 +656,7 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
COLLECT_PARSE_FLAG DWARF2_GENERATE_TEXT_SECTION_LABEL WINNING_GDB \
ASM_OUTPUT_FILENAME ASM_OUTPUT_SOURCE_LINE FILE_NAME_JOINER \
GDB_INV_REF_REGPARM_STABS_LETTER DBX_MEMPARM_STABS_LETTER \
- PUT_SDB_SRC_FILE STABS_GCC_MARKER
+ PUT_SDB_SRC_FILE STABS_GCC_MARKER DBX_OUTPUT_FUNCTION_END
/* Hooks that are no longer used. */
#pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \