summary refs log tree commit diff
path: root/elf/circlemod2.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-06-30 07:17:02 +0000
committerUlrich Drepper <drepper@redhat.com>2002-06-30 07:17:02 +0000
commit6d78cd000fac9854c589ef98a00227de5d1be610 (patch)
tree05be7d53d1a1dad7f995448640a3a96626dd3129 /elf/circlemod2.c
parent95fdc6a0f61a389e92a6b84250c2286b4808b626 (diff)
downloadglibc-6d78cd000fac9854c589ef98a00227de5d1be610.tar.gz
glibc-6d78cd000fac9854c589ef98a00227de5d1be610.tar.xz
glibc-6d78cd000fac9854c589ef98a00227de5d1be610.zip
Update.
2002-06-30  Ulrich Drepper  <drepper@redhat.com>

	* elf/dl-lookup.c (add_dependency): It is not necessary to add
	dependencies if they are created between objects which are created
	while processing RTLD_NOW for objects loaded as part of the same
	dlopen call.

2002-06-14  H.J. Lu  <hjl@gnu.org>

	* elf/Makefile (tests): Add circleload1.
	(modules-names): Add circlemod1, circlemod2, circlemod3,
	circlemod1a, circlemod2a and circlemod3a.
	($(objpfx)circleload1): New target.
	($(objpfx)circleload1.out): Likewise.
	($(objpfx)circlemod1.so): Likewise.
	($(objpfx)circlemod2.so): Likewise.
	($(objpfx)circlemod1a.so): Likewise.
	($(objpfx)circlemod2a.so): Likewise.
	* elf/circleload1.c: New file.
	* elf/circlemod1.c: New file.
	* elf/circlemod1a.c: New file.
	* elf/circlemod2.c: New file.
	* elf/circlemod2a.c: New file.
	* elf/circlemod3.c: New file.
	* elf/circlemod3a.c: New file.
Diffstat (limited to 'elf/circlemod2.c')
-rw-r--r--elf/circlemod2.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/elf/circlemod2.c b/elf/circlemod2.c
new file mode 100644
index 0000000000..1c67abceef
--- /dev/null
+++ b/elf/circlemod2.c
@@ -0,0 +1,9 @@
+extern void circlemod2_undefined (void);
+extern void circlemod3 (void);
+
+void
+circlemod2 (void)
+{
+  circlemod2_undefined ();
+  circlemod3 ();
+}