diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-06-11 13:32:59 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-06-11 13:32:59 +0000 |
commit | e5fe0c5230cc7780de852cefb5df57e05e2c613e (patch) | |
tree | e9336966c143de451ee699c37714200ce9f96079 /linux-user/main.c | |
parent | ac62f715c6b8bde0fc4cfb0bed8e4f12ad4b5503 (diff) | |
download | qemu-e5fe0c5230cc7780de852cefb5df57e05e2c613e.zip qemu-e5fe0c5230cc7780de852cefb5df57e05e2c613e.tar.gz qemu-e5fe0c5230cc7780de852cefb5df57e05e2c613e.tar.bz2 |
bFLT loader (for uClinux binaries).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1951 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/main.c')
-rw-r--r-- | linux-user/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-user/main.c b/linux-user/main.c index 23e9e85..d4f0947 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -1545,7 +1545,7 @@ int main(int argc, char **argv) env = cpu_init(); global_env = env; - if (elf_exec(filename, argv+optind, environ, regs, info) != 0) { + if (loader_exec(filename, argv+optind, environ, regs, info) != 0) { printf("Error loading %s\n", filename); _exit(1); } @@ -1556,6 +1556,7 @@ int main(int argc, char **argv) fprintf(logfile, "start_brk 0x%08lx\n" , info->start_brk); fprintf(logfile, "end_code 0x%08lx\n" , info->end_code); fprintf(logfile, "start_code 0x%08lx\n" , info->start_code); + fprintf(logfile, "start_data 0x%08lx\n" , info->start_data); fprintf(logfile, "end_data 0x%08lx\n" , info->end_data); fprintf(logfile, "start_stack 0x%08lx\n" , info->start_stack); fprintf(logfile, "brk 0x%08lx\n" , info->brk); |