This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: --enable-targets=all broken
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Bruno Haible <bruno at clisp dot org>, binutils at sources dot redhat dot com, obrien at sources dot redhat dot com
- Date: Tue, 17 Sep 2002 18:21:30 +0930
- Subject: Re: --enable-targets=all broken
- References: <20020917135146.T14457@bubble.sa.bigpond.net.au>
On Tue, Sep 17, 2002 at 01:51:46PM +0930, Alan Modra wrote:
> ../bfd/.libs/libbfd.a(elf64-alpha-fbsd.o): In function `ecoff_swap_opt_in':
> /src/binutils-current/bfd/ecoffswap.h:750: multiple definition of `alpha_elf_size_info'
> ../bfd/.libs/libbfd.a(elf64-alpha.o):/src/binutils-current/bfd/ecoffswap.h:764: first defined here
> collect2: ld returned 1 exit status
It irritated me enough to look into fixing it. Easy. :)
bfd/ChangeLog
* elf64-alpha.c (alpha_elf_size_info): Make static.
Index: bfd/elf64-alpha.c
===================================================================
RCS file: /cvs/src/src/bfd/elf64-alpha.c,v
retrieving revision 1.79
diff -u -p -r1.79 elf64-alpha.c
--- bfd/elf64-alpha.c 17 Sep 2002 02:24:34 -0000 1.79
+++ bfd/elf64-alpha.c 17 Sep 2002 08:46:49 -0000
@@ -5480,7 +5480,7 @@ elf64_alpha_ecoff_debug_swap =
/* Use a non-standard hash bucket size of 8. */
-const struct elf_size_info alpha_elf_size_info =
+static const struct elf_size_info alpha_elf_size_info =
{
sizeof (Elf64_External_Ehdr),
sizeof (Elf64_External_Phdr),
--
Alan Modra
IBM OzLabs - Linux Technology Centre