* include/gc.h (GC_INIT_CONF_ROOTS): Do not define to register static
data root in range from __data_start to _end on non-ARM Android
(because __data_start symbol does not exist for x86 and mips); refine
the comment.
# define GC_DATAEND ((void *)((ulong)_end))
# define GC_INIT_CONF_ROOTS GC_add_roots(GC_DATASTART, GC_DATAEND)
#elif (defined(PLATFORM_ANDROID) || defined(__ANDROID__)) \
- && !defined(GC_NOT_DLL)
- /* Required if GC is built as shared library. */
+ && defined(__arm__) && !defined(GC_NOT_DLL)
+ /* Required if GC is built as shared lib with -D IGNORE_DYNAMIC_LOADING. */
extern int __data_start[], _end[];
# define GC_INIT_CONF_ROOTS GC_add_roots(__data_start, _end)
#else