]> git.ipfire.org Git - thirdparty/systemd.git/commit
ukify: Calculate section size more correctly 36215/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 29 Jan 2025 13:44:27 +0000 (14:44 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 29 Jan 2025 13:44:27 +0000 (14:44 +0100)
commit33b25fa11c408ae40f2aa4300220504329a23a52
tree36ad4afa3aa2c8ce138da177c2d37c998fb972a1
parent2d6ae4319ccecdde7a87d12cb439a892afdec943
ukify: Calculate section size more correctly

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.
src/ukify/ukify.py