lkml.org 
[lkml]   [2000]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 64 bit divide/mod in 2.4.0-test5

I'll try both, and let you know.

:-)

Jeff

Tigran Aivazian wrote:
>
> Greetings Jeff,
>
> link it with libgcc.a it should work. Someone recommended alternative:
>
> gcc --print-libgcc
>
> but I haven't tried it.
>
> Regards,
> Tigran
>
> On Thu, 3 Aug 2000, Jeff V. Merkey wrote:
>
> >
> > I am seeing __idiv3 and __imod3 unresolved externals if I attempt the
> > following within a kernel modules:
> >
> > (long long) val / (long) val1;
> >
> > and
> >
> > (long long) val % (long) val1;
> >
> > Is there a compiler switch somewhere to forced the compiler to inline
> > this code for 64-bit divides and modulo operations or include it from a
> > macro library somewhere for IA32 systems that want to support 64-bit
> > filesystem math without being like broken NT and needing stupid kernel
> > library functions to do this?
> >
> >
> > NT i.e. LARGE_INTEGER typedef functions.
> >
> > :-)
> >
> > Jeff
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > the body of a message to majordomo@vger.rutgers.edu
> > Please read the FAQ at http://www.tux.org/lkml/
> >

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.133 / U:0.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site