From: John David Anglin Date: Wed, 11 Jul 2001 19:21:40 +0000 (+0000) Subject: pa.c (pa_output_function_prologue): Delete prototype. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9acc24a583f1c0026226e8c00a420ec9da04fd56;p=gcc.git pa.c (pa_output_function_prologue): Delete prototype. * 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 227d48cf108..31bca6052f6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2001-07-11 John David Anglin + + * 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 * stmt.c (emit_case_nodes): Widen high and low instead of new_bound diff --git a/gcc/config/pa/pa-protos.h b/gcc/config/pa/pa-protos.h index 6446f5b2a23..d8430a7a5c5 100644 --- a/gcc/config/pa/pa-protos.h +++ b/gcc/config/pa/pa-protos.h @@ -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)); diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 05de6dd7edd..aec2e4294b3 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -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; diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index 09d4e14bf85..07e7c17c588 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -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 \