Hi Eric / Chung-Ju, On 21 July 2013 01:33, Chung-Ju Wu <jasonw...@gmail.com> wrote: > On 7/20/13 4:14 PM, Eric Botcazou wrote: >>>> >>>> 2013-03-18 David Holsgrove <david.holsgr...@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.holsgr...@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 >
0001-Patch-microblaze-Update-flag_stack_usage-variable-na.patch
Description: Binary data