]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: efi: remove forbidden values from the PE/COFF header
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 23 Mar 2017 19:00:48 +0000 (19:00 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 4 Apr 2017 16:50:34 +0000 (17:50 +0100)
commitcc8c4d11e57fd18f9e786ce201eacdf53fd2295e
tree0920e307404ce9afdff369065e86929fe92806fb
parentf348e67c166113533409d064ee4753890e2d09c4
arm64: efi: remove forbidden values from the PE/COFF header

Bring the PE/COFF header in line with the PE/COFF spec, by setting
NumberOfSymbols to 0, and removing the section alignment flags.

Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/efi-header.S