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

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_47/] [or1ksim/] [cpu/] [common/] [elf.h] - Diff between revs 815 and 1150

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

Rev 815 Rev 1150
Line 1... Line 1...
#ifndef _LINUX_ELF_H
#ifndef _LINUX_ELF_H
#define _LINUX_ELF_H
#define _LINUX_ELF_H
 
 
#include <asm/elf.h>
 
 
 
/* Load a short int from the following tables with big-endian formats */
/* Load a short int from the following tables with big-endian formats */
#define ELF_SHORT_H(ps) ((((unsigned short)(ps) >> 8) & 0xff) |\
#define ELF_SHORT_H(ps) ((((unsigned short)(ps) >> 8) & 0xff) |\
                         (((unsigned short)(ps) << 8) & 0xff00))
                         (((unsigned short)(ps) << 8) & 0xff00))
 
 
/* Load a long int from the following tables with big-endian formats */
/* Load a long int from the following tables with big-endian formats */

powered by: WebSVN 2.1.0

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