Ignore:
Timestamp:
Aug 16, 2003, 6:59:22 PM (22 years ago)
Author:
bird
Message:

binutils v2.14 - offical sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/binutils/opcodes/arc-opc.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    1818   Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
    1919
     20#include "sysdep.h"
    2021#include <stdio.h>
    2122#include "ansidecl.h"
     23#include "bfd.h"
    2224#include "opcode/arc.h"
    2325
     
    6466
    6567enum operand ls_operand[OPERANDS];
     68
     69struct arc_opcode *arc_ext_opcodes;
     70struct arc_ext_operand_value *arc_ext_operands;
    6671
    6772#define LS_VALUE  0
     
    515520    ARC_MACH_8
    516521  };
    517   return mach_type_map[bfd_mach] | (big_p ? ARC_MACH_BIG : 0);
     522  return mach_type_map[bfd_mach - bfd_mach_arc_5] | (big_p ? ARC_MACH_BIG : 0);
    518523}
    519524
     
    11541159      limm += arc_limm_fixup_adjust(insn);
    11551160    }
    1156   if (ST_SYNTAX(OP_LIMM,OP_SHIMM,OP_SHIMM) && (shimm * 2 == limm))
    1157     {
    1158       insn &= ~C(-1);
    1159       limm_p = 0;
    1160       limm = 0;
    1161       insn |= C(ARC_REG_SHIMM);
    1162       ls_operand[LS_VALUE] = OP_SHIMM;
    1163     }
    11641161  if (!(ST_SYNTAX(OP_REG,OP_REG,OP_NONE)
    11651162        || ST_SYNTAX(OP_REG,OP_LIMM,OP_NONE)
Note: See TracChangeset for help on using the changeset viewer.