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:
@ -60,7 +60,7 @@ get_current_target(char *target_buf, uint32 target_buf_size)
|
||||
char *d = target_buf;
|
||||
|
||||
/* Set to "aarch64v8" by default if sub version isn't specified */
|
||||
if (strcmp(s, "AARACH64") == 0) {
|
||||
if (strcmp(s, "AARCH64") == 0) {
|
||||
s = BUILD_TARGET_AARCH64_DEFAULT;
|
||||
s_size = sizeof(BUILD_TARGET_AARCH64_DEFAULT);
|
||||
}
|
||||
@ -385,4 +385,3 @@ overflow_check_fail:
|
||||
"target address out of range.");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user