debug relocations

This commit is contained in:
Folkert 2023-09-16 01:36:15 +02:00
parent c98d9356ac
commit 8ffc46d9a9
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C

View file

@ -295,14 +295,14 @@ fn create_relocation(target_info: TargetInfo, symbol: SymbolId, offset: u64) ->
roc_target::Architecture::X86_64 => (RelocationEncoding::X86Branch, 32),
};
write::Relocation {
dbg!(write::Relocation {
offset,
size,
kind: RelocationKind::PltRelative,
encoding,
symbol,
addend: -4,
}
})
}
fn build_object<'a, B: Backend<'a>>(