diff --git a/build-aux/check-mescc.sh b/build-aux/check-mescc.sh index 858ab60c..84158697 100755 --- a/build-aux/check-mescc.sh +++ b/build-aux/check-mescc.sh @@ -255,9 +255,7 @@ fi if test $mes_cpu = x86_64; then XFAIL_TESTS="$XFAIL_TESTS -lib/tests/stdio/70-printf-simple.c lib/tests/stdio/70-printf-stdarg.c -lib/tests/stdio/70-printf.c " fi @@ -273,6 +271,8 @@ if test $compiler = gcc; then if test $mes_cpu = x86_64; then XFAIL_TESTS="$XFAIL_TESTS lib/tests/stdio/70-printf-hello.c +lib/tests/stdio/70-printf-simple.c +lib/tests/stdio/70-printf.c lib/tests/scaffold/70-extern.c lib/tests/stdio/80-sscanf.c lib/tests/mes/90-abtod.c diff --git a/lib/mes/ntoab.c b/lib/mes/ntoab.c index 548e45eb..ce91c73a 100644 --- a/lib/mes/ntoab.c +++ b/lib/mes/ntoab.c @@ -42,8 +42,8 @@ ntoab (long x, int base, int signed_p) do { unsigned long i; -#if __MESC__ - u = __mesabi_uldiv(u, (unsigned long) base, &i); +#if __MESC__ && __arm__ + u = __mesabi_uldiv (u, (unsigned long) base, &i); #else i = u % base; u = u / base;