summaryrefslogtreecommitdiff
path: root/gcc/dbxout.c
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1997-04-30 23:56:40 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1997-04-30 23:56:40 +0000
commitb0a47fcf5492d3fe086027013bf4f0f95dbed30d (patch)
tree5bdfefc9446c8f917bf42641b0436e8a8c7840cd /gcc/dbxout.c
parent51d2c1df2088323f420ea1d70c582e06cae6549f (diff)
downloadgcc-b0a47fcf5492d3fe086027013bf4f0f95dbed30d.tar.gz
(dbxout_function): Test NO_DBX_FUNCTION_END at run time
instead of compile time. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13998 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r--gcc/dbxout.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 51058dbe491..6a62635572a 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -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
}