~ubuntu-branches/debian/squeeze/binutils/squeeze

« back to all changes in this revision

Viewing changes to opcodes/tic30-dis.c

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-09-10 17:05:30 UTC
  • mfrom: (1.4.5 upstream) (6.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090910170530-wa6gpju9pq5c56on
Tags: 2.19.91.20090910-1
* Snapshot, taken from the 2.20 release branch 20090910, corresponding
  to the 2.19.90 upstream snapshot.
* Fix Thumb-2 shared libraries (Daniel Jacobowitz), patch taken
  from the trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Disassembly routines for TMS320C30 architecture
2
 
   Copyright 1998, 1999, 2000, 2002, 2005, 2007 Free Software Foundation, Inc.
 
2
   Copyright 1998, 1999, 2000, 2002, 2005, 2007, 2009
 
3
   Free Software Foundation, Inc.
3
4
   Contributed by Steven Haworth (steve@pm.cse.rmit.edu.au)
4
5
 
5
6
   This file is part of the GNU opcodes library.
64
65
struct instruction
65
66
{
66
67
  int type;
67
 
  template *tm;
 
68
  insn_template *tm;
68
69
  partemplate *ptm;
69
70
};
70
71
 
78
79
    case THREE_OPERAND:
79
80
      insn->type = NORMAL_INSN;
80
81
      {
81
 
        template *current_optab = (template *) tic30_optab;
 
82
        insn_template *current_optab = (insn_template *) tic30_optab;
82
83
 
83
84
        for (; current_optab < tic30_optab_end; current_optab++)
84
85
          {
145
146
    case BRANCHES:
146
147
      insn->type = NORMAL_INSN;
147
148
      {
148
 
        template *current_optab = (template *) tic30_optab;
 
149
        insn_template *current_optab = (insn_template *) tic30_optab;
149
150
 
150
151
        for (; current_optab < tic30_optab_end; current_optab++)
151
152
          {