Removed unused code

This commit is contained in:
Syrus
2020-06-11 09:36:08 -07:00
parent ff8f3c8948
commit 274fa1944f
5 changed files with 15 additions and 50 deletions

View File

@ -87,15 +87,6 @@ impl Writer for WriterRelocate {
fn write_offset(&mut self, _val: usize, _section: SectionId, _size: u8) -> Result<()> {
unimplemented!("write_offset not yet implemented");
// let offset = self.len() as u32;
// let target = section.name().to_string();
// self.relocs.push(DwarfSectionReloc {
// target,
// offset,
// size,
// addend: val as i32,
// });
// self.write_udata(val as u64, size)
}
fn write_offset_at(
@ -106,13 +97,5 @@ impl Writer for WriterRelocate {
_size: u8,
) -> Result<()> {
unimplemented!("write_offset_at not yet implemented");
// let target = section.name().to_string();
// self.relocs.push(DwarfSectionReloc {
// target,
// offset: offset as u32,
// size,
// addend: val as i32,
// });
// self.write_udata_at(offset, val as u64, size)
}
}