summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2004-10-06 06:51:37 +0000
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>2004-10-06 06:51:37 +0000
commit2e0531ba98a9c72edfeeafb061a38571e9522c49 (patch)
tree56ffee8cf41e204f84d9293414a74765f0ab24bc
parent9dca9ff973287f22534e8b611c6d1da0cd5e073b (diff)
PIE option correction for Config.in. From Peter Mazinger.
-rw-r--r--extra/Configs/Config.in9
1 files changed, 5 insertions, 4 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index 287726d19..1537867cc 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -200,12 +200,13 @@ config FORCE_SHAREABLE_TEXT_SEGMENTS
config UCLIBC_PIE_SUPPORT
bool "Support ET_DYN in shared library loader"
- depends on BUILD_UCLIBC_LDSO
- select FORCE_SHAREABLE_TEXT_SEGMENTS
+ depends on HAVE_SHARED
+ depends on TARGET_i386 || TARGET_powerpc
+ select FORCE_SHAREABLE_TEXT_SEGMENTS if BUILD_UCLIBC_LDSO
default n
help
- If you answer Y here, the uClibc native shared library loader will
- support ET_DYN/PIE executables.
+ If you answer Y here, Scrt1.o will be built to allow the creation of
+ ET_DYN/PIE executables.
It requires binutils-2.14.90.0.6 or later and the usage of the
-pie option.
More about ET_DYN/PIE binaries on <http://pax.grsecurity.net/> .