Re: unresoved symbol _gp_disp

From: David Daney
Date: Thu Oct 04 2007 - 14:17:34 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/