Lower Arm64Call relocations in cranelift-object
This commit is contained in:
@@ -585,6 +585,11 @@ impl ObjectModule {
|
|||||||
32,
|
32,
|
||||||
),
|
),
|
||||||
Reloc::X86GOTPCRel4 => (RelocationKind::GotRelative, RelocationEncoding::Generic, 32),
|
Reloc::X86GOTPCRel4 => (RelocationKind::GotRelative, RelocationEncoding::Generic, 32),
|
||||||
|
Reloc::Arm64Call => (
|
||||||
|
RelocationKind::Relative,
|
||||||
|
RelocationEncoding::AArch64Call,
|
||||||
|
26,
|
||||||
|
),
|
||||||
Reloc::ElfX86_64TlsGd => {
|
Reloc::ElfX86_64TlsGd => {
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
self.object.format(),
|
self.object.format(),
|
||||||
@@ -614,7 +619,7 @@ impl ObjectModule {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
// FIXME
|
// FIXME
|
||||||
_ => unimplemented!(),
|
reloc => unimplemented!("{:?}", reloc),
|
||||||
};
|
};
|
||||||
ObjectRelocRecord {
|
ObjectRelocRecord {
|
||||||
offset: record.offset,
|
offset: record.offset,
|
||||||
|
|||||||
Reference in New Issue
Block a user