Commit d2cba896 by Doug Evans

dbxout.c (dbxout_function): When deciding to call dbxout_function_end change test from...

	* 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
parent 6f2f3db7
......@@ -2692,7 +2692,8 @@ dbxout_function (decl)
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
}
......
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