aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-arm.c
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/elf32-arm.c
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/elf32-arm.c')
-rw-r--r--bfd/elf32-arm.c2
1 files changed, 1 insertions, 1 deletions
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;