| /freebsd-12-stable/libexec/rtld-elf/riscv/ |
| D | reloc.c | 89 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local 126 defobj = req.defobj_out; in do_copy_relocations() 137 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() 193 *where = (Elf_Addr)(defobj->relocbase + def->st_value); in reloc_jmpslots() 234 const Obj_Entry *defobj __unused, const Obj_Entry *obj __unused, in reloc_jmpslot() 252 const Obj_Entry *defobj; in reloc_non_plt() local 286 def = find_symdef(symnum, obj, &defobj, flags, cache, in reloc_non_plt() 291 *where = (Elf_Addr)(defobj->relocbase + def->st_value + in reloc_non_plt() [all …]
|
| D | rtld_machdep.h | 57 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-12-stable/libexec/rtld-elf/aarch64/ |
| D | reloc.c | 71 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local 108 defobj = req.defobj_out; in do_copy_relocations() 118 srcaddr = (const void *)(defobj->relocbase + srcsym->st_value); in do_copy_relocations() 151 const Obj_Entry *defobj; in reloc_tlsdesc() local 157 def = find_symdef(ELF_R_SYM(rela->r_info), obj, &defobj, flags, in reloc_tlsdesc() 162 obj = defobj; in reloc_tlsdesc() 227 const Obj_Entry *defobj; in reloc_jmpslots() local 243 &defobj, SYMLOOK_IN_PLT | flags, NULL, lockstate); in reloc_jmpslots() 250 target = (Elf_Addr)(defobj->relocbase + def->st_value); in reloc_jmpslots() 251 reloc_jmpslot(where, target, defobj, obj, in reloc_jmpslots() [all …]
|
| D | rtld_machdep.h | 50 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-12-stable/libexec/rtld-elf/powerpc64/ |
| D | reloc.c | 79 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local 100 defobj = req.defobj_out; in do_copy_relocations() 112 srcaddr = (const void *)(defobj->relocbase+srcsym->st_value); in do_copy_relocations() 165 const Obj_Entry *defobj; in reloc_nonplt_object() local 176 def = find_symdef(ELF_R_SYM(rela->r_info), obj, &defobj, in reloc_nonplt_object() 182 tmp = (Elf_Addr)(defobj->relocbase + def->st_value + in reloc_nonplt_object() 223 def = find_symdef(ELF_R_SYM(rela->r_info), obj, &defobj, in reloc_nonplt_object() 229 *where = (Elf_Addr) defobj->tlsindex; in reloc_nonplt_object() 234 def = find_symdef(ELF_R_SYM(rela->r_info), obj, &defobj, in reloc_nonplt_object() 248 if (!defobj->tls_done) { in reloc_nonplt_object() [all …]
|
| D | rtld_machdep.h | 43 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-12-stable/libexec/rtld-elf/amd64/ |
| D | reloc.c | 80 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local 97 defobj = req.defobj_out; in do_copy_relocations() 108 srcaddr = (const void *)(defobj->relocbase + srcsym->st_value); 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() 262 __DECONST(Obj_Entry *, defobj))) { in reloc_non_plt() 269 *where = (Elf_Addr)(def->st_value - defobj->tlsoffset + in reloc_non_plt() [all …]
|
| D | rtld_machdep.h | 47 #define make_function_pointer(def, defobj) \ argument 48 ((defobj)->relocbase + (def)->st_value)
|
| /freebsd-12-stable/libexec/rtld-elf/arm/ |
| D | reloc.c | 87 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 206 def = find_symdef(symnum, obj, &defobj, flags, cache, in reloc_nonplt_object() 226 obj->path, (void *)*where, where, defobj->path); in reloc_nonplt_object() 233 def = find_symdef(symnum, obj, &defobj, flags, cache, in reloc_nonplt_object() 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() [all …]
|
| D | rtld_machdep.h | 44 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-12-stable/libexec/rtld-elf/mips/ |
| D | reloc.c | 112 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local 148 defobj = req.defobj_out; in do_copy_relocations() 159 srcaddr = (const void *)(defobj->relocbase + srcsym->st_value); in do_copy_relocations() 316 const Obj_Entry *defobj; in _mips_rtld_bind() local 326 def = find_symdef(reloff, obj, &defobj, SYMLOOK_IN_PLT, NULL, in _mips_rtld_bind() 331 target = (Elf_Addr)(defobj->relocbase + def->st_value); in _mips_rtld_bind() 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() [all …]
|
| D | rtld_machdep.h | 44 const struct Struct_Obj_Entry *defobj, const struct Struct_Obj_Entry *obj, 50 #define make_function_pointer(def, defobj) \ argument 51 ((defobj)->relocbase + (def)->st_value)
|
| /freebsd-12-stable/libexec/rtld-elf/i386/ |
| D | reloc.c | 79 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 163 def = find_symdef(ELF_R_SYM(rel->r_info), obj, &defobj, in reloc_non_plt() 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() 254 add = (Elf_Addr)(def->st_value - defobj->tlsoffset); in reloc_non_plt() [all …]
|
| D | rtld_machdep.h | 47 #define make_function_pointer(def, defobj) \ argument 48 ((defobj)->relocbase + (def)->st_value)
|
| /freebsd-12-stable/libexec/rtld-elf/powerpc/ |
| D | reloc.c | 83 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() 169 const Obj_Entry *defobj; in reloc_nonplt_object() local 179 def = find_symdef(ELF_R_SYM(rela->r_info), obj, &defobj, in reloc_nonplt_object() 185 tmp = (Elf_Addr)(defobj->relocbase + def->st_value + in reloc_nonplt_object() 226 def = find_symdef(ELF_R_SYM(rela->r_info), obj, &defobj, in reloc_nonplt_object() 232 *where = (Elf_Addr) defobj->tlsindex; in reloc_nonplt_object() 237 def = find_symdef(ELF_R_SYM(rela->r_info), obj, &defobj, in reloc_nonplt_object() 251 if (!defobj->tls_done) { in reloc_nonplt_object() [all …]
|
| D | rtld_machdep.h | 43 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-12-stable/libexec/rtld-elf/sparc64/ |
| D | reloc.c | 251 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local 276 defobj = req.defobj_out; in do_copy_relocations() 287 srcaddr = (const void *)(defobj->relocbase + in do_copy_relocations() 335 const Obj_Entry *defobj; in reloc_nonplt_object() local 345 defobj = NULL; in reloc_nonplt_object() 394 def = find_symdef(ELF_R_SYM(rela->r_info), obj, &defobj, in reloc_nonplt_object() 400 value = (Elf_Addr)defobj->tlsindex; in reloc_nonplt_object() 411 if (!defobj->tls_done && !allocate_tls_offset( in reloc_nonplt_object() 412 __DECONST(Obj_Entry *, defobj))) { in reloc_nonplt_object() 418 defobj->tlsoffset); in reloc_nonplt_object() [all …]
|
| D | rtld_machdep.h | 47 #define make_function_pointer(def, defobj) \ argument 48 ((defobj)->relocbase + (def)->st_value)
|
| /freebsd-12-stable/libexec/rtld-elf/ |
| D | rtld.c | 856 const Obj_Entry *defobj; in _rtld_bind() local 870 def = find_symdef(ELF_R_SYM(rel->r_info), obj, &defobj, SYMLOOK_IN_PLT, in _rtld_bind() 875 target = (Elf_Addr)rtld_resolve_ifunc(defobj, def); in _rtld_bind() 877 target = (Elf_Addr)(defobj->relocbase + def->st_value); in _rtld_bind() 880 defobj->strtab + def->st_name, in _rtld_bind() 883 defobj->path == NULL ? NULL : basename(defobj->path)); in _rtld_bind() 892 target = reloc_jmpslot(where, target, defobj, obj, rel); in _rtld_bind() 1790 const Obj_Entry *defobj; in find_symdef() local 1810 defobj = NULL; in find_symdef() 1833 defobj = req.defobj_out; in find_symdef() [all …]
|