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

Subversion Repositories or1k

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

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1633 jcastillo
/* $Id: elf.h,v 1.1 2005-12-20 11:32:11 jcastillo Exp $ */
2
#ifndef __ASMSPARC_ELF_H
3
#define __ASMSPARC_ELF_H
4
 
5
/*
6
 * ELF register definitions..
7
 */
8
 
9
#include <asm/ptrace.h>
10
 
11
typedef unsigned long elf_greg_t;
12
 
13
#define ELF_NGREG (sizeof (struct pt_regs) / sizeof(elf_greg_t))
14
typedef elf_greg_t elf_gregset_t[ELF_NGREG];
15
 
16
typedef unsigned long elf_fpregset_t;
17
 
18
/*
19
 * This is used to ensure we don't load something for the wrong architecture.
20
 */
21
#define elf_check_arch(x) ((x) == EM_SPARC)
22
 
23
/*
24
 * These are used to set parameters in the core dumps.
25
 */
26
#define ELF_ARCH EM_SPARC
27
#define ELF_CLASS       ELFCLASS32
28
#define ELF_DATA        ELFDATA2MSB;
29
 
30
#define USE_ELF_CORE_DUMP
31
#define ELF_EXEC_PAGESIZE       4096
32
 
33
#endif

powered by: WebSVN 2.1.0

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