* elf64-sparc.c (sparc64_elf_output_arch_syms): Add missing
authorAlan Modra <amodra@gmail.com>
Fri, 17 Aug 2001 09:44:19 +0000 (09:44 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 17 Aug 2001 09:44:19 +0000 (09:44 +0000)
prototype.
* nlm32-alpha.c (nlm_alpha_write_external): Fix warning.

bfd/ChangeLog
bfd/elf64-sparc.c
bfd/nlm32-alpha.c

index 6f150a4f98fea656d715c7b8bc0806fedf147ed8..93d76d807128101bc0cf9d9c35897b3adc368b46 100644 (file)
@@ -1,5 +1,9 @@
 2001-08-17  Alan Modra  <amodra@bigpond.net.au>
 
+       * elf64-sparc.c (sparc64_elf_output_arch_syms): Add missing
+       prototype.
+       * nlm32-alpha.c (nlm_alpha_write_external): Fix warning.
+
        * elf64-mips.c (UNUSED_RELOC): Define.
        (mips_elf64_howto_table_rel): Use it.
        (mips_elf64_howto_table_rela): Here too.
index 77e8861d043ac01c559a91df961d5f1e9f9bffb6..c4248f713ee0bfd6fe489f597ec668d1dfffe4fa 100644 (file)
@@ -63,6 +63,9 @@ static int sparc64_elf_get_symbol_type
 static boolean sparc64_elf_add_symbol_hook
   PARAMS ((bfd *, struct bfd_link_info *, const Elf_Internal_Sym *,
           const char **, flagword *, asection **, bfd_vma *));
+static boolean sparc64_elf_output_arch_syms
+  PARAMS ((bfd *, struct bfd_link_info *, PTR,
+          boolean (*) (PTR, const char *, Elf_Internal_Sym *, asection *)));
 static void sparc64_elf_symbol_processing
   PARAMS ((bfd *, asymbol *));
 
index 8bd872d4ed4de2c3b77dc9dec23dd7609d928064..2684ffbe6594e70713363fd18caadbef706b6601 100644 (file)
@@ -822,7 +822,7 @@ nlm_alpha_write_external (abfd, count, sym, relocs)
      asymbol *sym;
      struct reloc_and_sec *relocs;
 {
-  int i;
+  bfd_size_type i;
   bfd_byte len;
   unsigned char temp[NLM_TARGET_LONG_SIZE];
   arelent r;