diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-12-08 22:53:40 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-12-08 22:53:40 +0000 |
commit | 808694e8a330e32741b7781467610d8cec99ae6e (patch) | |
tree | a2114e7c67f1f88f5df4687d6ab7122892e68283 /extra | |
parent | cba2c53724a6ed35f32775ec38906268c1bbd340 (diff) |
Richard Sandiford writes: add support for init/fini arrays in shared flat libraries
Diffstat (limited to 'extra')
-rw-r--r-- | extra/Configs/Config.in | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index b3d9250f0..9999b370e 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -196,6 +196,30 @@ config DOPIC If you wish to build all of uClibc as PIC objects, then answer Y here. If you are unsure, then you should answer N. +config HAVE_SHARED_FLAT + bool "Generate a flat-format shared library" + default n + depends on !ARCH_USE_MMU + help + Answer Y here if you are using uClinux and wish to build uClibc + as a flat-format shared library. + +config SHARED_FLAT_ID + int "Shared library id" + default 1 + depends on HAVE_SHARED_FLAT + help + When using flat shared libraries, every library has a unique + system-wide identifier. Identifier 0 is reserved for + executables and true shared libraries have identifiers + starting at 1. The maximum shared library identifier is + determined by the kernel and is usually 3. Shared library + N must be available on the target system as "/lib/libN.so". + + When a shared C library is used, it usually has identifier 1, + but you can use this option to select a different identifier + if you need to. + config HAVE_NO_SHARED bool default n |