diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-04-12 20:14:54 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-04-12 20:14:54 +0000 |
commit | f54b3f920f12fb4fb41e259f793a853860a7d2ec (patch) | |
tree | a1fdf84ed97f34461db71ad03cfbc0e146cf5e28 /tcg/x86_64 | |
parent | 339dea2774fbfb7092cc35a061849c0cb448618d (diff) |
HPPA (PA-RISC) host support
(Stuart Brady)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4199 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tcg/x86_64')
-rw-r--r-- | tcg/x86_64/tcg-target.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tcg/x86_64/tcg-target.c b/tcg/x86_64/tcg-target.c index 9cd89b2778..480ffcbc27 100644 --- a/tcg/x86_64/tcg-target.c +++ b/tcg/x86_64/tcg-target.c @@ -74,8 +74,9 @@ const int tcg_target_call_oarg_regs[2] = { }; static void patch_reloc(uint8_t *code_ptr, int type, - tcg_target_long value) + tcg_target_long value, tcg_target_long addend) { + value += addend; switch(type) { case R_X86_64_32: if (value != (uint32_t)value) |