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: PATCH: PR 1025: binutils failed to build gcc 4.0.1 20050619


On Thu, Jun 23, 2005 at 08:05:05AM -0700, H. J. Lu wrote:
> We missed this one when an indirect symbol is overridden by aother
> one.

Huh?  We do the copy_indirect_symbol a few lines later.

> --- bfd/elflink.c.ind	2005-06-22 13:16:26.000000000 -0700
> +++ bfd/elflink.c	2005-06-23 07:59:10.596317798 -0700
> @@ -1430,6 +1430,8 @@ _bfd_elf_add_default_symbol (bfd *abfd,
>  	      0, name, FALSE, collect, &bh)))
>  	return FALSE;
>        hi = (struct elf_link_hash_entry *) bh;
> +      if (hi->root.type == bfd_link_hash_indirect)
> +	(*bed->elf_backend_copy_indirect_symbol) (bed, h, hi);
>      }
>    else
>      {

-- 
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]