aboutsummaryrefslogtreecommitdiff
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
commit65388f2d50331d138183307a91ebaa50ef608006 (patch)
treea73a51b1b509dc6980de4114fd6f9c14d72834eb
parente0accf0cb874d9408a621c36dfe2db2959245612 (diff)
downloadfsf-binutils-gdb-65388f2d50331d138183307a91ebaa50ef608006.zip
fsf-binutils-gdb-65388f2d50331d138183307a91ebaa50ef608006.tar.gz
fsf-binutils-gdb-65388f2d50331d138183307a91ebaa50ef608006.tar.bz2
* 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 8245731..c2b99d3 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 057dc5e..db536c9 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);