summaryrefslogtreecommitdiffstats
path: root/crypto/perlasm
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2002-12-15 10:06:27 +0000
committerAndy Polyakov <appro@openssl.org>2002-12-15 10:06:27 +0000
commita45051fbfc5b1e64e751af60e0879973e38e56df (patch)
tree8c7540f86afe29d84b72bc5e1f7e4df7e73fb8ec /crypto/perlasm
parentec9f67f6101a77d70236e98c8ef163d6982536bb (diff)
DES PIC-ification. "Cygwin" companion. Problem was that preprocessor macro
is not expanded if prepended with a $-sign.
Diffstat (limited to 'crypto/perlasm')
-rw-r--r--crypto/perlasm/x86unix.pl2
1 files changed, 1 insertions, 1 deletions
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);