svn commit: trunk/uClibc/ldso/ldso

psm at uclibc.org psm at uclibc.org
Tue Nov 1 21:47:25 UTC 2005


Author: psm
Date: 2005-11-01 13:47:22 -0800 (Tue, 01 Nov 2005)
New Revision: 12098

Log:
Add check, so we are sure that the file is correctly built, if the system is ssp enabled

Modified:
   trunk/uClibc/ldso/ldso/ldso.c


Changeset:
Modified: trunk/uClibc/ldso/ldso/ldso.c
===================================================================
--- trunk/uClibc/ldso/ldso/ldso.c	2005-11-01 16:49:25 UTC (rev 12097)
+++ trunk/uClibc/ldso/ldso/ldso.c	2005-11-01 21:47:22 UTC (rev 12098)
@@ -86,6 +86,9 @@
 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




More information about the uClibc-cvs mailing list