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/powerpc32 | |
parent | 44829b3ddb64e99e37343a0f25b2c082387d31a5 (diff) | |
download | glibc-9894127d202d8c0c821d852658057a03ba3cc3d2.zip glibc-9894127d202d8c0c821d852658057a03ba3cc3d2.tar.gz glibc-9894127d202d8c0c821d852658057a03ba3cc3d2.tar.bz2 |
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/powerpc32')
-rw-r--r-- | sysdeps/powerpc/powerpc32/405/memcmp.S | 1 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc32/power4/memcmp.S | 1 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S | 3 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc32/power7/memcmp.S | 1 |
4 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/powerpc/powerpc32/405/memcmp.S b/sysdeps/powerpc/powerpc32/405/memcmp.S index c283604..339091b 100644 --- a/sysdeps/powerpc/powerpc32/405/memcmp.S +++ b/sysdeps/powerpc/powerpc32/405/memcmp.S @@ -127,3 +127,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/powerpc32/power4/memcmp.S b/sysdeps/powerpc/powerpc32/power4/memcmp.S index f58e34a..0df97db 100644 --- a/sysdeps/powerpc/powerpc32/power4/memcmp.S +++ b/sysdeps/powerpc/powerpc32/power4/memcmp.S @@ -1374,3 +1374,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/powerpc32/power4/multiarch/memcmp-power7.S b/sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S index b17d0e4..cb1338c 100644 --- a/sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S +++ b/sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S @@ -35,6 +35,9 @@ #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(a, b) diff --git a/sysdeps/powerpc/powerpc32/power7/memcmp.S b/sysdeps/powerpc/powerpc32/power7/memcmp.S index f8deb4e..25be9a7 100644 --- a/sysdeps/powerpc/powerpc32/power7/memcmp.S +++ b/sysdeps/powerpc/powerpc32/power7/memcmp.S @@ -1374,3 +1374,4 @@ END (memcmp) libc_hidden_builtin_def (memcmp) weak_alias (memcmp, bcmp) strong_alias (memcmp, __memcmpeq) +libc_hidden_def (__memcmpeq) |