Commit 081c2faf by Jeff Law

pa.c (output_function_prologue): Do not output the .PROC directive here.

	* pa.c (output_function_prologue): Do not output the .PROC directive
	here.

	* pa.h (ASM_DECLARE_FUNCTION_NAME): Emit the .PROC immediately
	after the function's label.

From-SVN: r6233
parent a7c1e13f
...@@ -1988,11 +1988,10 @@ output_function_prologue (file, size) ...@@ -1988,11 +1988,10 @@ output_function_prologue (file, size)
FILE *file; FILE *file;
int size; int size;
{ {
/* hppa_expand_prologue does the dirty work now. We just need /* hppa_expand_prologue does the dirty work now. We just need
to output the assembler directives which denote the start to output the assembler directives which denote the start
of a function. */ of a function. */
fprintf (file, "\t.PROC\n\t.CALLINFO FRAME=%d", actual_fsize); fprintf (file, "\t.CALLINFO FRAME=%d", actual_fsize);
if (regs_ever_live[2] || profile_flag) if (regs_ever_live[2] || profile_flag)
fprintf (file, ",CALLS,SAVE_RP"); fprintf (file, ",CALLS,SAVE_RP");
else else
......
...@@ -932,7 +932,8 @@ extern enum cmp_type hppa_branch_type; ...@@ -932,7 +932,8 @@ extern enum cmp_type hppa_branch_type;
fprintf (FILE, ",RTNVAL=GR"); \ fprintf (FILE, ",RTNVAL=GR"); \
fputs ("\n", FILE); \ fputs ("\n", FILE); \
} \ } \
ASM_OUTPUT_LABEL (FILE, NAME);} while (0) ASM_OUTPUT_LABEL (FILE, NAME); \
fputs ("\t.PROC\n", FILE);} while (0)
/* This macro generates the assembly code for function entry. /* This macro generates the assembly code for function entry.
FILE is a stdio stream to output the code to. FILE is a stdio stream to output the code to.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment