Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1 | #ifndef _ASM_BFIN_MODULE_H |
| 2 | #define _ASM_BFIN_MODULE_H |
| 3 | |
| 4 | #define MODULE_SYMBOL_PREFIX "_" |
| 5 | |
| 6 | #define Elf_Shdr Elf32_Shdr |
| 7 | #define Elf_Sym Elf32_Sym |
| 8 | #define Elf_Ehdr Elf32_Ehdr |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 9 | |
| 10 | struct mod_arch_specific { |
| 11 | Elf_Shdr *text_l1; |
| 12 | Elf_Shdr *data_a_l1; |
| 13 | Elf_Shdr *bss_a_l1; |
| 14 | Elf_Shdr *data_b_l1; |
| 15 | Elf_Shdr *bss_b_l1; |
Sonic Zhang | 262c382 | 2008-07-19 15:42:41 +0800 | [diff] [blame] | 16 | Elf_Shdr *text_l2; |
| 17 | Elf_Shdr *data_l2; |
| 18 | Elf_Shdr *bss_l2; |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 19 | }; |
| 20 | #endif /* _ASM_BFIN_MODULE_H */ |