diff options
author | Roland McGrath <roland@redhat.com> | 2009-10-06 20:01:23 -0700 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2009-10-06 20:01:23 -0700 |
commit | b0f3a2e43fb9de9a4a2f4dfbdb84b98994752bc4 (patch) | |
tree | 2e9e8c162fc705ee964639aca5ecd0cca527127e /sysdeps | |
parent | 9d6982d5d2520fa714ad5de6a9a178fdd8ece92d (diff) | |
download | glibc-b0f3a2e43fb9de9a4a2f4dfbdb84b98994752bc4.zip glibc-b0f3a2e43fb9de9a4a2f4dfbdb84b98994752bc4.tar.gz glibc-b0f3a2e43fb9de9a4a2f4dfbdb84b98994752bc4.tar.bz2 |
Clean up unnecessary libc_hidden_builtin_def fiddling in x86 multiarch definitions.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/x86_64/multiarch/strcasestr-c.c | 3 | ||||
-rw-r--r-- | sysdeps/x86_64/multiarch/strstr-c.c | 6 |
2 files changed, 4 insertions, 5 deletions
diff --git a/sysdeps/x86_64/multiarch/strcasestr-c.c b/sysdeps/x86_64/multiarch/strcasestr-c.c index 3cb5557..551492d 100644 --- a/sysdeps/x86_64/multiarch/strcasestr-c.c +++ b/sysdeps/x86_64/multiarch/strcasestr-c.c @@ -1,9 +1,6 @@ #include "init-arch.h" #define STRCASESTR __strcasestr_sse2 -#undef libc_hidden_builtin_def -#define libc_hidden_builtin_def(name) \ - __hidden_ver1 (__strcasestr_sse2, __GI_strcasestr, __strcasestr_sse2); #include "string/strcasestr.c" diff --git a/sysdeps/x86_64/multiarch/strstr-c.c b/sysdeps/x86_64/multiarch/strstr-c.c index d593089..b8ed316 100644 --- a/sysdeps/x86_64/multiarch/strstr-c.c +++ b/sysdeps/x86_64/multiarch/strstr-c.c @@ -1,9 +1,11 @@ #include "init-arch.h" #define STRSTR __strstr_sse2 -#undef libc_hidden_builtin_def -#define libc_hidden_builtin_def(name) \ +#ifdef SHARED +# undef libc_hidden_builtin_def +# define libc_hidden_builtin_def(name) \ __hidden_ver1 (__strstr_sse2, __GI_strstr, __strstr_sse2); +#endif #include "string/strstr.c" |