Support global labels in REL creation (_savegpr, etc)
This commit is contained in:
parent
ccfbfd1a5a
commit
d0f39f1d82
|
@ -295,7 +295,7 @@ fn make(args: MakeArgs) -> Result<()> {
|
|||
for (module_id, (module, path)) in modules.iter().enumerate() {
|
||||
let _span = info_span!("file", path = %path.display()).entered();
|
||||
for symbol in module.symbols() {
|
||||
if symbol.is_definition() && symbol.scope() == object::SymbolScope::Dynamic {
|
||||
if symbol.scope() == object::SymbolScope::Dynamic {
|
||||
symbol_map.entry(symbol.name_bytes()?).or_insert((module_id, symbol.index()));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue