| /freebsd-14-stable/libexec/rtld-elf/ |
| HD | rtld.h | 288 } Obj_Entry; typedef 322 const Obj_Entry *obj; /* Shared object which defines it */ 330 const Obj_Entry **objs; /* Array of object pointers */ 357 const Obj_Entry *defobj_out; 392 Obj_Entry *map_object(int, const char *, const struct stat *); 402 void dump_relocations(Obj_Entry *); 403 void dump_obj_relocations(Obj_Entry *); 404 void dump_Elf_Rel(Obj_Entry *, const Elf_Rel *, u_long); 405 void dump_Elf_Rela(Obj_Entry *, const Elf_Rela *, u_long); 414 const Elf_Sym *find_symdef(unsigned long, const Obj_Entry *, [all …]
|
| HD | rtld.c | 91 static void digest_dynamic1(Obj_Entry *, int, const Elf_Dyn **, 93 static bool digest_dynamic2(Obj_Entry *, const Elf_Dyn *, const Elf_Dyn *, 95 static bool digest_dynamic(Obj_Entry *, int); 96 static Obj_Entry *digest_phdr(const Elf_Phdr *, int, caddr_t, const char *); 98 static Obj_Entry *dlcheck(void *); 100 static Obj_Entry *dlopen_object(const char *name, int fd, Obj_Entry *refobj, 102 static Obj_Entry *do_load_object(int, const char *, char *, struct stat *, int); 103 static int do_search_info(const Obj_Entry *obj, int, struct dl_serinfo *); 104 static bool donelist_check(DoneList *, const Obj_Entry *); 109 static char *find_library(const char *, const Obj_Entry *, int *); [all …]
|
| HD | debug.c | 61 dump_relocations (Obj_Entry *obj0) in dump_relocations() 63 Obj_Entry *obj; in dump_relocations() 72 dump_obj_relocations (Obj_Entry *obj) in dump_obj_relocations() 103 dump_Elf_Rel (Obj_Entry *obj, const Elf_Rel *rel0, u_long relsize) in dump_Elf_Rel() 125 dump_Elf_Rela (Obj_Entry *obj, const Elf_Rela *rela0, u_long relasize) in dump_Elf_Rela()
|
| HD | map_object.c | 62 Obj_Entry * 65 Obj_Entry *obj; in map_object() 430 obj_free(Obj_Entry *obj) in obj_free() 471 Obj_Entry * 474 Obj_Entry *obj; in obj_new() 476 obj = CNEW(Obj_Entry); in obj_new()
|
| HD | rtld_lock.c | 385 const Obj_Entry *obj; in _rtld_thread_init()
|
| /freebsd-14-stable/libexec/rtld-elf/riscv/ |
| HD | reloc.c | 52 set_gp(Obj_Entry *obj) in set_gp() 75 init_pltgot(Obj_Entry *obj) in init_pltgot() 85 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations() 87 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() 146 reloc_plt(Obj_Entry *obj, int flags __unused, RtldLockState *lockstate __unused) in reloc_plt() 169 reloc_jmpslots(Obj_Entry *obj, int flags, RtldLockState *lockstate) in reloc_jmpslots() 171 const Obj_Entry *defobj; in reloc_jmpslots() 204 reloc_iresolve(Obj_Entry *obj __unused, in reloc_iresolve() 213 reloc_iresolve_nonplt(Obj_Entry *obj __unused, in reloc_iresolve_nonplt() 222 reloc_gnu_ifunc(Obj_Entry *obj __unused, int flags __unused, in reloc_gnu_ifunc() [all …]
|
| /freebsd-14-stable/libexec/rtld-elf/aarch64/ |
| HD | reloc.c | 56 init_pltgot(Obj_Entry *obj) in init_pltgot() 66 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations() 68 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() 142 reloc_tlsdesc(const Obj_Entry *obj, const Elf_Rela *rela, Elf_Addr *where, in reloc_tlsdesc() 146 const Obj_Entry *defobj; in reloc_tlsdesc() 182 reloc_plt(Obj_Entry *obj, int flags, RtldLockState *lockstate) in reloc_plt() 221 reloc_jmpslots(Obj_Entry *obj, int flags, RtldLockState *lockstate) in reloc_jmpslots() 223 const Obj_Entry *defobj; in reloc_jmpslots() 259 reloc_iresolve_one(Obj_Entry *obj, const Elf_Rela *rela, in reloc_iresolve_one() 273 reloc_iresolve(Obj_Entry *obj, struct Struct_RtldLockState *lockstate) in reloc_iresolve() [all …]
|
| /freebsd-14-stable/libexec/rtld-elf/i386/ |
| HD | reloc.c | 61 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations() 77 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() 115 init_pltgot(Obj_Entry *obj) in init_pltgot() 125 reloc_non_plt(Obj_Entry *obj, Obj_Entry *obj_rtld, int flags, in reloc_non_plt() 132 const Obj_Entry *defobj; in reloc_non_plt() 245 __DECONST(Obj_Entry *, defobj))) { in reloc_non_plt() 282 reloc_plt(Obj_Entry *obj, int flags __unused, RtldLockState *lockstate __unused) in reloc_plt() 313 reloc_jmpslots(Obj_Entry *obj, int flags, RtldLockState *lockstate) in reloc_jmpslots() 324 const Obj_Entry *defobj; in reloc_jmpslots() 358 const Obj_Entry *obj __unused, const Obj_Entry *refobj __unused, in reloc_jmpslot() [all …]
|
| /freebsd-14-stable/libexec/rtld-elf/amd64/ |
| HD | reloc.c | 63 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations() 79 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() 117 init_pltgot(Obj_Entry *obj) in init_pltgot() 127 reloc_non_plt(Obj_Entry *obj, Obj_Entry *obj_rtld, int flags, in reloc_non_plt() 134 const Obj_Entry *defobj; in reloc_non_plt() 261 __DECONST(Obj_Entry *, defobj))) { in reloc_non_plt() 282 __DECONST(Obj_Entry *, defobj))) { in reloc_non_plt() 329 reloc_plt(Obj_Entry *obj, int flags __unused, RtldLockState *lockstate __unused) in reloc_plt() 360 reloc_jmpslots(Obj_Entry *obj, int flags, RtldLockState *lockstate) in reloc_jmpslots() 371 const Obj_Entry *defobj; in reloc_jmpslots() [all …]
|
| /freebsd-14-stable/libexec/rtld-elf/powerpc64/ |
| HD | reloc.c | 59 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations() 78 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() 159 reloc_nonplt_object(Obj_Entry *obj_rtld __unused, Obj_Entry *obj, in reloc_nonplt_object() 163 const Obj_Entry *defobj; in reloc_nonplt_object() 250 __DECONST(Obj_Entry *, defobj))) { in reloc_nonplt_object() 314 reloc_non_plt(Obj_Entry *obj, Obj_Entry *obj_rtld, int flags, in reloc_non_plt() 373 reloc_plt_object(Obj_Entry *obj, const Elf_Rela *rela) in reloc_plt_object() 400 reloc_plt(Obj_Entry *obj, int flags __unused, RtldLockState *lockstate __unused) in reloc_plt() 437 reloc_jmpslots(Obj_Entry *obj, int flags, RtldLockState *lockstate) in reloc_jmpslots() 439 const Obj_Entry *defobj; in reloc_jmpslots() [all …]
|
| /freebsd-14-stable/libexec/rtld-elf/arm/ |
| HD | reloc.c | 21 init_pltgot(Obj_Entry *obj) in init_pltgot() 30 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations() 46 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() 136 reloc_nonplt_object(Obj_Entry *obj, const Elf_Rel *rel, SymCache *cache, in reloc_nonplt_object() 141 const Obj_Entry *defobj; in reloc_nonplt_object() 314 reloc_non_plt(Obj_Entry *obj, Obj_Entry *obj_rtld, int flags, in reloc_non_plt() 352 reloc_plt(Obj_Entry *obj, int flags __unused, RtldLockState *lockstate __unused) in reloc_plt() 375 reloc_jmpslots(Obj_Entry *obj, int flags, RtldLockState *lockstate) in reloc_jmpslots() 377 const Obj_Entry *defobj; in reloc_jmpslots() 406 reloc_iresolve(Obj_Entry *obj __unused, in reloc_iresolve() [all …]
|
| /freebsd-14-stable/libexec/rtld-elf/powerpc/ |
| HD | reloc.c | 64 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations() 83 const Obj_Entry *srcobj, *defobj; in do_copy_relocations() 164 reloc_nonplt_object(Obj_Entry *obj_rtld __unused, Obj_Entry *obj, in reloc_nonplt_object() 168 const Obj_Entry *defobj; in reloc_nonplt_object() 255 __DECONST(Obj_Entry *, defobj))) { in reloc_nonplt_object() 319 reloc_non_plt(Obj_Entry *obj, Obj_Entry *obj_rtld, int flags, in reloc_non_plt() 374 reloc_plt_object(Obj_Entry *obj, const Elf_Rela *rela) in reloc_plt_object() 432 reloc_plt(Obj_Entry *obj, int flags __unused, RtldLockState *lockstate __unused) in reloc_plt() 476 reloc_jmpslots(Obj_Entry *obj, int flags, RtldLockState *lockstate) in reloc_jmpslots() 478 const Obj_Entry *defobj; in reloc_jmpslots() [all …]
|
| /freebsd-14-stable/lib/libthr/thread/ |
| HD | thr_symbols.c | 47 int _thread_off_linkmap = offsetof(Obj_Entry, linkmap); 48 int _thread_off_tlsindex = offsetof(Obj_Entry, tlsindex);
|