summaryrefslogtreecommitdiffstats
path: root/extra/Configs/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'extra/Configs/Config.in')
-rw-r--r--extra/Configs/Config.in70
1 files changed, 32 insertions, 38 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index 1b409cba4..b9db40966 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -181,7 +181,7 @@ config HAVE_NO_SHARED
config HAVE_SHARED
bool "Enable support for shared libraries"
- depends on DOPIC && !HAVE_NO_SHARED
+ depends on !HAVE_NO_SHARED
default y
help
If you wish to build uClibc with support for shared libraries then
@@ -190,36 +190,28 @@ config HAVE_SHARED
config ARCH_HAS_NO_LDSO
bool
+ select HAVE_NO_SHARED
default n
-config BUILD_UCLIBC_LDSO
- bool "Compile native shared library loader"
- depends on HAVE_SHARED && !ARCH_HAS_NO_LDSO
- default y
- help
- uClibc has a native shared library loader for some architectures.
- If you answer Y here, the uClibc native shared library loader will
- be built for your target architecture. If this option is available,
- to you, then you almost certainly want to answer Y.
-
config FORCE_SHAREABLE_TEXT_SEGMENTS
bool "Only load shared libraries which can share their text segment"
- depends on BUILD_UCLIBC_LDSO
+ depends on HAVE_SHARED
+ select DOPIC
default n
help
If you answer Y here, the uClibc native shared library loader will
only load shared libraries, which do not need to modify any non-writable
segments. These libraries haven't set the DT_TEXTREL tag in the dynamic
- section (==> objdump). So all your libraries must be compiled with
+ section (==> objdump). All your libraries must be compiled with
-fPIC or -fpic, and all assembler function must be written as position
independent code (PIC).
- Enabling this option will makes uClibc's shared library loader a
+ Enabling this option will make uClibc's shared library loader a
little bit smaller and guarantee that no memory will be wasted by badly
coded shared libraries.
config LDSO_LDD_SUPPORT
bool "Native shared library loader 'ldd' support"
- depends on BUILD_UCLIBC_LDSO
+ depends on HAVE_SHARED
default y
help
Enable this to enable all the code needed to support traditional ldd,
@@ -230,7 +222,7 @@ config LDSO_LDD_SUPPORT
config LDSO_CACHE_SUPPORT
bool "Enable shared library loader cache"
- depends on BUILD_UCLIBC_LDSO
+ depends on HAVE_SHARED
default y
help
Enable this to make use of /etc/ld.so.conf, the shared library loader
@@ -240,7 +232,7 @@ config LDSO_CACHE_SUPPORT
config LDSO_PRELOAD_FILE_SUPPORT
bool "Enable shared library loader preload file support"
- depends on BUILD_UCLIBC_LDSO
+ depends on HAVE_SHARED
default n
help
Enable this to make use of /etc/ld.so.preload. This file contains a
@@ -249,7 +241,7 @@ config LDSO_PRELOAD_FILE_SUPPORT
config LDSO_BASE_FILENAME
string "Shared library loader naming prefix"
- depends on BUILD_UCLIBC_LDSO && (LDSO_CACHE_SUPPORT || LDSO_PRELOAD_FILE_SUPPORT)
+ depends on HAVE_SHARED && (LDSO_CACHE_SUPPORT || LDSO_PRELOAD_FILE_SUPPORT)
default "ld.so"
help
If you wish to support both uClibc and glibc on the same system, it
@@ -266,7 +258,7 @@ config LDSO_BASE_FILENAME
config LDSO_RUNPATH
bool "Enable ELF RUNPATH tag support"
- depends on BUILD_UCLIBC_LDSO
+ depends on HAVE_SHARED
default y
help
ELF's may have dynamic RPATH/RUNPATH tags. These tags list paths
@@ -440,6 +432,12 @@ config UCLIBC_DYNAMIC_ATEXIT
Unless you use uClibc with C++, you should probably answer N.
+config COMPAT_ATEXIT
+ bool "Old (visible) atexit Support"
+ default n
+ help
+ Enable this option if you want to update from 0.9.28 to svn/0.9.29, else
+ you will be missing atexit() until you rebuild all apps.
config HAS_SHADOW
bool "Shadow Password Support"
@@ -1096,7 +1094,7 @@ menu "Library Installation Options"
config SHARED_LIB_LOADER_PREFIX
string "Shared library loader path"
- depends on BUILD_UCLIBC_LDSO
+ depends on HAVE_SHARED
default "$(DEVEL_PREFIX)/lib"
help
When using shared libraries, this path is the location where the
@@ -1159,7 +1157,7 @@ config UCLIBC_BUILD_PIE
depends on UCLIBC_SECURITY
depends on HAVE_SHARED
depends on TARGET_arm || TARGET_frv || TARGET_i386 || TARGET_mips || TARGET_powerpc
- select FORCE_SHAREABLE_TEXT_SEGMENTS if BUILD_UCLIBC_LDSO
+ select FORCE_SHAREABLE_TEXT_SEGMENTS
default y
help
If you answer Y here, ldd and iconv are built as ET_DYN/PIE executables.
@@ -1175,9 +1173,10 @@ config UCLIBC_HAS_SSP
default n
help
Add propolice smashing stack protector to the library.
- This requires a patched version of GCC, supporting the
+ This requires a patched version of GCC or GCC 4.1, supporting the
-fstack-protector[-all] options, with the __guard and
- __stack_smash_handler functions removed from libgcc.
+ __stack_smash_handler, respectively __stack_chk_guard and
+ __stack_chk_fail functions removed from libgcc.
These functions are added to libc instead.
More information at:
<http://www.research.ibm.com/trl/projects/security/ssp/>
@@ -1194,17 +1193,6 @@ config SSP_QUICK_CANARY
attacks.
Most people will answer N.
-config SSP_USE_ERANDOM
- bool "Use erandom for setting guard value if /dev/urandom fails"
- depends on UCLIBC_HAS_SSP && !SSP_QUICK_CANARY
- default n
- help
- Use /dev/erandom to define the guard if /dev/urandom fails (chroot).
- This requires a modified kernel.
- More information at:
- <http://frandom.sourceforge.net/>
- Most people will answer N.
-
choice
prompt "Propolice protection blocking signal"
depends on UCLIBC_HAS_SSP
@@ -1237,7 +1225,7 @@ config UCLIBC_BUILD_SSP
config UCLIBC_BUILD_RELRO
bool "Build uClibc with RELRO"
depends on UCLIBC_SECURITY
- depends on BUILD_UCLIBC_LDSO
+ depends on HAVE_SHARED
default y
help
Build all libraries and executables with -z relro.
@@ -1245,7 +1233,7 @@ config UCLIBC_BUILD_RELRO
config UCLIBC_BUILD_NOW
bool "Build uClibc with NOW"
depends on UCLIBC_SECURITY
- depends on BUILD_UCLIBC_LDSO
+ depends on HAVE_SHARED
default y
help
Build all libraries and executables with -z now.
@@ -1305,7 +1293,7 @@ config DOASSERTS
config SUPPORT_LD_DEBUG
bool "Build the shared library loader with debugging support"
- depends on BUILD_UCLIBC_LDSO
+ depends on HAVE_SHARED
default n
help
Answer Y here to enable all the extra code needed to debug the uClibc
@@ -1339,7 +1327,7 @@ config SUPPORT_LD_DEBUG
config SUPPORT_LD_DEBUG_EARLY
bool "Build the shared library loader with early debugging support"
- depends on BUILD_UCLIBC_LDSO
+ depends on HAVE_SHARED
default n
help
Answer Y here to if you find the uClibc shared library loader is
@@ -1376,6 +1364,12 @@ config WARNINGS
help
Set this to the set of gcc warnings you wish to see while compiling.
+config DOMULTI
+ bool "Compile all sources at once into an object"
+ default n
+ help
+ Set this to compile all sources at once into an object (IMA).
+
config UCLIBC_MJN3_ONLY
bool "Manuel's hidden warnings"
default n