Changeset View
Changeset View
Standalone View
Standalone View
libexec/rtld-elf/rtld.h
Show First 20 Lines • Show All 399 Lines • ▼ Show 20 Lines | |||||
void *allocate_tls(Obj_Entry *, void *, size_t, size_t); | void *allocate_tls(Obj_Entry *, void *, size_t, size_t); | ||||
void free_tls(void *, size_t, size_t); | void free_tls(void *, size_t, size_t); | ||||
void *allocate_module_tls(int index); | void *allocate_module_tls(int index); | ||||
bool allocate_tls_offset(Obj_Entry *obj); | bool allocate_tls_offset(Obj_Entry *obj); | ||||
void free_tls_offset(Obj_Entry *obj); | void free_tls_offset(Obj_Entry *obj); | ||||
const Ver_Entry *fetch_ventry(const Obj_Entry *obj, unsigned long); | const Ver_Entry *fetch_ventry(const Obj_Entry *obj, unsigned long); | ||||
int convert_prot(int elfflags); | int convert_prot(int elfflags); | ||||
void *_get_tp(void); /* libc implementation */ | void *_get_tp(void); /* libc implementation */ | ||||
bool check_elf_headers(const Elf_Ehdr *hdr, const char *path); | |||||
/* | /* | ||||
* MD function declarations. | * MD function declarations. | ||||
*/ | */ | ||||
int do_copy_relocations(Obj_Entry *); | int do_copy_relocations(Obj_Entry *); | ||||
int reloc_non_plt(Obj_Entry *, Obj_Entry *, int flags, | int reloc_non_plt(Obj_Entry *, Obj_Entry *, int flags, | ||||
struct Struct_RtldLockState *); | struct Struct_RtldLockState *); | ||||
int reloc_plt(Obj_Entry *, int flags, struct Struct_RtldLockState *); | int reloc_plt(Obj_Entry *, int flags, struct Struct_RtldLockState *); | ||||
Show All 14 Lines |