| /freebsd/libexec/rtld-elf/riscv/ |
| H A D | reloc.c | 79 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 D | rtld_machdep.h | 69 const struct Struct_Obj_Entry *defobj, const struct Struct_Obj_Entry *obj, 72 #define make_function_pointer(def, defobj) \ argument 73 ((defobj)->relocbase + (def)->st_value)
|
| /freebsd/libexec/rtld-elf/aarch64/ |
| H A D | reloc.c | 116 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local 153 defobj = req.defobj_out; in do_copy_relocations() 163 srcaddr = (const void *)(defobj->relocbase + srcsym->st_value); in do_copy_relocations() 203 const Obj_Entry *defobj; in reloc_tlsdesc() local 208 def = find_symdef(ELF_R_SYM(rela->r_info), obj, &defobj, flags, in reloc_tlsdesc() 213 obj = defobj; in reloc_tlsdesc() 240 const Obj_Entry *defobj; in reloc_plt() local 272 &defobj, SYMLOOK_IN_PLT | flags, NULL, in reloc_plt() 280 target = (Elf_Addr)(defobj->relocbase + in reloc_plt() 314 const Obj_Entry *defobj; in reloc_jmpslots() local [all …]
|
| H A D | rtld_machdep.h | 62 const struct Struct_Obj_Entry *defobj, const struct Struct_Obj_Entry *obj, 65 #define make_function_pointer(def, defobj) \ argument 66 ((defobj)->relocbase + (def)->st_value)
|
| /freebsd/libexec/rtld-elf/arm/ |
| H A D | reloc.c | 45 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 D | rtld_machdep.h | 56 const struct Struct_Obj_Entry *defobj, const struct Struct_Obj_Entry *obj, 59 #define make_function_pointer(def, defobj) \ argument 60 ((defobj)->relocbase + (def)->st_value)
|
| /freebsd/libexec/rtld-elf/powerpc64/ |
| H A D | reloc.c | 89 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 D | rtld_machdep.h | 55 const struct Struct_Obj_Entry *defobj, const struct Struct_Obj_Entry *obj, 59 #define make_function_pointer(def, defobj) \ argument 60 ((defobj)->relocbase + (def)->st_value)
|
| /freebsd/libexec/rtld-elf/amd64/ |
| H A D | reloc.c | 97 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 + in do_copy_relocations() 163 const Obj_Entry *defobj; in reloc_tlsdesc() local 169 def = find_symdef(ELF_R_SYM(rela->r_info), obj, &defobj, flags, in reloc_tlsdesc() 179 obj = defobj; in reloc_tlsdesc() 210 const Obj_Entry *defobj; in reloc_non_plt() local 244 def = find_symdef(ELF_R_SYM(rela->r_info), obj, &defobj, in reloc_non_plt() 269 defobj, def); in reloc_non_plt() 283 symval = (Elf_Addr)defobj->relocbase + in reloc_non_plt() [all …]
|
| H A D | rtld_machdep.h | 63 #define make_function_pointer(def, defobj) \ argument 64 ((defobj)->relocbase + (def)->st_value)
|
| /freebsd/libexec/rtld-elf/i386/ |
| H A D | reloc.c | 94 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local 112 defobj = req.defobj_out; in do_copy_relocations() 125 srcaddr = (const void *)(defobj->relocbase + in do_copy_relocations() 161 const Obj_Entry *defobj; in reloc_tlsdesc() local 167 def = find_symdef(ELF_R_SYM(rel->r_info), obj, &defobj, flags, in reloc_tlsdesc() 177 obj = defobj; in reloc_tlsdesc() 207 const Obj_Entry *defobj; in reloc_non_plt() local 237 def = find_symdef(ELF_R_SYM(rel->r_info), obj, &defobj, in reloc_non_plt() 251 rtld_resolve_ifunc(defobj, def); in reloc_non_plt() 264 symval = (Elf_Addr)defobj->relocbase + in reloc_non_plt() [all …]
|
| H A D | rtld_machdep.h | 61 #define make_function_pointer(def, defobj) \ argument 62 ((defobj)->relocbase + (def)->st_value)
|
| /freebsd/libexec/rtld-elf/powerpc/ |
| H A D | reloc.c | 94 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 D | rtld_machdep.h | 55 const struct Struct_Obj_Entry *defobj, const struct Struct_Obj_Entry *obj, 59 #define make_function_pointer(def, defobj) \ argument 60 ((defobj)->relocbase + (def)->st_value)
|
| /freebsd/libexec/rtld-elf/ |
| H A D | rtld.c | 1083 const Obj_Entry *defobj; in _rtld_bind() local 1098 def = find_symdef(ELF_R_SYM(rel->r_info), obj, &defobj, SYMLOOK_IN_PLT, in _rtld_bind() 1107 target = (Elf_Addr)rtld_resolve_ifunc(defobj, def); in _rtld_bind() 1109 target = (Elf_Addr)(defobj->relocbase + def->st_value); in _rtld_bind() 1112 dbg("\"%s\" in \"%s\" ==> %p in \"%s\"", defobj->strtab + def->st_name, in _rtld_bind() 1114 defobj->path == NULL ? NULL : basename(defobj->path)); in _rtld_bind() 1123 target = reloc_jmpslot(where, target, defobj, obj, rel); in _rtld_bind() 2052 const Obj_Entry *defobj; in find_symdef() local 2072 defobj = NULL; in find_symdef() 2095 defobj = req.defobj_out; in find_symdef() [all …]
|