Subject: Re: mvme68k switched to ELF object file format
To: Frederick Bruckman <fb@enteract.com>
From: Todd Vierling <tv@wasabisystems.com>
List: port-mvme68k
Date: 12/09/2000 03:51:43
On Thu, 7 Dec 2000, Frederick Bruckman wrote:

: Why does your procedure use COMPAT_OUT and DESTDIR=/../../? Doesn't
: ld.so see the libraries under /emul/aout without that? (It should.) It
: seems like all the lessons learned on i386 were for nothing, and we're
: back to square one again.

On m68k, COMPAT_AOUT_M68K is translating more than the pathnames of
libraries.  (It's not just COMPAT_AOUT.)

The m68k ELF ABI aligns elements of structs differently than a.out did --
meaning that a compat layer is _required_ in order to rewrite the structure
data communicated to/from userland.  Among other things, stat(2) is a very
noticeably affected syscall.  8-)

-- 
-- Todd Vierling <tv@wasabisystems.com>  *  http://www.wasabisystems.com/
-- Speed, stability, security, and support.  Wasabi NetBSD:  Run with it.