about summary refs log tree commit diff
path: root/configure.in
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-03-06 09:51:56 +0000
committerUlrich Drepper <drepper@redhat.com>2004-03-06 09:51:56 +0000
commit4df8c11d26a29bc3a6116a9125cdfdca3cd517bb (patch)
tree610d76b0b4ab15d392f7b8077fd597e54154ef0c /configure.in
parent42af49f875e2d0a8cdcf575fbd3a06c12be6468e (diff)
downloadglibc-4df8c11d26a29bc3a6116a9125cdfdca3cd517bb.tar.gz
glibc-4df8c11d26a29bc3a6116a9125cdfdca3cd517bb.tar.xz
glibc-4df8c11d26a29bc3a6116a9125cdfdca3cd517bb.zip
Update.
	* configure.in: Recognize --enable-bind-now.
	* elf/dynamic-link.h (elf_get_dynamic_info): Allow bind-now flags
	in ld.so.
	* Makerules (LDFLAGS-c.so): Add -z now if so configured.
	* elf/Makefile ($(objpfx)ld.so): Likewise.
	* config.make.in (bind-now): New definition.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 49eb5227f8..ba7fc3d9d9 100644
--- a/configure.in
+++ b/configure.in
@@ -203,6 +203,13 @@ if test "x$hidden" = xno; then
   AC_DEFINE(NO_HIDDEN)
 fi
 
+AC_ARG_ENABLE([bind-now],
+	      AC_HELP_STRING([--enable-bind-now],
+			     [disable lazy relocations in DSOs]),
+	      [bindnow=$enableval],
+	      [bindnow=no])
+AC_SUBST(bindnow)
+
 AC_CONFIG_SUBDIRS([ ])dnl Bonehead new Autoconf whines if we do it cleanly.
 add_ons_pfx=
 if test x"$add_ons" != x; then