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:30:42 +0000 (14:30 +0100)
(cherry picked from commit b62a4a1c0e77233e201517e5e32d575a0f20cc05)

crypto/perlasm/x86asm.pl

index dcbc73851603fe53f57516cfec2a87de52b07f30..cae156ae63ce322dad4e75caba349b0d5ed01f20 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"))