* dyn_load.c (GC_register_dynamic_libraries): Remove PLATFORM_ANDROID
macro check from Solaris-specific code.
# endif
# if defined(SOLARISDL)
+
/* Add dynamic library data sections to the root set. */
# if !defined(PCR) && !defined(GC_SOLARIS_THREADS) && defined(THREADS)
--> fix mutual exclusion with dlopen
int i;
e = (ElfW(Ehdr) *) lm->l_addr;
-# ifdef PLATFORM_ANDROID
- if (e == NULL)
- continue;
-# endif
p = ((ElfW(Phdr) *)(((char *)(e)) + e->e_phoff));
offset = ((unsigned long)(lm->l_addr));
for( i = 0; i < (int)e->e_phnum; i++, p++ ) {