Subject: Re: ldconfig and ld.aout_so on m68k ELF
To: Steve Woodford <steve@mctavish.co.uk>
From: Charles M. Hannum <abuse@spamalicious.com>
List: port-m68k
Date: 04/06/2001 09:34:07
On Mon, Apr 02, 2001 at 09:17:43AM +0100, Steve Woodford wrote:
> On Sun, 1 Apr 2001, Izumi Tsutsui wrote:
> 
> > I've made a patch to allow enabling/disabling alternate
> > /emul/aout path search by options COMPAT_AOUT_ALTPATH.
> > ld.aout_so seems to work properly on it without changes.
> > (i.e. it can find shlibs under /emul/aout/usr/lib.)
> > 
> > Any comments/suggestions are appreciate.
> 
> Whoa, that was a fair bit of work. ;-)
> 
> I say go ahead and commit the changes, but it would also be a good idea to
> add the COMPAT_AOUT_ALTPATH option to the GENERIC config file of each m68k
> port which has been converted to ELF, along with a brief comment 
> describing what it does.

Uh, we went through this once before on i386 and sparc.  The appropriate
thing to do is to make ld.so (a.out) look in /emul/aout, NOT to do the
magic path hacking in the kernel.