From c9eb824034679d61a26bb579b5e60e091fad3d1e Mon Sep 17 00:00:00 2001 From: Luke Street Date: Mon, 7 Aug 2023 20:05:19 -0400 Subject: [PATCH] Emit __init_cpp_exceptions_reference symbols as global --- src/analysis/signatures.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/analysis/signatures.rs b/src/analysis/signatures.rs index 4892317..f9fecfc 100644 --- a/src/analysis/signatures.rs +++ b/src/analysis/signatures.rs @@ -250,7 +250,7 @@ pub fn apply_signatures(obj: &mut ObjInfo) -> Result<()> { section: Some(section_index), size: 4, size_known: true, - flags: ObjSymbolFlagSet(ObjSymbolFlags::Local.into()), + flags: ObjSymbolFlagSet(ObjSymbolFlags::Global.into()), kind: ObjSymbolKind::Object, align: None, data_kind: Default::default(), @@ -297,7 +297,7 @@ pub fn apply_signatures(obj: &mut ObjInfo) -> Result<()> { section: Some(section_index), size: 4, size_known: true, - flags: ObjSymbolFlagSet(ObjSymbolFlags::Local.into()), + flags: ObjSymbolFlagSet(ObjSymbolFlags::Global.into()), kind: ObjSymbolKind::Object, align: None, data_kind: Default::default(), @@ -328,7 +328,7 @@ pub fn apply_signatures(obj: &mut ObjInfo) -> Result<()> { section: Some(section_index), size: 4, size_known: true, - flags: ObjSymbolFlagSet(ObjSymbolFlags::Local.into()), + flags: ObjSymbolFlagSet(ObjSymbolFlags::Global.into()), kind: ObjSymbolKind::Object, align: None, data_kind: Default::default(),