Back to index

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

Go to the source code of this file.

Defines

#define TC_FRV
#define LISTING_HEADER   "FRV GAS "
#define TARGET_ARCH   bfd_arch_frv
#define TARGET_FORMAT
#define TARGET_BYTES_BIG_ENDIAN   1
#define LOCAL_LABELS_FB   1
#define DIFF_EXPR_OK   /* .-foo gets turned into PC relative relocs */
#define WORKING_DOT_WORD
#define MD_APPLY_SYM_VALUE(FIX)   0
#define md_cleanup   frv_tomcat_workaround
#define md_number_to_chars   frv_md_number_to_chars
#define md_relax_frag(segment, fragP, stretch)   frv_relax_frag(fragP, stretch)
#define tc_fix_adjustable(FIX)   frv_fix_adjustable (FIX)
#define TC_FORCE_RELOCATION(fix)   frv_force_relocation (fix)
#define TC_FORCE_RELOCATION_SUB_LOCAL(fixP)   1
#define GAS_CGEN_MAX_FIXUPS   1
#define tc_frob_label(sym)   frv_frob_label(sym)
#define tc_gen_reloc   gas_cgen_tc_gen_reloc
#define md_cgen_record_fixup_exp   frv_cgen_record_fixup_exp
#define MD_PCREL_FROM_SECTION(FIX, SEC)   md_pcrel_from_section (FIX, SEC)
#define tc_frob_file()   frv_frob_file ()
#define MAX_MEM_FOR_RS_ALIGN_CODE   (3 + 4)
#define HANDLE_ALIGN(FRAGP)

Functions

bfd_boolean frv_md_fdpic_enabled (void)
void frv_tomcat_workaround PARAMS ((void))
long frv_relax_frag PARAMS ((fragS *, long))
bfd_boolean frv_fix_adjustable PARAMS ((struct fix *))
void frv_frob_label PARAMS ((symbolS *))
long md_pcrel_from_section PARAMS ((struct fix *, segT))

Define Documentation

#define DIFF_EXPR_OK   /* .-foo gets turned into PC relative relocs */

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

#define GAS_CGEN_MAX_FIXUPS   1

Definition at line 67 of file tc-frv.h.

#define HANDLE_ALIGN (   FRAGP)
Value:
do						\
  if ((FRAGP)->fr_type == rs_align_code)                       \
    {                                                          \
      valueT count = ((FRAGP)->fr_next->fr_address                    \
                    - ((FRAGP)->fr_address + (FRAGP)->fr_fix));       \
      char *dest = (FRAGP)->fr_literal + (FRAGP)->fr_fix;             \
      if ((count & 3) != 0)                                    \
       {                                                       \
         memset (dest, 0, (count & 3));                        \
         (FRAGP)->fr_fix += (count & 3);                       \
         dest += (count & 3);                                         \
         count -= (count & 3);                                        \
       }                                                       \
      if (count)                                               \
       {                                                       \
         (FRAGP)->fr_var = 4;                                         \
         *dest++ = 0x80;                                       \
         *dest++ = 0x88;                                       \
         *dest++ = 0x00;                                       \
         *dest++ = 0x00;                                       \
       }                                                       \
    }                                                          \
 while (0)

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

#define LISTING_HEADER   "FRV GAS "

Definition at line 23 of file tc-frv.h.

#define LOCAL_LABELS_FB   1

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

#define MAX_MEM_FOR_RS_ALIGN_CODE   (3 + 4)

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

#define MD_APPLY_SYM_VALUE (   FIX)    0

Definition at line 43 of file tc-frv.h.

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

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

Definition at line 48 of file tc-frv.h.

#define MD_PCREL_FROM_SECTION (   FIX,
  SEC 
)    md_pcrel_from_section (FIX, SEC)

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

#define md_relax_frag (   segment,
  fragP,
  stretch 
)    frv_relax_frag(fragP, stretch)

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

#define TARGET_ARCH   bfd_arch_frv

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

#define TARGET_BYTES_BIG_ENDIAN   1

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

#define TARGET_FORMAT
Value:
(frv_md_fdpic_enabled () \
                     ? "elf32-frvfdpic" : "elf32-frv")

Definition at line 28 of file tc-frv.h.

Definition at line 53 of file tc-frv.h.

Definition at line 58 of file tc-frv.h.

#define TC_FORCE_RELOCATION_SUB_LOCAL (   fixP)    1

Definition at line 64 of file tc-frv.h.

#define tc_frob_file ( )    frv_frob_file ()

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

#define tc_frob_label (   sym)    frv_frob_label(sym)

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

#define TC_FRV

Definition at line 21 of file tc-frv.h.

Definition at line 72 of file tc-frv.h.

Definition at line 40 of file tc-frv.h.


Function Documentation

Definition at line 515 of file tc-frv.c.

{
  return (frv_flags & EF_FRV_FDPIC) != 0;
}
void frv_tomcat_workaround PARAMS ( (void)  )
long frv_relax_frag PARAMS ( (fragS *, long )
void frv_frob_label PARAMS ( (symbolS *)  )