OSDN Git Service

* dbxout.c (dbxout_function): When deciding to call dbxout_function_end
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 6 May 1996 22:51:59 +0000 (22:51 +0000)
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 6 May 1996 22:51:59 +0000 (22:51 +0000)
change test from flag_function_sections to DECL_SECTION_NAME != NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11946 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/dbxout.c

index 9831cdd..83b8159 100644 (file)
@@ -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
 }