summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2011-07-04 14:56:16 +0000
committerIvan Maidanski <ivmai@mail.ru>2012-11-14 13:57:32 +0400
commit74c25bba2bb94f7747329d7119e5d854c685aea8 (patch)
tree3055b2257da2b567d6d05f444535ca97c714a8e4
parentd57c457306c7673f73a04d9cfef56ed14c0d98e3 (diff)
downloadbdwgc-74c25bba2bb94f7747329d7119e5d854c685aea8.tar.gz
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. --HG-- branch : bdwgc
-rw-r--r--ChangeLog9
-rw-r--r--include/private/gcconfig.h10
2 files changed, 14 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index d0c9bab8..112d7de6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+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.
diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h
index d1695d92..a3600f11 100644
--- a/include/private/gcconfig.h
+++ b/include/private/gcconfig.h
@@ -878,7 +878,6 @@
# 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
@@ -1529,7 +1528,6 @@
# 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
@@ -2171,12 +2169,14 @@
# 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"