global.set_tls_model(self.tls_model);
}
if let Some(link_section) = link_section {
- global.set_link_section(&link_section.as_str());
+ global.set_link_section(link_section.as_str());
}
global
}
global.set_tls_model(self.tls_model);
}
if let Some(link_section) = link_section {
- global.set_link_section(&link_section.as_str());
+ global.set_link_section(link_section.as_str());
}
let global_address = global.get_address(None);
self.globals.borrow_mut().insert(name.to_string(), global_address);