summaryrefslogtreecommitdiff
path: root/linux-user/linuxload.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-09 16:34:29 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-09 16:34:29 +0000
commitcb33da57aaa368d575825d80d734374e3ef8c472 (patch)
tree83f712d878ab36a28f997b9e9adafa083f8ad000 /linux-user/linuxload.c
parentbf367b54092014edd36a64195697ea3959fba5cf (diff)
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
Diffstat (limited to 'linux-user/linuxload.c')
-rw-r--r--linux-user/linuxload.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-user/linuxload.c b/linux-user/linuxload.c
index 0efbb76ce4..51f29531ca 100644
--- a/linux-user/linuxload.c
+++ b/linux-user/linuxload.c
@@ -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'