diff options
author | Noah Goldstein <goldstein.w.n@gmail.com> | 2021-10-21 15:53:58 -0500 |
---|---|---|
committer | Noah Goldstein <goldstein.w.n@gmail.com> | 2021-10-26 16:51:29 -0500 |
commit | 9894127d202d8c0c821d852658057a03ba3cc3d2 (patch) | |
tree | b2517795f8aa1613ffb17a5d23a8804e9d1860b6 /sysdeps/powerpc/powerpc64 | |
parent | 44829b3ddb64e99e37343a0f25b2c082387d31a5 (diff) | |
download | glibc-9894127d202d8c0c821d852658057a03ba3cc3d2.tar glibc-9894127d202d8c0c821d852658057a03ba3cc3d2.tar.gz glibc-9894127d202d8c0c821d852658057a03ba3cc3d2.tar.bz2 glibc-9894127d202d8c0c821d852658057a03ba3cc3d2.zip |
String: Add hidden defs for __memcmpeq() to enable internal usage
No bug.
This commit adds hidden defs for all declarations of __memcmpeq. This
enables usage of __memcmpeq without the PLT for usage internal to
GLIBC.
Diffstat (limited to 'sysdeps/powerpc/powerpc64')
-rw-r--r-- | sysdeps/powerpc/powerpc64/le/power10/memcmp.S | 1 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc64/multiarch/memcmp-power10.S | 2 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S | 2 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S | 2 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S | 2 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc64/power4/memcmp.S | 1 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc64/power7/memcmp.S | 1 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc64/power8/memcmp.S | 1 |
8 files changed, 12 insertions, 0 deletions
diff --git a/sysdeps/powerpc/powerpc64/le/power10/memcmp.S b/sysdeps/powerpc/powerpc64/le/power10/memcmp.S index f81c73a29c..b0cd3ddde7 100644 --- a/sysdeps/powerpc/powerpc64/le/power10/memcmp.S +++ b/sysdeps/powerpc/powerpc64/le/power10/memcmp.S @@ -178,3 +178,4 @@ END (MEMCMP) libc_hidden_builtin_def (memcmp) weak_alias (memcmp, bcmp) strong_alias (memcmp, __memcmpeq) +libc_hidden_def (__memcmpeq) diff --git a/sysdeps/powerpc/powerpc64/multiarch/memcmp-power10.S b/sysdeps/powerpc/powerpc64/multiarch/memcmp-power10.S index 22399f143d..07a83b07b9 100644 --- a/sysdeps/powerpc/powerpc64/multiarch/memcmp-power10.S +++ b/sysdeps/powerpc/powerpc64/multiarch/memcmp-power10.S @@ -20,6 +20,8 @@ #undef libc_hidden_builtin_def #define libc_hidden_builtin_def(name) +#undef libc_hidden_def +#define libc_hidden_def(name) #undef weak_alias #define weak_alias(name,alias) #undef strong_alias diff --git a/sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S b/sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S index fe68912a3b..3308222a4b 100644 --- a/sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S +++ b/sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S @@ -20,6 +20,8 @@ #undef libc_hidden_builtin_def #define libc_hidden_builtin_def(name) +#undef libc_hidden_def +#define libc_hidden_def(name) #undef weak_alias #define weak_alias(name,alias) #undef strong_alias diff --git a/sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S b/sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S index 5739471a7d..b02174b328 100644 --- a/sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S +++ b/sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S @@ -20,6 +20,8 @@ #undef libc_hidden_builtin_def #define libc_hidden_builtin_def(name) +#undef libc_hidden_def +#define libc_hidden_def(name) #undef weak_alias #define weak_alias(name,alias) #undef strong_alias diff --git a/sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S b/sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S index e6a93e88c6..5eb4b58691 100644 --- a/sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S +++ b/sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S @@ -20,6 +20,8 @@ #undef libc_hidden_builtin_def #define libc_hidden_builtin_def(name) +#undef libc_hidden_def +#define libc_hidden_def(name) #undef weak_alias #define weak_alias(name,alias) #undef strong_alias diff --git a/sysdeps/powerpc/powerpc64/power4/memcmp.S b/sysdeps/powerpc/powerpc64/power4/memcmp.S index cc82be115f..3731bb0a73 100644 --- a/sysdeps/powerpc/powerpc64/power4/memcmp.S +++ b/sysdeps/powerpc/powerpc64/power4/memcmp.S @@ -1375,3 +1375,4 @@ END (MEMCMP) libc_hidden_builtin_def (memcmp) weak_alias (memcmp, bcmp) strong_alias (memcmp, __memcmpeq) +libc_hidden_def (__memcmpeq) diff --git a/sysdeps/powerpc/powerpc64/power7/memcmp.S b/sysdeps/powerpc/powerpc64/power7/memcmp.S index 3044f7ede9..29ae19d843 100644 --- a/sysdeps/powerpc/powerpc64/power7/memcmp.S +++ b/sysdeps/powerpc/powerpc64/power7/memcmp.S @@ -1060,3 +1060,4 @@ END (MEMCMP) libc_hidden_builtin_def (memcmp) weak_alias (memcmp, bcmp) strong_alias (memcmp, __memcmpeq) +libc_hidden_def (__memcmpeq) diff --git a/sysdeps/powerpc/powerpc64/power8/memcmp.S b/sysdeps/powerpc/powerpc64/power8/memcmp.S index 0c6a154502..897a5713ce 100644 --- a/sysdeps/powerpc/powerpc64/power8/memcmp.S +++ b/sysdeps/powerpc/powerpc64/power8/memcmp.S @@ -1443,3 +1443,4 @@ END (MEMCMP) libc_hidden_builtin_def (memcmp) weak_alias (memcmp, bcmp) strong_alias (memcmp, __memcmpeq) +libc_hidden_def (__memcmpeq) |