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]]
name = "decomp-toolkit"
version = "0.5.5"
version = "0.5.6"
dependencies = [
"anyhow",
"ar",

View File

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

View File

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