diff options
author | Andy Polyakov <appro@openssl.org> | 2008-07-22 08:44:31 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2008-07-22 08:44:31 +0000 |
commit | b94551e823599dee6c47dd8a60c1be416b404592 (patch) | |
tree | c7d7aca87b00780a6475f838d773b8fb43a21f1b /crypto/perlasm/x86nasm.pl | |
parent | 9b634c9b37afc482a8dc8868e367bdd1b650e507 (diff) |
perlasm update: implement dataseg directive.
Diffstat (limited to 'crypto/perlasm/x86nasm.pl')
-rw-r--r-- | crypto/perlasm/x86nasm.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/perlasm/x86nasm.pl b/crypto/perlasm/x86nasm.pl index dadbfe0c2c..ce2bed9bb2 100644 --- a/crypto/perlasm/x86nasm.pl +++ b/crypto/perlasm/x86nasm.pl @@ -158,4 +158,9 @@ ___ } } +sub ::dataseg +{ if ($mwerks) { push(@out,".section\t.data,4\n"); } + else { push(@out,"section\t.data align=4\n"); } +} + 1; |