RFA/patch: gas/expr.c: LITERAL_PREFIXPERCENT_BIN

Frank Ch. Eigler fche@redhat.com
Mon Jul 17 07:55:00 GMT 2000


Hi -

May I commit the following patch, which adds a "%" prefix sibling for the 
recently added "$" prefix?

2000-07-17  Frank Ch. Eigler  <fche@redhat.com>

	* expr.c (operand): Permit %bin literals if LITERAL_PREFIXPERCENT_BIN
	is defined.

Index: expr.c
===================================================================
RCS file: /cvs/src/src/gas/expr.c,v
retrieving revision 1.19
diff -p -u -r1.19 expr.c
--- expr.c	2000/06/23 10:51:28	1.19
+++ expr.c	2000/07/17 14:54:32
@@ -826,6 +826,12 @@ operand (expressionP)
       break;
 #endif
 
+#ifdef LITERAL_PREFIXPERCENT_BIN
+    case '%':
+      integer_constant (2, expressionP);
+      break;
+#endif
+
     case '0':
       /* non-decimal radix */
 


More information about the Binutils mailing list