aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfcode.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2004-11-25 02:14:10 +0000
committerH.J. Lu <hjl.tools@gmail.com>2004-11-25 02:14:10 +0000
commit0be9069d288efc5ae2f2ababb6560b8543de00d1 (patch)
treef3535ccd21ce0e019c6f4037d1930fadee8aa3f5 /bfd/elfcode.h
parent47cc2cf5192b9e5ad2f7571393127d8c378f8d66 (diff)
downloadgdb-0be9069d288efc5ae2f2ababb6560b8543de00d1.zip
gdb-0be9069d288efc5ae2f2ababb6560b8543de00d1.tar.gz
gdb-0be9069d288efc5ae2f2ababb6560b8543de00d1.tar.bz2
2004-11-24 H.J. Lu <hongjiu.lu@intel.com>
PR 574: * elfcode.h (elf_slurp_symbol_table): Handle STT_TLS.
Diffstat (limited to 'bfd/elfcode.h')
-rw-r--r--bfd/elfcode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/elfcode.h b/bfd/elfcode.h
index 45c4ea9..303e46c 100644
--- a/bfd/elfcode.h
+++ b/bfd/elfcode.h
@@ -1158,6 +1158,9 @@ elf_slurp_symbol_table (bfd *abfd, asymbol **symptrs, bfd_boolean dynamic)
case STT_OBJECT:
sym->symbol.flags |= BSF_OBJECT;
break;
+ case STT_TLS:
+ sym->symbol.flags |= BSF_THREAD_LOCAL;
+ break;
}
if (dynamic)