Lines Matching refs:relocation
80 * apply a REL relocation
94 * apply a RELA relocation
105 Elf32_Addr relocation, sym_diff_val = 0;
117 /* this is the symbol the relocation is referring to (note that
123 relocation = sym->st_value + rel[i].r_addend;
131 relocation -= sym_diff_val;
135 printk(KERN_ERR "module %s: Unexpected SYM_DIFF relocation: %u\n",
142 /* for the first four relocation types, we simply
145 reloc_put32(location, relocation);
148 reloc_put24(location, relocation);
151 reloc_put16(location, relocation);
154 *location = relocation;
157 /* for the next three relocation types, we write the
161 value = relocation - (uint32_t) location;
165 value = relocation - (uint32_t) location;
169 *location = relocation - (uint32_t) location;
185 printk(KERN_ERR "module %s: Unknown relocation: %u\n",
191 printk(KERN_ERR "module %s: Nothing follows SYM_DIFF relocation: %u\n",