diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2013-12-10 18:57:30 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2013-12-10 18:57:30 +0000 |
commit | 10e4d79a191f07999bc94b21535fba5d7c04f419 (patch) | |
tree | dd9f0587036281f112a92162f6d39684c511c89b /newlib/libc/string/memset.c | |
parent | a6a307d8c2983656ac207bba6c59b44e13ad377d (diff) | |
download | cygnal-10e4d79a191f07999bc94b21535fba5d7c04f419.tar.gz cygnal-10e4d79a191f07999bc94b21535fba5d7c04f419.tar.bz2 cygnal-10e4d79a191f07999bc94b21535fba5d7c04f419.zip |
2013-12-10 Jeff Johnston <jjohnstn@redhat.com>
* 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.
Diffstat (limited to 'newlib/libc/string/memset.c')
-rw-r--r-- | newlib/libc/string/memset.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/string/memset.c b/newlib/libc/string/memset.c index 55d2ce180..ee91b056e 100644 --- a/newlib/libc/string/memset.c +++ b/newlib/libc/string/memset.c @@ -34,12 +34,14 @@ QUICKREF */ #include <string.h> +#include "local.h" #define LBLOCKSIZE (sizeof(long)) #define UNALIGNED(X) ((long)X & (LBLOCKSIZE - 1)) #define TOO_SMALL(LEN) ((LEN) < LBLOCKSIZE) _PTR +__inhibit_loop_to_libcall _DEFUN (memset, (m, c, n), _PTR m _AND int c _AND |