Fix some issues for Arm platform. (#457)

Motivation:
we found some issues during enable the WAMR on arm devices, such as relocation issues, stack alignment issues.

Proposed change:
We optimized the relocation process for arm platform, for relocation jump table, the SP should be aligned to 16 bytes. And we also make "getentropy" worked for other non-supported platform.
This commit is contained in:
sophy228
2020-12-02 10:22:55 +08:00
committed by GitHub
parent 591e4ce536
commit c8b0a1cee1
5 changed files with 166 additions and 18 deletions

View File

@ -6,7 +6,7 @@ cmake_minimum_required (VERSION 2.8)
if (NOT WAMR_BUILD_PLATFORM STREQUAL "windows")
project (aot-compiler)
else()
project (aot-compiler C ASM)
project (aot-compiler C ASM CXX)
enable_language (ASM_MASM)
endif()