diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/dwarf2out.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d1a6dda..a164c7a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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> diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index a312332..b8bf06b 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); |
