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.
This commit is contained in:
H.J. Lu 2017-08-19 16:46:33 -07:00
parent c181840c93
commit 7550717ed7
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
[BZ #18822]
* sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
attribute_hidden.
(__strspn_sse2): Likewise.
2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
* sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.

View File

@ -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

View File

@ -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