mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-22 16:03:31 +08:00
2010-03-30 Doug Kwan <dougkwan@google.com>
* arm.cc (Target_arm::using_thumb_only): Handle v6-M
This commit is contained in:
parent
a9ef41a703
commit
323c532fae
@ -1,3 +1,7 @@
|
||||
2010-03-30 Doug Kwan <dougkwan@google.com>
|
||||
|
||||
* arm.cc (Target_arm::using_thumb_only): Handle v6-M
|
||||
|
||||
2010-03-25 Doug Kwan <dougkwan@google.com>
|
||||
|
||||
* gold/arm.cc (Arm_exidx_fixup::update_offset_map): Rearrange code
|
||||
|
@ -2053,6 +2053,10 @@ class Target_arm : public Sized_target<32, big_endian>
|
||||
{
|
||||
Object_attribute* attr =
|
||||
this->get_aeabi_object_attribute(elfcpp::Tag_CPU_arch);
|
||||
|
||||
if (attr->int_value() == elfcpp::TAG_CPU_ARCH_V6_M
|
||||
|| attr->int_value() == elfcpp::TAG_CPU_ARCH_V6S_M)
|
||||
return true;
|
||||
if (attr->int_value() != elfcpp::TAG_CPU_ARCH_V7
|
||||
&& attr->int_value() != elfcpp::TAG_CPU_ARCH_V7E_M)
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user