diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-03-06 09:51:56 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-03-06 09:51:56 +0000 |
commit | 4df8c11d26a29bc3a6116a9125cdfdca3cd517bb (patch) | |
tree | 610d76b0b4ab15d392f7b8077fd597e54154ef0c /Makerules | |
parent | 42af49f875e2d0a8cdcf575fbd3a06c12be6468e (diff) | |
download | glibc-4df8c11d26a29bc3a6116a9125cdfdca3cd517bb.tar.gz |
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 'Makerules')
-rw-r--r-- | Makerules | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -585,6 +585,10 @@ LDFLAGS-c.so = -nostdlib -nostartfiles LDLIBS-c.so += $(gnulib) # Give libc.so an entry point and make it directly runnable itself. LDFLAGS-c.so += -e __libc_main +# If lazy relocation is disabled add the -z now flag. +ifeq ($(bind-now),yes) +LDFLAGS-c.so += -Wl,-z,now +endif # Pre-link the objects of libc_pic.a so that we can locally resolve # COMMON symbols before we link against ld.so. This is because ld.so # contains some of libc_pic.a already, which will prevent the COMMONs |