|
From: | Paolo Bonzini |
Subject: | Re: [Lightning] x86_64 Linkage Issue? |
Date: | Thu, 19 Aug 2010 17:12:30 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Lightning/1.0b2pre Mnenhy/0.8.3 Thunderbird/3.0.5 |
On 08/18/2010 04:48 PM, Noah Lavine wrote:
Hello, I've been using Lightning on x86_64, and with help from the test functions, I noticed something strange. It seems I can use jit_finish to call functions defined in the same file as the JIT code, but not dynamically linked functions. (Not sure about statically-linked functions in a different file yet.)
Try that, and try using gdb to see where the call ends up jumping to.
The printf.c test contains a dummy function that I assume was added as a workaround for this. Is this expected behavior?
No, the dummy function in printf was added as a workaround for the (lack of) varargs function support.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |