summaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-10-01 13:24:52 -0700
committerRichard Henderson <rth@gcc.gnu.org>2002-10-01 13:24:52 -0700
commit3c655f42e4e2bee3e2caeb2ddd54468e2bcdcf0a (patch)
treeb940f2ce0709e4d86cc6e6cd25af139e0a396d9e /gcc/dwarf2out.c
parentec20cffb2e77e219739a32c297b941fecab85dab (diff)
downloadgcc-3c655f42e4e2bee3e2caeb2ddd54468e2bcdcf0a.tar.gz
dwarf2out.c (loc_descriptor_from_tree): Relax requirement for TLS debug info to !DECL_EXTERNAL.
* dwarf2out.c (loc_descriptor_from_tree): Relax requirement for TLS debug info to !DECL_EXTERNAL. From-SVN: r57706
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index a312332efd5..b8bf06bb81c 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -8062,7 +8062,7 @@ loc_descriptor_from_tree (loc, addressp)
/* The way DW_OP_GNU_push_tls_address is specified, we can only
look up addresses of objects in the current module. */
- if (! (*targetm.binds_local_p) (loc))
+ if (DECL_EXTERNAL (loc))
return 0;
rtl = rtl_for_decl_location (loc);