Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
elf2ecoff.c File Reference
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <sys/types.h>
#include <fcntl.h>
#include <unistd.h>
#include <elf.h>
#include <limits.h>
#include <netinet/in.h>
#include <stdlib.h>
#include "ecoff.h"

Go to the source code of this file.

Data Structures

struct  sect
 

Macros

#define PT_MIPS_REGINFO   0x70000000 /* Register usage information */
 
#define swab16(x)
 
#define swab32(x)
 
#define ECOFF_SEGMENT_ALIGNMENT(a)   0x10
 
#define ECOFF_ROUND(s, a)   (((s)+(a)-1)&~((a)-1))
 

Functions

int main (int argc, char *argv[])
 

Variables

intsymTypeTable
 
int must_convert_endian
 
int format_bigendian
 

Macro Definition Documentation

#define ECOFF_ROUND (   s,
  a 
)    (((s)+(a)-1)&~((a)-1))
#define ECOFF_SEGMENT_ALIGNMENT (   a)    0x10
#define PT_MIPS_REGINFO   0x70000000 /* Register usage information */

Definition at line 52 of file elf2ecoff.c.

#define swab16 (   x)
Value:
((unsigned short)( \
(((unsigned short)(x) & (unsigned short)0x00ffU) << 8) | \
(((unsigned short)(x) & (unsigned short)0xff00U) >> 8) ))

Definition at line 154 of file elf2ecoff.c.

#define swab32 (   x)
Value:
((unsigned int)( \
(((unsigned int)(x) & (unsigned int)0x000000ffUL) << 24) | \
(((unsigned int)(x) & (unsigned int)0x0000ff00UL) << 8) | \
(((unsigned int)(x) & (unsigned int)0x00ff0000UL) >> 8) | \
(((unsigned int)(x) & (unsigned int)0xff000000UL) >> 24) ))

Definition at line 159 of file elf2ecoff.c.

Function Documentation

int main ( int  argc,
char argv[] 
)

Definition at line 265 of file elf2ecoff.c.

Variable Documentation

int format_bigendian

Definition at line 63 of file elf2ecoff.c.

int must_convert_endian

Definition at line 62 of file elf2ecoff.c.

int* symTypeTable

Definition at line 61 of file elf2ecoff.c.