From 1a0eb69375e55ca9c55243e1ab0c1ea6e95329d2 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Fri, 27 Jan 2006 14:11:43 +0000 Subject: [PATCH] 2006-01-27 Paul Brook * elf32-arm.c (elf32_arm_get_symbol_type): Allow STT_TLS thumb objects. --- bfd/ChangeLog | 5 +++++ bfd/elf32-arm.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * elf32-arm.c (elf32_arm_get_symbol_type): Allow STT_TLS thumb + objects. + 2006-01-18 Alexandre Oliva 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; -- 2.7.4