2 * Copyright (C) 2006 Atmark Techno, Inc.
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
9 #ifndef _ASM_MICROBLAZE_ELF_H
10 #define _ASM_MICROBLAZE_ELF_H
13 * Note there is no "official" ELF designation for Microblaze.
14 * I've snaffled the value from the microblaze binutils source code
15 * /binutils/microblaze/include/elf/microblaze.h
17 #define EM_XILINX_MICROBLAZE 0xbaab
18 #define ELF_ARCH EM_XILINX_MICROBLAZE
21 * This is used to ensure we don't load something for the wrong architecture.
23 #define elf_check_arch(x) ((x)->e_machine == EM_XILINX_MICROBLAZE)
26 * These are used to set parameters in the core dumps.
28 #define ELF_CLASS ELFCLASS32
30 #endif /* _ASM_MICROBLAZE_ELF_H */