about summary refs log tree commit diff
path: root/sysdeps/tile/tilegx/memcpy.c
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@ezchip.com>2014-12-11 15:13:48 -0500
committerChris Metcalf <cmetcalf@ezchip.com>2014-12-11 15:13:48 -0500
commitf627ca82fb6c469c8cf34f04f02fe2ea006304bd (patch)
tree885c87bd7581587af860fd23fd1bba2e970cd506 /sysdeps/tile/tilegx/memcpy.c
parent7f29694236aab000eae24f36b7989a6b774044ae (diff)
downloadglibc-f627ca82fb6c469c8cf34f04f02fe2ea006304bd.tar.gz
glibc-f627ca82fb6c469c8cf34f04f02fe2ea006304bd.tar.xz
glibc-f627ca82fb6c469c8cf34f04f02fe2ea006304bd.zip
tile: add inhibit_loop_to_libcall to string functions
Without this, on gcc 4.8.2 the built glibc crashes when memcpy
or memset are invoked, since they call themselves recursively.
See commit 85c2e6110c9a01ec for the generic inhibit_loop_to_libcall.
Diffstat (limited to 'sysdeps/tile/tilegx/memcpy.c')
-rw-r--r--sysdeps/tile/tilegx/memcpy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/tile/tilegx/memcpy.c b/sysdeps/tile/tilegx/memcpy.c
index 5d5df19ef3..abcaf4dc93 100644
--- a/sysdeps/tile/tilegx/memcpy.c
+++ b/sysdeps/tile/tilegx/memcpy.c
@@ -25,7 +25,7 @@
 /* How many cache lines ahead should we prefetch? */
 #define PREFETCH_LINES_AHEAD 3
 
-void *
+void * inhibit_loop_to_libcall
 __memcpy (void *__restrict dstv, const void *__restrict srcv, size_t n)
 {
   char *__restrict dst1 = (char *) dstv;