From d2cba896e1a0bee36ee2367efa943efbf0036577 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Mon, 6 May 1996 22:51:59 +0000 Subject: [PATCH] dbxout.c (dbxout_function): When deciding to call dbxout_function_end change test from... * dbxout.c (dbxout_function): When deciding to call dbxout_function_end change test from flag_function_sections to DECL_SECTION_NAME != NULL. From-SVN: r11946 --- gcc/dbxout.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 9831cdddc36..83b81590e2e 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -2692,7 +2692,8 @@ dbxout_function (decl) DBX_OUTPUT_FUNCTION_END (asmfile, decl); #endif #ifdef ASM_OUTPUT_SECTION_NAME - if (flag_function_sections && use_gnu_debug_info_extensions) + if (use_gnu_debug_info_extensions + && DECL_SECTION_NAME (decl) != NULL) dbxout_function_end (); #endif } -- 2.30.2