summaryrefslogtreecommitdiff
path: root/gcc/xcoffout.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/xcoffout.c')
-rw-r--r--gcc/xcoffout.c39
1 files changed, 17 insertions, 22 deletions
diff --git a/gcc/xcoffout.c b/gcc/xcoffout.c
index 326a6927c75..e8dd43ff1cf 100644
--- a/gcc/xcoffout.c
+++ b/gcc/xcoffout.c
@@ -308,14 +308,13 @@ xcoffout_source_file (file, filename, inline_p)
for source file FILENAME and line number NOTE. */
void
-xcoffout_source_line (file, filename, note)
- FILE *file;
+xcoffout_source_line (filename, note)
const char *filename;
rtx note;
{
- xcoffout_source_file (file, filename, RTX_INTEGRATED_P (note));
+ xcoffout_source_file (asm_out_file, filename, RTX_INTEGRATED_P (note));
- ASM_OUTPUT_SOURCE_LINE (file, NOTE_LINE_NUMBER (note));
+ ASM_OUTPUT_SOURCE_LINE (asm_out_file, NOTE_LINE_NUMBER (note));
}
/* Output the symbols defined in block number DO_BLOCK.
@@ -368,17 +367,16 @@ xcoffout_block (block, depth, args)
if the count starts at 0 for the outermost one. */
void
-xcoffout_begin_block (file, line, n)
- FILE *file;
- int line;
- int n;
+xcoffout_begin_block (line, n)
+ unsigned int line;
+ unsigned int n;
{
tree decl = current_function_decl;
/* The IBM AIX compiler does not emit a .bb for the function level scope,
so we avoid it here also. */
if (n != 1)
- ASM_OUTPUT_LBB (file, line, n);
+ ASM_OUTPUT_LBB (asm_out_file, line, n);
do_block = n;
xcoffout_block (DECL_INITIAL (decl), 0, DECL_ARGUMENTS (decl));
@@ -387,13 +385,12 @@ xcoffout_begin_block (file, line, n)
/* Describe the end line-number of an internal block within a function. */
void
-xcoffout_end_block (file, line, n)
- FILE *file;
- int line;
- int n;
+xcoffout_end_block (line, n)
+ unsigned int line;
+ unsigned int n;
{
if (n != 1)
- ASM_OUTPUT_LBE (file, line, n);
+ ASM_OUTPUT_LBE (asm_out_file, line, n);
}
/* Called at beginning of function (before prologue).
@@ -462,19 +459,17 @@ xcoffout_begin_function (file, last_linenum)
Describe end of outermost block. */
void
-xcoffout_end_function (file, last_linenum)
- FILE *file;
- int last_linenum;
+xcoffout_end_function (last_linenum)
+ unsigned int last_linenum;
{
- ASM_OUTPUT_LFE (file, last_linenum);
+ ASM_OUTPUT_LFE (asm_out_file, last_linenum);
}
/* Output xcoff info for the absolute end of a function.
Called after the epilogue is output. */
void
-xcoffout_end_epilogue (file)
- FILE *file;
+xcoffout_end_epilogue ()
{
/* We need to pass the correct function size to .function, otherwise,
the xas assembler can't figure out the correct size for the function
@@ -484,7 +479,7 @@ xcoffout_end_epilogue (file)
const char *fname = XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0);
if (*fname == '*')
++fname;
- fprintf (file, "FE..");
- ASM_OUTPUT_LABEL (file, fname);
+ fprintf (asm_out_file, "FE..");
+ ASM_OUTPUT_LABEL (asm_out_file, fname);
}
#endif /* XCOFF_DEBUGGING_INFO */