I am writing the instruction below.
movq $TARGET_CIA, %rcx
TARGET_CIA
is an undefined variable so is treated as zero. This instruction's disassembly looks like
0: 48 c7 c1 00 00 00 00 mov $0x0,%rcx
At run time, I want to replace this $TARGET_CIA
with a 64-bit value by copying the 64-bit value to the offset of TARGET_CIA
symbol. Please let me know how this can this be done.