[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lightning] Re: Broken jump patching on x86_64
From: |
Paolo Bonzini |
Subject: |
Re: [Lightning] Re: Broken jump patching on x86_64 |
Date: |
Wed, 11 Jun 2008 19:01:23 -0700 |
User-agent: |
Thunderbird 2.0.0.14 (Macintosh/20080421) |
That is how I deal with it in my code. I check
defined(__x86_64__)
I settled on this. In particular, I did something like this:
#if LIGHTNING_CROSS \
? LIGHTNING_TARGET == LIGHTNING_X86_64 \
: defined (__x86_64__)
#include "asm-64.h"
#else
#include "asm-32.h"
#endif
BTW, Brown's mail server complained about messages I send you for the
"git push" problem. It is a problem with ssh in Leopard, they say you
have to use an explicit -i option (or the equivalent option in
~/.ssh/config) to work around it.
I tested on i386-linux and x86_64-linux.
I guess you'll have to do "git pull --rebase" again.
Paolo