1 // SPDX-License-Identifier: GPL-2.0+
3 * position independent shared object relocator
5 * Copyright (c) 2019 Heinrich Schuchardt
10 #if HOST_ARCH == HOST_ARCH_X86_64
11 #include "../../../arch/x86/lib/reloc_x86_64_efi.c"
14 #if HOST_ARCH == HOST_ARCH_X86
15 #include "../../../arch/x86/lib/reloc_ia32_efi.c"
18 #if HOST_ARCH == HOST_ARCH_AARCH64
19 #include "../../../arch/arm/lib/reloc_aarch64_efi.c"
22 #if HOST_ARCH == HOST_ARCH_ARM
23 #include "../../../arch/arm/lib/reloc_arm_efi.c"
26 #if HOST_ARCH == HOST_ARCH_RISCV32
27 #include "../../../arch/riscv/lib/reloc_riscv_efi.c"
30 #if HOST_ARCH == HOST_ARCH_RISCV64
31 #include "../../../arch/riscv/lib/reloc_riscv_efi.c"