Home
last modified time | relevance | path

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

/freebsd-13.1/libexec/rtld-elf/riscv/
H A Dreloc.c89 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local
126 defobj = req.defobj_out; in do_copy_relocations()
173 const Obj_Entry *defobj; in reloc_jmpslots() local
252 const Obj_Entry *defobj; in reloc_non_plt() local
286 def = find_symdef(symnum, obj, &defobj, flags, cache, in reloc_non_plt()
295 def = find_symdef(symnum, obj, &defobj, flags, cache, in reloc_non_plt()
300 *where += (Elf_Addr)defobj->tlsindex; in reloc_non_plt()
328 if (!defobj->tls_done) { in reloc_non_plt()
330 __DECONST(Obj_Entry *, defobj))) { in reloc_non_plt()
355 if (!defobj->tls_done) { in reloc_non_plt()
[all …]
H A Drtld_machdep.h57 const struct Struct_Obj_Entry *defobj, const struct Struct_Obj_Entry *obj,
60 #define make_function_pointer(def, defobj) \ argument
61 ((defobj)->relocbase + (def)->st_value)
/freebsd-13.1/libexec/rtld-elf/aarch64/
H A Dreloc.c71 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local
108 defobj = req.defobj_out; in do_copy_relocations()
149 const Obj_Entry *defobj; in reloc_tlsdesc() local
160 obj = defobj; in reloc_tlsdesc()
226 const Obj_Entry *defobj; in reloc_jmpslots() local
318 const Obj_Entry *defobj; in reloc_gnu_ifunc() local
370 const Obj_Entry *defobj; in reloc_non_plt() local
422 defobj, def); in reloc_non_plt()
473 if (!defobj->tls_done) { in reloc_non_plt()
483 defobj->tlsoffset; in reloc_non_plt()
[all …]
H A Drtld_machdep.h50 const struct Struct_Obj_Entry *defobj, const struct Struct_Obj_Entry *obj,
53 #define make_function_pointer(def, defobj) \ argument
54 ((defobj)->relocbase + (def)->st_value)
/freebsd-13.1/libexec/rtld-elf/amd64/
H A Dreloc.c80 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local
97 defobj = req.defobj_out; in do_copy_relocations()
135 const Obj_Entry *defobj; in reloc_non_plt() local
170 &defobj, flags, cache, lockstate); in reloc_non_plt()
193 defobj, def); in reloc_non_plt()
207 symval = (Elf_Addr)defobj->relocbase + in reloc_non_plt()
260 if (!defobj->tls_done) { in reloc_non_plt()
281 if (!defobj->tls_done) { in reloc_non_plt()
294 *where += (Elf_Addr)defobj->tlsindex; in reloc_non_plt()
372 const Obj_Entry *defobj; in reloc_jmpslots() local
[all …]
H A Drtld_machdep.h47 #define make_function_pointer(def, defobj) \ argument
48 ((defobj)->relocbase + (def)->st_value)
/freebsd-13.1/libexec/rtld-elf/arm/
H A Dreloc.c87 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local
106 defobj = req.defobj_out; in do_copy_relocations()
117 srcaddr = (const void *)(defobj->relocbase + in do_copy_relocations()
184 const Obj_Entry *defobj; in reloc_nonplt_object() local
238 tmp = *where + (Elf_Addr)defobj->relocbase + in reloc_nonplt_object()
243 (Elf_Addr)defobj->relocbase + in reloc_nonplt_object()
249 obj->path, (void *)tmp, where, defobj->path); in reloc_nonplt_object()
304 tmp = (Elf_Addr)(defobj->tlsindex); in reloc_nonplt_object()
325 tmp = (Elf_Addr)def->st_value + defobj->tlsoffset; in reloc_nonplt_object()
417 const Obj_Entry *defobj; in reloc_jmpslots() local
[all …]
H A Drtld_machdep.h44 const struct Struct_Obj_Entry *defobj, const struct Struct_Obj_Entry *obj,
47 #define make_function_pointer(def, defobj) \ argument
48 ((defobj)->relocbase + (def)->st_value)
/freebsd-13.1/libexec/rtld-elf/powerpc64/
H A Dreloc.c80 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local
101 defobj = req.defobj_out; in do_copy_relocations()
165 const Obj_Entry *defobj; in reloc_nonplt_object() local
206 defobj, def); in reloc_nonplt_object()
239 *where = (Elf_Addr) defobj->tlsindex; in reloc_nonplt_object()
250 if (!defobj->tls_done) { in reloc_nonplt_object()
441 const Obj_Entry *defobj; in reloc_jmpslots() local
506 (Elf_Addr)defobj->relocbase); in reloc_jmpslot()
536 (Elf_Addr)defobj->relocbase; in reloc_jmpslot()
538 (Elf_Addr)defobj->relocbase; in reloc_jmpslot()
[all …]
H A Drtld_machdep.h43 const struct Struct_Obj_Entry *defobj, const struct Struct_Obj_Entry *obj,
47 #define make_function_pointer(def, defobj) \ argument
48 ((defobj)->relocbase + (def)->st_value)
/freebsd-13.1/libexec/rtld-elf/mips/
H A Dreloc.c112 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local
148 defobj = req.defobj_out; in do_copy_relocations()
316 const Obj_Entry *defobj; in _mips_rtld_bind() local
334 (intmax_t)reloff, defobj->strtab + def->st_name, in _mips_rtld_bind()
350 const Obj_Entry *defobj; in reloc_non_plt() local
407 def = find_symdef(i, obj, &defobj, flags, NULL, in reloc_non_plt()
411 *got = def->st_value + (Elf_Addr)defobj->relocbase; in reloc_non_plt()
449 def = find_symdef(i, obj, &defobj, flags, NULL, in reloc_non_plt()
462 defobj, defobj->path); in reloc_non_plt()
567 val += (Elf_Addr)defobj->tlsindex; in reloc_non_plt()
[all …]
H A Drtld_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.1/libexec/rtld-elf/i386/
H A Dreloc.c79 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local
96 defobj = req.defobj_out; in do_copy_relocations()
134 const Obj_Entry *defobj; in reloc_non_plt() local
177 defobj, def); in reloc_non_plt()
190 symval = (Elf_Addr)defobj->relocbase + in reloc_non_plt()
245 if (!defobj->tls_done) { in reloc_non_plt()
247 __DECONST(Obj_Entry *, defobj))) { in reloc_non_plt()
261 *where += (Elf_Addr)defobj->tlsindex; in reloc_non_plt()
326 const Obj_Entry *defobj; in reloc_jmpslots() local
340 reloc_jmpslot(where, target, defobj, obj, rel); in reloc_jmpslots()
[all …]
H A Drtld_machdep.h47 #define make_function_pointer(def, defobj) \ argument
48 ((defobj)->relocbase + (def)->st_value)
/freebsd-13.1/libexec/rtld-elf/powerpc/
H A Dreloc.c85 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local
106 defobj = req.defobj_out; in do_copy_relocations()
170 const Obj_Entry *defobj; in reloc_nonplt_object() local
212 defobj, def); in reloc_nonplt_object()
222 symval = (Elf_Addr)defobj->relocbase + in reloc_nonplt_object()
244 *where = (Elf_Addr) defobj->tlsindex; in reloc_nonplt_object()
255 if (!defobj->tls_done) { in reloc_nonplt_object()
257 __DECONST(Obj_Entry *, defobj))) { in reloc_nonplt_object()
480 const Obj_Entry *defobj; in reloc_jmpslots() local
513 reloc_jmpslot(where, target, defobj, obj, in reloc_jmpslots()
[all …]
H A Drtld_machdep.h43 const struct Struct_Obj_Entry *defobj, const struct Struct_Obj_Entry *obj,
47 #define make_function_pointer(def, defobj) \ argument
48 ((defobj)->relocbase + (def)->st_value)
/freebsd-13.1/libexec/rtld-elf/
H A Drtld.c1041 defobj->path == NULL ? NULL : basename(defobj->path)); in _rtld_bind()
2020 defobj = NULL; in find_symdef()
2047 defobj = refobj; in find_symdef()
2056 defobj = obj_main; in find_symdef()
2060 *defobj_out = defobj; in find_symdef()
3901 defobj = NULL; in do_dlsym()
3924 defobj = req.defobj_out; in do_dlsym()
3963 defobj = req.defobj_out; in do_dlsym()
3980 defobj = req.defobj_out; in do_dlsym()
4656 defobj = NULL; in symlook_list()
[all …]