libdragon
Loading...
Searching...
No Matches
dlfcn_internal.h
1#ifndef __DLFCN_INTERNAL_H
2#define __DLFCN_INTERNAL_H
3
4#include <stdbool.h>
5#include "dso_format.h"
6
8
10typedef void (*func_ptr)();
12typedef char *(*demangle_func)(char *);
14typedef dl_module_t *(*module_lookup_func)(const void *);
16typedef uint32_t u_uint32_t __attribute__((aligned(1)));
17
19#define R_MIPS_NONE 0
20#define R_MIPS_32 2
21#define R_MIPS_26 4
22#define R_MIPS_HI16 5
23#define R_MIPS_LO16 6
24
26extern demangle_func __dl_demangle_func;
28extern module_lookup_func __dl_lookup_module;
34extern size_t __dl_num_loaded_modules;
35
36#endif
dl_module_t * __dl_list_tail
Module list tail.
Definition dlfcn.c:67
dl_module_t * __dl_list_head
Module list head.
Definition dlfcn.c:65
module_lookup_func __dl_lookup_module
Module lookup function.
Definition dlfcn.c:63
demangle_func __dl_demangle_func
Demangler function.
Definition dlfcn.c:60
size_t __dl_num_loaded_modules
Number of loaded modules.
Definition dlfcn.c:69
DSO module data.
Definition dso_format.h:33