Back to index

cell-binutils  2.17cvs20070401
Defines | Functions
freebsd.h File Reference
#include "bfd.h"
#include "sysdep.h"
#include "libbfd.h"
#include "libaout.h"
#include "aout-target.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define N_HEADER_IN_TEXT(x)   0
#define TEXT_START_ADDR   0
#define N_GETMAGIC_NET(exec)   ((exec).a_info & 0xffff)
#define N_GETMID_NET(exec)   (((exec).a_info >> 16) & 0x3ff)
#define N_GETFLAG_NET(ex)   (((exec).a_info >> 26) & 0x3f)
#define N_MACHTYPE(exec)
#define N_FLAGS(exec)
#define N_SET_INFO(exec, magic, type, flags)
#define N_SET_MACHTYPE(exec, machtype)
#define N_SET_FLAGS(exec, flags)
#define SWAP_MAGIC(ext)   bfd_getl32 (ext)
#define MY_write_object_contents   MY (write_object_contents)

Functions

static bfd_boolean MY() write_object_contents (bfd *)

Define Documentation

Definition at line 63 of file freebsd.h.

#define N_FLAGS (   exec)
Value:
((N_GETMAGIC_NET (exec) == ZMAGIC) ? N_GETFLAG_NET (exec) : \
        ((exec).a_info >> 26) & 0x3f)

Definition at line 39 of file freebsd.h.

#define N_GETFLAG_NET (   ex)    (((exec).a_info >> 26) & 0x3f)

Definition at line 32 of file freebsd.h.

#define N_GETMAGIC_NET (   exec)    ((exec).a_info & 0xffff)

Definition at line 28 of file freebsd.h.

#define N_GETMID_NET (   exec)    (((exec).a_info >> 16) & 0x3ff)

Definition at line 30 of file freebsd.h.

#define N_HEADER_IN_TEXT (   x)    0

Definition at line 23 of file freebsd.h.

#define N_MACHTYPE (   exec)
Value:
((enum machine_type) \
        ((N_GETMAGIC_NET (exec) == ZMAGIC) ? N_GETMID_NET (exec) : \
         ((exec).a_info >> 16) & 0x3ff))

Definition at line 35 of file freebsd.h.

#define N_SET_FLAGS (   exec,
  flags 
)
Value:
((exec).a_info = \
        ((exec).a_info & 0x03ffffff) | ((flags & 0x03f) << 26))

Definition at line 50 of file freebsd.h.

#define N_SET_INFO (   exec,
  magic,
  type,
  flags 
)
Value:
((exec).a_info = ((magic) & 0xffff) \
        | (((int)(type) & 0x3ff) << 16) \
        | (((flags) & 0x3f) << 26))

Definition at line 43 of file freebsd.h.

#define N_SET_MACHTYPE (   exec,
  machtype 
)
Value:
((exec).a_info = \
         ((exec).a_info & 0xfb00ffff) | ((((int) (machtype)) & 0x3ff) << 16))

Definition at line 47 of file freebsd.h.

#define SWAP_MAGIC (   ext)    bfd_getl32 (ext)

Definition at line 61 of file freebsd.h.

#define TEXT_START_ADDR   0

Definition at line 26 of file freebsd.h.


Function Documentation

static bfd_boolean MY() write_object_contents ( bfd abfd) [static]