WIP: do not process symbols

master
Ales Katona 4 years ago
parent c65e504178
commit 1644e67242
Signed by: almindor
GPG Key ID: 2F773149BF38B48F

@ -42,14 +42,14 @@ where
} }
pub fn link(mut self) -> Result<PathBuf, Error> { pub fn link(mut self) -> Result<PathBuf, Error> {
self.process_symbols()?; // self.process_symbols()?;
self.loadable.set_start_offset(4096); // TODO self.loadable.set_start_offset(4096); // TODO
self.output self.output
.relocate_sections(&self.objects, &mut self.loadable)?; .relocate_sections(&self.objects, &mut self.loadable)?;
self.output // self.output
.resolve_symbols(&self.objects, &mut self.loadable)?; // .resolve_symbols(&self.objects, &mut self.loadable)?;
self.output.finalize() self.output.finalize()
} }

Loading…
Cancel
Save