From 10e4d79a191f07999bc94b21535fba5d7c04f419 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Tue, 10 Dec 2013 18:57:30 +0000 Subject: 2013-12-10 Jeff Johnston * acconfig.h: Add _HAVE_CC_INHIBIT_LOOP_TO_LIBCALL. * newlib.hin: Ditto. * configure: Regenerate. * configure.in: Add setting of _HAVE_CC_INHIBIT_LOOP_TO_LIBCALL. * libc/string/local.h: Add check for _HAVE_CC_INHIBIT_LOOP_TO_LIBCALL and set __inhibit_loop_to_libcall macro appropriately. * libc/string/memmove.c: Use __inhibit_loop_to_libcall macro in function declaration. * libc/string/memset.c: Ditto. --- newlib/libc/string/memmove.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'newlib/libc/string/memmove.c') diff --git a/newlib/libc/string/memmove.c b/newlib/libc/string/memmove.c index b03bb3821..a037c7c2f 100644 --- a/newlib/libc/string/memmove.c +++ b/newlib/libc/string/memmove.c @@ -39,6 +39,7 @@ QUICKREF #include <_ansi.h> #include #include +#include "local.h" /* Nonzero if either X or Y is not aligned on a "long" boundary. */ #define UNALIGNED(X, Y) \ @@ -55,6 +56,7 @@ QUICKREF /*SUPPRESS 20*/ _PTR +__inhibit_loop_to_libcall _DEFUN (memmove, (dst_void, src_void, length), _PTR dst_void _AND _CONST _PTR src_void _AND -- cgit v1.2.3