aboutsummaryrefslogtreecommitdiff
path: root/gcc/dbxout.c
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2001-07-26 06:56:13 +0000
committerNeil Booth <neil@gcc.gnu.org>2001-07-26 06:56:13 +0000
commit440aabf8657a9f818f755f768f80f65f205b5077 (patch)
tree4ae0c09398bfea9241b677632feb032a1ae1e43c /gcc/dbxout.c
parenta6ed70ef1df6e0d2e900d976513c4a2c3b439b8a (diff)
downloadgcc-440aabf8657a9f818f755f768f80f65f205b5077.zip
gcc-440aabf8657a9f818f755f768f80f65f205b5077.tar.gz
gcc-440aabf8657a9f818f755f768f80f65f205b5077.tar.bz2
toplev.c, [...]: Include xcoffout.h if appropriate.
* toplev.c, varasm.c, final.c: Include xcoffout.h if appropriate. * dbxout.c (dbxout_global_decl): Move outside #ifdef. * Makefile.in (varasm.o, final.o, toplev.o): Update dependencies. From-SVN: r44382
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r--gcc/dbxout.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 7589f69..0d330c2 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -625,18 +625,6 @@ dbxout_end_block (line, n)
ASM_OUTPUT_INTERNAL_LABEL (asmfile, "LBE", n);
}
-/* Debug information for a global DECL. Called from toplev.c after
- compilation proper has finished. */
-static void
-dbxout_global_decl (decl)
- tree decl;
-{
- if (TREE_CODE (decl) == VAR_DECL
- && ! DECL_EXTERNAL (decl)
- && DECL_RTL_SET_P (decl)) /* Not necessary? */
- dbxout_symbol (decl, 0);
-}
-
/* Output dbx data for a function definition.
This includes a definition of the function name itself (a symbol),
definitions of the parameters (locating them in the parameter list)
@@ -666,6 +654,18 @@ dbxout_function_decl (decl)
#endif /* DBX_DEBUGGING_INFO */
+/* Debug information for a global DECL. Called from toplev.c after
+ compilation proper has finished. */
+static void
+dbxout_global_decl (decl)
+ tree decl;
+{
+ if (TREE_CODE (decl) == VAR_DECL
+ && ! DECL_EXTERNAL (decl)
+ && DECL_RTL_SET_P (decl)) /* Not necessary? */
+ dbxout_symbol (decl, 0);
+}
+
/* At the end of compilation, finish writing the symbol table.
Unless you define DBX_OUTPUT_MAIN_SOURCE_FILE_END, the default is
to do nothing. */