Home
last modified time | relevance | path

Searched refs:defobj (Results 1 – 17 of 17) sorted by relevance

/freebsd-13-stable/libexec/rtld-elf/riscv/
HDreloc.c87 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local
124 defobj = req.defobj_out; in do_copy_relocations()
135 srcaddr = (const void *)(defobj->relocbase + srcsym->st_value); in do_copy_relocations()
171 const Obj_Entry *defobj; in reloc_jmpslots() local
185 &defobj, SYMLOOK_IN_PLT | flags, NULL, lockstate); in reloc_jmpslots()
191 *where = (Elf_Addr)(defobj->relocbase + def->st_value); in reloc_jmpslots()
232 const Obj_Entry *defobj __unused, const Obj_Entry *obj __unused, in reloc_jmpslot()
250 const Obj_Entry *defobj; in reloc_non_plt() local
284 def = find_symdef(symnum, obj, &defobj, flags, cache, in reloc_non_plt()
289 *where = (Elf_Addr)(defobj->relocbase + def->st_value + in reloc_non_plt()
[all …]
HDrtld_machdep.h58 const struct Struct_Obj_Entry *defobj, const struct Struct_Obj_Entry *obj,
61 #define make_function_pointer(def, defobj) \ argument
62 ((defobj)->relocbase + (def)->st_value)
/freebsd-13-stable/libexec/rtld-elf/aarch64/
HDreloc.c68 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local
105 defobj = req.defobj_out; in do_copy_relocations()
115 srcaddr = (const void *)(defobj->relocbase + srcsym->st_value); in do_copy_relocations()
146 const Obj_Entry *defobj; in reloc_tlsdesc() local
152 def = find_symdef(ELF_R_SYM(rela->r_info), obj, &defobj, flags, in reloc_tlsdesc()
157 obj = defobj; in reloc_tlsdesc()
223 const Obj_Entry *defobj; in reloc_jmpslots() local
240 &defobj, SYMLOOK_IN_PLT | flags, NULL, lockstate); in reloc_jmpslots()
247 target = (Elf_Addr)(defobj->relocbase + def->st_value); in reloc_jmpslots()
248 reloc_jmpslot(where, target, defobj, obj, in reloc_jmpslots()
[all …]
HDrtld_machdep.h51 const struct Struct_Obj_Entry *defobj, const struct Struct_Obj_Entry *obj,
54 #define make_function_pointer(def, defobj) \ argument
55 ((defobj)->relocbase + (def)->st_value)
/freebsd-13-stable/libexec/rtld-elf/amd64/
HDreloc.c79 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local
96 defobj = req.defobj_out; in do_copy_relocations()
107 srcaddr = (const void *)(defobj->relocbase + srcsym->st_value); in do_copy_relocations()
134 const Obj_Entry *defobj; in reloc_non_plt() local
169 &defobj, flags, cache, lockstate); in reloc_non_plt()
192 defobj, def); in reloc_non_plt()
206 symval = (Elf_Addr)defobj->relocbase + in reloc_non_plt()
259 if (!defobj->tls_static) { in reloc_non_plt()
261 __DECONST(Obj_Entry *, defobj))) { in reloc_non_plt()
268 *where = (Elf_Addr)(def->st_value - defobj->tlsoffset + in reloc_non_plt()
[all …]
HDrtld_machdep.h48 #define make_function_pointer(def, defobj) \ argument
49 ((defobj)->relocbase + (def)->st_value)
/freebsd-13-stable/libexec/rtld-elf/arm/
HDreloc.c86 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local
105 defobj = req.defobj_out; in do_copy_relocations()
116 srcaddr = (const void *)(defobj->relocbase + in do_copy_relocations()
183 const Obj_Entry *defobj; in reloc_nonplt_object() local
205 def = find_symdef(symnum, obj, &defobj, flags, cache, in reloc_nonplt_object()
225 obj->path, (void *)*where, where, defobj->path); in reloc_nonplt_object()
232 def = find_symdef(symnum, obj, &defobj, flags, cache, in reloc_nonplt_object()
237 tmp = *where + (Elf_Addr)defobj->relocbase + in reloc_nonplt_object()
242 (Elf_Addr)defobj->relocbase + in reloc_nonplt_object()
248 obj->path, (void *)tmp, where, defobj->path); in reloc_nonplt_object()
[all …]
HDrtld_machdep.h45 const struct Struct_Obj_Entry *defobj, const struct Struct_Obj_Entry *obj,
48 #define make_function_pointer(def, defobj) \ argument
49 ((defobj)->relocbase + (def)->st_value)
/freebsd-13-stable/libexec/rtld-elf/powerpc64/
HDreloc.c78 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local
99 defobj = req.defobj_out; in do_copy_relocations()
111 srcaddr = (const void *)(defobj->relocbase+srcsym->st_value); in do_copy_relocations()
163 const Obj_Entry *defobj; in reloc_nonplt_object() local
178 def = find_symdef(ELF_R_SYM(rela->r_info), obj, &defobj, in reloc_nonplt_object()
204 defobj, def); in reloc_nonplt_object()
214 symval = (Elf_Addr)defobj->relocbase + in reloc_nonplt_object()
237 *where = (Elf_Addr) defobj->tlsindex; in reloc_nonplt_object()
248 if (!defobj->tls_static) { in reloc_nonplt_object()
250 __DECONST(Obj_Entry *, defobj))) { in reloc_nonplt_object()
[all …]
HDrtld_machdep.h44 const struct Struct_Obj_Entry *defobj, const struct Struct_Obj_Entry *obj,
48 #define make_function_pointer(def, defobj) \ argument
49 ((defobj)->relocbase + (def)->st_value)
/freebsd-13-stable/libexec/rtld-elf/mips/
HDreloc.c110 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local
146 defobj = req.defobj_out; in do_copy_relocations()
157 srcaddr = (const void *)(defobj->relocbase + srcsym->st_value); in do_copy_relocations()
314 const Obj_Entry *defobj; in _mips_rtld_bind() local
324 def = find_symdef(reloff, obj, &defobj, SYMLOOK_IN_PLT, NULL, in _mips_rtld_bind()
329 target = (Elf_Addr)(defobj->relocbase + def->st_value); in _mips_rtld_bind()
332 (intmax_t)reloff, defobj->strtab + def->st_name, in _mips_rtld_bind()
348 const Obj_Entry *defobj; in reloc_non_plt() local
405 def = find_symdef(i, obj, &defobj, flags, NULL, in reloc_non_plt()
409 *got = def->st_value + (Elf_Addr)defobj->relocbase; in reloc_non_plt()
[all …]
HDrtld_machdep.h44 const struct Struct_Obj_Entry *defobj, const struct Struct_Obj_Entry *obj,
48 #define make_function_pointer(def, defobj) \ argument
49 ((defobj)->relocbase + (def)->st_value)
/freebsd-13-stable/libexec/rtld-elf/i386/
HDreloc.c77 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local
94 defobj = req.defobj_out; in do_copy_relocations()
105 srcaddr = (const void *)(defobj->relocbase + srcsym->st_value); in do_copy_relocations()
132 const Obj_Entry *defobj; in reloc_non_plt() local
161 def = find_symdef(ELF_R_SYM(rel->r_info), obj, &defobj, in reloc_non_plt()
175 defobj, def); in reloc_non_plt()
188 symval = (Elf_Addr)defobj->relocbase + in reloc_non_plt()
243 if (!defobj->tls_static) { in reloc_non_plt()
245 __DECONST(Obj_Entry *, defobj))) { in reloc_non_plt()
252 add = (Elf_Addr)(def->st_value - defobj->tlsoffset); in reloc_non_plt()
[all …]
HDrtld_machdep.h48 #define make_function_pointer(def, defobj) \ argument
49 ((defobj)->relocbase + (def)->st_value)
/freebsd-13-stable/libexec/rtld-elf/powerpc/
HDreloc.c83 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local
104 defobj = req.defobj_out; in do_copy_relocations()
116 srcaddr = (const void *)(defobj->relocbase+srcsym->st_value); in do_copy_relocations()
168 const Obj_Entry *defobj; in reloc_nonplt_object() local
183 def = find_symdef(ELF_R_SYM(rela->r_info), obj, &defobj, in reloc_nonplt_object()
210 defobj, def); in reloc_nonplt_object()
220 symval = (Elf_Addr)defobj->relocbase + in reloc_nonplt_object()
242 *where = (Elf_Addr) defobj->tlsindex; in reloc_nonplt_object()
253 if (!defobj->tls_static) { in reloc_nonplt_object()
255 __DECONST(Obj_Entry *, defobj))) { in reloc_nonplt_object()
[all …]
HDrtld_machdep.h44 const struct Struct_Obj_Entry *defobj, const struct Struct_Obj_Entry *obj,
48 #define make_function_pointer(def, defobj) \ argument
49 ((defobj)->relocbase + (def)->st_value)
/freebsd-13-stable/libexec/rtld-elf/
HDrtld.c1035 const Obj_Entry *defobj; in _rtld_bind() local
1049 def = find_symdef(ELF_R_SYM(rel->r_info), obj, &defobj, SYMLOOK_IN_PLT, in _rtld_bind()
1054 target = (Elf_Addr)rtld_resolve_ifunc(defobj, def); in _rtld_bind()
1056 target = (Elf_Addr)(defobj->relocbase + def->st_value); in _rtld_bind()
1059 defobj->strtab + def->st_name, in _rtld_bind()
1062 defobj->path == NULL ? NULL : basename(defobj->path)); in _rtld_bind()
1071 target = reloc_jmpslot(where, target, defobj, obj, rel); in _rtld_bind()
2021 const Obj_Entry *defobj; in find_symdef() local
2041 defobj = NULL; in find_symdef()
2064 defobj = req.defobj_out; in find_symdef()
[all …]