1 | /* libltdlcS.c - symbol resolution table for 'libltdlc' dlsym emulation. */ |
2 | /* Generated by libtool (GNU libtool) 2.4.6 */ |
3 | |
4 | #ifdef __cplusplus |
5 | extern "C" { |
6 | #endif |
7 | |
8 | #if defined __GNUC__ && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4)) |
9 | #pragma GCC diagnostic ignored "-Wstrict-prototypes" |
10 | #endif |
11 | |
12 | /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ |
13 | #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE |
14 | /* DATA imports from DLLs on WIN32 can't be const, because runtime |
15 | relocations are performed -- see ld's documentation on pseudo-relocs. */ |
16 | # define LT_DLSYM_CONST |
17 | #elif defined __osf__ |
18 | /* This system does not cope well with relocations in const data. */ |
19 | # define LT_DLSYM_CONST |
20 | #else |
21 | # define LT_DLSYM_CONST const |
22 | #endif |
23 | |
24 | #define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0) |
25 | |
26 | /* External symbol declarations for the compiler. */ |
27 | extern int dlopen_LTX_get_vtable(); |
28 | |
29 | /* The mapping between symbol names and symbols. */ |
30 | typedef struct { |
31 | const char *name; |
32 | void *address; |
33 | } lt_dlsymlist; |
34 | extern LT_DLSYM_CONST lt_dlsymlist |
35 | lt_libltdlc_LTX_preloaded_symbols[]; |
36 | LT_DLSYM_CONST lt_dlsymlist |
37 | lt_libltdlc_LTX_preloaded_symbols[] = |
38 | { {"libltdlc" , (void *) 0}, |
39 | {"dlopen.a" , (void *) 0}, |
40 | {"dlopen_LTX_get_vtable" , (void *) &dlopen_LTX_get_vtable}, |
41 | {0, (void *) 0} |
42 | }; |
43 | |
44 | /* This works around a problem in FreeBSD linker */ |
45 | #ifdef FREEBSD_WORKAROUND |
46 | static const void *lt_preloaded_setup() { |
47 | return lt_libltdlc_LTX_preloaded_symbols; |
48 | } |
49 | #endif |
50 | |
51 | #ifdef __cplusplus |
52 | } |
53 | #endif |
54 | |