Back to index

cell-binutils  2.17cvs20070401
Defines | Functions | Variables
tc-cris.h File Reference

Go to the source code of this file.

Defines

#define TARGET_FORMAT   cris_target_format ()
#define TARGET_ARCH   bfd_arch_cris
#define TARGET_MACH   (cris_mach ())
#define TARGET_BYTES_BIG_ENDIAN   0
#define tc_comment_chars   cris_comment_chars
#define ONLY_STANDARD_ESCAPES
#define md_operand(x)
#define md_number_to_chars   number_to_chars_littleendian
#define md_create_short_jump   md_create_long_jump
#define TC_GENERIC_RELAX_TABLE   md_cris_relax_table
#define md_relax_frag(SEG, FRAGP, STRETCH)
#define TC_FORCE_RELOCATION(FIX)   md_cris_force_relocation (FIX)
#define IS_CRIS_PIC_RELOC(RTYPE)
#define TC_FORCE_RELOCATION_LOCAL(FIX)
#define tc_fix_adjustable(FIX)
#define MD_APPLY_SYM_VALUE(FIX)   0
#define tc_frob_symbol(symp, punt)
#define LISTING_HEADER   "GAS for CRIS"
#define TC_CHECK_ADJUSTED_BROKEN_DOT_WORD(new_offset, brokw)   tc_cris_check_adjusted_broken_word ((offsetT) (new_offset), brokw)
#define TC_IMPLICIT_LCOMM_ALIGNMENT(SIZE, P2VAR)   do { } while (0)
#define DWARF2_LINE_MIN_INSN_LENGTH   2
#define LOCAL_LABELS_DOLLAR   1

Functions

const char * cris_target_format (void)
unsigned int cris_mach (void)
long cris_relax_frag (segT, fragS *, long)
int md_cris_force_relocation (struct fix *)
void tc_cris_check_adjusted_broken_word (offsetT, struct broken_word *)

Variables

const char * md_shortopts
size_t md_longopts_size
const pseudo_typeS md_pseudo_table []
const char cris_comment_chars []
const char line_comment_chars []
const char line_separator_chars []
const char EXP_CHARS []
const char FLT_CHARS []

Define Documentation

Definition at line 165 of file tc-cris.h.

#define IS_CRIS_PIC_RELOC (   RTYPE)
#define LISTING_HEADER   "GAS for CRIS"

Definition at line 137 of file tc-cris.h.

#define LOCAL_LABELS_DOLLAR   1

Definition at line 168 of file tc-cris.h.

#define MD_APPLY_SYM_VALUE (   FIX)    0

Definition at line 121 of file tc-cris.h.

Definition at line 74 of file tc-cris.h.

Definition at line 70 of file tc-cris.h.

#define md_operand (   x)

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

#define md_relax_frag (   SEG,
  FRAGP,
  STRETCH 
)
Value:
((FRAGP)->fr_symbol != NULL                      \
  && S_GET_SEGMENT ((FRAGP)->fr_symbol) == (SEG) \
  ? relax_frag (SEG, FRAGP, STRETCH)                    \
  : cris_relax_frag (SEG, FRAGP, STRETCH))

Definition at line 83 of file tc-cris.h.

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

#define TARGET_ARCH   bfd_arch_cris

Definition at line 41 of file tc-cris.h.

#define TARGET_BYTES_BIG_ENDIAN   0

Definition at line 46 of file tc-cris.h.

Definition at line 39 of file tc-cris.h.

#define TARGET_MACH   (cris_mach ())

Definition at line 44 of file tc-cris.h.

#define TC_CHECK_ADJUSTED_BROKEN_DOT_WORD (   new_offset,
  brokw 
)    tc_cris_check_adjusted_broken_word ((offsetT) (new_offset), brokw)

Definition at line 157 of file tc-cris.h.

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

#define tc_fix_adjustable (   FIX)
Value:
((FIX)->fx_r_type != BFD_RELOC_VTABLE_INHERIT           \
  && (FIX)->fx_r_type != BFD_RELOC_VTABLE_ENTRY         \
  && (! IS_CRIS_PIC_RELOC ((FIX)->fx_r_type)            \
      || (FIX)->fx_r_type == BFD_RELOC_CRIS_32_GOTREL))

Definition at line 110 of file tc-cris.h.

Definition at line 89 of file tc-cris.h.

Value:
(!(FIX)->fx_pcrel                                \
   || IS_CRIS_PIC_RELOC ((FIX)->fx_r_type)              \
   || TC_FORCE_RELOCATION (FIX))

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

#define tc_frob_symbol (   symp,
  punt 
)
Value:
do {                                             \
  if ((OUTPUT_FLAVOR == bfd_target_elf_flavour          \
       && (symp) == section_symbol (absolute_section))  \
      || ! S_IS_DEFINED (symp))                         \
    (punt) = 1;                                         \
 } while (0)

Definition at line 129 of file tc-cris.h.

Definition at line 77 of file tc-cris.h.

#define TC_IMPLICIT_LCOMM_ALIGNMENT (   SIZE,
  P2VAR 
)    do { } while (0)

Definition at line 161 of file tc-cris.h.


Function Documentation

unsigned int cris_mach ( void  )

Definition at line 483 of file tc-cris.c.

{
  unsigned int retval = 0;

  switch (cris_arch)
    {
    case arch_cris_common_v10_v32:
      retval = bfd_mach_cris_v10_v32;
      break;

    case arch_crisv32:
      retval = bfd_mach_cris_v32;
      break;

    case arch_crisv10:
    case arch_cris_any_v0_v10:
      retval = bfd_mach_cris_v0_v10;
      break;

    default:
      BAD_CASE (cris_arch);
    }

  return retval;
}
long cris_relax_frag ( segT  ,
fragS *  ,
long   
)
const char* cris_target_format ( void  )

Definition at line 461 of file tc-cris.c.

{
  switch (OUTPUT_FLAVOR)
    {
    case bfd_target_aout_flavour:
      return "a.out-cris";

    case bfd_target_elf_flavour:
      if (symbols_have_leading_underscore)
       return "elf32-us-cris";
      return "elf32-cris";

    default:
      abort ();
      return NULL;
    }
}

Definition at line 4028 of file tc-cris.c.

Here is the call graph for this function:

Definition at line 4052 of file tc-cris.c.

{
  if (new_offset > 32767 || new_offset < -32768)
    /* We really want a genuine error, not a warning, so make it one.  */
    as_bad_where (brokwP->frag->fr_file, brokwP->frag->fr_line,
                _("Adjusted signed .word (%ld) overflows: `switch'-statement too large."),
                (long) new_offset);

Here is the call graph for this function:


Variable Documentation

const char EXP_CHARS[]

Definition at line 223 of file tc-alpha.c.

const char FLT_CHARS[]

Definition at line 228 of file tc-alpha.c.

Definition at line 215 of file tc-alpha.c.

Definition at line 219 of file tc-alpha.c.

Definition at line 251 of file tc-alpha.c.

const pseudo_typeS md_pseudo_table[]

Definition at line 4627 of file tc-alpha.c.

Definition at line 233 of file tc-alpha.c.