diff options
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elfcode.h | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 69ae520..2ba9b4e 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2004-11-24 H.J. Lu <hongjiu.lu@intel.com> + + PR 574: + * elfcode.h (elf_slurp_symbol_table): Handle STT_TLS. + 2004-11-24 Paul Brook <paul@codesourcery.com> * elf.c (assign_section_numbers): Number SHT_GROUP sections first. 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) |