From: H.J. Lu Date: Sun, 9 Jul 2017 18:42:50 +0000 (-0700) Subject: x86-64: Update comments in IFUNC selectors X-Git-Tag: glibc-2.26~125 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58d021c83699a4b363ce4db2d932a0d5f864549e;p=thirdparty%2Fglibc.git 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. --- diff --git a/ChangeLog b/ChangeLog index df436057926..41372f56238 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,22 @@ +2017-07-09 H.J. Lu + + * 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. + 2017-07-09 H.J. Lu * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update comments. diff --git a/sysdeps/x86_64/multiarch/memcmp.c b/sysdeps/x86_64/multiarch/memcmp.c index b3e4ac36ff3..87f75931042 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 . */ -/* 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 diff --git a/sysdeps/x86_64/multiarch/memmove.c b/sysdeps/x86_64/multiarch/memmove.c index c615808cc19..0b01b16d694 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 . */ -/* 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 diff --git a/sysdeps/x86_64/multiarch/memrchr.c b/sysdeps/x86_64/multiarch/memrchr.c index 003d4031065..270406aaa95 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 . */ -/* 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 diff --git a/sysdeps/x86_64/multiarch/memset.c b/sysdeps/x86_64/multiarch/memset.c index e3f5eaa3197..50181ac96f4 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 . */ -/* 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 diff --git a/sysdeps/x86_64/multiarch/rawmemchr.c b/sysdeps/x86_64/multiarch/rawmemchr.c index c97cfa2ce7f..78db3ffd0ff 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 . */ -/* 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 4a4c55a937a..bc9bf9cc5cc 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 . */ -/* 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 7e008a08b24..a9ec6863905 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 . */ -/* 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 diff --git a/sysdeps/x86_64/multiarch/strnlen.c b/sysdeps/x86_64/multiarch/strnlen.c index ff450bdbac6..0c1e21ea817 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 . */ -/* 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 70d36926e1c..0294b279ab9 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 . */ -/* 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 01dee8054ae..6dffedbc327 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 . */ -/* 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 diff --git a/sysdeps/x86_64/multiarch/wcslen.c b/sysdeps/x86_64/multiarch/wcslen.c index 9ff065cf042..0bb48f852d4 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 . */ -/* 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 diff --git a/sysdeps/x86_64/multiarch/wcsnlen.c b/sysdeps/x86_64/multiarch/wcsnlen.c index 1e3f3c51047..8cdaee1e16a 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 . */ -/* 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 diff --git a/sysdeps/x86_64/multiarch/wmemchr.c b/sysdeps/x86_64/multiarch/wmemchr.c index bde0ec4fbb4..9065b65f72b 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 . */ -/* 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 bbf6c836e9f..b1ba36a48fd 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 . */ -/* 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 diff --git a/sysdeps/x86_64/multiarch/wmemset.c b/sysdeps/x86_64/multiarch/wmemset.c index b5bc2f97a90..62313075a0f 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 . */ -/* 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 d3ded5595b5..ec6f02a5c04 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 . */ -/* 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