pa.c (pa_output_function_prologue): Delete prototype.
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>
Wed, 11 Jul 2001 19:21:40 +0000 (19:21 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Wed, 11 Jul 2001 19:21:40 +0000 (19:21 +0000)
* pa.c (pa_output_function_prologue): Delete prototype.  Make function
extern.
* pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to
pa_output_function_prologue.
* pa-protos.h (pa_output_function_prologue): New prototype.

From-SVN: r43947

gcc/ChangeLog
gcc/config/pa/pa-protos.h
gcc/config/pa/pa.c
gcc/config/pa/pa.h

index 227d48cf1083bb4e3768736b094a759856fdc17b..31bca6052f621a032db3e5254c1843231b85e760 100644 (file)
@@ -1,3 +1,11 @@
+2001-07-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * pa.c (pa_output_function_prologue): Delete prototype.  Make function
+       extern.
+       * pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to
+       pa_output_function_prologue.
+       * pa-protos.h (pa_output_function_prologue): New prototype.
+
 2001-07-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
 
        * stmt.c (emit_case_nodes): Widen high and low instead of new_bound
index 6446f5b2a23515b303ec5ec6cbbe88d0f8978f74..d8430a7a5c5ea1cefb1e4fec2cd43919802165da 100644 (file)
@@ -124,6 +124,9 @@ extern int eq_neq_comparison_operator PARAMS ((rtx, enum machine_mode));
 extern int insn_refs_are_delayed PARAMS ((rtx));
 #endif /* RTX_CODE */
 
+/* Prototype function used in macro ASM_OUTPUT_MI_THUNK.  */
+extern void pa_output_function_prologue PARAMS ((FILE *, HOST_WIDE_INT));
+
 /* Prototype function used in macro CONST_OK_FOR_LETTER_P. */
 extern int zdepi_cint_p PARAMS ((unsigned HOST_WIDE_INT));
 
index 05de6dd7eddf7772ec60c7540478b1872685da00..aec2e4294b337ca51f1d27089ed3718ac0e08225 100644 (file)
@@ -66,7 +66,6 @@ static void remove_useless_addtr_insns PARAMS ((rtx, int));
 static rtx store_reg PARAMS ((int, int, int));
 static rtx load_reg PARAMS ((int, int, int));
 static rtx set_reg_plus_d PARAMS ((int, int, int));
-static void pa_output_function_prologue PARAMS ((FILE *, HOST_WIDE_INT));
 static void pa_output_function_epilogue PARAMS ((FILE *, HOST_WIDE_INT));
 
 /* Save the operands last given to a compare for use when we
@@ -2876,7 +2875,7 @@ compute_frame_size (size, fregs_live)
    to do a "save" insn.  The decision about whether or not
    to do this is made in regclass.c.  */
 
-static void
+void
 pa_output_function_prologue (file, size)
      FILE *file;
      HOST_WIDE_INT size ATTRIBUTE_UNUSED;
index 09d4e14bf8598e0eb5735be627b8355ba121df80..07e7c17c588cf4cbca44a1a514891f80ff7cb8ec 100644 (file)
@@ -871,7 +871,7 @@ extern enum cmp_type hppa_branch_type;
 #define ASM_OUTPUT_MI_THUNK(FILE, THUNK_FNDECL, DELTA, FUNCTION) \
 { const char *target_name = XSTR (XEXP (DECL_RTL (FUNCTION), 0), 0); \
   STRIP_NAME_ENCODING (target_name, target_name); \
-  output_function_prologue (FILE, 0); \
+  pa_output_function_prologue (FILE, 0); \
   if (VAL_14_BITS_P (DELTA)) \
     fprintf (FILE, "\tb %s\n\tldo %d(%%r26),%%r26\n", target_name, DELTA); \
   else \