[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4705272D.7050801@avtrex.com>
Date: Thu, 04 Oct 2007 10:47:25 -0700
From: David Daney <ddaney@...rex.com>
To: "Steven J. Hill" <sjhill@...litydiluted.com>
Cc: veerasena reddy <veerasena_b@...oo.co.in>,
linux-mips <linux-mips@...ux-mips.org>,
"linux-kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: unresoved symbol _gp_disp
Steven J. Hill wrote:
>> I have written a loadble module ( which gets complied
>> along with kernel) which does some floating point
>> operation.
>>
> NO FLOATING POINT in the kernel PERIOD.
Unless you compile your code with -msoft-float *and* also have a version
of libgcc compiled with -mlong-calls -mno-abicalls -G0. If you do it
that way, floating point works fine in the kernel (as long as you don't
try to call sprintf with floating point parameters).
> Either use integer
> operations, or redo your software architecture and do the
> floating point in userspace.
>
> -Steve
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists