OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [asm-mips/] [elf.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1633 jcastillo
#ifndef __ASM_MIPS_ELF_H
2
#define __ASM_MIPS_ELF_H
3
 
4
/*
5
 * ELF register definitions
6
 * This is "make it compile" stuff!
7
 */
8
#define ELF_NGREG       32
9
#define ELF_NFPREG      32
10
 
11
typedef unsigned long elf_greg_t;
12
typedef elf_greg_t elf_gregset_t[ELF_NGREG];
13
 
14
typedef double elf_fpreg_t;
15
typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
16
 
17
/*
18
 * This is used to ensure we don't load something for the wrong architecture.
19
 */
20
#define elf_check_arch(x) ((x) == EM_MIPS)
21
 
22
/*
23
 * These are used to set parameters in the core dumps.
24
 * FIXME(eric) I don't know what the correct endianness to use is.
25
 */
26
#define ELF_CLASS       ELFCLASS32
27
#define ELF_DATA        ELFDATA2MSB;
28
#define ELF_ARCH        EM_MIPS
29
 
30
#define USE_ELF_CORE_DUMP
31
#define ELF_EXEC_PAGESIZE       4096
32
 
33
#endif /* __ASM_MIPS_ELF_H */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.