summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorivmai <ivmai>2011-07-04 16:56:09 +0200
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:07:00 +0200
commitce5d588c6422d83ee76d8ee925b70528bec0b560 (patch)
tree5294a15fe36b781ededa4187d1174f6b54c5c39c /include
parent06c1e2cf3859e4f9cf26dfd93c4c707293754aca (diff)
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.
Diffstat (limited to 'include')
-rw-r--r--include/private/gcconfig.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h
index d1695d9..a3600f1 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"