aboutsummaryrefslogtreecommitdiff
path: root/tcg/sparc
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-04-12 20:14:54 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-04-12 20:14:54 +0000
commitf54b3f920f12fb4fb41e259f793a853860a7d2ec (patch)
treea1fdf84ed97f34461db71ad03cfbc0e146cf5e28 /tcg/sparc
parent339dea2774fbfb7092cc35a061849c0cb448618d (diff)
downloadqemu-f54b3f920f12fb4fb41e259f793a853860a7d2ec.zip
qemu-f54b3f920f12fb4fb41e259f793a853860a7d2ec.tar.gz
qemu-f54b3f920f12fb4fb41e259f793a853860a7d2ec.tar.bz2
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/sparc')
-rw-r--r--tcg/sparc/tcg-target.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tcg/sparc/tcg-target.c b/tcg/sparc/tcg-target.c
index 340ef94..fc58d50 100644
--- a/tcg/sparc/tcg-target.c
+++ b/tcg/sparc/tcg-target.c
@@ -88,8 +88,9 @@ static 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_SPARC_32:
if (value != (uint32_t)value)