diff options
| author | grischka <grischka> | 2016-11-20 14:52:56 +0100 |
|---|---|---|
| committer | grischka <grischka> | 2016-11-20 14:52:56 +0100 |
| commit | a52a39179a47ee125e88ae0938f06d08cf5723ce (patch) | |
| tree | f5d6cba453fe5d7e15bd3de0b83350a0f7345cfb /i386-asm.c | |
| parent | 4a3741bf02eb51c377312bdabc979e5ccbf5bf89 (diff) | |
| download | tinycc-a52a39179a47ee125e88ae0938f06d08cf5723ce.tar.gz tinycc-a52a39179a47ee125e88ae0938f06d08cf5723ce.tar.bz2 | |
tccelf: introduce add32/64le()
Diffstat (limited to 'i386-asm.c')
| -rw-r--r-- | i386-asm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -891,7 +891,7 @@ ST_FUNC void asm_opcode(TCCState *s1, int opcode) /* after immediate operands, adjust pc-relative address */ if (pc) - *(int*)(text_section->data + pc - 4) -= ind - pc; + add32le(text_section->data + pc - 4, pc - ind); } /* return the constraint priority (we allocate first the lowest |
