Lines Matching refs:stub
3 # The stub may be linked into the kernel proper or into a separate boot binary,
47 # stub code never touches, so let's turn off struct randomization for the stub
70 lib-y := efi-stub-helper.o gop.o secureboot.o tpm.o \
75 # include the stub's libfdt dependencies from lib/ when needed
85 lib-$(CONFIG_EFI_GENERIC_STUB) += efi-stub.o string.o intrinsics.o systable.o \
86 screen_info.o efi-stub-entry.o
88 lib-$(CONFIG_ARM) += arm32-stub.o
89 lib-$(CONFIG_ARM64) += kaslr.o arm64.o arm64-stub.o smbios.o
90 lib-$(CONFIG_X86) += x86-stub.o
92 lib-$(CONFIG_RISCV) += kaslr.o riscv.o riscv-stub.o
93 lib-$(CONFIG_LOONGARCH) += loongarch.o loongarch-stub.o
95 CFLAGS_arm32-stub.o := -DTEXT_OFFSET=$(TEXT_OFFSET)
103 lib-y := $(patsubst %.o,%.stub.o,$(lib-y))
124 # arm64 puts the stub in the kernel proper, which will unnecessarily retain all
129 # The fact that the stub and the kernel proper are essentially the same binary
130 # also means that we need to be extra careful to make sure that the stub does
132 # kernel mapping that the linker uses is not active yet when the stub is
133 # executing. So build all C dependencies of the EFI stub into libstub, and do
154 $(obj)/%.stub.o: $(obj)/%.o FORCE
167 echo "$@: absolute symbol references not allowed in the EFI stub" >&2; \