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 */
349 const Obj_Entry *defobj_out;
385 Obj_Entry *map_object(int, const char *, const struct stat *, bool);
395 void dump_relocations(Obj_Entry *);
396 void dump_obj_relocations(Obj_Entry *);
397 void dump_Elf_Rel(Obj_Entry *, const Elf_Rel *, u_long);
398 void dump_Elf_Rela(Obj_Entry *, const Elf_Rela *, u_long);
407 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 *);
[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()
445 obj_free(Obj_Entry *obj) in obj_free()
489 Obj_Entry *
492 Obj_Entry *obj; in obj_new()
494 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/i386/
H A Dreloc.c55 md_obj_entry_init(Obj_Entry *obj) in md_obj_entry_init()
61 md_obj_entry_fini(Obj_Entry *obj) in md_obj_entry_fini()
78 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations()
94 const Obj_Entry *srcobj, *defobj; in do_copy_relocations()
136 init_pltgot(Obj_Entry *obj) in init_pltgot()
145 reloc_tlsdesc_alloc(Obj_Entry *obj, Elf_Addr tlsoffs) in reloc_tlsdesc_alloc()
157 reloc_tlsdesc(const Obj_Entry *obj, const Elf_Rel *rel, in reloc_tlsdesc()
161 const Obj_Entry *defobj; in reloc_tlsdesc()
193 where->arg = reloc_tlsdesc_alloc(__DECONST(Obj_Entry *, obj), in reloc_tlsdesc()
200 reloc_non_plt(Obj_Entry *obj, Obj_Entry *obj_rtld, int flags, in reloc_non_plt()
[all …]
/freebsd/libexec/rtld-elf/amd64/
H A Dreloc.c57 md_obj_entry_init(Obj_Entry *obj) in md_obj_entry_init()
63 md_obj_entry_fini(Obj_Entry *obj) in md_obj_entry_fini()
80 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations()
97 const Obj_Entry *srcobj, *defobj; in do_copy_relocations()
138 init_pltgot(Obj_Entry *obj) in init_pltgot()
147 reloc_tlsdesc_alloc(Obj_Entry *obj, Elf_Addr tlsoffs) in reloc_tlsdesc_alloc()
159 reloc_tlsdesc(const Obj_Entry *obj, const Elf_Rela *rela, in reloc_tlsdesc()
163 const Obj_Entry *defobj; in reloc_tlsdesc()
196 where->arg = reloc_tlsdesc_alloc(__DECONST(Obj_Entry *, obj), in reloc_tlsdesc()
203 reloc_non_plt(Obj_Entry *obj, Obj_Entry *obj_rtld, int flags, in reloc_non_plt()
[all …]
/freebsd/libexec/rtld-elf/aarch64/
H A Dreloc.c104 init_pltgot(Obj_Entry *obj) in init_pltgot()
114 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations()
116 const Obj_Entry *srcobj, *defobj; in do_copy_relocations()
199 reloc_tlsdesc(const Obj_Entry *obj, const Elf_Rela *rela, in reloc_tlsdesc()
203 const Obj_Entry *defobj; in reloc_tlsdesc()
238 reloc_plt(Obj_Entry *obj, int flags, RtldLockState *lockstate) in reloc_plt()
240 const Obj_Entry *defobj; in reloc_plt()
312 reloc_jmpslots(Obj_Entry *obj, int flags, RtldLockState *lockstate) in reloc_jmpslots()
314 const Obj_Entry *defobj; in reloc_jmpslots()
350 reloc_iresolve_one(Obj_Entry *obj, const Elf_Rela *rela, in reloc_iresolve_one()
[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()
369 reloc_plt_object(Obj_Entry *obj, const Elf_Rela *rela) in reloc_plt_object()
396 reloc_plt(Obj_Entry *obj, int flags __unused, RtldLockState *lockstate __unused) in reloc_plt()
433 reloc_jmpslots(Obj_Entry *obj, int flags, RtldLockState *lockstate) in reloc_jmpslots()
435 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()
370 reloc_plt_object(Obj_Entry *obj, const Elf_Rela *rela) in reloc_plt_object()
428 reloc_plt(Obj_Entry *obj, int flags __unused, RtldLockState *lockstate __unused) in reloc_plt()
472 reloc_jmpslots(Obj_Entry *obj, int flags, RtldLockState *lockstate) in reloc_jmpslots()
474 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);