summaryrefslogtreecommitdiffstats
path: root/crypto/perlasm
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>2000-12-06 00:19:09 +0000
committerUlf Möller <ulf@openssl.org>2000-12-06 00:19:09 +0000
commite4d56bab5bee1f18b9bf462794e49c47bc192321 (patch)
tree3cc5847a357d160a9e5b664132133324c7eb77ef /crypto/perlasm
parent1435ccfba1ad18d9b29e77e807d6a589c58d51de (diff)
move constants for debug functions to end of file
Diffstat (limited to 'crypto/perlasm')
-rw-r--r--crypto/perlasm/x86unix.pl8
1 files changed, 6 insertions, 2 deletions
diff --git a/crypto/perlasm/x86unix.pl b/crypto/perlasm/x86unix.pl
index 61b0311c92..a22994490d 100644
--- a/crypto/perlasm/x86unix.pl
+++ b/crypto/perlasm/x86unix.pl
@@ -343,11 +343,9 @@ sub main'function_end
popl %ebx
popl %ebp
ret
-$const
.${func}_end:
EOF
push(@out,$tmp);
- $const="";
if ($main'cpp)
{ push(@out,"\tSIZE($func,.${func}_end-$func)\n"); }
@@ -458,6 +456,12 @@ sub main'set_label
sub main'file_end
{
+ if ($const ne "")
+ {
+ push(@out,".section .rodata\n");
+ push(@out,$const);
+ $const="";
+ }
}
sub main'data_word