aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1997-04-30 16:56:40 -0700
committerJim Wilson <wilson@gcc.gnu.org>1997-04-30 16:56:40 -0700
commit21c40584c0e03fecc94397c4c14fa1af207b9413 (patch)
tree5bdfefc9446c8f917bf42641b0436e8a8c7840cd /gcc
parent6b857f0460ca28109ba3ad77272a4e2b33e1c710 (diff)
downloadgcc-21c40584c0e03fecc94397c4c14fa1af207b9413.zip
gcc-21c40584c0e03fecc94397c4c14fa1af207b9413.tar.gz
gcc-21c40584c0e03fecc94397c4c14fa1af207b9413.tar.bz2
(dbxout_function): Test NO_DBX_FUNCTION_END at run time
instead of compile time. From-SVN: r13998
Diffstat (limited to 'gcc')
-rw-r--r--gcc/dbxout.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 51058db..6a62635 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
}