Home
last modified time | relevance | path

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

/freebsd/libexec/rtld-elf/riscv/
H A Dreloc.c79 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local
116 defobj = req.defobj_out; in do_copy_relocations()
127 srcaddr = (const void *)(defobj->relocbase + srcsym->st_value); in do_copy_relocations()
173 const Obj_Entry *defobj; in reloc_jmpslots() local
187 &defobj, SYMLOOK_IN_PLT | flags, NULL, lockstate); in reloc_jmpslots()
198 *where = (Elf_Addr)(defobj->relocbase + def->st_value); in reloc_jmpslots()
269 const Obj_Entry *defobj; in reloc_gnu_ifunc() local
278 def = find_symdef(ELF_R_SYM(rela->r_info), obj, &defobj, in reloc_gnu_ifunc()
286 target = (Elf_Addr)rtld_resolve_ifunc(defobj, def); in reloc_gnu_ifunc()
288 reloc_jmpslot(where, target, defobj, obj, in reloc_gnu_ifunc()
[all …]
H A Drtld_machdep.h66 const struct Struct_Obj_Entry *defobj, const struct Struct_Obj_Entry *obj,
69 #define make_function_pointer(def, defobj) \ argument
70 ((defobj)->relocbase + (def)->st_value)
/freebsd/libexec/rtld-elf/aarch64/
H A Dreloc.c118 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local
155 defobj = req.defobj_out; in do_copy_relocations()
165 srcaddr = (const void *)(defobj->relocbase + srcsym->st_value); in do_copy_relocations()
205 const Obj_Entry *defobj; in reloc_tlsdesc() local
210 def = find_symdef(ELF_R_SYM(rela->r_info), obj, &defobj, flags, in reloc_tlsdesc()
215 obj = defobj; in reloc_tlsdesc()
242 const Obj_Entry *defobj; in reloc_plt() local
274 &defobj, SYMLOOK_IN_PLT | flags, NULL, in reloc_plt()
282 target = (Elf_Addr)(defobj->relocbase + in reloc_plt()
316 const Obj_Entry *defobj; in reloc_jmpslots() local
[all …]
H A Drtld_machdep.h59 const struct Struct_Obj_Entry *defobj, const struct Struct_Obj_Entry *obj,
62 #define make_function_pointer(def, defobj) \ argument
63 ((defobj)->relocbase + (def)->st_value)
/freebsd/libexec/rtld-elf/amd64/
H A Dreloc.c81 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 + in do_copy_relocations()
139 const Obj_Entry *defobj; in reloc_non_plt() local
173 def = find_symdef(ELF_R_SYM(rela->r_info), obj, &defobj, in reloc_non_plt()
198 defobj, def); in reloc_non_plt()
212 symval = (Elf_Addr)defobj->relocbase + in reloc_non_plt()
267 if (!defobj->tls_static) { in reloc_non_plt()
269 defobj))) { in reloc_non_plt()
276 *where = (Elf_Addr)(def->st_value - defobj->tlsoffset + in reloc_non_plt()
[all …]
H A Drtld_machdep.h56 #define make_function_pointer(def, defobj) \ argument
57 ((defobj)->relocbase + (def)->st_value)
/freebsd/libexec/rtld-elf/arm/
H A Dreloc.c45 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local
64 defobj = req.defobj_out; in do_copy_relocations()
75 srcaddr = (const void *)(defobj->relocbase + in do_copy_relocations()
140 const Obj_Entry *defobj; in reloc_nonplt_object() local
162 def = find_symdef(symnum, obj, &defobj, flags, cache, in reloc_nonplt_object()
182 obj->path, (void *)*where, where, defobj->path); in reloc_nonplt_object()
189 def = find_symdef(symnum, obj, &defobj, flags, cache, in reloc_nonplt_object()
194 tmp = *where + (Elf_Addr)defobj->relocbase + in reloc_nonplt_object()
199 (Elf_Addr)defobj->relocbase + in reloc_nonplt_object()
205 obj->path, (void *)tmp, where, defobj->path); in reloc_nonplt_object()
[all …]
H A Drtld_machdep.h53 const struct Struct_Obj_Entry *defobj, const struct Struct_Obj_Entry *obj,
56 #define make_function_pointer(def, defobj) \ argument
57 ((defobj)->relocbase + (def)->st_value)
/freebsd/libexec/rtld-elf/powerpc64/
H A Dreloc.c89 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local
110 defobj = req.defobj_out; in do_copy_relocations()
122 srcaddr = (const void *)(defobj->relocbase+srcsym->st_value); in do_copy_relocations()
174 const Obj_Entry *defobj; in reloc_nonplt_object() local
189 def = find_symdef(ELF_R_SYM(rela->r_info), obj, &defobj, in reloc_nonplt_object()
215 defobj, def); in reloc_nonplt_object()
225 symval = (Elf_Addr)defobj->relocbase + in reloc_nonplt_object()
248 *where = (Elf_Addr) defobj->tlsindex; in reloc_nonplt_object()
259 if (!defobj->tls_static) { in reloc_nonplt_object()
261 __DECONST(Obj_Entry *, defobj))) { in reloc_nonplt_object()
[all …]
H A Drtld_machdep.h52 const struct Struct_Obj_Entry *defobj, const struct Struct_Obj_Entry *obj,
56 #define make_function_pointer(def, defobj) \ argument
57 ((defobj)->relocbase + (def)->st_value)
/freebsd/libexec/rtld-elf/i386/
H A Dreloc.c78 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local
96 defobj = req.defobj_out; in do_copy_relocations()
109 srcaddr = (const void *)(defobj->relocbase + in do_copy_relocations()
137 const Obj_Entry *defobj; in reloc_non_plt() local
167 def = find_symdef(ELF_R_SYM(rel->r_info), obj, &defobj, in reloc_non_plt()
181 rtld_resolve_ifunc(defobj, def); in reloc_non_plt()
194 symval = (Elf_Addr)defobj->relocbase + in reloc_non_plt()
250 if (!defobj->tls_static) { in reloc_non_plt()
252 __DECONST(Obj_Entry *, defobj))) { in reloc_non_plt()
259 add = (Elf_Addr)(def->st_value - defobj->tlsoffset); in reloc_non_plt()
[all …]
H A Drtld_machdep.h54 #define make_function_pointer(def, defobj) \ argument
55 ((defobj)->relocbase + (def)->st_value)
/freebsd/libexec/rtld-elf/powerpc/
H A Dreloc.c94 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local
115 defobj = req.defobj_out; in do_copy_relocations()
127 srcaddr = (const void *)(defobj->relocbase+srcsym->st_value); in do_copy_relocations()
179 const Obj_Entry *defobj; in reloc_nonplt_object() local
194 def = find_symdef(ELF_R_SYM(rela->r_info), obj, &defobj, in reloc_nonplt_object()
221 defobj, def); in reloc_nonplt_object()
231 symval = (Elf_Addr)defobj->relocbase + in reloc_nonplt_object()
253 *where = (Elf_Addr) defobj->tlsindex; in reloc_nonplt_object()
264 if (!defobj->tls_static) { in reloc_nonplt_object()
266 __DECONST(Obj_Entry *, defobj))) { in reloc_nonplt_object()
[all …]
H A Drtld_machdep.h52 const struct Struct_Obj_Entry *defobj, const struct Struct_Obj_Entry *obj,
56 #define make_function_pointer(def, defobj) \ argument
57 ((defobj)->relocbase + (def)->st_value)
/freebsd/libexec/rtld-elf/
H A Drtld.c1051 const Obj_Entry *defobj; in _rtld_bind() local
1066 def = find_symdef(ELF_R_SYM(rel->r_info), obj, &defobj, SYMLOOK_IN_PLT, in _rtld_bind()
1075 target = (Elf_Addr)rtld_resolve_ifunc(defobj, def); in _rtld_bind()
1077 target = (Elf_Addr)(defobj->relocbase + def->st_value); in _rtld_bind()
1080 dbg("\"%s\" in \"%s\" ==> %p in \"%s\"", defobj->strtab + def->st_name, in _rtld_bind()
1082 defobj->path == NULL ? NULL : basename(defobj->path)); in _rtld_bind()
1091 target = reloc_jmpslot(where, target, defobj, obj, rel); in _rtld_bind()
2009 const Obj_Entry *defobj; in find_symdef() local
2029 defobj = NULL; in find_symdef()
2052 defobj = req.defobj_out; in find_symdef()
[all …]