Subject: Re: port-m68k/37631: m68k libc broken
To: None <port-m68k-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: David Laight <david@l8s.co.uk>
List: netbsd-bugs
Date: 12/29/2007 19:40:02
The following reply was made to PR port-m68k/37631; it has been noted by GNATS.

From: David Laight <david@l8s.co.uk>
To: gnats-bugs@NetBSD.org
Cc: port-m68k-maintainer@netbsd.org, martin@duskware.de
Subject: Re: port-m68k/37631: m68k libc broken
Date: Sat, 29 Dec 2007 19:46:05 +0000

 On Fri, Dec 28, 2007 at 04:50:02PM +0000, Martin Husemann wrote:
 > 
 >  On Fri, Dec 28, 2007 at 03:50:01PM +0000, ITOH Yasufumi wrote:
 >  >  This should be in libc to avoid adding clock cycles to unrelated
 >  >  system calls.
 >  >  See shmat(2) stub.
 >  
 >  I agree, but that is not how it is done right now - and that it didn't
 >  work for me was just a side effect of me not having COMPAT_AOUT_M68K
 >  defined.
 
 I suspect I broke it fairly recently when I changed the way the mmap()
 system call got stubbed (in order to avoid using SYS_SYSCALL).
 The m68k libc asm stub for mmap had probably never been used before.
 
 	David
 
 -- 
 David Laight: david@l8s.co.uk