aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/powerpc64/power6/memset.S
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-02-10 14:18:28 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-02-23 14:18:18 -0300
commit4e81019f301fa353f3d25ae5daf9141ad1462f60 (patch)
treefbcd5d9c509d3f8a589fc0edcd29c7060fcb6b57 /sysdeps/powerpc/powerpc64/power6/memset.S
parent68122d8a0476a40cdeff7339d7611bc1759e518d (diff)
downloadglibc-4e81019f301fa353f3d25ae5daf9141ad1462f60.zip
glibc-4e81019f301fa353f3d25ae5daf9141ad1462f60.tar.gz
glibc-4e81019f301fa353f3d25ae5daf9141ad1462f60.tar.bz2
powerpc: Remove powerpc64 bzero optimizations
The symbol is not present in current POSIX specification and compiler already generates memset call.
Diffstat (limited to 'sysdeps/powerpc/powerpc64/power6/memset.S')
-rw-r--r--sysdeps/powerpc/powerpc64/power6/memset.S12
1 files changed, 0 insertions, 12 deletions
diff --git a/sysdeps/powerpc/powerpc64/power6/memset.S b/sysdeps/powerpc/powerpc64/power6/memset.S
index 7ad82c3..140a756 100644
--- a/sysdeps/powerpc/powerpc64/power6/memset.S
+++ b/sysdeps/powerpc/powerpc64/power6/memset.S
@@ -381,15 +381,3 @@ L(medium_28t):
blr
END_GEN_TB (MEMSET,TB_TOCLESS)
libc_hidden_builtin_def (memset)
-
-/* Copied from bzero.S to prevent the linker from inserting a stub
- between bzero and memset. */
-ENTRY_TOCLESS (__bzero)
- CALL_MCOUNT 3
- mr r5,r4
- li r4,0
- b L(_memset)
-END (__bzero)
-#ifndef __bzero
-weak_alias (__bzero, bzero)
-#endif