Re: [PATCH] x86: fix trampoline backpatching

2009-06-01 Thread Pekka Enberg
On Mon, 2009-06-01 at 09:58 +0300, Pekka Enberg wrote: > Hi Tomek, > > On Sat, 2009-05-30 at 14:22 +0200, Tomek Grabiec wrote: > > We should backpatch all relative call sites regardless of kind of the > > method. That's because 'invokespecial' instruction can emit relative > > calls to methods wh

Re: [PATCH] x86: fix trampoline backpatching

2009-05-31 Thread Pekka Enberg
Hi Tomek, On Sat, 2009-05-30 at 14:22 +0200, Tomek Grabiec wrote: > We should backpatch all relative call sites regardless of kind of the > method. That's because 'invokespecial' instruction can emit relative > calls to methods which are not static and are not constructors, for > example when cal

[PATCH] x86: fix trampoline backpatching

2009-05-30 Thread Tomek Grabiec
We should backpatch all relative call sites regardless of kind of the method. That's because 'invokespecial' instruction can emit relative calls to methods which are not static and are not constructors, for example when calling a private method. Signed-off-by: Tomek Grabiec --- arch/x86/emit-co