| /freebsd-12.1/libexec/rtld-elf/riscv/ |
| H A D | reloc.c | 89 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 243 const Obj_Entry *defobj; in reloc_non_plt() local 277 def = find_symdef(symnum, obj, &defobj, flags, cache, in reloc_non_plt() 291 *where += (Elf_Addr)defobj->tlsindex; in reloc_non_plt() 319 if (!defobj->tls_done) { in reloc_non_plt() 321 __DECONST(Obj_Entry *, defobj))) { in reloc_non_plt() 346 if (!defobj->tls_done) { in reloc_non_plt() 348 __DECONST(Obj_Entry *, defobj))) { in reloc_non_plt() [all …]
|
| H A 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.1/libexec/rtld-elf/aarch64/ |
| H A D | reloc.c | 71 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local 108 defobj = req.defobj_out; in do_copy_relocations() 151 const Obj_Entry *defobj; in reloc_tlsdesc() local 162 obj = defobj; in reloc_tlsdesc() 227 const Obj_Entry *defobj; in reloc_jmpslots() local 293 const Obj_Entry *defobj; in reloc_gnu_ifunc() local 351 const Obj_Entry *defobj; in reloc_non_plt() local 403 defobj, def); in reloc_non_plt() 454 if (!defobj->tls_done) { in reloc_non_plt() 466 defobj->tlsoffset; in reloc_non_plt() [all …]
|
| H A 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.1/libexec/rtld-elf/amd64/ |
| H A D | reloc.c | 80 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() 368 const Obj_Entry *defobj; in reloc_jmpslots() local [all …]
|
| H A D | rtld_machdep.h | 47 #define make_function_pointer(def, defobj) \ argument 48 ((defobj)->relocbase + (def)->st_value)
|
| /freebsd-12.1/libexec/rtld-elf/powerpc64/ |
| H A D | reloc.c | 79 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local 100 defobj = req.defobj_out; in do_copy_relocations() 165 const Obj_Entry *defobj; in reloc_nonplt_object() local 229 *where = (Elf_Addr) defobj->tlsindex; in reloc_nonplt_object() 248 if (!defobj->tls_done) { in reloc_nonplt_object() 250 __DECONST(Obj_Entry *, defobj))) { in reloc_nonplt_object() 395 const Obj_Entry *defobj; in reloc_jmpslots() local 424 reloc_jmpslot(where, target, defobj, obj, in reloc_jmpslots() 452 (Elf_Addr)defobj->relocbase); in reloc_jmpslot() 482 (Elf_Addr)defobj->relocbase; in reloc_jmpslot() [all …]
|
| H A 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.1/libexec/rtld-elf/arm/ |
| H A 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 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 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.1/libexec/rtld-elf/i386/ |
| H A D | reloc.c | 79 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 173 defobj, def); in reloc_non_plt() 186 symval = (Elf_Addr)defobj->relocbase + in reloc_non_plt() 241 if (!defobj->tls_done) { in reloc_non_plt() 243 __DECONST(Obj_Entry *, defobj))) { in reloc_non_plt() 257 *where += (Elf_Addr)defobj->tlsindex; in reloc_non_plt() 319 const Obj_Entry *defobj; in reloc_jmpslots() local 333 reloc_jmpslot(where, target, defobj, obj, rel); in reloc_jmpslots() [all …]
|
| H A D | rtld_machdep.h | 47 #define make_function_pointer(def, defobj) \ argument 48 ((defobj)->relocbase + (def)->st_value)
|
| /freebsd-12.1/libexec/rtld-elf/mips/ |
| H A D | reloc.c | 112 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 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.1/libexec/rtld-elf/powerpc/ |
| H A D | reloc.c | 83 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local 104 defobj = req.defobj_out; 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() 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() 251 if (!defobj->tls_done) { in reloc_nonplt_object() 253 __DECONST(Obj_Entry *, defobj))) { in reloc_nonplt_object() 430 const Obj_Entry *defobj; in reloc_jmpslots() local 455 (void *)target, basename(defobj->path)); in reloc_jmpslots() [all …]
|
| H A 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.1/libexec/rtld-elf/sparc64/ |
| H A D | reloc.c | 251 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() local 276 defobj = req.defobj_out; in do_copy_relocations() 335 const Obj_Entry *defobj; in reloc_nonplt_object() local 345 defobj = NULL; in reloc_nonplt_object() 400 value = (Elf_Addr)defobj->tlsindex; in reloc_nonplt_object() 412 __DECONST(Obj_Entry *, defobj))) { in reloc_nonplt_object() 418 defobj->tlsoffset); in reloc_nonplt_object() 422 defobj->relocbase); in reloc_nonplt_object() 494 const Obj_Entry *defobj; in reloc_plt() 539 const Obj_Entry *defobj; in reloc_jmpslots() local [all …]
|
| H A D | rtld_machdep.h | 47 #define make_function_pointer(def, defobj) \ argument 48 ((defobj)->relocbase + (def)->st_value)
|
| /freebsd-12.1/libexec/rtld-elf/ |
| H A D | rtld.c | 1748 defobj = NULL; in find_symdef() 1775 defobj = refobj; in find_symdef() 1784 defobj = obj_main; in find_symdef() 1788 *defobj_out = defobj; in find_symdef() 3462 defobj = NULL; in do_dlsym() 3485 defobj = req.defobj_out; in do_dlsym() 3521 defobj = req.defobj_out; in do_dlsym() 3538 defobj = req.defobj_out; in do_dlsym() 3558 defobj = req.defobj_out; in do_dlsym() 4208 defobj = NULL; in symlook_list() [all …]
|