From 02312a91ca64f4c035aae6dffba4be96488c313b Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Mon, 22 Mar 2010 20:58:43 +0000 Subject: [PATCH] ppc.pl: assembler Y chokes on apostrophes in comment. --- crypto/bn/asm/ppc.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crypto/bn/asm/ppc.pl b/crypto/bn/asm/ppc.pl index 08e0053473..806e53ad6e 100644 --- a/crypto/bn/asm/ppc.pl +++ b/crypto/bn/asm/ppc.pl @@ -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); } -- 2.25.1