summaryrefslogtreecommitdiff
path: root/libc/string/x86_64/memset.S
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2017-11-07 20:50:27 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2017-11-19 08:26:28 +0100
commita745c4bfc8a9b5db4e48387170da0dc1d39e3abe (patch)
treecbcad0531c831d3b2a8420fdeb330147fbe598e1 /libc/string/x86_64/memset.S
parentbcbbc6d4f00914279ae42006d13a54bb9b91f144 (diff)
remove unused FORTIFY code fragments
Diffstat (limited to 'libc/string/x86_64/memset.S')
-rw-r--r--libc/string/x86_64/memset.S9
1 files changed, 0 insertions, 9 deletions
diff --git a/libc/string/x86_64/memset.S b/libc/string/x86_64/memset.S
index d6744129d..fa79275a7 100644
--- a/libc/string/x86_64/memset.S
+++ b/libc/string/x86_64/memset.S
@@ -28,11 +28,6 @@
#define LARGE $120000
.text
-#if defined __PIC__ && !defined NOT_IN_libc && defined __UCLIBC_HAS_FORTIFY__
-ENTRY (__memset_chk)
- cmpq %rdx, %rcx
- jb HIDDEN_JUMPTARGET (__chk_fail)
-END (__memset_chk)
#endif
ENTRY (memset)
#if BZERO_P
@@ -140,7 +135,3 @@ END (memset)
#if !BZERO_P
libc_hidden_def(memset)
#endif
-
-#if !BZERO_P && defined __PIC__ && !defined NOT_IN_libc && defined __UCLIBC_HAS_FORTIFY__
-strong_alias (__memset_chk, __memset_zero_constant_len_parameter)
-#endif