commit | 623e265c6b1ad09fccecaa53f8c8a1fd572c54c7 | [log] [tgz] |
---|---|---|
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | Sun Feb 10 14:09:09 2008 +0000 |
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | Sun Feb 10 14:09:09 2008 +0000 |
tree | b9bd715c57787f5c40bd45fd7c18bec42cda86ee | |
parent | b2a5160c9f11cc5fe64230a6ec8f95e3aecfeacf [diff] [blame] |
Simplify TCG relocation bugfix. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3974 c046a42c-6fe2-441c-8c8c-71466251a162
diff --git a/tcg/i386/tcg-target.c b/tcg/i386/tcg-target.c index dd8b5f6..ceacb4f 100644 --- a/tcg/i386/tcg-target.c +++ b/tcg/i386/tcg-target.c
@@ -318,7 +318,7 @@ 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; } }