diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-08-19 16:46:33 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-08-19 16:46:53 -0700 |
commit | 7550717ed747c90afe49fcd590c4acc3ccade56a (patch) | |
tree | db5fb32ebcba70bced535bbbb87041af05e5f1c7 /sysdeps | |
parent | c181840c93d3a8fcb50991b2326c40f34eb5e82b (diff) | |
download | glibc-7550717ed747c90afe49fcd590c4acc3ccade56a.zip glibc-7550717ed747c90afe49fcd590c4acc3ccade56a.tar.gz glibc-7550717ed747c90afe49fcd590c4acc3ccade56a.tar.bz2 |
Mark internal SSE2 functions with attribute_hidden [BZ #18822]
Mark internal SSE2 functions with attribute_hidden to allow direct
access within libc.so and libc.a without using GOT nor PLT.
[BZ #18822]
* sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
attribute_hidden.
(__strspn_sse2): Likewise.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/x86_64/multiarch/strcspn-c.c | 2 | ||||
-rw-r--r-- | sysdeps/x86_64/multiarch/strspn-c.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/x86_64/multiarch/strcspn-c.c b/sysdeps/x86_64/multiarch/strcspn-c.c index 67991b5..fc8a2fe 100644 --- a/sysdeps/x86_64/multiarch/strcspn-c.c +++ b/sysdeps/x86_64/multiarch/strcspn-c.c @@ -70,7 +70,7 @@ char * #else size_t #endif -STRCSPN_SSE2 (const char *, const char *); +STRCSPN_SSE2 (const char *, const char *) attribute_hidden; #ifdef USE_AS_STRPBRK diff --git a/sysdeps/x86_64/multiarch/strspn-c.c b/sysdeps/x86_64/multiarch/strspn-c.c index 1704606..e6bf204 100644 --- a/sysdeps/x86_64/multiarch/strspn-c.c +++ b/sysdeps/x86_64/multiarch/strspn-c.c @@ -52,7 +52,7 @@ We exit from the loop for case 1. */ -extern size_t __strspn_sse2 (const char *, const char *); +extern size_t __strspn_sse2 (const char *, const char *) attribute_hidden; size_t |