Searched refs:RTLD_SELF (Results 1 - 4 of 4) sorted by relevance

/macosx-10.9.5/dyld-239.4/unit-tests/test-cases/dlsym-RTLD_SELF/
H A Dtest.c36 #ifdef RTLD_SELF
37 if ( dlsym(RTLD_SELF, "foo") != &foo )
38 FAIL("dlsym(RTLD_SELF, \"foo\") returned wrong value");
H A Dmain.c34 /// Both test.bundle and test.dylib call dlsym(RTLD_SELF, "foo");
72 if ( dlsym(RTLD_SELF, "foo") != &foo ) {
73 FAIL("dlsym(RTLD_SELF, \"foo\") returned wrong value");
76 PASS("dlsym-RTLD_SELF bundle and dylib");
/macosx-10.9.5/dyld-239.4/include/
H A Ddlfcn.h80 #define RTLD_SELF ((void *) -3) /* Search this and subsequent objects (Mac OS X 10.5 and later) */ macro
/macosx-10.9.5/dyld-239.4/src/
H A DdyldAPIs.cpp1723 if ( handle == RTLD_SELF ) {
1731 const char* str = dyld::mkstringf("dlsym(RTLD_SELF, %s): symbol not found", symbolName);

Completed in 120 milliseconds