From 26f5fc4241453871760a5df0905d92e6e4f09a39 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Mon, 9 Jan 2006 19:45:23 +0000 Subject: Hope I have it correct now w/ native gcc4 ssp --- libc/sysdeps/linux/common/ssp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libc/sysdeps/linux/common/ssp.c') diff --git a/libc/sysdeps/linux/common/ssp.c b/libc/sysdeps/linux/common/ssp.c index 9efcd1a89..ecd9dd8d7 100644 --- a/libc/sysdeps/linux/common/ssp.c +++ b/libc/sysdeps/linux/common/ssp.c @@ -88,7 +88,7 @@ void attribute_noreturn __stack_smash_handler(char func[], int damaged) terminate(); } -void attribute_noreturn attribute_hidden __stack_chk_fail_internal(void) +void attribute_noreturn __stack_chk_fail(void) { static const char msg1[] = "stack smashing detected: "; static const char msg3[] = " terminated"; @@ -101,7 +101,6 @@ void attribute_noreturn attribute_hidden __stack_chk_fail_internal(void) while(1) terminate(); } -strong_alias(__stack_chk_fail_internal,__stack_chk_fail) #if 0 void attribute_noreturn __chk_fail(void) -- cgit v1.2.3