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

(Imported from upstream's ca88a1d439f72f124d0f23e2d130e56bbcbb93a9)
This commit is contained in:
Adam Langley 2014-06-20 12:00:00 -07:00
parent 9612b766ae
commit 8f5b6b9b0f

View File

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