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: RFC: linker enhancements


On Thu, Mar 18, 2004 at 12:14:05PM -0500, Daniel Jacobowitz wrote:
> 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?

Yes.  Don't we all look favourably on our own patches?  :-)

Of course, the problem HJ has found needs fixing.  Actually, that
problem was prior to the as-needed patch, caused by my rewrite of
_bfd_elf_merge_symbol weak sym code..  And it was wrong before too,
just not so obviously.

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

Will you have all dirs converted over to current auto-tools?
I need to look at that mips problem too.

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