[8345] in linux-scsi channel archive
Re: udivdi3 and umoddi3
daemon@ATHENA.MIT.EDU (Philip Blundell)
Fri Mar 10 02:56:16 2000
To: Eric Youngdale <eric@andante.org>
Cc: Stanley Wu <wudragon2@yahoo.com>, linux-scsi@vger.rutgers.edu
In-Reply-To: Message from Eric Youngdale <eric@andante.org>
of "Thu, 09 Mar 2000 23:27:27 EST." <Pine.LNX.4.10.10003092325450.1836-100000@gwyn.tux.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 10 Mar 2000 07:53:46 +0000
From: Philip Blundell <Philip.Blundell@pobox.com>
Message-Id: <E12TKF1-0001r5-00@kings-cross.london.uk.eu.org>
>> unresolved symbol __udivdi3
>> unresolved symbol __umoddi3
>
> These are compiler generated functions that are used to evaluate
>certain types of expressions. In particular, division and the modulo
>operatiors in this instance. For user space applications the functions
>are defined in a standard library that ships with the compiler. I am not
>sure what to suggest for kernel modules, however.
Those functions are only invoked for `long long' arithmetic. One option is
simply to avoid this in the kernel; the other option is to link the kernel
with libgcc.a and export its symbols. The latter already happens on some
architectures.
p.
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu