sysdepCallMethod for embedded linux PowerPC

Marcus G. Daniels mgd at swarm.org
Sat Feb 26 10:47:08 PST 2000


>>>>> "GB" == Godmar Back <gback at cs.utah.edu> writes:

GB> I bet the problem is general, it's in all the fragility
GB> surrounding the use of asm()'s in various versions of gcc/egcs/gcc
GB> on various architectures. 

This was the cause of the problems I was having, anyway...

Index: support.c
===================================================================
RCS file: /cvs/kaffe/kaffe/kaffe/kaffevm/support.c,v
retrieving revision 1.46
diff -c -r1.46 support.c
*** support.c	2000/02/05 23:24:24	1.46
--- support.c	2000/02/26 18:43:54
***************
*** 576,582 ****
  #if defined(INTERPRETER)
  	meth = (Method*)func;
  	if (meth->accflags & ACC_NATIVE) {
!                 if (METHOD_NATIVECODE(meth) == 0) {
  			errorInfo info;
  			if (native(meth, &info) == false) {
  				throwError(&info);
--- 585,591 ----
  #if defined(INTERPRETER)
  	meth = (Method*)func;
  	if (meth->accflags & ACC_NATIVE) {
!                 if (!METHOD_TRANSLATED (meth)) {
  			errorInfo info;
  			if (native(meth, &info) == false) {
  				throwError(&info);


More information about the kaffe mailing list