Commit 84e60183 by Nick Clifton Committed by Nick Clifton

rx.c (rx_expand_prologue): Set stack use information, if requested.

	* config/rx/rx.c (rx_expand_prologue): Set stack use
	information, if requested.

From-SVN: r186314
parent cf5025b6
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
* config/rl78/rl78.c (rl78_expand_prologue): Set stack use * config/rl78/rl78.c (rl78_expand_prologue): Set stack use
information, if requested. information, if requested.
* config/rx/rx.c (rx_expand_prologue): Likewise.
2012-04-11 Peter Bergner <bergner@vnet.ibm.com> 2012-04-11 Peter Bergner <bergner@vnet.ibm.com>
Michael Matz <matz@suse.de> Michael Matz <matz@suse.de>
......
...@@ -1606,6 +1606,9 @@ rx_expand_prologue (void) ...@@ -1606,6 +1606,9 @@ rx_expand_prologue (void)
rx_get_stack_layout (& low, & high, & mask, & frame_size, & stack_size); rx_get_stack_layout (& low, & high, & mask, & frame_size, & stack_size);
if (flag_stack_usage_info)
current_function_static_stack_size = frame_size + stack_size;
/* If we use any of the callee-saved registers, save them now. */ /* If we use any of the callee-saved registers, save them now. */
if (mask) if (mask)
{ {
......
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