Back to index

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

Go to the source code of this file.

Defines

#define TC_M68HC11
#define TC_M68HC12
#define TC_M68K
#define TARGET_BYTES_BIG_ENDIAN   1
#define NO_PSEUDO_DOT   1
#define TARGET_ARCH   (m68hc11_arch ())
#define TARGET_MACH   (m68hc11_mach ())
#define TARGET_FORMAT   (m68hc11_arch_format ())
#define LISTING_WORD_SIZE   1 /* A word is 1 bytes */
#define LISTING_LHS_WIDTH   4 /* One word on the first line */
#define LISTING_LHS_WIDTH_SECOND   4 /* One word on the second line */
#define LISTING_LHS_CONT_LINES   4 /* And 4 lines max */
#define LISTING_HEADER   m68hc11_listing_header ()
#define LOCAL_LABELS_FB   1
#define tc_init_after_args   m68hc11_init_after_args
#define md_parse_long_option   m68hc11_parse_long_option
#define DWARF2_LINE_MIN_INSN_LENGTH   1
#define DWARF2_ADDR_SIZE(bfd)   4
#define WORKING_DOT_WORD
#define md_number_to_chars   number_to_chars_bigendian
#define TC_GENERIC_RELAX_TABLE   md_relax_table
#define md_relax_frag(SEG, FRAGP, STRETCH)
#define TC_HANDLES_FX_DONE
#define DIFF_EXPR_OK   /* .-foo gets turned into PC relative relocs */
#define MD_APPLY_SYM_VALUE(FIX)   0
#define EXTERN_FORCE_RELOC   0
#define TC_FORCE_RELOCATION(fix)   tc_m68hc11_force_relocation (fix)
#define tc_fix_adjustable(X)   tc_m68hc11_fix_adjustable(X)
#define md_operand(x)
#define elf_tc_final_processing   m68hc11_elf_final_processing
#define tc_print_statistics(FILE)   m68hc11_print_statistics (FILE)

Functions

enum bfd_architecture m68hc11_arch (void)
int m68hc11_mach (void)
const char * m68hc11_arch_format (void)
const char * m68hc11_listing_header (void)
void m68hc11_init_after_args (void)
int m68hc11_parse_long_option (char *)
long m68hc11_relax_frag (segT, fragS *, long)
int tc_m68hc11_force_relocation (struct fix *)
int tc_m68hc11_fix_adjustable (struct fix *)
void m68hc11_elf_final_processing (void)
void m68hc11_print_statistics (FILE *)

Define Documentation

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

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

#define DWARF2_ADDR_SIZE (   bfd)    4

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

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

Definition at line 105 of file tc-m68hc11.h.

#define EXTERN_FORCE_RELOC   0

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

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

#define LISTING_LHS_CONT_LINES   4 /* And 4 lines max */

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

#define LISTING_LHS_WIDTH   4 /* One word on the first line */

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

#define LISTING_LHS_WIDTH_SECOND   4 /* One word on the second line */

Definition at line 47 of file tc-m68hc11.h.

#define LISTING_WORD_SIZE   1 /* A word is 1 bytes */

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

#define LOCAL_LABELS_FB   1

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

#define MD_APPLY_SYM_VALUE (   FIX)    0

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

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

#define md_operand (   x)

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

Definition at line 58 of file tc-m68hc11.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)                    \
  : m68hc11_relax_frag (SEG, FRAGP, STRETCH))

Definition at line 79 of file tc-m68hc11.h.

#define NO_PSEUDO_DOT   1

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

#define TARGET_ARCH   (m68hc11_arch ())

Definition at line 36 of file tc-m68hc11.h.

#define TARGET_BYTES_BIG_ENDIAN   1

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

Definition at line 42 of file tc-m68hc11.h.

#define TARGET_MACH   (m68hc11_mach ())

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

Definition at line 100 of file tc-m68hc11.h.

Definition at line 97 of file tc-m68hc11.h.

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

Definition at line 86 of file tc-m68hc11.h.

Definition at line 55 of file tc-m68hc11.h.

#define TC_M68HC11

Definition at line 22 of file tc-m68hc11.h.

#define TC_M68HC12

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

#define TC_M68K

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

#define tc_print_statistics (   FILE)    m68hc11_print_statistics (FILE)

Definition at line 108 of file tc-m68hc11.h.

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


Function Documentation

enum bfd_architecture m68hc11_arch ( void  )

Definition at line 342 of file tc-m68hc11.c.

Here is the call graph for this function:

const char* m68hc11_arch_format ( void  )

Definition at line 332 of file tc-m68hc11.c.

{
  get_default_target ();
  if (current_architecture & cpu6811)
    return "elf32-m68hc11";
  else
    return "elf32-m68hc12";
}

Here is the call graph for this function:

void m68hc11_init_after_args ( void  )

Definition at line 700 of file tc-m68hc11.c.

{
}
const char* m68hc11_listing_header ( void  )

Definition at line 359 of file tc-m68hc11.c.

{
  if (current_architecture & cpu6811)
    return "M68HC11 GAS ";
  else
    return "M68HC12 GAS ";
}
int m68hc11_mach ( void  )

Definition at line 352 of file tc-m68hc11.c.

{
  return 0;
}
void m68hc11_print_statistics ( FILE *  )

Definition at line 423 of file tc-m68hc11.c.

{
  int i;
  struct m68hc11_opcode_def *opc;

  hash_print_statistics (file, "opcode table", m68hc11_hash);

  opc = m68hc11_opcode_defs;
  if (opc == 0 || m68hc11_nb_opcode_defs == 0)
    return;

  /* Dump the opcode statistics table.  */
  fprintf (file, _("Name   # Modes  Min ops  Max ops  Modes mask  # Used\n"));
  for (i = 0; i < m68hc11_nb_opcode_defs; i++, opc++)
    {
      fprintf (file, "%-7.7s  %5d  %7d  %7d  0x%08lx  %7d\n",
              opc->opcode->name,
              opc->nb_modes,
              opc->min_operands, opc->max_operands, opc->format, opc->used);
    }
}

Here is the call graph for this function:

long m68hc11_relax_frag ( segT  ,
fragS *  ,
long   
)