forked from Imagelibrary/binutils-gdb
bfd/
* elf32-arm.c (using_thumb_only): Handle v6-M. ld/testsuite/ * ld-arm/arm-elf.exp (armeabitests): Add v6-M farcall test.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user