This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: RFC: linker enhancements
- From: Daniel Jacobowitz <drow at false dot org>
- To: binutils at sources dot redhat dot com
- Date: Thu, 18 Mar 2004 12:14:05 -0500
- Subject: Re: RFC: linker enhancements
- References: <20031212112448.GI12344@sunsite.ms.mff.cuni.cz> <87wu92xan5.fsf@egil.codesourcery.com> <20031212142914.GK12344@sunsite.ms.mff.cuni.cz> <20040317042418.GZ15900@bubble.modra.org> <20040318124611.GN15203@bubble.modra.org>
On Thu, Mar 18, 2004 at 11:16:11PM +1030, Alan Modra wrote:
> I've renamed the option from --only-if-needed to --as-needed, and done
> some surgery to elf_link_add_object_symbols. Some changes were
> necessary to have the right behaviour for weak syms in shared libs, and
> to handle multiple inclusion of the same shared lib. I've also removed
> bfd_elf_set_dt_needed_soname and the hack that set an empty soname in
> elf_dt_name for DT_NEEDED shared libs. Instead, we call a new function,
> bfd_elf_set_dyn_lib_class, to specify any special linker behaviour.
>
> Applying mainline.
Awesome. After some settling time, do you think this is appropriate
for 2.15?
I'm running a bit behind but I hope to have a first prerelease next
week; then we can pick up this and the weak symbol changes if they are
appropriate for the next release.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer