summaryrefslogtreecommitdiff
path: root/lib/shell.c
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2021-03-25 14:10:46 -0400
committerPeter Jones <pjones@redhat.com>2021-03-25 14:36:34 -0400
commitd74629207188d290810db15dbfe91a89e7751ffb (patch)
treeff92f6a761e2b9bffb48089fc7e106eba0a2e57c /lib/shell.c
parentab40c869a2765262d9a911fe6284a606fd1fe0d6 (diff)
downloadefi-boot-shim-d74629207188d290810db15dbfe91a89e7751ffb.tar.gz
efi-boot-shim-d74629207188d290810db15dbfe91a89e7751ffb.zip
arm/aa64: Swizzle some sections to make old sbsign happier.
xnox reports that with some versions of sbsign/sbcheck, it gets very unhappy with non-contiguous sections and gaps between sections, which we currently produce on targets with hand-coded headers. This is all wrong behavior from sbsigntools, and has been fixed in newer versions, but nevertheless it's not hard for us to avoid. This patch re-arranges the sections so there are no gaps, by padding the file-size of .data and .sbat up to the full page, moving .sbat to be before .vendor_cert, and moving .vendor_cert and .rela out of the range covered by _edata, while still leaving included in the calculation of SizeOfInitializedData. Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'lib/shell.c')
0 files changed, 0 insertions, 0 deletions