mirror of https://github.com/Nonannet/copapy.git
fix4
This commit is contained in:
parent
b0e7900d83
commit
702322ec0d
|
|
@ -443,7 +443,7 @@ def compile_to_instruction_list(node_list: Iterable[Node], sdb: stencil_database
|
||||||
# write program data
|
# write program data
|
||||||
dw.write_com(binw.Command.COPY_CODE)
|
dw.write_com(binw.Command.COPY_CODE)
|
||||||
dw.write_int(aux_function_lengths)
|
dw.write_int(aux_function_lengths)
|
||||||
dw.write_int(offset)
|
dw.write_int(offset - aux_function_lengths)
|
||||||
dw.write_bytes(b''.join(data_list))
|
dw.write_bytes(b''.join(data_list))
|
||||||
|
|
||||||
# write relocations
|
# write relocations
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue