OSDN Git Service

(dbxout_function): Test NO_DBX_FUNCTION_END at run time
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Apr 1997 23:56:40 +0000 (23:56 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Apr 1997 23:56:40 +0000 (23:56 +0000)
instead of compile time.

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

gcc/dbxout.c

index 51058db..6a62635 100644 (file)
@@ -2599,8 +2599,12 @@ dbxout_function (decl)
 #ifdef DBX_OUTPUT_FUNCTION_END
   DBX_OUTPUT_FUNCTION_END (asmfile, decl);
 #endif
-#if defined(ASM_OUTPUT_SECTION_NAME) && !defined(NO_DBX_FUNCTION_END)
-  if (use_gnu_debug_info_extensions)
+#if defined(ASM_OUTPUT_SECTION_NAME)
+  if (use_gnu_debug_info_extensions
+#if defined(NO_DBX_FUNCTION_END)
+      && ! NO_DBX_FUNCTION_END
+#endif
+      )
     dbxout_function_end ();
 #endif
 }