Movatterモバイル変換
[0]ホーム
This is the mail archive of thelibc-alpha@sourceware.orgmailing list for theglibc project.
[PATCH] Mark internal SSE2 functions with attribute_hidden [BZ #18822]
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Sat, 19 Aug 2017 16:42:39 -0700
- Subject: [PATCH] Mark internal SSE2 functions with attribute_hidden [BZ #18822]
- Authentication-results: sourceware.org; auth=none
Mark internal SSE2 functions with attribute_hidden to allow directaccess 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): Addattribute_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(-)diff --git a/sysdeps/x86_64/multiarch/strcspn-c.c b/sysdeps/x86_64/multiarch/strcspn-c.cindex 67991b5ca7..fc8a2feb3b 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_STRPBRKdiff --git a/sysdeps/x86_64/multiarch/strspn-c.c b/sysdeps/x86_64/multiarch/strspn-c.cindex 1704606b80..e6bf2042cd 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-- 2.13.5
[8]ページ先頭