Subject: Re: Changes to libexec/ld.aout_so/arch/sparc/md.c
To: None <eeh@netbsd.org>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-toolchain
Date: 01/18/2000 00:09:44
On Mon, 17 Jan 100 14:52:51 -0800 (PST) 
 eeh@one-o.com (Eduardo E. Horvath) wrote:

 > > So they should be fine for a cross-built ld.aout_so (CROSS_LINKER is only
 > > defined during the building of ld as a cross_linker AFAIK).
 > 
 > I don't understand this.  ld.*_so is a dynamic linker.  While it can
 > be cross-compiled, how do you expect it to cross-link?  If it's
 > cross-compiled, it still needs to issue the proper iflush instructions
 > there is potential corruption.
 > 
 > If you can generate a SPARC binary containing SPARC instructions, why
 > can't you generate an iflush instruction?  If you're not generating a
 > SPARC binary with SPARC instructions, how do you expect it to work as
 > a dynamic linker?

I think the old ld(1) uses these functions for doing a.out shlibs.

        -- Jason R. Thorpe <thorpej@nas.nasa.gov>