From 671302a90829b9c6286a03dfd265db4816bab977 Mon Sep 17 00:00:00 2001 From: Andrew Turner Date: Fri, 3 Oct 2014 12:14:19 +0000 Subject: [PATCH] Allow the optional limitation on dmb instructions as is already the case with dsb instructions. --- contrib/binutils/gas/config/tc-arm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/binutils/gas/config/tc-arm.c b/contrib/binutils/gas/config/tc-arm.c index 08dbb6fff88..a74e868faf0 100644 --- a/contrib/binutils/gas/config/tc-arm.c +++ b/contrib/binutils/gas/config/tc-arm.c @@ -6571,6 +6571,7 @@ do_barrier (void) if (inst.operands[0].present) { constraint ((inst.instruction & 0xf0) != 0x40 + && (inst.instruction & 0xf0) != 0x50 && inst.operands[0].imm != 0xf, "bad barrier type"); inst.instruction |= inst.operands[0].imm;