Update Cranelift to 0.82

This commit is contained in:
Amanieu d'Antras
2022-04-04 00:58:34 +01:00
parent 3ad9552e2e
commit 4c946257cf
25 changed files with 308 additions and 462 deletions

View File

@@ -292,8 +292,6 @@ pub fn emit_compilation(
Reloc::X86GOTPCRel4 => {
(RelocationKind::GotRelative, RelocationEncoding::Generic, 32)
}
// Reloc::X86PCRelRodata4 => {
// }
Reloc::Arm64Call => (
match obj.format() {
object::BinaryFormat::Elf => RelocationKind::Elf(elf::R_AARCH64_CALL26),
@@ -378,9 +376,6 @@ pub fn emit_compilation(
)
.map_err(ObjectError::Write)?;
}
RelocationTarget::JumpTable(_func_index, _jt) => {
// do nothing
}
};
}
}