pa.c (output_function_prologue): Do not output the .PROC directive here.
authorJeff Law <law@gcc.gnu.org>
Tue, 14 Dec 1993 21:42:44 +0000 (14:42 -0700)
committerJeff Law <law@gcc.gnu.org>
Tue, 14 Dec 1993 21:42:44 +0000 (14:42 -0700)
* 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

gcc/config/pa/pa.c
gcc/config/pa/pa.h

index efdc02f4cfa1760a7e6fa07e84a76bccedb02b68..299e3e44e6c627e065688121f7a4185832fc16b3 100644 (file)
@@ -1988,11 +1988,10 @@ output_function_prologue (file, size)
      FILE *file;
      int size;
 {
-
   /* hppa_expand_prologue does the dirty work now.  We just need
      to output the assembler directives which denote the start
      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)
     fprintf (file, ",CALLS,SAVE_RP");
   else
index dde60240006e9cd5c86b77e28d17e5e18cfd9d0a..4d7b0873f251af7604bf2cf7a53a9a7f61f772a0 100644 (file)
@@ -932,7 +932,8 @@ extern enum cmp_type hppa_branch_type;
               fprintf (FILE, ",RTNVAL=GR");                            \
             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.
    FILE is a stdio stream to output the code to.