]> git.proxmox.com Git - mirror_qemu.git/blobdiff - bsd-user/elfload.c
bsd-user: Implement get_filename_from_fd.
[mirror_qemu.git] / bsd-user / elfload.c
index 38a3439d2cd8e24d2587270fe7e7f7fdf2f24cee..baf2f63d2f171d7510a2b5305758de4aadb77ed8 100644 (file)
@@ -738,7 +738,6 @@ int load_elf_binary(struct bsd_binprm *bprm, struct target_pt_regs *regs,
     /* OK, This is the point of no return */
     info->end_data = 0;
     info->end_code = 0;
-    info->mmap = 0;
     elf_entry = (abi_ulong) elf_ex.e_entry;
 
     /* XXX Join this with PT_INTERP search? */
@@ -812,7 +811,7 @@ int load_elf_binary(struct bsd_binprm *bprm, struct target_pt_regs *regs,
                                        bprm->stringp, &elf_ex, load_addr,
                                        et_dyn_addr, interp_load_addr, info);
     info->load_addr = reloc_func_desc;
-    info->start_brk = info->brk = elf_brk;
+    info->brk = elf_brk;
     info->start_stack = bprm->p;
     info->load_bias = 0;