diff options
Diffstat (limited to 'libc/string/x86_64')
-rw-r--r-- | libc/string/x86_64/memcpy.S | 6 | ||||
-rw-r--r-- | libc/string/x86_64/memset.S | 9 |
2 files changed, 0 insertions, 15 deletions
diff --git a/libc/string/x86_64/memcpy.S b/libc/string/x86_64/memcpy.S index e164278df..af2f914ff 100644 --- a/libc/string/x86_64/memcpy.S +++ b/libc/string/x86_64/memcpy.S @@ -25,12 +25,6 @@ #define MEMPCPY_P (defined memcpy) .text -#if defined __PIC__ && !defined NOT_IN_libc && defined __UCLIBC_HAS_FORTIFY__ -ENTRY (__memcpy_chk) - cmpq %rdx, %rcx - jb HIDDEN_JUMPTARGET (__chk_fail) -END (__memcpy_chk) -#endif ENTRY (BP_SYM (memcpy)) /* Cutoff for the big loop is a size of 32 bytes since otherwise the loop will never be entered. */ 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 |