aboutsummaryrefslogtreecommitdiff
path: root/gas/expr.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/expr.c')
-rw-r--r--gas/expr.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/expr.c b/gas/expr.c
index fe2aa62..3365893 100644
--- a/gas/expr.c
+++ b/gas/expr.c
@@ -826,6 +826,12 @@ operand (expressionP)
break;
#endif
+#ifdef LITERAL_PREFIXPERCENT_BIN
+ case '%':
+ integer_constant (2, expressionP);
+ break;
+#endif
+
case '0':
/* non-decimal radix */