This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: PR 659: i386 assemblers treats "(%ebx,%ecx,0)" as "(%ebx,%ecx,1)"


This patch will disallow "(%ebx,%ecx,0)". I will check it in shortly.


H.J.
----
2005-01-14  H.J. Lu  <hongjiu.lu@intel.com>

	PR 659	
	* config/tc-i386.c (i386_scale): Disallow 0 scale.

--- gas/config/tc-i386.c.0	2004-12-22 09:30:53.000000000 -0800
+++ gas/config/tc-i386.c	2005-01-14 11:27:06.915008639 -0800
@@ -3952,7 +3952,6 @@ i386_scale (scale)
 
   switch (val)
     {
-    case 0:
     case 1:
       i.log2_scale_factor = 0;
       break;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]