diff options
author | Paul Brook <paul@codesourcery.com> | 2006-01-27 14:11:43 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2006-01-27 14:11:43 +0000 |
commit | 1a0eb69375e55ca9c55243e1ab0c1ea6e95329d2 (patch) | |
tree | 8765c2c7822eb0e2779d10389680bf6d4d0d25e7 /bfd | |
parent | 64052d56bf276aa01987d151548729379fe475f0 (diff) | |
download | gdb-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/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf32-arm.c | 2 |
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; |