xref: /openbmc/linux/arch/microblaze/include/asm/elf.h (revision 0da85d1e)
1 /*
2  * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
3  * Copyright (C) 2008-2009 PetaLogix
4  * Copyright (C) 2006 Atmark Techno, Inc.
5  *
6  * This file is subject to the terms and conditions of the GNU General Public
7  * License. See the file "COPYING" in the main directory of this archive
8  * for more details.
9  */
10 #ifndef _ASM_MICROBLAZE_ELF_H
11 #define _ASM_MICROBLAZE_ELF_H
12 
13 #include <uapi/asm/elf.h>
14 
15 #ifndef __uClinux__
16 #ifndef ELF_GREG_T
17 #endif
18 #ifndef ELF_NGREG
19 #endif
20 #ifndef ELF_GREGSET_T
21 #endif
22 #ifndef ELF_FPREGSET_T
23 #endif
24 #ifdef __MICROBLAZEEL__
25 #else
26 #endif
27 #define SET_PERSONALITY(ex) \
28 	set_personality(PER_LINUX_32BIT | (current->personality & (~PER_MASK)))
29 #endif /* __uClinux__ */
30 #endif /* _ASM_MICROBLAZE_ELF_H */
31