aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2001-10-21 07:23:24 +0000
committerH.J. Lu <hjl.tools@gmail.com>2001-10-21 07:23:24 +0000
commitebe7507a64becd389ef2649e188d1afbace1d5bc (patch)
tree68fe30ec97dd2a03756b578d75222a3348c96522
parent396917629660bd05d9ab21e6d8339fd3081d9670 (diff)
downloadgdb-ebe7507a64becd389ef2649e188d1afbace1d5bc.zip
gdb-ebe7507a64becd389ef2649e188d1afbace1d5bc.tar.gz
gdb-ebe7507a64becd389ef2649e188d1afbace1d5bc.tar.bz2
2001-10-21 H.J. Lu <hjl@gnu.org>
* elf32-cris.c (cris_reloc_type_lookup): Use int for index.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf32-cris.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index ee920c4..ae475d3 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2001-10-21 H.J. Lu <hjl@gnu.org>
+
+ * elf32-cris.c (cris_reloc_type_lookup): Use int for index.
+
2001-10-20 H.J. Lu <hjl@gnu.org>
* configure.in (WIN32LIBADD): Include -L../libiberty/pic -liberty
diff --git a/bfd/elf32-cris.c b/bfd/elf32-cris.c
index d4d543b..afcd397 100644
--- a/bfd/elf32-cris.c
+++ b/bfd/elf32-cris.c
@@ -437,7 +437,7 @@ cris_reloc_type_lookup (abfd, code)
bfd * abfd ATTRIBUTE_UNUSED;
bfd_reloc_code_real_type code;
{
- unsigned int i;
+ int i;
for (i = sizeof (cris_reloc_map) / sizeof (cris_reloc_map[0]);
--i >= 0;)