From: Doug Evans Date: Mon, 6 May 1996 22:51:59 +0000 (+0000) Subject: dbxout.c (dbxout_function): When deciding to call dbxout_function_end change test... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d2cba896e1a0bee36ee2367efa943efbf0036577;p=gcc.git 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 --- 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 }