Fix Windows failed to relocate __ymm symbol error (#1047)

Resolve the "__ymm@" prefixed symbols like "__xmm@" and "__real@" symbols
in Windows platform.
This commit is contained in:
Wenyong Huang
2022-03-16 11:07:11 +08:00
committed by GitHub
parent 21d89135da
commit b1a4dd2e46
2 changed files with 57 additions and 30 deletions

View File

@ -197,10 +197,11 @@ typedef struct AOTModule {
uint32 literal_size;
#if defined(BH_PLATFORM_WINDOWS)
/* extra plt data area for __xmm and __real constants
/* extra plt data area for __ymm, __xmm and __real constants
in Windows platform, NULL for JIT mode */
uint8 *extra_plt_data;
uint32 extra_plt_data_size;
uint32 ymm_plt_count;
uint32 xmm_plt_count;
uint32 real_plt_count;
uint32 float_plt_count;