From e90fdc1abd8cbaa9aa2117d8671c1ee9f5436b56 Mon Sep 17 00:00:00 2001
From: Alexandre Oliva <aoliva@redhat.com>
Date: Wed, 23 May 2001 23:56:22 +0000
Subject: [PATCH] * elf64-sparc.c (sparc64_elf_slurp_reloc_table): Fix typo
 s/ENTIRES/ENTRIES/.

---
 bfd/ChangeLog     | 5 +++++
 bfd/elf64-sparc.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 16a35196c34..f0b42520a5b 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-23  Alexandre Oliva  <aoliva@redhat.com>
+
+	* elf64-sparc.c (sparc64_elf_slurp_reloc_table): Fix typo
+	s/ENTIRES/ENTRIES/.
+
 2001-05-23  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
 
 	* reloc.c (bfd_reloc_code_real): Add MIPS ELF64 relocations.
diff --git a/bfd/elf64-sparc.c b/bfd/elf64-sparc.c
index 295bd2f5439..33e75ff5faa 100644
--- a/bfd/elf64-sparc.c
+++ b/bfd/elf64-sparc.c
@@ -1902,7 +1902,7 @@ sparc64_elf_relocate_section (output_bfd, info, input_bfd, input_section,
   sgot = splt = sreloc = NULL;
 
   rel = relocs;
-  relend = relocs + NUM_SHDR_ENTIRES (& elf_section_data (input_section)->rel_hdr);
+  relend = relocs + NUM_SHDR_ENTRIES (& elf_section_data (input_section)->rel_hdr);
   for (; rel < relend; rel++)
     {
       int r_type;