mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
1da177e4c3
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
41 lines
892 B
C
41 lines
892 B
C
#ifndef _ASM_SH_MODULE_H
|
|
#define _ASM_SH_MODULE_H
|
|
|
|
/*
|
|
* This file contains the SH architecture specific module code.
|
|
*/
|
|
|
|
struct mod_arch_specific {
|
|
/* Nothing to see here .. */
|
|
};
|
|
|
|
#define Elf_Shdr Elf32_Shdr
|
|
#define Elf_Sym Elf32_Sym
|
|
#define Elf_Ehdr Elf32_Ehdr
|
|
|
|
#ifdef CONFIG_CPU_LITTLE_ENDIAN
|
|
# ifdef CONFIG_CPU_SH2
|
|
# define MODULE_PROC_FAMILY "SH2LE "
|
|
# elif defined CONFIG_CPU_SH3
|
|
# define MODULE_PROC_FAMILY "SH3LE "
|
|
# elif defined CONFIG_CPU_SH4
|
|
# define MODULE_PROC_FAMILY "SH4LE "
|
|
# else
|
|
# error unknown processor family
|
|
# endif
|
|
#else
|
|
# ifdef CONFIG_CPU_SH2
|
|
# define MODULE_PROC_FAMILY "SH2BE "
|
|
# elif defined CONFIG_CPU_SH3
|
|
# define MODULE_PROC_FAMILY "SH3BE "
|
|
# elif defined CONFIG_CPU_SH4
|
|
# define MODULE_PROC_FAMILY "SH4BE "
|
|
# else
|
|
# error unknown processor family
|
|
# endif
|
|
#endif
|
|
|
|
#define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY
|
|
|
|
#endif /* _ASM_SH_MODULE_H */
|