Subject: Re: Do LKMs work *at*all* on powerpc platforms?
To: Bill Studenmund <wrstuden@zembu.com>
From: Todd Vierling <tv@wasabisystems.com>
List: port-macppc
Date: 08/14/2000 23:58:17
On Mon, 14 Aug 2000, Bill Studenmund wrote:

: > The correct way to do this is to use -mlong-call when compiling...

: Ok, how do we get this to happen? :-) I don't know gcc enough to make this
: work.
: 
: It looks like there are two open issues. 1) getting -mlong-call working,

This means incorporating the public patch to do so,

: and 2) getting it to work for built-ins (mainly memcpy).

gcc builtins are just that--built in.  They produce either inlined code (the
most common case), or an in-compilation-unit subroutine that has no global
symbol.  These should not be affected by the calling convention used across
compilation units.

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