DES PIC-ification. "Cygwin" companion. Problem was that preprocessor macro
authorAndy Polyakov <appro@openssl.org>
Sun, 15 Dec 2002 10:06:27 +0000 (10:06 +0000)
committerAndy Polyakov <appro@openssl.org>
Sun, 15 Dec 2002 10:06:27 +0000 (10:06 +0000)
is not expanded if prepended with a $-sign.

crypto/perlasm/x86unix.pl

index 922d1a22ae404ac81fca3c7161f515c9aab4490a..13e61209388cf4bfa2dd5b786bbcceaf31b514d5 100644 (file)
@@ -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);