Back to index

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

Go to the source code of this file.


#define TC_D30V
#define TARGET_ARCH   bfd_arch_d30v
#define TARGET_FORMAT   "elf32-d30v"
#define md_operand(x)
#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()   d30v_cleanup (FALSE)
#define md_cleanup()   d30v_cleanup (FALSE)
#define TC_START_LABEL(ch, ptr)   (ch == ':' && d30v_cleanup (FALSE))
#define md_start_line_hook()   d30v_start_line ()
#define tc_frob_label(sym)   d30v_frob_label (sym)
#define md_cons_align(nbytes)   d30v_cons_align (nbytes)


long md_pcrel_from_section (struct fix *, segT)
int d30v_cleanup (int)
void d30v_start_line (void)
void d30v_frob_label (symbolS *)
void d30v_cons_align (int)

Define Documentation

#define DIFF_EXPR_OK

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


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

#define LOCAL_LABELS_FB   1

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

#define md_after_pass_hook ( )    d30v_cleanup (FALSE)

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

#define MD_APPLY_SYM_VALUE (   FIX)    0

Definition at line 62 of file tc-d30v.h.

#define md_cleanup ( )    d30v_cleanup (FALSE)

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

#define md_cons_align (   nbytes)    d30v_cons_align (nbytes)

Definition at line 59 of file tc-d30v.h.

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

#define md_operand (   x)

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

)    md_pcrel_from_section (FIX, SEC)

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

#define md_start_line_hook ( )    d30v_start_line ()

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

#define TARGET_ARCH   bfd_arch_d30v

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


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

#define TARGET_FORMAT   "elf32-d30v"

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

#define TC_D30V

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

#define tc_frob_label (   sym)    d30v_frob_label (sym)

Definition at line 56 of file tc-d30v.h.

#define TC_START_LABEL (   ch,
)    (ch == ':' && d30v_cleanup (FALSE))

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

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

Function Documentation

Definition at line 1837 of file tc-d30v.c.

  segT seg;
  subsegT subseg;

  if (prev_insn != -1)
      seg = now_seg;
      subseg = now_subseg;
      subseg_set (prev_seg, prev_subseg);
      write_1_short (&prev_opcode, (long) prev_insn, fixups->next,
      subseg_set (seg, subseg);
      prev_insn = -1;
      if (use_sequential)
       prev_mul32_p = FALSE;

  return 1;

Here is the call graph for this function:

Here is the caller graph for this function:

void d30v_cons_align ( int  )

Definition at line 1910 of file tc-d30v.c.

  int log_size;

  log_size = 0;
  while ((size >>= 1) != 0)

  if (d30v_current_align < log_size)
    d30v_align (log_size, (char *) NULL, NULL);
  else if (d30v_current_align > log_size)
    d30v_current_align = log_size;
  d30v_last_label = NULL;

Here is the call graph for this function:

void d30v_frob_label ( symbolS *  )

Definition at line 1893 of file tc-d30v.c.

  /* Emit any pending instructions.  */
  d30v_cleanup (FALSE);

  /* Update the label's address with the current output pointer.  */
  symbol_set_frag (lab, frag_now);
  S_SET_VALUE (lab, (valueT) frag_now_fix ());

  /* Record this label for future adjustment after we find out what
     kind of data it references, and the required alignment therewith.  */
  d30v_last_label = lab;

Here is the call graph for this function:

void d30v_start_line ( void  )

Definition at line 1863 of file tc-d30v.c.

  char *c = input_line_pointer;

  while (ISSPACE (*c))

  if (*c == '.')
    d30v_cleanup (FALSE);

Here is the call graph for this function: