diff --git a/ChangeLog b/ChangeLog index bde1149..1e56203 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-08-30 Richard B. Kreckel + + * include/cln/modules.h (CL_JUMP_TO): Fix mips* brokenness. + 2005-08-27 Bruno Haible * src/integer/bitwise/cl_I_ash_I.cc (ash): Avoid shifting a 32-bit diff --git a/include/cln/modules.h b/include/cln/modules.h index b1bf8ac..d01e65a 100644 --- a/include/cln/modules.h +++ b/include/cln/modules.h @@ -138,7 +138,8 @@ #define CL_JUMP_TO(addr) ASM_VOLATILE("jmp %0@" : : "a" ((void*)(addr))) #endif #if defined(__mips__) || defined(__mipsel__) - #define CL_JUMP_TO(addr) ASM_VOLATILE("%*j %0" : : "d" ((void*)(addr))) + //#define CL_JUMP_TO(addr) ASM_VOLATILE("%*j %0" : : "d" ((void*)(addr))) + #define CL_JUMP_TO(addr) ASM_VOLATILE("b " ASM_UNDERSCORE_PREFIX #addr) #endif #if defined(__sparc__) || defined(__sparc64__) #define CL_JUMP_TO(addr) ASM_VOLATILE("jmp %0\n\tnop" : : "r" ((void*)(addr)))