Revision e5fe0c52 linux-user/main.c
b/linux-user/main.c | ||
---|---|---|
1545 | 1545 |
env = cpu_init(); |
1546 | 1546 |
global_env = env; |
1547 | 1547 |
|
1548 |
if (elf_exec(filename, argv+optind, environ, regs, info) != 0) {
|
|
1548 |
if (loader_exec(filename, argv+optind, environ, regs, info) != 0) {
|
|
1549 | 1549 |
printf("Error loading %s\n", filename); |
1550 | 1550 |
_exit(1); |
1551 | 1551 |
} |
... | ... | |
1556 | 1556 |
fprintf(logfile, "start_brk 0x%08lx\n" , info->start_brk); |
1557 | 1557 |
fprintf(logfile, "end_code 0x%08lx\n" , info->end_code); |
1558 | 1558 |
fprintf(logfile, "start_code 0x%08lx\n" , info->start_code); |
1559 |
fprintf(logfile, "start_data 0x%08lx\n" , info->start_data); |
|
1559 | 1560 |
fprintf(logfile, "end_data 0x%08lx\n" , info->end_data); |
1560 | 1561 |
fprintf(logfile, "start_stack 0x%08lx\n" , info->start_stack); |
1561 | 1562 |
fprintf(logfile, "brk 0x%08lx\n" , info->brk); |
Also available in: Unified diff