Remove reloc_block

It isn't called and all reloc sinks either ignore it or panic when it is
called.
This commit is contained in:
bjorn3
2020-11-11 12:25:36 +01:00
parent 1dc27c93a4
commit b7a93c2321
14 changed files with 0 additions and 75 deletions

View File

@@ -19,22 +19,6 @@ impl PrintRelocs {
}
impl binemit::RelocSink for PrintRelocs {
fn reloc_block(
&mut self,
where_: binemit::CodeOffset,
r: binemit::Reloc,
offset: binemit::CodeOffset,
) {
if self.flag_print {
writeln!(
&mut self.text,
"reloc_block: {} {} at {}",
r, offset, where_
)
.unwrap();
}
}
fn reloc_external(
&mut self,
where_: binemit::CodeOffset,