aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/expr.c6
2 files changed, 11 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index e03dbb9..207a576 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2000-07-17 Frank Ch. Eigler <fche@redhat.com>
+
+ * expr.c (operand): Permit %bin literals if LITERAL_PREFIXPERCENT_BIN
+ is defined.
+
2000-07-15 Ian Lance Taylor <ian@zembu.com>
* doc/c-mips.texi (MIPS Opts): Remove erroneous space after
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 */