Searched hist:d729b554e17904e16498ab5c36122d70406f70ae (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/firmware/efi/libstub/ |
H A D | loongarch.c | d729b554e17904e16498ab5c36122d70406f70ae Thu Oct 13 05:39:37 CDT 2022 Ard Biesheuvel <ardb@kernel.org> efi/loongarch: libstub: Split off kernel image relocation for builtin stub
The LoongArch build of the EFI stub is part of the core kernel image, and therefore accesses section markers directly when it needs to figure out the size of the various section.
The zboot decompressor does not have access to those symbols, but doesn't really need that either. So let's move handle_kernel_image() into a separate file (or rather, move everything else into a separate file) so that the zboot build does not pull in unused code that links to symbols that it does not define.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
|
H A D | loongarch-stub.c | diff d729b554e17904e16498ab5c36122d70406f70ae Thu Oct 13 05:39:37 CDT 2022 Ard Biesheuvel <ardb@kernel.org> efi/loongarch: libstub: Split off kernel image relocation for builtin stub
The LoongArch build of the EFI stub is part of the core kernel image, and therefore accesses section markers directly when it needs to figure out the size of the various section.
The zboot decompressor does not have access to those symbols, but doesn't really need that either. So let's move handle_kernel_image() into a separate file (or rather, move everything else into a separate file) so that the zboot build does not pull in unused code that links to symbols that it does not define.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
|
H A D | Makefile | diff d729b554e17904e16498ab5c36122d70406f70ae Thu Oct 13 05:39:37 CDT 2022 Ard Biesheuvel <ardb@kernel.org> efi/loongarch: libstub: Split off kernel image relocation for builtin stub
The LoongArch build of the EFI stub is part of the core kernel image, and therefore accesses section markers directly when it needs to figure out the size of the various section.
The zboot decompressor does not have access to those symbols, but doesn't really need that either. So let's move handle_kernel_image() into a separate file (or rather, move everything else into a separate file) so that the zboot build does not pull in unused code that links to symbols that it does not define.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
|