Home
last modified time | relevance | path

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

/freebsd/libexec/rtld-elf/
H A Drtld.h278 } Obj_Entry; typedef
312 const Obj_Entry *obj; /* Shared object which defines it */
320 const Obj_Entry **objs; /* Array of object pointers */
347 const Obj_Entry *defobj_out;
382 Obj_Entry *map_object(int, const char *, const struct stat *);
392 void dump_relocations(Obj_Entry *);
393 void dump_obj_relocations(Obj_Entry *);
394 void dump_Elf_Rel(Obj_Entry *, const Elf_Rel *, u_long);
395 void dump_Elf_Rela(Obj_Entry *, const Elf_Rela *, u_long);
404 const Elf_Sym *find_symdef(unsigned long, const Obj_Entry *,
[all …]
H A Drtld.c90 static void digest_dynamic1(Obj_Entry *, int, const Elf_Dyn **,
92 static bool digest_dynamic2(Obj_Entry *, const Elf_Dyn *, const Elf_Dyn *,
94 static bool digest_dynamic(Obj_Entry *, int);
95 static Obj_Entry *digest_phdr(const Elf_Phdr *, int, caddr_t, const char *);
97 static Obj_Entry *dlcheck(void *);
99 static Obj_Entry *dlopen_object(const char *name, int fd, Obj_Entry *refobj,
101 static Obj_Entry *do_load_object(int, const char *, char *, struct stat *, int);
102 static int do_search_info(const Obj_Entry *obj, int, struct dl_serinfo *);
103 static bool donelist_check(DoneList *, const Obj_Entry *);
108 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.c62 Obj_Entry *
65 Obj_Entry *obj; in map_object()
418 obj_free(Obj_Entry *obj) in obj_free()
459 Obj_Entry *
462 Obj_Entry *obj; in obj_new()
464 obj = CNEW(Obj_Entry); in obj_new()
/freebsd/libexec/rtld-elf/riscv/
H A Dreloc.c51 set_gp(Obj_Entry *obj) in set_gp()
74 init_pltgot(Obj_Entry *obj) in init_pltgot()
84 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations()
86 const Obj_Entry *srcobj, *defobj; in do_copy_relocations()
145 reloc_plt(Obj_Entry *obj, int flags __unused, RtldLockState *lockstate __unused) in reloc_plt()
178 reloc_jmpslots(Obj_Entry *obj, int flags, RtldLockState *lockstate) in reloc_jmpslots()
180 const Obj_Entry *defobj; in reloc_jmpslots()
218 reloc_iresolve_one(Obj_Entry *obj, const Elf_Rela *rela, in reloc_iresolve_one()
232 reloc_iresolve(Obj_Entry *obj, struct Struct_RtldLockState *lockstate) in reloc_iresolve()
251 reloc_iresolve_nonplt(Obj_Entry *obj, struct Struct_RtldLockState *lockstate) in reloc_iresolve_nonplt()
[all …]
/freebsd/libexec/rtld-elf/aarch64/
H A Dreloc.c113 init_pltgot(Obj_Entry *obj) in init_pltgot()
123 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations()
125 const Obj_Entry *srcobj, *defobj; in do_copy_relocations()
208 reloc_tlsdesc(const Obj_Entry *obj, const Elf_Rela *rela, in reloc_tlsdesc()
212 const Obj_Entry *defobj; in reloc_tlsdesc()
247 reloc_plt(Obj_Entry *obj, int flags, RtldLockState *lockstate) in reloc_plt()
249 const Obj_Entry *defobj; in reloc_plt()
321 reloc_jmpslots(Obj_Entry *obj, int flags, RtldLockState *lockstate) in reloc_jmpslots()
323 const Obj_Entry *defobj; in reloc_jmpslots()
359 reloc_iresolve_one(Obj_Entry *obj, const Elf_Rela *rela, in reloc_iresolve_one()
[all …]
/freebsd/libexec/rtld-elf/i386/
H A Dreloc.c61 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/libexec/rtld-elf/amd64/
H A Dreloc.c63 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/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()
384 reloc_plt_object(Obj_Entry *obj, const Elf_Rela *rela) in reloc_plt_object()
411 reloc_plt(Obj_Entry *obj, int flags __unused, RtldLockState *lockstate __unused) in reloc_plt()
448 reloc_jmpslots(Obj_Entry *obj, int flags, RtldLockState *lockstate) in reloc_jmpslots()
450 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()
385 reloc_plt_object(Obj_Entry *obj, const Elf_Rela *rela) in reloc_plt_object()
443 reloc_plt(Obj_Entry *obj, int flags __unused, RtldLockState *lockstate __unused) in reloc_plt()
487 reloc_jmpslots(Obj_Entry *obj, int flags, RtldLockState *lockstate) in reloc_jmpslots()
489 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);