Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
write/elf: fix reserving empty section (#514)
`reserve` must always return an aligned address, even if the section is empty. This matches the behaviour of `write_align`. Also both `reserve` and `write_align` must handle the possibility of `sh_addralign` being 0. Signed-off-by: lzwycc <lzw32321226@163.com>
- Loading branch information