(dbxout_function): Respect NO_DBX_FUNCTION_END.
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 28 Jun 1996 18:07:33 +0000 (14:07 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 28 Jun 1996 18:07:33 +0000 (14:07 -0400)
From-SVN: r12356

gcc/dbxout.c

index caee999b57ae9ab38f537f40f21c1f6470f7b499..31b048ef3c051bc7ef4026562243a109c12940fd 100644 (file)
@@ -2596,7 +2596,7 @@ dbxout_function (decl)
 #ifdef DBX_OUTPUT_FUNCTION_END
   DBX_OUTPUT_FUNCTION_END (asmfile, decl);
 #endif
-#ifdef ASM_OUTPUT_SECTION_NAME
+#if defined(ASM_OUTPUT_SECTION_NAME) && !defined(NO_DBX_FUNCTION_END)
   if (use_gnu_debug_info_extensions
       && DECL_SECTION_NAME (decl) != NULL)
     dbxout_function_end ();