summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/gas/config/tc-arm.c
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2014-12-09 19:31:31 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2014-12-09 19:53:01 +0800
commitd6a74de3e11d305ca3159263839e6974c5c46d6e (patch)
tree395238ebe7e43b7ee66ba75b9397a46d1ca38e8e /binutils-2.25/gas/config/tc-arm.c
parent5e8c1cf25beccac1d22d10dc866912394f42771b (diff)
downloadtoolchain_binutils-d6a74de3e11d305ca3159263839e6974c5c46d6e.tar.gz
toolchain_binutils-d6a74de3e11d305ca3159263839e6974c5c46d6e.tar.bz2
toolchain_binutils-d6a74de3e11d305ca3159263839e6974c5c46d6e.zip
[2.25] re-apply local patches
e0bca373a85fa71b89d9ea42370433b3c0499b9d 160ce55a90bcdcb3000d74805795969edc3f8422 b33d0ddc123435be5e60ebb15a37b3bfb651dc7e f25603579c0a04b3d5099259cf54c5b3c8775b78 1000fadfaa979b623e1fbd0c87858be4f5b6dffd 83cabeb81083ac53719eaaf68c48734ff9c48fa9 Change-Id: I15f9c78c69f4cfce7a617b7e9d91dd855b6d8efc
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 5077f87e..a3d0321b 100644
--- a/binutils-2.25/gas/config/tc-arm.c
+++ b/binutils-2.25/gas/config/tc-arm.c
@@ -11688,9 +11688,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);
}