tccelf: introduce add32/64le()
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user