Robin Getz | 96f1050 | 2009-09-24 14:11:24 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2004-2008 Analog Devices Inc. |
| 3 | * |
| 4 | * Licensed under the GPL-2 or later. |
| 5 | */ |
| 6 | |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 7 | #ifndef _ASM_BFIN_MODULE_H |
| 8 | #define _ASM_BFIN_MODULE_H |
| 9 | |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 10 | #define Elf_Shdr Elf32_Shdr |
| 11 | #define Elf_Sym Elf32_Sym |
| 12 | #define Elf_Ehdr Elf32_Ehdr |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 13 | |
| 14 | struct mod_arch_specific { |
| 15 | Elf_Shdr *text_l1; |
| 16 | Elf_Shdr *data_a_l1; |
| 17 | Elf_Shdr *bss_a_l1; |
| 18 | Elf_Shdr *data_b_l1; |
| 19 | Elf_Shdr *bss_b_l1; |
Sonic Zhang | 262c382 | 2008-07-19 15:42:41 +0800 | [diff] [blame] | 20 | Elf_Shdr *text_l2; |
| 21 | Elf_Shdr *data_l2; |
| 22 | Elf_Shdr *bss_l2; |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 23 | }; |
| 24 | #endif /* _ASM_BFIN_MODULE_H */ |