OSDN Git Service

* elf64-sparc.c (sparc64_elf_output_arch_syms): Add missing
authoramodra <amodra>
Fri, 17 Aug 2001 09:44:13 +0000 (09:44 +0000)
committeramodra <amodra>
Fri, 17 Aug 2001 09:44:13 +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 6f150a4..93d76d8 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 77e8861..c4248f7 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 8bd872d..2684ffb 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;