]> git.baikalelectronics.ru Git - kernel.git/commit
arm64/efi: fix libstub build under CONFIG_MODVERSIONS
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 27 Oct 2015 02:12:51 +0000 (11:12 +0900)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 2 Nov 2015 13:50:17 +0000 (13:50 +0000)
commit1222b8d8eae69632596f0697066d6c8a4a21164e
tree7a455e08cf22627e8f9c6f0fbe115a7a25c99f6e
parent8aed58ee8e83b3c0109d1710ac06defb565286d8
arm64/efi: fix libstub build under CONFIG_MODVERSIONS

Now that we strictly forbid absolute relocations in libstub code,
make sure that we don't emit any when CONFIG_MODVERSIONS is enabled,
by stripping the kcrctab sections from the object file. This fixes
a build problem under CONFIG_MODVERSIONS=y.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Matt Fleming <matt@codeblueprint.co.uk>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
drivers/firmware/efi/libstub/Makefile