Subject: Re: RFC: Change SWI number base?
To: None <Richard.Earnshaw@arm.com>
From: Todd Vierling <tv@wasabisystems.com>
List: port-arm
Date: 01/14/2002 10:00:07
On Mon, 14 Jan 2002, Richard Earnshaw wrote:

: > Both names should be places firmly in the 'reserevd for the
: > implementation' namespace.  Even then that is cluttered badly.
:
: The implementation in the "public" namespace is there to satisfy the
: documented interfaces in the manual.  Since it isn't part of ANSI/POSIX it
: must be a weak symbol so that the user can override it.

I'd suggest putting only a (double)-underscored version on libc, and using
libarch to provide a global symbol that redirects to the double-underscored
version in libc.  This removes the public namespace annoyance completely,
and puts the global where it belongs:  in an architecture-specific library.

-- 
-- Todd Vierling <tv@wasabisystems.com>  *  Wasabi & NetBSD:  Run with it.
-- CDs, Integration, Embedding, Support -- http://www.wasabisystems.com/