aboutsummaryrefslogtreecommitdiff
path: root/gcc/xcoffout.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-07-28 09:03:35 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-07-28 09:03:35 -0400
commitaa6301773f48e7130fa002def822371f8d7e2975 (patch)
treea599796ed0f5e324b66b5f420812912e42d8bca4 /gcc/xcoffout.c
parent2e2bbce29a23563ec681f2f5e9991e735d4e02e5 (diff)
downloadgcc-aa6301773f48e7130fa002def822371f8d7e2975.zip
gcc-aa6301773f48e7130fa002def822371f8d7e2975.tar.gz
gcc-aa6301773f48e7130fa002def822371f8d7e2975.tar.bz2
(xcoffout_output_first_source_line): Delete.
(xcoffout_begin_function): Call dbxout_parms and ASM_OUTPUT_SOURCE_LINE. From-SVN: r10182
Diffstat (limited to 'gcc/xcoffout.c')
-rw-r--r--gcc/xcoffout.c17
1 files changed, 3 insertions, 14 deletions
diff --git a/gcc/xcoffout.c b/gcc/xcoffout.c
index 6af09dc..84ccd55 100644
--- a/gcc/xcoffout.c
+++ b/gcc/xcoffout.c
@@ -1,5 +1,5 @@
/* Output xcoff-format symbol table information from GNU compiler.
- Copyright (C) 1992, 1994 Free Software Foundation, Inc.
+ Copyright (C) 1992, 1994, 1995 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -316,19 +316,6 @@ stab_to_sclass (stab)
}
}
-/* In XCOFF, we have to have this .bf before the function prologue.
- Rely on the value of `dbx_begin_function_line' not to duplicate .bf. */
-
-void
-xcoffout_output_first_source_line (file, last_linenum)
- FILE *file;
- int last_linenum;
-{
- ASM_OUTPUT_LFB (file, last_linenum);
- dbxout_parms (DECL_ARGUMENTS (current_function_decl));
- ASM_OUTPUT_SOURCE_LINE (file, last_linenum);
-}
-
/* Output debugging info to FILE to switch to sourcefile FILENAME.
INLINE_P is true if this is from an inlined function. */
@@ -503,6 +490,8 @@ xcoffout_begin_function (file, last_linenum)
int last_linenum;
{
ASM_OUTPUT_LFB (file, last_linenum);
+ dbxout_parms (DECL_ARGUMENTS (current_function_decl));
+ ASM_OUTPUT_SOURCE_LINE (file, last_linenum);
}
/* Called at end of function (before epilogue).