Lines Matching defs:rela
314 * The linker of vmlinux will populate the position given by `rela` with
320 * by `rela`. This way the kernel can iterate over all kernel VAs used
324 * the beginning of the relocated section + the offset from `rela`.
326 static void emit_rela_abs64(Elf64_Rela *rela, const char *sh_orig_name)
338 * is `rela->r_offset`.
342 elf64toh(rela->r_offset));
364 Elf64_Rela *rela;
372 for_each_rela(sh_rela, rela) {
373 uint32_t type = (uint32_t)elf64toh(rela->r_info);
375 /* Check that rela points inside the relocated section. */
376 assert_lt(elf64toh(rela->r_offset), elf64toh(sh_orig->sh_size), "0x%lx");
384 emit_rela_abs64(rela, sh_orig_name);