]> git.proxmox.com Git - qemu.git/blobdiff - tcg/x86_64/tcg-target.c
HPPA (PA-RISC) host support
[qemu.git] / tcg / x86_64 / tcg-target.c
index 9cd89b27784e6321ace240f9c38a58d8c4f0e497..480ffcbc275de7d4e8c86e57a9ac256b68313e2f 100644 (file)
@@ -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)