20 lines
421 B
C
20 lines
421 B
C
|
#ifndef _ASM_BFIN_MODULE_H
|
||
|
#define _ASM_BFIN_MODULE_H
|
||
|
|
||
|
#define MODULE_SYMBOL_PREFIX "_"
|
||
|
|
||
|
#define Elf_Shdr Elf32_Shdr
|
||
|
#define Elf_Sym Elf32_Sym
|
||
|
#define Elf_Ehdr Elf32_Ehdr
|
||
|
#define FLG_CODE_IN_L1 0x10
|
||
|
#define FLG_DATA_IN_L1 0x20
|
||
|
|
||
|
struct mod_arch_specific {
|
||
|
Elf_Shdr *text_l1;
|
||
|
Elf_Shdr *data_a_l1;
|
||
|
Elf_Shdr *bss_a_l1;
|
||
|
Elf_Shdr *data_b_l1;
|
||
|
Elf_Shdr *bss_b_l1;
|
||
|
};
|
||
|
#endif /* _ASM_BFIN_MODULE_H */
|