Changeset View
Changeset View
Standalone View
Standalone View
sys/arm64/arm64/elf_machdep.c
Show First 20 Lines • Show All 103 Lines • ▼ Show 20 Lines | static struct sysentvec elf64_freebsd_sysvec = { | ||||
.sv_regset_end = SET_LIMIT(__elfN(regset)), | .sv_regset_end = SET_LIMIT(__elfN(regset)), | ||||
}; | }; | ||||
INIT_SYSENTVEC(elf64_sysvec, &elf64_freebsd_sysvec); | INIT_SYSENTVEC(elf64_sysvec, &elf64_freebsd_sysvec); | ||||
static Elf64_Brandinfo freebsd_brand_info = { | static Elf64_Brandinfo freebsd_brand_info = { | ||||
.brand = ELFOSABI_FREEBSD, | .brand = ELFOSABI_FREEBSD, | ||||
.machine = EM_AARCH64, | .machine = EM_AARCH64, | ||||
.compat_3_brand = "FreeBSD", | .compat_3_brand = "FreeBSD", | ||||
.emul_path = NULL, | |||||
.interp_path = "/libexec/ld-elf.so.1", | .interp_path = "/libexec/ld-elf.so.1", | ||||
.sysvec = &elf64_freebsd_sysvec, | .sysvec = &elf64_freebsd_sysvec, | ||||
.interp_newpath = NULL, | .interp_newpath = NULL, | ||||
.brand_note = &elf64_freebsd_brandnote, | .brand_note = &elf64_freebsd_brandnote, | ||||
.flags = BI_CAN_EXEC_DYN | BI_BRAND_NOTE | .flags = BI_CAN_EXEC_DYN | BI_BRAND_NOTE | ||||
}; | }; | ||||
SYSINIT(elf64, SI_SUB_EXEC, SI_ORDER_FIRST, | SYSINIT(elf64, SI_SUB_EXEC, SI_ORDER_FIRST, | ||||
▲ Show 20 Lines • Show All 195 Lines • Show Last 20 Lines |