diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-02-19 00:00:05 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-02-19 00:00:05 +0000 |
commit | 61e0617ac34c4daaeb2f07f89a05c9f9353b8879 (patch) | |
tree | 8dc1f2e00b67c6661892258bf2d479e793854c54 /elf/Makefile | |
parent | 1a989e004c00955e60cd315666ebd450d6fa9732 (diff) | |
download | glibc-61e0617ac34c4daaeb2f07f89a05c9f9353b8879.tar.gz glibc-61e0617ac34c4daaeb2f07f89a05c9f9353b8879.tar.xz glibc-61e0617ac34c4daaeb2f07f89a05c9f9353b8879.zip |
Update.
* elf/link.h (link_map): Add l_dev and l_ino. * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly loaded shared object with all laoded objects. Initialize l_ino and l_dev in case it's new. * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main object. * elf/Makefile: Compile and run new test. * elf/multiload.c: New file.
Diffstat (limited to 'elf/Makefile')
-rw-r--r-- | elf/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/elf/Makefile b/elf/Makefile index 1706efc510..ef5b831863 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -77,7 +77,7 @@ others += ldconfig install-rootsbin += ldconfig endif -tests = loadtest restest1 preloadtest loadfail +tests = loadtest restest1 preloadtest loadfail multiload modules-names = testobj1 testobj2 testobj3 testobj4 testobj5 testobj6 \ testobj1_1 failobj extra-objs += $(modules-names:=.os) @@ -244,7 +244,13 @@ preloadtest-ENV = \ $(objpfx)loadfail: $(libdl) LDFLAGS-loadfail = -rdynamic -$(objpfx)loadfile.out: $(objpfx)failobj.so +$(objpfx)loadfail.out: $(objpfx)failobj.so + +$(objpfx)multiload: $(libdl) +LDFLAGS-multiload = -rdynamic +CFLAGS-multiload.c = -DOBJDIR=\"$(objdir)/$(subdir)\" + +$(objpfx)multiload.out: $(objpfx)testobj1.so # muwahaha |