waterbox: invis section tweak (#3580)
don't fail when a 0 byte section starts at the same place as invis
This commit is contained in:
parent
d9ac4166cf
commit
91e6d8023a
Binary file not shown.
Binary file not shown.
|
@ -112,7 +112,7 @@ impl ElfLoader {
|
|||
return Err(anyhow!("When aligned, {} partially overlaps .invis from above -- check linkscript.", s.name))
|
||||
}
|
||||
} else {
|
||||
if s.name != ".invis" {
|
||||
if s.addr.align_expand().size != 0 && s.name != ".invis" {
|
||||
return Err(anyhow!("When aligned, {} partially overlays .invis -- check linkscript", s.name))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue