Commit 3c655f42 by Richard Henderson Committed by Richard Henderson

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
parent ec20cffb
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> 2002-10-01 Matt Thomas <matt@3am-software.com>
Jason Thorpe <thorpej@wasabisystems.com> Jason Thorpe <thorpej@wasabisystems.com>
......
...@@ -8062,7 +8062,7 @@ loc_descriptor_from_tree (loc, addressp) ...@@ -8062,7 +8062,7 @@ loc_descriptor_from_tree (loc, addressp)
/* The way DW_OP_GNU_push_tls_address is specified, we can only /* The way DW_OP_GNU_push_tls_address is specified, we can only
look up addresses of objects in the current module. */ look up addresses of objects in the current module. */
if (! (*targetm.binds_local_p) (loc)) if (DECL_EXTERNAL (loc))
return 0; return 0;
rtl = rtl_for_decl_location (loc); rtl = rtl_for_decl_location (loc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment