Back to index

cell-binutils  2.17cvs20070401
Defines | Functions
tc-ns32k.h File Reference
#include "bit_fix.h"

Go to the source code of this file.

Defines

#define TC_NS32K
#define TARGET_BYTES_BIG_ENDIAN   0
#define TC_PCREL_ADJUST(F)   md_pcrel_adjust(F)
#define NO_RELOC   BFD_RELOC_NONE
#define TARGET_ARCH   bfd_arch_ns32k
#define TARGET_FORMAT   "a.out-pc532-mach"
#define LOCAL_LABELS_FB   1
#define DEF_MODEC   20
#define DEF_MODEL   20
#define MAX_ARGS   4
#define ARG_LEN   50
#define TC_CONS_FIX_NEW   cons_fix_new_ns32k
#define NOP_OPCODE   0xa2
#define md_operand(x)
#define TC_GENERIC_RELAX_TABLE   md_relax_table
#define TC_FRAG_TYPE
#define TC_FRAG_INIT(X)
#define frag_opcode_frag(X)   (X)->tc_frag_data.fr_opcode_fragP
#define frag_opcode_offset(X)   (X)->tc_frag_data.fr_opcode_offset
#define frag_bsr(X)   (X)->tc_frag_data.fr_bsr
#define TC_FIX_TYPE
#define fix_im_disp(X)   (X)->fx_im_disp
#define fix_bit_fixP(X)   (X)->fx_bit_fixP
#define fix_opcode_frag(X)   (X)->tc_fix_data.opcode_fragP
#define fix_opcode_offset(X)   (X)->tc_fix_data.opcode_offset
#define fix_bsr(X)   (X)->tc_fix_data.bsr
#define TC_INIT_FIX_DATA(X)
#define TC_FIX_DATA_PRINT(FILE, FIX)

Functions

int md_pcrel_adjust (fragS *)
void cons_fix_new_ns32k (fragS *, int, int, expressionS *)

Define Documentation

#define ARG_LEN   50

Definition at line 55 of file tc-ns32k.h.

#define DEF_MODEC   20

Definition at line 47 of file tc-ns32k.h.

#define DEF_MODEL   20

Definition at line 51 of file tc-ns32k.h.

#define fix_bit_fixP (   X)    (X)->fx_bit_fixP

Definition at line 101 of file tc-ns32k.h.

#define fix_bsr (   X)    (X)->tc_fix_data.bsr

Definition at line 104 of file tc-ns32k.h.

#define fix_im_disp (   X)    (X)->fx_im_disp

Definition at line 100 of file tc-ns32k.h.

#define fix_opcode_frag (   X)    (X)->tc_fix_data.opcode_fragP

Definition at line 102 of file tc-ns32k.h.

#define fix_opcode_offset (   X)    (X)->tc_fix_data.opcode_offset

Definition at line 103 of file tc-ns32k.h.

#define frag_bsr (   X)    (X)->tc_frag_data.fr_bsr

Definition at line 88 of file tc-ns32k.h.

#define frag_opcode_frag (   X)    (X)->tc_frag_data.fr_opcode_fragP

Definition at line 86 of file tc-ns32k.h.

#define frag_opcode_offset (   X)    (X)->tc_frag_data.fr_opcode_offset

Definition at line 87 of file tc-ns32k.h.

#define LOCAL_LABELS_FB   1

Definition at line 37 of file tc-ns32k.h.

#define MAX_ARGS   4

Definition at line 54 of file tc-ns32k.h.

#define md_operand (   x)

Definition at line 63 of file tc-ns32k.h.

#define NO_RELOC   BFD_RELOC_NONE

Definition at line 29 of file tc-ns32k.h.

#define NOP_OPCODE   0xa2

Definition at line 61 of file tc-ns32k.h.

Definition at line 31 of file tc-ns32k.h.

#define TARGET_BYTES_BIG_ENDIAN   0

Definition at line 24 of file tc-ns32k.h.

#define TARGET_FORMAT   "a.out-pc532-mach"

Definition at line 34 of file tc-ns32k.h.

Definition at line 57 of file tc-ns32k.h.

#define TC_FIX_DATA_PRINT (   FILE,
  FIX 
)
Value:
do                                                             \
    {                                                          \
      fprintf ((FILE), "opcode_frag=%ld, operand offset=%d, bsr=%d\n",       \
             (unsigned long) fix_opcode_frag (FIX),                   \
             fix_opcode_offset (FIX),                                 \
             fix_bsr (FIX));                                          \
    }                                                          \
  while (0)

Definition at line 115 of file tc-ns32k.h.

#define TC_FIX_TYPE
Value:
struct                             \
    {                                     \
      fragS *      opcode_fragP;          \
      unsigned int opcode_offset;         \
      unsigned int bsr : 1;               \
    }

Definition at line 90 of file tc-ns32k.h.

#define TC_FRAG_INIT (   X)
Value:
do                                        \
     {                                    \
       frag_opcode_frag (X) = NULL;              \
       frag_opcode_offset (X) = 0;        \
       frag_bsr (X) = 0;                  \
     }                                    \
  while (0)

Definition at line 76 of file tc-ns32k.h.

#define TC_FRAG_TYPE
Value:
struct                                    \
    {                                     \
      fragS *      fr_opcode_fragP;              \
      unsigned int fr_opcode_offset;             \
      char         fr_bsr;                \
    }

Definition at line 68 of file tc-ns32k.h.

Definition at line 66 of file tc-ns32k.h.

#define TC_INIT_FIX_DATA (   X)
Value:
do                                        \
     {                                    \
       fix_opcode_frag(X) = NULL;         \
       fix_opcode_offset(X) = 0;          \
       fix_bsr(X) = 0;                           \
     }                                    \
  while (0)

Definition at line 106 of file tc-ns32k.h.

#define TC_NS32K

Definition at line 22 of file tc-ns32k.h.

#define TC_PCREL_ADJUST (   F)    md_pcrel_adjust(F)

Definition at line 26 of file tc-ns32k.h.


Function Documentation

void cons_fix_new_ns32k ( fragS *  ,
int  ,
int  ,
expressionS  
)

Definition at line 2215 of file tc-ns32k.c.

{
  fix_new_ns32k_exp (frag, where, size, exp,

Here is the call graph for this function:

int md_pcrel_adjust ( fragS *  )

Definition at line 1960 of file tc-ns32k.c.

{
  fragS *opcode_frag;
  addressT opcode_address;
  unsigned int offset;

  opcode_frag = frag_opcode_frag (fragP);
  if (opcode_frag == 0)
    return 0;

  offset = frag_opcode_offset (fragP);
  opcode_address = offset + opcode_frag->fr_address;

Here is the caller graph for this function: