Home
last modified time | relevance | path

Searched refs:reltab (Results 1 – 2 of 2) sorted by relevance

/freebsd/lib/libkldelf/
H A Def_obj.c79 Elf_relent *reltab; member
228 if (ef->reltab[i].sec != sec) in ef_obj_seg_read_rel()
230 for (r = ef->reltab[i].rel; in ef_obj_seg_read_rel()
231 r < &ef->reltab[i].rel[ef->reltab[i].nrel]; r++) { in ef_obj_seg_read_rel()
346 ef->reltab = calloc(ef->nrel, sizeof(*ef->reltab)); in ef_obj_open()
350 (ef->nrel != 0 && ef->reltab == NULL) || in ef_obj_open()
417 ef->reltab[rl].sec = shdr[i].sh_info; in ef_obj_open()
418 if (elf_read_rel(efile, i, &ef->reltab[rl].nrel, in ef_obj_open()
419 &ef->reltab[rl].rel) != 0) { in ef_obj_open()
455 if (ef->reltab[i].rel != NULL) in ef_obj_close()
[all …]
/freebsd/sys/kern/
H A Dlink_elf_obj.c105 Elf_relent *reltab; member
452 ef->reltab = malloc(ef->nreltab * sizeof(*ef->reltab), in link_elf_link_preload()
458 (ef->nreltab != 0 && ef->reltab == NULL) || in link_elf_link_preload()
592 ef->reltab[rl].rel = (Elf_Rel *)shdr[i].sh_addr; in link_elf_link_preload()
593 ef->reltab[rl].nrel = shdr[i].sh_size / sizeof(Elf_Rel); in link_elf_link_preload()
594 ef->reltab[rl].sec = shdr[i].sh_info; in link_elf_link_preload()
899 ef->reltab = malloc(ef->nreltab * sizeof(*ef->reltab), in link_elf_load_file()
1171 ef->reltab[rl].rel = malloc(shdr[i].sh_size, M_LINKER, in link_elf_load_file()
1173 ef->reltab[rl].nrel = shdr[i].sh_size / sizeof(Elf_Rel); in link_elf_load_file()
1174 ef->reltab[rl].sec = shdr[i].sh_info; in link_elf_load_file()
[all …]