* include/private/gcconfig.h (etext): Don't define if unused
(NetBSD).
* include/private/gcconfig.h (GC_data_start, DATASTART): Define
for NetBSD/amd64 if ELF.
* include/private/gcconfig.h (SEARCH_FOR_DATA_START): Don't define
for NetBSD/amd64 if ELF.
+2011-07-04 Ivan Maidanski <ivmai@mail.ru>
+
+ * include/private/gcconfig.h (etext): Don't define if unused
+ (NetBSD).
+ * include/private/gcconfig.h (GC_data_start, DATASTART): Define
+ for NetBSD/amd64 if ELF.
+ * include/private/gcconfig.h (SEARCH_FOR_DATA_START): Don't define
+ for NetBSD/amd64 if ELF.
+
2011-07-04 Ivan Maidanski <ivmai@mail.ru> (mostly really Andy Wingo)
* configure.ac (GC_THREADS): Refine the comment.
# define ALIGNMENT 4
# define OS_TYPE "NETBSD"
# define HEURISTIC2
- extern char etext[];
extern ptr_t GC_data_start;
# define DATASTART GC_data_start
# define DYNAMIC_LOADING
# define ALIGNMENT 4
# define HEURISTIC2
# ifdef __ELF__
- extern int etext[];
extern ptr_t GC_data_start;
# define DATASTART GC_data_start
# define NEED_FIND_LIMIT
# endif
# ifdef NETBSD
# define OS_TYPE "NETBSD"
+# define HEURISTIC2
# ifdef __ELF__
+ extern ptr_t GC_data_start;
+# define DATASTART GC_data_start
# define DYNAMIC_LOADING
+# else
+# define SEARCH_FOR_DATA_START
# endif
-# define HEURISTIC2
- extern char etext[];
-# define SEARCH_FOR_DATA_START
# endif
# ifdef SOLARIS
# define OS_TYPE "SOLARIS"