From 5d964dfa3eeb841f9df66cf73e0b26a21edfa7fa Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 17 Aug 2001 09:44:19 +0000 Subject: [PATCH] * elf64-sparc.c (sparc64_elf_output_arch_syms): Add missing prototype. * nlm32-alpha.c (nlm_alpha_write_external): Fix warning. --- bfd/ChangeLog | 4 ++++ bfd/elf64-sparc.c | 3 +++ bfd/nlm32-alpha.c | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 6f150a4f98f..93d76d80712 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,9 @@ 2001-08-17 Alan Modra + * 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. diff --git a/bfd/elf64-sparc.c b/bfd/elf64-sparc.c index 77e8861d043..c4248f713ee 100644 --- a/bfd/elf64-sparc.c +++ b/bfd/elf64-sparc.c @@ -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 *)); diff --git a/bfd/nlm32-alpha.c b/bfd/nlm32-alpha.c index 8bd872d4ed4..2684ffbe659 100644 --- a/bfd/nlm32-alpha.c +++ b/bfd/nlm32-alpha.c @@ -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; -- 2.30.2