Lines Matching refs:defobj
75 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local
96 defobj = req.defobj_out; in do_copy_relocations()
108 srcaddr = (const void *) (defobj->relocbase+srcsym->st_value); in do_copy_relocations()
161 const Obj_Entry *defobj; in reloc_nonplt_object() local
172 def = find_symdef(ELF_R_SYM(rela->r_info), obj, &defobj, in reloc_nonplt_object()
178 tmp = (Elf_Addr)(defobj->relocbase + def->st_value + in reloc_nonplt_object()
219 def = find_symdef(ELF_R_SYM(rela->r_info), obj, &defobj, in reloc_nonplt_object()
225 *where = (Elf_Addr) defobj->tlsindex; in reloc_nonplt_object()
230 def = find_symdef(ELF_R_SYM(rela->r_info), obj, &defobj, in reloc_nonplt_object()
244 if (!defobj->tls_done) { in reloc_nonplt_object()
245 if (!allocate_tls_offset((Obj_Entry*) defobj)) { in reloc_nonplt_object()
254 + defobj->tlsoffset - TLS_TP_OFFSET); in reloc_nonplt_object()
259 def = find_symdef(ELF_R_SYM(rela->r_info), obj, &defobj, in reloc_nonplt_object()
390 const Obj_Entry *defobj; in reloc_jmpslots() local
401 def = find_symdef(ELF_R_SYM(rela->r_info), obj, &defobj, in reloc_jmpslots()
408 target = (Elf_Addr)(defobj->relocbase + def->st_value); in reloc_jmpslots()
413 defobj->strtab + def->st_name, basename(obj->path), in reloc_jmpslots()
414 (void *)target, basename(defobj->path)); in reloc_jmpslots()
421 reloc_jmpslot(where, target, defobj, obj, in reloc_jmpslots()
436 reloc_jmpslot(Elf_Addr *wherep, Elf_Addr target, const Obj_Entry *defobj, in reloc_jmpslot() argument
441 (Elf_Addr)defobj->relocbase); in reloc_jmpslot()
450 if (((struct funcdesc *)(wherep))->addr < (Elf_Addr)defobj->relocbase) { in reloc_jmpslot()
458 (Elf_Addr)defobj->relocbase; in reloc_jmpslot()
460 (Elf_Addr)defobj->relocbase; in reloc_jmpslot()