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