Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat llvm aarch64 relocs #2599

Merged
merged 26 commits into from
Oct 19, 2021
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
12135eb
fix(compiler) macOS Aarch64 ABI is not SystemV
ptitSeb Sep 28, 2021
21660e6
feat(compiler) Added preliminary support for Arm64Call relocation
ptitSeb Sep 28, 2021
4f3b0a9
feat(compiler) - Fixed Arm64Call relocation
ptitSeb Sep 28, 2021
9b6a9ad
feat(compiler) Fix Arm64Call relocation with negative offset
ptitSeb Sep 28, 2021
20f0c66
feat(compiler) Added Trampolines and more Relocations for Arm64 (llvm…
ptitSeb Oct 5, 2021
44eef49
feat(compiler) Fixed single-pass build
ptitSeb Oct 5, 2021
9cf3605
feat(compiler) Don't try to use macOS Aarch64 specific ABI for now (a…
ptitSeb Oct 7, 2021
204238c
feat(compiler) Fixed linting
ptitSeb Oct 7, 2021
840d90b
Merge branch 'master' into feat_llvm_aarch64_relocs
ptitSeb Oct 8, 2021
0c6010c
feat(compiler) Use x17 as scratch instead of x16 on Aarch64 to help w…
ptitSeb Oct 8, 2021
7965180
feat(compiler) Added CHANGELOG note about Linux/Aarch64 Universal eng…
ptitSeb Oct 8, 2021
8aeccc3
Update lib/engine-universal/src/link.rs
ptitSeb Oct 11, 2021
95d332e
Fixed cargo audit
ptitSeb Oct 11, 2021
541ee00
Fix build
ptitSeb Oct 11, 2021
b54780c
feat(compiler) Refactor the new ARM Reloc and Trampoline to avoid a &mut
ptitSeb Oct 12, 2021
e1f8346
feat(compiler) removed useless commented code
ptitSeb Oct 12, 2021
dc2ed56
feat(compiler) Small refactor to make fill_trampolines_map more clear
ptitSeb Oct 12, 2021
a408cdf
feat(compiler) Removed useless commented code
ptitSeb Oct 12, 2021
8c9082c
Merge branch 'master' into feat_llvm_aarch64_relocs
syrusakbary Oct 12, 2021
89cd4f9
Merge branch 'master' into feat_llvm_aarch64_relocs
syrusakbary Oct 12, 2021
eccc9dc
Removed unused commented code
ptitSeb Oct 12, 2021
2ac7948
feat(compiler) Another small refactor in arm trampoline handling
ptitSeb Oct 12, 2021
a270270
Merge branch 'master' into feat_llvm_aarch64_relocs
ptitSeb Oct 12, 2021
8c24ab4
Some last small changes
ptitSeb Oct 18, 2021
2419398
Merge branch 'master' into feat_llvm_aarch64_relocs
syrusakbary Oct 19, 2021
b39a0cf
Merge branch 'master' into feat_llvm_aarch64_relocs
syrusakbary Oct 19, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion lib/compiler-llvm/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,11 @@ impl LLVM {
// MachO, they check whether the OS is set to Darwin.
//
// Since both linux and darwin use SysV ABI, this should work.
wasmer_compiler::OperatingSystem::Linux
// but not in the case of Aarch64, there the ABI is slightly different
ptitSeb marked this conversation as resolved.
Show resolved Hide resolved
match target.triple().architecture {
Architecture::Aarch64(_) => target.triple().operating_system,
_ => wasmer_compiler::OperatingSystem::Linux,
}
} else {
target.triple().operating_system
};
Expand Down