diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-02-02 06:19:24 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-02-02 06:19:24 +0000 |
commit | 5d9167133cd1b614e2841eceba5d6c3828059254 (patch) | |
tree | d00e4cedc2f49111343107cad7c53ffc08ad23ef /configure.in | |
parent | 70dc5068f8105942b3ffa7ef57fbb88b6d4ce75a (diff) | |
download | glibc-5d9167133cd1b614e2841eceba5d6c3828059254.tar.gz |
Update.
2001-02-01 Ulrich Drepper <drepper@redhat.com>
* Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
* configure.in: Test for -z initfirst linker option.
* config.make.in: Add have-z-initfirst.
* elf/dl-init.c (_dl_init): Split out actual initialization code in
new function call_init. If _dl_initfirst is non-NULL initialize first.
* elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
remember object in _dl_initfirst.
* elf/soinit.c: Remove special support for calling
__pthread_initialize_minimal.
* conform/conformtest.pl: Add missing $prepend in type test.
* elf/elf.h (SHT_CHECKSUM): New definition.
* posix/tst-fnmatch.input: Add tests for [. .] in locales.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/configure.in b/configure.in index dfab7a365e..e52648fac6 100644 --- a/configure.in +++ b/configure.in @@ -973,6 +973,20 @@ EOF fi rm -f conftest*]) AC_SUBST(libc_cv_z_nodlopen) + + AC_CACHE_CHECK(for -z initfirst option, + libc_cv_z_initfirst, [dnl + cat > conftest.c <<EOF +int _start (void) { return 42; } +EOF + if AC_TRY_COMMAND([${CC-cc} -shared -o conftest.so conftest.c -Wl,--enable-new-dtags,-z,initfirst 1>&AC_FD_CC]) + then + libc_cv_z_initfirst=yes + else + libc_cv_z_initfirst=no + fi + rm -f conftest*]) + AC_SUBST(libc_cv_z_initfirst) fi if test $elf != yes; then |