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: Forcing all SGI-compatible DSOs to use DT_SONAME


On Tue, Apr 06, 2004 at 02:07:21PM -0700, Eric Christopher wrote:
> 
> > Can anyone see any potential problems with doing this?  If not, is the
> > patch OK to install?  OK for 2.15 too?
> 
> I don't see any problems with it. Seems like a nice solution to the
> problem.
> 
> Alan? Nick?

I think it would be better to avoid adding a bfd_target hook in this
case.  Instead, you should hook into the linker to set
command_line.soname.  See ppc64elf.em for examples of how to add
target dependent linker functions in a way that has zero impact on
other targets.  LDEMUL_AFTER_OPEN is probably the right place.

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