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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [orpsocv2/] [bench/] [sysc/] [include/] [elf.h] - Diff between revs 51 and 462

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 51 Rev 462
Line 80... Line 80...
 * This is an interim value that we will use until the committee comes
 * This is an interim value that we will use until the committee comes
 * up with a final number.
 * up with a final number.
 */
 */
#define EM_ALPHA        0x9026
#define EM_ALPHA        0x9026
 
 
 
 
/* This is the info that is needed to parse the dynamic section of the file */
/* This is the info that is needed to parse the dynamic section of the file */
#define DT_NULL         0
#define DT_NULL         0
#define DT_NEEDED       1
#define DT_NEEDED       1
#define DT_PLTRELSZ     2
#define DT_PLTRELSZ     2
#define DT_PLTGOT       3
#define DT_PLTGOT       3
Line 141... Line 140...
#define AT_UID    11    /* real uid */
#define AT_UID    11    /* real uid */
#define AT_EUID   12    /* effective uid */
#define AT_EUID   12    /* effective uid */
#define AT_GID    13    /* real gid */
#define AT_GID    13    /* real gid */
#define AT_EGID   14    /* effective gid */
#define AT_EGID   14    /* effective gid */
 
 
 
 
typedef struct dynamic{
typedef struct dynamic{
  Elf32_Sword d_tag;
  Elf32_Sword d_tag;
  union{
  union{
    Elf32_Sword d_val;
    Elf32_Sword d_val;
    Elf32_Addr  d_ptr;
    Elf32_Addr  d_ptr;
Line 239... Line 237...
  unsigned short st_shndx;              /* Associated section index */
  unsigned short st_shndx;              /* Associated section index */
  unsigned long long st_value;          /* Value of the symbol */
  unsigned long long st_value;          /* Value of the symbol */
  unsigned long long st_size;           /* Associated symbol size */
  unsigned long long st_size;           /* Associated symbol size */
} Elf64_Sym;
} Elf64_Sym;
 
 
 
 
#define EI_NIDENT       16
#define EI_NIDENT       16
 
 
typedef struct elf32_hdr{
typedef struct elf32_hdr{
  unsigned char e_ident[EI_NIDENT];
  unsigned char e_ident[EI_NIDENT];
  Elf32_Half    e_type;
  Elf32_Half    e_type;
Line 441... Line 438...
#define elf_phdr        elf64_phdr
#define elf_phdr        elf64_phdr
#define elf_note        elf64_note
#define elf_note        elf64_note
 
 
#endif
#endif
 
 
 
 
#endif /* _LINUX_ELF_H */
#endif /* _LINUX_ELF_H */
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

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