diff options
Diffstat (limited to 'sys/sparc64')
-rw-r--r-- | sys/sparc64/include/elf.h | 12 | ||||
-rw-r--r-- | sys/sparc64/sparc64/elf_machdep.c | 3 |
2 files changed, 2 insertions, 13 deletions
diff --git a/sys/sparc64/include/elf.h b/sys/sparc64/include/elf.h index 5532bc9..d4f1824 100644 --- a/sys/sparc64/include/elf.h +++ b/sys/sparc64/include/elf.h @@ -171,16 +171,4 @@ __ElfType(Auxinfo); #define ELF_TARG_MACH ELF_ARCH #define ELF_TARG_VER 1 -#ifdef _KERNEL - -/* - * On the Sparc64 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/sparc64/sparc64/elf_machdep.c b/sys/sparc64/sparc64/elf_machdep.c index b848dbf..bb2c185 100644 --- a/sys/sparc64/sparc64/elf_machdep.c +++ b/sys/sparc64/sparc64/elf_machdep.c @@ -83,7 +83,8 @@ struct sysentvec elf64_freebsd_sysvec = { PS_STRINGS, VM_PROT_READ | VM_PROT_WRITE, exec_copyout_strings, - exec_setregs + exec_setregs, + NULL }; static Elf64_Brandinfo freebsd_brand_info = { |