linux/arch/x86/um/asm/module.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0 */
   2#ifndef __UM_MODULE_H
   3#define __UM_MODULE_H
   4
   5/* UML is simple */
   6struct mod_arch_specific
   7{
   8};
   9
  10#ifdef CONFIG_X86_32
  11
  12#define Elf_Shdr Elf32_Shdr
  13#define Elf_Sym Elf32_Sym
  14#define Elf_Ehdr Elf32_Ehdr
  15
  16#else
  17
  18#define Elf_Shdr Elf64_Shdr
  19#define Elf_Sym Elf64_Sym
  20#define Elf_Ehdr Elf64_Ehdr
  21
  22#endif
  23
  24#endif
  25