* rs6000/rs6000.c (rs6000_stack_info): Only do eabi setup for "main",
when main is the global main, not some nested routine that
happens to be called main.
From-SVN: r14072
if (TARGET_EABI)
#endif
{
if (TARGET_EABI)
#endif
{
- if (strcmp (IDENTIFIER_POINTER (DECL_NAME (current_function_decl)), "main") == 0)
+ if (strcmp (IDENTIFIER_POINTER (DECL_NAME (current_function_decl)), "main") == 0
+ && DECL_CONTEXT (current_function_decl) == NULL_TREE)