diff options
| author | Peter Jones <pjones@redhat.com> | 2021-03-11 10:00:52 -0500 |
|---|---|---|
| committer | Javier Martinez Canillas <javier@dowhile0.org> | 2021-03-12 10:15:01 +0100 |
| commit | 2bf1d7ae59004df591ec6636f78910721a686d1e (patch) | |
| tree | 7ddef69903cc4479de9f28d6a542f35780efe77b /Cryptlib/OpenSSL/crypto/x509/x509_set.c | |
| parent | e02bb35a160d3b0fec07adbfb2f730031173e180 (diff) | |
| download | efi-boot-shim-2bf1d7ae59004df591ec6636f78910721a686d1e.tar.gz efi-boot-shim-2bf1d7ae59004df591ec6636f78910721a686d1e.zip | |
linker scripts: put .sbat after _edata
Our section headers on arm binaries need to include .sbat on fallback
and MokManger, and currently they do not.
The reason for this is that gnu-efi provides static, (mostly) hand-coded
section headers on arm and aarch64, due to having no efi-app-arm and
efi-app-aa64 target support in binutils. Additionally, the assembler
also generates (IMO pointless) relocations for _esbat/_sbat_size when
those are actually inside the section, and relocated symbols can't be
used in our section headers.
This patch moves the .sbat section to be after _edata, so the sections
don't overlap, and moves _esbat and _sbat_size to be after the section,
to avoid the relocation.
I'm not 100% sure we can't have overlapping sections, but now doesn't
seem like the time to find out.
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'Cryptlib/OpenSSL/crypto/x509/x509_set.c')
0 files changed, 0 insertions, 0 deletions
