Back to index

cell-binutils  2.17cvs20070401
Defines | Functions
netbsd.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 MACHTYPE_OK(m)   ((m) == DEFAULT_MID || (m) == M_UNKNOWN)
#define TEXT_START_ADDR   TARGET_PAGE_SIZE
#define N_HEADER_IN_TEXT(x)   1
#define N_SHARED_LIB(x)   (N_DYNAMIC (x))
#define N_MACHTYPE(exec)   ((enum machine_type) (((exec).a_info >> 16) & 0x03ff))
#define N_FLAGS(exec)   (((exec).a_info >> 26) & 0x3f)
#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_getb32 (ext)
#define MY_entry_is_text_address   1
#define MY_write_object_contents   MY (write_object_contents)
#define MY_text_includes_header   1

Functions

static bfd_boolean MY() write_object_contents (bfd *)

Define Documentation

#define MACHTYPE_OK (   m)    ((m) == DEFAULT_MID || (m) == M_UNKNOWN)

Definition at line 24 of file netbsd.h.

#define MY_entry_is_text_address   1

Definition at line 64 of file netbsd.h.

#define MY_text_includes_header   1

Definition at line 69 of file netbsd.h.

Definition at line 66 of file netbsd.h.

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

Definition at line 39 of file netbsd.h.

#define N_HEADER_IN_TEXT (   x)    1

Definition at line 31 of file netbsd.h.

#define N_MACHTYPE (   exec)    ((enum machine_type) (((exec).a_info >> 16) & 0x03ff))

Definition at line 37 of file netbsd.h.

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

Definition at line 49 of file netbsd.h.

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

Definition at line 42 of file netbsd.h.

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

Definition at line 46 of file netbsd.h.

#define N_SHARED_LIB (   x)    (N_DYNAMIC (x))

Definition at line 34 of file netbsd.h.

#define SWAP_MAGIC (   ext)    bfd_getb32 (ext)

Definition at line 60 of file netbsd.h.

Definition at line 28 of file netbsd.h.


Function Documentation

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