From 21c40584c0e03fecc94397c4c14fa1af207b9413 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Wed, 30 Apr 1997 16:56:40 -0700 Subject: (dbxout_function): Test NO_DBX_FUNCTION_END at run time instead of compile time. From-SVN: r13998 --- gcc/dbxout.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'gcc/dbxout.c') 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 } -- cgit v1.1