diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-03 03:19:39 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-03 03:19:39 +0000 |
commit | f72cb0ced39aca827b5269eba5455dbf846410e2 (patch) | |
tree | 7047d64bf11194dc5e44ed4f6765ffccb11676cf /community/glibc-static/glibc-2.18-strstr-hackfix.patch | |
parent | 3cbc40e327b77b23d48f55c76c0efde35a5dad16 (diff) |
Fri Jan 3 03:17:00 UTC 2014
Diffstat (limited to 'community/glibc-static/glibc-2.18-strstr-hackfix.patch')
-rw-r--r-- | community/glibc-static/glibc-2.18-strstr-hackfix.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/community/glibc-static/glibc-2.18-strstr-hackfix.patch b/community/glibc-static/glibc-2.18-strstr-hackfix.patch new file mode 100644 index 000000000..6149f88bc --- /dev/null +++ b/community/glibc-static/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)) |