[Patch, microblaze]: Add -fstack-usage support

David Holsgrove david.holsgrove@xilinx.com
Tue Jul 23 07:18:00 GMT 2013


Hi Eric / Chung-Ju,

On 21 July 2013 01:33, Chung-Ju Wu <jasonwucj@gmail.com> wrote:
> On 7/20/13 4:14 PM, Eric Botcazou wrote:
>>>>
>>>> 2013-03-18  David Holsgrove <david.holsgrove@xilinx.com>
>>>>
>>>>   * gcc/config/microblaze/microblaze.c (microblaze_expand_prologue):
>>>>     Add check for flag_stack_usage to handle -fstack-usage support
>>>>
>>>> Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
>>>
>>>
>>> Patch remains the same, please apply when ready.
>>
>>
>> The patch is incorrect, please adjust it to match the other architectures.
>>
>
> Hi, David,
>
> Specifically speaking, what Eric meant is to check
> flag_stack_usage_info rather than flag_stack_usage
> due to the changes after gcc-4.7.
>

Ah, thanks for the catch - patch had been sitting in my tree for quite a while,
hadn't realised the variable name had changed on trunk.

Patch attached which adjusts microblaze's usage to align with other archs.

thanks,
David

>
> Best regards,
> jasonwucj
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Patch-microblaze-Update-flag_stack_usage-variable-na.patch
Type: application/octet-stream
Size: 1063 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130723/5de53242/attachment.obj>


More information about the Gcc-patches mailing list