aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2006-01-27 14:11:43 +0000
committerPaul Brook <paul@codesourcery.com>2006-01-27 14:11:43 +0000
commit1a0eb69375e55ca9c55243e1ab0c1ea6e95329d2 (patch)
tree8765c2c7822eb0e2779d10389680bf6d4d0d25e7 /bfd
parent64052d56bf276aa01987d151548729379fe475f0 (diff)
downloadgdb-1a0eb69375e55ca9c55243e1ab0c1ea6e95329d2.zip
gdb-1a0eb69375e55ca9c55243e1ab0c1ea6e95329d2.tar.gz
gdb-1a0eb69375e55ca9c55243e1ab0c1ea6e95329d2.tar.bz2
2006-01-27 Paul Brook <paul@codesourcery.com>
* elf32-arm.c (elf32_arm_get_symbol_type): Allow STT_TLS thumb objects.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-arm.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index fade6a7..ce44069 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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.
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index 9d67e54..bdac680 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -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;