projects
/
platform
/
upstream
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ld relro
[platform/upstream/binutils.git]
/
opcodes
/
ia64-opc.c
diff --git
a/opcodes/ia64-opc.c
b/opcodes/ia64-opc.c
index
7938fbc
..
52ceac9
100644
(file)
--- a/
opcodes/ia64-opc.c
+++ b/
opcodes/ia64-opc.c
@@
-1,5
+1,5
@@
/* ia64-opc.c -- Functions to access the compacted opcode table
/* ia64-opc.c -- Functions to access the compacted opcode table
- Copyright
1999, 2000, 2001, 2003, 2005, 2007
Free Software Foundation, Inc.
+ Copyright
(C) 1999-2014
Free Software Foundation, Inc.
Written by Bob Manson of Cygnus Solutions, <manson@cygnus.com>
This file is part of the GNU opcodes library.
Written by Bob Manson of Cygnus Solutions, <manson@cygnus.com>
This file is part of the GNU opcodes library.
@@
-19,7
+19,6
@@
Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston,
MA 02110-1301, USA. */
Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston,
MA 02110-1301, USA. */
-#include "ansidecl.h"
#include "sysdep.h"
#include "libiberty.h"
#include "ia64-asmtab.h"
#include "sysdep.h"
#include "libiberty.h"
#include "ia64-asmtab.h"
@@
-718,13
+717,13
@@
ia64_free_opcode (struct ia64_opcode *ent)
}
const struct ia64_dependency *
}
const struct ia64_dependency *
-ia64_find_dependency (int index)
+ia64_find_dependency (int
dep_
index)
{
{
-
index = DEP(
index);
+
dep_index = DEP(dep_
index);
- if (index < 0
- ||
index >= (int)(sizeof(dependencies) / sizeof(dependencies[0])
))
+ if (
dep_
index < 0
+ ||
dep_index >= (int) ARRAY_SIZE (dependencies
))
return NULL;
return NULL;
- return &dependencies[index];
+ return &dependencies[
dep_
index];
}
}