ppc.pl: assembler Y chokes on apostrophes in comment.
authorAndy Polyakov <appro@openssl.org>
Mon, 22 Mar 2010 20:58:43 +0000 (20:58 +0000)
committerAndy Polyakov <appro@openssl.org>
Mon, 22 Mar 2010 20:58:43 +0000 (20:58 +0000)
crypto/bn/asm/ppc.pl

index 08e0053473881033cb251a2697c97c799f8fc61c..806e53ad6e1d005d138148c0d09bba9f14bc7633 100644 (file)
@@ -2074,5 +2074,7 @@ EOF
        $data =~ s/^(\s*)cmplw(\s+)([^,]+),(.*)/$1cmpl$2$3,0,$4/gm;
        # assembler X doesn't accept li, load immediate value
        #$data =~ s/^(\s*)li(\s+)([^,]+),(.*)/$1addi$2$3,0,$4/gm;
+       # assembler Y chokes on apostrophes in comments
+       $data =~ s/'//gm;
        return($data);
 }