From f72338a387fe392186099c20bdd79a904965d799 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Fri, 31 Oct 2003 23:26:03 +0000 Subject: Some more soft float fixes... for arm in particular (libfloat). Remove the ADD_LIBGCC_FUNCTIONS option and do things the right way. Either we have a shared libgcc available, or the libgcc routines aren't PIC and don't belong in the shared libc anyway. --- extra/Configs/Config.arm | 2 -- extra/Configs/Config.cris.default | 1 - extra/Configs/Config.in | 19 +------------------ 3 files changed, 1 insertion(+), 21 deletions(-) (limited to 'extra') diff --git a/extra/Configs/Config.arm b/extra/Configs/Config.arm index 7331188a6..c7ec716e0 100644 --- a/extra/Configs/Config.arm +++ b/extra/Configs/Config.arm @@ -80,11 +80,9 @@ choice Endian, or Little Endian. config ARCH_LITTLE_ENDIAN - select ADD_LIBGCC_FUNCTIONS bool "Little Endian" config ARCH_BIG_ENDIAN - select ADD_LIBGCC_FUNCTIONS bool "Big Endian" endchoice diff --git a/extra/Configs/Config.cris.default b/extra/Configs/Config.cris.default index 94fa89a50..21e4645e4 100644 --- a/extra/Configs/Config.cris.default +++ b/extra/Configs/Config.cris.default @@ -21,7 +21,6 @@ HAVE_DOT_CONFIG=y # DOPIC=y HAVE_SHARED=y -ADD_LIBGCC_FUNCTIONS=y BUILD_UCLIBC_LDSO=y # LDSO_LDD_SUPPORT is not set UCLIBC_CTOR_DTOR=y diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index a275e3594..82e633839 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -27,23 +27,6 @@ config HAVE_SHARED answer Y here. If you only want to build uClibc as a static library, then answer N. -config ADD_LIBGCC_FUNCTIONS - bool "Add unresolved libgcc symbols to uClibc" - depends on HAVE_SHARED - default n - help - If you answer Y here, all unresolved functions provided by the libgcc - library that are used by uClibc will be added directly into the - uClibc library. If your gcc compiler only provides a static libgcc - library, then enabling this option can reduce the size of your - binaries by preventing these functions from being staticly linked - into every binary. If you have compiled uClibc as PIC code, one - potential size effect of this option is that you may end up adding - non-PIC libgcc code into your shared uClibc library, resulting in a - non sharable text segment (thereby wasting a bunch of ram). If your - compiler supports a shared libgcc library, you should certainly leave - this option disabled. Regardless, the safest answer is N. - config BUILD_UCLIBC_LDSO bool "Compile native shared library loader" depends on HAVE_SHARED @@ -56,7 +39,7 @@ config BUILD_UCLIBC_LDSO config FORCE_SHAREABLE_TEXT_SEGMENTS bool "Only load shared libraries which can share their text segment" - depends on BUILD_UCLIBC_LDSO && UCLIBC_COMPLETELY_PIC && !ADD_LIBGCC_SYMBOLS + depends on BUILD_UCLIBC_LDSO && UCLIBC_COMPLETELY_PIC default n help If you answer Y here, the uClibc native shared library loader will -- cgit v1.2.3