diff options
Diffstat (limited to 'string')
-rw-r--r-- | string/memmove.c | 1 | ||||
-rw-r--r-- | string/memset.c | 1 | ||||
-rw-r--r-- | string/test-memmove.c | 1 | ||||
-rw-r--r-- | string/test-memset.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/string/memmove.c b/string/memmove.c index bf7dcc1627..c59e7a9c2a 100644 --- a/string/memmove.c +++ b/string/memmove.c @@ -41,6 +41,7 @@ #endif rettype +inhibit_loop_to_libcall MEMMOVE (a1, a2, len) a1const void *a1; a2const void *a2; diff --git a/string/memset.c b/string/memset.c index 036cb5f624..eb83c1b5a8 100644 --- a/string/memset.c +++ b/string/memset.c @@ -21,6 +21,7 @@ #undef memset void * +inhibit_loop_to_libcall memset (dstpp, c, len) void *dstpp; int c; diff --git a/string/test-memmove.c b/string/test-memmove.c index 13c5aff8a2..0a969c34ef 100644 --- a/string/test-memmove.c +++ b/string/test-memmove.c @@ -47,6 +47,7 @@ IMPL (memmove, 1) #endif char * +inhibit_loop_to_libcall simple_memmove (char *dst, const char *src, size_t n) { char *ret = dst; diff --git a/string/test-memset.c b/string/test-memset.c index af85a28762..04320305fb 100644 --- a/string/test-memset.c +++ b/string/test-memset.c @@ -64,6 +64,7 @@ builtin_memset (char *s, int c, size_t n) #endif char * +inhibit_loop_to_libcall simple_memset (char *s, int c, size_t n) { char *r = s, *end = s + n; |