perlasm/x86asm.pl: recognize elf-1 denoting old ELF platforms.
authorAndy Polyakov <appro@openssl.org>
Thu, 27 Feb 2014 13:26:12 +0000 (14:26 +0100)
committerAndy Polyakov <appro@openssl.org>
Thu, 27 Feb 2014 13:26:12 +0000 (14:26 +0100)
crypto/perlasm/x86asm.pl

index dcbc738..cae156a 100644 (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"))