OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
788e219
)
Add check, so we are sure that the file is correctly built, if the system is ssp...
author
Peter S. Mazinger
<ps.m@gmx.net>
Tue, 1 Nov 2005 21:47:22 +0000
(21:47 -0000)
committer
Peter S. Mazinger
<ps.m@gmx.net>
Tue, 1 Nov 2005 21:47:22 +0000
(21:47 -0000)
ldso/ldso/ldso.c
patch
|
blob
|
history
diff --git
a/ldso/ldso/ldso.c
b/ldso/ldso/ldso.c
index
fac66ba
..
2663135
100644
(file)
--- 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