aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-arm.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2010-03-29 20:42:55 +0000
committerDaniel Jacobowitz <drow@false.org>2010-03-29 20:42:55 +0000
commit41ed1ee7a643d280824474a28074cb4c96a57a1e (patch)
treeb1cf7b2eb9b8fcd6528c9ec27732191dbe1dff17 /bfd/elf32-arm.c
parent1da644f0333980957e4156aa7de86b971126771f (diff)
downloadgdb-41ed1ee7a643d280824474a28074cb4c96a57a1e.zip
gdb-41ed1ee7a643d280824474a28074cb4c96a57a1e.tar.gz
gdb-41ed1ee7a643d280824474a28074cb4c96a57a1e.tar.bz2
bfd/
* elf32-arm.c (using_thumb_only): Handle v6-M. ld/testsuite/ * ld-arm/arm-elf.exp (armeabitests): Add v6-M farcall test.
Diffstat (limited to 'bfd/elf32-arm.c')
-rw-r--r--bfd/elf32-arm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index 565861e..cebb302 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -2985,6 +2985,9 @@ using_thumb_only (struct elf32_arm_link_hash_table *globals)
Tag_CPU_arch);
int profile;
+ if (arch == TAG_CPU_ARCH_V6_M || arch == TAG_CPU_ARCH_V6S_M)
+ return TRUE;
+
if (arch != TAG_CPU_ARCH_V7 && arch != TAG_CPU_ARCH_V7E_M)
return FALSE;