From: Andy Polyakov Date: Thu, 7 Jan 2010 11:22:25 +0000 (+0000) Subject: x86_64-xlate.pl: new gas requires sign extention in lea instruction X-Git-Tag: OpenSSL_0_9_8m-beta1~16 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5b8246d6eb31b88709b4fc1e1d5318be2cc0ca6f;p=oweals%2Fopenssl.git x86_64-xlate.pl: new gas requires sign extention in lea instruction [from HEAD]. PR: 2094,2095 --- diff --git a/crypto/perlasm/x86_64-xlate.pl b/crypto/perlasm/x86_64-xlate.pl index a4af769b4a..e702674143 100755 --- a/crypto/perlasm/x86_64-xlate.pl +++ b/crypto/perlasm/x86_64-xlate.pl @@ -189,7 +189,8 @@ my $current_function; if (!$masm) { # Solaris /usr/ccs/bin/as can't handle multiplications # in $self->{label} - $self->{label} =~ s/(?{label} =~ s/(?>32/egi; $self->{label} =~ s/([0-9]+\s*[\*\/\%]\s*[0-9]+)/eval($1)/eg; if (defined($self->{index})) {