aboutsummaryrefslogtreecommitdiff
path: root/contrib/binutils/gas
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2014-10-03 12:20:37 +0000
committerAndrew Turner <andrew@FreeBSD.org>2014-10-03 12:20:37 +0000
commitcb08295d5d13109f6475c4d691b845aa205935dd (patch)
tree3861d46a13404db4ccb0c70f908b0bd2d3bf46b7 /contrib/binutils/gas
parent671302a90829b9c6286a03dfd265db4816bab977 (diff)
downloadsrc-cb08295d5d13109f6475c4d691b845aa205935dd.tar.gz
src-cb08295d5d13109f6475c4d691b845aa205935dd.zip
Add all the dmb/dsb optional limitations, including the alternative values.
These are needed for some code llvm generates when targeting ARMv7.
Notes
Notes: svn path=/head/; revision=272473
Diffstat (limited to 'contrib/binutils/gas')
-rw-r--r--contrib/binutils/gas/config/tc-arm.c16
1 files changed, 12 insertions, 4 deletions
diff --git a/contrib/binutils/gas/config/tc-arm.c b/contrib/binutils/gas/config/tc-arm.c
index a74e868faf02..a57d1ba6dc16 100644
--- a/contrib/binutils/gas/config/tc-arm.c
+++ b/contrib/binutils/gas/config/tc-arm.c
@@ -14695,10 +14695,18 @@ static const struct asm_cond conds[] =
static struct asm_barrier_opt barrier_opt_names[] =
{
- { "sy", 0xf },
- { "un", 0x7 },
- { "st", 0xe },
- { "unst", 0x6 }
+ { "sy", 0xf },
+ { "un", 0x7 },
+ { "st", 0xe },
+ { "unst", 0x6 },
+ { "ish", 0xb },
+ { "sh", 0xb },
+ { "ishst", 0xa },
+ { "shst", 0xa },
+ { "nsh", 0x7 },
+ { "nshst", 0x6 },
+ { "osh", 0x3 },
+ { "oshst", 0x2 }
};
/* Table of ARM-format instructions. */