Write gap symbols as hidden

This commit is contained in:
Luke Street 2023-10-07 13:46:24 -04:00
parent dfb569b883
commit a164852a15
3 changed files with 3 additions and 2 deletions

2
Cargo.lock generated
View File

@ -324,7 +324,7 @@ dependencies = [
[[package]] [[package]]
name = "decomp-toolkit" name = "decomp-toolkit"
version = "0.5.5" version = "0.5.6"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"ar", "ar",

View File

@ -3,7 +3,7 @@ name = "decomp-toolkit"
description = "Yet another GameCube/Wii decompilation toolkit." description = "Yet another GameCube/Wii decompilation toolkit."
authors = ["Luke Street <luke@street.dev>"] authors = ["Luke Street <luke@street.dev>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
version = "0.5.5" version = "0.5.6"
edition = "2021" edition = "2021"
publish = false publish = false
build = "build.rs" build = "build.rs"

View File

@ -604,6 +604,7 @@ fn add_padding_symbols(obj: &mut ObjInfo) -> Result<()> {
size_known: true, size_known: true,
flags: ObjSymbolFlagSet( flags: ObjSymbolFlagSet(
ObjSymbolFlags::Global ObjSymbolFlags::Global
| ObjSymbolFlags::Hidden
| ObjSymbolFlags::ForceActive | ObjSymbolFlags::ForceActive
| ObjSymbolFlags::NoWrite, | ObjSymbolFlags::NoWrite,
), ),