From a745c4bfc8a9b5db4e48387170da0dc1d39e3abe Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 7 Nov 2017 20:50:27 +0100 Subject: remove unused FORTIFY code fragments --- libc/string/x86_64/memcpy.S | 6 ------ 1 file changed, 6 deletions(-) (limited to 'libc/string/x86_64/memcpy.S') 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. */ -- cgit v1.2.3