Support for executing 32 bit SPARC32PLUS files for Sparc64 user emulator

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3378 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
blueswir1 2007-10-09 16:34:29 +00:00
parent bf367b5409
commit cb33da57aa
9 changed files with 149 additions and 48 deletions

View file

@ -169,7 +169,11 @@ int loader_exec(const char * filename, char ** argv, char ** envp,
&& bprm.buf[1] == 'E'
&& bprm.buf[2] == 'L'
&& bprm.buf[3] == 'F') {
#ifndef TARGET_HAS_ELFLOAD32
retval = load_elf_binary(&bprm,regs,infop);
#else
retval = load_elf_binary_multi(&bprm, regs, infop);
#endif
#if defined(TARGET_HAS_BFLT)
} else if (bprm.buf[0] == 'b'
&& bprm.buf[1] == 'F'