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

@@ -83,10 +83,6 @@ pub fn element(elements: ElementSectionReader) -> Result<(), Error> {
struct UnimplementedRelocSink;
impl binemit::RelocSink for UnimplementedRelocSink {
fn reloc_block(&mut self, _: binemit::CodeOffset, _: binemit::Reloc, _: binemit::CodeOffset) {
unimplemented!()
}
fn reloc_external(
&mut self,
_: binemit::CodeOffset,