dwarf2out.c (loc_descriptor_from_tree): Relax requirement for TLS debug info to ...
authorRichard Henderson <rth@redhat.com>
Tue, 1 Oct 2002 20:24:52 +0000 (13:24 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 1 Oct 2002 20:24:52 +0000 (13:24 -0700)
        * dwarf2out.c (loc_descriptor_from_tree): Relax requirement
        for TLS debug info to !DECL_EXTERNAL.

From-SVN: r57706

gcc/ChangeLog
gcc/dwarf2out.c

index d1a6dda3a38d7f51cba48dc0981713da03b65c6b..a164c7a4530adffd239f298445214b5968452ec3 100644 (file)
@@ -1,3 +1,8 @@
+2002-10-01  Richard Henderson  <rth@redhat.com>
+
+       * dwarf2out.c (loc_descriptor_from_tree): Relax requirement
+       for TLS debug info to !DECL_EXTERNAL.
+
 2002-10-01  Matt Thomas  <matt@3am-software.com>
             Jason Thorpe  <thorpej@wasabisystems.com>
 
index a312332efd5c7f19dc13a6fdcd6266e08a8c64a0..b8bf06bb81ce3f2b7122fff9c4c3ab2f18bad0b5 100644 (file)
@@ -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);