mirror of
https://github.com/encounter/decomp-toolkit.git
synced 2025-12-14 15:46:18 +00:00
Fix padding symbols on REL section boundaries
Regression introduced in 6819a8b
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user