From: Michael Brown Date: Mon, 30 Jul 2007 01:42:32 +0000 (+0100) Subject: GCC's optimiser seems to screw up if this is left static... X-Git-Tag: v0.9.3~152 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f62d6486d8ed99ffff130e71b965b3aff5be70c9;p=thirdparty%2Fipxe.git GCC's optimiser seems to screw up if this is left static... --- diff --git a/src/arch/i386/core/udivmod64.c b/src/arch/i386/core/udivmod64.c index faf6fd8c8..6293c8e1b 100644 --- a/src/arch/i386/core/udivmod64.c +++ b/src/arch/i386/core/udivmod64.c @@ -273,7 +273,7 @@ static inline void udivmod64_lo ( const struct uint64 *x, : "g" ( d->l ), "0" ( x->l ), "1" ( r_dash ) ); } -static void udivmod64 ( const struct uint64 *x, +void udivmod64 ( const struct uint64 *x, const struct uint64 *d, struct uint64 *q, struct uint64 *r ) {