]> git.ipfire.org Git - thirdparty/systemd.git/commit
stub: Remove overlapping PE section warning
authorJan Janssen <medhefgo@web.de>
Tue, 14 Mar 2023 13:32:43 +0000 (14:32 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 15 Mar 2023 00:24:17 +0000 (00:24 +0000)
commitccde62954ccf5ee73b40774b8f5d3a9dd2869201
tree1f837376f6c59ce265753c4010704422b9cccddb
parent544471bf8340f4f1de48b3b83438aea8361135fc
stub: Remove overlapping PE section warning

Now that we always create PE images with a non-zero image base we cannot
run into this issue anymore. Any tool that still uses the old hard-coded
section offsets will end up creating bad images with sections below the
image base. objcopy will warn about this and any PE loader will simply
refuse to load such an image. Meanwhile updated tools do not use
hard-coded offsets anymore.
src/boot/efi/pe.c