about summary refs log tree commit diff
path: root/elf/nodelmod3.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-07-21 04:42:21 +0000
committerUlrich Drepper <drepper@redhat.com>2000-07-21 04:42:21 +0000
commit2cb8cefbd42def9331fde5d8101b3f208440b60c (patch)
treee385f396a415ad549dc5f425a42b439ef079c71c /elf/nodelmod3.c
parent2f54c82dacba646139a773ab43fc2cdb47ee1f5b (diff)
downloadglibc-2cb8cefbd42def9331fde5d8101b3f208440b60c.tar.gz
glibc-2cb8cefbd42def9331fde5d8101b3f208440b60c.tar.xz
glibc-2cb8cefbd42def9331fde5d8101b3f208440b60c.zip
Update.
	* elf/Makefile: Add no modules for nodelete test.
	* elf/nodelmod3.c: New file.
	* elf/nodelmod4.c: New file.
	* elf/nodelete.c: Also test case where dependency of dlopen() object
	is marked nodelete.

	* elf/nodlopen.c: New file.
	* elf/nodlopenmod.c: New file.
Diffstat (limited to 'elf/nodelmod3.c')
-rw-r--r--elf/nodelmod3.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/elf/nodelmod3.c b/elf/nodelmod3.c
new file mode 100644
index 0000000000..c48a1a696c
--- /dev/null
+++ b/elf/nodelmod3.c
@@ -0,0 +1,7 @@
+extern int var_in_mod4;
+
+int *
+addr (void)
+{
+  return &var_in_mod4;
+}