Fix issue and compilation warnings of new function call APIs (#383)

This commit is contained in:
Xu Jun
2020-09-14 15:30:42 +08:00
committed by GitHub
parent 728890103b
commit 2499e1ec4b
3 changed files with 8 additions and 6 deletions

View File

@ -1540,7 +1540,7 @@ aot_resolve_target_info(AOTCompContext *comp_ctx, AOTObjectData *obj_data)
obj_data->target_info.bin_type = AOT_COFF_BIN_TYPE;
}
else if (bin_type == LLVMBinaryTypeELF32L
|| bin_type == LLVMBinaryTypeELF32B) {
|| bin_type == LLVMBinaryTypeELF32B) {
struct elf32_ehdr *elf_header;
bool is_little_bin = bin_type == LLVMBinaryTypeELF32L;