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 922d1a2..13e6120 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);