mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-09 10:50:08 +00:00
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:
parent
c181840c93
commit
7550717ed7
@ -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>
|
2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
|
||||||
|
|
||||||
* sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
|
* sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
|
||||||
|
@ -70,7 +70,7 @@ char *
|
|||||||
#else
|
#else
|
||||||
size_t
|
size_t
|
||||||
#endif
|
#endif
|
||||||
STRCSPN_SSE2 (const char *, const char *);
|
STRCSPN_SSE2 (const char *, const char *) attribute_hidden;
|
||||||
|
|
||||||
|
|
||||||
#ifdef USE_AS_STRPBRK
|
#ifdef USE_AS_STRPBRK
|
||||||
|
@ -52,7 +52,7 @@
|
|||||||
|
|
||||||
We exit from the loop for case 1. */
|
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
|
size_t
|
||||||
|
Loading…
Reference in New Issue
Block a user