summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-01 21:47:22 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-01 21:47:22 +0000
commita37cc0c3d41ad4b7f387ed8dd74c083dcd00c6c5 (patch)
treed23cf8b7bb2a7bfa660f26789421a31ee27d65f8
parent788e21988e7fc9618a2129ee4b9e10546aa357fa (diff)
Add check, so we are sure that the file is correctly built, if the system is ssp enabled
-rw-r--r--ldso/ldso/ldso.c3
1 files changed, 3 insertions, 0 deletions
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 <dl-osinfo.h>
#ifndef THREAD_SET_STACK_GUARD
/* Only exported for architectures that don't store the stack guard canary