summaryrefslogtreecommitdiff
path: root/libc/string/x86_64/bzero.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/bzero.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/bzero.S')
-rw-r--r--libc/string/x86_64/bzero.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/string/x86_64/bzero.S b/libc/string/x86_64/bzero.S
index 4d179ec4e..231d7cb41 100644
--- a/libc/string/x86_64/bzero.S
+++ b/libc/string/x86_64/bzero.S
@@ -1,5 +1,6 @@
#include <features.h>
#ifdef __UCLIBC_SUSV3_LEGACY__
# define memset bzero
+# define __memset_chk __bzero_chk
# include "memset.S"
#endif