diff options
author | Andy Polyakov <appro@openssl.org> | 2005-09-20 06:13:06 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2005-09-20 06:13:06 +0000 |
commit | 9ddeefe39d23ffe7559acc98722ab6dc5ed4f72d (patch) | |
tree | 408d2d463d1c2d2df446269cb09e78c8b06df8ce /crypto/perlasm | |
parent | 0293371a1bf9e64b08a9c93c4203dfb7dc7e2266 (diff) | |
download | openssl-new-9ddeefe39d23ffe7559acc98722ab6dc5ed4f72d.tar.gz |
Proper solution to nasm compilation problems in Borland context.
Diffstat (limited to 'crypto/perlasm')
-rw-r--r-- | crypto/perlasm/x86nasm.pl | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/crypto/perlasm/x86nasm.pl b/crypto/perlasm/x86nasm.pl index ab5b96c6c2..331f18bb22 100644 --- a/crypto/perlasm/x86nasm.pl +++ b/crypto/perlasm/x86nasm.pl @@ -263,7 +263,16 @@ sub using486 sub main'file { if ($main'mwerks) { push(@out,".section\t.text\n"); } - else { push(@out,"section\t.text use32\n"); } + else { + local $tmp=<<___; +%ifdef __omf__ +section code use32 class=code +%else +section .text +%endif +___ + push(@out,$tmp); + } } sub main'function_begin |