-
Notifications
You must be signed in to change notification settings - Fork 824
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
Feat llvm aarch64 relocs #2599
Conversation
…-universal on linux-aarch64 are OK now)
…t least coremark works now)
bors try |
tryBuild failed: |
bors try |
bors try |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR looks good to me. Waiting on feedback from @Amanieu to approve or request further changes
bors try |
tryAlready running a review |
@@ -303,6 +304,37 @@ impl Compiler for LLVMCompiler { | |||
}) | |||
.collect::<PrimaryMap<LocalFunctionIndex, _>>(); | |||
|
|||
let trampolines = match target.triple().architecture { | |||
Architecture::Aarch64(_) => { | |||
let nj = 16; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use onejump.len()
instead of hard-coding.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is the number of slots hard-coded to 16?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because I need to hardcode some value. Cant resize the section later.
bors r+ |
Description
Improved Aarch64 support with LLVM by adding some missing relocations.
Linux/Aarch64 works fine with that, including with Universal engine.
macOS/Aarch64 still have issues with Universal engine.