[Mono-dev] AMD64 AOT code and bad IMT

2013-05-20 Thread Gavin Dodd
Hi, I'm new to Mono so I'm not sure if this is the right list. Please point me in the right direction if this isn't the place to ask these questions. I'm trying to get AOT compiled code to run on an embedded AMD 64 system. It is crashing the first time it hits a method call requiring an IMT

Re: [Mono-dev] AMD64 AOT code and bad IMT

2013-05-20 Thread Zoltan Varga
Hi, On Tue, May 21, 2013 at 1:37 AM, Gavin Dodd ga...@wholesalealgorithms.comwrote: To make things more interesting I'm working with a branch of mono 2.8 (I think) and I don't have any symbols for the AOT compiled code at run time, You should try a 3.0 based mono version first, you might be

Re: [Mono-dev] AMD64 AOT code and bad IMT

2013-05-20 Thread Wholesale
Thanks for the info. I'm not sure it is possible to switch to 3.0, but I'll look into it. The register in my version is R11, should code be emitted to look up the correct table or is mono_get_lmf_addr the correct call? On May 20, 2013, at 16:52, Zoltan Varga var...@gmail.com wrote: Hi,

Re: [Mono-dev] AMD64 AOT code and bad IMT

2013-05-20 Thread Zoltan Varga
Hi, R11 is a scratch register overwritten by a lot of code including various trampolines, so thats why we use r10. Zoltan On Tue, May 21, 2013 at 4:13 AM, Wholesale ga...@wholesalealgorithms.comwrote: Thanks for the info. I'm not sure it is possible to switch to 3.0,