Skip to content

Conversation

@sophy228
Copy link
Contributor

@sophy228 sophy228 commented Dec 2, 2020

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 none-supported platform.

Wu Zhongmin added 3 commits November 6, 2020 13:48
Co-authored-by:  Wenyong Huang <[email protected]>

Signed-off-by: Wu Zhongmin <[email protected]>
We need use feature test macro _DEFAULT_SOURCE to check, if not
 supported, we should use sys call instead.

Signed-off-by: Wu Zhongmin <[email protected]>
Signed-off-by: Wu Zhongmin <[email protected]>
@wenyongh wenyongh merged commit c8b0a1c into bytecodealliance:main Dec 2, 2020
wenyongh referenced this pull request in wenyongh/wasm-micro-runtime Dec 2, 2020
Fix some issues for Arm platform. (#457)
vickiegpt pushed a commit to vickiegpt/wamr-aot-gc-checkpoint-restore that referenced this pull request May 27, 2024
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants