diff options
author | miod <> | 2023-01-30 19:26:16 +0000 |
---|---|---|
committer | miod <> | 2023-01-30 19:26:16 +0000 |
commit | c9a6f631fe3a9bc3fe65bc3f9469a8fb92d1e690 (patch) | |
tree | d4957583e0b46b3c84f2ac4982dea09915477fec /src | |
parent | 4a30ed59b2e0fe870e10bd613ad40e58711cd16c (diff) | |
download | openbsd-c9a6f631fe3a9bc3fe65bc3f9469a8fb92d1e690.tar.gz openbsd-c9a6f631fe3a9bc3fe65bc3f9469a8fb92d1e690.tar.bz2 openbsd-c9a6f631fe3a9bc3fe65bc3f9469a8fb92d1e690.zip |
Fix logic of picmeup() to only produce one set of statements on OpenBSD; this
got accidentally lost in 1.4.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/perlasm/x86gas.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/perlasm/x86gas.pl b/src/lib/libcrypto/perlasm/x86gas.pl index c21cda9a6a..ca644ba553 100644 --- a/src/lib/libcrypto/perlasm/x86gas.pl +++ b/src/lib/libcrypto/perlasm/x86gas.pl | |||
@@ -189,7 +189,7 @@ sub ::picmeup | |||
189 | &::lea($dst,&::DWP($sym)); | 189 | &::lea($dst,&::DWP($sym)); |
190 | &::emitraw("#endif /* PIC */"); | 190 | &::emitraw("#endif /* PIC */"); |
191 | } | 191 | } |
192 | if (($::pic && ($::elf || $::aout)) || $::macosx) | 192 | elsif (($::pic && ($::elf || $::aout)) || $::macosx) |
193 | { if (!defined($base)) | 193 | { if (!defined($base)) |
194 | { &::call(&::label("PIC_me_up")); | 194 | { &::call(&::label("PIC_me_up")); |
195 | &::set_label("PIC_me_up"); | 195 | &::set_label("PIC_me_up"); |