]> git.ipfire.org Git - thirdparty/systemd.git/commit
stub: also move magic string in stub into .sdmagic PE section
authorLennart Poettering <lennart@poettering.net>
Mon, 11 Oct 2021 11:29:57 +0000 (13:29 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 11 Oct 2021 12:09:28 +0000 (14:09 +0200)
commit2ccd598635063abae2128540e6c29ce2f7b990ab
treef73e7ef3bfeecd20531a3bc690070652f1559308
parentf0c4f944532603a1327df1049981a7b3e562eb51
stub: also move magic string in stub into .sdmagic PE section

We already did that for sd-boot, hence do it for sd-stub the same way.

Also, move the __attribute__ stuff to the beginning of the statement,
rather than the middle. Mostly just because we usually put it first for
implementations for identifiers (for prototypes we put it last).
src/boot/efi/boot.c
src/boot/efi/stub.c