From 623e265c6b1ad09fccecaa53f8c8a1fd572c54c7 Mon Sep 17 00:00:00 2001 From: pbrook Date: Sun, 10 Feb 2008 14:09:09 +0000 Subject: Simplify TCG relocation bugfix. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3974 c046a42c-6fe2-441c-8c8c-71466251a162 --- tcg/x86_64/tcg-target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tcg/x86_64') diff --git a/tcg/x86_64/tcg-target.c b/tcg/x86_64/tcg-target.c index b4b3e7d..0ee7d23 100644 --- a/tcg/x86_64/tcg-target.c +++ b/tcg/x86_64/tcg-target.c @@ -431,7 +431,7 @@ static void tcg_out_jxx(TCGContext *s, int opc, int label_index) tcg_out8(s, 0x80 + opc); } tcg_out_reloc(s, s->code_ptr, R_386_PC32, label_index, -4); - tcg_out32(s, -4); + s->code_ptr += 4; } } -- cgit v1.1