Back to index

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

Go to the source code of this file.


#define TC_D10V
#define TARGET_ARCH   bfd_arch_d10v
#define TARGET_FORMAT   "elf32-d10v"
#define MD_PCREL_FROM_SECTION(FIX, SEC)   md_pcrel_from_section (FIX, SEC)
#define LOCAL_LABELS_FB   1
#define DIFF_EXPR_OK
#define md_number_to_chars   number_to_chars_bigendian
#define md_after_pass_hook()   d10v_cleanup ()
#define md_cleanup()   d10v_cleanup ()
#define md_do_align(a, b, c, d, e)   d10v_cleanup ()
#define tc_frob_label(sym)
#define tc_fix_adjustable(FIX)   d10v_fix_adjustable(FIX)
#define md_flush_pending_output   d10v_cleanup


long md_pcrel_from_section (struct fix *, segT)
int d10v_cleanup (void)
bfd_boolean d10v_fix_adjustable (struct fix *)

Define Documentation

#define DIFF_EXPR_OK

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


Definition at line 69 of file tc-d10v.h.

#define LOCAL_LABELS_FB   1

Definition at line 38 of file tc-d10v.h.

#define md_after_pass_hook ( )    d10v_cleanup ()

Definition at line 49 of file tc-d10v.h.

#define MD_APPLY_SYM_VALUE (   FIX)    0

Definition at line 65 of file tc-d10v.h.

#define md_cleanup ( )    d10v_cleanup ()

Definition at line 50 of file tc-d10v.h.

#define md_do_align (   a,
)    d10v_cleanup ()

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

Definition at line 71 of file tc-d10v.h.

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

)    md_pcrel_from_section (FIX, SEC)

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

#define TARGET_ARCH   bfd_arch_d10v

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


Definition at line 25 of file tc-d10v.h.

#define TARGET_FORMAT   "elf32-d10v"

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

#define TC_D10V

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

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

#define tc_frob_label (   sym)
do                                               \
    {                                            \
      d10v_cleanup ();                                  \
      symbol_set_frag (sym, frag_now);                  \
      S_SET_VALUE (sym, (valueT) frag_now_fix ());      \
    }                                            \
  while (0)

Definition at line 52 of file tc-d10v.h.

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

Function Documentation

int d10v_cleanup ( void  )

Definition at line 1635 of file tc-d10v.c.

  segT seg;
  subsegT subseg;

  /* If cleanup was invoked because the assembler encountered, e.g., a
     user label, we write out the pending instruction, if any.  If it
     was invoked because the assembler is outputting a piece of line
     debugging information, though, we write out the pending
     instruction only if the --no-gstabs-packing command line switch
     has been specified.  */
  if (prev_opcode
      && etype == PACK_UNSPEC
      && (! outputting_stabs_line_debug || ! flag_allow_gstabs_packing))
      seg = now_seg;
      subseg = now_subseg;

      if (prev_seg)
       subseg_set (prev_seg, prev_subseg);

      write_1_short (prev_opcode, prev_insn, fixups->next);
      subseg_set (seg, subseg);
      prev_opcode = NULL;
  return 1;

Here is the call graph for this function:

Here is the caller graph for this function: