From a2f76cf93c271b02db1456bbb05134b08809a883 Mon Sep 17 00:00:00 2001 From: Wenyong Huang Date: Fri, 18 Aug 2023 13:57:23 +0800 Subject: [PATCH] Fix typo in aot_emit_aot_file.c (#2478) --- core/iwasm/compilation/aot_emit_aot_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/iwasm/compilation/aot_emit_aot_file.c b/core/iwasm/compilation/aot_emit_aot_file.c index 1b1e4403..62218775 100644 --- a/core/iwasm/compilation/aot_emit_aot_file.c +++ b/core/iwasm/compilation/aot_emit_aot_file.c @@ -1825,7 +1825,7 @@ aot_emit_text_section(uint8 *buf, uint8 *buf_end, uint32 *p_offset, == 4 /* IMAGE_REL_AMD64_REL32 */) || (obj_data->target_info.bin_type == 4 /* AOT_COFF32_BIN_TYPE */ - && obj_data->target_info.bin_type + && relocation->relocation_type == 20 /* IMAGE_REL_I386_REL32 */))) { uint32 func_idx = atoi(relocation->symbol_name