162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0 262306a36Sopenharmony_ci#include "relocs.h" 362306a36Sopenharmony_ci 462306a36Sopenharmony_ci#define ELF_BITS 64 562306a36Sopenharmony_ci 662306a36Sopenharmony_ci#define ELF_MACHINE EM_X86_64 762306a36Sopenharmony_ci#define ELF_MACHINE_NAME "x86_64" 862306a36Sopenharmony_ci#define SHT_REL_TYPE SHT_RELA 962306a36Sopenharmony_ci#define Elf_Rel Elf64_Rela 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ci#define ELF_CLASS ELFCLASS64 1262306a36Sopenharmony_ci#define ELF_R_SYM(val) ELF64_R_SYM(val) 1362306a36Sopenharmony_ci#define ELF_R_TYPE(val) ELF64_R_TYPE(val) 1462306a36Sopenharmony_ci#define ELF_ST_TYPE(o) ELF64_ST_TYPE(o) 1562306a36Sopenharmony_ci#define ELF_ST_BIND(o) ELF64_ST_BIND(o) 1662306a36Sopenharmony_ci#define ELF_ST_VISIBILITY(o) ELF64_ST_VISIBILITY(o) 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ci#include "relocs.c" 19