From 5b8246d6eb31b88709b4fc1e1d5318be2cc0ca6f Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Thu, 7 Jan 2010 11:22:25 +0000 Subject: [PATCH] x86_64-xlate.pl: new gas requires sign extention in lea instruction [from HEAD]. PR: 2094,2095 --- crypto/perlasm/x86_64-xlate.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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})) { -- 2.25.1