summaryrefslogtreecommitdiffstats
path: root/contrib/binutils
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2014-10-03 12:14:19 +0000
committerandrew <andrew@FreeBSD.org>2014-10-03 12:14:19 +0000
commitf0e3c22cf57a7ddad611274bf62009be3edc7953 (patch)
treeb522f8e00a054b28f37ab6a9a92e9def4299a3f2 /contrib/binutils
parent04f680ae6f731138914f30fa11773c36be432a30 (diff)
downloadFreeBSD-src-f0e3c22cf57a7ddad611274bf62009be3edc7953.zip
FreeBSD-src-f0e3c22cf57a7ddad611274bf62009be3edc7953.tar.gz
Allow the optional limitation on dmb instructions as is already the case
with dsb instructions.
Diffstat (limited to 'contrib/binutils')
-rw-r--r--contrib/binutils/gas/config/tc-arm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/binutils/gas/config/tc-arm.c b/contrib/binutils/gas/config/tc-arm.c
index 08dbb6f..a74e868 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;
OpenPOWER on IntegriCloud