aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-11-04 08:21:35 +0000
committerRichard Stallman <rms@gnu.org>1993-11-04 08:21:35 +0000
commitdddfb74b0b7599fd4e093b69f7f413a4eec1c31b (patch)
tree33577b10600c1310fca3b3fa4f8db52157b08cdd
parent346d29dc36fc8a1786f8be94c7fb9dec98354459 (diff)
downloadgcc-dddfb74b0b7599fd4e093b69f7f413a4eec1c31b.zip
gcc-dddfb74b0b7599fd4e093b69f7f413a4eec1c31b.tar.gz
gcc-dddfb74b0b7599fd4e093b69f7f413a4eec1c31b.tar.bz2
(dbxout_symbol_location): Test DECL_IN_TEXT_SECTION.
From-SVN: r5990
-rw-r--r--gcc/dbxout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 8308ab8..2a9cc96 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;