summaryrefslogtreecommitdiffstats
path: root/contrib/binutils
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2014-10-03 12:20:37 +0000
committerandrew <andrew@FreeBSD.org>2014-10-03 12:20:37 +0000
commit5b5794dafb7a69e42733ef0870ee37f0e82b8457 (patch)
tree3861d46a13404db4ccb0c70f908b0bd2d3bf46b7 /contrib/binutils
parentf0e3c22cf57a7ddad611274bf62009be3edc7953 (diff)
downloadFreeBSD-src-5b5794dafb7a69e42733ef0870ee37f0e82b8457.zip
FreeBSD-src-5b5794dafb7a69e42733ef0870ee37f0e82b8457.tar.gz
Add all the dmb/dsb optional limitations, including the alternative values.
These are needed for some code llvm generates when targeting ARMv7.
Diffstat (limited to 'contrib/binutils')
-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 a74e868..a57d1ba 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. */
OpenPOWER on IntegriCloud