URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 1244 |
Rev 1637 |
Line 18... |
Line 18... |
(((unsigned long)(ps) >> 8) & 0xff00)|\
|
(((unsigned long)(ps) >> 8) & 0xff00)|\
|
(((unsigned long)(ps) << 8) & 0xff0000)|\
|
(((unsigned long)(ps) << 8) & 0xff0000)|\
|
(((unsigned long)(ps) << 24) & 0xff000000))
|
(((unsigned long)(ps) << 24) & 0xff000000))
|
#endif
|
#endif
|
|
|
|
#ifdef OR32_TYPES
|
|
typedef uint32_t Elf32_Addr;
|
|
typedef uint16_t Elf32_Half;
|
|
typedef uint32_t Elf32_Off;
|
|
typedef int32_t Elf32_Sword;
|
|
typedef uint32_t Elf32_Word;
|
|
#else
|
typedef unsigned long Elf32_Addr;
|
typedef unsigned long Elf32_Addr;
|
typedef unsigned short Elf32_Half;
|
typedef unsigned short Elf32_Half;
|
typedef unsigned long Elf32_Off;
|
typedef unsigned long Elf32_Off;
|
typedef long Elf32_Sword;
|
typedef long Elf32_Sword;
|
typedef unsigned long Elf32_Word;
|
typedef unsigned long Elf32_Word;
|
|
#endif
|
|
|
/* These constants are for the segment types stored in the image headers */
|
/* These constants are for the segment types stored in the image headers */
|
#define PT_NULL 0
|
#define PT_NULL 0
|
#define PT_LOAD 1
|
#define PT_LOAD 1
|
#define PT_DYNAMIC 2
|
#define PT_DYNAMIC 2
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.