Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
hack-coff.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <string.h>
#include "rs6000.h"

Go to the source code of this file.

Macros

#define AOUT_MAGIC   0x010b
 
#define get_16be(x)
 
#define put_16be(x, v)
 
#define get_32be(x)
 

Functions

int main (int ac, char **av)
 

Macro Definition Documentation

#define AOUT_MAGIC   0x010b

Definition at line 20 of file hack-coff.c.

#define get_16be (   x)
Value:
((((unsigned char *)(x))[0] << 8) \
+ ((unsigned char *)(x))[1])

Definition at line 22 of file hack-coff.c.

#define get_32be (   x)
Value:
((((unsigned char *)(x))[0] << 24) \
+ (((unsigned char *)(x))[1] << 16) \
+ (((unsigned char *)(x))[2] << 8) \
+ ((unsigned char *)(x))[3])

Definition at line 26 of file hack-coff.c.

#define put_16be (   x,
  v 
)
Value:
(((unsigned char *)(x))[0] = (v) >> 8, \
((unsigned char *)(x))[1] = (v) & 0xff)

Definition at line 24 of file hack-coff.c.

Function Documentation

int main ( int  ac,
char **  av 
)

Definition at line 32 of file hack-coff.c.