Skip to content

Commit 5505120

Browse files
committed
Fix padding symbols on REL section boundaries
Regression introduced in 6819a8b
1 parent c1cbdd5 commit 5505120

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "decomp-toolkit"
33
description = "Yet another GameCube/Wii decompilation toolkit."
44
authors = ["Luke Street <[email protected]>"]
55
license = "MIT OR Apache-2.0"
6-
version = "1.5.0"
6+
version = "1.5.1"
77
edition = "2021"
88
publish = false
99
repository = "https://github.com/encounter/decomp-toolkit"

src/util/split.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,7 @@ fn add_padding_symbols(obj: &mut ObjInfo) -> Result<()> {
561561
{
562562
let next_split_address = splits
563563
.peek()
564+
.filter(|(i, _, _, _)| *i == section_index)
564565
.map(|(_, _, addr, _)| *addr as u64)
565566
.unwrap_or(section.address + section.size);
566567
let next_symbol_address = obj

0 commit comments

Comments
 (0)