summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/gas/config/tc-arm.c
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2014-06-13 12:41:24 -0700
committerAndrew Hsieh <andrewhsieh@google.com>2014-06-13 12:41:24 -0700
commitbcfb04363768d7eb2910bbefb263effae28ace10 (patch)
treeae6a83c097abff3d8925159b3c1d50138059f556 /binutils-2.25/gas/config/tc-arm.c
parent54f1b3cf509cd889905287cb8ce6c5ae33911a21 (diff)
downloadtoolchain_binutils-bcfb04363768d7eb2910bbefb263effae28ace10.tar.gz
toolchain_binutils-bcfb04363768d7eb2910bbefb263effae28ace10.tar.bz2
toolchain_binutils-bcfb04363768d7eb2910bbefb263effae28ace10.zip
[2.25] apply local patches
7a17fb955bb42018c3c84e003700ac120c3502d4 b2a417bdb17191ef2afc20bbd308e308c0730403 e0bca373a85fa71b89d9ea42370433b3c0499b9d 57fbbfbda5a77b558c24a44e7eed8c4030c31bcd 160ce55a90bcdcb3000d74805795969edc3f8422 b33d0ddc123435be5e60ebb15a37b3bfb651dc7e f25603579c0a04b3d5099259cf54c5b3c8775b78 1000fadfaa979b623e1fbd0c87858be4f5b6dffd 83cabeb81083ac53719eaaf68c48734ff9c48fa9 Change-Id: I174be6632426ed720e643bca7c48a9077b31d34b
Diffstat (limited to 'binutils-2.25/gas/config/tc-arm.c')
-rw-r--r--binutils-2.25/gas/config/tc-arm.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/binutils-2.25/gas/config/tc-arm.c b/binutils-2.25/gas/config/tc-arm.c
index f97c3072..d170f43d 100644
--- a/binutils-2.25/gas/config/tc-arm.c
+++ b/binutils-2.25/gas/config/tc-arm.c
@@ -11130,9 +11130,16 @@ do_t_mov_cmp (void)
results. Don't allow this. */
if (low_regs)
{
+/* Silence this error for now because clang generates "MOV" two low regs in
+ unified syntax for thumb1, and expects CPSR are not affected. This check
+ doesn't exist in binutils-2.21 with gcc 4.6. The thumb1 code generated by
+ clang will continue to have problem running on v5t but not on v6 and beyond.
+*/
+#if 0
constraint (!ARM_CPU_HAS_FEATURE (cpu_variant, arm_ext_v6),
"MOV Rd, Rs with two low registers is not "
"permitted on this architecture");
+#endif
ARM_MERGE_FEATURE_SETS (thumb_arch_used, thumb_arch_used,
arm_ext_v6);
}