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

Subversion Repositories or1k

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1633 jcastillo
#ifndef __PPC_ELF_H
2
#define __PPC_ELF_H
3
 
4
/*
5
 * ELF register definitions..
6
 */
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
#define elf_check_arch(x) ((x) == EM_PPC)
18
 
19
/*
20
 * These are used to set parameters in the core dumps.
21
 * FIXME(eric) I don't know what the correct endianness to use is.
22
 */
23
#define ELF_CLASS       ELFCLASS32
24
#define ELF_DATA        ELFDATA2LSB;
25
#define ELF_ARCH        EM_PPC
26
 
27
#define USE_ELF_CORE_DUMP
28
#define ELF_EXEC_PAGESIZE       4096
29
 
30
#endif

powered by: WebSVN 2.1.0

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