diff options
author | Matt Fleming <[email protected]> | 2012-03-23 09:35:06 -0700 |
---|---|---|
committer | H. Peter Anvin <[email protected]> | 2012-03-26 13:10:02 -0700 |
commit | e47bb0bda46bf50f81671db502d0c903e0a32604 (patch) | |
tree | b39c3f842e45763290b91e111637a5e13e18682b | |
parent | e31be363df3092821bf179cf4baa076f501b8ae6 (diff) |
x86, efi: Fix NumberOfRvaAndSizes field in PE32 header for EFI_STUB
We've actually got six data directories in the header, not one. Even
though the firmware loader doesn't seem to mind, when we come to sign
the kernel image the signing tool thinks that there is no Certificate
Table data directory, even though we've allocated space for one.
Signed-off-by: Matt Fleming <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Reviewed-by: Jordan Justen <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
-rw-r--r-- | arch/x86/boot/header.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/boot/header.S b/arch/x86/boot/header.S index 4ceb56e9a4ce..8bbea6aa40d9 100644 --- a/arch/x86/boot/header.S +++ b/arch/x86/boot/header.S @@ -189,7 +189,7 @@ extra_header_fields: .quad 0 # SizeOfHeapCommit #endif .long 0 # LoaderFlags - .long 0x1 # NumberOfRvaAndSizes + .long 0x6 # NumberOfRvaAndSizes .quad 0 # ExportTable .quad 0 # ImportTable |