mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-09-05 09:21:42 +00:00
Add Android macro check for indirect mode
This commit is contained in:
parent
962511226f
commit
9ee44bf2d0
|
@ -3899,8 +3899,9 @@ load_relocation_section(const uint8 *buf, const uint8 *buf_end,
|
|||
|| !strcmp(group->section_name, ".text")
|
||||
#endif
|
||||
) {
|
||||
#if !defined(BH_PLATFORM_LINUX) && !defined(BH_PLATFORM_LINUX_SGX) \
|
||||
&& !defined(BH_PLATFORM_DARWIN) && !defined(BH_PLATFORM_WINDOWS)
|
||||
#if !defined(BH_PLATFORM_LINUX) && !defined(BH_PLATFORM_LINUX_SGX) \
|
||||
&& !defined(BH_PLATFORM_DARWIN) && !defined(BH_PLATFORM_WINDOWS) \
|
||||
&& !defined(BH_PLATFORM_ANDROID)
|
||||
if (module->is_indirect_mode) {
|
||||
set_error_buf(error_buf, error_buf_size,
|
||||
"cannot apply relocation to text section "
|
||||
|
|
Loading…
Reference in New Issue
Block a user