提交 b62a4a1c 编写于 作者: A Andy Polyakov

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

上级 ce876d83
...@@ -255,6 +255,8 @@ sub ::asm_init ...@@ -255,6 +255,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"))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册