wasm-micro-runtime/core/iwasm
Wenyong Huang d6bba13e86
Fix fast-interp "pre-compiled label offset out of range" issue (#2659)
When labels-as-values is enabled in a target which doesn't support
unaligned address access, 16-bit offset is used to store the relative
offset between two opcode labels. But it is a little small and the loader
may report "pre-compiled label offset out of range" error.

Emitting 32-bit data instead to resolve the issue: emit label address in
32-bit target and emit 32-bit relative offset in 64-bit target.

See also:
https://github.com/bytecodealliance/wasm-micro-runtime/issues/2635
2023-10-24 10:47:17 +08:00
..
aot CI: Enable testing AOT multi-module feature (#2621) 2023-10-08 08:36:49 +08:00
common Fix several typo/warning/unused-code issues (#2655) 2023-10-24 09:19:45 +08:00
compilation Fix AOT shift operations for indirect constants (#2627) 2023-10-11 11:22:34 +08:00
doc Add architecture diagram for wasm globals and classic-interp stack frame (#2058) 2023-03-25 09:39:20 +08:00
fast-jit Fix several typo/warning/unused-code issues (#2655) 2023-10-24 09:19:45 +08:00
include Support muti-module for AOT mode (#2482) 2023-09-28 08:56:11 +08:00
interpreter Fix fast-interp "pre-compiled label offset out of range" issue (#2659) 2023-10-24 10:47:17 +08:00
libraries Fix several typo/warning/unused-code issues (#2655) 2023-10-24 09:19:45 +08:00
README.md Add architecture diagram for wasm globals and classic-interp stack frame (#2058) 2023-03-25 09:39:20 +08:00