Accept digits in symbol names. Spotted by Brian Havard <brianh@kheldar.apana.org.au>
authorRichard Levitte <levitte@openssl.org>
Mon, 4 Jun 2001 16:34:39 +0000 (16:34 +0000)
committerRichard Levitte <levitte@openssl.org>
Mon, 4 Jun 2001 16:34:39 +0000 (16:34 +0000)
crypto/perlasm/x86unix.pl

index 309060ea001856b9eb8616b0edadffeb9b8660c4..10a7af8bffd09fcda0bc8057ebb3254b4ef11c2b 100644 (file)
@@ -79,7 +79,7 @@ sub main'DWP
        local($addr,$reg1,$reg2,$idx)=@_;
 
        $ret="";
-       $addr =~ s/(^|[+ \t])([A-Za-z_]+)($|[+ \t])/$1$under$2$3/;
+       $addr =~ s/(^|[+ \t])([A-Za-z_]+[A-Za-z0-9_]+)($|[+ \t])/$1$under$2$3/;
        $reg1="$regs{$reg1}" if defined($regs{$reg1});
        $reg2="$regs{$reg2}" if defined($regs{$reg2});
        $ret.=$addr if ($addr ne "") && ($addr ne 0);