From 3c655f42e4e2bee3e2caeb2ddd54468e2bcdcf0a Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 1 Oct 2002 13:24:52 -0700 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/dwarf2out.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d1a6dda3a38..a164c7a4530 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-10-01 Richard Henderson + + * dwarf2out.c (loc_descriptor_from_tree): Relax requirement + for TLS debug info to !DECL_EXTERNAL. + 2002-10-01 Matt Thomas Jason Thorpe 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); -- 2.30.2