This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: --enable-targets=all broken


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]