From 4fee9155f396cb2bcfe707f78aa4332837520f93 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 7 Jun 2016 04:14:23 +0200 Subject: ssp: remove SSP legacy code Nobody should use gcc 3.3 nowadays. --- libc/misc/internals/__uClibc_main.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'libc/misc') diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c index 632a2528e..9bb81fc83 100644 --- a/libc/misc/internals/__uClibc_main.c +++ b/libc/misc/internals/__uClibc_main.c @@ -61,10 +61,6 @@ static uintptr_t stack_chk_guard; /* for gcc-4.1 non-TLS */ uintptr_t __stack_chk_guard attribute_relro; # endif -/* for gcc-3.x + Etoh ssp */ -# ifdef __UCLIBC_HAS_SSP_COMPAT__ -uintptr_t __guard attribute_relro; -# endif # endif /* @@ -274,9 +270,6 @@ void __uClibc_init(void) # else __stack_chk_guard = stack_chk_guard; # endif -# ifdef __UCLIBC_HAS_SSP_COMPAT__ - __guard = stack_chk_guard; -# endif # endif #endif -- cgit v1.2.3