This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Yet more warning fixes.
- To: binutils at sourceware dot cygnus dot com
- Subject: Yet more warning fixes.
- From: Alan Modra <amodra at bigpond dot net dot au>
- Date: Fri, 17 Aug 2001 19:14:21 +0930
bfd/ChangeLog
* elf64-sparc.c (sparc64_elf_output_arch_syms): Add missing
prototype.
* nlm32-alpha.c (nlm_alpha_write_external): Fix warning.
--
Alan Modra
Index: elf64-sparc.c
===================================================================
RCS file: /cvs/src/src/bfd/elf64-sparc.c,v
retrieving revision 1.31
diff -u -p -r1.31 elf64-sparc.c
--- elf64-sparc.c 2001/08/11 07:59:54 1.31
+++ elf64-sparc.c 2001/08/17 09:24:53
@@ -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: nlm32-alpha.c
===================================================================
RCS file: /cvs/src/src/bfd/nlm32-alpha.c,v
retrieving revision 1.4
diff -u -p -r1.4 nlm32-alpha.c
--- nlm32-alpha.c 2001/05/03 04:46:27 1.4
+++ nlm32-alpha.c 2001/08/17 09:41:15
@@ -822,7 +822,7 @@ nlm_alpha_write_external (abfd, count, s
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;