Home
last modified time | relevance | path

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

/freebsd-14-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-14-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-14-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-14-stable/libexec/rtld-elf/arm/
HDreloc.c46 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local
65 defobj = req.defobj_out; in do_copy_relocations()
76 srcaddr = (const void *)(defobj->relocbase + in do_copy_relocations()
141 const Obj_Entry *defobj; in reloc_nonplt_object() local
163 def = find_symdef(symnum, obj, &defobj, flags, cache, in reloc_nonplt_object()
183 obj->path, (void *)*where, where, defobj->path); in reloc_nonplt_object()
190 def = find_symdef(symnum, obj, &defobj, flags, cache, in reloc_nonplt_object()
195 tmp = *where + (Elf_Addr)defobj->relocbase + in reloc_nonplt_object()
200 (Elf_Addr)defobj->relocbase + in reloc_nonplt_object()
206 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-14-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-14-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-14-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-14-stable/libexec/rtld-elf/
HDrtld.c1016 const Obj_Entry *defobj; in _rtld_bind() local
1030 def = find_symdef(ELF_R_SYM(rel->r_info), obj, &defobj, SYMLOOK_IN_PLT, in _rtld_bind()
1035 target = (Elf_Addr)rtld_resolve_ifunc(defobj, def); in _rtld_bind()
1037 target = (Elf_Addr)(defobj->relocbase + def->st_value); in _rtld_bind()
1040 defobj->strtab + def->st_name, in _rtld_bind()
1043 defobj->path == NULL ? NULL : basename(defobj->path)); in _rtld_bind()
1052 target = reloc_jmpslot(where, target, defobj, obj, rel); in _rtld_bind()
1965 const Obj_Entry *defobj; in find_symdef() local
1985 defobj = NULL; in find_symdef()
2008 defobj = req.defobj_out; in find_symdef()
[all …]