Commit e211a9d8 by Richard Kenner

(output_prolog): Set alpha_function_needs_gp if profiling and

TARGET_PROFILING_NEEDS_GP defined.

From-SVN: r11542
parent 1465faec
...@@ -1376,6 +1376,12 @@ output_prolog (file, size) ...@@ -1376,6 +1376,12 @@ output_prolog (file, size)
We never need a GP for Windows/NT. */ We never need a GP for Windows/NT. */
alpha_function_needs_gp = 0; alpha_function_needs_gp = 0;
#ifdef TARGET_PROFILING_NEEDS_GP
if (profile_flag)
alpha_function_needs_gp = 1;
#endif
for (insn = get_insns (); insn; insn = NEXT_INSN (insn)) for (insn = get_insns (); insn; insn = NEXT_INSN (insn))
if ((GET_CODE (insn) == CALL_INSN) if ((GET_CODE (insn) == CALL_INSN)
|| (GET_RTX_CLASS (GET_CODE (insn)) == 'i' || (GET_RTX_CLASS (GET_CODE (insn)) == 'i'
......
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