aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-09-10 14:34:15 -0400
committerUlrich Drepper <drepper@gmail.com>2011-09-10 14:34:15 -0400
commit3ce1f2959437e952b9db4eaeed2407424f11a4d1 (patch)
treedb47da854c7d3bfc2c3bce4c6fc8381075ac9ec4
parent1248c1c41508387ff282b208636737e8cdc9b5b0 (diff)
downloadglibc-3ce1f2959437e952b9db4eaeed2407424f11a4d1.tar.xz
glibc-3ce1f2959437e952b9db4eaeed2407424f11a4d1.zip
Cleanup of configuration options
Make several tool features mandatory and simplify the code.
-rw-r--r--ChangeLog80
-rw-r--r--Makeconfig4
-rw-r--r--Makerules3
-rw-r--r--Versions.def2
-rw-r--r--argp/argp-fmtstream.c12
-rw-r--r--argp/argp-fmtstream.h5
-rw-r--r--argp/argp-help.c11
-rw-r--r--assert/assert.c8
-rw-r--r--config.h.in17
-rw-r--r--config.make.in1
-rwxr-xr-xconfigure419
-rw-r--r--configure.in66
-rw-r--r--csu/Versions11
-rw-r--r--csu/init.c4
-rw-r--r--elf/tst-audit2.c10
-rw-r--r--elf/tst-tls10.c5
-rw-r--r--elf/tst-tls10.h4
-rw-r--r--elf/tst-tls11.c3
-rw-r--r--elf/tst-tls12.c3
-rw-r--r--elf/tst-tls14.c13
-rw-r--r--elf/tst-tlsmod11.c2
-rw-r--r--elf/tst-tlsmod12.c2
-rw-r--r--elf/tst-tlsmod13.c4
-rw-r--r--elf/tst-tlsmod13a.c4
-rw-r--r--elf/tst-tlsmod14a.c12
-rw-r--r--elf/tst-tlsmod15b.c8
-rw-r--r--elf/tst-tlsmod16a.c4
-rw-r--r--elf/tst-tlsmod16b.c4
-rw-r--r--elf/tst-tlsmod7.c2
-rw-r--r--elf/tst-tlsmod8.c2
-rw-r--r--elf/tst-tlsmod9.c2
-rw-r--r--gmon/gmon.c8
-rw-r--r--grp/fgetgrent_r.c10
-rw-r--r--grp/putgrent.c8
-rw-r--r--hurd/fopenport.c10
-rw-r--r--hurd/vpprintf.c27
-rw-r--r--iconv/gconv_conf.c8
-rw-r--r--include/libc-symbols.h33
-rw-r--r--include/tls.h2
-rw-r--r--intl/gettextP.h8
-rw-r--r--intl/loadinfo.h8
-rw-r--r--locale/global-locale.c14
-rw-r--r--locale/localeinfo.h4
-rw-r--r--mach/devstream.c4
-rw-r--r--malloc/arena.c34
-rw-r--r--malloc/set-freeres.c8
-rw-r--r--misc/err.c18
-rw-r--r--misc/getttyent.c6
-rw-r--r--misc/mntent_r.c6
-rw-r--r--nptl/ChangeLog11
-rw-r--r--nptl/tst-tls1.c12
-rw-r--r--nptl/tst-tls2.c13
-rw-r--r--nptl/tst-tls3.c10
-rw-r--r--nptl/tst-tls3mod.c5
-rw-r--r--nptl/tst-tls4.c10
-rw-r--r--nptl/tst-tls4moda.c9
-rw-r--r--nptl/tst-tls4modb.c9
-rw-r--r--nptl/tst-tls5.h3
-rw-r--r--posix/getopt.c38
-rw-r--r--posix/wordexp.c20
-rw-r--r--pwd/fgetpwent_r.c8
-rw-r--r--resolv/Versions11
-rw-r--r--resolv/res_hconf.c4
-rw-r--r--shadow/fgetspent_r.c8
-rw-r--r--shadow/putspent.c8
-rw-r--r--stdio-common/printf_fphex.c22
-rw-r--r--stdio-common/tmpfile.c14
-rw-r--r--stdlib/abort.c6
-rw-r--r--stdlib/fmtmsg.c6
-rw-r--r--sunrpc/auth_unix.c6
-rw-r--r--sunrpc/clnt_perr.c9
-rw-r--r--sunrpc/clnt_tcp.c4
-rw-r--r--sunrpc/clnt_udp.c4
-rw-r--r--sunrpc/clnt_unix.c4
-rw-r--r--sunrpc/openchild.c8
-rw-r--r--sunrpc/svc_simple.c6
-rw-r--r--sunrpc/svc_tcp.c6
-rw-r--r--sunrpc/svc_udp.c6
-rw-r--r--sunrpc/svc_unix.c5
-rw-r--r--sunrpc/xdr.c4
-rw-r--r--sunrpc/xdr_array.c5
-rw-r--r--sunrpc/xdr_rec.c7
-rw-r--r--sunrpc/xdr_ref.c7
-rw-r--r--sunrpc/xdr_stdio.c12
84 files changed, 467 insertions, 796 deletions
diff --git a/ChangeLog b/ChangeLog
index 663765f6be..4654e17985 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,83 @@
+2011-09-10 Ulrich Drepper <drepper@gmail.com>
+
+ * configure.in: Remove --with-__thread option. Make tests for
+ --no-whole-archive, __builtin_expect, symbol redirection, __thread,
+ tls_model attribute fail if no support is available. Remove
+ USE_IN_LIBIO.
+ * Makeconfig: Adjust for dropped configure option. All features are
+ now mandatory.
+ * Makerules: Likewise.
+ * Versions.def: Likewise.
+ * argp/argp-fmtstream.c: Likewise.
+ * argp/argp-fmtstream.h: Likewise.
+ * argp/argp-help.c: Likewise.
+ * assert/assert.c: Likewise.
+ * config.h.in: Likewise.
+ * config.make.in: Likewise.
+ * configure: Likewise.
+ * configure.in: Likewise.
+ * csu/Versions: Likewise.
+ * csu/init.c: Likewise.
+ * elf/tst-audit2.c: Likewise.
+ * elf/tst-tls10.c: Likewise.
+ * elf/tst-tls10.h: Likewise.
+ * elf/tst-tls11.c: Likewise.
+ * elf/tst-tls12.c: Likewise.
+ * elf/tst-tls14.c: Likewise.
+ * elf/tst-tlsmod11.c: Likewise.
+ * elf/tst-tlsmod12.c: Likewise.
+ * elf/tst-tlsmod13.c: Likewise.
+ * elf/tst-tlsmod13a.c: Likewise.
+ * elf/tst-tlsmod14a.c: Likewise.
+ * elf/tst-tlsmod15b.c: Likewise.
+ * elf/tst-tlsmod16a.c: Likewise.
+ * elf/tst-tlsmod16b.c: Likewise.
+ * elf/tst-tlsmod7.c: Likewise.
+ * elf/tst-tlsmod8.c: Likewise.
+ * elf/tst-tlsmod9.c: Likewise.
+ * gmon/gmon.c: Likewise.
+ * grp/fgetgrent_r.c: Likewise.
+ * grp/putgrent.c: Likewise.
+ * hurd/fopenport.c: Likewise.
+ * include/libc-symbols.h: Likewise.
+ * include/tls.h: Likewise.
+ * intl/gettextP.h: Likewise.
+ * intl/loadinfo.h: Likewise.
+ * locale/global-locale.c: Likewise.
+ * locale/localeinfo.h: Likewise.
+ * mach/devstream.c: Likewise.
+ * malloc/arena.c: Likewise.
+ * malloc/set-freeres.c: Likewise.
+ * misc/err.c: Likewise.
+ * misc/getttyent.c: Likewise.
+ * misc/mntent_r.c: Likewise.
+ * posix/getopt.c: Likewise.
+ * posix/wordexp.c: Likewise.
+ * pwd/fgetpwent_r.c: Likewise.
+ * resolv/Versions: Likewise.
+ * resolv/res_hconf.c: Likewise.
+ * shadow/fgetspent_r.c: Likewise.
+ * shadow/putspent.c: Likewise.
+ * stdio-common/printf_fphex.c: Likewise.
+ * stdio-common/tmpfile.c: Likewise.
+ * stdlib/abort.c: Likewise.
+ * stdlib/fmtmsg.c: Likewise.
+ * sunrpc/auth_unix.c: Likewise.
+ * sunrpc/clnt_perr.c: Likewise.
+ * sunrpc/clnt_tcp.c: Likewise.
+ * sunrpc/clnt_udp.c: Likewise.
+ * sunrpc/clnt_unix.c: Likewise.
+ * sunrpc/openchild.c: Likewise.
+ * sunrpc/svc_simple.c: Likewise.
+ * sunrpc/svc_tcp.c: Likewise.
+ * sunrpc/svc_udp.c: Likewise.
+ * sunrpc/svc_unix.c: Likewise.
+ * sunrpc/xdr.c: Likewise.
+ * sunrpc/xdr_array.c: Likewise.
+ * sunrpc/xdr_rec.c: Likewise.
+ * sunrpc/xdr_ref.c: Likewise.
+ * sunrpc/xdr_stdio.c: Likewise.
+
2011-09-09 Ulrich Drepper <drepper@gmail.com>
* sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
diff --git a/Makeconfig b/Makeconfig
index feca6038ce..96aacda449 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -407,6 +407,10 @@ as-needed :=
no-as-needed :=
endif
+# Must be supported by the linker.
+no-whole-archive = -Wl,--no-whole-archive
+whole-archive = -Wl,--whole-archive
+
# Installed name of the startup code.
ifneq ($(have-initfini),yes)
# When not having init/fini, there is just one startfile, called crt0.o.
diff --git a/Makerules b/Makerules
index 03e08ef17b..c75927b669 100644
--- a/Makerules
+++ b/Makerules
@@ -595,7 +595,6 @@ endif
build-module-helper-objlist = \
$(patsubst %_pic.a,$(whole-archive) %_pic.a $(no-whole-archive),\
$(filter-out %.lds $(map-file) $(+preinit) $(+postinit),$^))
-whole-archive := -Wl,--whole-archive
build-module-objlist = $(build-module-helper-objlist) $(LDLIBS-$(@F:%.so=%).so)
build-shlib-objlist = $(build-module-helper-objlist) \
@@ -621,7 +620,7 @@ endif
ifeq ($(elf),yes)
$(common-objpfx)libc_pic.o