Lines Matching defs:relocbase
167 void elf_reloc_self(Elf_Dyn *dynp, Elf_Addr relocbase);
225 elf_reloc_internal(linker_file_t lf, Elf_Addr relocbase, const void *data,
242 where = (Elf_Addr *) ((uintptr_t)relocbase + rela->r_offset);
243 hwhere = (Elf_Half *) ((uintptr_t)relocbase + rela->r_offset);
271 * are relative to relocbase. Detect this condition.
273 if (addr > relocbase && addr <= (relocbase + addend))
274 addr = relocbase;
286 * are relative to relocbase. Detect this condition.
288 if (addr > relocbase && addr <= (relocbase + addend))
289 addr = relocbase;
296 *where = elf_relocaddr(lf, relocbase + addend);
308 elf_reloc_self(Elf_Dyn *dynp, Elf_Addr relocbase)
320 rela = (Elf_Rela *)(relocbase+dynp->d_un.d_ptr);
335 where = (Elf_Addr *)(relocbase + rela->r_offset);
336 *where = (Elf_Addr)(relocbase + rela->r_addend);
341 elf_reloc(linker_file_t lf, Elf_Addr relocbase, const void *data, int type,
345 return (elf_reloc_internal(lf, relocbase, data, type, 0, lookup));
349 elf_reloc_local(linker_file_t lf, Elf_Addr relocbase, const void *data,
353 return (elf_reloc_internal(lf, relocbase, data, type, 1, lookup));