diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-07-09 11:42:50 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-07-09 11:43:20 -0700 |
commit | 58d021c83699a4b363ce4db2d932a0d5f864549e (patch) | |
tree | a1739a20def3bc19c616dc051cc078bf66840a71 /sysdeps/x86_64/multiarch | |
parent | 4df54c89bb22061763da883c3f30a592353e7c30 (diff) | |
download | glibc-58d021c83699a4b363ce4db2d932a0d5f864549e.tar.gz glibc-58d021c83699a4b363ce4db2d932a0d5f864549e.tar.xz glibc-58d021c83699a4b363ce4db2d932a0d5f864549e.zip |
x86-64: Update comments in IFUNC selectors
* sysdeps/x86_64/multiarch/memcmp.c: Update comments. * sysdeps/x86_64/multiarch/memmove.c: Likewise. * sysdeps/x86_64/multiarch/memrchr.c: Likewise. * sysdeps/x86_64/multiarch/memset.c: Likewise. * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise. * sysdeps/x86_64/multiarch/strchrnul.c: Likewise. * sysdeps/x86_64/multiarch/strlen.c: Likewise. * sysdeps/x86_64/multiarch/strnlen.c: Likewise. * sysdeps/x86_64/multiarch/wcschr.c: Likewise. * sysdeps/x86_64/multiarch/wcscpy.c: Likewise. * sysdeps/x86_64/multiarch/wcslen.c: Likewise. * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise. * sysdeps/x86_64/multiarch/wmemchr.c: Likewise. * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise. * sysdeps/x86_64/multiarch/wmemset.c: Likewise. * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
Diffstat (limited to 'sysdeps/x86_64/multiarch')
-rw-r--r-- | sysdeps/x86_64/multiarch/memcmp.c | 3 | ||||
-rw-r--r-- | sysdeps/x86_64/multiarch/memmove.c | 3 | ||||
-rw-r--r-- | sysdeps/x86_64/multiarch/memrchr.c | 2 | ||||
-rw-r--r-- | sysdeps/x86_64/multiarch/memset.c | 4 | ||||
-rw-r--r-- | sysdeps/x86_64/multiarch/rawmemchr.c | 2 | ||||
-rw-r--r-- | sysdeps/x86_64/multiarch/strchrnul.c | 2 | ||||
-rw-r--r-- | sysdeps/x86_64/multiarch/strlen.c | 2 | ||||
-rw-r--r-- | sysdeps/x86_64/multiarch/strnlen.c | 2 | ||||
-rw-r--r-- | sysdeps/x86_64/multiarch/wcschr.c | 2 | ||||
-rw-r--r-- | sysdeps/x86_64/multiarch/wcscpy.c | 2 | ||||
-rw-r--r-- | sysdeps/x86_64/multiarch/wcslen.c | 2 | ||||
-rw-r--r-- | sysdeps/x86_64/multiarch/wcsnlen.c | 2 | ||||
-rw-r--r-- | sysdeps/x86_64/multiarch/wmemchr.c | 2 | ||||
-rw-r--r-- | sysdeps/x86_64/multiarch/wmemcmp.c | 3 | ||||
-rw-r--r-- | sysdeps/x86_64/multiarch/wmemset.c | 2 | ||||
-rw-r--r-- | sysdeps/x86_64/multiarch/wmemset_chk.c | 2 |
16 files changed, 16 insertions, 21 deletions
diff --git a/sysdeps/x86_64/multiarch/memcmp.c b/sysdeps/x86_64/multiarch/memcmp.c index b3e4ac36ff..87f7593104 100644 --- a/sysdeps/x86_64/multiarch/memcmp.c +++ b/sysdeps/x86_64/multiarch/memcmp.c @@ -17,8 +17,7 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ -/* Define multiple versions only for the definition in lib and for - DSO. */ +/* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) # define memcmp __redirect_memcmp # include <string.h> diff --git a/sysdeps/x86_64/multiarch/memmove.c b/sysdeps/x86_64/multiarch/memmove.c index c615808cc1..0b01b16d69 100644 --- a/sysdeps/x86_64/multiarch/memmove.c +++ b/sysdeps/x86_64/multiarch/memmove.c @@ -17,8 +17,7 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ -/* Define multiple versions only for the definition in lib and for - DSO. */ +/* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) # define memmove __redirect_memmove # include <string.h> diff --git a/sysdeps/x86_64/multiarch/memrchr.c b/sysdeps/x86_64/multiarch/memrchr.c index 003d403106..270406aaa9 100644 --- a/sysdeps/x86_64/multiarch/memrchr.c +++ b/sysdeps/x86_64/multiarch/memrchr.c @@ -17,7 +17,7 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ -/* Define multiple versions only for the definition in libc. */ +/* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) # define memrchr __redirect_memrchr # include <string.h> diff --git a/sysdeps/x86_64/multiarch/memset.c b/sysdeps/x86_64/multiarch/memset.c index e3f5eaa319..50181ac96f 100644 --- a/sysdeps/x86_64/multiarch/memset.c +++ b/sysdeps/x86_64/multiarch/memset.c @@ -17,9 +17,7 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ -/* Define multiple versions only for the definition in lib and for - DSO. In static binaries we need memset before the initialization - happened. */ +/* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) # define memset __redirect_memset # include <string.h> diff --git a/sysdeps/x86_64/multiarch/rawmemchr.c b/sysdeps/x86_64/multiarch/rawmemchr.c index c97cfa2ce7..78db3ffd0f 100644 --- a/sysdeps/x86_64/multiarch/rawmemchr.c +++ b/sysdeps/x86_64/multiarch/rawmemchr.c @@ -17,7 +17,7 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ -/* Define multiple versions only for the definition in libc. */ +/* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) # define rawmemchr __redirect_rawmemchr # define __rawmemchr __redirect___rawmemchr diff --git a/sysdeps/x86_64/multiarch/strchrnul.c b/sysdeps/x86_64/multiarch/strchrnul.c index 4a4c55a937..bc9bf9cc5c 100644 --- a/sysdeps/x86_64/multiarch/strchrnul.c +++ b/sysdeps/x86_64/multiarch/strchrnul.c @@ -17,7 +17,7 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ -/* Define multiple versions only for the definition in libc. */ +/* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) # define strchrnul __redirect_strchrnul # define __strchrnul __redirect___strchrnul diff --git a/sysdeps/x86_64/multiarch/strlen.c b/sysdeps/x86_64/multiarch/strlen.c index 7e008a08b2..a9ec686390 100644 --- a/sysdeps/x86_64/multiarch/strlen.c +++ b/sysdeps/x86_64/multiarch/strlen.c @@ -17,7 +17,7 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ -/* Define multiple versions only for the definition in libc. */ +/* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) # define strlen __redirect_strlen # include <string.h> diff --git a/sysdeps/x86_64/multiarch/strnlen.c b/sysdeps/x86_64/multiarch/strnlen.c index ff450bdbac..0c1e21ea81 100644 --- a/sysdeps/x86_64/multiarch/strnlen.c +++ b/sysdeps/x86_64/multiarch/strnlen.c @@ -17,7 +17,7 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ -/* Define multiple versions only for the definition in libc. */ +/* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) # define strnlen __redirect_strnlen # define __strnlen __redirect___strnlen diff --git a/sysdeps/x86_64/multiarch/wcschr.c b/sysdeps/x86_64/multiarch/wcschr.c index 70d36926e1..0294b279ab 100644 --- a/sysdeps/x86_64/multiarch/wcschr.c +++ b/sysdeps/x86_64/multiarch/wcschr.c @@ -17,7 +17,7 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ -/* Define multiple versions only for the definition in libc. */ +/* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) # define wcschr __redirect_wcschr # define __wcschr __redirect___wcschr diff --git a/sysdeps/x86_64/multiarch/wcscpy.c b/sysdeps/x86_64/multiarch/wcscpy.c index 01dee8054a..6dffedbc32 100644 --- a/sysdeps/x86_64/multiarch/wcscpy.c +++ b/sysdeps/x86_64/multiarch/wcscpy.c @@ -17,7 +17,7 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ -/* Define multiple versions only for the definition in libc. */ +/* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) # define wcscpy __redirect_wcscpy # include <wchar.h> diff --git a/sysdeps/x86_64/multiarch/wcslen.c b/sysdeps/x86_64/multiarch/wcslen.c index 9ff065cf04..0bb48f852d 100644 --- a/sysdeps/x86_64/multiarch/wcslen.c +++ b/sysdeps/x86_64/multiarch/wcslen.c @@ -17,7 +17,7 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ -/* Define multiple versions only for the definition in libc. */ +/* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) # define __wcslen __redirect_wcslen # include <wchar.h> diff --git a/sysdeps/x86_64/multiarch/wcsnlen.c b/sysdeps/x86_64/multiarch/wcsnlen.c index 1e3f3c5104..8cdaee1e16 100644 --- a/sysdeps/x86_64/multiarch/wcsnlen.c +++ b/sysdeps/x86_64/multiarch/wcsnlen.c @@ -17,7 +17,7 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ -/* Define multiple versions only for the definition in libc. */ +/* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) # define __wcsnlen __redirect_wcsnlen # include <wchar.h> diff --git a/sysdeps/x86_64/multiarch/wmemchr.c b/sysdeps/x86_64/multiarch/wmemchr.c index bde0ec4fbb..9065b65f72 100644 --- a/sysdeps/x86_64/multiarch/wmemchr.c +++ b/sysdeps/x86_64/multiarch/wmemchr.c @@ -17,7 +17,7 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ -/* Define multiple versions only for the definition in libc. */ +/* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) # define wmemchr __redirect_wmemchr # define __wmemchr __redirect___wmemchr diff --git a/sysdeps/x86_64/multiarch/wmemcmp.c b/sysdeps/x86_64/multiarch/wmemcmp.c index bbf6c836e9..b1ba36a48f 100644 --- a/sysdeps/x86_64/multiarch/wmemcmp.c +++ b/sysdeps/x86_64/multiarch/wmemcmp.c @@ -17,8 +17,7 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ -/* Define multiple versions only for the definition in lib and for - DSO. */ +/* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) # define wmemcmp __redirect_wmemcmp # include <wchar.h> diff --git a/sysdeps/x86_64/multiarch/wmemset.c b/sysdeps/x86_64/multiarch/wmemset.c index b5bc2f97a9..62313075a0 100644 --- a/sysdeps/x86_64/multiarch/wmemset.c +++ b/sysdeps/x86_64/multiarch/wmemset.c @@ -17,7 +17,7 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ -/* Define multiple versions only for the definition in libc. */ +/* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) # define wmemset __redirect_wmemset # define __wmemset __redirect___wmemset diff --git a/sysdeps/x86_64/multiarch/wmemset_chk.c b/sysdeps/x86_64/multiarch/wmemset_chk.c index d3ded5595b..ec6f02a5c0 100644 --- a/sysdeps/x86_64/multiarch/wmemset_chk.c +++ b/sysdeps/x86_64/multiarch/wmemset_chk.c @@ -17,7 +17,7 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ -/* Define multiple versions only for the definition in libc.so. */ +/* Define multiple versions only for the definition in libc.so. */ #if IS_IN (libc) && defined SHARED # define __wmemset_chk __redirect_wmemset_chk # include <wchar.h> |