2006-01-27 Paul Brook <paul@codesourcery.com>
authorPaul Brook <paul@codesourcery.com>
Fri, 27 Jan 2006 14:11:43 +0000 (14:11 +0000)
committerPaul Brook <paul@codesourcery.com>
Fri, 27 Jan 2006 14:11:43 +0000 (14:11 +0000)
* elf32-arm.c (elf32_arm_get_symbol_type): Allow STT_TLS thumb
objects.

bfd/ChangeLog
bfd/elf32-arm.c

index fade6a7..ce44069 100644 (file)
@@ -1,3 +1,8 @@
+2006-01-27  Paul Brook  <paul@codesourcery.com>
+
+       * elf32-arm.c (elf32_arm_get_symbol_type): Allow STT_TLS thumb
+       objects.
+
 2006-01-18  Alexandre Oliva  <aoliva@redhat.com>
 
        Introduce TLS descriptors for i386 and x86_64.
index 9d67e54..bdac680 100644 (file)
@@ -5371,7 +5371,7 @@ elf32_arm_get_symbol_type (Elf_Internal_Sym * elf_sym, int type)
         This allows us to distinguish between data used by Thumb instructions
         and non-data (which is probably code) inside Thumb regions of an
         executable.  */
-      if (type != STT_OBJECT)
+      if (type != STT_OBJECT && type != STT_TLS)
        return ELF_ST_TYPE (elf_sym->st_info);
       break;