mirror of
https://github.com/encounter/decomp-toolkit.git
synced 2025-07-12 08:06:08 +00:00
Fix padding symbols on REL section boundaries
Regression introduced in 6819a8b
This commit is contained in:
parent
c1cbdd56d1
commit
5505120148
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -348,7 +348,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "decomp-toolkit"
|
||||
version = "1.5.0"
|
||||
version = "1.5.1"
|
||||
dependencies = [
|
||||
"aes",
|
||||
"anyhow",
|
||||
|
@ -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 = "1.5.0"
|
||||
version = "1.5.1"
|
||||
edition = "2021"
|
||||
publish = false
|
||||
repository = "https://github.com/encounter/decomp-toolkit"
|
||||
|
@ -561,6 +561,7 @@ fn add_padding_symbols(obj: &mut ObjInfo) -> Result<()> {
|
||||
{
|
||||
let next_split_address = splits
|
||||
.peek()
|
||||
.filter(|(i, _, _, _)| *i == section_index)
|
||||
.map(|(_, _, addr, _)| *addr as u64)
|
||||
.unwrap_or(section.address + section.size);
|
||||
let next_symbol_address = obj
|
||||
|
Loading…
x
Reference in New Issue
Block a user