Just in case somebody had my same troubles...

Andrea

---------- Forwarded message ----------
Date: Sat, 26 Feb 2000 16:15:28 +0100 (CET)
From: Andrea Arcangeli <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: wrong strspn in alpha md_compile

This patch fixes a bug in the strspn pattern that was harming me. 6 is
present in wh64 and 19 are present in some palxx opcode. The sh64 is
alomost harmless since the source doesn't compile. The palxx opcodes
instead was miscompiled as pal.

--- binutils-2.9.1.0.25/gas/config/tc-alpha.c.~1~       Wed Apr 21 23:44:17 1999
+++ binutils-2.9.1.0.25/gas/config/tc-alpha.c   Sat Feb 26 16:07:57 2000
@@ -817,7 +817,7 @@
   int ntok, opnamelen, trunclen;
 
   /* split off the opcode */
-  opnamelen = strspn (str, "abcdefghijklmnopqrstuvwxyz_/48");
+  opnamelen = strspn (str, "abcdefghijklmnopqrstuvwxyz_/48619");
   trunclen = (opnamelen < sizeof (opname) - 1
              ? opnamelen
              : sizeof (opname) - 1);

Andrea

Reply via email to