summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-07-11 00:12:14 +0000
committerMark Mitchell <mark@codesourcery.com>1999-07-11 00:12:14 +0000
commit8f1ca160b151932f2eb709ffe4734901b8d3e43f (patch)
tree49183058454fe57166735416444e7cf1617b3a4b
parentf3101d9b07fd4511542511d1583caf99e33ed22c (diff)
downloadgdb-8f1ca160b151932f2eb709ffe4734901b8d3e43f.tar.gz
* elflink.h (elf_link_read_relocs_from_section): Be type-correct.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elflink.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 8245731993b..c2b99d398a8 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+1999-07-11 Mark Mitchell <mark@codesourcery.com>
+
+ * elflink.h (elf_link_read_relocs_from_section): Be type-correct.
+
Thu Jul 8 12:32:23 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
* config.bfd (hppa*-*-linux-gnu*): New target
diff --git a/bfd/elflink.h b/bfd/elflink.h
index 057dc5e92ad..db536c91347 100644
--- a/bfd/elflink.h
+++ b/bfd/elflink.h
@@ -2102,7 +2102,7 @@ elf_link_read_relocs_from_section (abfd, shdr, external_relocs,
* sizeof (Elf_Internal_Rel)));
for (; erel < erelend; erel++, irela += bed->s->int_rels_per_ext_rel)
{
- int i;
+ unsigned char i;
if (bed->s->swap_reloc_in)
(*bed->s->swap_reloc_in) (abfd, (bfd_byte *) erel, irel);