]> granicus.if.org Git - gc/commitdiff
* gcconfig.h: Merged in local changes from old config.h.
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Nov 1999 17:26:59 +0000 (17:26 +0000)
committerguest <ivmai@mail.ru>
Fri, 29 Jul 2011 06:54:17 +0000 (10:54 +0400)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30376 138bc75d-0d04-0410-961f-82ee72b054a4

ChangeLog
gcconfig.h

index b9505ae8b7a27528071e750b9a415d3b1e42673b..7a38769e1cba680b7a5f24ddb169dce53a5e0602 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1999-11-03  Tom Tromey  <tromey@cygnus.com>
+
+       * gcconfig.h: Merged in local changes from old config.h.
+
 1999-11-02  Bryce McKinlay  <bryce@albatross.co.nz>
 
        * gcconfig.h: Don't define MPROTECT_VDB on Linux/i386.
index 384a46543f3b5b2c95f5f4b8723eb9f34d76a595..b2862664a696425bcb9e9600c514d9b7b5d7df19 100644 (file)
 # endif
 
 # ifdef MIPS
+# ifndef ECOS
 #   define MACH_TYPE "MIPS"
-#   ifndef IRIX5
-#     define DATASTART (ptr_t)0x10000000
+       /* LIBGCJ LOCAL: respect predefined DATASTART_IS_ETEXT.  */
+#   ifdef DATASTART_IS_ETEXT
+        extern int _etext;
+#     define DATASTART ((ptr_t)(&_etext))
+#   else
+#     ifndef IRIX5
+#       define DATASTART (ptr_t)0x10000000
                              /* Could probably be slightly higher since */
                              /* startup code allocates lots of stuff.   */
-#   else
-      extern int _fdata;
-#     define DATASTART ((ptr_t)(&_fdata))
-#     ifdef USE_MMAP
-#         define HEAP_START (ptr_t)0x30000000
 #     else
-#        define HEAP_START DATASTART
-#     endif
+        extern int _fdata;
+#       define DATASTART ((ptr_t)(&_fdata))
+#       ifdef USE_MMAP
+#           define HEAP_START (ptr_t)0x30000000
+#       else
+#          define HEAP_START DATASTART
+#       endif
                              /* Lowest plausible heap address.         */
                              /* In the MMAP case, we map there.        */
                              /* In either case it is used to identify  */
                              /* heap sections so they're not           */
                              /* considered as roots.                   */
-#   endif /* IRIX5 */
+#     endif /* IRIX5 */
+#   endif /* DATASTART_IS_ETEXT */
 #   define HEURISTIC2
 /* #   define STACKBOTTOM ((ptr_t)0x7fff8000)  sometimes also works.  */
 #   ifdef ULTRIX
 #      endif
 #      define DYNAMIC_LOADING
 #   endif
+#   endif /* ECOS */
+# ifdef ECOS
+    extern char __ram_data_start;
+    extern char __ram_data_end;
+#   define MACH_TYPE "MIPS"
+#   define DATASTART (ptr_t)(&__ram_data_start)
+#   define DATAEND (ptr_t)(&__ram_data_end)
+
+#   define HEURISTIC2
+#   define ALIGNMENT 4
+#   define ALIGN_DOUBLE
+#   endif /* ECOS */
 # endif
 
 # ifdef RS6000
 # if defined(PCR) || defined(SRC_M3) || \
        defined(SOLARIS_THREADS) || defined(WIN32_THREADS) || \
        defined(IRIX_THREADS) || defined(LINUX_THREADS) || \
-       defined(IRIX_JDK_THREADS) || defined(HPUX_THREADS)
+       defined(IRIX_JDK_THREADS) || defined(HPUX_THREADS) || \
+       defined(QUICK_THREADS)
 #   define THREADS
 # endif