about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-07-20 22:21:58 +0000
committerUlrich Drepper <drepper@redhat.com>2000-07-20 22:21:58 +0000
commit5e61ef88485aad8392c15956d6097285db3f2955 (patch)
treeefd3c6ccbba50175eef1d7581d02a65d11038bfd
parent3a17c568d940e73005bf2bc91f05f16fe0320bf1 (diff)
downloadglibc-5e61ef88485aad8392c15956d6097285db3f2955.tar.gz
glibc-5e61ef88485aad8392c15956d6097285db3f2955.tar.xz
glibc-5e61ef88485aad8392c15956d6097285db3f2955.zip
(tests): Add noload. Add rules to generate noload.
-rw-r--r--elf/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 5fbddd587b..6224c22f6a 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -85,7 +85,7 @@ endif
 
 ifeq (yes,$(build-shared))
 tests = loadtest restest1 preloadtest loadfail multiload origtest resolvfail \
-	constload1 order $(tests-vis-$(have-protected))
+	constload1 order $(tests-vis-$(have-protected)) noload
 tests-vis-yes = vismain
 endif
 modules-names = testobj1 testobj2 testobj3 testobj4 testobj5 testobj6 \
@@ -290,3 +290,7 @@ $(objpfx)order.out: $(objpfx)order
 $(objpfx)vismain: $(addprefix $(objpfx),vismod1.so vismod2.so)
 $(objpfx)vismain.out: $(addprefix $(objpfx),vismod3.so)
 vismain-ENV = LD_PRELOAD=$(addprefix $(objpfx),vismod3.so)
+
+$(objpfx)noload: $(objpfx)testobj1.so
+LDFLAGS-noload = -rdynamic
+$(objpfx)noload.out: $(objpfx)testobj5.so