diff options
author | Doug Evans <dje@gnu.org> | 1996-05-06 22:51:59 +0000 |
---|---|---|
committer | Doug Evans <dje@gnu.org> | 1996-05-06 22:51:59 +0000 |
commit | d2cba896e1a0bee36ee2367efa943efbf0036577 (patch) | |
tree | 08e271418fde76fca2fde3c53c04f205930bcdaf /gcc/dbxout.c | |
parent | 6f2f3db7d08afa112dd04e3542c5b166573073a9 (diff) | |
download | gcc-d2cba896e1a0bee36ee2367efa943efbf0036577.zip gcc-d2cba896e1a0bee36ee2367efa943efbf0036577.tar.gz gcc-d2cba896e1a0bee36ee2367efa943efbf0036577.tar.bz2 |
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
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r-- | gcc/dbxout.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 9831cdd..83b8159 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 } |