diff options
author | Austin Foxley <austinf@cetoncorp.com> | 2009-12-19 13:35:52 -0800 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2009-12-19 13:35:52 -0800 |
commit | 7dcd83e8bded560b6a2c658889995390d3021a92 (patch) | |
tree | b3cb711457462a5219ac0bdc4d11eb6e71e5c9de /libc/sysdeps/linux/common | |
parent | e092e7c30464555b3fb81adc8f2f479e892b0786 (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/sysdeps/linux/common')
-rw-r--r-- | libc/sysdeps/linux/common/ssp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/ssp.c b/libc/sysdeps/linux/common/ssp.c index 69611cab5..a2d7ff2ca 100644 --- a/libc/sysdeps/linux/common/ssp.c +++ b/libc/sysdeps/linux/common/ssp.c @@ -100,7 +100,6 @@ void __stack_chk_fail(void) terminate(); } -#if 0 void __chk_fail(void) attribute_noreturn; void __chk_fail(void) { @@ -115,4 +114,4 @@ void __chk_fail(void) while(1) terminate(); } -#endif + |