Heinrich Schuchardt | 0f675d9 | 2019-11-07 08:05:17 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * position independent shared object relocator |
| 4 | * |
| 5 | * Copyright (c) 2019 Heinrich Schuchardt |
| 6 | */ |
| 7 | |
| 8 | #include <host_arch.h> |
| 9 | |
| 10 | #if HOST_ARCH == HOST_ARCH_X86_64 |
| 11 | #include "../../../arch/x86/lib/reloc_x86_64_efi.c" |
| 12 | #endif |
| 13 | |
| 14 | #if HOST_ARCH == HOST_ARCH_X86 |
| 15 | #include "../../../arch/x86/lib/reloc_ia32_efi.c" |
| 16 | #endif |
| 17 | |
| 18 | #if HOST_ARCH == HOST_ARCH_AARCH64 |
| 19 | #include "../../../arch/arm/lib/reloc_aarch64_efi.c" |
| 20 | #endif |
| 21 | |
| 22 | #if HOST_ARCH == HOST_ARCH_ARM |
| 23 | #include "../../../arch/arm/lib/reloc_arm_efi.c" |
| 24 | #endif |
| 25 | |
| 26 | #if HOST_ARCH == HOST_ARCH_RISCV32 |
| 27 | #include "../../../arch/riscv/lib/reloc_riscv_efi.c" |
| 28 | #endif |
| 29 | |
| 30 | #if HOST_ARCH == HOST_ARCH_RISCV64 |
| 31 | #include "../../../arch/riscv/lib/reloc_riscv_efi.c" |
| 32 | #endif |