Back to index

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

Go to the source code of this file.

Defines

#define TC_ARM   1
#define TARGET_BYTES_BIG_ENDIAN   0
#define WORKING_DOT_WORD
#define COFF_MAGIC   ARMMAGIC
#define TARGET_ARCH   bfd_arch_arm
#define DIFF_EXPR_OK
#define LITTLE_ENDIAN   1234
#define BIG_ENDIAN   4321
#define TC_FORCE_RELOCATION(FIX)   arm_force_relocation (FIX)
#define md_relax_frag(segment, fragp, stretch)   arm_relax_frag(segment, fragp, stretch)
#define md_optimize_expr(l, o, r)   arm_optimize_expr (l, o, r)
#define md_cleanup()   arm_cleanup ()
#define md_start_line_hook()   arm_start_line_hook ()
#define tc_frob_label(S)   arm_frob_label (S)
#define tc_frob_fake_label(S)   arm_frob_label (S)
#define TC_FIX_TYPE   int
#define TC_INIT_FIX_DATA(FIX)   ((FIX)->tc_fix_data = 0)
#define TC_SYMFIELD_TYPE   unsigned int
#define ARM_GET_FLAG(s)   (*symbol_get_tc (s))
#define ARM_SET_FLAG(s, v)   (*symbol_get_tc (s) |= (v))
#define ARM_RESET_FLAG(s, v)   (*symbol_get_tc (s) &= ~(v))
#define ARM_FLAG_THUMB   (1 << 0) /* The symbol is a Thumb symbol rather than an Arm symbol. */
#define ARM_FLAG_INTERWORK   (1 << 1) /* The symbol is attached to code that supports interworking. */
#define THUMB_FLAG_FUNC   (1 << 2) /* The symbol is attached to the start of a Thumb function. */
#define ARM_IS_THUMB(s)   (ARM_GET_FLAG (s) & ARM_FLAG_THUMB)
#define ARM_IS_INTERWORK(s)   (ARM_GET_FLAG (s) & ARM_FLAG_INTERWORK)
#define THUMB_IS_FUNC(s)   (ARM_GET_FLAG (s) & THUMB_FLAG_FUNC)
#define ARM_SET_THUMB(s, t)   ((t) ? ARM_SET_FLAG (s, ARM_FLAG_THUMB) : ARM_RESET_FLAG (s, ARM_FLAG_THUMB))
#define ARM_SET_INTERWORK(s, t)   ((t) ? ARM_SET_FLAG (s, ARM_FLAG_INTERWORK) : ARM_RESET_FLAG (s, ARM_FLAG_INTERWORK))
#define THUMB_SET_FUNC(s, t)   ((t) ? ARM_SET_FLAG (s, THUMB_FLAG_FUNC) : ARM_RESET_FLAG (s, THUMB_FLAG_FUNC))
#define TC_COPY_SYMBOL_ATTRIBUTES(DEST, SRC)   (arm_copy_symbol_attributes (DEST, SRC))
#define TC_START_LABEL(C, STR)   (c == ':' || (c == '/' && arm_data_in_code ()))
#define tc_canonicalize_symbol_name(str)   arm_canonicalize_symbol_name (str);
#define obj_adjust_symtab()   arm_adjust_symtab ()
#define LISTING_HEADER   "ARM GAS "
#define OPTIONAL_REGISTER_PREFIX   '%'
#define LOCAL_LABEL(name)   (name[0] == '.' && name[1] == 'L')
#define LOCAL_LABELS_FB   1
#define TC_FORCE_RELOCATION_LOCAL(FIX)
#define TC_FORCE_RELOCATION_SUB_SAME(FIX, SEG)
#define TC_CONS_FIX_NEW   cons_fix_new_arm
#define MAX_MEM_FOR_RS_ALIGN_CODE   31
#define TC_FRAG_TYPE   int
#define TC_FRAG_INIT(fragp)   arm_init_frag (fragp)
#define HANDLE_ALIGN(fragp)   arm_handle_align (fragp)
#define md_do_align(N, FILL, LEN, MAX, LABEL)
#define DWARF2_LINE_MIN_INSN_LENGTH   2
#define DWARF2_DEFAULT_RETURN_COLUMN   14
#define DWARF2_CIE_DATA_ALIGNMENT   (-4)
#define GLOBAL_OFFSET_TABLE_NAME   "__GLOBAL_OFFSET_TABLE_"
#define MD_PCREL_FROM_SECTION(F, S)   md_pcrel_from_section(F,S)

Functions

int arm_relax_frag (asection *, struct frag *, long)
int arm_optimize_expr (expressionS *, operatorT, expressionS *)
void arm_copy_symbol_attributes (symbolS *, symbolS *)
long md_pcrel_from_section (struct fix *, segT)
void arm_frag_align_code (int, int)
void arm_validate_fix (struct fix *)
const char * elf32_arm_target_format (void)
void arm_elf_change_section (void)
int arm_force_relocation (struct fix *)
void arm_cleanup (void)
void arm_start_line_hook (void)
void arm_frob_label (symbolS *)
int arm_data_in_code (void)
char * arm_canonicalize_symbol_name (char *)
void arm_adjust_symtab (void)
void armelf_frob_symbol (symbolS *, int *)
void cons_fix_new_arm (fragS *, int, int, expressionS *)
void arm_init_frag (struct frag *)
void arm_handle_align (struct frag *)
bfd_boolean arm_fix_adjustable (struct fix *)
int arm_elf_section_type (const char *, size_t)
int tc_arm_regname_to_dw2regnum (char *regname)
void tc_arm_frame_initial_instructions (void)

Define Documentation

#define ARM_FLAG_INTERWORK   (1 << 1) /* The symbol is attached to code that supports interworking. */

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

#define ARM_FLAG_THUMB   (1 << 0) /* The symbol is a Thumb symbol rather than an Arm symbol. */

Definition at line 120 of file tc-arm.h.

#define ARM_GET_FLAG (   s)    (*symbol_get_tc (s))

Definition at line 116 of file tc-arm.h.

#define ARM_IS_INTERWORK (   s)    (ARM_GET_FLAG (s) & ARM_FLAG_INTERWORK)

Definition at line 125 of file tc-arm.h.

#define ARM_IS_THUMB (   s)    (ARM_GET_FLAG (s) & ARM_FLAG_THUMB)

Definition at line 124 of file tc-arm.h.

#define ARM_RESET_FLAG (   s,
  v 
)    (*symbol_get_tc (s) &= ~(v))

Definition at line 118 of file tc-arm.h.

#define ARM_SET_FLAG (   s,
  v 
)    (*symbol_get_tc (s) |= (v))

Definition at line 117 of file tc-arm.h.

Definition at line 141 of file tc-arm.h.

#define ARM_SET_THUMB (   s,
  t 
)    ((t) ? ARM_SET_FLAG (s, ARM_FLAG_THUMB) : ARM_RESET_FLAG (s, ARM_FLAG_THUMB))

Definition at line 140 of file tc-arm.h.

#define BIG_ENDIAN   4321

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

#define COFF_MAGIC   ARMMAGIC

Definition at line 32 of file tc-arm.h.

#define DIFF_EXPR_OK

Definition at line 35 of file tc-arm.h.

#define DWARF2_CIE_DATA_ALIGNMENT   (-4)

Definition at line 204 of file tc-arm.h.

Definition at line 201 of file tc-arm.h.

Definition at line 198 of file tc-arm.h.

#define GLOBAL_OFFSET_TABLE_NAME   "__GLOBAL_OFFSET_TABLE_"

Definition at line 243 of file tc-arm.h.

#define HANDLE_ALIGN (   fragp)    arm_handle_align (fragp)

Definition at line 189 of file tc-arm.h.

#define LISTING_HEADER   "ARM GAS "

Definition at line 154 of file tc-arm.h.

#define LITTLE_ENDIAN   1234

Definition at line 45 of file tc-arm.h.

#define LOCAL_LABEL (   name)    (name[0] == '.' && name[1] == 'L')

Definition at line 158 of file tc-arm.h.

#define LOCAL_LABELS_FB   1

Definition at line 159 of file tc-arm.h.

#define MAX_MEM_FOR_RS_ALIGN_CODE   31

Definition at line 182 of file tc-arm.h.

#define md_cleanup ( )    arm_cleanup ()

Definition at line 91 of file tc-arm.h.

#define md_do_align (   N,
  FILL,
  LEN,
  MAX,
  LABEL 
)
Value:
if (FILL == NULL && (N) != 0 && ! need_pass_2 && subseg_text_p (now_seg))    \
    {                                                                 \
      arm_frag_align_code (N, MAX);                                          \
      goto LABEL;                                                     \
    }

Definition at line 191 of file tc-arm.h.

#define md_optimize_expr (   l,
  o,
  r 
)    arm_optimize_expr (l, o, r)

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

#define MD_PCREL_FROM_SECTION (   F,
  S 
)    md_pcrel_from_section(F,S)

Definition at line 256 of file tc-arm.h.

#define md_relax_frag (   segment,
  fragp,
  stretch 
)    arm_relax_frag(segment, fragp, stretch)

Definition at line 84 of file tc-arm.h.

Definition at line 93 of file tc-arm.h.

#define obj_adjust_symtab ( )    arm_adjust_symtab ()

Definition at line 152 of file tc-arm.h.

#define OPTIONAL_REGISTER_PREFIX   '%'

Definition at line 156 of file tc-arm.h.

#define TARGET_ARCH   bfd_arch_arm

Definition at line 33 of file tc-arm.h.

#define TARGET_BYTES_BIG_ENDIAN   0

Definition at line 27 of file tc-arm.h.

#define TC_ARM   1

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

Definition at line 151 of file tc-arm.h.

Definition at line 180 of file tc-arm.h.

Definition at line 146 of file tc-arm.h.

#define TC_FIX_TYPE   int

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

Definition at line 82 of file tc-arm.h.

Value:
(!(FIX)->fx_pcrel                                \
   || (FIX)->fx_r_type == BFD_RELOC_ARM_GOT32           \
   || (FIX)->fx_r_type == BFD_RELOC_32                  \
   || TC_FORCE_RELOCATION (FIX))

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

#define TC_FORCE_RELOCATION_SUB_SAME (   FIX,
  SEG 
)
Value:
(THUMB_IS_FUNC ((FIX)->fx_addsy)          \
   || !SEG_NORMAL (SEG))

Definition at line 176 of file tc-arm.h.

#define TC_FRAG_INIT (   fragp)    arm_init_frag (fragp)

Definition at line 188 of file tc-arm.h.

#define TC_FRAG_TYPE   int

Definition at line 187 of file tc-arm.h.

#define tc_frob_fake_label (   S)    arm_frob_label (S)

Definition at line 98 of file tc-arm.h.

#define tc_frob_label (   S)    arm_frob_label (S)

Definition at line 95 of file tc-arm.h.

#define TC_INIT_FIX_DATA (   FIX)    ((FIX)->tc_fix_data = 0)

Definition at line 111 of file tc-arm.h.

#define TC_START_LABEL (   C,
  STR 
)    (c == ':' || (c == '/' && arm_data_in_code ()))

Definition at line 150 of file tc-arm.h.

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

#define THUMB_FLAG_FUNC   (1 << 2) /* The symbol is attached to the start of a Thumb function. */

Definition at line 122 of file tc-arm.h.

#define THUMB_IS_FUNC (   s)    (ARM_GET_FLAG (s) & THUMB_FLAG_FUNC)

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

#define THUMB_SET_FUNC (   s,
  t 
)    ((t) ? ARM_SET_FLAG (s, THUMB_FLAG_FUNC) : ARM_RESET_FLAG (s, THUMB_FLAG_FUNC))

Definition at line 142 of file tc-arm.h.

Definition at line 30 of file tc-arm.h.


Function Documentation

void arm_adjust_symtab ( void  )
char* arm_canonicalize_symbol_name ( char *  )
void arm_cleanup ( void  )
void arm_copy_symbol_attributes ( symbolS *  ,
symbolS *   
)
int arm_data_in_code ( void  )
void arm_elf_change_section ( void  )
int arm_elf_section_type ( const char *  ,
size_t   
)
void arm_frag_align_code ( int  ,
int   
)
void arm_frob_label ( symbolS *  )
void arm_init_frag ( struct frag )
int arm_relax_frag ( asection ,
struct frag ,
long   
)
void arm_start_line_hook ( void  )
void arm_validate_fix ( struct fix )
void armelf_frob_symbol ( symbolS *  ,
int  
)
void cons_fix_new_arm ( fragS *  ,
int  ,
int  ,
expressionS  
)
const char* elf32_arm_target_format ( void  )
int tc_arm_regname_to_dw2regnum ( char *  regname)