aboutsummaryrefslogtreecommitdiff
path: root/gcc/dbxout.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2002-09-13 23:29:58 +0000
committerAlan Modra <amodra@gcc.gnu.org>2002-09-14 08:59:58 +0930
commit374b0b7d0c2ee7f0a8ad8846eb8253095397549f (patch)
tree56d6eaae71719c920376e0802c6f13e372416560 /gcc/dbxout.c
parent690eed2ccf6f4d12c7bd86c4104c3308be3e1476 (diff)
downloadgcc-374b0b7d0c2ee7f0a8ad8846eb8253095397549f.zip
gcc-374b0b7d0c2ee7f0a8ad8846eb8253095397549f.tar.gz
gcc-374b0b7d0c2ee7f0a8ad8846eb8253095397549f.tar.bz2
tm.texi (DBX_OUTPUT_NFUN): Describe.
* doc/tm.texi (DBX_OUTPUT_NFUN): Describe. * dbxout.c (dbxout_function_end): Use DBX_OUTPUT_NFUN. * config/rs6000/linux64.h (DBX_OUTPUT_NFUN): Define. From-SVN: r57122
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r--gcc/dbxout.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 4e46773..a570856 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -397,11 +397,15 @@ dbxout_function_end ()
/* By convention, GCC will mark the end of a function with an N_FUN
symbol and an empty string. */
+#ifdef DBX_OUTPUT_NFUN
+ DBX_OUTPUT_NFUN (asmfile, lscope_label_name, current_function_decl);
+#else
fprintf (asmfile, "%s\"\",%d,0,0,", ASM_STABS_OP, N_FUN);
assemble_name (asmfile, lscope_label_name);
putc ('-', asmfile);
assemble_name (asmfile, XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0));
fprintf (asmfile, "\n");
+#endif
}
#endif /* DBX_DEBUGGING_INFO */