projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
081be30
)
(dbxout_symbol_location): Call in_text_section
author
Richard Stallman
<rms@gnu.org>
Sun, 18 Jul 1993 06:06:45 +0000
(06:06 +0000)
committer
Richard Stallman
<rms@gnu.org>
Sun, 18 Jul 1993 06:06:45 +0000
(06:06 +0000)
to decide whether to use DBX_STATIC_CONST_VAR_CODE.
From-SVN: r4933
gcc/dbxout.c
patch
|
blob
|
history
diff --git
a/gcc/dbxout.c
b/gcc/dbxout.c
index c2afd68921c7593b00ded71252a9f1eff0a433e9..1bf21af37009aad9b7d221683798dc34fdb115d8 100644
(file)
--- a/
gcc/dbxout.c
+++ b/
gcc/dbxout.c
@@
-1747,7
+1747,7
@@
dbxout_symbol_location (decl, type, suffix, home)
if (!DECL_INITIAL (decl))
current_sym_code = N_LCSYM;
- else if (
TREE_READONLY (decl) && ! TREE_THIS_VOLATILE (decl
))
+ else if (
in_text_section (
))
/* 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;