summaryrefslogtreecommitdiff
path: root/elf/testobj2.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-03-03 16:22:52 +0000
committerJakub Jelinek <jakub@redhat.com>2005-03-03 16:22:52 +0000
commit79c750b2d718be7fafa3c07bdd7e19c38e2a6bec (patch)
treed28951efe2147e1746d1c5c4dfe63c56ae38d11f /elf/testobj2.c
parente5145be467bed28bafde33a51df97840be37065e (diff)
2005-03-03 Ulrich Drepper <drepper@redhat.com>
* elf/dl-close.c (_dl_close): Don't try to set up new searchpath if the loader is closed. Fixes unload3. * elf/tst-global1.c: New file. * elf/Makefile (tests): Add tst-global1. * elf/testobj2.c (p): New function. 2005-03-03 Jakub Jelinek <jakub@redhat.com> * elf/Makefile: Add rules to build and run unload3 test. * elf/unload3.c: New test. * elf/unload3mod1.c: New file. * elf/unload3mod2.c: New file. * elf/unload3mod3.c: New file. * elf/unload3mod4.c: New file.
Diffstat (limited to 'elf/testobj2.c')
-rw-r--r--elf/testobj2.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/elf/testobj2.c b/elf/testobj2.c
index 6514c56393..f00ba9f3e6 100644
--- a/elf/testobj2.c
+++ b/elf/testobj2.c
@@ -23,3 +23,9 @@ preload (int a)
return fp (a) + 10;
return 10;
}
+
+void
+p (void)
+{
+ puts ("hello world");
+}