diff options
author | beck <> | 2000-04-15 06:18:51 +0000 |
---|---|---|
committer | beck <> | 2000-04-15 06:18:51 +0000 |
commit | b608c7f2b175e121f2c22d53341a317153afdc8e (patch) | |
tree | e94b160b3fcd8180df79e4251d68d24d665f0195 /src/lib/libcrypto/perlasm/x86unix.pl | |
parent | c8d6701c396cebdcd0d45eac73b762e9498f6b01 (diff) | |
download | openbsd-b608c7f2b175e121f2c22d53341a317153afdc8e.tar.gz openbsd-b608c7f2b175e121f2c22d53341a317153afdc8e.tar.bz2 openbsd-b608c7f2b175e121f2c22d53341a317153afdc8e.zip |
OpenSSL 0.9.5a merge
Diffstat (limited to 'src/lib/libcrypto/perlasm/x86unix.pl')
-rw-r--r-- | src/lib/libcrypto/perlasm/x86unix.pl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/libcrypto/perlasm/x86unix.pl b/src/lib/libcrypto/perlasm/x86unix.pl index 60d75f5ce4..309060ea00 100644 --- a/src/lib/libcrypto/perlasm/x86unix.pl +++ b/src/lib/libcrypto/perlasm/x86unix.pl | |||
@@ -292,6 +292,8 @@ EOF | |||
292 | push(@out,$tmp); | 292 | push(@out,$tmp); |
293 | if ($main'cpp) | 293 | if ($main'cpp) |
294 | { $tmp=push(@out,"\tTYPE($func,\@function)\n"); } | 294 | { $tmp=push(@out,"\tTYPE($func,\@function)\n"); } |
295 | elsif ($main'gaswin) | ||
296 | { $tmp=push(@out,"\t.def\t$func;\t.scl\t2;\t.type\t32;\t.endef\n"); } | ||
295 | else { $tmp=push(@out,"\t.type\t$func,\@function\n"); } | 297 | else { $tmp=push(@out,"\t.type\t$func,\@function\n"); } |
296 | push(@out,"$func:\n"); | 298 | push(@out,"$func:\n"); |
297 | $tmp=<<"EOF"; | 299 | $tmp=<<"EOF"; |
@@ -320,6 +322,8 @@ EOF | |||
320 | push(@out,$tmp); | 322 | push(@out,$tmp); |
321 | if ($main'cpp) | 323 | if ($main'cpp) |
322 | { push(@out,"\tTYPE($func,\@function)\n"); } | 324 | { push(@out,"\tTYPE($func,\@function)\n"); } |
325 | elsif ($main'gaswin) | ||
326 | { $tmp=push(@out,"\t.def\t$func;\t.scl\t2;\t.type\t32;\t.endef\n"); } | ||
323 | else { push(@out,"\t.type $func,\@function\n"); } | 327 | else { push(@out,"\t.type $func,\@function\n"); } |
324 | push(@out,"$func:\n"); | 328 | push(@out,"$func:\n"); |
325 | $stack=4; | 329 | $stack=4; |
@@ -342,6 +346,8 @@ EOF | |||
342 | push(@out,$tmp); | 346 | push(@out,$tmp); |
343 | if ($main'cpp) | 347 | if ($main'cpp) |
344 | { push(@out,"\tSIZE($func,.${func}_end-$func)\n"); } | 348 | { push(@out,"\tSIZE($func,.${func}_end-$func)\n"); } |
349 | elsif ($main'gaswin) | ||
350 | { $tmp=push(@out,"\t.align 4\n"); } | ||
345 | else { push(@out,"\t.size\t$func,.${func}_end-$func\n"); } | 351 | else { push(@out,"\t.size\t$func,.${func}_end-$func\n"); } |
346 | push(@out,".ident \"$func\"\n"); | 352 | push(@out,".ident \"$func\"\n"); |
347 | $stack=0; | 353 | $stack=0; |
@@ -371,6 +377,8 @@ sub main'function_end_B | |||
371 | push(@out,".L_${func}_end:\n"); | 377 | push(@out,".L_${func}_end:\n"); |
372 | if ($main'cpp) | 378 | if ($main'cpp) |
373 | { push(@out,"\tSIZE($func,.L_${func}_end-$func)\n"); } | 379 | { push(@out,"\tSIZE($func,.L_${func}_end-$func)\n"); } |
380 | elsif ($main'gaswin) | ||
381 | { push(@out,"\t.align 4\n"); } | ||
374 | else { push(@out,"\t.size\t$func,.L_${func}_end-$func\n"); } | 382 | else { push(@out,"\t.size\t$func,.L_${func}_end-$func\n"); } |
375 | push(@out,".ident \"desasm.pl\"\n"); | 383 | push(@out,".ident \"desasm.pl\"\n"); |
376 | $stack=0; | 384 | $stack=0; |