OLD | NEW |
1 /* ia64-opc.c -- Functions to access the compacted opcode table | 1 /* ia64-opc.c -- Functions to access the compacted opcode table |
2 Copyright 1999, 2000, 2001, 2003, 2005, 2007, 2009 Free Software Foundation,
Inc. | 2 Copyright 1999, 2000, 2001, 2003, 2005, 2007, 2009, 2012 |
| 3 Free Software Foundation, Inc. |
3 Written by Bob Manson of Cygnus Solutions, <manson@cygnus.com> | 4 Written by Bob Manson of Cygnus Solutions, <manson@cygnus.com> |
4 | 5 |
5 This file is part of the GNU opcodes library. | 6 This file is part of the GNU opcodes library. |
6 | 7 |
7 This library is free software; you can redistribute it and/or modify | 8 This library is free software; you can redistribute it and/or modify |
8 it under the terms of the GNU General Public License as published by | 9 it under the terms of the GNU General Public License as published by |
9 the Free Software Foundation; either version 3, or (at your option) | 10 the Free Software Foundation; either version 3, or (at your option) |
10 any later version. | 11 any later version. |
11 | 12 |
12 It is distributed in the hope that it will be useful, but WITHOUT | 13 It is distributed in the hope that it will be useful, but WITHOUT |
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | 14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
14 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public | 15 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public |
15 License for more details. | 16 License for more details. |
16 | 17 |
17 You should have received a copy of the GNU General Public License | 18 You should have received a copy of the GNU General Public License |
18 along with this file; see the file COPYING. If not, write to the | 19 along with this file; see the file COPYING. If not, write to the |
19 Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, | 20 Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, |
20 MA 02110-1301, USA. */ | 21 MA 02110-1301, USA. */ |
21 | 22 |
22 #include "ansidecl.h" | |
23 #include "sysdep.h" | 23 #include "sysdep.h" |
24 #include "libiberty.h" | 24 #include "libiberty.h" |
25 #include "ia64-asmtab.h" | 25 #include "ia64-asmtab.h" |
26 #include "ia64-asmtab.c" | 26 #include "ia64-asmtab.c" |
27 | 27 |
28 static void get_opc_prefix (const char **, char *); | 28 static void get_opc_prefix (const char **, char *); |
29 static short int find_string_ent (const char *); | 29 static short int find_string_ent (const char *); |
30 static short int find_main_ent (short int); | 30 static short int find_main_ent (short int); |
31 static short int find_completer (short int, short int, const char *); | 31 static short int find_completer (short int, short int, const char *); |
32 static ia64_insn apply_completer (ia64_insn, int); | 32 static ia64_insn apply_completer (ia64_insn, int); |
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
733 ia64_find_dependency (int dep_index) | 733 ia64_find_dependency (int dep_index) |
734 { | 734 { |
735 dep_index = DEP(dep_index); | 735 dep_index = DEP(dep_index); |
736 | 736 |
737 if (dep_index < 0 | 737 if (dep_index < 0 |
738 || dep_index >= (int) ARRAY_SIZE (dependencies)) | 738 || dep_index >= (int) ARRAY_SIZE (dependencies)) |
739 return NULL; | 739 return NULL; |
740 | 740 |
741 return &dependencies[dep_index]; | 741 return &dependencies[dep_index]; |
742 } | 742 } |
OLD | NEW |