fwupd/plugins/uefi-capsule/efi
Chris Coulson cfd1f2f42a uefi-capsule: Ensure SBAT metadata is added correctly
The current approach of adding SBAT metadata after linking is creating
an image that is badly formed in 2 ways:

 * The SBAT section's file offset and size are not a multiple of the
   file alignment.

 * The SBAT section has a virtual address of zero. EDK2 loads the header
   here, and so it gets rejected.

This changes the approach to match shim, where an object file is
created with a .sbat section and then the linker takes care of placing
the section at a more appropriate virtual address.

See https://github.com/vathpela/gnu-efi/pull/14 for the section addition.
2021-02-22 16:19:19 +00:00
..
lds uefi-capsule: Ensure SBAT metadata is added correctly 2021-02-22 16:19:19 +00:00
fwup-cleanups.h uefi: Rename to uefi-capsule 2021-01-05 15:31:22 +00:00
fwup-common.c uefi: Rename to uefi-capsule 2021-01-05 15:31:22 +00:00
fwup-common.h uefi: Rename to uefi-capsule 2021-01-05 15:31:22 +00:00
fwup-debug.c uefi: Rename to uefi-capsule 2021-01-05 15:31:22 +00:00
fwup-debug.h uefi: Rename to uefi-capsule 2021-01-05 15:31:22 +00:00
fwup-efi.c uefi: Rename to uefi-capsule 2021-01-05 15:31:22 +00:00
fwup-efi.h Only include the start year in the copyright header 2021-01-07 14:48:16 +00:00
fwupdate.c Only include the start year in the copyright header 2021-01-07 14:48:16 +00:00
generate_binary.py uefi-capsule: Ensure SBAT metadata is added correctly 2021-02-22 16:19:19 +00:00
generate_sbat.py uefi-capsule: Ensure SBAT metadata is added correctly 2021-02-22 16:19:19 +00:00
meson.build uefi-capsule: Ensure SBAT metadata is added correctly 2021-02-22 16:19:19 +00:00