Enable sample/simple for aarch64 (#616)

Fixed a typo in aot_reloc_aarch64.c.
Remove -m32 option in host tool CMakeLists.txt and change data type of structure fields to make host tool work in 64-bit.

Signed-off-by: Bao Haojun <baohaojun@lixiang.com>
This commit is contained in:
Bao Haojun
2021-04-25 19:12:49 +08:00
committed by GitHub
parent 684d766e2b
commit a332a49a0d
7 changed files with 94 additions and 8 deletions

View File

@ -13,7 +13,7 @@ extern "C" {
/* IMRT link message between host and WAMR */
typedef struct {
unsigned short message_type;
unsigned long payload_size;
unsigned int payload_size;
char *payload;
} imrt_link_message_t;