diff --git a/lib/object/src/module.rs b/lib/object/src/module.rs index 4094ca08752..a2323e19d6b 100644 --- a/lib/object/src/module.rs +++ b/lib/object/src/module.rs @@ -161,7 +161,7 @@ pub fn emit_compilation( value: 0, size: custom_section.bytes.len() as _, kind: SymbolKind::Data, - scope: SymbolScope::Compilation, + scope: SymbolScope::Linkage, weak: false, section: SymbolSection::Section(section_id), flags: SymbolFlags::None, @@ -181,7 +181,7 @@ pub fn emit_compilation( value: 0, size: custom_section.bytes.len() as _, kind: section_kind, - scope: SymbolScope::Dynamic, + scope: SymbolScope::Linkage, weak: false, section: SymbolSection::Section(section_id), flags: SymbolFlags::None, @@ -209,7 +209,7 @@ pub fn emit_compilation( value: 0, size: function.body.len() as _, kind: SymbolKind::Text, - scope: SymbolScope::Dynamic, + scope: SymbolScope::Linkage, weak: false, section: SymbolSection::Section(section_id), flags: SymbolFlags::None, @@ -229,7 +229,7 @@ pub fn emit_compilation( value: 0, size: function.body.len() as _, kind: SymbolKind::Text, - scope: SymbolScope::Dynamic, + scope: SymbolScope::Linkage, weak: false, section: SymbolSection::Section(section_id), flags: SymbolFlags::None, @@ -247,7 +247,7 @@ pub fn emit_compilation( value: 0, size: function.body.len() as _, kind: SymbolKind::Text, - scope: SymbolScope::Dynamic, + scope: SymbolScope::Linkage, weak: false, section: SymbolSection::Section(section_id), flags: SymbolFlags::None,