Skip to content

Commit

Permalink
Fix x86_64 libcall trampoline in engine-universal
Browse files Browse the repository at this point in the history
  • Loading branch information
Amanieu committed Mar 3, 2022
1 parent a0ecaf2 commit 11e065b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion lib/engine-universal/src/trampoline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const AARCH64_TRAMPOLINE: [u8; 16] = [
// JMP [RIP + 2] FF 25 02 00 00 00 [00 00]
// 64-bit ADDR 00 00 00 00 00 00 00 00
const X86_64_TRAMPOLINE: [u8; 16] = [
0xff, 0x25, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xff, 0x25, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
];

fn make_trampoline(
Expand Down
2 changes: 0 additions & 2 deletions tests/ignores.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ singlepass multi_value_imports::dynamic # Singlepass doesn't support multivalue
# https://github.com/wasmerio/wasmer/issues/2808
cranelift+aarch64 spec::skip_stack_guard_page
llvm+aarch64 spec::skip_stack_guard_page
# Stack probing doesn't seem to be working correctly on Windows with Cranelift
cranelift+windows spec::skip_stack_guard_page
# TODO: Needs more investigation
cranelift+macos spec::skip_stack_guard_page
llvm+macos spec::skip_stack_guard_page
Expand Down

0 comments on commit 11e065b

Please sign in to comment.