Lines Matching defs:Struct_Obj_Entry

132 typedef struct Struct_Obj_Entry {  struct
140 TAILQ_ENTRY(Struct_Obj_Entry) next; argument
141 char *path; /* Pathname of underlying file (%) */
142 char *origin_path; /* Directory path of origin file */
143 int refcount; /* DAG references */
144 int holdcount; /* Count of transient references */
145 int dl_refcount; /* Number of times loaded by dlopen */
148 caddr_t mapbase; /* Base address of mapped region */
149 size_t mapsize; /* Size of mapped region in bytes */
150 Elf_Addr vaddrbase; /* Base address in shared object file */
151 caddr_t relocbase; /* Relocation constant = mapbase - vaddrbase */
152 const Elf_Dyn *dynamic; /* Dynamic section */
153 caddr_t entry; /* Entry point */
154 const Elf_Phdr *phdr; /* Program header if it is mapped, else NULL */
155 size_t phsize; /* Size of program header in bytes */
156 const char *interp; /* Pathname of the interpreter, if any */
157 Elf_Word stack_flags;
160 int tlsindex; /* Index in DTV for this module */
161 void *tlsinit; /* Base address of TLS init block */
162 size_t tlsinitsize; /* Size of TLS init block for this module */
163 size_t tlssize; /* Size of TLS block for this module */
164 size_t tlsoffset; /* Offset of static TLS block for this module */
165 size_t tlsalign; /* Alignment of static TLS block */
166 size_t tlspoffset; /* p_offset of the static TLS block */
168 caddr_t relro_page;
169 size_t relro_size;
172 Elf_Addr *pltgot; /* PLT or GOT, depending on architecture */
173 const Elf_Rel *rel; /* Relocation entries */
174 unsigned long relsize; /* Size in bytes of relocation info */
175 const Elf_Rela *rela; /* Relocation entries with addend */
176 unsigned long relasize; /* Size in bytes of addend relocation info */
177 const Elf_Relr *relr; /* RELR relocation entries */
178 unsigned long relrsize; /* Size in bytes of RELR relocations */
179 const Elf_Rel *pltrel; /* PLT relocation entries */
180 unsigned long pltrelsize; /* Size in bytes of PLT relocation info */
181 const Elf_Rela *pltrela; /* PLT relocation entries with addend */
182 unsigned long pltrelasize; /* Size in bytes of PLT addend reloc info */
183 const Elf_Sym *symtab; /* Symbol table */
184 const char *strtab; /* String table */
185 unsigned long strsize; /* Size in bytes of string table */
187 Elf_Word local_gotno; /* Number of local GOT entries */
188 Elf_Word symtabno; /* Number of dynamic symbols */
189 Elf_Word gotsym; /* First dynamic symbol in GOT */
190 Elf_Addr *mips_pltgot; /* Second PLT GOT */
194 Elf_Addr glink; /* GLINK PLT call stub section */
196 Elf_Addr *gotptr; /* GOT pointer (secure-plt only) */
200 const Elf_Verneed *verneed; /* Required versions. */
201 Elf_Word verneednum; /* Number of entries in verneed table */
202 const Elf_Verdef *verdef; /* Provided versions. */
203 Elf_Word verdefnum; /* Number of entries in verdef table */
204 const Elf_Versym *versyms; /* Symbol versions table */
206 const Elf_Hashelt *buckets; /* Hash table buckets array */
207 unsigned long nbuckets; /* Number of buckets */
208 const Elf_Hashelt *chains; /* Hash table chain array */
209 unsigned long nchains; /* Number of entries in chain array */
211 Elf32_Word nbuckets_gnu; /* Number of GNU hash buckets*/
212 Elf32_Word symndx_gnu; /* 1st accessible symbol on dynsym table */
213 Elf32_Word maskwords_bm_gnu; /* Bloom filter words - 1 (bitmask) */
214 Elf32_Word shift2_gnu; /* Bloom filter shift count */
215 Elf32_Word dynsymcount; /* Total entries in dynsym table */
216 const Elf_Addr *bloom_gnu; /* Bloom filter used by GNU hash func */
217 const Elf_Hashelt *buckets_gnu; /* GNU hash table bucket array */
218 const Elf_Hashelt *chain_zero_gnu; /* GNU hash table value array (Zeroed) */
220 const char *rpath; /* Search path specified in object */
221 const char *runpath; /* Search path with different priority */
222 Needed_Entry *needed; /* Shared objects needed by this one (%) */
223 Needed_Entry *needed_filtees;
224 Needed_Entry *needed_aux_filtees;
228 Ver_Entry *vertab; /* Versions required /defined by this object */
229 int vernum; /* Number of entries in vertab */
231 Elf_Addr init; /* Initialization function to call */
232 Elf_Addr fini; /* Termination function to call */
233 Elf_Addr preinit_array; /* Pre-initialization array of functions */
234 Elf_Addr init_array; /* Initialization array of functions */
235 Elf_Addr fini_array; /* Termination array of functions */
236 int preinit_array_num; /* Number of entries in preinit_array */
237 int init_array_num; /* Number of entries in init_array */
238 int fini_array_num; /* Number of entries in fini_array */
240 int32_t osrel; /* OSREL note value */
241 uint32_t fctl0; /* FEATURE_CONTROL note desc[0] value */
243 bool mainprog : 1; /* True if this is the main program */
244 bool rtld : 1; /* True if this is the dynamic linker */
245 bool relocated : 1; /* True if processed by relocate_objects() */
246 bool ver_checked : 1; /* True if processed by rtld_verify_object_versions */
247 bool textrel : 1; /* True if there are relocations to text seg */
248 bool symbolic : 1; /* True if generated with "-Bsymbolic" */
249 bool bind_now : 1; /* True if all relocations should be made first */
250 bool traced : 1; /* Already printed in ldd trace output */
251 bool jmpslots_done : 1; /* Already have relocated the jump slots */
252 bool init_done : 1; /* Already have added object to init list */
253 bool tls_done : 1; /* Already allocated offset for static TLS */
254 bool phdr_alloc : 1; /* Phdr is allocated and needs to be freed. */
255 bool z_origin : 1; /* Process rpath and soname tokens */
256 bool z_nodelete : 1; /* Do not unload the object and dependencies */
257 bool z_noopen : 1; /* Do not load on dlopen */
258 bool z_loadfltr : 1; /* Immediately load filtees */
259 bool z_interpose : 1; /* Interpose all objects but main */
260 bool z_nodeflib : 1; /* Don't search default library path */
261 bool z_global : 1; /* Make the object global */
262 bool z_pie : 1; /* Object proclaimed itself PIE executable */
263 bool static_tls : 1; /* Needs static TLS allocation */
264 bool static_tls_copied : 1; /* Needs static TLS copying */
265 bool ref_nodel : 1; /* Refcount increased to prevent dlclose */
266 bool init_scanned: 1; /* Object is already on init list. */
267 bool on_fini_list: 1; /* Object is already on fini list. */
268 bool dag_inited : 1; /* Object has its DAG initialized. */
269 bool filtees_loaded : 1; /* Filtees loaded */
270 bool irelative : 1; /* Object has R_MACHDEP_IRELATIVE relocs */
294 TAILQ_HEAD(obj_entry_q, Struct_Obj_Entry); argument