Lines Matching refs:stub
3 # The stub may be linked into the kernel proper or into a separate boot binary,
44 # stub code never touches, so let's turn off struct randomization for the stub
64 lib-y := efi-stub-helper.o gop.o secureboot.o tpm.o \
69 # include the stub's libfdt dependencies from lib/ when needed
79 lib-$(CONFIG_EFI_GENERIC_STUB) += efi-stub.o string.o
81 lib-$(CONFIG_ARM) += arm32-stub.o
82 lib-$(CONFIG_ARM64) += arm64-stub.o
83 lib-$(CONFIG_X86) += x86-stub.o
84 lib-$(CONFIG_RISCV) += riscv-stub.o
85 lib-$(CONFIG_LOONGARCH) += loongarch-stub.o
87 CFLAGS_arm32-stub.o := -DTEXT_OFFSET=$(TEXT_OFFSET)
97 # .bss section, so the .bss section of the EFI stub needs to be included in the
116 # arm64 puts the stub in the kernel proper, which will unnecessarily retain all
121 # The fact that the stub and the kernel proper are essentially the same binary
122 # also means that we need to be extra careful to make sure that the stub does
124 # kernel mapping that the linker uses is not active yet when the stub is
125 # executing. So build all C dependencies of the EFI stub into libstub, and do
130 lib-y := $(patsubst %.o,%.stub.o,$(lib-y))
148 $(obj)/%.stub.o: $(obj)/%.o FORCE
161 echo "$@: absolute symbol references not allowed in the EFI stub" >&2; \