]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - arch/microblaze/include/asm/module.h
Merge branch 'tracing-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[mirror_ubuntu-artful-kernel.git] / arch / microblaze / include / asm / module.h
1 /*
2 * Copyright (C) 2006 Atmark Techno, Inc.
3 *
4 * This file is subject to the terms and conditions of the GNU General Public
5 * License. See the file "COPYING" in the main directory of this archive
6 * for more details.
7 */
8
9 #ifndef _ASM_MICROBLAZE_MODULE_H
10 #define _ASM_MICROBLAZE_MODULE_H
11
12 /* Microblaze Relocations */
13 #define R_MICROBLAZE_NONE 0
14 #define R_MICROBLAZE_32 1
15 #define R_MICROBLAZE_32_PCREL 2
16 #define R_MICROBLAZE_64_PCREL 3
17 #define R_MICROBLAZE_32_PCREL_LO 4
18 #define R_MICROBLAZE_64 5
19 #define R_MICROBLAZE_32_LO 6
20 #define R_MICROBLAZE_SRO32 7
21 #define R_MICROBLAZE_SRW32 8
22 #define R_MICROBLAZE_64_NONE 9
23 #define R_MICROBLAZE_32_SYM_OP_SYM 10
24 /* Keep this the last entry. */
25 #define R_MICROBLAZE_NUM 11
26
27 struct mod_arch_specific {
28 int foo;
29 };
30
31 #define Elf_Shdr Elf32_Shdr
32 #define Elf_Sym Elf32_Sym
33 #define Elf_Ehdr Elf32_Ehdr
34
35 typedef struct { volatile int counter; } module_t;
36
37 #endif /* _ASM_MICROBLAZE_MODULE_H */