FreeBSD/contrib/binutils/gas/config/tc-arm.c
/* Create a frg for an instruction requiring relaxation.  */
Create a frg for an instruction requiring relaxation.
Create a frg for an instruction requiring relaxation .
static void
output_relax_insn (void)
{
  char * to;
  symbolS *sym;
  int offset;
  dwarf2_emit_insn (0);
  switch (inst.reloc.exp.X_op)
    {
    case O_symbol:
      sym = inst.reloc.exp.X_add_symbol;
      offset = inst.reloc.exp.X_add_number;
      break;
    case O_constant:
      sym = NULL;
      offset = inst.reloc.exp.X_add_number;
      break;
    default:
      sym = make_expr_symbol (&inst.reloc.exp);
      offset = 0;
      break;
  }
  to = frag_var (rs_machine_dependent, INSN_SIZE, THUMB_SIZE,
		 inst.relax, sym, offset, NULL);
  md_number_to_chars (to, inst.instruction, THUMB_SIZE);
}
static void output_relax_insn ( void ) { char * to ; symbolS * sym ; int offset ; dwarf2_emit_insn ( 0 ) ; switch ( inst . reloc . exp . X_op ) { case O_symbol : sym = inst . reloc . exp . X_add_symbol ; offset = inst . reloc . exp . X_add_number ; break ; case O_constant : sym = NULL ; offset = inst . reloc . exp . X_add_number ; break ; default : sym = make_expr_symbol ( & inst . reloc . exp ) ; offset = 0 ; break ; } to = frag_var ( rs_machine_dependent , INSN_SIZE , THUMB_SIZE , inst . relax , sym , offset , NULL ) ; md_number_to_chars ( to , inst . instruction , THUMB_SIZE ) ; }
Create a frg for an instruction requiring relaxation.
Create a frg for an instruction requiring relaxation .
/* The size of the instruction is unknown, so tie the debug info to the
     start of the instruction.  */ /*offset, opcode*/