diff options
Diffstat (limited to 'src/lib/libcrypto/perlasm/x86asm.pl')
| -rw-r--r-- | src/lib/libcrypto/perlasm/x86asm.pl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libcrypto/perlasm/x86asm.pl b/src/lib/libcrypto/perlasm/x86asm.pl index 5979122158..f535c9c7fa 100644 --- a/src/lib/libcrypto/perlasm/x86asm.pl +++ b/src/lib/libcrypto/perlasm/x86asm.pl | |||
| @@ -18,9 +18,13 @@ sub main'asm_init | |||
| 18 | ($type,$fn,$i386)=@_; | 18 | ($type,$fn,$i386)=@_; |
| 19 | $filename=$fn; | 19 | $filename=$fn; |
| 20 | 20 | ||
| 21 | $elf=$cpp=$coff=$aout=$win32=$netware=$mwerks=0; | 21 | $elf=$cpp=$coff=$aout=$win32=$netware=$mwerks=$openbsd=0; |
| 22 | if ( ($type eq "elf")) | 22 | if ( ($type eq "elf")) |
| 23 | { $elf=1; require "x86unix.pl"; } | 23 | { $elf=1; require "x86unix.pl"; } |
| 24 | elsif ( ($type eq "openbsd-elf")) | ||
| 25 | { $openbsd=$elf=1; require "x86unix.pl"; } | ||
| 26 | elsif ( ($type eq "openbsd-a.out")) | ||
| 27 | { $openbsd=1; require "x86unix.pl"; } | ||
| 24 | elsif ( ($type eq "a.out")) | 28 | elsif ( ($type eq "a.out")) |
| 25 | { $aout=1; require "x86unix.pl"; } | 29 | { $aout=1; require "x86unix.pl"; } |
| 26 | elsif ( ($type eq "coff" or $type eq "gaswin")) | 30 | elsif ( ($type eq "coff" or $type eq "gaswin")) |
| @@ -44,6 +48,8 @@ Pick one target type from | |||
| 44 | coff - GAS/COFF such as Win32 targets | 48 | coff - GAS/COFF such as Win32 targets |
| 45 | win32 - Windows 95/Windows NT | 49 | win32 - Windows 95/Windows NT |
| 46 | win32n - Windows 95/Windows NT NASM format | 50 | win32n - Windows 95/Windows NT NASM format |
| 51 | openbsd-elf - OpenBSD elf | ||
| 52 | openbsd-a.out - OpenBSD a.out | ||
| 47 | nw-nasm - NetWare NASM format | 53 | nw-nasm - NetWare NASM format |
| 48 | nw-mwasm- NetWare Metrowerks Assembler | 54 | nw-mwasm- NetWare Metrowerks Assembler |
| 49 | EOF | 55 | EOF |
