perlasm/x86asm.pl: recognize elf-1 denoting old ELF platforms.

This commit is contained in:
Andy Polyakov 2014-02-27 14:26:12 +01:00
parent ce876d8316
commit b62a4a1c0e

View File

@ -255,6 +255,8 @@ sub ::asm_init
$elf=$cpp=$coff=$aout=$macosx=$win32=$netware=$mwerks=$android=0;
if (($type eq "elf"))
{ $elf=1; require "x86gas.pl"; }
elsif (($type eq "elf-1"))
{ $elf=-1; require "x86gas.pl"; }
elsif (($type eq "a\.out"))
{ $aout=1; require "x86gas.pl"; }
elsif (($type eq "coff" or $type eq "gaswin"))