diff options
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/i386/elf_machdep.c | 3 | ||||
-rw-r--r-- | sys/i386/ibcs2/ibcs2_sysvec.c | 3 | ||||
-rw-r--r-- | sys/i386/include/elf.h | 12 | ||||
-rw-r--r-- | sys/i386/linux/linux_sysvec.c | 6 |
4 files changed, 8 insertions, 16 deletions
diff --git a/sys/i386/i386/elf_machdep.c b/sys/i386/i386/elf_machdep.c index 4d4b6d2..48cb238 100644 --- a/sys/i386/i386/elf_machdep.c +++ b/sys/i386/i386/elf_machdep.c @@ -70,7 +70,8 @@ struct sysentvec elf32_freebsd_sysvec = { PS_STRINGS, VM_PROT_ALL, exec_copyout_strings, - exec_setregs + exec_setregs, + NULL }; static Elf32_Brandinfo freebsd_brand_info = { diff --git a/sys/i386/ibcs2/ibcs2_sysvec.c b/sys/i386/ibcs2/ibcs2_sysvec.c index c08e9ef..af5015d 100644 --- a/sys/i386/ibcs2/ibcs2_sysvec.c +++ b/sys/i386/ibcs2/ibcs2_sysvec.c @@ -83,7 +83,8 @@ struct sysentvec ibcs2_svr3_sysvec = { PS_STRINGS, VM_PROT_ALL, exec_copyout_strings, - exec_setregs + exec_setregs, + NULL }; static int diff --git a/sys/i386/include/elf.h b/sys/i386/include/elf.h index c9ec741..4bf341d 100644 --- a/sys/i386/include/elf.h +++ b/sys/i386/include/elf.h @@ -131,16 +131,4 @@ __ElfType(Auxinfo); #define ELF_TARG_MACH EM_386 #define ELF_TARG_VER 1 -#ifdef _KERNEL - -/* - * On the i386 we load the dynamic linker where a userland call - * to mmap(0, ...) would put it. The rationale behind this - * calculation is that it leaves room for the heap to grow to - * its maximum allowed size. - */ -#define ELF_RTLD_ADDR(vmspace) \ - (round_page((vm_offset_t)(vmspace)->vm_daddr + maxdsiz)) - -#endif /* _KERNEL */ #endif /* !_MACHINE_ELF_H_ */ diff --git a/sys/i386/linux/linux_sysvec.c b/sys/i386/linux/linux_sysvec.c index 0e92296..fc57c1f 100644 --- a/sys/i386/linux/linux_sysvec.c +++ b/sys/i386/linux/linux_sysvec.c @@ -860,7 +860,8 @@ struct sysentvec linux_sysvec = { PS_STRINGS, VM_PROT_ALL, exec_copyout_strings, - exec_linux_setregs + exec_linux_setregs, + NULL }; struct sysentvec elf_linux_sysvec = { @@ -888,7 +889,8 @@ struct sysentvec elf_linux_sysvec = { PS_STRINGS, VM_PROT_ALL, exec_copyout_strings, - exec_linux_setregs + exec_linux_setregs, + NULL }; static Elf32_Brandinfo linux_brand = { |