diff options
| author | Gary Lin <glin@suse.com> | 2021-03-09 14:18:07 +0800 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2021-03-09 16:01:30 -0500 |
| commit | 3209637c89e2cd089dd634817011cb7394e6aa64 (patch) | |
| tree | 606b55e534ed12bc21b97f2eeb3e3901f0920b3f /Cryptlib/OpenSSL/crypto/x509/x509_trs.c | |
| parent | 58cf755d5fd5b3d1f87a5936107a70705ccbb57b (diff) | |
| download | efi-boot-shim-3209637c89e2cd089dd634817011cb7394e6aa64.tar.gz efi-boot-shim-3209637c89e2cd089dd634817011cb7394e6aa64.zip | |
Set the section flags for .sbat
When using "objcopy -O binary", it silently drops the sections without
"alloc" or "load" or the sections with "unload". Since we didn't set any
section flags for .sbat, it just contains the "readonly" flag and
objcopy ignored the section totally when generating EFI images for
ARM32 and AArch64.
This commit sets the common read-only data section flags to .sbat so
that objcopy would always copy the section to the final EFI image.
Signed-off-by: Gary Lin <glin@suse.com>
Diffstat (limited to 'Cryptlib/OpenSSL/crypto/x509/x509_trs.c')
0 files changed, 0 insertions, 0 deletions
