This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: Linker failed to handle symbols with mismatched types
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 2 Mar 2006 12:43:17 +1030
- Subject: Re: PATCH: Linker failed to handle symbols with mismatched types
- References: <20060228214822.GA11030@lucon.org>
On Tue, Feb 28, 2006 at 01:48:22PM -0800, H. J. Lu wrote:
> PR ld/2404
> * elflink.c (_bfd_elf_merge_symbol): Skip the default indirect
> symbol from the dynamic definition with the default version if
> its type and the type of exiting regular definition mismatch.
I think the concept is reasonable, but I'd like to hear Ian's opinion
before giving an OK. Also, I'm wondering if you should check for type
mismatches earlier, to avoid errors with tls syms.
--
Alan Modra
IBM OzLabs - Linux Technology Centre