summaryrefslogtreecommitdiff
path: root/libc/string/x86_64/mempcpy.S
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2009-12-19 13:35:52 -0800
committerAustin Foxley <austinf@cetoncorp.com>2009-12-19 13:35:52 -0800
commit7dcd83e8bded560b6a2c658889995390d3021a92 (patch)
treeb3cb711457462a5219ac0bdc4d11eb6e71e5c9de /libc/string/x86_64/mempcpy.S
parente092e7c30464555b3fb81adc8f2f479e892b0786 (diff)
x86_64: fix multiple definition of chk functions
also enable __chk_fail and only try to call it when SSP is on Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc/string/x86_64/mempcpy.S')
-rw-r--r--libc/string/x86_64/mempcpy.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/string/x86_64/mempcpy.S b/libc/string/x86_64/mempcpy.S
index 3816d9f72..b0607aa57 100644
--- a/libc/string/x86_64/mempcpy.S
+++ b/libc/string/x86_64/mempcpy.S
@@ -1,3 +1,4 @@
#define memcpy mempcpy
+#define __memcpy_chk __mempcpy_chk
#include "memcpy.S"
libc_hidden_def(mempcpy)