Lines Matching refs:got
160 Elf_Addr *got = NULL;
176 got = (Elf_Addr *)(relocbase + dynp->d_un.d_ptr);
190 i = (got[1] & 0x80000000) ? 2 : 1;
191 /* Relocate the local GOT entries */
192 got += i;
194 *got++ += relocbase;
196 /* Now do the global GOT entries */
198 *got = sym->st_value + relocbase;
200 ++got;
250 Elf_Addr *got = obj->pltgot;
268 i = (got[1] & 0x80000000) ? 2 : 1;
269 /* Relocate the local GOT entries */
270 got += i;
272 *got++ += (Elf_Addr)obj->relocbase;
274 /* Now do the global GOT entries */
276 rdbg((" doing got %d sym %p (%s, %lx)", i - obj->gotsym, sym,
277 sym->st_name + obj->strtab, (u_long) *got));
287 * need to a way to force the GOT slots used for
297 *got = def->st_value + (Elf_Addr)defobj->relocbase;
317 *got = sym->st_value + (Elf_Addr)obj->relocbase;
321 *got = sym->st_value +
327 *got = def->st_value + (Elf_Addr)defobj->relocbase;
330 rdbg((" --> now %lx", (u_long) *got));
332 ++got;
335 got = obj->pltgot;
382 val += got[obj->local_gotno +
503 /* PLT fixups were done above in the GOT relocation. */
510 Elf_Addr *got = obj->pltgot;
530 got[obj->local_gotno + sym - obj->gotsym] = new_value;
540 Elf_Addr *got = (Elf_Addr *)(a2 - 0x7ff0);
541 const Obj_Entry *obj = (Obj_Entry *)(got[1] & GOT1_MASK);