]> granicus.if.org Git - gc/commitdiff
2011-07-04 Ivan Maidanski <ivmai@mail.ru>
authorivmai <ivmai>
Mon, 4 Jul 2011 14:56:09 +0000 (14:56 +0000)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 26 Jul 2011 17:07:00 +0000 (21:07 +0400)
* 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.

ChangeLog
include/private/gcconfig.h

index d0c9bab8a99bb3a6b70fb7f16ab3beafa477348f..112d7de6f952c387f77433f544a1b8ac6e082a6c 100644 (file)
--- 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.
index d1695d92523732a2397d4ca8c66963ac995fd6ba..a3600f11200a3115867828e44bb4983feb5e979e 100644 (file)
 #     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"