From: Andy Polyakov Date: Sun, 15 Dec 2002 10:06:27 +0000 (+0000) Subject: DES PIC-ification. "Cygwin" companion. Problem was that preprocessor macro X-Git-Tag: OpenSSL_0_9_7a~86^2~96 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=a45051fbfc5b1e64e751af60e0879973e38e56df DES PIC-ification. "Cygwin" companion. Problem was that preprocessor macro is not expanded if prepended with a $-sign. --- diff --git a/crypto/perlasm/x86unix.pl b/crypto/perlasm/x86unix.pl index 922d1a22ae..13e6120938 100644 --- a/crypto/perlasm/x86unix.pl +++ b/crypto/perlasm/x86unix.pl @@ -554,7 +554,7 @@ sub main'picmeup addl \$_GLOBAL_OFFSET_TABLE_+[.-1b],$regs{$dst} movl $sym\@GOT($regs{$dst}),$regs{$dst} #else - movl \$$sym,$regs{$dst} + leal $sym,$regs{$dst} #endif ___ push(@out,$tmp);