From f2b0f935d7c8de544408181350c13d8a4db690ca Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 12 Jun 1995 09:00:13 +0000 Subject: * elf/dl-load.c (_dl_map_object): Add MAP_INHERIT flag in mmap from zero fill. * elf/dl-lookup.c (_dl_lookup_symbol): Take new flag arg NOSELF; if nonzero, don't let *REF satisfy the reference itself. * elf/link.h (_dl_lookup_symbol): Add new arg NOSELF in decl. * sysdeps/i386/dl-runtime.c (_dl_runtime_resolve): Pass new arg to _dl_lookup_symbol. * elf/do-rel.h (elf_dynamic_do_rel): Pass new second arg of R->r_offset to RESOLVE callback. * elf/dl-reloc.c (_dl_relocate_object: resolve): Don't let *REF satisfy the reference itself if its value equals the reloc's offset. * elf/rtld.c (dl_main): Write a newline in fatal msg. * Makerules (lib%.so: lib%_pic.a): Pass $(LDFLAGS.so). --- Makerules | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makerules') diff --git a/Makerules b/Makerules index 593a81c..87e71a8 100644 --- a/Makerules +++ b/Makerules @@ -355,10 +355,10 @@ ifeq (yes,$(build-shared)) # $(LDLIBS-%.so) may contain -l switches to generate run-time dependencies # on other shared objects. lib%.so: lib%_pic.a - $(LINK.o) -shared -o $@ -Wl,--whole-archive $< \ - $(LDFLAGS-$(notdir $*).so) \ + $(LINK.o) -shared -o $@ \ + $(LDFLAGS.so) $(LDFLAGS-$(notdir $*).so) \ -L$(firstword $(objdir) .) -L$(common-objpfx:%/=%) \ - $(LDLIBS-$(notdir $*).so) + $(LDLIBS-$(notdir $*).so) -Wl,--whole-archive $< \ # Don't try to use -lc when making libc.so itself. # Also omits crti.o and crtn.o, which we do not want -- cgit v1.1