Home
last modified time | relevance | path

Searched refs:Obj_Entry (Results 1 – 13 of 13) sorted by relevance

/freebsd/libexec/rtld-elf/
H A Drtld.h279 } Obj_Entry; typedef
313 const Obj_Entry *obj; /* Shared object which defines it */
321 const Obj_Entry **objs; /* Array of object pointers */
348 const Obj_Entry *defobj_out;
383 Obj_Entry *map_object(int, const char *, const struct stat *, bool);
393 void dump_relocations(Obj_Entry *);
394 void dump_obj_relocations(Obj_Entry *);
395 void dump_Elf_Rel(Obj_Entry *, const Elf_Rel *, u_long);
396 void dump_Elf_Rela(Obj_Entry *, const Elf_Rela *, u_long);
405 const Elf_Sym *find_symdef(unsigned long, const Obj_Entry *,
[all …]
H A Drtld.c95 static void digest_dynamic1(Obj_Entry *, int, const Elf_Dyn **,
97 static bool digest_dynamic2(Obj_Entry *, const Elf_Dyn *, const Elf_Dyn *,
99 static bool digest_dynamic(Obj_Entry *, int);
100 static Obj_Entry *digest_phdr(const Elf_Phdr *, int, caddr_t, const char *);
102 static Obj_Entry *dlcheck(void *);
104 static Obj_Entry *dlopen_object(const char *name, int fd, Obj_Entry *refobj,
106 static Obj_Entry *do_load_object(int, const char *, char *, struct stat *, int);
107 static int do_search_info(const Obj_Entry *obj, int, struct dl_serinfo *);
108 static bool donelist_check(DoneList *, const Obj_Entry *);
113 static char *find_library(const char *, const Obj_Entry *, int *);
[all …]
H A Ddebug.c61 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()
H A Dmap_object.c59 Obj_Entry *
62 Obj_Entry *obj; in map_object()
440 obj_free(Obj_Entry *obj) in obj_free()
483 Obj_Entry *
486 Obj_Entry *obj; in obj_new()
488 obj = CNEW(Obj_Entry); in obj_new()
H A Drtld_lock.c391 const Obj_Entry *obj; in _rtld_thread_init()
/freebsd/libexec/rtld-elf/riscv/
H A Dreloc.c44 set_gp(Obj_Entry *obj) in set_gp()
67 init_pltgot(Obj_Entry *obj) in init_pltgot()
77 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations()
79 const Obj_Entry *srcobj, *defobj; in do_copy_relocations()
138 reloc_plt(Obj_Entry *obj, int flags __unused, RtldLockState *lockstate __unused) in reloc_plt()
171 reloc_jmpslots(Obj_Entry *obj, int flags, RtldLockState *lockstate) in reloc_jmpslots()
173 const Obj_Entry *defobj; in reloc_jmpslots()
211 reloc_iresolve_one(Obj_Entry *obj, const Elf_Rela *rela, in reloc_iresolve_one()
225 reloc_iresolve(Obj_Entry *obj, struct Struct_RtldLockState *lockstate) in reloc_iresolve()
244 reloc_iresolve_nonplt(Obj_Entry *obj, struct Struct_RtldLockState *lockstate) in reloc_iresolve_nonplt()
[all …]
/freebsd/libexec/rtld-elf/aarch64/
H A Dreloc.c106 init_pltgot(Obj_Entry *obj) in init_pltgot()
116 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations()
118 const Obj_Entry *srcobj, *defobj; in do_copy_relocations()
201 reloc_tlsdesc(const Obj_Entry *obj, const Elf_Rela *rela, in reloc_tlsdesc()
205 const Obj_Entry *defobj; in reloc_tlsdesc()
240 reloc_plt(Obj_Entry *obj, int flags, RtldLockState *lockstate) in reloc_plt()
242 const Obj_Entry *defobj; in reloc_plt()
314 reloc_jmpslots(Obj_Entry *obj, int flags, RtldLockState *lockstate) in reloc_jmpslots()
316 const Obj_Entry *defobj; in reloc_jmpslots()
352 reloc_iresolve_one(Obj_Entry *obj, const Elf_Rela *rela, in reloc_iresolve_one()
[all …]
/freebsd/libexec/rtld-elf/i386/
H A Dreloc.c62 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations()
78 const Obj_Entry *srcobj, *defobj; in do_copy_relocations()
120 init_pltgot(Obj_Entry *obj) in init_pltgot()
130 reloc_non_plt(Obj_Entry *obj, Obj_Entry *obj_rtld, int flags, in reloc_non_plt()
137 const Obj_Entry *defobj; in reloc_non_plt()
252 __DECONST(Obj_Entry *, defobj))) { in reloc_non_plt()
289 reloc_plt(Obj_Entry *obj, int flags __unused, RtldLockState *lockstate __unused) in reloc_plt()
320 reloc_jmpslots(Obj_Entry *obj, int flags, RtldLockState *lockstate) in reloc_jmpslots()
331 const Obj_Entry *defobj; in reloc_jmpslots()
364 reloc_jmpslot(Elf_Addr *where, Elf_Addr target, const Obj_Entry *obj __unused, in reloc_jmpslot()
[all …]
/freebsd/libexec/rtld-elf/amd64/
H A Dreloc.c64 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations()
81 const Obj_Entry *srcobj, *defobj; in do_copy_relocations()
122 init_pltgot(Obj_Entry *obj) in init_pltgot()
132 reloc_non_plt(Obj_Entry *obj, Obj_Entry *obj_rtld, int flags, in reloc_non_plt()
139 const Obj_Entry *defobj; in reloc_non_plt()
268 if (!allocate_tls_offset(__DECONST(Obj_Entry *, in reloc_non_plt()
289 if (!allocate_tls_offset(__DECONST(Obj_Entry *, in reloc_non_plt()
337 reloc_plt(Obj_Entry *obj, int flags __unused, RtldLockState *lockstate __unused) in reloc_plt()
369 reloc_jmpslots(Obj_Entry *obj, int flags, RtldLockState *lockstate) in reloc_jmpslots()
381 const Obj_Entry *defobj; in reloc_jmpslots()
[all …]
/freebsd/libexec/rtld-elf/powerpc64/
H A Dreloc.c70 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations()
89 const Obj_Entry *srcobj, *defobj; in do_copy_relocations()
170 reloc_nonplt_object(Obj_Entry *obj_rtld __unused, Obj_Entry *obj, in reloc_nonplt_object()
174 const Obj_Entry *defobj; in reloc_nonplt_object()
261 __DECONST(Obj_Entry *, defobj))) { in reloc_nonplt_object()
325 reloc_non_plt(Obj_Entry *obj, Obj_Entry *obj_rtld, int flags, in reloc_non_plt()
382 reloc_plt_object(Obj_Entry *obj, const Elf_Rela *rela) in reloc_plt_object()
409 reloc_plt(Obj_Entry *obj, int flags __unused, RtldLockState *lockstate __unused) in reloc_plt()
446 reloc_jmpslots(Obj_Entry *obj, int flags, RtldLockState *lockstate) in reloc_jmpslots()
448 const Obj_Entry *defobj; in reloc_jmpslots()
[all …]
/freebsd/libexec/rtld-elf/arm/
H A Dreloc.c20 init_pltgot(Obj_Entry *obj) in init_pltgot()
29 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations()
45 const Obj_Entry *srcobj, *defobj; in do_copy_relocations()
135 reloc_nonplt_object(Obj_Entry *obj, const Elf_Rel *rel, SymCache *cache, in reloc_nonplt_object()
140 const Obj_Entry *defobj; in reloc_nonplt_object()
313 reloc_non_plt(Obj_Entry *obj, Obj_Entry *obj_rtld, int flags, in reloc_non_plt()
351 reloc_plt(Obj_Entry *obj, int flags __unused, RtldLockState *lockstate __unused) in reloc_plt()
374 reloc_jmpslots(Obj_Entry *obj, int flags, RtldLockState *lockstate) in reloc_jmpslots()
376 const Obj_Entry *defobj; in reloc_jmpslots()
405 reloc_iresolve(Obj_Entry *obj __unused, in reloc_iresolve()
[all …]
/freebsd/libexec/rtld-elf/powerpc/
H A Dreloc.c75 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations()
94 const Obj_Entry *srcobj, *defobj; in do_copy_relocations()
175 reloc_nonplt_object(Obj_Entry *obj_rtld __unused, Obj_Entry *obj, in reloc_nonplt_object()
179 const Obj_Entry *defobj; in reloc_nonplt_object()
266 __DECONST(Obj_Entry *, defobj))) { in reloc_nonplt_object()
330 reloc_non_plt(Obj_Entry *obj, Obj_Entry *obj_rtld, int flags, in reloc_non_plt()
383 reloc_plt_object(Obj_Entry *obj, const Elf_Rela *rela) in reloc_plt_object()
441 reloc_plt(Obj_Entry *obj, int flags __unused, RtldLockState *lockstate __unused) in reloc_plt()
485 reloc_jmpslots(Obj_Entry *obj, int flags, RtldLockState *lockstate) in reloc_jmpslots()
487 const Obj_Entry *defobj; in reloc_jmpslots()
[all …]
/freebsd/lib/libthr/thread/
H A Dthr_symbols.c46 int _thread_off_linkmap = offsetof(Obj_Entry, linkmap);
47 int _thread_off_tlsindex = offsetof(Obj_Entry, tlsindex);