Added option `--force-execve' which forces the use of the generic

linux/386 format.

committer: mfx <mfx> 977486503 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2000-12-22 12:01:43 +00:00
parent 47760c37fc
commit dbbc47a334
6 changed files with 56 additions and 36 deletions
+11 -8
View File
@@ -185,17 +185,20 @@ static Packer* try_packers(InputFile *f, try_function func)
//
// linux
//
#if 0
if (opt->unix.script_name)
if (!opt->unix.force_execve)
{
if ((p = func(new PackLinuxI386sep(f),f)) != NULL)
#if 0
if (opt->unix.script_name)
{
if ((p = func(new PackLinuxI386sep(f),f)) != NULL)
return p;
}
#endif
if ((p = func(new PackLinuxI386elf(f),f)) != NULL)
return p;
if ((p = func(new PackLinuxI386sh(f),f)) != NULL)
return p;
}
#endif
if ((p = func(new PackLinuxI386elf(f),f)) != NULL)
return p;
if ((p = func(new PackLinuxI386sh(f),f)) != NULL)
return p;
if ((p = func(new PackLinuxI386(f),f)) != NULL)
return p;