linux-mips
[Top] [All Lists]

Re: unresoved symbol _gp_disp

To: "Steven J. Hill" <sjhill@realitydiluted.com>
Subject: Re: unresoved symbol _gp_disp
From: David Daney <ddaney@avtrex.com>
Date: Thu, 04 Oct 2007 10:47:25 -0700
Cc: veerasena reddy <veerasena_b@yahoo.co.in>, linux-mips <linux-mips@linux-mips.org>, "linux-kernel.org" <linux-kernel@vger.kernel.org>
In-reply-to: <20071004173928.GA32033@real.realitydiluted.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <230962.51223.qm@web8408.mail.in.yahoo.com> <20071004173928.GA32033@real.realitydiluted.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 1.5.0.12 (X11/20070719)
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



<Prev in Thread] Current Thread [Next in Thread>