Patch: another arm-elf fix in boehm-gc

Anthony Green green@redhat.com
Sun Sep 21 15:29:00 GMT 2003


Here's something else that broke in the latest import.

Ok?


2003-09-21  Anthony Green <green@redhat.com>

	* os_dep.c: Fix GC_get_stack_base build problem for vanilla elf
	"NOSYS" targets.


Index: os_dep.c
===================================================================
RCS file: /cvs/uberbaum/boehm-gc/os_dep.c,v
retrieving revision 1.27
diff -u -p -r1.27 os_dep.c
--- os_dep.c	29 Jul 2003 02:38:49 -0000	1.27
+++ os_dep.c	21 Sep 2003 14:36:38 -0000
@@ -963,7 +963,7 @@ ptr_t GC_get_stack_base()
 #endif /* FREEBSD_STACKBOTTOM */
 
 #if !defined(BEOS) && !defined(AMIGA) && !defined(MSWIN32) \
-    && !defined(MSWINCE) && !defined(OS2)
+    && !defined(MSWINCE) && !defined(OS2) && !defined(NOSYS) && !defined(ECOS)
 
 ptr_t GC_get_stack_base()
 {
@@ -1021,7 +1021,7 @@ ptr_t GC_get_stack_base()
 #   endif /* STACKBOTTOM */
 }
 
-# endif /* ! AMIGA, !OS 2, ! MS Windows, !BEOS */
+# endif /* ! AMIGA, !OS 2, ! MS Windows, !BEOS, !NOSYS, !ECOS */
 
 /*
  * Register static data segment(s) as roots.


-- 
Anthony Green <green@redhat.com>
Red Hat, Inc.



More information about the Java-patches mailing list