From: bernhardheld Date: Tue, 27 Jan 2004 22:00:56 +0000 (+0000) Subject: * support/regression/tests/libmullong.c: fixed logic, on little endian hosts we ended... X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=ac4fcf27570b37664aeee9f6dc86a40b812faca7;p=fw%2Fsdcc * support/regression/tests/libmullong.c: fixed logic, on little endian hosts we ended without a mullong_wrapper() git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3155 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index 2149546e..cd836033 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-01-27 Bernhard Held + + * support/regression/tests/libmullong.c: fixed logic, on little endian + hosts we ended without a mullong_wrapper() + 2004-01-27 Erik Petrich * ChangeLog: changed "@" to " AT " in hopes of reducing spam and diff --git a/support/regression/tests/libmullong.c b/support/regression/tests/libmullong.c index efe0c816..d824c712 100644 --- a/support/regression/tests/libmullong.c +++ b/support/regression/tests/libmullong.c @@ -8,14 +8,12 @@ #if defined(PORT_HOST) # include "../../../../../sdccconf.h" +# define mullong(a,b) mullong_wrapper(a,b) # if defined(type_c) && !defined(WORDS_BIGENDIAN) # define _SDCC_NO_ASM_LIB_FUNCS 1 # define near # define long int # include "../../../../../device/lib/_mullong.c" -# define mullong(a,b) mullong_wrapper(a,b) -# else -# define mullong(a,b) mullong_wrapper(a,b) # endif #else # if defined(type_c) @@ -50,9 +48,8 @@ mullong_wrapper (long a, long b) return a * b; } } -#endif -#if defined(WORDS_BIGENDIAN) +#else long mullong_wrapper (long a, long b)