* dbxout.c (dbxout_function): When deciding to call dbxout_function_end
change test from flag_function_sections to DECL_SECTION_NAME != NULL.
From-SVN: r11946
DBX_OUTPUT_FUNCTION_END (asmfile, decl);
#endif
#ifdef ASM_OUTPUT_SECTION_NAME
- if (flag_function_sections && use_gnu_debug_info_extensions)
+ if (use_gnu_debug_info_extensions
+ && DECL_SECTION_NAME (decl) != NULL)
dbxout_function_end ();
#endif
}