From 0be9069d288efc5ae2f2ababb6560b8543de00d1 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 25 Nov 2004 02:14:10 +0000 Subject: [PATCH] 2004-11-24 H.J. Lu PR 574: * elfcode.h (elf_slurp_symbol_table): Handle STT_TLS. --- bfd/ChangeLog | 5 +++++ bfd/elfcode.h | 3 +++ 2 files changed, 8 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 69ae520085e..2ba9b4e645e 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2004-11-24 H.J. Lu + + PR 574: + * elfcode.h (elf_slurp_symbol_table): Handle STT_TLS. + 2004-11-24 Paul Brook * elf.c (assign_section_numbers): Number SHT_GROUP sections first. diff --git a/bfd/elfcode.h b/bfd/elfcode.h index 45c4ea9fb5e..303e46c7ba4 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) -- 2.30.2