summaryrefslogtreecommitdiff
path: root/gcc/dbxout.c
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1993-11-04 08:21:35 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1993-11-04 08:21:35 +0000
commitbcfbda841ab1be06971b081c0a9743c814b85769 (patch)
tree33577b10600c1310fca3b3fa4f8db52157b08cdd /gcc/dbxout.c
parent792517ef633caf49a025f01c91ccf8c7739bf62d (diff)
downloadgcc-bcfbda841ab1be06971b081c0a9743c814b85769.tar.gz
(dbxout_symbol_location): Test DECL_IN_TEXT_SECTION.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5990 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r--gcc/dbxout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 8308ab8fd69..2a9cc962fec 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -1796,7 +1796,7 @@ dbxout_symbol_location (decl, type, suffix, home)
if (!DECL_INITIAL (decl))
current_sym_code = N_LCSYM;
- else if (in_text_section ())
+ else if (DECL_IN_TEXT_SECTION (decl))
/* This is not quite right, but it's the closest
of all the codes that Unix defines. */
current_sym_code = DBX_STATIC_CONST_VAR_CODE;