Эх сурвалжийг харах

PIE option correction for Config.in. From Peter Mazinger.

Joakim Tjernlund 21 жил өмнө
parent
commit
2e0531ba98

+ 5 - 4
extra/Configs/Config.in

@@ -200,12 +200,13 @@ config FORCE_SHAREABLE_TEXT_SEGMENTS
 
 
 config UCLIBC_PIE_SUPPORT
 config UCLIBC_PIE_SUPPORT
 	bool "Support ET_DYN in shared library loader"
 	bool "Support ET_DYN in shared library loader"
-	depends on BUILD_UCLIBC_LDSO
+	depends on HAVE_SHARED
-	select FORCE_SHAREABLE_TEXT_SEGMENTS
+	depends on TARGET_i386 || TARGET_powerpc
+	select FORCE_SHAREABLE_TEXT_SEGMENTS if BUILD_UCLIBC_LDSO
 	default n
 	default n
 	help
 	help
-	  If you answer Y here, the uClibc native shared library loader will
+	  If you answer Y here, Scrt1.o will be built to allow the creation of
-	  support ET_DYN/PIE executables.
+	  ET_DYN/PIE executables.
 	  It requires binutils-2.14.90.0.6 or later and the usage of the
 	  It requires binutils-2.14.90.0.6 or later and the usage of the
 	  -pie option.
 	  -pie option.
 	  More about ET_DYN/PIE binaries on <http://pax.grsecurity.net/> .
 	  More about ET_DYN/PIE binaries on <http://pax.grsecurity.net/> .