diff options
| author | Peter Jones <pjones@redhat.com> | 2021-03-25 14:10:46 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2021-03-25 14:36:34 -0400 |
| commit | d74629207188d290810db15dbfe91a89e7751ffb (patch) | |
| tree | ff92f6a761e2b9bffb48089fc7e106eba0a2e57c /lib/simple_file.c | |
| parent | ab40c869a2765262d9a911fe6284a606fd1fe0d6 (diff) | |
| download | efi-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/simple_file.c')
0 files changed, 0 insertions, 0 deletions
