]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ukify: Calculate section size more correctly (#36215)
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 3 Feb 2025 09:17:37 +0000 (10:17 +0100)
committerGitHub <noreply@github.com>
Mon, 3 Feb 2025 09:17:37 +0000 (10:17 +0100)
We should only use Misc_VirtualSize if it's smaller than SizeOfRawData,
since in that case it'll be the non-aligned section size. Otherwise we
have to use SizeOfRawData to get the size on disk.

1  2 
src/ukify/ukify.py

Simple merge