]> git.proxmox.com Git - mirror_qemu.git/blobdiff - bsd-user/elfload.c
bsd-user: Implement procctl(2) along with necessary conversion functions.
[mirror_qemu.git] / bsd-user / elfload.c
index 1f650bdde85f2a954e33ea3cc57313ec7f158598..baf2f63d2f171d7510a2b5305758de4aadb77ed8 100644 (file)
@@ -738,8 +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->start_mmap = (abi_ulong)ELF_START_MMAP;
-    info->mmap = 0;
     elf_entry = (abi_ulong) elf_ex.e_entry;
 
     /* XXX Join this with PT_INTERP search? */
@@ -813,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;