[PATCH] [JAVA] patch for Java on RTEMS

Ralf Wildenhues Ralf.Wildenhues@gmx.de
Fri Aug 26 13:20:00 GMT 2011


* Jie Liu wrote on Mon, Aug 15, 2011 at 04:07:36PM CEST:
> > Looks OK, but there is no ChangeLog.  Do you have copyright
> > assignment?
> 
> Have added ChangeLog to the patch, please see the attachment. And I
> think I have copyright assignment, because I have Free Software
> Foundation paperwork, as "ASSIGNMENT - GNU GCC ... JIE RT688742"

The build-system specific parts of the patch are OK, provided
that they have been sufficiently tested.  When committing
top-level changes, please make sure they are synced to the
src repository; if you don't have write access to src, please
ask someone who has to do that for you.

I think you still need approval for the boehm-gc related changes.

Please also try to send patches with some text MIME type.

Thanks,
Ralf

> --- boehm-gc/ChangeLog	(revision 172224)
> +++ boehm-gc/ChangeLog	(working copy)
> @@ -1,3 +1,22 @@
> +2011-08-15  Jie Liu  <lj8175@gmail.com>
> +	* configure.ac: Add configure for RTEMS.
> +	* configure: Add configure for RTEMS.
> +	* include/gc_config.h.in: Add GC_RTEMS_PTHREADS for RTEMS.
> +	* mach_dep.c (GC_with_callee_saves_pushed): Use setjmp for
> +	RTEMS.
> +	* include/gc_config_macros.h: Define GC_PTHREADS for rtems.
> +	* include/private/gcconfig.h: Add configure for RTEMS/i386;
> +	Use calloc for RTEMS to GET_MEM.
> +	* pthread_stop_world.c (GC_stop_init): Add judge SA_RESTART
> +	for operating system; Use sigprocmask unblock the signal
> +	for RTEMS.
> +	* pthread_support.c: Define USE_PTHREAD_SPECIFIC for RTEMS;
> +	Do not include sys/mman.h for RTEMS; Add default GC_nprocs
> +	for RTEMS.
> +	* gc_dlopen.c: Do not include dlfcn.h for RTEMS.
> +	* os_dep.c: Do not use auxiliary routines for obtaining 
> +	memory from RTEMS.

> --- ChangeLog	(revision 172224)
> +++ ChangeLog	(working copy)
> @@ -1,3 +1,8 @@
> +2011-08-15  Jie Liu  <lj8175@gmail.com>
> +
> +	* configure.ac (*-*-rtems*): Remove ${libgcj} in nonconfigdirs.
> +	* configure: Regenerate.


> --- libjava/ChangeLog	(revision 172224)
> +++ libjava/ChangeLog	(working copy)
> @@ -1,3 +1,13 @@
> +2011-08-15  Jie Liu  <lj8175@gmail.com>
> +
> +	* configure.ac (THREADS): Add configuration for RTEMS.
> +	* configure.host (host): Add configuration for RTEMS.
> +	* include/config.h.in: Add RTEMS_PTHREADS for RTEMS.
> +	* configure: Add configure for RTEMS.
> +	* classpath/native/fdlibm/mprec.c: Remove _mprec_log10 for RTEMS.
> +	* posix-threads.cc: Use SIGHUP for INTR on RTEMS.
> +	* java/lang/natClass.cc: Undef HAVE_TLS for RTEMS.



More information about the Java mailing list