summaryrefslogtreecommitdiffstats
path: root/gcc/dbxout.c
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1996-05-06 22:51:59 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1996-05-06 22:51:59 +0000
commitf6c9f17e00203a38dabaf94b66e7443f887e2289 (patch)
tree08e271418fde76fca2fde3c53c04f205930bcdaf /gcc/dbxout.c
parentd78bba10df33ac29a5616e2c0effb8589ae12385 (diff)
downloadppe42-gcc-f6c9f17e00203a38dabaf94b66e7443f887e2289.tar.gz
ppe42-gcc-f6c9f17e00203a38dabaf94b66e7443f887e2289.zip
* dbxout.c (dbxout_function): When deciding to call dbxout_function_end
change test from flag_function_sections to DECL_SECTION_NAME != NULL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11946 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r--gcc/dbxout.c3
1 files changed, 2 insertions, 1 deletions
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
}
OpenPOWER on IntegriCloud