diff options
author | miod <> | 2014-04-17 20:17:45 +0000 |
---|---|---|
committer | miod <> | 2014-04-17 20:17:45 +0000 |
commit | e3fc9c40a3ddca5774c9d4f26e3cd8d2d76dfc34 (patch) | |
tree | fc3da8c8b6c8f15792563161ab289bca4f145d79 /src/lib/libcrypto/perlasm/x86asm.pl | |
parent | 585c7d218a6a897c19af7772e5b441680146eafa (diff) | |
download | openbsd-e3fc9c40a3ddca5774c9d4f26e3cd8d2d76dfc34.tar.gz openbsd-e3fc9c40a3ddca5774c9d4f26e3cd8d2d76dfc34.tar.bz2 openbsd-e3fc9c40a3ddca5774c9d4f26e3cd8d2d76dfc34.zip |
Stop paying lip service to non-AT&T syntax assemblers in the x86 world.
Diffstat (limited to 'src/lib/libcrypto/perlasm/x86asm.pl')
-rw-r--r-- | src/lib/libcrypto/perlasm/x86asm.pl | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/lib/libcrypto/perlasm/x86asm.pl b/src/lib/libcrypto/perlasm/x86asm.pl index bf783cff26..d74d1992f8 100644 --- a/src/lib/libcrypto/perlasm/x86asm.pl +++ b/src/lib/libcrypto/perlasm/x86asm.pl | |||
@@ -225,21 +225,13 @@ sub ::asm_init | |||
225 | $filename=$fn; | 225 | $filename=$fn; |
226 | $i386=$cpu; | 226 | $i386=$cpu; |
227 | 227 | ||
228 | $elf=$cpp=$coff=$aout=$macosx=$win32=$netware=$mwerks=$openbsd=$android=0; | 228 | $elf=$cpp=$coff=$aout=$macosx=$win32=$openbsd=$android=0; |
229 | if (($type eq "elf")) | 229 | if (($type eq "elf")) |
230 | { $elf=1; require "x86gas.pl"; } | 230 | { $elf=1; require "x86gas.pl"; } |
231 | elsif (($type eq "a\.out")) | 231 | elsif (($type eq "a\.out")) |
232 | { $aout=1; require "x86gas.pl"; } | 232 | { $aout=1; require "x86gas.pl"; } |
233 | elsif (($type eq "coff" or $type eq "gaswin")) | 233 | elsif (($type eq "coff" or $type eq "gaswin")) |
234 | { $coff=1; require "x86gas.pl"; } | 234 | { $coff=1; require "x86gas.pl"; } |
235 | elsif (($type eq "win32n")) | ||
236 | { $win32=1; require "x86nasm.pl"; } | ||
237 | elsif (($type eq "nw-nasm")) | ||
238 | { $netware=1; require "x86nasm.pl"; } | ||
239 | #elsif (($type eq "nw-mwasm")) | ||
240 | #{ $netware=1; $mwerks=1; require "x86nasm.pl"; } | ||
241 | elsif (($type eq "win32")) | ||
242 | { $win32=1; require "x86masm.pl"; } | ||
243 | elsif (($type eq "macosx")) | 235 | elsif (($type eq "macosx")) |
244 | { $aout=1; $macosx=1; require "x86gas.pl"; } | 236 | { $aout=1; $macosx=1; require "x86gas.pl"; } |
245 | elsif (($type eq "openbsd-elf")) | 237 | elsif (($type eq "openbsd-elf")) |
@@ -254,10 +246,8 @@ Pick one target type from | |||
254 | elf - Linux, FreeBSD, Solaris x86, etc. | 246 | elf - Linux, FreeBSD, Solaris x86, etc. |
255 | a.out - DJGPP, elder OpenBSD, etc. | 247 | a.out - DJGPP, elder OpenBSD, etc. |
256 | coff - GAS/COFF such as Win32 targets | 248 | coff - GAS/COFF such as Win32 targets |
257 | win32n - Windows 95/Windows NT NASM format | ||
258 | openbsd-elf - OpenBSD elf | 249 | openbsd-elf - OpenBSD elf |
259 | openbsd-a.out - OpenBSD a.out | 250 | openbsd-a.out - OpenBSD a.out |
260 | nw-nasm - NetWare NASM format | ||
261 | macosx - Mac OS X | 251 | macosx - Mac OS X |
262 | EOF | 252 | EOF |
263 | exit(1); | 253 | exit(1); |