module.h (2d8ad8719591fa803b0d589ed057fa46f49b7155) | module.h (786d35d45cc40b2a51a18f73e14e135d47fdced7) |
---|---|
1#ifndef _ASM_SH_MODULE_H 2#define _ASM_SH_MODULE_H 3 | 1#ifndef _ASM_SH_MODULE_H 2#define _ASM_SH_MODULE_H 3 |
4struct mod_arch_specific { | 4#include <asm-generic/module.h> 5 |
5#ifdef CONFIG_DWARF_UNWINDER | 6#ifdef CONFIG_DWARF_UNWINDER |
7struct mod_arch_specific { |
|
6 struct list_head fde_list; 7 struct list_head cie_list; | 8 struct list_head fde_list; 9 struct list_head cie_list; |
8#endif | |
9}; | 10}; |
10 11#ifdef CONFIG_64BIT 12#define Elf_Shdr Elf64_Shdr 13#define Elf_Sym Elf64_Sym 14#define Elf_Ehdr Elf64_Ehdr 15#else 16#define Elf_Shdr Elf32_Shdr 17#define Elf_Sym Elf32_Sym 18#define Elf_Ehdr Elf32_Ehdr | |
19#endif 20 21#ifdef CONFIG_CPU_LITTLE_ENDIAN 22# ifdef CONFIG_CPU_SH2 23# define MODULE_PROC_FAMILY "SH2LE " 24# elif defined CONFIG_CPU_SH3 25# define MODULE_PROC_FAMILY "SH3LE " 26# elif defined CONFIG_CPU_SH4 --- 23 unchanged lines hidden --- | 11#endif 12 13#ifdef CONFIG_CPU_LITTLE_ENDIAN 14# ifdef CONFIG_CPU_SH2 15# define MODULE_PROC_FAMILY "SH2LE " 16# elif defined CONFIG_CPU_SH3 17# define MODULE_PROC_FAMILY "SH3LE " 18# elif defined CONFIG_CPU_SH4 --- 23 unchanged lines hidden --- |