]> 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)
commit75dc03a774cc0a001b5cb2f58413511d89854e74
tree7a455e08cf22627e8f9c6f0fbe115a7a25c99f6e
parent3a49fd33110392d9181c38baeb79487ebba3fa5a
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