summaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-10-01 20:24:52 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-10-01 20:24:52 +0000
commit55bceb4199300dc5d8b4528bb9251d8e9d789f35 (patch)
treeb940f2ce0709e4d86cc6e6cd25af139e0a396d9e /gcc/dwarf2out.c
parent83accbc0d8c7414cba0520ed917f6ba1819af322 (diff)
downloadgcc-55bceb4199300dc5d8b4528bb9251d8e9d789f35.tar.gz
* dwarf2out.c (loc_descriptor_from_tree): Relax requirement
for TLS debug info to !DECL_EXTERNAL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57706 138bc75d-0d04-0410-961f-82ee72b054a4
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);