Changeset View
Changeset View
Standalone View
Standalone View
sys/arm/arm/elf_machdep.c
| Show First 20 Lines • Show All 111 Lines • ▼ Show 20 Lines | static Elf32_Brandinfo freebsd_brand_info = { | ||||
| .sysvec = &elf32_freebsd_sysvec, | .sysvec = &elf32_freebsd_sysvec, | ||||
| .interp_newpath = NULL, | .interp_newpath = NULL, | ||||
| .brand_note = &elf32_freebsd_brandnote, | .brand_note = &elf32_freebsd_brandnote, | ||||
| .flags = BI_CAN_EXEC_DYN | BI_BRAND_NOTE, | .flags = BI_CAN_EXEC_DYN | BI_BRAND_NOTE, | ||||
| .header_supported= elf32_arm_abi_supported, | .header_supported= elf32_arm_abi_supported, | ||||
| }; | }; | ||||
| SYSINIT(elf32, SI_SUB_EXEC, SI_ORDER_FIRST, | SYSINIT(elf32, SI_SUB_EXEC, SI_ORDER_FIRST, | ||||
| (sysinit_cfunc_t) elf32_insert_brand_entry, | elf32_insert_brand_entry, &freebsd_brand_info); | ||||
| &freebsd_brand_info); | |||||
| static bool | static bool | ||||
| elf32_arm_abi_supported(const struct image_params *imgp, | elf32_arm_abi_supported(const struct image_params *imgp, | ||||
| const int32_t *osrel __unused, const uint32_t *fctl0 __unused) | const int32_t *osrel __unused, const uint32_t *fctl0 __unused) | ||||
| { | { | ||||
| const Elf_Ehdr *hdr = (const Elf_Ehdr *)imgp->image_header; | const Elf_Ehdr *hdr = (const Elf_Ehdr *)imgp->image_header; | ||||
| /* | /* | ||||
| ▲ Show 20 Lines • Show All 200 Lines • Show Last 20 Lines | |||||