RFC: linker enhancements

Daniel Jacobowitz drow@false.org
Thu Mar 18 17:14:00 GMT 2004


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



More information about the Binutils mailing list