Commit 82280d5e by Michael Meissner

Only create TOC save area if function makes calls.

From-SVN: r12948
parent 1df01bdf
......@@ -3018,7 +3018,7 @@ rs6000_stack_info ()
info_ptr->calls_p = rs6000_makes_calls ();
/* Allocate space to save the toc. */
if (abi == ABI_NT)
if (abi == ABI_NT && info_ptr->calls_p)
{
info_ptr->toc_save_p = 1;
info_ptr->toc_size = reg_size;
......
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