Mark internal SSE2 functions with attribute_hidden [BZ #18822]
Commit Message
Mark internal SSE2 functions with attribute_hidden to allow direct
access within libc.so and libc.a without using GOT nor PLT.
I will check it in shortly.
H.J.
---
[BZ #18822]
* sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
attribute_hidden.
(__strspn_sse2): Likewise.
---
sysdeps/x86_64/multiarch/strcspn-c.c | 2 +-
sysdeps/x86_64/multiarch/strspn-c.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
@@ -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
@@ -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