diff options
author | root <root@rshg054.dnsready.net> | 2013-08-17 01:48:49 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-17 01:48:49 -0700 |
commit | 74952c750361d72d7b2d14179d4e88b6ce0a0c7e (patch) | |
tree | 881e3676cf3b53e4c90d21b37b94a008eda1832f /core/glibc/glibc-2.18-strstr-hackfix.patch | |
parent | 6a3f02abeeecab3efb4442e39e28e05897f25316 (diff) |
Sat Aug 17 01:47:45 PDT 2013
Diffstat (limited to 'core/glibc/glibc-2.18-strstr-hackfix.patch')
-rw-r--r-- | core/glibc/glibc-2.18-strstr-hackfix.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/core/glibc/glibc-2.18-strstr-hackfix.patch b/core/glibc/glibc-2.18-strstr-hackfix.patch new file mode 100644 index 000000000..6149f88bc --- /dev/null +++ b/core/glibc/glibc-2.18-strstr-hackfix.patch @@ -0,0 +1,13 @@ +diff --git a/sysdeps/x86_64/multiarch/strstr.c b/sysdeps/x86_64/multiarch/strstr.c +index cd63b68..03d8b9a 100644 +--- a/sysdeps/x86_64/multiarch/strstr.c ++++ b/sysdeps/x86_64/multiarch/strstr.c +@@ -86,7 +86,7 @@ + /* Simple replacement of movdqu to address 4KB boundary cross issue. + If EOS occurs within less than 16B before 4KB boundary, we don't + cross to next page. */ +-static __m128i ++static inline __m128i + __m128i_strloadu (const unsigned char * p, __m128i zero) + { + if (__builtin_expect ((int) ((size_t) p & 0xfff) > 0xff0, 0)) |