From a37cc0c3d41ad4b7f387ed8dd74c083dcd00c6c5 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 1 Nov 2005 21:47:22 +0000 Subject: Add check, so we are sure that the file is correctly built, if the system is ssp enabled --- ldso/ldso/ldso.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ldso') diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c index fac66ba9d..266313543 100644 --- a/ldso/ldso/ldso.c +++ b/ldso/ldso/ldso.c @@ -86,6 +86,9 @@ static int nlist; /* # items in init_fini_list */ extern void _start(void); #ifdef __UCLIBC_HAS_SSP__ +#ifdef __SSP__ +#error "file must not be compiled with stack protection enabled on it. Use -fno-stack-protector" +#endif #include #ifndef THREAD_SET_STACK_GUARD /* Only exported for architectures that don't store the stack guard canary -- cgit v1.2.3